@opencxh/domain 1.254.0 → 1.255.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/playbook/trigger-vars.d.ts +11 -0
- package/dist/entities/playbook/trigger-vars.test.d.ts +1 -0
- package/dist/index.cjs +16 -16
- package/dist/index.js +310 -305
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2439,12 +2439,12 @@ const wc = [
|
|
|
2439
2439
|
{ name: "textRaw", type: "string" },
|
|
2440
2440
|
// Only filled on INTERACTION_STATUS_CHANGED; a filter like `trigger.toStatus == "closed"` is
|
|
2441
2441
|
// the trigger for "remember this when closing".
|
|
2442
|
-
{ name: "fromStatus", type: "string" },
|
|
2443
|
-
{ name: "toStatus", type: "string" },
|
|
2442
|
+
{ name: "fromStatus", type: "string", onlyFor: ["INTERACTION_STATUS_CHANGED"] },
|
|
2443
|
+
{ name: "toStatus", type: "string", onlyFor: ["INTERACTION_STATUS_CHANGED"] },
|
|
2444
2444
|
// Only on WORK_ITEM_STATUS_CHANGED: the *category* of the new status (`todo`/`in_progress`/
|
|
2445
2445
|
// `done`). A filter must key on this and not on `toStatus`, because status keys are the
|
|
2446
2446
|
// organisation's own — a template shipping `"done"` as a key fits exactly one ladder.
|
|
2447
|
-
{ name: "toCategory", type: "string" },
|
|
2447
|
+
{ name: "toCategory", type: "string", onlyFor: ["WORK_ITEM_STATUS_CHANGED"] },
|
|
2448
2448
|
// Who this conversation is with. The identity layer records the resolution as
|
|
2449
2449
|
// `contact:<id>`/`company:<id>` in `Interaction.partyKeys`, so this is a recorded fact and not a
|
|
2450
2450
|
// guess via `remoteParty`. Empty while the identity is unresolved (an unknown number, a first
|
|
@@ -2462,7 +2462,11 @@ const wc = [
|
|
|
2462
2462
|
// `buildTriggerVars` cannot fill it itself: the job does that with the catalog in hand, before
|
|
2463
2463
|
// the trigger filter runs — like contactId/companyId above.
|
|
2464
2464
|
{ name: "assigneeUserId", type: "string" }
|
|
2465
|
-
]
|
|
2465
|
+
];
|
|
2466
|
+
function vc(e, t) {
|
|
2467
|
+
return !e.onlyFor || !t?.length ? !0 : t.some((n) => e.onlyFor?.includes(n));
|
|
2468
|
+
}
|
|
2469
|
+
const Mc = {
|
|
2466
2470
|
topics: [
|
|
2467
2471
|
{ name: "topicId", type: "string" },
|
|
2468
2472
|
{ name: "topic", type: "string" },
|
|
@@ -2484,16 +2488,16 @@ function ao(e) {
|
|
|
2484
2488
|
return e?.type === so ? e.id : void 0;
|
|
2485
2489
|
}
|
|
2486
2490
|
const co = 64, lo = 8e3;
|
|
2487
|
-
function
|
|
2491
|
+
function Cc(e) {
|
|
2488
2492
|
const t = typeof e == "number" ? e : Number(String(e ?? "").trim());
|
|
2489
2493
|
if (!(!Number.isFinite(t) || t <= 0))
|
|
2490
2494
|
return Math.min(Math.max(Math.round(t), co), lo);
|
|
2491
2495
|
}
|
|
2492
|
-
const
|
|
2493
|
-
function
|
|
2496
|
+
const Oc = { kind: "workflow", steps: [] };
|
|
2497
|
+
function xc(e) {
|
|
2494
2498
|
return e?.kind === "workflow" ? e.steps : [];
|
|
2495
2499
|
}
|
|
2496
|
-
function
|
|
2500
|
+
function Nc(e) {
|
|
2497
2501
|
return e?.kind === "procedure" ? e.procedure : void 0;
|
|
2498
2502
|
}
|
|
2499
2503
|
function uo(e) {
|
|
@@ -2501,31 +2505,31 @@ function uo(e) {
|
|
|
2501
2505
|
return { total: n, rate: n ? t / n : 0 };
|
|
2502
2506
|
}
|
|
2503
2507
|
const po = 10, fo = 0.9;
|
|
2504
|
-
function
|
|
2508
|
+
function Rc(e) {
|
|
2505
2509
|
const { total: t, rate: n } = uo(e);
|
|
2506
2510
|
return t >= po && n >= fo;
|
|
2507
2511
|
}
|
|
2508
2512
|
const mo = ["done", "escalated", "failed", "stopped"];
|
|
2509
|
-
function
|
|
2513
|
+
function Dc(e) {
|
|
2510
2514
|
return mo.includes(e);
|
|
2511
2515
|
}
|
|
2512
2516
|
function ho(e) {
|
|
2513
2517
|
return e === "waiting";
|
|
2514
2518
|
}
|
|
2515
|
-
function
|
|
2519
|
+
function $c(e) {
|
|
2516
2520
|
return e === "running" || ho(e);
|
|
2517
2521
|
}
|
|
2518
2522
|
function Vt(e) {
|
|
2519
2523
|
return e.subjectKind && e.subjectId ? { type: e.subjectKind, id: e.subjectId } : void 0;
|
|
2520
2524
|
}
|
|
2521
|
-
function
|
|
2525
|
+
function Lc(e) {
|
|
2522
2526
|
const t = Vt(e);
|
|
2523
2527
|
return t ? io(t) : void 0;
|
|
2524
2528
|
}
|
|
2525
|
-
function
|
|
2529
|
+
function Pc(e) {
|
|
2526
2530
|
return ao(Vt(e));
|
|
2527
2531
|
}
|
|
2528
|
-
function
|
|
2532
|
+
function Kc(e) {
|
|
2529
2533
|
const t = [], n = /* @__PURE__ */ new Map();
|
|
2530
2534
|
for (const r of [...e].sort(go)) {
|
|
2531
2535
|
const o = n.get(r.emoji);
|
|
@@ -2541,7 +2545,7 @@ function Pc(e) {
|
|
|
2541
2545
|
}).sort((r, o) => o.count - r.count || t.indexOf(r.emoji) - t.indexOf(o.emoji));
|
|
2542
2546
|
}
|
|
2543
2547
|
const go = (e, t) => (e.createdAt ?? 0) - (t.createdAt ?? 0);
|
|
2544
|
-
function
|
|
2548
|
+
function Uc(e, t) {
|
|
2545
2549
|
return t ? e.actors.some((n) => n.type === "user" && n.id === t) : !1;
|
|
2546
2550
|
}
|
|
2547
2551
|
const Te = 6e4, yo = 36e5, X = 864e5, zt = 800;
|
|
@@ -2604,25 +2608,25 @@ function De(e, t, n) {
|
|
|
2604
2608
|
}
|
|
2605
2609
|
return e + t;
|
|
2606
2610
|
}
|
|
2607
|
-
function
|
|
2611
|
+
function Fc(e) {
|
|
2608
2612
|
const t = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(e);
|
|
2609
2613
|
return t ? Number(t[1]) * 60 + Number(t[2]) : null;
|
|
2610
2614
|
}
|
|
2611
2615
|
const ke = 1, we = 2, ve = 4;
|
|
2612
|
-
function
|
|
2616
|
+
function Bc(e) {
|
|
2613
2617
|
return e === "snoozed" ? ke : we;
|
|
2614
2618
|
}
|
|
2615
2619
|
function $e(e) {
|
|
2616
2620
|
const t = e.calendar;
|
|
2617
2621
|
return t && Array.isArray(t.days) ? t : null;
|
|
2618
2622
|
}
|
|
2619
|
-
const
|
|
2623
|
+
const jc = [
|
|
2620
2624
|
"speed_of_answer",
|
|
2621
2625
|
"first_response",
|
|
2622
2626
|
"next_response",
|
|
2623
2627
|
"resolution",
|
|
2624
2628
|
"close"
|
|
2625
|
-
],
|
|
2629
|
+
], Hc = ["snoozed", "waiting_for_customer"], Ao = 6e4, Qt = ["speed_of_answer", "first_response", "next_response"], So = [...Qt, "resolution", "close"];
|
|
2626
2630
|
function Y(e) {
|
|
2627
2631
|
return e.state === "running" || e.state === "paused";
|
|
2628
2632
|
}
|
|
@@ -2642,7 +2646,7 @@ function Io(e, t, n, r) {
|
|
|
2642
2646
|
const o = e.pauseBits & ~t;
|
|
2643
2647
|
return o !== 0 ? { pauseBits: o } : { pauseBits: o, state: "running", dueAt: De(n, e.remainingMs, r) };
|
|
2644
2648
|
}
|
|
2645
|
-
function
|
|
2649
|
+
function Gc({ event: e, at: t, now: n, clocks: r, profile: o }) {
|
|
2646
2650
|
const i = $e(o), s = Math.min(t, n), a = r.map((g) => ({ ...g })), u = [], l = (g, h) => {
|
|
2647
2651
|
h && (u.push({ op: "patch", clockId: g.id, patch: h }), Object.assign(g, h));
|
|
2648
2652
|
}, d = (g) => {
|
|
@@ -2724,17 +2728,17 @@ function Hc({ event: e, at: t, now: n, clocks: r, profile: o }) {
|
|
|
2724
2728
|
function ko(e) {
|
|
2725
2729
|
return e.state === "running" || e.state === "paused";
|
|
2726
2730
|
}
|
|
2727
|
-
function
|
|
2731
|
+
function Wc(e) {
|
|
2728
2732
|
return (e.pauseBits & ve) !== 0;
|
|
2729
2733
|
}
|
|
2730
2734
|
function Me(e, t) {
|
|
2731
2735
|
const n = $e(e);
|
|
2732
2736
|
return e.state === "paused" ? e.remainingMs : t >= e.dueAt ? -Ie(e.dueAt, t, n) : Ie(t, e.dueAt, n);
|
|
2733
2737
|
}
|
|
2734
|
-
function
|
|
2738
|
+
function Vc(e, t) {
|
|
2735
2739
|
return e.state === "paused" ? De(t, e.remainingMs, $e(e)) : e.dueAt;
|
|
2736
2740
|
}
|
|
2737
|
-
function
|
|
2741
|
+
function zc(e, t) {
|
|
2738
2742
|
const n = e.filter(ko);
|
|
2739
2743
|
if (!n.length) return;
|
|
2740
2744
|
const r = n.filter((i) => i.state === "running");
|
|
@@ -2742,7 +2746,7 @@ function Vc(e, t) {
|
|
|
2742
2746
|
(i, s) => Me(s, t) < Me(i, t) ? s : i
|
|
2743
2747
|
);
|
|
2744
2748
|
}
|
|
2745
|
-
function
|
|
2749
|
+
function Xc(e, t) {
|
|
2746
2750
|
if (e.state === "missed") return "breached";
|
|
2747
2751
|
if (e.state === "hit") return "met";
|
|
2748
2752
|
if (e.state === "paused") return "paused";
|
|
@@ -2750,7 +2754,7 @@ function zc(e, t) {
|
|
|
2750
2754
|
const n = Me(e, t);
|
|
2751
2755
|
return n <= 0 ? "breached" : n <= e.targetMs / 5 ? "urgent" : "running";
|
|
2752
2756
|
}
|
|
2753
|
-
function
|
|
2757
|
+
function Yc(e) {
|
|
2754
2758
|
const t = Math.floor(Math.abs(e) / 1e3), n = Math.floor(t / 86400), r = Math.floor(t % 86400 / 3600), o = Math.floor(t % 3600 / 60);
|
|
2755
2759
|
return n ? r ? `${n}d ${r}u` : `${n}d` : r ? o ? `${r}u ${o}m` : `${r}u` : o ? `${o}m` : `${t % 60}s`;
|
|
2756
2760
|
}
|
|
@@ -2758,12 +2762,12 @@ const wo = "strategy_item";
|
|
|
2758
2762
|
function Zt(e) {
|
|
2759
2763
|
return `${wo}:${e}`;
|
|
2760
2764
|
}
|
|
2761
|
-
function
|
|
2765
|
+
function qc(e, t = 25) {
|
|
2762
2766
|
const n = /* @__PURE__ */ new Set([Zt(e.id)]);
|
|
2763
2767
|
for (const r of e.ancestorKeys ?? []) n.add(r);
|
|
2764
2768
|
return Array.from(n).slice(0, t);
|
|
2765
2769
|
}
|
|
2766
|
-
function
|
|
2770
|
+
function Qc(e) {
|
|
2767
2771
|
return e ? [...e.ancestorKeys ?? [], Zt(e.id)] : [];
|
|
2768
2772
|
}
|
|
2769
2773
|
const ie = [
|
|
@@ -2777,14 +2781,14 @@ function Co(e, t = ie) {
|
|
|
2777
2781
|
function Ce(e, t = ie) {
|
|
2778
2782
|
return Co(e, t)?.order ?? vo;
|
|
2779
2783
|
}
|
|
2780
|
-
function
|
|
2784
|
+
function Zc(e, t, n = ie) {
|
|
2781
2785
|
return Ce(t, n) <= Ce(e, n);
|
|
2782
2786
|
}
|
|
2783
|
-
function
|
|
2787
|
+
function Jc(e, t = ie) {
|
|
2784
2788
|
const n = Ce(e, t);
|
|
2785
2789
|
return t.filter((o) => o.order > n).sort((o, i) => o.order - i.order)[0]?.key ?? e;
|
|
2786
2790
|
}
|
|
2787
|
-
function
|
|
2791
|
+
function el(e) {
|
|
2788
2792
|
const t = e.trim().toLowerCase();
|
|
2789
2793
|
return t ? t.includes("key result") || t.includes("keyresult") || t === "kr" ? "key_result" : t.includes("objective") || t.includes("goal") || t.includes("doel") ? "objective" : t.includes("focus") || t.includes("area") || t.includes("theme") ? "area" : null : null;
|
|
2790
2794
|
}
|
|
@@ -2797,73 +2801,73 @@ const Oe = {
|
|
|
2797
2801
|
achieved: "closed",
|
|
2798
2802
|
missed: "closed"
|
|
2799
2803
|
};
|
|
2800
|
-
function
|
|
2804
|
+
function tl(e) {
|
|
2801
2805
|
return Oe[e] ?? "open";
|
|
2802
2806
|
}
|
|
2803
|
-
function
|
|
2807
|
+
function nl(e) {
|
|
2804
2808
|
return Object.keys(Oe).filter(
|
|
2805
2809
|
(t) => e.includes(Oe[t])
|
|
2806
2810
|
);
|
|
2807
2811
|
}
|
|
2808
2812
|
const Oo = 864e5, se = (e) => e <= 0 ? 0 : e > 1 ? 1 : e;
|
|
2809
|
-
function
|
|
2813
|
+
function rl(e, t) {
|
|
2810
2814
|
const { direction: n } = e, r = e.startValue ?? 0, o = e.targetValue ?? 0;
|
|
2811
2815
|
if (!Number.isFinite(t)) return 0;
|
|
2812
2816
|
const i = n === "down" ? t <= o : t >= o, s = o - r;
|
|
2813
2817
|
return (n === "down" ? s < 0 : s > 0) ? se((t - r) / s) : i ? 1 : 0;
|
|
2814
2818
|
}
|
|
2815
|
-
function
|
|
2819
|
+
function ol(e, t) {
|
|
2816
2820
|
const { startDate: n, targetDate: r } = e;
|
|
2817
2821
|
if (!(typeof n != "number" || typeof r != "number") && !(r <= n))
|
|
2818
2822
|
return se((t - n) / (r - n));
|
|
2819
2823
|
}
|
|
2820
2824
|
const xo = 0.1, No = 0.25;
|
|
2821
|
-
function
|
|
2825
|
+
function il(e, t) {
|
|
2822
2826
|
if (typeof e != "number" || typeof t != "number") return;
|
|
2823
2827
|
if (e >= 1) return "achieved";
|
|
2824
2828
|
const n = t - e;
|
|
2825
2829
|
return n >= No ? "off_track" : n >= xo ? "at_risk" : "on_track";
|
|
2826
2830
|
}
|
|
2827
|
-
function
|
|
2831
|
+
function sl(e, t) {
|
|
2828
2832
|
if (t)
|
|
2829
2833
|
return se(e / t);
|
|
2830
2834
|
}
|
|
2831
|
-
function
|
|
2835
|
+
function al(e) {
|
|
2832
2836
|
const t = e.map((n) => n.progress?.ratio).filter((n) => typeof n == "number" && Number.isFinite(n));
|
|
2833
2837
|
if (t.length)
|
|
2834
2838
|
return se(t.reduce((n, r) => n + r, 0) / t.length);
|
|
2835
2839
|
}
|
|
2836
|
-
function
|
|
2840
|
+
function cl(e, t) {
|
|
2837
2841
|
const n = e.lastCheckInAt ?? e.createdAt;
|
|
2838
2842
|
if (typeof n != "number") return 0;
|
|
2839
2843
|
const r = (e.checkInEveryDays ?? Mo) * Oo, o = t - n - r;
|
|
2840
2844
|
return o > 0 ? o : 0;
|
|
2841
2845
|
}
|
|
2842
|
-
function
|
|
2846
|
+
function ll(e) {
|
|
2843
2847
|
return e.targetDate ?? Number.MAX_SAFE_INTEGER;
|
|
2844
2848
|
}
|
|
2845
|
-
function
|
|
2849
|
+
function ul(e, t) {
|
|
2846
2850
|
const n = e.accumulatedSeconds || 0;
|
|
2847
2851
|
return e.runningSince ? n + Math.max(0, Math.floor((t - e.runningSince) / 1e3)) : n;
|
|
2848
2852
|
}
|
|
2849
|
-
function
|
|
2853
|
+
function dl(e, t) {
|
|
2850
2854
|
const n = Math.max(1, Math.ceil(Math.max(0, e) / 60));
|
|
2851
2855
|
if (!t || t === "exact") return n * 60;
|
|
2852
2856
|
const r = Number(t);
|
|
2853
2857
|
return !Number.isFinite(r) || r <= 0 ? n * 60 : Math.ceil(n / r) * r * 60;
|
|
2854
2858
|
}
|
|
2855
|
-
function
|
|
2859
|
+
function pl(e) {
|
|
2856
2860
|
const t = Math.max(0, Math.round(e / 60));
|
|
2857
2861
|
return `${Math.floor(t / 60)}:${String(t % 60).padStart(2, "0")}`;
|
|
2858
2862
|
}
|
|
2859
|
-
function
|
|
2863
|
+
function fl(e) {
|
|
2860
2864
|
const t = Math.max(0, Math.floor(e)), n = (i) => String(i).padStart(2, "0"), r = Math.floor(t / 60) % 60, o = Math.floor(t / 3600);
|
|
2861
2865
|
return o > 0 ? `${o}:${n(r)}:${n(t % 60)}` : `${n(r)}:${n(t % 60)}`;
|
|
2862
2866
|
}
|
|
2863
2867
|
function Ro(e) {
|
|
2864
2868
|
return (e || "").normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().replace(/[^a-z0-9]+/g, "-").slice(0, 48).replace(/^-+|-+$/g, "");
|
|
2865
2869
|
}
|
|
2866
|
-
function
|
|
2870
|
+
function ml(e, t) {
|
|
2867
2871
|
const n = Ro(e) || "werksoort", r = new Set(t);
|
|
2868
2872
|
if (!r.has(n)) return n;
|
|
2869
2873
|
for (let o = 2; o < 500; o++) {
|
|
@@ -2872,11 +2876,11 @@ function fl(e, t) {
|
|
|
2872
2876
|
}
|
|
2873
2877
|
return `${n}-${r.size + 1}`;
|
|
2874
2878
|
}
|
|
2875
|
-
function
|
|
2879
|
+
function hl(e, t) {
|
|
2876
2880
|
const n = e.ownerScope;
|
|
2877
2881
|
return !n || n.kind === "org" ? !0 : t.includes(n.teamId);
|
|
2878
2882
|
}
|
|
2879
|
-
function
|
|
2883
|
+
function gl(e) {
|
|
2880
2884
|
return e.filter((t) => !t.archived).sort(Do);
|
|
2881
2885
|
}
|
|
2882
2886
|
function Do(e, t) {
|
|
@@ -2893,7 +2897,7 @@ function Po(e) {
|
|
|
2893
2897
|
const n = t.slice(0, me), r = Math.max(n.lastIndexOf(". "), n.lastIndexOf("! "), n.lastIndexOf("? "));
|
|
2894
2898
|
return r > me * 0.6 ? n.slice(0, r + 1) : `${n.trimEnd()}…`;
|
|
2895
2899
|
}
|
|
2896
|
-
function
|
|
2900
|
+
function yl(e, t) {
|
|
2897
2901
|
const n = Po(t.text), r = P(n);
|
|
2898
2902
|
if (!r || (e.examples ?? []).some((s) => P(s) === r)) return null;
|
|
2899
2903
|
const o = e.exampleCandidates ?? [], i = o.findIndex((s) => P(s.text) === r);
|
|
@@ -2909,7 +2913,7 @@ function ut(e) {
|
|
|
2909
2913
|
(t, n) => Number(n.corrected) - Number(t.corrected) || n.addedAt - t.addedAt
|
|
2910
2914
|
);
|
|
2911
2915
|
}
|
|
2912
|
-
function
|
|
2916
|
+
function bl(e, t) {
|
|
2913
2917
|
const n = P(t), r = (e.examples ?? []).filter((i) => i.trim());
|
|
2914
2918
|
return { examples: r.some((i) => P(i) === n) ? r : [...r, t].slice(-$o), exampleCandidates: Ko(e, t) };
|
|
2915
2919
|
}
|
|
@@ -2921,7 +2925,7 @@ function Uo(e, t) {
|
|
|
2921
2925
|
const n = e.ownerScope;
|
|
2922
2926
|
return n ? n.kind === "org" ? !0 : n.kind === "team" ? !!t && n.teamId === t : !1 : !1;
|
|
2923
2927
|
}
|
|
2924
|
-
function
|
|
2928
|
+
function _l(e, t) {
|
|
2925
2929
|
return e.filter((n) => Uo(n, t));
|
|
2926
2930
|
}
|
|
2927
2931
|
const Le = [
|
|
@@ -2964,7 +2968,7 @@ const Le = [
|
|
|
2964
2968
|
issuedStatus: "open"
|
|
2965
2969
|
}
|
|
2966
2970
|
], Fo = ["quote", "order", "invoice"];
|
|
2967
|
-
function
|
|
2971
|
+
function Al() {
|
|
2968
2972
|
const e = /* @__PURE__ */ new Map();
|
|
2969
2973
|
for (const t of Le)
|
|
2970
2974
|
Fo.includes(t.key) && (e.has(t.path) || e.set(t.path, t));
|
|
@@ -2981,10 +2985,10 @@ function F(e) {
|
|
|
2981
2985
|
issuedStatus: "draft"
|
|
2982
2986
|
};
|
|
2983
2987
|
}
|
|
2984
|
-
function
|
|
2988
|
+
function Sl(e) {
|
|
2985
2989
|
return e.issuedAt != null;
|
|
2986
2990
|
}
|
|
2987
|
-
const
|
|
2991
|
+
const El = [
|
|
2988
2992
|
"status",
|
|
2989
2993
|
"fileRef",
|
|
2990
2994
|
"number",
|
|
@@ -3032,7 +3036,7 @@ function Bo(e, t) {
|
|
|
3032
3036
|
source: e.source
|
|
3033
3037
|
};
|
|
3034
3038
|
}
|
|
3035
|
-
function
|
|
3039
|
+
function Tl(e) {
|
|
3036
3040
|
return {
|
|
3037
3041
|
...Bo(e, e.kindKey),
|
|
3038
3042
|
sourceTransactionId: e.sourceTransactionId,
|
|
@@ -3042,7 +3046,7 @@ function El(e) {
|
|
|
3042
3046
|
totals: e.totals
|
|
3043
3047
|
};
|
|
3044
3048
|
}
|
|
3045
|
-
function
|
|
3049
|
+
function Il(e, t = {}) {
|
|
3046
3050
|
const n = F(e.kindKey), r = e.totals ?? { netCents: 0, taxCents: 0, grossCents: 0 };
|
|
3047
3051
|
return {
|
|
3048
3052
|
customer: {
|
|
@@ -3088,7 +3092,7 @@ function Tl(e, t = {}) {
|
|
|
3088
3092
|
}
|
|
3089
3093
|
};
|
|
3090
3094
|
}
|
|
3091
|
-
function
|
|
3095
|
+
function kl(e, t = [], n = jo) {
|
|
3092
3096
|
const r = e.totals ?? { netCents: 0, grossCents: 0, byRate: [] }, o = (a) => t.find((u) => u.key === a)?.percent ?? 0, i = {
|
|
3093
3097
|
block_id: "lines",
|
|
3094
3098
|
type: "table",
|
|
@@ -3195,7 +3199,7 @@ function Vo(e) {
|
|
|
3195
3199
|
{ block_id: "terms", type: "paragraph", text: pt[n] ?? pt.quote }
|
|
3196
3200
|
];
|
|
3197
3201
|
}
|
|
3198
|
-
const
|
|
3202
|
+
const wl = (e) => ({
|
|
3199
3203
|
note: { key: `${F(e).key}.note`, exists: !0 },
|
|
3200
3204
|
// Keyed on the start: a range without one is not a range, and `period_to` alone says nothing.
|
|
3201
3205
|
period: { key: `${F(e).key}.period_from`, exists: !0 }
|
|
@@ -3220,42 +3224,42 @@ Hierbij onze creditnota. De onderstaande bedragen worden met u verrekend.`
|
|
|
3220
3224
|
order: "Genoemde bedragen zijn exclusief btw tenzij anders vermeld.",
|
|
3221
3225
|
invoice: "Genoemde bedragen zijn exclusief btw tenzij anders vermeld.",
|
|
3222
3226
|
credit_note: "Genoemde bedragen zijn exclusief btw tenzij anders vermeld."
|
|
3223
|
-
},
|
|
3227
|
+
}, vl = Vo("quote"), Xo = Le.map((e) => e.key), Yo = "product";
|
|
3224
3228
|
function qo(e, t) {
|
|
3225
3229
|
return `${e}:${t}`;
|
|
3226
3230
|
}
|
|
3227
|
-
function
|
|
3231
|
+
function Ml(e) {
|
|
3228
3232
|
return `${Yo}:${e}`;
|
|
3229
3233
|
}
|
|
3230
|
-
function
|
|
3234
|
+
function Cl(e) {
|
|
3231
3235
|
const t = e.indexOf(":");
|
|
3232
3236
|
if (t < 0) return;
|
|
3233
3237
|
const n = e.slice(0, t);
|
|
3234
3238
|
return Xo.includes(n) ? e.slice(t + 1) : void 0;
|
|
3235
3239
|
}
|
|
3236
|
-
function
|
|
3240
|
+
function Ol(e) {
|
|
3237
3241
|
const t = /* @__PURE__ */ new Set([qo(e.kindKey, e.id)]);
|
|
3238
3242
|
return e.companyId && t.add(`company:${e.companyId}`), e.contactId && t.add(`contact:${e.contactId}`), e.dealItemId && t.add(`work_item:${e.dealItemId}`), Array.from(t);
|
|
3239
3243
|
}
|
|
3240
|
-
const
|
|
3241
|
-
function
|
|
3244
|
+
const xl = 4;
|
|
3245
|
+
function Nl(e, t) {
|
|
3242
3246
|
const n = String(t).padStart(Math.max(1, e.padding), "0");
|
|
3243
3247
|
return `${e.prefix}${e.period ? `${e.period}-` : ""}${n}`;
|
|
3244
3248
|
}
|
|
3245
|
-
function
|
|
3249
|
+
function Rl(e, t = Date.now()) {
|
|
3246
3250
|
return e === "year" ? String(new Date(t).getFullYear()) : "";
|
|
3247
3251
|
}
|
|
3248
|
-
const
|
|
3252
|
+
const Dl = [
|
|
3249
3253
|
"cash",
|
|
3250
3254
|
"credit",
|
|
3251
3255
|
"direct_debit",
|
|
3252
3256
|
"card",
|
|
3253
3257
|
"other"
|
|
3254
3258
|
];
|
|
3255
|
-
function
|
|
3259
|
+
function $l(e, t) {
|
|
3256
3260
|
return e + Math.max(0, Math.round(t)) * 24 * 60 * 60 * 1e3;
|
|
3257
3261
|
}
|
|
3258
|
-
function
|
|
3262
|
+
function Ll(e, t) {
|
|
3259
3263
|
const n = /* @__PURE__ */ new Map();
|
|
3260
3264
|
for (const r of e) r.businessEntityId || n.set(r.code, r);
|
|
3261
3265
|
if (t)
|
|
@@ -3263,10 +3267,10 @@ function $l(e, t) {
|
|
|
3263
3267
|
r.businessEntityId === t && n.set(r.code, r);
|
|
3264
3268
|
return [...n.values()];
|
|
3265
3269
|
}
|
|
3266
|
-
function
|
|
3270
|
+
function Pl(e) {
|
|
3267
3271
|
return { code: e.code, label: e.label, method: e.method, dueDays: e.dueDays };
|
|
3268
3272
|
}
|
|
3269
|
-
const
|
|
3273
|
+
const Kl = [
|
|
3270
3274
|
{
|
|
3271
3275
|
code: "14D",
|
|
3272
3276
|
label: "Binnen 14 dagen",
|
|
@@ -3278,10 +3282,10 @@ const Pl = [
|
|
|
3278
3282
|
{ code: "30D", label: "Binnen 30 dagen", method: "credit", dueDays: 30, order: 1 },
|
|
3279
3283
|
{ code: "CONTANT", label: "Contant", method: "cash", dueDays: 0, order: 2 }
|
|
3280
3284
|
];
|
|
3281
|
-
function
|
|
3285
|
+
function Ul(e) {
|
|
3282
3286
|
return e.type === "agent";
|
|
3283
3287
|
}
|
|
3284
|
-
const
|
|
3288
|
+
const Fl = "WORK_COMMENT_ADDED", Bl = "WORK_ITEM_ASSIGNED", jl = "WORK_ITEM_STATUS_CHANGED";
|
|
3285
3289
|
function Qo(e, t) {
|
|
3286
3290
|
const n = (r) => {
|
|
3287
3291
|
const o = new Date(r);
|
|
@@ -3289,7 +3293,7 @@ function Qo(e, t) {
|
|
|
3289
3293
|
};
|
|
3290
3294
|
return Math.round((n(e) - n(t)) / tr);
|
|
3291
3295
|
}
|
|
3292
|
-
function
|
|
3296
|
+
function Hl(e, t) {
|
|
3293
3297
|
if (e.closedAt != null) return { score: L, reasons: [] };
|
|
3294
3298
|
const n = t.remindersById?.[e.id];
|
|
3295
3299
|
if (n && n.remindAt > t.now) return { score: L, reasons: [] };
|
|
@@ -3309,35 +3313,35 @@ const Pe = [
|
|
|
3309
3313
|
{ key: "subtask", label: "type_subtask" },
|
|
3310
3314
|
{ key: "case", label: "type_case" },
|
|
3311
3315
|
{ key: "deal", label: "type_deal" }
|
|
3312
|
-
],
|
|
3313
|
-
function
|
|
3316
|
+
], Gl = Pe.map((e) => e.key);
|
|
3317
|
+
function Wl(e) {
|
|
3314
3318
|
return e?.types?.length ? e.types : Pe;
|
|
3315
3319
|
}
|
|
3316
|
-
function
|
|
3320
|
+
function Vl(e, t) {
|
|
3317
3321
|
return t.find((n) => n.key === e);
|
|
3318
3322
|
}
|
|
3319
|
-
function
|
|
3323
|
+
function zl(e) {
|
|
3320
3324
|
const t = e.trim().toLowerCase();
|
|
3321
3325
|
return t ? t.includes("sub-task") || t.includes("subtask") || t.includes("sub task") ? "subtask" : t.includes("bug") || t.includes("defect") ? "bug" : t.includes("epic") ? "epic" : t.includes("story") ? "story" : t.includes("incident") || t.includes("problem") || t.includes("service request") || t.includes("change") ? "case" : t.includes("task") ? "task" : null : null;
|
|
3322
3326
|
}
|
|
3323
|
-
function
|
|
3327
|
+
function Xl(...e) {
|
|
3324
3328
|
return e.map((t) => Pe.find((n) => n.key === t)).filter((t) => !!t);
|
|
3325
3329
|
}
|
|
3326
|
-
const Zo = "work_item", Jo = "work_project", ei = "work_activity",
|
|
3330
|
+
const Zo = "work_item", Jo = "work_project", ei = "work_activity", Yl = "work_cycle";
|
|
3327
3331
|
function ti(e) {
|
|
3328
3332
|
return `${Zo}:${e}`;
|
|
3329
3333
|
}
|
|
3330
3334
|
function Jt(e) {
|
|
3331
3335
|
return `${Jo}:${e}`;
|
|
3332
3336
|
}
|
|
3333
|
-
function
|
|
3337
|
+
function ql(e) {
|
|
3334
3338
|
return `${ei}:${e}`;
|
|
3335
3339
|
}
|
|
3336
|
-
function
|
|
3340
|
+
function Ql(e, t, n) {
|
|
3337
3341
|
const r = `${e}-${t}`;
|
|
3338
3342
|
return n ? `${r}-${n}` : r;
|
|
3339
3343
|
}
|
|
3340
|
-
function
|
|
3344
|
+
function Zl(e) {
|
|
3341
3345
|
const t = /^([A-Za-z0-9]{2,8})-(\d+)(?:-(\d+))?$/.exec((e || "").trim());
|
|
3342
3346
|
return t ? {
|
|
3343
3347
|
projectKey: t[1].toUpperCase(),
|
|
@@ -3345,17 +3349,17 @@ function Ql(e) {
|
|
|
3345
3349
|
...t[3] ? { subSequence: Number(t[3]) } : {}
|
|
3346
3350
|
} : null;
|
|
3347
3351
|
}
|
|
3348
|
-
function
|
|
3352
|
+
function Jl(e) {
|
|
3349
3353
|
return (e || "").normalize("NFD").replace(/[\u0300-\u036f]/g, "").toUpperCase().replace(/[^A-Z0-9]/g, "").slice(0, 3) || "PRJ";
|
|
3350
3354
|
}
|
|
3351
|
-
function
|
|
3355
|
+
function eu(e, t = 25) {
|
|
3352
3356
|
const n = /* @__PURE__ */ new Set([ti(e.id)]);
|
|
3353
3357
|
e.projectId && n.add(Jt(e.projectId));
|
|
3354
3358
|
for (const r of e.ancestorKeys ?? []) n.add(r);
|
|
3355
3359
|
for (const r of e.partyKeys ?? []) n.add(r);
|
|
3356
3360
|
return Array.from(n).slice(0, t);
|
|
3357
3361
|
}
|
|
3358
|
-
function
|
|
3362
|
+
function tu(e) {
|
|
3359
3363
|
return [Jt(e.id)];
|
|
3360
3364
|
}
|
|
3361
3365
|
const Ke = [
|
|
@@ -3370,10 +3374,10 @@ function ni(e) {
|
|
|
3370
3374
|
function ri(e, t) {
|
|
3371
3375
|
return t.find((n) => n.key === e)?.category ?? "todo";
|
|
3372
3376
|
}
|
|
3373
|
-
function
|
|
3377
|
+
function nu(e, t) {
|
|
3374
3378
|
return t.find((n) => n.key === e);
|
|
3375
3379
|
}
|
|
3376
|
-
function
|
|
3380
|
+
function ru(e) {
|
|
3377
3381
|
const t = ni(e), n = e?.defaultStatusKey;
|
|
3378
3382
|
return n && t.some((r) => r.key === n) ? n : oi(t)[0]?.key ?? Ke[0].key;
|
|
3379
3383
|
}
|
|
@@ -3383,13 +3387,13 @@ function oi(e) {
|
|
|
3383
3387
|
return r !== 0 ? r : (t.label || "").localeCompare(n.label || "");
|
|
3384
3388
|
});
|
|
3385
3389
|
}
|
|
3386
|
-
function
|
|
3390
|
+
function ou(e, t) {
|
|
3387
3391
|
return ri(e, t) === "done";
|
|
3388
3392
|
}
|
|
3389
3393
|
function ii(e) {
|
|
3390
3394
|
return (e || "").normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().replace(/[^a-z0-9]+/g, "-").slice(0, 48).replace(/^-+|-+$/g, "");
|
|
3391
3395
|
}
|
|
3392
|
-
function
|
|
3396
|
+
function iu(e, t) {
|
|
3393
3397
|
const n = ii(e) || "status", r = /* @__PURE__ */ new Set([...t, ...en]);
|
|
3394
3398
|
if (!r.has(n)) return n;
|
|
3395
3399
|
for (let o = 2; o < 500; o++) {
|
|
@@ -3398,7 +3402,7 @@ function ou(e, t) {
|
|
|
3398
3402
|
}
|
|
3399
3403
|
return `${n}-${r.size + 1}`;
|
|
3400
3404
|
}
|
|
3401
|
-
function
|
|
3405
|
+
function su(e) {
|
|
3402
3406
|
const t = [];
|
|
3403
3407
|
if (!e.length) return [{ index: -1, reason: "empty" }];
|
|
3404
3408
|
const n = /* @__PURE__ */ new Set();
|
|
@@ -3410,10 +3414,10 @@ function iu(e) {
|
|
|
3410
3414
|
en.includes(r.key) && t.push({ index: o, reason: "reserved_key", key: r.key }), n.has(r.key) && t.push({ index: o, reason: "duplicate_key", key: r.key }), n.add(r.key);
|
|
3411
3415
|
}), 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;
|
|
3412
3416
|
}
|
|
3413
|
-
function
|
|
3417
|
+
function au(e) {
|
|
3414
3418
|
return e.startDate ?? Number.MAX_SAFE_INTEGER;
|
|
3415
3419
|
}
|
|
3416
|
-
function
|
|
3420
|
+
function cu(e) {
|
|
3417
3421
|
return e.completedAt ? "completed" : e.startedAt ? "active" : "planned";
|
|
3418
3422
|
}
|
|
3419
3423
|
const si = /* @__PURE__ */ new Set(["image/png", "image/jpeg", "image/jpg", "image/gif", "image/webp"]), ai = /* @__PURE__ */ new Set([
|
|
@@ -3434,18 +3438,18 @@ const j = 1024 * 1024, li = {
|
|
|
3434
3438
|
pdf: 20 * j,
|
|
3435
3439
|
text: 1 * j,
|
|
3436
3440
|
audio: 20 * j
|
|
3437
|
-
},
|
|
3438
|
-
function
|
|
3441
|
+
}, lu = 25 * j, uu = 5;
|
|
3442
|
+
function du(e, t) {
|
|
3439
3443
|
const n = ci(e);
|
|
3440
3444
|
return n === "unsupported" ? "unsupported" : t > li[n] ? "too-large" : null;
|
|
3441
3445
|
}
|
|
3442
|
-
function
|
|
3446
|
+
function pu(e) {
|
|
3443
3447
|
return e.access !== "read" && e.effect !== "internal";
|
|
3444
3448
|
}
|
|
3445
3449
|
function ui(e) {
|
|
3446
3450
|
return `${e.kind}:${e.id || e.url || e.title}`;
|
|
3447
3451
|
}
|
|
3448
|
-
function
|
|
3452
|
+
function fu(e, t = []) {
|
|
3449
3453
|
const n = new Set(t), r = [], o = [];
|
|
3450
3454
|
for (const i of e) {
|
|
3451
3455
|
const s = ui(i);
|
|
@@ -3453,26 +3457,26 @@ function pu(e, t = []) {
|
|
|
3453
3457
|
}
|
|
3454
3458
|
return { sources: r, keys: o };
|
|
3455
3459
|
}
|
|
3456
|
-
const
|
|
3457
|
-
function
|
|
3460
|
+
const mu = "assist-source", hu = ["blocking", "due", "open"];
|
|
3461
|
+
function gu(e, t) {
|
|
3458
3462
|
const [n, r] = (e.subjectKey ?? "").split(":");
|
|
3459
3463
|
return n === t && r ? r : void 0;
|
|
3460
3464
|
}
|
|
3461
3465
|
const ft = { blocking: 0, due: 1, open: 2 };
|
|
3462
|
-
function
|
|
3466
|
+
function yu(e, t) {
|
|
3463
3467
|
return ft[e.band ?? "open"] - ft[t.band ?? "open"] || (t.priority ?? 0) - (e.priority ?? 0) || e.id.localeCompare(t.id);
|
|
3464
3468
|
}
|
|
3465
|
-
function
|
|
3469
|
+
function bu(e) {
|
|
3466
3470
|
return e.sessions.filter(
|
|
3467
3471
|
(t) => t.id !== e.exceptSessionId && t.state === "connected" && e.canHold(t.providerId)
|
|
3468
3472
|
);
|
|
3469
3473
|
}
|
|
3470
|
-
function
|
|
3474
|
+
function _u(e) {
|
|
3471
3475
|
return e.sessions.filter(
|
|
3472
3476
|
(t) => t.id !== e.exceptSessionId && t.state === "connected" && !e.canHold(t.providerId)
|
|
3473
3477
|
);
|
|
3474
3478
|
}
|
|
3475
|
-
function
|
|
3479
|
+
function Au(e) {
|
|
3476
3480
|
return e.sessions.some(
|
|
3477
3481
|
(n) => n.id !== e.exceptSessionId && (n.state === "connected" || n.state === "on_hold")
|
|
3478
3482
|
) ? { admit: !1, reason: "busy" } : { admit: !0 };
|
|
@@ -3494,7 +3498,7 @@ function pi(e, t) {
|
|
|
3494
3498
|
}
|
|
3495
3499
|
return n;
|
|
3496
3500
|
}
|
|
3497
|
-
function
|
|
3501
|
+
function Su(e, t) {
|
|
3498
3502
|
const n = pi(e, t);
|
|
3499
3503
|
return Object.entries(n).filter(([, r]) => !r).map(([r]) => r);
|
|
3500
3504
|
}
|
|
@@ -3505,7 +3509,7 @@ function fi(e, t) {
|
|
|
3505
3509
|
transport: t.transport ?? e.transport
|
|
3506
3510
|
} : e;
|
|
3507
3511
|
}
|
|
3508
|
-
function
|
|
3512
|
+
function Eu(e, t) {
|
|
3509
3513
|
const n = [];
|
|
3510
3514
|
for (const r of e) {
|
|
3511
3515
|
if (!r.enabled) continue;
|
|
@@ -3516,16 +3520,16 @@ function Su(e, t) {
|
|
|
3516
3520
|
}
|
|
3517
3521
|
return n;
|
|
3518
3522
|
}
|
|
3519
|
-
function
|
|
3523
|
+
function Tu(e, t) {
|
|
3520
3524
|
return t.filter((n) => n.capability.intent === e);
|
|
3521
3525
|
}
|
|
3522
3526
|
function mi(e, t) {
|
|
3523
3527
|
return t.filter((n) => n.capability.targetSchemes.includes(e));
|
|
3524
3528
|
}
|
|
3525
|
-
function
|
|
3529
|
+
function Iu(e, t) {
|
|
3526
3530
|
return mi(e.scheme, t);
|
|
3527
3531
|
}
|
|
3528
|
-
function
|
|
3532
|
+
function ku(e, t, n) {
|
|
3529
3533
|
const r = [];
|
|
3530
3534
|
for (const o of e)
|
|
3531
3535
|
for (const i of n)
|
|
@@ -3554,10 +3558,10 @@ const gi = {
|
|
|
3554
3558
|
id: "note",
|
|
3555
3559
|
custom: "note"
|
|
3556
3560
|
};
|
|
3557
|
-
function
|
|
3561
|
+
function wu(e) {
|
|
3558
3562
|
return e ? gi[e] ?? "note" : "note";
|
|
3559
3563
|
}
|
|
3560
|
-
const
|
|
3564
|
+
const vu = "message_window", Mu = "message_templates", Cu = {
|
|
3561
3565
|
// E-mail
|
|
3562
3566
|
FROM: "from",
|
|
3563
3567
|
TO: "to",
|
|
@@ -3574,11 +3578,11 @@ const wu = "message_window", vu = "message_templates", Mu = {
|
|
|
3574
3578
|
// Voice/conference
|
|
3575
3579
|
HOST: "host",
|
|
3576
3580
|
PARTICIPANT: "participant"
|
|
3577
|
-
},
|
|
3581
|
+
}, Ou = (e, t) => ({ intent: e, ...t }), xu = "folder_management", Nu = "remote_search", Ru = "message_reactions", Du = {
|
|
3578
3582
|
ok: !1,
|
|
3579
3583
|
code: "UNSUPPORTED",
|
|
3580
3584
|
message: "Provider does not support this op"
|
|
3581
|
-
},
|
|
3585
|
+
}, $u = "connector", Lu = "context.collect", A = (e) => ({ type: "string", description: e }), _ = (e) => ({ type: "number", description: e }), J = (e) => ({ type: "boolean", description: e }), M = A("Sheet name. Omit for the sheet the user is looking at."), mt = A("Slide id, as `inspect` reports it.");
|
|
3582
3586
|
function b(e, t, n, r, o, i) {
|
|
3583
3587
|
return {
|
|
3584
3588
|
op: e,
|
|
@@ -3932,10 +3936,10 @@ const H = { undoable: !1, visible: !0 }, T = { undoable: !0, visible: !0 }, ht =
|
|
|
3932
3936
|
..._i,
|
|
3933
3937
|
...Ai
|
|
3934
3938
|
];
|
|
3935
|
-
function
|
|
3939
|
+
function Pu(e) {
|
|
3936
3940
|
return tn.filter((t) => t.kinds.includes(e));
|
|
3937
3941
|
}
|
|
3938
|
-
function
|
|
3942
|
+
function Ku(e) {
|
|
3939
3943
|
return tn.find((t) => t.op === e);
|
|
3940
3944
|
}
|
|
3941
3945
|
const gt = /(?: {2,}|\\)$/, Si = /^\*\*([^*]+)\*\*\s+(.*)$/;
|
|
@@ -3943,7 +3947,7 @@ function yt(e) {
|
|
|
3943
3947
|
const t = Si.exec(e);
|
|
3944
3948
|
return t ? { lead: t[1], text: t[2] } : { text: e };
|
|
3945
3949
|
}
|
|
3946
|
-
function
|
|
3950
|
+
function Uu(e) {
|
|
3947
3951
|
const t = (e ?? "").replace(/\r\n/g, `
|
|
3948
3952
|
`).split(`
|
|
3949
3953
|
`), n = [];
|
|
@@ -4022,27 +4026,27 @@ function Ku(e) {
|
|
|
4022
4026
|
}
|
|
4023
4027
|
return d(), n;
|
|
4024
4028
|
}
|
|
4025
|
-
function
|
|
4029
|
+
function Fu(e, t) {
|
|
4026
4030
|
return Kn(e, t).replace(/^```.*$/gm, "").replace(/^\|[\s:|-]*\|$/gm, "").replace(/[ \t]*\|[ \t]*/g, " ").replace(/^[ \t]*(#{1,6}|>|[-*+]|\d+\.)[ \t]+/gm, "").replace(/!\[([^\]]*)\]\([^)]*\)/g, "$1").replace(/\[([^\]]+)\]\([^)]*\)/g, "$1").replace(/(\*\*|__|\*|_|`|~~)/g, "").replace(/[ \t]+$/gm, "").replace(/\n{3,}/g, `
|
|
4027
4031
|
|
|
4028
4032
|
`).trim();
|
|
4029
4033
|
}
|
|
4030
|
-
const
|
|
4031
|
-
function
|
|
4034
|
+
const Bu = "documents.describe", ju = "documents.inspect", Hu = "documents.apply";
|
|
4035
|
+
function Gu(e) {
|
|
4032
4036
|
const t = e.indexOf(":");
|
|
4033
4037
|
if (t !== -1) return e.slice(0, t);
|
|
4034
4038
|
const n = e.indexOf(".");
|
|
4035
4039
|
return n === -1 ? e : e.slice(0, n);
|
|
4036
4040
|
}
|
|
4037
|
-
const
|
|
4038
|
-
function
|
|
4041
|
+
const Wu = "installation-id";
|
|
4042
|
+
function Vu(e) {
|
|
4039
4043
|
const t = [];
|
|
4040
4044
|
for (const n of Object.keys(e))
|
|
4041
4045
|
for (const r of Object.keys(e[n]))
|
|
4042
4046
|
t.push({ lang: n, key: r, value: e[n][r] });
|
|
4043
4047
|
return t;
|
|
4044
4048
|
}
|
|
4045
|
-
const
|
|
4049
|
+
const zu = "notification-source", Xu = (e, t) => `${e}.pref.${t}`, Yu = {
|
|
4046
4050
|
ai: [
|
|
4047
4051
|
"account.read",
|
|
4048
4052
|
"account.write",
|
|
@@ -4178,37 +4182,37 @@ const Vu = "notification-source", zu = (e, t) => `${e}.pref.${t}`, Xu = {
|
|
|
4178
4182
|
user: ["user.read", "user.write"],
|
|
4179
4183
|
work: ["item.read", "item.write", "project.read", "project.write"]
|
|
4180
4184
|
}, nn = 9e4, Ei = ["out_of_office"], rn = (e) => Ei.includes(e);
|
|
4181
|
-
function
|
|
4185
|
+
function qu(e, t, n) {
|
|
4182
4186
|
const r = n - e < nn, o = t?.status && (!t.expiresAt || t.expiresAt > n) ? t : void 0;
|
|
4183
4187
|
if (!o?.status) return { online: r, status: r ? "available" : "offline" };
|
|
4184
4188
|
const i = o.status;
|
|
4185
4189
|
return !r && !rn(i) ? { online: !1, status: "offline" } : { online: r, status: i, message: o.message };
|
|
4186
4190
|
}
|
|
4187
|
-
function
|
|
4191
|
+
function Qu(e, t) {
|
|
4188
4192
|
const n = t - e.lastSeenAt < nn, r = n || rn(e.status) ? e.status : "offline";
|
|
4189
4193
|
return n === e.online && r === e.status ? e : { ...e, online: n, status: r };
|
|
4190
4194
|
}
|
|
4191
|
-
function
|
|
4195
|
+
function Zu(e, t) {
|
|
4192
4196
|
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 };
|
|
4193
4197
|
}
|
|
4194
|
-
function
|
|
4198
|
+
function Ju(e) {
|
|
4195
4199
|
return e.providerAvailable && e.allowed;
|
|
4196
4200
|
}
|
|
4197
|
-
const
|
|
4198
|
-
function
|
|
4201
|
+
const ed = "resources.describe", td = "resources.search", nd = "resources.resolve", rd = "resources.attached";
|
|
4202
|
+
function od(e) {
|
|
4199
4203
|
const t = e.indexOf(":");
|
|
4200
4204
|
return t === -1 ? e : e.slice(0, t);
|
|
4201
4205
|
}
|
|
4202
|
-
const
|
|
4206
|
+
const id = "/provider/scope/related", sd = "/provider/scope/read", on = "auth";
|
|
4203
4207
|
function sn(e) {
|
|
4204
4208
|
const t = typeof e == "string" ? e.match(/apps\/([^/?#]+)/) : null;
|
|
4205
4209
|
return t ? t[1] : null;
|
|
4206
4210
|
}
|
|
4207
|
-
function
|
|
4211
|
+
function ad(e) {
|
|
4208
4212
|
const t = sn(e);
|
|
4209
4213
|
return t ? t !== on : typeof e == "string" && e.startsWith("/wake");
|
|
4210
4214
|
}
|
|
4211
|
-
function
|
|
4215
|
+
function cd(e) {
|
|
4212
4216
|
return typeof e != "string" || e === "" || e === "/" ? !0 : sn(e) === on;
|
|
4213
4217
|
}
|
|
4214
4218
|
function Ti(e) {
|
|
@@ -4230,7 +4234,7 @@ function ki(e, t) {
|
|
|
4230
4234
|
function wi(e) {
|
|
4231
4235
|
return e.publicBasePath ?? `/apps/${e.name}`;
|
|
4232
4236
|
}
|
|
4233
|
-
function
|
|
4237
|
+
function ld(e) {
|
|
4234
4238
|
const t = [];
|
|
4235
4239
|
for (const n of e) {
|
|
4236
4240
|
if (!n?.name) continue;
|
|
@@ -4263,10 +4267,10 @@ function Mi(e, t) {
|
|
|
4263
4267
|
Ii(r.pattern).test(e) && (!n || vi(r.pattern, n.pattern)) && (n = r);
|
|
4264
4268
|
return n ? { ...n, params: { ...n.props, ...ki(n.pattern, e) } } : null;
|
|
4265
4269
|
}
|
|
4266
|
-
function
|
|
4270
|
+
function ud(e, t) {
|
|
4267
4271
|
return Mi(e, t) !== null;
|
|
4268
4272
|
}
|
|
4269
|
-
const
|
|
4273
|
+
const dd = 10 * 1024 * 1024, pd = 25 * 1024 * 1024, fd = "sync-target", md = 20, Ci = {
|
|
4270
4274
|
afrikaans: [
|
|
4271
4275
|
"[Muziek]",
|
|
4272
4276
|
"(C) TV GELDERLAND 2021",
|
|
@@ -4557,13 +4561,13 @@ function Ui(e, t = xi) {
|
|
|
4557
4561
|
return { text: n.filter((s) => (s.endedAt ?? 0) >= o).map((s) => Oi(s.text).trim()).filter(Boolean).join(" ").replace(/\s+/g, " ").trim(), segmentCount: n.length };
|
|
4558
4562
|
}
|
|
4559
4563
|
const Fi = 60;
|
|
4560
|
-
function
|
|
4564
|
+
function hd(e, t, n = Fi) {
|
|
4561
4565
|
const r = new Set(e), o = [...e];
|
|
4562
4566
|
for (const i of t)
|
|
4563
4567
|
!i || r.has(i) || (r.add(i), o.push(i));
|
|
4564
4568
|
return o.slice(-n);
|
|
4565
4569
|
}
|
|
4566
|
-
function
|
|
4570
|
+
function gd(e) {
|
|
4567
4571
|
const { segments: t, now: n, state: r } = e;
|
|
4568
4572
|
if (r.lastTriggerAt && n - r.lastTriggerAt < Ni)
|
|
4569
4573
|
return { trigger: !1, reason: "too_soon" };
|
|
@@ -4575,7 +4579,7 @@ function hd(e) {
|
|
|
4575
4579
|
const s = Pi(o.text);
|
|
4576
4580
|
return s.length ? r.lastQueryTerms?.length && Ki(s, r.lastQueryTerms) < Di ? { trigger: !1, reason: "same_topic" } : { trigger: !0, text: o.text, terms: s, segmentCount: o.segmentCount } : { trigger: !1, reason: "no_speech" };
|
|
4577
4581
|
}
|
|
4578
|
-
const
|
|
4582
|
+
const yd = [
|
|
4579
4583
|
"personal",
|
|
4580
4584
|
"organization",
|
|
4581
4585
|
"connections",
|
|
@@ -4583,7 +4587,7 @@ const gd = [
|
|
|
4583
4587
|
"work",
|
|
4584
4588
|
"administration",
|
|
4585
4589
|
"ai"
|
|
4586
|
-
],
|
|
4590
|
+
], bd = "navNotice", Ue = {
|
|
4587
4591
|
// The lower bounds are deliberately generous: service ranges (0800/0900) are
|
|
4588
4592
|
// shorter than geographic numbers, and a too-strict minimum silently drops them.
|
|
4589
4593
|
// An over-permissive key is harmless — it simply matches nothing.
|
|
@@ -4637,7 +4641,7 @@ function Wi(e) {
|
|
|
4637
4641
|
const r = t.indexOf("@");
|
|
4638
4642
|
return r >= 0 && (t = t.slice(0, r)), t.trim();
|
|
4639
4643
|
}
|
|
4640
|
-
function
|
|
4644
|
+
function _d(e) {
|
|
4641
4645
|
if (!e) return !1;
|
|
4642
4646
|
const t = e.indexOf("@");
|
|
4643
4647
|
if (t <= 0) return !1;
|
|
@@ -4665,7 +4669,7 @@ function At(e, t) {
|
|
|
4665
4669
|
}
|
|
4666
4670
|
return !s && ee(o, i) ? `+${i.callingCode}${o}` : null;
|
|
4667
4671
|
}
|
|
4668
|
-
function
|
|
4672
|
+
function Ad(e, t = 9) {
|
|
4669
4673
|
const n = (e ?? "").replace(/\D/g, "");
|
|
4670
4674
|
return n.length < t ? null : n.slice(-t);
|
|
4671
4675
|
}
|
|
@@ -4676,7 +4680,7 @@ function an(e) {
|
|
|
4676
4680
|
const r = t.slice(0, n).split("+")[0], o = t.slice(n + 1);
|
|
4677
4681
|
return !r || !o.includes(".") ? null : `${r}@${o}`;
|
|
4678
4682
|
}
|
|
4679
|
-
function
|
|
4683
|
+
function Sd(e) {
|
|
4680
4684
|
const t = an(e);
|
|
4681
4685
|
return t ? t.slice(t.lastIndexOf("@") + 1) : null;
|
|
4682
4686
|
}
|
|
@@ -4742,16 +4746,16 @@ const Xi = /* @__PURE__ */ new Set([
|
|
|
4742
4746
|
"proximus.be",
|
|
4743
4747
|
"scarlet.be"
|
|
4744
4748
|
]);
|
|
4745
|
-
function
|
|
4749
|
+
function Ed(e) {
|
|
4746
4750
|
const t = zi(e);
|
|
4747
4751
|
return t ? Xi.has(t) : !1;
|
|
4748
4752
|
}
|
|
4749
|
-
function
|
|
4753
|
+
function Td(e) {
|
|
4750
4754
|
if (!e) return !1;
|
|
4751
4755
|
const t = e.trim().toLowerCase();
|
|
4752
4756
|
return t === "tel" || t === "sms" || t === "whatsapp" || t === "fax";
|
|
4753
4757
|
}
|
|
4754
|
-
function
|
|
4758
|
+
function Id(e, t, n) {
|
|
4755
4759
|
if (!e || !t) return null;
|
|
4756
4760
|
const r = e.trim().toLowerCase();
|
|
4757
4761
|
if (r === "tel" || r === "sms" || r === "whatsapp") {
|
|
@@ -4918,13 +4922,13 @@ function wt(e) {
|
|
|
4918
4922
|
`).trim();
|
|
4919
4923
|
}
|
|
4920
4924
|
const ms = /<\s*(html|body|div|p|table|br|span)\b/i;
|
|
4921
|
-
function
|
|
4925
|
+
function kd(e) {
|
|
4922
4926
|
return ms.test(e);
|
|
4923
4927
|
}
|
|
4924
|
-
function
|
|
4928
|
+
function wd(e) {
|
|
4925
4929
|
return cn(e, !1);
|
|
4926
4930
|
}
|
|
4927
|
-
function
|
|
4931
|
+
function vd(e) {
|
|
4928
4932
|
return cn(e, !0);
|
|
4929
4933
|
}
|
|
4930
4934
|
function cn(e, t) {
|
|
@@ -4942,11 +4946,11 @@ export {
|
|
|
4942
4946
|
ra as ACTIVE_ASSIGNMENT_STATUSES,
|
|
4943
4947
|
R as ACTIVITY_CATALOG,
|
|
4944
4948
|
li as AI_ATTACHMENT_LIMITS,
|
|
4945
|
-
|
|
4946
|
-
|
|
4949
|
+
uu as AI_ATTACHMENT_MAX_PER_TURN,
|
|
4950
|
+
lu as AI_ATTACHMENT_TURN_BUDGET,
|
|
4947
4951
|
Ct as AI_VENDORS,
|
|
4948
4952
|
On as ALLOWED_LINK_SCHEMES,
|
|
4949
|
-
|
|
4953
|
+
Yu as APP_PERMISSIONS,
|
|
4950
4954
|
Xe as ARTIFACT_MAX_BLOCKS,
|
|
4951
4955
|
qs as ARTIFACT_MAX_BODY_BYTES,
|
|
4952
4956
|
Z as ARTIFACT_MAX_CELL_LEN,
|
|
@@ -4956,8 +4960,8 @@ export {
|
|
|
4956
4960
|
qe as ARTIFACT_MAX_TABLE_ROWS,
|
|
4957
4961
|
xt as ARTIFACT_MAX_TEXT_LEN,
|
|
4958
4962
|
Fn as ASSIGNMENT_SCOPE_KIND,
|
|
4959
|
-
|
|
4960
|
-
|
|
4963
|
+
hu as ASSIST_BANDS,
|
|
4964
|
+
mu as ASSIST_SOURCE_PROVIDER_GROUP,
|
|
4961
4965
|
ur as ATTENTION_STATUSES,
|
|
4962
4966
|
xo as AT_RISK_GAP,
|
|
4963
4967
|
on as AUTH_APP_NAME,
|
|
@@ -4971,23 +4975,23 @@ export {
|
|
|
4971
4975
|
Ri as CADENCE_MIN_NEW_SEGMENTS,
|
|
4972
4976
|
Di as CADENCE_MIN_NOVELTY,
|
|
4973
4977
|
xi as CADENCE_WINDOW_MS,
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4978
|
+
Mc as CLASSIFY_VARS,
|
|
4979
|
+
$u as CONNECTOR_PROVIDER_GROUP,
|
|
4980
|
+
Lu as CONTEXT_COLLECT_SERVICE,
|
|
4977
4981
|
Gs as CORE_DIMENSIONS,
|
|
4978
4982
|
hi as CommunicationScheme,
|
|
4979
4983
|
tr as DAY_MS,
|
|
4980
4984
|
Mo as DEFAULT_CHECK_IN_DAYS,
|
|
4981
4985
|
Hr as DEFAULT_FORECAST_WEEKS,
|
|
4982
4986
|
qa as DEFAULT_MEMORY_BUDGET,
|
|
4983
|
-
|
|
4987
|
+
xl as DEFAULT_NUMBER_PADDING,
|
|
4984
4988
|
Bi as DEFAULT_PHONE_REGION,
|
|
4985
|
-
|
|
4986
|
-
|
|
4989
|
+
vl as DEFAULT_QUOTE_TEMPLATE_BLOCKS,
|
|
4990
|
+
wl as DEFAULT_TEMPLATE_CONDITIONS,
|
|
4987
4991
|
ac as DEMAND_SOURCE_PROVIDER_GROUP,
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4992
|
+
Hu as DOCUMENT_APPLY_SERVICE,
|
|
4993
|
+
Bu as DOCUMENT_DESCRIBE_SERVICE,
|
|
4994
|
+
ju as DOCUMENT_INSPECT_SERVICE,
|
|
4991
4995
|
Xe as DOCUMENT_MAX_BLOCKS,
|
|
4992
4996
|
qs as DOCUMENT_MAX_BODY_BYTES,
|
|
4993
4997
|
Z as DOCUMENT_MAX_CELL_LEN,
|
|
@@ -5001,23 +5005,23 @@ export {
|
|
|
5001
5005
|
et as DOCUMENT_MAX_TOTALS_ROWS,
|
|
5002
5006
|
tn as DOCUMENT_OPERATIONS,
|
|
5003
5007
|
jo as DUTCH_SLOT_LABELS,
|
|
5004
|
-
|
|
5008
|
+
Oc as EMPTY_WORKFLOW,
|
|
5005
5009
|
Fo as ENABLED_TRANSACTION_KINDS,
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5010
|
+
xu as FEATURE_FOLDER_MANAGEMENT,
|
|
5011
|
+
Ru as FEATURE_MESSAGE_REACTIONS,
|
|
5012
|
+
Nu as FEATURE_REMOTE_SEARCH,
|
|
5009
5013
|
Re as FIXED_KINDS,
|
|
5010
5014
|
ie as FIXED_LEVELS,
|
|
5011
5015
|
Pe as FIXED_TYPES,
|
|
5012
5016
|
ga as FIXED_UNITS,
|
|
5013
5017
|
fr as FOLLOW_UP_HOURS,
|
|
5014
|
-
|
|
5018
|
+
El as FROZEN_WRITABLE_FIELDS,
|
|
5015
5019
|
er as HOUR_MS,
|
|
5016
5020
|
ms as HTML_BODY_RE,
|
|
5017
5021
|
L as INELIGIBLE,
|
|
5018
|
-
|
|
5022
|
+
Wu as INSTALLATION_HEADER,
|
|
5019
5023
|
so as INTERACTION_KIND,
|
|
5020
|
-
|
|
5024
|
+
Cu as InteractionParticipantRole,
|
|
5021
5025
|
Sr as KB_FALLBACK_LOCALE,
|
|
5022
5026
|
rt as KB_LOCALES,
|
|
5023
5027
|
rt as LOCALES,
|
|
@@ -5027,7 +5031,7 @@ export {
|
|
|
5027
5031
|
Bn as MAX_ASSIGNMENT_TURNS,
|
|
5028
5032
|
hs as MAX_BLOCKS,
|
|
5029
5033
|
Ut as MAX_COLLECTION_DEPTH,
|
|
5030
|
-
|
|
5034
|
+
dd as MAX_EDITABLE_FILE_BYTES,
|
|
5031
5035
|
gs as MAX_FIELDS,
|
|
5032
5036
|
ys as MAX_LIST_ITEMS,
|
|
5033
5037
|
Va as MAX_MEMORY_BROWSE,
|
|
@@ -5037,49 +5041,49 @@ export {
|
|
|
5037
5041
|
Lo as MAX_TOPIC_CANDIDATES,
|
|
5038
5042
|
$o as MAX_TOPIC_EXAMPLES,
|
|
5039
5043
|
me as MAX_TOPIC_EXAMPLE_CHARS,
|
|
5040
|
-
|
|
5044
|
+
pd as MAX_VIEWABLE_FILE_BYTES,
|
|
5041
5045
|
Xa as MIN_MEMORY_BUDGET,
|
|
5042
|
-
|
|
5043
|
-
|
|
5046
|
+
bd as NAV_NOTICE_SLOT,
|
|
5047
|
+
Kl as NL_PAYMENT_TERMS,
|
|
5044
5048
|
Za as NL_TAX_RATES,
|
|
5045
|
-
|
|
5049
|
+
zu as NOTIFICATION_SOURCE_PROVIDER_GROUP,
|
|
5046
5050
|
No as OFF_TRACK_GAP,
|
|
5047
5051
|
ec as ONBOARDING_SOURCE_PROVIDER_GROUP,
|
|
5048
5052
|
ve as PAUSE_HOLD,
|
|
5049
5053
|
ke as PAUSE_SNOOZED,
|
|
5050
5054
|
we as PAUSE_WAITING_FOR_CUSTOMER,
|
|
5051
|
-
|
|
5055
|
+
Dl as PAYMENT_TERM_METHODS,
|
|
5052
5056
|
Ue as PHONE_REGIONS,
|
|
5053
5057
|
nn as PRESENCE_ONLINE_WINDOW_MS,
|
|
5054
5058
|
Ei as PRESENCE_SURVIVES_OFFLINE,
|
|
5055
5059
|
Yo as PRODUCT_SCOPE_KIND,
|
|
5056
5060
|
nc as PROFILE_TOOL_DISPOSITIONS,
|
|
5057
|
-
|
|
5058
|
-
|
|
5061
|
+
Mu as PROVIDER_FEATURE_MESSAGE_TEMPLATES,
|
|
5062
|
+
vu as PROVIDER_FEATURE_MESSAGE_WINDOW,
|
|
5059
5063
|
Xi as PUBLIC_EMAIL_DOMAINS,
|
|
5060
5064
|
ot as READ_STEP_TYPES,
|
|
5061
5065
|
Ir as RELATED_SUBJECT_KINDS,
|
|
5062
5066
|
en as RESERVED_STATUS_KEYS,
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5067
|
+
Gl as RESERVED_TYPE_KEYS,
|
|
5068
|
+
rd as RESOURCE_ATTACHED_SERVICE,
|
|
5069
|
+
ed as RESOURCE_DESCRIBE_SERVICE,
|
|
5070
|
+
nd as RESOURCE_RESOLVE_SERVICE,
|
|
5071
|
+
td as RESOURCE_SEARCH_SERVICE,
|
|
5068
5072
|
Yr as SCHEDULE_ENTRY_SCOPE_KIND,
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5073
|
+
sd as SCOPE_READ_ROUTE,
|
|
5074
|
+
id as SCOPE_RELATED_ROUTE,
|
|
5075
|
+
yd as SETTINGS_CATEGORIES,
|
|
5072
5076
|
ya as SIGNATURE_INTENTS,
|
|
5073
5077
|
pr as SLA_HOURS_BY_PRIORITY,
|
|
5074
|
-
|
|
5075
|
-
|
|
5078
|
+
jc as SLA_METRICS,
|
|
5079
|
+
Hc as SLA_PAUSE_REASONS,
|
|
5076
5080
|
lo as STEP_MAX_TOKENS_MAX,
|
|
5077
5081
|
co as STEP_MAX_TOKENS_MIN,
|
|
5078
5082
|
wo as STRATEGY_ITEM_SCOPE_KIND,
|
|
5079
5083
|
ir as SUMMARY_MIN_LAST_CHARS,
|
|
5080
5084
|
or as SUMMARY_MIN_MESSAGES,
|
|
5081
|
-
|
|
5082
|
-
|
|
5085
|
+
md as SYNC_RUN_MAX_ERRORS,
|
|
5086
|
+
fd as SYNC_TARGET_PROVIDER_GROUP,
|
|
5083
5087
|
Un as TERMINAL_ASSIGNMENT_STATUSES,
|
|
5084
5088
|
mo as TERMINAL_RUN_STATUSES,
|
|
5085
5089
|
Le as TRANSACTION_KINDS,
|
|
@@ -5087,22 +5091,22 @@ export {
|
|
|
5087
5091
|
wc as TRIGGER_VARS,
|
|
5088
5092
|
vr as UNKNOWN_KIND,
|
|
5089
5093
|
vo as UNKNOWN_LEVEL_ORDER,
|
|
5090
|
-
|
|
5094
|
+
Du as UNSUPPORTED,
|
|
5091
5095
|
kn as USAGE_DIMENSIONS,
|
|
5092
5096
|
wn as USAGE_DIMENSION_IDS,
|
|
5093
5097
|
qr as WORKSTREAM_SCOPE_KIND,
|
|
5094
5098
|
ei as WORK_ACTIVITY_SCOPE_KIND,
|
|
5095
5099
|
tc as WORK_AREAS,
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5100
|
+
Fl as WORK_COMMENT_ADDED,
|
|
5101
|
+
Yl as WORK_CYCLE_SYNC_KIND,
|
|
5102
|
+
Bl as WORK_ITEM_ASSIGNED,
|
|
5099
5103
|
Zo as WORK_ITEM_SCOPE_KIND,
|
|
5100
|
-
|
|
5104
|
+
jl as WORK_ITEM_STATUS_CHANGED,
|
|
5101
5105
|
Jo as WORK_PROJECT_SCOPE_KIND,
|
|
5102
5106
|
te as W_PRIORITY,
|
|
5103
|
-
|
|
5107
|
+
bl as acceptExampleCandidate,
|
|
5104
5108
|
eo as actingIdentityKey,
|
|
5105
|
-
|
|
5109
|
+
gl as activeWorkTypes,
|
|
5106
5110
|
As as activityIconOf,
|
|
5107
5111
|
Os as activityJoinUrl,
|
|
5108
5112
|
hn as activitySnippet,
|
|
@@ -5111,11 +5115,11 @@ export {
|
|
|
5111
5115
|
An as activityTimestamp,
|
|
5112
5116
|
k as activityTypeInfo,
|
|
5113
5117
|
_c as actorKey,
|
|
5114
|
-
|
|
5118
|
+
yl as addExampleCandidate,
|
|
5115
5119
|
De as addWorkingMs,
|
|
5116
|
-
|
|
5120
|
+
Qu as agePresenceEntry,
|
|
5117
5121
|
ci as aiAttachmentKind,
|
|
5118
|
-
|
|
5122
|
+
du as aiAttachmentRejection,
|
|
5119
5123
|
ze as aiBudgetLimit,
|
|
5120
5124
|
js as aiBudgetPeriodKey,
|
|
5121
5125
|
Sn as aiBudgetPeriodStart,
|
|
@@ -5127,7 +5131,7 @@ export {
|
|
|
5127
5131
|
Ks as aiVendorsWith,
|
|
5128
5132
|
Gn as allocate,
|
|
5129
5133
|
sn as appNameFromPath,
|
|
5130
|
-
|
|
5134
|
+
dl as applyRounding,
|
|
5131
5135
|
ba as applySignature,
|
|
5132
5136
|
uo as approvalRate,
|
|
5133
5137
|
Zs as artifactBodyBytes,
|
|
@@ -5140,28 +5144,28 @@ export {
|
|
|
5140
5144
|
rc as belongsOnCalendar,
|
|
5141
5145
|
da as belongsToEntity,
|
|
5142
5146
|
xs as buildActivityPreview,
|
|
5143
|
-
|
|
5147
|
+
Eu as buildChannelIntents,
|
|
5144
5148
|
ea as buildShareKeys,
|
|
5145
5149
|
Ui as buildWindow,
|
|
5146
5150
|
Jn as businessEntitySender,
|
|
5147
5151
|
Cr as calendarDaysBetween,
|
|
5148
5152
|
$e as calendarOf,
|
|
5149
5153
|
Fa as canNestUnder,
|
|
5150
|
-
|
|
5154
|
+
Zc as canParent,
|
|
5151
5155
|
oc as capacityTotal,
|
|
5152
5156
|
hc as capacityWeights,
|
|
5153
5157
|
ks as carriesText,
|
|
5154
5158
|
ja as categoryLabel,
|
|
5155
5159
|
ri as categoryOf,
|
|
5156
|
-
|
|
5160
|
+
wu as channelKindForScheme,
|
|
5157
5161
|
Ss as channelKindOf,
|
|
5158
|
-
|
|
5159
|
-
|
|
5162
|
+
cl as checkInOverdueMs,
|
|
5163
|
+
Cc as clampStepMaxTokens,
|
|
5160
5164
|
Ma as classifyMail,
|
|
5161
|
-
|
|
5162
|
-
|
|
5165
|
+
vd as cleanMessageMarkdown,
|
|
5166
|
+
wd as cleanMessageText,
|
|
5163
5167
|
pa as codeQuery,
|
|
5164
|
-
|
|
5168
|
+
yu as compareAssistRank,
|
|
5165
5169
|
Do as compareWorkTypes,
|
|
5166
5170
|
Zn as conditionHolds,
|
|
5167
5171
|
Bo as copyFrom,
|
|
@@ -5169,174 +5173,174 @@ export {
|
|
|
5169
5173
|
ic as coverageByPerson,
|
|
5170
5174
|
lc as coverageFor,
|
|
5171
5175
|
Bt as coversWorkstream,
|
|
5172
|
-
|
|
5176
|
+
Rl as currentPeriod,
|
|
5173
5177
|
jt as cycleDayIndex,
|
|
5174
|
-
|
|
5175
|
-
|
|
5178
|
+
au as cycleOrder,
|
|
5179
|
+
cu as cycleState,
|
|
5176
5180
|
la as decideAssignmentState,
|
|
5177
|
-
|
|
5178
|
-
|
|
5181
|
+
gd as decideCadence,
|
|
5182
|
+
Au as decideIncomingCall,
|
|
5179
5183
|
Er as defaultLocaleOf,
|
|
5180
|
-
|
|
5184
|
+
ru as defaultStatusKey,
|
|
5181
5185
|
Vo as defaultTemplateBlocks,
|
|
5182
|
-
|
|
5186
|
+
Ou as defineIntent,
|
|
5183
5187
|
_r as depthOf,
|
|
5184
|
-
|
|
5188
|
+
qu as derivePresence,
|
|
5185
5189
|
zs as describeClause,
|
|
5186
|
-
|
|
5190
|
+
Su as disabledIntentsFromCapabilities,
|
|
5187
5191
|
Zs as documentBodyBytes,
|
|
5188
|
-
|
|
5192
|
+
Gu as documentKindOf,
|
|
5189
5193
|
Js as documentOutline,
|
|
5190
5194
|
Kn as documentToMarkdown,
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
|
|
5195
|
+
Fu as documentToText,
|
|
5196
|
+
Vc as dueAtOf,
|
|
5197
|
+
$l as dueDateFrom,
|
|
5198
|
+
ul as elapsedSeconds,
|
|
5199
|
+
Sd as emailDomain,
|
|
5200
|
+
Id as endpointKey,
|
|
5197
5201
|
Rr as erlangC,
|
|
5198
5202
|
ki as extractParams,
|
|
5199
5203
|
Pi as extractTerms,
|
|
5200
5204
|
Ea as fillDocument,
|
|
5201
5205
|
Qn as fillText,
|
|
5202
|
-
|
|
5203
|
-
|
|
5206
|
+
Iu as filterByEndpoint,
|
|
5207
|
+
Tu as filterByIntent,
|
|
5204
5208
|
mi as filterByTargetScheme,
|
|
5205
5209
|
Vs as filterableDimensions,
|
|
5206
5210
|
oe as findAiVendor,
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
+
el as fixedLevelForName,
|
|
5212
|
+
zl as fixedTypeForName,
|
|
5213
|
+
Xl as fixedTypes,
|
|
5214
|
+
Vu as flattenLocales,
|
|
5211
5215
|
W as floorToPeriod,
|
|
5212
5216
|
pc as forecastIntervals,
|
|
5213
5217
|
Jr as formatActingIdentity,
|
|
5214
5218
|
D as formatCents,
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5219
|
+
fl as formatClock,
|
|
5220
|
+
pl as formatHm,
|
|
5221
|
+
Ql as formatItemKey,
|
|
5218
5222
|
G as formatPeriod,
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5223
|
+
Nl as formatSeriesNumber,
|
|
5224
|
+
Yc as formatSlaDuration,
|
|
5225
|
+
fu as freshSources,
|
|
5222
5226
|
Rs as getActivitySeenUserIds,
|
|
5223
5227
|
_a as getContactEndpoints,
|
|
5224
5228
|
$a as getShortTitle,
|
|
5225
5229
|
Da as getUrgencyScore,
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5230
|
+
Uc as hasReacted,
|
|
5231
|
+
tl as healthCategory,
|
|
5232
|
+
nl as healthsInCategory,
|
|
5229
5233
|
Ft as heightOf,
|
|
5230
5234
|
Pa as helpCenterText,
|
|
5231
5235
|
Ic as humanizeAction,
|
|
5232
5236
|
ao as interactionIdOf,
|
|
5233
|
-
|
|
5237
|
+
Ul as isAgentUser,
|
|
5234
5238
|
Na as isAssigned,
|
|
5235
5239
|
oa as isAssignmentTerminal,
|
|
5236
5240
|
ro as isAssignmentTrigger,
|
|
5237
|
-
|
|
5241
|
+
Rc as isAutoReady,
|
|
5238
5242
|
br as isAwaitingThem,
|
|
5239
5243
|
$s as isChatMessageActivity,
|
|
5240
5244
|
Ra as isClosed,
|
|
5241
5245
|
vs as isConnectedType,
|
|
5242
|
-
|
|
5246
|
+
ad as isDeepLink,
|
|
5243
5247
|
Ar as isDescendant,
|
|
5244
5248
|
Ia as isEligible,
|
|
5245
5249
|
Ds as isEmailActivity,
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
+
Sl as isFrozen,
|
|
5251
|
+
Wc as isHeldClock,
|
|
5252
|
+
kd as isHtmlBody,
|
|
5253
|
+
$c as isInFlight,
|
|
5250
5254
|
lr as isInteractionUnseen,
|
|
5251
|
-
|
|
5255
|
+
cd as isLandingPath,
|
|
5252
5256
|
rr as isLikelyBulk,
|
|
5253
5257
|
vt as isMessageShape,
|
|
5254
5258
|
Es as isMessageType,
|
|
5255
5259
|
vi as isMoreSpecificPattern,
|
|
5256
5260
|
Mt as isNoteShape,
|
|
5257
5261
|
ko as isOpenClock,
|
|
5258
|
-
|
|
5262
|
+
pu as isOutwardTool,
|
|
5259
5263
|
hr as isParked,
|
|
5260
5264
|
ho as isPaused,
|
|
5261
5265
|
ws as isPlaybookAuthoredType,
|
|
5262
|
-
|
|
5263
|
-
|
|
5266
|
+
Ed as isPublicEmailDomain,
|
|
5267
|
+
ud as isPublicPath,
|
|
5264
5268
|
gr as isReminderActive,
|
|
5265
5269
|
Is as isReplyableType,
|
|
5266
5270
|
Oa as isSlaAtRisk,
|
|
5267
|
-
|
|
5271
|
+
Dc as isTerminal,
|
|
5268
5272
|
wa as isThreadLongEnough,
|
|
5269
5273
|
Ms as isTranscriptType,
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5274
|
+
ou as isWorkClosed,
|
|
5275
|
+
hl as isWorkTypeVisible,
|
|
5276
|
+
eu as itemDossierKeys,
|
|
5273
5277
|
N as kindFor,
|
|
5274
5278
|
ni as ladderFor,
|
|
5275
5279
|
Co as levelIn,
|
|
5276
5280
|
Ce as levelOrder,
|
|
5277
5281
|
wr as lineNet,
|
|
5278
5282
|
La as linkLabel,
|
|
5279
|
-
|
|
5283
|
+
Al as listedTransactionKinds,
|
|
5280
5284
|
Hs as listeningAllowed,
|
|
5281
5285
|
Ua as localeInstruction,
|
|
5282
5286
|
Ka as localeName,
|
|
5283
5287
|
Ba as localesOf,
|
|
5284
|
-
|
|
5288
|
+
_d as looksLikeEmail,
|
|
5285
5289
|
Dt as lookup,
|
|
5286
5290
|
ma as marginCents,
|
|
5287
|
-
|
|
5288
|
-
|
|
5291
|
+
Uu as markdownToDocument,
|
|
5292
|
+
ku as matchContactToIntents,
|
|
5289
5293
|
Mi as matchPublicRoute,
|
|
5290
5294
|
Ga as mcpCredentialScope,
|
|
5291
5295
|
Wa as mcpToolPrefix,
|
|
5292
|
-
|
|
5293
|
-
|
|
5296
|
+
rl as measureRatio,
|
|
5297
|
+
hd as mergeShownKeys,
|
|
5294
5298
|
mn as messageCountsAs,
|
|
5295
5299
|
Xs as metricOption,
|
|
5296
5300
|
Ht as minutesOn,
|
|
5297
|
-
|
|
5301
|
+
Td as needsPhoneRegion,
|
|
5298
5302
|
Ts as nestsUnderParent,
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5303
|
+
Jc as nextLevelBelow,
|
|
5304
|
+
zc as nextSlaClock,
|
|
5305
|
+
Tl as nextVersion,
|
|
5302
5306
|
Qs as normalizeArtifactBlocks,
|
|
5303
5307
|
_s as normalizeBlocks,
|
|
5304
5308
|
Qs as normalizeDocumentBlocks,
|
|
5305
5309
|
an as normalizeEmail,
|
|
5306
5310
|
P as normalizeExample,
|
|
5307
5311
|
jn as normalizeGtin,
|
|
5308
|
-
|
|
5312
|
+
Xu as notificationPrefKey,
|
|
5309
5313
|
Ki as novelty,
|
|
5310
|
-
|
|
5311
|
-
|
|
5314
|
+
Ku as operationDescriptor,
|
|
5315
|
+
Pu as operationsForKind,
|
|
5312
5316
|
Ta as organizationSender,
|
|
5313
5317
|
pe as overlapSeconds,
|
|
5314
5318
|
cc as overlaps,
|
|
5315
|
-
|
|
5319
|
+
ol as paceRatio,
|
|
5316
5320
|
ka as parkMarksById,
|
|
5317
5321
|
yc as parseActingIdentity,
|
|
5318
5322
|
fa as parseAmount,
|
|
5319
|
-
|
|
5320
|
-
|
|
5323
|
+
Fc as parseClockMinutes,
|
|
5324
|
+
Zl as parseItemKey,
|
|
5321
5325
|
Ii as pathToRegex,
|
|
5322
5326
|
Wt as patternFor,
|
|
5323
5327
|
Gt as patternStartTime,
|
|
5324
|
-
|
|
5328
|
+
Bc as pauseBitFor,
|
|
5325
5329
|
Ws as periodsInRange,
|
|
5326
|
-
|
|
5330
|
+
Ad as phoneSuffix,
|
|
5327
5331
|
va as pickMailHeaders,
|
|
5328
5332
|
Sa as pickTemplate,
|
|
5329
5333
|
gc as placeLumps,
|
|
5330
5334
|
pn as plainTextFromMarkdown,
|
|
5331
|
-
|
|
5335
|
+
Gc as planSlaEvent,
|
|
5332
5336
|
uc as plannedBillable,
|
|
5333
5337
|
Br as plannedWorkTypeKey,
|
|
5334
5338
|
no as playbookActor,
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5339
|
+
Nc as procedureOf,
|
|
5340
|
+
Ml as productScopeKey,
|
|
5341
|
+
tu as projectDossierKeys,
|
|
5338
5342
|
wi as publicBasePathFor,
|
|
5339
|
-
|
|
5343
|
+
ld as publicRoutePatterns,
|
|
5340
5344
|
aa as reactionWakesAssignment,
|
|
5341
5345
|
ye as readPath,
|
|
5342
5346
|
de as readStepError,
|
|
@@ -5354,82 +5358,83 @@ export {
|
|
|
5354
5358
|
di as resolveChannelIntents,
|
|
5355
5359
|
ha as resolvePrice,
|
|
5356
5360
|
Xn as resolveSignature,
|
|
5357
|
-
|
|
5358
|
-
|
|
5359
|
-
|
|
5361
|
+
Zu as resolveWorkMode,
|
|
5362
|
+
od as resourceKindOf,
|
|
5363
|
+
al as rollupChildren,
|
|
5360
5364
|
V as roundHalfUp,
|
|
5361
5365
|
bc as runActor,
|
|
5362
|
-
|
|
5366
|
+
Pc as runInteractionId,
|
|
5363
5367
|
Dn as sanitizeInline,
|
|
5364
5368
|
Oi as sanitizeTranscript,
|
|
5365
5369
|
fc as scheduleEntryScopeKey,
|
|
5366
5370
|
xa as scoreInteraction,
|
|
5367
|
-
|
|
5371
|
+
Hl as scoreWorkItem,
|
|
5368
5372
|
Ha as selectLenses,
|
|
5369
5373
|
Dr as serviceLevel,
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
|
|
5374
|
+
_u as sessionsHoldCannotReach,
|
|
5375
|
+
bu as sessionsToHold,
|
|
5376
|
+
Ll as shadowTermsByCode,
|
|
5373
5377
|
Rt as shareKeyForTeam,
|
|
5374
5378
|
Nt as shareKeyForUser,
|
|
5375
5379
|
ta as shareKeysForViewer,
|
|
5376
5380
|
dc as shortfalls,
|
|
5377
|
-
|
|
5378
|
-
|
|
5381
|
+
Ju as shouldRunAudioPipeline,
|
|
5382
|
+
Xc as slaBadgeTone,
|
|
5379
5383
|
Ca as slaHoursByInbox,
|
|
5380
5384
|
yr as slaHoursFor,
|
|
5381
5385
|
oi as sortStatuses,
|
|
5382
5386
|
ui as sourceKey,
|
|
5383
5387
|
Zr as spreadOverWeights,
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
+
nu as statusIn,
|
|
5389
|
+
xc as stepsOf,
|
|
5390
|
+
Qc as strategyAncestorKeysFor,
|
|
5391
|
+
qc as strategyDossierKeys,
|
|
5388
5392
|
Zt as strategyItemScopeKey,
|
|
5389
5393
|
fn as stripHtml,
|
|
5390
|
-
|
|
5394
|
+
Lc as subjectKeyOf,
|
|
5391
5395
|
Vt as subjectOf,
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
+
gu as subjectRef,
|
|
5397
|
+
Jl as suggestProjectKey,
|
|
5398
|
+
il as suggestedHealth,
|
|
5399
|
+
Kc as summarizeReactions,
|
|
5396
5400
|
Ec as targetById,
|
|
5397
5401
|
Sc as targetForActivityType,
|
|
5398
|
-
|
|
5402
|
+
ll as targetOrder,
|
|
5399
5403
|
kr as taxRateFor,
|
|
5400
5404
|
Or as termsFor,
|
|
5401
5405
|
to as toActingIdentity,
|
|
5402
5406
|
At as toE164,
|
|
5403
|
-
|
|
5407
|
+
Pl as toTransactionTerm,
|
|
5404
5408
|
oo as toolBareName,
|
|
5405
5409
|
kc as toolDisplayName,
|
|
5406
5410
|
ne as toolName,
|
|
5407
5411
|
na as toolSourceKinds,
|
|
5408
5412
|
Uo as topicOfferedForTeam,
|
|
5409
|
-
|
|
5413
|
+
_l as topicsForTeam,
|
|
5410
5414
|
$r as trafficIntensity,
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5415
|
+
Il as transactionContext,
|
|
5416
|
+
Ol as transactionDossierKeys,
|
|
5417
|
+
Cl as transactionIdFromScope,
|
|
5414
5418
|
F as transactionKind,
|
|
5415
5419
|
qo as transactionScopeKey,
|
|
5416
|
-
|
|
5420
|
+
kl as transactionSlots,
|
|
5417
5421
|
Ja as transactionTotals,
|
|
5422
|
+
vc as triggerFillsVar,
|
|
5418
5423
|
Po as truncateExample,
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5424
|
+
Vl as typeIn,
|
|
5425
|
+
Wl as typesFor,
|
|
5426
|
+
iu as uniqueWorkStatusKey,
|
|
5427
|
+
ml as uniqueWorkTypeKey,
|
|
5423
5428
|
vn as usageMetricId,
|
|
5424
5429
|
Ys as usageMetrics,
|
|
5425
|
-
|
|
5430
|
+
su as validateStatuses,
|
|
5426
5431
|
Ac as valueAtPath,
|
|
5427
5432
|
Ne as waitHoursOf,
|
|
5428
5433
|
sa as wakesAssignment,
|
|
5429
|
-
|
|
5434
|
+
ql as workActivityScopeKey,
|
|
5430
5435
|
ti as workItemScopeKey,
|
|
5431
5436
|
Jt as workProjectScopeKey,
|
|
5432
|
-
|
|
5437
|
+
sl as workRatio,
|
|
5433
5438
|
ii as workStatusKey,
|
|
5434
5439
|
Ro as workTypeKey,
|
|
5435
5440
|
Ie as workingMsBetween,
|