@opencxh/domain 1.229.0 → 1.231.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/work/keys.d.ts +9 -0
- package/dist/entities/work/types.d.ts +50 -3
- package/dist/index.cjs +10 -10
- package/dist/index.js +152 -147
- package/dist/platform/connector.d.ts +140 -1
- package/dist/platform/sync.d.ts +17 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1954,21 +1954,21 @@ function Da(e, t) {
|
|
|
1954
1954
|
}
|
|
1955
1955
|
return e.source?.initiator === "system" && e.source.systemReason && (r += 15, i.push(`auto:${e.source.systemReason}`)), { score: r, reasons: i };
|
|
1956
1956
|
}
|
|
1957
|
-
const er = "work_item", tr = "work_project", nr = "work_activity";
|
|
1957
|
+
const er = "work_item", tr = "work_project", nr = "work_activity", $a = "work_cycle";
|
|
1958
1958
|
function rr(e) {
|
|
1959
1959
|
return `${er}:${e}`;
|
|
1960
1960
|
}
|
|
1961
1961
|
function at(e) {
|
|
1962
1962
|
return `${tr}:${e}`;
|
|
1963
1963
|
}
|
|
1964
|
-
function
|
|
1964
|
+
function La(e) {
|
|
1965
1965
|
return `${nr}:${e}`;
|
|
1966
1966
|
}
|
|
1967
|
-
function
|
|
1967
|
+
function Pa(e, t, n) {
|
|
1968
1968
|
const r = `${e}-${t}`;
|
|
1969
1969
|
return n ? `${r}-${n}` : r;
|
|
1970
1970
|
}
|
|
1971
|
-
function
|
|
1971
|
+
function Ua(e) {
|
|
1972
1972
|
const t = /^([A-Za-z0-9]{2,8})-(\d+)(?:-(\d+))?$/.exec((e || "").trim());
|
|
1973
1973
|
return t ? {
|
|
1974
1974
|
projectKey: t[1].toUpperCase(),
|
|
@@ -1976,17 +1976,17 @@ function Pa(e) {
|
|
|
1976
1976
|
...t[3] ? { subSequence: Number(t[3]) } : {}
|
|
1977
1977
|
} : null;
|
|
1978
1978
|
}
|
|
1979
|
-
function
|
|
1979
|
+
function Ka(e) {
|
|
1980
1980
|
return (e || "").normalize("NFD").replace(/[\u0300-\u036f]/g, "").toUpperCase().replace(/[^A-Z0-9]/g, "").slice(0, 3) || "PRJ";
|
|
1981
1981
|
}
|
|
1982
|
-
function
|
|
1982
|
+
function Ba(e, t = 25) {
|
|
1983
1983
|
const n = /* @__PURE__ */ new Set([rr(e.id)]);
|
|
1984
1984
|
e.projectId && n.add(at(e.projectId));
|
|
1985
1985
|
for (const r of e.ancestorKeys ?? []) n.add(r);
|
|
1986
1986
|
for (const r of e.partyKeys ?? []) n.add(r);
|
|
1987
1987
|
return Array.from(n).slice(0, t);
|
|
1988
1988
|
}
|
|
1989
|
-
function
|
|
1989
|
+
function ja(e) {
|
|
1990
1990
|
return [at(e.id)];
|
|
1991
1991
|
}
|
|
1992
1992
|
const ie = [
|
|
@@ -2001,10 +2001,10 @@ function ir(e) {
|
|
|
2001
2001
|
function or(e, t) {
|
|
2002
2002
|
return t.find((n) => n.key === e)?.category ?? "todo";
|
|
2003
2003
|
}
|
|
2004
|
-
function
|
|
2004
|
+
function Ha(e, t) {
|
|
2005
2005
|
return t.find((n) => n.key === e);
|
|
2006
2006
|
}
|
|
2007
|
-
function
|
|
2007
|
+
function Fa(e) {
|
|
2008
2008
|
const t = ir(e), n = e?.defaultStatusKey;
|
|
2009
2009
|
return n && t.some((r) => r.key === n) ? n : ar(t)[0]?.key ?? ie[0].key;
|
|
2010
2010
|
}
|
|
@@ -2014,13 +2014,13 @@ function ar(e) {
|
|
|
2014
2014
|
return r !== 0 ? r : (t.label || "").localeCompare(n.label || "");
|
|
2015
2015
|
});
|
|
2016
2016
|
}
|
|
2017
|
-
function
|
|
2017
|
+
function Ga(e, t) {
|
|
2018
2018
|
return or(e, t) === "done";
|
|
2019
2019
|
}
|
|
2020
2020
|
function sr(e) {
|
|
2021
2021
|
return (e || "").normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().replace(/[^a-z0-9]+/g, "-").slice(0, 48).replace(/^-+|-+$/g, "");
|
|
2022
2022
|
}
|
|
2023
|
-
function
|
|
2023
|
+
function Wa(e, t) {
|
|
2024
2024
|
const n = sr(e) || "status", r = /* @__PURE__ */ new Set([...t, ...st]);
|
|
2025
2025
|
if (!r.has(n)) return n;
|
|
2026
2026
|
for (let i = 2; i < 500; i++) {
|
|
@@ -2029,7 +2029,7 @@ function Ga(e, t) {
|
|
|
2029
2029
|
}
|
|
2030
2030
|
return `${n}-${r.size + 1}`;
|
|
2031
2031
|
}
|
|
2032
|
-
function
|
|
2032
|
+
function Va(e) {
|
|
2033
2033
|
const t = [];
|
|
2034
2034
|
if (!e.length) return [{ index: -1, reason: "empty" }];
|
|
2035
2035
|
const n = /* @__PURE__ */ new Set();
|
|
@@ -2041,7 +2041,10 @@ function Wa(e) {
|
|
|
2041
2041
|
st.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);
|
|
2042
2042
|
}), 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;
|
|
2043
2043
|
}
|
|
2044
|
-
function
|
|
2044
|
+
function za(e) {
|
|
2045
|
+
return e.startDate ?? Number.MAX_SAFE_INTEGER;
|
|
2046
|
+
}
|
|
2047
|
+
function Xa(e) {
|
|
2045
2048
|
return e.completedAt ? "completed" : e.startedAt ? "active" : "planned";
|
|
2046
2049
|
}
|
|
2047
2050
|
const cr = /* @__PURE__ */ new Set(["image/png", "image/jpeg", "image/jpg", "image/gif", "image/webp"]), lr = /* @__PURE__ */ new Set([
|
|
@@ -2062,18 +2065,18 @@ const O = 1024 * 1024, dr = {
|
|
|
2062
2065
|
pdf: 20 * O,
|
|
2063
2066
|
text: 1 * O,
|
|
2064
2067
|
audio: 20 * O
|
|
2065
|
-
},
|
|
2066
|
-
function
|
|
2068
|
+
}, Ya = 25 * O, qa = 5;
|
|
2069
|
+
function Ja(e, t) {
|
|
2067
2070
|
const n = ur(e);
|
|
2068
2071
|
return n === "unsupported" ? "unsupported" : t > dr[n] ? "too-large" : null;
|
|
2069
2072
|
}
|
|
2070
|
-
function
|
|
2073
|
+
function Za(e) {
|
|
2071
2074
|
return e.access !== "read" && e.effect !== "internal";
|
|
2072
2075
|
}
|
|
2073
2076
|
function pr(e) {
|
|
2074
2077
|
return `${e.kind}:${e.id || e.url || e.title}`;
|
|
2075
2078
|
}
|
|
2076
|
-
function
|
|
2079
|
+
function Qa(e, t = []) {
|
|
2077
2080
|
const n = new Set(t), r = [], i = [];
|
|
2078
2081
|
for (const o of e) {
|
|
2079
2082
|
const a = pr(o);
|
|
@@ -2081,26 +2084,26 @@ function Ja(e, t = []) {
|
|
|
2081
2084
|
}
|
|
2082
2085
|
return { sources: r, keys: i };
|
|
2083
2086
|
}
|
|
2084
|
-
const
|
|
2085
|
-
function
|
|
2087
|
+
const es = "assist-source", ts = ["blocking", "due", "open"];
|
|
2088
|
+
function ns(e, t) {
|
|
2086
2089
|
const [n, r] = (e.subjectKey ?? "").split(":");
|
|
2087
2090
|
return n === t && r ? r : void 0;
|
|
2088
2091
|
}
|
|
2089
2092
|
const Ce = { blocking: 0, due: 1, open: 2 };
|
|
2090
|
-
function
|
|
2093
|
+
function rs(e, t) {
|
|
2091
2094
|
return Ce[e.band ?? "open"] - Ce[t.band ?? "open"] || (t.priority ?? 0) - (e.priority ?? 0) || e.id.localeCompare(t.id);
|
|
2092
2095
|
}
|
|
2093
|
-
function
|
|
2096
|
+
function is(e) {
|
|
2094
2097
|
return e.sessions.filter(
|
|
2095
2098
|
(t) => t.id !== e.exceptSessionId && t.state === "connected" && e.canHold(t.providerId)
|
|
2096
2099
|
);
|
|
2097
2100
|
}
|
|
2098
|
-
function
|
|
2101
|
+
function os(e) {
|
|
2099
2102
|
return e.sessions.filter(
|
|
2100
2103
|
(t) => t.id !== e.exceptSessionId && t.state === "connected" && !e.canHold(t.providerId)
|
|
2101
2104
|
);
|
|
2102
2105
|
}
|
|
2103
|
-
function
|
|
2106
|
+
function as(e) {
|
|
2104
2107
|
return e.sessions.some(
|
|
2105
2108
|
(n) => n.id !== e.exceptSessionId && (n.state === "connected" || n.state === "on_hold")
|
|
2106
2109
|
) ? { admit: !1, reason: "busy" } : { admit: !0 };
|
|
@@ -2122,7 +2125,7 @@ function mr(e, t) {
|
|
|
2122
2125
|
}
|
|
2123
2126
|
return n;
|
|
2124
2127
|
}
|
|
2125
|
-
function
|
|
2128
|
+
function ss(e, t) {
|
|
2126
2129
|
const n = mr(e, t);
|
|
2127
2130
|
return Object.entries(n).filter(([, r]) => !r).map(([r]) => r);
|
|
2128
2131
|
}
|
|
@@ -2133,7 +2136,7 @@ function gr(e, t) {
|
|
|
2133
2136
|
transport: t.transport ?? e.transport
|
|
2134
2137
|
} : e;
|
|
2135
2138
|
}
|
|
2136
|
-
function
|
|
2139
|
+
function cs(e, t) {
|
|
2137
2140
|
const n = [];
|
|
2138
2141
|
for (const r of e) {
|
|
2139
2142
|
if (!r.enabled) continue;
|
|
@@ -2144,16 +2147,16 @@ function as(e, t) {
|
|
|
2144
2147
|
}
|
|
2145
2148
|
return n;
|
|
2146
2149
|
}
|
|
2147
|
-
function
|
|
2150
|
+
function ls(e, t) {
|
|
2148
2151
|
return t.filter((n) => n.capability.intent === e);
|
|
2149
2152
|
}
|
|
2150
2153
|
function hr(e, t) {
|
|
2151
2154
|
return t.filter((n) => n.capability.targetSchemes.includes(e));
|
|
2152
2155
|
}
|
|
2153
|
-
function
|
|
2156
|
+
function us(e, t) {
|
|
2154
2157
|
return hr(e.scheme, t);
|
|
2155
2158
|
}
|
|
2156
|
-
function
|
|
2159
|
+
function ds(e, t, n) {
|
|
2157
2160
|
const r = [];
|
|
2158
2161
|
for (const i of e)
|
|
2159
2162
|
for (const o of n)
|
|
@@ -2182,10 +2185,10 @@ const br = {
|
|
|
2182
2185
|
id: "note",
|
|
2183
2186
|
custom: "note"
|
|
2184
2187
|
};
|
|
2185
|
-
function
|
|
2188
|
+
function ps(e) {
|
|
2186
2189
|
return e ? br[e] ?? "note" : "note";
|
|
2187
2190
|
}
|
|
2188
|
-
const
|
|
2191
|
+
const fs = "message_window", ms = "message_templates", gs = {
|
|
2189
2192
|
// E-mail
|
|
2190
2193
|
FROM: "from",
|
|
2191
2194
|
TO: "to",
|
|
@@ -2202,11 +2205,11 @@ const ds = "message_window", ps = "message_templates", fs = {
|
|
|
2202
2205
|
// Voice/conference
|
|
2203
2206
|
HOST: "host",
|
|
2204
2207
|
PARTICIPANT: "participant"
|
|
2205
|
-
},
|
|
2208
|
+
}, hs = (e, t) => ({ intent: e, ...t }), ys = "folder_management", bs = "remote_search", As = "message_reactions", Es = {
|
|
2206
2209
|
ok: !1,
|
|
2207
2210
|
code: "UNSUPPORTED",
|
|
2208
2211
|
message: "Provider does not support this op"
|
|
2209
|
-
},
|
|
2212
|
+
}, Ss = "connector", _s = "context.collect", d = (e) => ({ type: "string", description: e }), u = (e) => ({ type: "number", description: e }), $ = (e) => ({ type: "boolean", description: e }), E = d("Sheet name. Omit for the sheet the user is looking at."), ke = d("Slide id, as `inspect` reports it.");
|
|
2210
2213
|
function l(e, t, n, r, i, o) {
|
|
2211
2214
|
return {
|
|
2212
2215
|
op: e,
|
|
@@ -2560,28 +2563,28 @@ const C = { undoable: !1, visible: !0 }, g = { undoable: !0, visible: !0 }, ve =
|
|
|
2560
2563
|
...Sr,
|
|
2561
2564
|
..._r
|
|
2562
2565
|
];
|
|
2563
|
-
function
|
|
2566
|
+
function Ts(e) {
|
|
2564
2567
|
return ct.filter((t) => t.kinds.includes(e));
|
|
2565
2568
|
}
|
|
2566
|
-
function
|
|
2569
|
+
function ws(e) {
|
|
2567
2570
|
return ct.find((t) => t.op === e);
|
|
2568
2571
|
}
|
|
2569
|
-
const
|
|
2570
|
-
function
|
|
2572
|
+
const Is = "documents.describe", Ms = "documents.inspect", Os = "documents.apply";
|
|
2573
|
+
function Cs(e) {
|
|
2571
2574
|
const t = e.indexOf(":");
|
|
2572
2575
|
if (t !== -1) return e.slice(0, t);
|
|
2573
2576
|
const n = e.indexOf(".");
|
|
2574
2577
|
return n === -1 ? e : e.slice(0, n);
|
|
2575
2578
|
}
|
|
2576
|
-
const
|
|
2577
|
-
function
|
|
2579
|
+
const ks = "installation-id";
|
|
2580
|
+
function vs(e) {
|
|
2578
2581
|
const t = [];
|
|
2579
2582
|
for (const n of Object.keys(e))
|
|
2580
2583
|
for (const r of Object.keys(e[n]))
|
|
2581
2584
|
t.push({ lang: n, key: r, value: e[n][r] });
|
|
2582
2585
|
return t;
|
|
2583
2586
|
}
|
|
2584
|
-
const
|
|
2587
|
+
const xs = "notification-source", Ns = (e, t) => `${e}.pref.${t}`, Rs = {
|
|
2585
2588
|
ai: [
|
|
2586
2589
|
"account.read",
|
|
2587
2590
|
"account.write",
|
|
@@ -2717,37 +2720,37 @@ const ks = "notification-source", vs = (e, t) => `${e}.pref.${t}`, xs = {
|
|
|
2717
2720
|
user: ["user.read", "user.write"],
|
|
2718
2721
|
work: ["item.read", "item.write", "project.read", "project.write"]
|
|
2719
2722
|
}, lt = 9e4, Tr = ["out_of_office"], ut = (e) => Tr.includes(e);
|
|
2720
|
-
function
|
|
2723
|
+
function Ds(e, t, n) {
|
|
2721
2724
|
const r = n - e < lt, i = t?.status && (!t.expiresAt || t.expiresAt > n) ? t : void 0;
|
|
2722
2725
|
if (!i?.status) return { online: r, status: r ? "available" : "offline" };
|
|
2723
2726
|
const o = i.status;
|
|
2724
2727
|
return !r && !ut(o) ? { online: !1, status: "offline" } : { online: r, status: o, message: i.message };
|
|
2725
2728
|
}
|
|
2726
|
-
function
|
|
2729
|
+
function $s(e, t) {
|
|
2727
2730
|
const n = t - e.lastSeenAt < lt, r = n || ut(e.status) ? e.status : "offline";
|
|
2728
2731
|
return n === e.online && r === e.status ? e : { ...e, online: n, status: r };
|
|
2729
2732
|
}
|
|
2730
|
-
function
|
|
2733
|
+
function Ls(e, t) {
|
|
2731
2734
|
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 };
|
|
2732
2735
|
}
|
|
2733
|
-
function
|
|
2736
|
+
function Ps(e) {
|
|
2734
2737
|
return e.providerAvailable && e.allowed;
|
|
2735
2738
|
}
|
|
2736
|
-
const
|
|
2737
|
-
function
|
|
2739
|
+
const Us = "resources.describe", Ks = "resources.search", Bs = "resources.resolve", js = "resources.attached";
|
|
2740
|
+
function Hs(e) {
|
|
2738
2741
|
const t = e.indexOf(":");
|
|
2739
2742
|
return t === -1 ? e : e.slice(0, t);
|
|
2740
2743
|
}
|
|
2741
|
-
const
|
|
2744
|
+
const Fs = "/provider/scope/related", Gs = "/provider/scope/read", dt = "auth";
|
|
2742
2745
|
function pt(e) {
|
|
2743
2746
|
const t = typeof e == "string" ? e.match(/apps\/([^/?#]+)/) : null;
|
|
2744
2747
|
return t ? t[1] : null;
|
|
2745
2748
|
}
|
|
2746
|
-
function
|
|
2749
|
+
function Ws(e) {
|
|
2747
2750
|
const t = pt(e);
|
|
2748
2751
|
return t ? t !== dt : typeof e == "string" && e.startsWith("/wake");
|
|
2749
2752
|
}
|
|
2750
|
-
function
|
|
2753
|
+
function Vs(e) {
|
|
2751
2754
|
return typeof e != "string" || e === "" || e === "/" ? !0 : pt(e) === dt;
|
|
2752
2755
|
}
|
|
2753
2756
|
function wr(e) {
|
|
@@ -2769,7 +2772,7 @@ function Mr(e, t) {
|
|
|
2769
2772
|
function Or(e) {
|
|
2770
2773
|
return e.publicBasePath ?? `/apps/${e.name}`;
|
|
2771
2774
|
}
|
|
2772
|
-
function
|
|
2775
|
+
function zs(e) {
|
|
2773
2776
|
const t = [];
|
|
2774
2777
|
for (const n of e) {
|
|
2775
2778
|
if (!n?.name) continue;
|
|
@@ -2802,10 +2805,10 @@ function kr(e, t) {
|
|
|
2802
2805
|
Ir(r.pattern).test(e) && (!n || Cr(r.pattern, n.pattern)) && (n = r);
|
|
2803
2806
|
return n ? { ...n, params: { ...n.props, ...Mr(n.pattern, e) } } : null;
|
|
2804
2807
|
}
|
|
2805
|
-
function
|
|
2808
|
+
function Xs(e, t) {
|
|
2806
2809
|
return kr(e, t) !== null;
|
|
2807
2810
|
}
|
|
2808
|
-
const
|
|
2811
|
+
const Ys = 10 * 1024 * 1024, qs = 25 * 1024 * 1024, Js = "sync-target", Zs = 20, vr = {
|
|
2809
2812
|
afrikaans: [
|
|
2810
2813
|
"[Muziek]",
|
|
2811
2814
|
"(C) TV GELDERLAND 2021",
|
|
@@ -3096,13 +3099,13 @@ function Br(e, t = Nr) {
|
|
|
3096
3099
|
return { text: n.filter((a) => (a.endedAt ?? 0) >= i).map((a) => xr(a.text).trim()).filter(Boolean).join(" ").replace(/\s+/g, " ").trim(), segmentCount: n.length };
|
|
3097
3100
|
}
|
|
3098
3101
|
const jr = 60;
|
|
3099
|
-
function
|
|
3102
|
+
function Qs(e, t, n = jr) {
|
|
3100
3103
|
const r = new Set(e), i = [...e];
|
|
3101
3104
|
for (const o of t)
|
|
3102
3105
|
!o || r.has(o) || (r.add(o), i.push(o));
|
|
3103
3106
|
return i.slice(-n);
|
|
3104
3107
|
}
|
|
3105
|
-
function
|
|
3108
|
+
function ec(e) {
|
|
3106
3109
|
const { segments: t, now: n, state: r } = e;
|
|
3107
3110
|
if (r.lastTriggerAt && n - r.lastTriggerAt < Rr)
|
|
3108
3111
|
return { trigger: !1, reason: "too_soon" };
|
|
@@ -3114,13 +3117,13 @@ function Zs(e) {
|
|
|
3114
3117
|
const a = Ur(i.text);
|
|
3115
3118
|
return a.length ? r.lastQueryTerms?.length && Kr(a, r.lastQueryTerms) < $r ? { trigger: !1, reason: "same_topic" } : { trigger: !0, text: i.text, terms: a, segmentCount: i.segmentCount } : { trigger: !1, reason: "no_speech" };
|
|
3116
3119
|
}
|
|
3117
|
-
const
|
|
3120
|
+
const tc = [
|
|
3118
3121
|
"personal",
|
|
3119
3122
|
"workspace",
|
|
3120
3123
|
"connections",
|
|
3121
3124
|
"work",
|
|
3122
3125
|
"ai"
|
|
3123
|
-
],
|
|
3126
|
+
], nc = "navNotice", oe = {
|
|
3124
3127
|
// The lower bounds are deliberately generous: service ranges (0800/0900) are
|
|
3125
3128
|
// shorter than geographic numbers, and a too-strict minimum silently drops them.
|
|
3126
3129
|
// An over-permissive key is harmless — it simply matches nothing.
|
|
@@ -3174,7 +3177,7 @@ function Vr(e) {
|
|
|
3174
3177
|
const r = t.indexOf("@");
|
|
3175
3178
|
return r >= 0 && (t = t.slice(0, r)), t.trim();
|
|
3176
3179
|
}
|
|
3177
|
-
function
|
|
3180
|
+
function rc(e) {
|
|
3178
3181
|
if (!e) return !1;
|
|
3179
3182
|
const t = e.indexOf("@");
|
|
3180
3183
|
if (t <= 0) return !1;
|
|
@@ -3202,7 +3205,7 @@ function Re(e, t) {
|
|
|
3202
3205
|
}
|
|
3203
3206
|
return !a && L(i, o) ? `+${o.callingCode}${i}` : null;
|
|
3204
3207
|
}
|
|
3205
|
-
function
|
|
3208
|
+
function ic(e, t = 9) {
|
|
3206
3209
|
const n = (e ?? "").replace(/\D/g, "");
|
|
3207
3210
|
return n.length < t ? null : n.slice(-t);
|
|
3208
3211
|
}
|
|
@@ -3213,7 +3216,7 @@ function ft(e) {
|
|
|
3213
3216
|
const r = t.slice(0, n).split("+")[0], i = t.slice(n + 1);
|
|
3214
3217
|
return !r || !i.includes(".") ? null : `${r}@${i}`;
|
|
3215
3218
|
}
|
|
3216
|
-
function
|
|
3219
|
+
function oc(e) {
|
|
3217
3220
|
const t = ft(e);
|
|
3218
3221
|
return t ? t.slice(t.lastIndexOf("@") + 1) : null;
|
|
3219
3222
|
}
|
|
@@ -3279,16 +3282,16 @@ const Yr = /* @__PURE__ */ new Set([
|
|
|
3279
3282
|
"proximus.be",
|
|
3280
3283
|
"scarlet.be"
|
|
3281
3284
|
]);
|
|
3282
|
-
function
|
|
3285
|
+
function ac(e) {
|
|
3283
3286
|
const t = Xr(e);
|
|
3284
3287
|
return t ? Yr.has(t) : !1;
|
|
3285
3288
|
}
|
|
3286
|
-
function
|
|
3289
|
+
function sc(e) {
|
|
3287
3290
|
if (!e) return !1;
|
|
3288
3291
|
const t = e.trim().toLowerCase();
|
|
3289
3292
|
return t === "tel" || t === "sms" || t === "whatsapp" || t === "fax";
|
|
3290
3293
|
}
|
|
3291
|
-
function
|
|
3294
|
+
function cc(e, t, n) {
|
|
3292
3295
|
if (!e || !t) return null;
|
|
3293
3296
|
const r = e.trim().toLowerCase();
|
|
3294
3297
|
if (r === "tel" || r === "sms" || r === "whatsapp") {
|
|
@@ -3455,13 +3458,13 @@ function Ke(e) {
|
|
|
3455
3458
|
`).trim();
|
|
3456
3459
|
}
|
|
3457
3460
|
const gi = /<\s*(html|body|div|p|table|br|span)\b/i;
|
|
3458
|
-
function
|
|
3461
|
+
function lc(e) {
|
|
3459
3462
|
return gi.test(e);
|
|
3460
3463
|
}
|
|
3461
|
-
function
|
|
3464
|
+
function uc(e) {
|
|
3462
3465
|
return mt(e, !1);
|
|
3463
3466
|
}
|
|
3464
|
-
function
|
|
3467
|
+
function dc(e) {
|
|
3465
3468
|
return mt(e, !0);
|
|
3466
3469
|
}
|
|
3467
3470
|
function mt(e, t) {
|
|
@@ -3479,11 +3482,11 @@ export {
|
|
|
3479
3482
|
no as ACTIVE_ASSIGNMENT_STATUSES,
|
|
3480
3483
|
_ as ACTIVITY_CATALOG,
|
|
3481
3484
|
dr as AI_ATTACHMENT_LIMITS,
|
|
3482
|
-
|
|
3483
|
-
|
|
3485
|
+
qa as AI_ATTACHMENT_MAX_PER_TURN,
|
|
3486
|
+
Ya as AI_ATTACHMENT_TURN_BUDGET,
|
|
3484
3487
|
He as AI_VENDORS,
|
|
3485
3488
|
Pt as ALLOWED_LINK_SCHEMES,
|
|
3486
|
-
|
|
3489
|
+
Rs as APP_PERMISSIONS,
|
|
3487
3490
|
me as ARTIFACT_MAX_BLOCKS,
|
|
3488
3491
|
Xi as ARTIFACT_MAX_BODY_BYTES,
|
|
3489
3492
|
G as ARTIFACT_MAX_CELL_LEN,
|
|
@@ -3493,8 +3496,8 @@ export {
|
|
|
3493
3496
|
he as ARTIFACT_MAX_TABLE_ROWS,
|
|
3494
3497
|
Ge as ARTIFACT_MAX_TEXT_LEN,
|
|
3495
3498
|
Vt as ASSIGNMENT_SCOPE_KIND,
|
|
3496
|
-
|
|
3497
|
-
|
|
3499
|
+
ts as ASSIST_BANDS,
|
|
3500
|
+
es as ASSIST_SOURCE_PROVIDER_GROUP,
|
|
3498
3501
|
an as ATTENTION_STATUSES,
|
|
3499
3502
|
dt as AUTH_APP_NAME,
|
|
3500
3503
|
Nn as AUTO_READY_MIN_PROPOSALS,
|
|
@@ -3507,28 +3510,28 @@ export {
|
|
|
3507
3510
|
$r as CADENCE_MIN_NOVELTY,
|
|
3508
3511
|
Nr as CADENCE_WINDOW_MS,
|
|
3509
3512
|
Qo as CLASSIFY_VARS,
|
|
3510
|
-
|
|
3511
|
-
|
|
3513
|
+
Ss as CONNECTOR_PROVIDER_GROUP,
|
|
3514
|
+
_s as CONTEXT_COLLECT_SERVICE,
|
|
3512
3515
|
Wi as CORE_DIMENSIONS,
|
|
3513
3516
|
yr as CommunicationScheme,
|
|
3514
3517
|
qt as DAY_MS,
|
|
3515
3518
|
Ko as DEFAULT_MEMORY_BUDGET,
|
|
3516
3519
|
Hr as DEFAULT_PHONE_REGION,
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
+
Os as DOCUMENT_APPLY_SERVICE,
|
|
3521
|
+
Is as DOCUMENT_DESCRIBE_SERVICE,
|
|
3522
|
+
Ms as DOCUMENT_INSPECT_SERVICE,
|
|
3520
3523
|
ct as DOCUMENT_OPERATIONS,
|
|
3521
3524
|
ta as EMPTY_WORKFLOW,
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
+
ys as FEATURE_FOLDER_MANAGEMENT,
|
|
3526
|
+
As as FEATURE_MESSAGE_REACTIONS,
|
|
3527
|
+
bs as FEATURE_REMOTE_SEARCH,
|
|
3525
3528
|
ln as FOLLOW_UP_HOURS,
|
|
3526
3529
|
Yt as HOUR_MS,
|
|
3527
3530
|
gi as HTML_BODY_RE,
|
|
3528
3531
|
w as INELIGIBLE,
|
|
3529
|
-
|
|
3532
|
+
ks as INSTALLATION_HEADER,
|
|
3530
3533
|
On as INTERACTION_KIND,
|
|
3531
|
-
|
|
3534
|
+
gs as InteractionParticipantRole,
|
|
3532
3535
|
yn as KB_FALLBACK_LOCALE,
|
|
3533
3536
|
_e as KB_LOCALES,
|
|
3534
3537
|
ie as LOOSE_STATUSES,
|
|
@@ -3537,7 +3540,7 @@ export {
|
|
|
3537
3540
|
zt as MAX_ASSIGNMENT_TURNS,
|
|
3538
3541
|
hi as MAX_BLOCKS,
|
|
3539
3542
|
Ze as MAX_COLLECTION_DEPTH,
|
|
3540
|
-
|
|
3543
|
+
Ys as MAX_EDITABLE_FILE_BYTES,
|
|
3541
3544
|
yi as MAX_FIELDS,
|
|
3542
3545
|
bi as MAX_LIST_ITEMS,
|
|
3543
3546
|
$o as MAX_MEMORY_BROWSE,
|
|
@@ -3547,10 +3550,10 @@ export {
|
|
|
3547
3550
|
Yn as MAX_TOPIC_CANDIDATES,
|
|
3548
3551
|
Xn as MAX_TOPIC_EXAMPLES,
|
|
3549
3552
|
W as MAX_TOPIC_EXAMPLE_CHARS,
|
|
3550
|
-
|
|
3553
|
+
qs as MAX_VIEWABLE_FILE_BYTES,
|
|
3551
3554
|
Po as MIN_MEMORY_BUDGET,
|
|
3552
|
-
|
|
3553
|
-
|
|
3555
|
+
nc as NAV_NOTICE_SLOT,
|
|
3556
|
+
xs as NOTIFICATION_SOURCE_PROVIDER_GROUP,
|
|
3554
3557
|
jo as ONBOARDING_SOURCE_PROVIDER_GROUP,
|
|
3555
3558
|
Z as PAUSE_SNOOZED,
|
|
3556
3559
|
Q as PAUSE_WAITING_FOR_CUSTOMER,
|
|
@@ -3558,19 +3561,19 @@ export {
|
|
|
3558
3561
|
lt as PRESENCE_ONLINE_WINDOW_MS,
|
|
3559
3562
|
Tr as PRESENCE_SURVIVES_OFFLINE,
|
|
3560
3563
|
Fo as PROFILE_TOOL_DISPOSITIONS,
|
|
3561
|
-
|
|
3562
|
-
|
|
3564
|
+
ms as PROVIDER_FEATURE_MESSAGE_TEMPLATES,
|
|
3565
|
+
fs as PROVIDER_FEATURE_MESSAGE_WINDOW,
|
|
3563
3566
|
Yr as PUBLIC_EMAIL_DOMAINS,
|
|
3564
3567
|
Te as READ_STEP_TYPES,
|
|
3565
3568
|
En as RELATED_SUBJECT_KINDS,
|
|
3566
3569
|
st as RESERVED_STATUS_KEYS,
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3570
|
+
js as RESOURCE_ATTACHED_SERVICE,
|
|
3571
|
+
Us as RESOURCE_DESCRIBE_SERVICE,
|
|
3572
|
+
Bs as RESOURCE_RESOLVE_SERVICE,
|
|
3573
|
+
Ks as RESOURCE_SEARCH_SERVICE,
|
|
3574
|
+
Gs as SCOPE_READ_ROUTE,
|
|
3575
|
+
Fs as SCOPE_RELATED_ROUTE,
|
|
3576
|
+
tc as SETTINGS_CATEGORIES,
|
|
3574
3577
|
lo as SIGNATURE_INTENTS,
|
|
3575
3578
|
cn as SLA_HOURS_BY_PRIORITY,
|
|
3576
3579
|
fa as SLA_METRICS,
|
|
@@ -3579,17 +3582,18 @@ export {
|
|
|
3579
3582
|
kn as STEP_MAX_TOKENS_MIN,
|
|
3580
3583
|
en as SUMMARY_MIN_LAST_CHARS,
|
|
3581
3584
|
Qt as SUMMARY_MIN_MESSAGES,
|
|
3582
|
-
|
|
3583
|
-
|
|
3585
|
+
Zs as SYNC_RUN_MAX_ERRORS,
|
|
3586
|
+
Js as SYNC_TARGET_PROVIDER_GROUP,
|
|
3584
3587
|
Wt as TERMINAL_ASSIGNMENT_STATUSES,
|
|
3585
3588
|
Dn as TERMINAL_RUN_STATUSES,
|
|
3586
3589
|
Zo as TRIGGER_VARS,
|
|
3587
|
-
|
|
3590
|
+
Es as UNSUPPORTED,
|
|
3588
3591
|
Rt as USAGE_DIMENSIONS,
|
|
3589
3592
|
Dt as USAGE_DIMENSION_IDS,
|
|
3590
3593
|
nr as WORK_ACTIVITY_SCOPE_KIND,
|
|
3591
3594
|
Ho as WORK_AREAS,
|
|
3592
3595
|
xa as WORK_COMMENT_ADDED,
|
|
3596
|
+
$a as WORK_CYCLE_SYNC_KIND,
|
|
3593
3597
|
Na as WORK_ITEM_ASSIGNED,
|
|
3594
3598
|
er as WORK_ITEM_SCOPE_KIND,
|
|
3595
3599
|
Ra as WORK_ITEM_STATUS_CHANGED,
|
|
@@ -3608,9 +3612,9 @@ export {
|
|
|
3608
3612
|
Vo as actorKey,
|
|
3609
3613
|
Oa as addExampleCandidate,
|
|
3610
3614
|
ne as addWorkingMs,
|
|
3611
|
-
|
|
3615
|
+
$s as agePresenceEntry,
|
|
3612
3616
|
ur as aiAttachmentKind,
|
|
3613
|
-
|
|
3617
|
+
Ja as aiAttachmentRejection,
|
|
3614
3618
|
fe as aiBudgetLimit,
|
|
3615
3619
|
Fi as aiBudgetPeriodKey,
|
|
3616
3620
|
Ct as aiBudgetPeriodStart,
|
|
@@ -3631,7 +3635,7 @@ export {
|
|
|
3631
3635
|
io as assignmentScopeKey,
|
|
3632
3636
|
so as assignmentSubject,
|
|
3633
3637
|
Ni as buildActivityPreview,
|
|
3634
|
-
|
|
3638
|
+
cs as buildChannelIntents,
|
|
3635
3639
|
Qi as buildShareKeys,
|
|
3636
3640
|
Br as buildWindow,
|
|
3637
3641
|
re as calendarOf,
|
|
@@ -3639,44 +3643,45 @@ export {
|
|
|
3639
3643
|
Mi as carriesText,
|
|
3640
3644
|
xo as categoryLabel,
|
|
3641
3645
|
or as categoryOf,
|
|
3642
|
-
|
|
3646
|
+
ps as channelKindForScheme,
|
|
3643
3647
|
_i as channelKindOf,
|
|
3644
3648
|
ea as clampStepMaxTokens,
|
|
3645
3649
|
yo as classifyMail,
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3650
|
+
dc as cleanMessageMarkdown,
|
|
3651
|
+
uc as cleanMessageText,
|
|
3652
|
+
rs as compareAssistRank,
|
|
3649
3653
|
zn as compareWorkTypes,
|
|
3650
|
-
|
|
3654
|
+
za as cycleOrder,
|
|
3655
|
+
Xa as cycleState,
|
|
3651
3656
|
co as decideAssignmentState,
|
|
3652
|
-
|
|
3653
|
-
|
|
3657
|
+
ec as decideCadence,
|
|
3658
|
+
as as decideIncomingCall,
|
|
3654
3659
|
bn as defaultLocaleOf,
|
|
3655
|
-
|
|
3656
|
-
|
|
3660
|
+
Fa as defaultStatusKey,
|
|
3661
|
+
hs as defineIntent,
|
|
3657
3662
|
gn as depthOf,
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3663
|
+
Ds as derivePresence,
|
|
3664
|
+
ss as disabledIntentsFromCapabilities,
|
|
3665
|
+
Cs as documentKindOf,
|
|
3661
3666
|
ha as dueAtOf,
|
|
3662
3667
|
Ea as elapsedSeconds,
|
|
3663
|
-
|
|
3664
|
-
|
|
3668
|
+
oc as emailDomain,
|
|
3669
|
+
cc as endpointKey,
|
|
3665
3670
|
Mr as extractParams,
|
|
3666
3671
|
Ur as extractTerms,
|
|
3667
|
-
|
|
3668
|
-
|
|
3672
|
+
us as filterByEndpoint,
|
|
3673
|
+
ls as filterByIntent,
|
|
3669
3674
|
hr as filterByTargetScheme,
|
|
3670
3675
|
K as findAiVendor,
|
|
3671
|
-
|
|
3676
|
+
vs as flattenLocales,
|
|
3672
3677
|
vt as floorToPeriod,
|
|
3673
3678
|
Sn as formatActingIdentity,
|
|
3674
3679
|
Ta as formatClock,
|
|
3675
3680
|
_a as formatHm,
|
|
3676
|
-
|
|
3681
|
+
Pa as formatItemKey,
|
|
3677
3682
|
kt as formatPeriod,
|
|
3678
3683
|
Aa as formatSlaDuration,
|
|
3679
|
-
|
|
3684
|
+
Qa as freshSources,
|
|
3680
3685
|
Di as getActivitySeenUserIds,
|
|
3681
3686
|
po as getContactEndpoints,
|
|
3682
3687
|
wo as getShortTitle,
|
|
@@ -3695,75 +3700,75 @@ export {
|
|
|
3695
3700
|
Li as isChatMessageActivity,
|
|
3696
3701
|
_o as isClosed,
|
|
3697
3702
|
Ci as isConnectedType,
|
|
3698
|
-
|
|
3703
|
+
Ws as isDeepLink,
|
|
3699
3704
|
hn as isDescendant,
|
|
3700
3705
|
fo as isEligible,
|
|
3701
3706
|
$i as isEmailActivity,
|
|
3702
|
-
|
|
3707
|
+
lc as isHtmlBody,
|
|
3703
3708
|
aa as isInFlight,
|
|
3704
3709
|
on as isInteractionUnseen,
|
|
3705
|
-
|
|
3710
|
+
Vs as isLandingPath,
|
|
3706
3711
|
Zt as isLikelyBulk,
|
|
3707
3712
|
Be as isMessageShape,
|
|
3708
3713
|
Ti as isMessageType,
|
|
3709
3714
|
Cr as isMoreSpecificPattern,
|
|
3710
3715
|
je as isNoteShape,
|
|
3711
3716
|
Wn as isOpenClock,
|
|
3712
|
-
|
|
3717
|
+
Za as isOutwardTool,
|
|
3713
3718
|
dn as isParked,
|
|
3714
3719
|
$n as isPaused,
|
|
3715
3720
|
Oi as isPlaybookAuthoredType,
|
|
3716
|
-
|
|
3717
|
-
|
|
3721
|
+
ac as isPublicEmailDomain,
|
|
3722
|
+
Xs as isPublicPath,
|
|
3718
3723
|
pn as isReminderActive,
|
|
3719
3724
|
Ii as isReplyableType,
|
|
3720
3725
|
Ao as isSlaAtRisk,
|
|
3721
3726
|
oa as isTerminal,
|
|
3722
3727
|
go as isThreadLongEnough,
|
|
3723
3728
|
ki as isTranscriptType,
|
|
3724
|
-
|
|
3729
|
+
Ga as isWorkClosed,
|
|
3725
3730
|
Ia as isWorkTypeVisible,
|
|
3726
|
-
|
|
3731
|
+
Ba as itemDossierKeys,
|
|
3727
3732
|
ir as ladderFor,
|
|
3728
3733
|
Io as linkLabel,
|
|
3729
3734
|
Gi as listeningAllowed,
|
|
3730
3735
|
Co as localeInstruction,
|
|
3731
3736
|
Oo as localeName,
|
|
3732
3737
|
vo as localesOf,
|
|
3733
|
-
|
|
3734
|
-
|
|
3738
|
+
rc as looksLikeEmail,
|
|
3739
|
+
ds as matchContactToIntents,
|
|
3735
3740
|
kr as matchPublicRoute,
|
|
3736
3741
|
Ro as mcpCredentialScope,
|
|
3737
3742
|
Do as mcpToolPrefix,
|
|
3738
|
-
|
|
3743
|
+
Qs as mergeShownKeys,
|
|
3739
3744
|
St as messageCountsAs,
|
|
3740
|
-
|
|
3745
|
+
sc as needsPhoneRegion,
|
|
3741
3746
|
wi as nestsUnderParent,
|
|
3742
3747
|
ya as nextSlaClock,
|
|
3743
3748
|
Yi as normalizeArtifactBlocks,
|
|
3744
3749
|
Ei as normalizeBlocks,
|
|
3745
3750
|
ft as normalizeEmail,
|
|
3746
3751
|
I as normalizeExample,
|
|
3747
|
-
|
|
3752
|
+
Ns as notificationPrefKey,
|
|
3748
3753
|
Kr as novelty,
|
|
3749
|
-
|
|
3750
|
-
|
|
3754
|
+
ws as operationDescriptor,
|
|
3755
|
+
Ts as operationsForKind,
|
|
3751
3756
|
mo as parkMarksById,
|
|
3752
3757
|
Go as parseActingIdentity,
|
|
3753
3758
|
da as parseClockMinutes,
|
|
3754
|
-
|
|
3759
|
+
Ua as parseItemKey,
|
|
3755
3760
|
Ir as pathToRegex,
|
|
3756
3761
|
pa as pauseBitFor,
|
|
3757
3762
|
Vi as periodsInRange,
|
|
3758
|
-
|
|
3763
|
+
ic as phoneSuffix,
|
|
3759
3764
|
ho as pickMailHeaders,
|
|
3760
3765
|
At as plainTextFromMarkdown,
|
|
3761
3766
|
ga as planSlaEvent,
|
|
3762
3767
|
wn as playbookActor,
|
|
3763
3768
|
ra as procedureOf,
|
|
3764
|
-
|
|
3769
|
+
ja as projectDossierKeys,
|
|
3765
3770
|
Or as publicBasePathFor,
|
|
3766
|
-
|
|
3771
|
+
zs as publicRoutePatterns,
|
|
3767
3772
|
ao as reactionWakesAssignment,
|
|
3768
3773
|
X as readPath,
|
|
3769
3774
|
we as readStepError,
|
|
@@ -3777,8 +3782,8 @@ export {
|
|
|
3777
3782
|
Y as resolveActivityText,
|
|
3778
3783
|
fr as resolveChannelIntents,
|
|
3779
3784
|
Xt as resolveSignature,
|
|
3780
|
-
|
|
3781
|
-
|
|
3785
|
+
Ls as resolveWorkMode,
|
|
3786
|
+
Hs as resourceKindOf,
|
|
3782
3787
|
Wo as runActor,
|
|
3783
3788
|
ca as runInteractionId,
|
|
3784
3789
|
jt as sanitizeInline,
|
|
@@ -3786,24 +3791,24 @@ export {
|
|
|
3786
3791
|
Eo as scoreInteraction,
|
|
3787
3792
|
Da as scoreWorkItem,
|
|
3788
3793
|
No as selectLenses,
|
|
3789
|
-
|
|
3790
|
-
|
|
3794
|
+
os as sessionsHoldCannotReach,
|
|
3795
|
+
is as sessionsToHold,
|
|
3791
3796
|
ze as shareKeyForTeam,
|
|
3792
3797
|
Ve as shareKeyForUser,
|
|
3793
3798
|
eo as shareKeysForViewer,
|
|
3794
|
-
|
|
3799
|
+
Ps as shouldRunAudioPipeline,
|
|
3795
3800
|
ba as slaBadgeTone,
|
|
3796
3801
|
bo as slaHoursByInbox,
|
|
3797
3802
|
fn as slaHoursFor,
|
|
3798
3803
|
ar as sortStatuses,
|
|
3799
3804
|
pr as sourceKey,
|
|
3800
|
-
|
|
3805
|
+
Ha as statusIn,
|
|
3801
3806
|
na as stepsOf,
|
|
3802
3807
|
Et as stripHtml,
|
|
3803
3808
|
sa as subjectKeyOf,
|
|
3804
3809
|
et as subjectOf,
|
|
3805
|
-
|
|
3806
|
-
|
|
3810
|
+
ns as subjectRef,
|
|
3811
|
+
Ka as suggestProjectKey,
|
|
3807
3812
|
la as summarizeReactions,
|
|
3808
3813
|
Yo as targetById,
|
|
3809
3814
|
Xo as targetForActivityType,
|
|
@@ -3813,15 +3818,15 @@ export {
|
|
|
3813
3818
|
Zn as topicOfferedForTeam,
|
|
3814
3819
|
ka as topicsForTeam,
|
|
3815
3820
|
qn as truncateExample,
|
|
3816
|
-
|
|
3821
|
+
Wa as uniqueWorkStatusKey,
|
|
3817
3822
|
wa as uniqueWorkTypeKey,
|
|
3818
3823
|
$t as usageMetricId,
|
|
3819
3824
|
zi as usageMetrics,
|
|
3820
|
-
|
|
3825
|
+
Va as validateStatuses,
|
|
3821
3826
|
zo as valueAtPath,
|
|
3822
3827
|
te as waitHoursOf,
|
|
3823
3828
|
oo as wakesAssignment,
|
|
3824
|
-
|
|
3829
|
+
La as workActivityScopeKey,
|
|
3825
3830
|
rr as workItemScopeKey,
|
|
3826
3831
|
at as workProjectScopeKey,
|
|
3827
3832
|
sr as workStatusKey,
|