twenty-sdk 2.20.0 → 2.22.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.
@@ -9392,7 +9392,7 @@ function Wp(e) {
9392
9392
  return e != null;
9393
9393
  }
9394
9394
  //#endregion
9395
- //#region ../twenty-shared/dist/types-qzUQuYDF.mjs
9395
+ //#region ../twenty-shared/dist/types-CRtXH-ol.mjs
9396
9396
  var Gp = /* @__PURE__ */ function(e) {
9397
9397
  return e.MIN = "MIN", e.MAX = "MAX", e.AVG = "AVG", e.SUM = "SUM", e.COUNT = "COUNT", e.COUNT_UNIQUE_VALUES = "COUNT_UNIQUE_VALUES", e.COUNT_EMPTY = "COUNT_EMPTY", e.COUNT_NOT_EMPTY = "COUNT_NOT_EMPTY", e.COUNT_TRUE = "COUNT_TRUE", e.COUNT_FALSE = "COUNT_FALSE", e.PERCENTAGE_EMPTY = "PERCENTAGE_EMPTY", e.PERCENTAGE_NOT_EMPTY = "PERCENTAGE_NOT_EMPTY", e;
9398
9398
  }({}), Kp = /* @__PURE__ */ function(e) {
@@ -9876,6 +9876,7 @@ var nm = /* @__PURE__ */ function(e) {
9876
9876
  DEVELOPERS_EXTEND_APPS_DATA_OBJECTS: "/developers/extend/apps/data/objects",
9877
9877
  DEVELOPERS_EXTEND_APPS_DATA_OVERVIEW: "/developers/extend/apps/data/overview",
9878
9878
  DEVELOPERS_EXTEND_APPS_DATA_RELATIONS: "/developers/extend/apps/data/relations",
9879
+ DEVELOPERS_EXTEND_APPS_DATA_SYSTEM_FIELDS: "/developers/extend/apps/data/system-fields",
9879
9880
  DEVELOPERS_EXTEND_APPS_GETTING_STARTED_CONCEPTS: "/developers/extend/apps/getting-started/concepts",
9880
9881
  DEVELOPERS_EXTEND_APPS_GETTING_STARTED_LOCAL_SERVER: "/developers/extend/apps/getting-started/local-server",
9881
9882
  DEVELOPERS_EXTEND_APPS_GETTING_STARTED_PROJECT_STRUCTURE: "/developers/extend/apps/getting-started/project-structure",
@@ -10040,9 +10041,9 @@ var nm = /* @__PURE__ */ function(e) {
10040
10041
  P.ARRAY,
10041
10042
  P.MULTI_SELECT,
10042
10043
  P.RAW_JSON
10043
- ]), lm.DAY, lm.WEEK, lm.MONTH, lm.QUARTER, lm.YEAR, P.TEXT, P.FULL_NAME, P.UUID;
10044
+ ]), lm.DAY, lm.WEEK, lm.MONTH, lm.QUARTER, lm.YEAR, P.FILES, P.LINKS, P.TEXT, P.FULL_NAME, P.UUID;
10044
10045
  //#endregion
10045
- //#region ../twenty-shared/dist/constants-D2kCMNsz.mjs
10046
+ //#region ../twenty-shared/dist/constants-CNraXaGx.mjs
10046
10047
  var Dm = [
10047
10048
  "RATING_1",
10048
10049
  "RATING_2",
@@ -57593,7 +57594,7 @@ function jA() {
57593
57594
  return sA(DA, arguments);
57594
57595
  }
57595
57596
  //#endregion
57596
- //#region ../twenty-shared/dist/utils-5DYZTZxt.mjs
57597
+ //#region ../twenty-shared/dist/utils-yd_FN6Qr.mjs
57597
57598
  var MA = /* @__PURE__ */ We(ok(), 1), NA = /* @__PURE__ */ We(sk(), 1);
57598
57599
  ck(), eA(), aA(), P.TEXT, P.FULL_NAME, P.EMAILS, P.ADDRESS, P.LINKS, P.PHONES, P.RICH_TEXT, P.UUID;
57599
57600
  var PA = (e) => /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(e);
@@ -59334,10 +59335,10 @@ var TM = (e) => Dm.filter((t) => +t.split("_")[1] >= e), EM = (e) => Dm.filter((
59334
59335
  U.IS_NOT,
59335
59336
  U.IS_EMPTY,
59336
59337
  U.IS_NOT_EMPTY
59337
- ], IM = ({ filterType: e, subFieldName: t }) => e === "CURRENCY" ? t === "currencyCode" ? jM.CURRENCY.currencyCode : jM.CURRENCY.amountMicros : e === "ACTOR" && (t === "source" || t === "workspaceMemberId") ? FM : PM[e], LM = (e, t, n) => Object.values(Tm[e]).includes(t) && t === n, RM = Mu().transform((e) => e === "" ? [] : vN(e) ? [e] : JSON.parse(e)).refine((e) => Array.isArray(e) && e.every((e) => typeof e == "string"), { error: "Expected an array of strings" }), zM = xp((e) => {
59338
+ ], IM = ({ filterType: e, subFieldName: t }) => e === "CURRENCY" ? t === "currencyCode" ? jM.CURRENCY.currencyCode : jM.CURRENCY.amountMicros : e === "ACTOR" && (t === "source" || t === "workspaceMemberId") ? FM : PM[e], LM = (e, t, n) => Object.values(Tm[e]).includes(t) && t === n, RM = Mu().transform((e) => e === "" ? [] : yN(e) ? [e] : JSON.parse(e)).refine((e) => Array.isArray(e) && e.every((e) => typeof e == "string"), { error: "Expected an array of strings" }), zM = xp((e) => {
59338
59339
  try {
59339
59340
  if (typeof e == "string") {
59340
- if (vN(e)) return [e];
59341
+ if (yN(e)) return [e];
59341
59342
  try {
59342
59343
  let t = JSON.parse(e);
59343
59344
  return Array.isArray(t) ? t : [t];
@@ -59349,7 +59350,7 @@ var TM = (e) => Dm.filter((t) => +t.split("_")[1] >= e), EM = (e) => Dm.filter((
59349
59350
  } catch {
59350
59351
  return [];
59351
59352
  }
59352
- }, of(Mu().refine((e) => PA(e) || vN(e), "Must be a valid UUID or a variable with {{ }} syntax"))).catch([]), BM = lf({
59353
+ }, of(Mu().refine((e) => PA(e) || yN(e), "Must be a valid UUID or a variable with {{ }} syntax"))).catch([]), BM = lf({
59353
59354
  isCurrentWorkspaceMemberSelected: Id().optional(),
59354
59355
  isCurrentRecordSelected: Id().optional(),
59355
59356
  selectedRecordIds: of(Mu())
@@ -59971,63 +59972,63 @@ Mu().transform((e, t) => {
59971
59972
  }), Je;
59972
59973
  }
59973
59974
  });
59974
- var gN = (e) => {
59975
+ var gN = (e) => /^https?:\/\//i.test(e), _N = (e) => {
59975
59976
  let t = uN(e);
59976
59977
  return N(t) ? (t.origin + t.pathname + t.search + t.hash).replace(/\/$/, "") : e;
59977
- }, _N = (e) => {
59978
+ }, vN = (e) => {
59978
59979
  let t = e.trim();
59979
- return t === "" ? t : gN(mN(t));
59980
+ return t === "" ? t : _N(mN(t));
59980
59981
  };
59981
59982
  Fu({ pattern: er }).max(255);
59982
- var vN = (e) => /^{{[^{}]+}}$/.test(e), yN = /* @__PURE__ */ new Map();
59983
+ var yN = (e) => /^{{[^{}]+}}$/.test(e), bN = /* @__PURE__ */ new Map();
59983
59984
  for (let e of AA()) {
59984
- let t = jA(e), n = yN.get(t);
59985
- n ? n.push(e) : yN.set(t, [e]);
59985
+ let t = jA(e), n = bN.get(t);
59986
+ n ? n.push(e) : bN.set(t, [e]);
59986
59987
  }
59987
59988
  new Set(AA());
59988
- var bN = (e) => typeof e == "string", xN = RegExp("\\{\\{([^{}]+)\\}\\}", "g"), SN = (e, t) => N(e) ? bN(e) ? TN(e, t) : Array.isArray(e) ? CN(e, t) : typeof e == "object" && e ? wN(e, t) : e : e, CN = (e, t) => {
59989
+ var xN = (e) => typeof e == "string", SN = RegExp("\\{\\{([^{}]+)\\}\\}", "g"), CN = (e, t) => N(e) ? xN(e) ? EN(e, t) : Array.isArray(e) ? wN(e, t) : typeof e == "object" && e ? TN(e, t) : e : e, wN = (e, t) => {
59989
59990
  let n = e;
59990
- for (let r = 0; r < e.length; ++r) n[r] = SN(e[r], t);
59991
+ for (let r = 0; r < e.length; ++r) n[r] = CN(e[r], t);
59991
59992
  return n;
59992
- }, wN = (e, t) => Object.entries(e).reduce((e, [n, r]) => {
59993
- let i = SN(n, t);
59994
- return e[typeof i == "string" ? i : String(i)] = SN(r, t), e;
59995
- }, {}), TN = (e, t) => {
59996
- let n = e.match(xN);
59997
- return !n || n.length === 0 ? e : n.length === 1 && n[0] === e ? dM(e, t) : e.replace(xN, (e, n) => {
59993
+ }, TN = (e, t) => Object.entries(e).reduce((e, [n, r]) => {
59994
+ let i = CN(n, t);
59995
+ return e[typeof i == "string" ? i : String(i)] = CN(r, t), e;
59996
+ }, {}), EN = (e, t) => {
59997
+ let n = e.match(SN);
59998
+ return !n || n.length === 0 ? e : n.length === 1 && n[0] === e ? dM(e, t) : e.replace(SN, (e, n) => {
59998
59999
  let r = dM(e, t);
59999
60000
  return typeof r == "object" && r ? JSON.stringify(r) : r;
60000
60001
  });
60001
- }, EN = "M6.822 14.174c0-2.435 1.996-4.411 4.456-4.411h8.574c.125 0 .241.075.293.19a.31.31 0 0 1-.056.344l-1.88 2.023c-.326.35-.787.552-1.27.552H11.3c-.738 0-1.338.594-1.338 1.325v3.336a.78.78 0 0 1-.783.777H7.61a.78.78 0 0 1-.783-.777v-3.36zM33.5 25.553c0 2.434-1.996 4.411-4.456 4.411h-3.642c-2.46 0-4.454-1.977-4.454-4.411v-6.315c0-.43.16-.842.456-1.16l2.124-2.285a.33.33 0 0 1 .355-.081.32.32 0 0 1 .205.295v9.527c0 .73.598 1.322 1.337 1.322h3.6a1.33 1.33 0 0 0 1.337-1.322V14.197c0-.73-.599-1.325-1.337-1.325H24.84c-.481 0-.938.201-1.265.547L11.088 26.856h7.503a.78.78 0 0 1 .784.778v1.552a.78.78 0 0 1-.784.778H8.481a1.655 1.655 0 0 1-1.662-1.644v-.824c0-.412.156-.809.44-1.114l13.999-15.06a4.9 4.9 0 0 1 3.594-1.56h4.189c2.46 0 4.454 1.977 4.454 4.412v11.379z", DN = async () => `data:image/png;base64,${(await v(k(i, "assets", "halftone-backdrop.png"))).toString("base64")}`, ON = 1388, kN = 858, AN = 156, jN = 16, MN = 351, NN = 434, PN = 798, FN = ON / 2, IN = kN / 2, LN = 19, RN = 8, zN = "#b3b3b3", BN = AN / 40, VN = async ({ logoBuffer: e }) => {
60002
- let t = `data:image/png;base64,${(await oe(e).resize(AN, AN, {
60002
+ }, DN = "M6.822 14.174c0-2.435 1.996-4.411 4.456-4.411h8.574c.125 0 .241.075.293.19a.31.31 0 0 1-.056.344l-1.88 2.023c-.326.35-.787.552-1.27.552H11.3c-.738 0-1.338.594-1.338 1.325v3.336a.78.78 0 0 1-.783.777H7.61a.78.78 0 0 1-.783-.777v-3.36zM33.5 25.553c0 2.434-1.996 4.411-4.456 4.411h-3.642c-2.46 0-4.454-1.977-4.454-4.411v-6.315c0-.43.16-.842.456-1.16l2.124-2.285a.33.33 0 0 1 .355-.081.32.32 0 0 1 .205.295v9.527c0 .73.598 1.322 1.337 1.322h3.6a1.33 1.33 0 0 0 1.337-1.322V14.197c0-.73-.599-1.325-1.337-1.325H24.84c-.481 0-.938.201-1.265.547L11.088 26.856h7.503a.78.78 0 0 1 .784.778v1.552a.78.78 0 0 1-.784.778H8.481a1.655 1.655 0 0 1-1.662-1.644v-.824c0-.412.156-.809.44-1.114l13.999-15.06a4.9 4.9 0 0 1 3.594-1.56h4.189c2.46 0 4.454 1.977 4.454 4.412v11.379z", ON = async () => `data:image/png;base64,${(await v(k(i, "assets", "halftone-backdrop.png"))).toString("base64")}`, kN = 1388, AN = 858, jN = 156, MN = 16, NN = 351, PN = 434, FN = 798, IN = kN / 2, LN = AN / 2, RN = 19, zN = 8, BN = "#b3b3b3", VN = jN / 40, HN = async ({ logoBuffer: e }) => {
60003
+ let t = `data:image/png;base64,${(await oe(e).resize(jN, jN, {
60003
60004
  fit: "cover",
60004
60005
  position: "centre"
60005
- }).png().toBuffer()).toString("base64")}`, n = await DN(), r = [
60006
- `<svg xmlns="http://www.w3.org/2000/svg" width="${ON}" height="${kN}" viewBox="0 0 ${ON} ${kN}">`,
60007
- `<image href="${n}" x="0" y="0" width="${ON}" height="${kN}" preserveAspectRatio="none" />`,
60006
+ }).png().toBuffer()).toString("base64")}`, n = await ON(), r = [
60007
+ `<svg xmlns="http://www.w3.org/2000/svg" width="${kN}" height="${AN}" viewBox="0 0 ${kN} ${AN}">`,
60008
+ `<image href="${n}" x="0" y="0" width="${kN}" height="${AN}" preserveAspectRatio="none" />`,
60008
60009
  "<defs>",
60009
60010
  "<filter id=\"tileShadow\" x=\"-40%\" y=\"-40%\" width=\"180%\" height=\"180%\">",
60010
60011
  "<feDropShadow dx=\"0\" dy=\"6\" stdDeviation=\"10\" flood-color=\"#0b0b0f\" flood-opacity=\"0.14\" />",
60011
60012
  "</filter>",
60012
- `<clipPath id="leftLogoClip"><rect x="${NN}" y="${MN}" width="${AN}" height="${AN}" rx="${jN}" /></clipPath>`,
60013
+ `<clipPath id="leftLogoClip"><rect x="${PN}" y="${NN}" width="${jN}" height="${jN}" rx="${MN}" /></clipPath>`,
60013
60014
  "</defs>",
60014
60015
  "<g filter=\"url(#tileShadow)\">",
60015
- `<rect x="${NN}" y="${MN}" width="${AN}" height="${AN}" rx="${jN}" fill="#ffffff" />`,
60016
- `<rect x="${PN}" y="${MN}" width="${AN}" height="${AN}" rx="${jN}" fill="#000000" />`,
60016
+ `<rect x="${PN}" y="${NN}" width="${jN}" height="${jN}" rx="${MN}" fill="#ffffff" />`,
60017
+ `<rect x="${FN}" y="${NN}" width="${jN}" height="${jN}" rx="${MN}" fill="#000000" />`,
60017
60018
  "</g>",
60018
- `<image href="${t}" x="${NN}" y="${MN}" width="${AN}" height="${AN}" preserveAspectRatio="xMidYMid slice" clip-path="url(#leftLogoClip)" />`,
60019
- `<rect x="${NN}" y="${MN}" width="${AN}" height="${AN}" rx="${jN}" fill="none" stroke="#000000" stroke-opacity="0.08" stroke-width="1" />`,
60020
- `<g transform="translate(${PN} ${MN}) scale(${BN})"><path d="${EN}" fill="#ffffff" /></g>`,
60021
- `<line x1="${FN - LN}" y1="${IN - LN}" x2="713" y2="448" stroke="${zN}" stroke-width="${RN}" stroke-linecap="round" />`,
60022
- `<line x1="${FN - LN}" y1="448" x2="713" y2="${IN - LN}" stroke="${zN}" stroke-width="${RN}" stroke-linecap="round" />`,
60019
+ `<image href="${t}" x="${PN}" y="${NN}" width="${jN}" height="${jN}" preserveAspectRatio="xMidYMid slice" clip-path="url(#leftLogoClip)" />`,
60020
+ `<rect x="${PN}" y="${NN}" width="${jN}" height="${jN}" rx="${MN}" fill="none" stroke="#000000" stroke-opacity="0.08" stroke-width="1" />`,
60021
+ `<g transform="translate(${FN} ${NN}) scale(${VN})"><path d="${DN}" fill="#ffffff" /></g>`,
60022
+ `<line x1="${IN - RN}" y1="${LN - RN}" x2="713" y2="448" stroke="${BN}" stroke-width="${zN}" stroke-linecap="round" />`,
60023
+ `<line x1="${IN - RN}" y1="448" x2="713" y2="${LN - RN}" stroke="${BN}" stroke-width="${zN}" stroke-linecap="round" />`,
60023
60024
  "</svg>"
60024
60025
  ].join("");
60025
60026
  return oe(Buffer.from(r)).png().toBuffer();
60026
- }, HN = "20202020-64aa-4b6f-b003-9c74b97cee20", UN = ({ entityNamespace: e, value: t, applicationUniversalIdentifier: n }) => D(`${e}:${t}`, n), WN = ({ applicationUniversalIdentifier: e, objectUniversalIdentifier: t, name: n }) => UN({
60027
+ }, UN = "20202020-64aa-4b6f-b003-9c74b97cee20", WN = ({ entityNamespace: e, value: t, applicationUniversalIdentifier: n }) => D(`${e}:${t}`, n), GN = ({ applicationUniversalIdentifier: e, objectUniversalIdentifier: t, name: n }) => WN({
60027
60028
  entityNamespace: "fieldMetadata",
60028
60029
  value: `${t}:${n}`,
60029
60030
  applicationUniversalIdentifier: e
60030
- }), GN = [
60031
+ }), KN = [
60031
60032
  "Communication",
60032
60033
  "Productivity",
60033
60034
  "Product management",
@@ -60037,26 +60038,26 @@ var bN = (e) => typeof e == "string", xN = RegExp("\\{\\{([^{}]+)\\}\\}", "g"),
60037
60038
  "Data",
60038
60039
  "Search",
60039
60040
  "Other"
60040
- ], KN = (e) => GN.includes(e);
60041
+ ], qN = (e) => KN.includes(e);
60041
60042
  P.TEXT, P.ARRAY, P.BOOLEAN, P.DATE, P.DATE_TIME, P.NUMBER, P.NUMERIC, P.RAW_JSON, P.RICH_TEXT, P.SELECT, P.MULTI_SELECT;
60042
60043
  //#endregion
60043
60044
  //#region ../twenty-shared/dist/application.mjs
60044
- var qN = "public", JN = { js: "import { createRequire as __createRequire } from 'module';\nconst require = __createRequire(import.meta.url);" }, YN = ".twenty/output", XN = /* @__PURE__ */ function(e) {
60045
+ var JN = "public", YN = { js: "import { createRequire as __createRequire } from 'module';\nconst require = __createRequire(import.meta.url);" }, XN = ".twenty/output", ZN = /* @__PURE__ */ function(e) {
60045
60046
  return e.Object = "object", e.Field = "field", e.LogicFunction = "logicFunction", e.FrontComponent = "frontComponent", e.Role = "role", e.Skill = "skill", e.Agent = "agent", e.ConnectionProvider = "connectionProvider", e.View = "view", e.ViewField = "viewField", e.NavigationMenuItem = "navigationMenuItem", e.PageLayout = "pageLayout", e.PageLayoutTab = "pageLayoutTab", e.CommandMenuItem = "commandMenuItem", e;
60046
- }({}), ZN = `${qN}/cover.generated.png`, QN = async (e) => {
60047
+ }({}), QN = `${JN}/cover.generated.png`, $N = async (e) => {
60047
60048
  try {
60048
60049
  return await h(e), !0;
60049
60050
  } catch {
60050
60051
  return !1;
60051
60052
  }
60052
- }, $N = (e) => se(e), eP = (e) => _(e, { recursive: !0 }), tP = async (e) => {
60053
+ }, eP = (e) => se(e), tP = (e) => _(e, { recursive: !0 }), nP = async (e) => {
60053
60054
  await _(O(e), { recursive: !0 });
60054
60055
  try {
60055
60056
  await h(e);
60056
60057
  } catch {
60057
60058
  await x(e, "");
60058
60059
  }
60059
- }, nP = async (e) => {
60060
+ }, rP = async (e) => {
60060
60061
  let t;
60061
60062
  try {
60062
60063
  t = await y(e);
@@ -60071,60 +60072,60 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
60071
60072
  recursive: !0,
60072
60073
  force: !0
60073
60074
  })));
60074
- }, rP = (e, t) => g(e, t, { recursive: !0 }), iP = (e) => b(e, {
60075
+ }, iP = (e, t) => g(e, t, { recursive: !0 }), aP = (e) => b(e, {
60075
60076
  recursive: !0,
60076
60077
  force: !0
60077
- }), aP = async (e) => {
60078
+ }), oP = async (e) => {
60078
60079
  let t = await v(e, "utf-8");
60079
60080
  return JSON.parse(t);
60080
- }, oP = async (e, t) => {
60081
+ }, sP = async (e, t) => {
60081
60082
  await x(e, JSON.stringify(t, null, 2) + "\n");
60082
- }, sP = (e) => e.startsWith("http://") || e.startsWith("https://"), cP = async ({ appPath: e, manifest: t }) => {
60083
+ }, cP = (e) => e.startsWith("http://") || e.startsWith("https://"), lP = async ({ appPath: e, manifest: t }) => {
60083
60084
  let { logo: n, galleryImages: r } = t.application;
60084
- if (!N(n) || sP(n) || (r ?? []).length > 0) return {
60085
+ if (!N(n) || cP(n) || (r ?? []).length > 0) return {
60085
60086
  manifest: t,
60086
60087
  generatedAssets: []
60087
60088
  };
60088
60089
  let i = d(e, n);
60089
- if (!await QN(i)) return {
60090
+ if (!await $N(i)) return {
60090
60091
  manifest: t,
60091
60092
  generatedAssets: []
60092
60093
  };
60093
- let a = await VN({ logoBuffer: await v(i) }), o = {
60094
- filePath: ZN,
60095
- fileName: c(ZN),
60096
- fileType: u(ZN).replace(/^\./, ""),
60094
+ let a = await HN({ logoBuffer: await v(i) }), o = {
60095
+ filePath: QN,
60096
+ fileName: c(QN),
60097
+ fileType: u(QN).replace(/^\./, ""),
60097
60098
  checksum: null
60098
- }, s = [...t.publicAssets.filter((e) => e.filePath !== ZN), o];
60099
+ }, s = [...t.publicAssets.filter((e) => e.filePath !== QN), o];
60099
60100
  return {
60100
60101
  manifest: {
60101
60102
  ...t,
60102
60103
  application: {
60103
60104
  ...t.application,
60104
- galleryImages: [ZN]
60105
+ galleryImages: [QN]
60105
60106
  },
60106
60107
  publicAssets: s
60107
60108
  },
60108
60109
  generatedAssets: [{
60109
- relativePath: ZN,
60110
+ relativePath: QN,
60110
60111
  content: a
60111
60112
  }]
60112
60113
  };
60113
- }, lP = /^readme(\.[^.]+)?$/i, uP = (e) => {
60114
- let t = e.filter((e) => lP.test(e));
60114
+ }, uP = /^readme(\.[^.]+)?$/i, dP = (e) => {
60115
+ let t = e.filter((e) => uP.test(e));
60115
60116
  return t.find((e) => /\.md$/i.test(e)) ?? t[0];
60116
- }, dP = async (e) => {
60117
- let t = uP(await y(e));
60117
+ }, fP = async (e) => {
60118
+ let t = dP(await y(e));
60118
60119
  if (t === void 0) return;
60119
- let n = k(e, YN);
60120
- await eP(n), await rP(k(e, t), k(n, t));
60121
- }, fP = "twenty-client-sdk", pP = async ({ result: e, appPath: t, fileFolder: n, lastChecksums: r, onFileBuilt: i }) => {
60120
+ let n = k(e, XN);
60121
+ await tP(n), await iP(k(e, t), k(n, t));
60122
+ }, pP = "twenty-client-sdk", mP = async ({ result: e, appPath: t, fileFolder: n, lastChecksums: r, onFileBuilt: i }) => {
60122
60123
  let a = Object.keys(e.metafile?.outputs ?? {}).filter((e) => e.endsWith(".mjs"));
60123
60124
  for (let o of a) {
60124
60125
  let a = s.resolve(o), c = s.relative(t, a), l = e.metafile?.outputs?.[o]?.entryPoint || "", u = s.relative(t, l), d = await v(a), f = n === am.BuiltFrontComponent ? "sha256" : "md5", p = le.createHash(f).update(d).digest("hex");
60125
60126
  if (r.get(c) === p) continue;
60126
60127
  r.set(c, p);
60127
- let m = (e.metafile?.outputs?.[o])?.imports?.some((e) => e.external === !0 && e.path.startsWith(fP)) ?? !1;
60128
+ let m = (e.metafile?.outputs?.[o])?.imports?.some((e) => e.external === !0 && e.path.startsWith(pP)) ?? !1;
60128
60129
  i && await i({
60129
60130
  fileFolder: n,
60130
60131
  builtPath: c,
@@ -60133,14 +60134,14 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
60133
60134
  usesSdkClient: m
60134
60135
  });
60135
60136
  }
60136
- }, mP = async ({ appPath: e, sourcePaths: t, fileFolder: n, buildOptions: r, onFileBuilt: i }) => {
60137
+ }, hP = async ({ appPath: e, sourcePaths: t, fileFolder: n, buildOptions: r, onFileBuilt: i }) => {
60137
60138
  if (t.length === 0) return;
60138
60139
  let a = {};
60139
60140
  for (let n of t) {
60140
60141
  let t = n.replace(/\.tsx?$/, "");
60141
60142
  a[t] = s.join(e, n);
60142
60143
  }
60143
- await pP({
60144
+ await mP({
60144
60145
  result: await ue.build({
60145
60146
  ...r,
60146
60147
  entryPoints: a
@@ -60150,28 +60151,28 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
60150
60151
  lastChecksums: /* @__PURE__ */ new Map(),
60151
60152
  onFileBuilt: i
60152
60153
  });
60153
- }, hP = async (e, t, n) => {
60154
+ }, gP = async (e, t, n) => {
60154
60155
  let r = new Set(n), i = t.filter((e) => !r.has(e));
60155
60156
  for (let t of i) {
60156
60157
  let n = t.replace(/\.tsx?$/, ".mjs"), r = s.join(e, n), i = `${r}.map`;
60157
- await iP(r), await iP(i);
60158
+ await aP(r), await aP(i);
60158
60159
  }
60159
- }, gP = ["twenty-client-sdk/core", "twenty-client-sdk/metadata"], _P = ({ config: e, errors: t = [], warnings: n = [] }) => ({
60160
+ }, _P = ["twenty-client-sdk/core", "twenty-client-sdk/metadata"], vP = ({ config: e, errors: t = [], warnings: n = [] }) => ({
60160
60161
  success: t.length === 0,
60161
60162
  config: e,
60162
60163
  errors: t,
60163
60164
  warnings: n
60164
- }), vP = (e) => {
60165
+ }), yP = (e) => {
60165
60166
  let t = [], n = [];
60166
- return e.universalIdentifier || t.push("Agent must have a universalIdentifier"), e.name || t.push("Agent must have a name"), e.label || t.push("Agent must have a label"), e.prompt || t.push("Agent must have a prompt"), e.responseFormat || n.push(`Agent '${e.name}' has no responseFormat, it will default to { type: 'text' }. Set it explicitly to control the agent's output shape.`), _P({
60167
+ return e.universalIdentifier || t.push("Agent must have a universalIdentifier"), e.name || t.push("Agent must have a name"), e.label || t.push("Agent must have a label"), e.prompt || t.push("Agent must have a prompt"), e.responseFormat || n.push(`Agent '${e.name}' has no responseFormat, it will default to { type: 'text' }. Set it explicitly to control the agent's output shape.`), vP({
60167
60168
  config: e,
60168
60169
  errors: t,
60169
60170
  warnings: n
60170
60171
  });
60171
- }, yP = (e) => e.startsWith("http://") || e.startsWith("https://"), bP = (e) => {
60172
+ }, bP = (e) => {
60172
60173
  let t = [], n = e.logo;
60173
- n && yP(n) && (t.push(`Application logo "${n}" is an external URL. External asset URLs are no longer supported and are ignored. Bundle the image in your public/ folder instead.`), n = void 0), !n && e.logoUrl && (yP(e.logoUrl) ? t.push(`Application logoUrl "${e.logoUrl}" is an external URL. External asset URLs are no longer supported and are ignored. Bundle the image in your public/ folder and reference it via logo.`) : (t.push("`logoUrl` is deprecated. Use `logo` to reference an image bundled in your public/ folder."), n = e.logoUrl)), !e.galleryImages && (e.screenshots?.length ?? 0) > 0 && t.push("`screenshots` is deprecated. Use `galleryImages` referencing images bundled in your public/ folder.");
60174
- let r = (e.galleryImages ?? e.screenshots ?? []).filter((e) => yP(e) ? (t.push(`Gallery image "${e}" is an external URL. External asset URLs are no longer supported and are ignored.`), !1) : !0);
60174
+ n && gN(n) && (t.push(`Application logo "${n}" is an external URL. External asset URLs are no longer supported and are ignored. Bundle the image in your public/ folder instead.`), n = void 0), !n && e.logoUrl && (gN(e.logoUrl) ? t.push(`Application logoUrl "${e.logoUrl}" is an external URL. External asset URLs are no longer supported and are ignored. Bundle the image in your public/ folder and reference it via logo.`) : (t.push("`logoUrl` is deprecated. Use `logo` to reference an image bundled in your public/ folder."), n = e.logoUrl)), !e.galleryImages && (e.screenshots?.length ?? 0) > 0 && t.push("`screenshots` is deprecated. Use `galleryImages` referencing images bundled in your public/ folder.");
60175
+ let r = (e.galleryImages ?? e.screenshots ?? []).filter((e) => gN(e) ? (t.push(`Gallery image "${e}" is an external URL. External asset URLs are no longer supported and are ignored.`), !1) : !0);
60175
60176
  return {
60176
60177
  logo: n,
60177
60178
  galleryImages: r,
@@ -60183,9 +60184,9 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
60183
60184
  for (let [n, r] of Object.entries(e.applicationVariables ?? {})) (r.type === P.SELECT || r.type === P.MULTI_SELECT) && !FA(r.options) && t.push(`Application variable "${n}" of type ${r.type} must define non-empty options`);
60184
60185
  e.defaultRoleUniversalIdentifier && n.push("`defaultRoleUniversalIdentifier` on defineApplication() is deprecated. Use defineApplicationRole() in your role file instead.");
60185
60186
  let { category: r } = e;
60186
- C(r) && !KN(r) && n.push(`Application category "${r}" is not a known ApplicationCategory (${GN.join(", ")}). Arbitrary category strings are kept for backward compatibility and may be removed. Ask for a new category at https://github.com/twentyhq/twenty.`);
60187
+ C(r) && !qN(r) && n.push(`Application category "${r}" is not a known ApplicationCategory (${KN.join(", ")}). Arbitrary category strings are kept for backward compatibility and may be removed. Ask for a new category at https://github.com/twentyhq/twenty.`);
60187
60188
  let i = bP(e);
60188
- return n.push(...i.warnings), _P({
60189
+ return n.push(...i.warnings), vP({
60189
60190
  config: {
60190
60191
  ...e,
60191
60192
  logo: i.logo,
@@ -60211,14 +60212,14 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
60211
60212
  let t = [];
60212
60213
  e.objectUniversalIdentifier || t.push("Field must have an objectUniversalIdentifier");
60213
60214
  let n = EP([e]);
60214
- return t.push(...n), _P({
60215
+ return t.push(...n), vP({
60215
60216
  config: e,
60216
60217
  errors: t,
60217
60218
  warnings: TP([e])
60218
60219
  });
60219
60220
  }, OP = (e) => {
60220
60221
  let t = [], n = [];
60221
- return e.universalIdentifier || t.push("CommandMenuItem must have a universalIdentifier"), e.label || t.push("CommandMenuItem must have a label"), e.frontComponentUniversalIdentifier || t.push("CommandMenuItem must have a frontComponentUniversalIdentifier (the universalIdentifier of the front component this command opens)"), e.icon && n.push("CommandMenuItem icon will be ignored in favor of application icon, you should remove it"), _P({
60222
+ return e.universalIdentifier || t.push("CommandMenuItem must have a universalIdentifier"), e.label || t.push("CommandMenuItem must have a label"), e.frontComponentUniversalIdentifier || t.push("CommandMenuItem must have a frontComponentUniversalIdentifier (the universalIdentifier of the front component this command opens)"), e.icon && n.push("CommandMenuItem icon will be ignored in favor of application icon, you should remove it"), vP({
60222
60223
  config: e,
60223
60224
  errors: t,
60224
60225
  warnings: n
@@ -60237,7 +60238,7 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
60237
60238
  });
60238
60239
  }, jP = Z("pageType"), MP = Z("isInSidePanel"), NP = Z("isDashboardPageLayoutInEditMode"), PP = Z("isLayoutCustomizationModeEnabled"), FP = Z("favoriteRecordIds"), IP = Z("isSelectAll"), LP = Z("hasAnySoftDeleteFilterOnView"), RP = Z("numberOfSelectedRecords"), zP = Z("objectPermissions"), BP = Z("selectedRecords"), VP = Z("featureFlags"), HP = Z("targetObjectReadPermissions"), UP = Z("targetObjectWritePermissions"), WP = Z("canImpersonate"), GP = Z("canAccessFullAdminPanel"), KP = Z("objectMetadataItem"), qP = Z("objectMetadataLabel"), JP = Z("isDefined"), YP = Z("isNonEmptyString"), XP = Z("includes"), ZP = Z("every"), QP = Z("everyDefined"), $P = Z("everyEquals"), eF = Z("some"), tF = Z("someDefined"), nF = Z("someEquals"), rF = Z("none"), iF = Z("noneDefined"), aF = Z("noneEquals"), oF = Z("someNonEmptyString"), sF = Z("includesEvery"), cF = (e) => {
60239
60240
  let t = [];
60240
- return e.universalIdentifier || t.push("Front component must have a universalIdentifier"), e.component || t.push("Front component must have a component"), typeof e.component != "function" && t.push("Front component component must be a React component"), _P({
60241
+ return e.universalIdentifier || t.push("Front component must have a universalIdentifier"), e.component || t.push("Front component must have a component"), typeof e.component != "function" && t.push("Front component component must be a React component"), vP({
60241
60242
  config: e,
60242
60243
  errors: t
60243
60244
  });
@@ -60249,25 +60250,25 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
60249
60250
  let n = e.fields.map((e) => `${e.fieldUniversalIdentifier}::${e.subFieldName ?? ""}`);
60250
60251
  new Set(n).size !== n.length && t.push("Index lists the same column twice");
60251
60252
  }
60252
- return _P({
60253
+ return vP({
60253
60254
  config: e,
60254
60255
  errors: t
60255
60256
  });
60256
60257
  }, dF = (e) => {
60257
60258
  let t = [];
60258
- return e.universalIdentifier || t.push("Logic function must have a universalIdentifier"), e.handler || t.push("Logic function must have a handler"), typeof e.handler != "function" && t.push("Logic function handler must be a function"), e.httpRouteTriggerSettings && (e.httpRouteTriggerSettings.path || t.push("Route trigger must have a path"), e.httpRouteTriggerSettings.httpMethod || t.push("Route trigger must have an httpMethod")), e.cronTriggerSettings && (e.cronTriggerSettings.pattern || t.push("Cron trigger must have a pattern")), e.databaseEventTriggerSettings && (e.databaseEventTriggerSettings.eventName || t.push("Database event trigger must have an eventName")), _P({
60259
+ return e.universalIdentifier || t.push("Logic function must have a universalIdentifier"), e.handler || t.push("Logic function must have a handler"), typeof e.handler != "function" && t.push("Logic function handler must be a function"), e.httpRouteTriggerSettings && (e.httpRouteTriggerSettings.path || t.push("Route trigger must have a path"), e.httpRouteTriggerSettings.httpMethod || t.push("Route trigger must have an httpMethod")), e.cronTriggerSettings && (e.cronTriggerSettings.pattern || t.push("Cron trigger must have a pattern")), e.databaseEventTriggerSettings && (e.databaseEventTriggerSettings.eventName || t.push("Database event trigger must have an eventName")), vP({
60259
60260
  config: e,
60260
60261
  errors: t
60261
60262
  });
60262
60263
  }, fF = (e) => {
60263
60264
  let t = [];
60264
- return e.universalIdentifier || t.push("Post install logic function must have a universalIdentifier"), e.handler || t.push("Post install logic function must have a handler"), typeof e.handler != "function" && t.push("Post install logic function handler must be a function"), _P({
60265
+ return e.universalIdentifier || t.push("Post install logic function must have a universalIdentifier"), e.handler || t.push("Post install logic function must have a handler"), typeof e.handler != "function" && t.push("Post install logic function handler must be a function"), vP({
60265
60266
  config: e,
60266
60267
  errors: t
60267
60268
  });
60268
60269
  }, pF = (e) => {
60269
60270
  let t = [];
60270
- return e.universalIdentifier || t.push("Pre install logic function must have a universalIdentifier"), e.handler || t.push("Pre install logic function must have a handler"), typeof e.handler != "function" && t.push("Pre install logic function handler must be a function"), _P({
60271
+ return e.universalIdentifier || t.push("Pre install logic function must have a universalIdentifier"), e.handler || t.push("Pre install logic function must have a handler"), typeof e.handler != "function" && t.push("Pre install logic function handler must be a function"), vP({
60271
60272
  config: e,
60272
60273
  errors: t
60273
60274
  });
@@ -60277,13 +60278,13 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
60277
60278
  let n = e.oauth;
60278
60279
  n ? (n.authorizationEndpoint || t.push("OAuth connection provider must have an authorizationEndpoint"), n.tokenEndpoint || t.push("OAuth connection provider must have a tokenEndpoint"), n.clientIdVariable || t.push("OAuth connection provider must reference a clientIdVariable (key of a serverVariable on defineApplication)"), n.clientSecretVariable || t.push("OAuth connection provider must reference a clientSecretVariable (key of a serverVariable on defineApplication)"), Array.isArray(n.scopes) || t.push("OAuth connection provider must declare a scopes array")) : t.push("Connection provider with type 'oauth' must declare an `oauth` config block");
60279
60280
  }
60280
- return _P({
60281
+ return vP({
60281
60282
  config: e,
60282
60283
  errors: t
60283
60284
  });
60284
60285
  }, vF = (e) => {
60285
60286
  let t = [];
60286
- return e.universalIdentifier || t.push("NavigationMenuItem must have a universalIdentifier"), typeof e.position != "number" && t.push("NavigationMenuItem must have a position"), _P({
60287
+ return e.universalIdentifier || t.push("NavigationMenuItem must have a universalIdentifier"), typeof e.position != "number" && t.push("NavigationMenuItem must have a position"), vP({
60287
60288
  config: e,
60288
60289
  errors: t
60289
60290
  });
@@ -60291,7 +60292,7 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
60291
60292
  let t = [];
60292
60293
  e.universalIdentifier || t.push("Object must have a universalIdentifier"), e.nameSingular || t.push("Object must have a nameSingular"), e.namePlural || t.push("Object must have a namePlural"), e.labelSingular || t.push("Object must have a labelSingular"), e.labelPlural || t.push("Object must have a labelPlural");
60293
60294
  let n = EP(e.fields);
60294
- return t.push(...n), N(e.labelIdentifierFieldMetadataUniversalIdentifier) && !e.fields.some((t) => t.universalIdentifier === e.labelIdentifierFieldMetadataUniversalIdentifier) && t.push("labelIdentifierFieldMetadataUniversalIdentifier must reference a field defined in the fields array"), _P({
60295
+ return t.push(...n), N(e.labelIdentifierFieldMetadataUniversalIdentifier) && !e.fields.some((t) => t.universalIdentifier === e.labelIdentifierFieldMetadataUniversalIdentifier) && t.push("labelIdentifierFieldMetadataUniversalIdentifier must reference a field defined in the fields array"), vP({
60295
60296
  config: e,
60296
60297
  errors: t,
60297
60298
  warnings: TP(e.fields)
@@ -60305,8 +60306,8 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
60305
60306
  "updatedBy",
60306
60307
  "position",
60307
60308
  "searchVector"
60308
- ], Q = (e) => Object.fromEntries(bF.map((t) => [t, { universalIdentifier: WN({
60309
- applicationUniversalIdentifier: HN,
60309
+ ], Q = (e) => Object.fromEntries(bF.map((t) => [t, { universalIdentifier: GN({
60310
+ applicationUniversalIdentifier: UN,
60310
60311
  objectUniversalIdentifier: e,
60311
60312
  name: t
60312
60313
  }) }])), xF = {
@@ -61308,6 +61309,7 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
61308
61309
  ...Q("20202020-62be-406c-b9ca-8caa50d51392"),
61309
61310
  name: { universalIdentifier: "20202020-b3d3-478f-acc0-5d901e725b20" },
61310
61311
  lastPublishedVersionId: { universalIdentifier: "20202020-326a-4fba-8639-3456c0a169e8" },
61312
+ coreWorkflowId: { universalIdentifier: "20202020-058a-42ad-8eb8-0662a5552aad" },
61311
61313
  statuses: { universalIdentifier: "20202020-357c-4432-8c50-8c31b4a552d9" },
61312
61314
  versions: { universalIdentifier: "20202020-9432-416e-8f3c-27ee3153d099" },
61313
61315
  runs: { universalIdentifier: "20202020-759b-4340-b58b-e73595c4df4f" },
@@ -61426,6 +61428,7 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
61426
61428
  status: { universalIdentifier: "20202020-5a34-440e-8a25-39d8c3d1d4cf" },
61427
61429
  runs: { universalIdentifier: "20202020-1d08-46df-901a-85045f18099a" },
61428
61430
  steps: { universalIdentifier: "20202020-5988-4a64-b94a-1f9b7b989039" },
61431
+ coreWorkflowVersionId: { universalIdentifier: "20202020-58b4-46e8-b6d2-f1f3c74cf7f4" },
61429
61432
  timelineActivities: { universalIdentifier: "20202020-fcb0-4695-b17e-3b43a421c633" }
61430
61433
  },
61431
61434
  indexes: {
@@ -61881,20 +61884,20 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
61881
61884
  if (e.universalIdentifier || t.push("PageLayout must have a universalIdentifier"), e.name || t.push("PageLayout must have a name"), e.type || t.push("PageLayout must have a type"), e.tabs) {
61882
61885
  for (let n of e.tabs) if (n.universalIdentifier || t.push("PageLayoutTab must have a universalIdentifier"), n.title || t.push("PageLayoutTab must have a title"), n.widgets) for (let e of n.widgets) e.universalIdentifier || t.push("PageLayoutWidget must have a universalIdentifier"), e.title || t.push("PageLayoutWidget must have a title"), e.type || t.push("PageLayoutWidget must have a type");
61883
61886
  }
61884
- return _P({
61887
+ return vP({
61885
61888
  config: e,
61886
61889
  errors: t
61887
61890
  });
61888
61891
  }, wF = (e) => {
61889
61892
  let t = [];
61890
61893
  if (e.universalIdentifier || t.push("PageLayoutTab must have a universalIdentifier"), e.title || t.push("PageLayoutTab must have a title"), e.pageLayoutUniversalIdentifier || t.push("PageLayoutTab must have a pageLayoutUniversalIdentifier when defined standalone (use the parent page layout universalIdentifier)"), e.widgets) for (let n of e.widgets) n.universalIdentifier || t.push("PageLayoutWidget must have a universalIdentifier"), n.title || t.push("PageLayoutWidget must have a title"), n.type || t.push("PageLayoutWidget must have a type");
61891
- return _P({
61894
+ return vP({
61892
61895
  config: e,
61893
61896
  errors: t
61894
61897
  });
61895
61898
  }, TF = (e) => {
61896
61899
  let t = [];
61897
- return e.universalIdentifier || t.push("Permission flag must have a universalIdentifier"), e.key || t.push("Permission flag must have a key"), e.label || t.push("Permission flag must have a label"), _P({
61900
+ return e.universalIdentifier || t.push("Permission flag must have a universalIdentifier"), e.key || t.push("Permission flag must have a key"), e.label || t.push("Permission flag must have a label"), vP({
61898
61901
  config: e,
61899
61902
  errors: t
61900
61903
  });
@@ -61906,13 +61909,13 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
61906
61909
  if (e.rowLevelPermissionPredicateGroups) for (let r of e.rowLevelPermissionPredicateGroups) r.universalIdentifier ? n.has(r.universalIdentifier) ? t.push(`Duplicate row level permission predicate group universalIdentifier "${r.universalIdentifier}"`) : n.add(r.universalIdentifier) : t.push("Row level permission predicate group must have a universalIdentifier"), r.objectUniversalIdentifier || t.push("Row level permission predicate group must have an objectUniversalIdentifier"), r.logicalOperator || t.push("Row level permission predicate group must have a logicalOperator");
61907
61910
  let r = /* @__PURE__ */ new Set();
61908
61911
  if (e.rowLevelPermissionPredicates) for (let i of e.rowLevelPermissionPredicates) i.universalIdentifier ? r.has(i.universalIdentifier) ? t.push(`Duplicate row level permission predicate universalIdentifier "${i.universalIdentifier}"`) : r.add(i.universalIdentifier) : t.push("Row level permission predicate must have a universalIdentifier"), i.objectUniversalIdentifier || t.push("Row level permission predicate must have an objectUniversalIdentifier"), i.fieldUniversalIdentifier || t.push("Row level permission predicate must have a fieldUniversalIdentifier"), i.operand || t.push("Row level permission predicate must have an operand"), i.predicateGroupUniversalIdentifier && !n.has(i.predicateGroupUniversalIdentifier) && t.push(`Row level permission predicate references unknown predicate group "${i.predicateGroupUniversalIdentifier}"`);
61909
- return _P({
61912
+ return vP({
61910
61913
  config: e,
61911
61914
  errors: t
61912
61915
  });
61913
61916
  }, DF = (e) => EF(e), OF = (e) => {
61914
61917
  let t = [];
61915
- return e.universalIdentifier || t.push("Skill must have a universalIdentifier"), e.name || t.push("Skill must have a name"), e.label || t.push("Skill must have a label"), e.content || t.push("Skill must have content"), _P({
61918
+ return e.universalIdentifier || t.push("Skill must have a universalIdentifier"), e.name || t.push("Skill must have a name"), e.label || t.push("Skill must have a label"), e.content || t.push("Skill must have content"), vP({
61916
61919
  config: e,
61917
61920
  errors: t
61918
61921
  });
@@ -61924,13 +61927,13 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
61924
61927
  if (e.groups) for (let n of e.groups) n.universalIdentifier || t.push("ViewGroup must have a universalIdentifier");
61925
61928
  if (e.fieldGroups) for (let n of e.fieldGroups) n.universalIdentifier || t.push("ViewFieldGroup must have a universalIdentifier");
61926
61929
  if (e.sorts) for (let n of e.sorts) n.universalIdentifier || t.push("ViewSort must have a universalIdentifier"), n.fieldMetadataUniversalIdentifier || t.push("ViewSort must have a fieldMetadataUniversalIdentifier"), n.direction !== Sm.ASC && n.direction !== Sm.DESC && t.push(`ViewSort direction must be '${Sm.ASC}' or '${Sm.DESC}'`);
61927
- return _P({
61930
+ return vP({
61928
61931
  config: e,
61929
61932
  errors: t
61930
61933
  });
61931
61934
  }, AF = (e) => {
61932
61935
  let t = [];
61933
- return e.universalIdentifier || t.push("View field must have a universalIdentifier"), e.viewUniversalIdentifier || t.push("View field must have a viewUniversalIdentifier"), e.fieldMetadataUniversalIdentifier || t.push("View field must have a fieldMetadataUniversalIdentifier"), _P({
61936
+ return e.universalIdentifier || t.push("View field must have a universalIdentifier"), e.viewUniversalIdentifier || t.push("View field must have a viewUniversalIdentifier"), e.fieldMetadataUniversalIdentifier || t.push("View field must have a fieldMetadataUniversalIdentifier"), vP({
61934
61937
  config: e,
61935
61938
  errors: t
61936
61939
  });
@@ -61964,8 +61967,8 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
61964
61967
  ViewVisibility: () => wm,
61965
61968
  canAccessFullAdminPanel: () => GP,
61966
61969
  canImpersonate: () => WP,
61967
- createValidationResult: () => _P,
61968
- defineAgent: () => vP,
61970
+ createValidationResult: () => vP,
61971
+ defineAgent: () => yP,
61969
61972
  defineApplication: () => xP,
61970
61973
  defineApplicationRole: () => DF,
61971
61974
  defineCommandMenuItem: () => OP,
@@ -61990,6 +61993,7 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
61990
61993
  everyEquals: () => $P,
61991
61994
  favoriteRecordIds: () => FP,
61992
61995
  featureFlags: () => VP,
61996
+ getFieldUniversalIdentifier: () => GN,
61993
61997
  hasAnySoftDeleteFilterOnView: () => LP,
61994
61998
  includes: () => XP,
61995
61999
  includesEvery: () => sF,
@@ -62127,14 +62131,14 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
62127
62131
  if (!this.isRestarting) {
62128
62132
  this.isRestarting = !0;
62129
62133
  try {
62130
- await this.close(), await hP(s.join(this.appPath, YN), this.sourcePaths, e), this.sourcePaths = e, this.lastChecksums.clear(), this.sourcePaths.length > 0 && await this.createContext();
62134
+ await this.close(), await gP(s.join(this.appPath, XN), this.sourcePaths, e), this.sourcePaths = e, this.lastChecksums.clear(), this.sourcePaths.length > 0 && await this.createContext();
62131
62135
  } finally {
62132
62136
  this.isRestarting = !1;
62133
62137
  }
62134
62138
  }
62135
62139
  }
62136
62140
  async createContext() {
62137
- let e = s.join(this.appPath, YN), t = {};
62141
+ let e = s.join(this.appPath, XN), t = {};
62138
62142
  for (let e of this.sourcePaths) {
62139
62143
  let n = e.replace(/\.tsx?$/, "");
62140
62144
  t[n] = s.join(this.appPath, e);
@@ -62151,7 +62155,7 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
62151
62155
  })));
62152
62156
  return;
62153
62157
  }
62154
- await pP({
62158
+ await mP({
62155
62159
  result: e,
62156
62160
  appPath: this.appPath,
62157
62161
  fileFolder: this.config.fileFolder,
@@ -62192,12 +62196,12 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
62192
62196
  fileFolder: am.BuiltLogicFunction,
62193
62197
  platform: "node",
62194
62198
  extraPlugins: [WF(e.appPath, e.shouldSkipTypecheck), RF()],
62195
- banner: JN
62199
+ banner: YN
62196
62200
  }
62197
62201
  }), JF = (e) => new KF({
62198
62202
  ...e,
62199
62203
  config: {
62200
- externalModules: gP,
62204
+ externalModules: _P,
62201
62205
  fileFolder: am.BuiltFrontComponent,
62202
62206
  jsx: "automatic",
62203
62207
  extraPlugins: [
@@ -62211,7 +62215,7 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
62211
62215
  splitting: !1,
62212
62216
  format: "esm",
62213
62217
  outExtension: { ".js": ".mjs" },
62214
- external: gP,
62218
+ external: _P,
62215
62219
  jsx: "automatic",
62216
62220
  sourcemap: !0,
62217
62221
  metafile: !0,
@@ -62221,19 +62225,19 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
62221
62225
  plugins: [...a()]
62222
62226
  }), XF = "locales", ZF = (e) => Object.prototype.hasOwnProperty.call(km, e), QF = async (e) => {
62223
62227
  let t = s.join(e, XF);
62224
- if (!await QN(t)) return {};
62228
+ if (!await $N(t)) return {};
62225
62229
  let n = (await y(t)).filter((e) => e.endsWith(".json")), r = {};
62226
62230
  for (let e of n) {
62227
62231
  let n = s.basename(e, ".json");
62228
62232
  if (n === "en" || !ZF(n)) continue;
62229
- let i = await aP(s.join(t, e)) ?? {}, a = {};
62233
+ let i = await oP(s.join(t, e)) ?? {}, a = {};
62230
62234
  for (let [e, t] of Object.entries(i)) typeof t == "string" && t.length > 0 && (a[e] = t);
62231
62235
  Object.keys(a).length > 0 && (r[n] = a);
62232
62236
  }
62233
62237
  return r;
62234
62238
  }, $F = "__twentySdkFrontComponentTranslations__", eI = async (e) => {
62235
- let t = d(e.appPath, YN);
62236
- await eP(t), await nP(t);
62239
+ let t = d(e.appPath, XN);
62240
+ await tP(t), await rP(t);
62237
62241
  let n = /* @__PURE__ */ new Map(), r = (e) => {
62238
62242
  n.set(e.builtPath, {
62239
62243
  checksum: e.checksum,
@@ -62243,7 +62247,7 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
62243
62247
  usesSdkClient: e.usesSdkClient
62244
62248
  });
62245
62249
  }, { logicFunctions: i, frontComponents: o } = e.filePaths, s = await QF(e.appPath), c = Object.keys(s).length ? { js: `globalThis[${JSON.stringify($F)}]=${JSON.stringify(s)};` } : void 0;
62246
- await mP({
62250
+ await hP({
62247
62251
  appPath: e.appPath,
62248
62252
  sourcePaths: i,
62249
62253
  fileFolder: am.BuiltLogicFunction,
@@ -62252,24 +62256,24 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
62252
62256
  splitting: !1,
62253
62257
  format: "esm",
62254
62258
  platform: "node",
62255
- outdir: d(e.appPath, YN),
62259
+ outdir: d(e.appPath, XN),
62256
62260
  outExtension: { ".js": ".mjs" },
62257
62261
  external: GF,
62258
62262
  tsconfig: d(e.appPath, "tsconfig.json"),
62259
62263
  sourcemap: !0,
62260
62264
  metafile: !0,
62261
62265
  logLevel: "silent",
62262
- banner: JN,
62266
+ banner: YN,
62263
62267
  plugins: [RF()]
62264
62268
  },
62265
62269
  onFileBuilt: r
62266
- }), await mP({
62270
+ }), await hP({
62267
62271
  appPath: e.appPath,
62268
62272
  sourcePaths: o,
62269
62273
  fileFolder: am.BuiltFrontComponent,
62270
62274
  buildOptions: {
62271
62275
  ...YF(),
62272
- outdir: d(e.appPath, YN),
62276
+ outdir: d(e.appPath, XN),
62273
62277
  tsconfig: d(e.appPath, "tsconfig.json"),
62274
62278
  jsx: "automatic",
62275
62279
  sourcemap: !0,
@@ -62287,7 +62291,7 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
62287
62291
  }), await nI({
62288
62292
  appPath: e.appPath,
62289
62293
  fileFolder: am.Dependencies,
62290
- filePaths: ["package.json", "yarn.lock"].filter((t) => $N(d(e.appPath, t))),
62294
+ filePaths: ["package.json", "yarn.lock"].filter((t) => eP(d(e.appPath, t))),
62291
62295
  collectFileBuilt: r
62292
62296
  });
62293
62297
  for (let t of e.generatedAssets ?? []) await tI({
@@ -62295,10 +62299,10 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
62295
62299
  generatedAsset: t,
62296
62300
  collectFileBuilt: r
62297
62301
  });
62298
- return await dP(e.appPath), { builtFileInfos: n };
62302
+ return await fP(e.appPath), { builtFileInfos: n };
62299
62303
  }, tI = async ({ appPath: e, generatedAsset: t, collectFileBuilt: n }) => {
62300
- let r = d(YN, t.relativePath), i = d(e, r);
62301
- await eP(l(i)), await x(i, t.content);
62304
+ let r = d(XN, t.relativePath), i = d(e, r);
62305
+ await tP(l(i)), await x(i, t.content);
62302
62306
  let a = le.createHash("md5").update(t.content).digest("hex");
62303
62307
  n({
62304
62308
  fileFolder: am.PublicAsset,
@@ -62309,9 +62313,9 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
62309
62313
  }, nI = async ({ appPath: e, fileFolder: t, filePaths: n, collectFileBuilt: r }) => {
62310
62314
  for (let i of n) {
62311
62315
  let n = d(e, i);
62312
- if (!await QN(n)) continue;
62313
- let a = d(YN, i), o = d(e, a);
62314
- await eP(l(o)), await rP(n, o);
62316
+ if (!await $N(n)) continue;
62317
+ let a = d(XN, i), o = d(e, a);
62318
+ await tP(l(o)), await iP(n, o);
62315
62319
  let s = await v(o);
62316
62320
  r({
62317
62321
  fileFolder: t,
@@ -62409,7 +62413,7 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
62409
62413
  filePath: e,
62410
62414
  appPath: t
62411
62415
  }), e), yI = async ({ filePath: e, appPath: t }) => {
62412
- let n = s.join(t, "tsconfig.json"), r = await QN(n), i = xe(s.join(t, "package.json")), a, o;
62416
+ let n = s.join(t, "tsconfig.json"), r = await $N(n), i = xe(s.join(t, "package.json")), a, o;
62413
62417
  try {
62414
62418
  a = s.dirname(i.resolve("react/package.json")), o = s.dirname(i.resolve("react-dom/package.json"));
62415
62419
  } catch {}
@@ -62526,11 +62530,11 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
62526
62530
  }, OI = ({ objectConfig: e, applicationUniversalIdentifier: t }) => {
62527
62531
  let n = [], r = [];
62528
62532
  for (let i of EI) {
62529
- let a = xF[i.standardObjectKey], o = WN({
62533
+ let a = xF[i.standardObjectKey], o = GN({
62530
62534
  applicationUniversalIdentifier: t,
62531
62535
  objectUniversalIdentifier: e.universalIdentifier,
62532
62536
  name: i.fieldName
62533
- }), s = WN({
62537
+ }), s = GN({
62534
62538
  applicationUniversalIdentifier: t,
62535
62539
  objectUniversalIdentifier: a.universalIdentifier,
62536
62540
  name: i.targetFieldName(e)
@@ -62565,7 +62569,7 @@ var qN = "public", JN = { js: "import { createRequire as __createRequire } from
62565
62569
  isNullable: !0,
62566
62570
  defaultValue: null,
62567
62571
  type: P.TEXT,
62568
- universalIdentifier: WN({
62572
+ universalIdentifier: GN({
62569
62573
  applicationUniversalIdentifier: t,
62570
62574
  objectUniversalIdentifier: e.universalIdentifier,
62571
62575
  name: "name"
@@ -62713,7 +62717,7 @@ GI({
62713
62717
  //#endregion
62714
62718
  //#region ../twenty-shared/dist/logic-function.mjs
62715
62719
  var KI = async (e) => {
62716
- let { getFunctionInputSchema: t } = await import("./get-function-input-schema-GNk3NRLJ-DSwo3Odm.mjs"), n = t(e)[0];
62720
+ let { getFunctionInputSchema: t } = await import("./get-function-input-schema-GNk3NRLJ-DqaAG8sQ.mjs"), n = t(e)[0];
62717
62721
  return n?.type === "object" && N(n.properties) ? {
62718
62722
  type: "object",
62719
62723
  properties: n.properties
@@ -62786,7 +62790,7 @@ var KI = async (e) => {
62786
62790
  "**/.twenty/**"
62787
62791
  ],
62788
62792
  onlyFiles: !0
62789
- }), nL = async (e) => await Se([`${qN}/**/*`], {
62793
+ }), nL = async (e) => await Se([`${JN}/**/*`], {
62790
62794
  cwd: e,
62791
62795
  absolute: !0,
62792
62796
  onlyFiles: !0
@@ -63143,8 +63147,8 @@ var KI = async (e) => {
63143
63147
  "twenty-client-sdk": "\"twenty-client-sdk\" is listed under \"dependencies\" in package.json. It is provided at runtime by Twenty's injected SDK and should be moved to \"devDependencies\"."
63144
63148
  }, vL = async (e) => {
63145
63149
  let t = s.join(e, "package.json");
63146
- if (!await QN(t)) return [];
63147
- let n = await aP(t);
63150
+ if (!await $N(t)) return [];
63151
+ let n = await oP(t);
63148
63152
  return Object.entries(_L).filter(([e]) => N(n.dependencies?.[e])).map(([, e]) => e);
63149
63153
  }, yL = async (e) => {
63150
63154
  let t = await iL(e);
@@ -63171,7 +63175,7 @@ var KI = async (e) => {
63171
63175
  }, bL = ({ manifest: e, builtFileInfos: t }) => {
63172
63176
  let n = structuredClone(e);
63173
63177
  for (let [e, { fileFolder: r, checksum: i }] of t.entries()) {
63174
- let a = f(YN, e);
63178
+ let a = f(XN, e);
63175
63179
  if (r === am.BuiltLogicFunction) {
63176
63180
  let e = n.logicFunctions, t = e.findIndex((e) => e.builtHandlerPath === a);
63177
63181
  if (t === -1) continue;
@@ -63212,10 +63216,10 @@ var KI = async (e) => {
63212
63216
  }
63213
63217
  return n;
63214
63218
  }, xL = async (e, t) => {
63215
- let n = s.join(e, YN);
63216
- await eP(n);
63219
+ let n = s.join(e, XN);
63220
+ await tP(n);
63217
63221
  let r = s.join(n, "manifest.json");
63218
- return await oP(r, t), r;
63222
+ return await sP(r, t), r;
63219
63223
  }, SL = (e) => {
63220
63224
  let t = e.indexOf("");
63221
63225
  return t === -1 ? { message: e } : {
@@ -63224,7 +63228,7 @@ var KI = async (e) => {
63224
63228
  };
63225
63229
  }, CL = "", wL = (e, t = "") => be("sha256").update(e + CL + (t || "")).digest("base64").slice(0, 6), TL = (e) => Object.prototype.hasOwnProperty.call(km, e), EL = async (e) => {
63226
63230
  let t = s.join(e, XF);
63227
- if (!await QN(t)) return;
63231
+ if (!await $N(t)) return;
63228
63232
  let n = (await y(t)).filter((e) => e.endsWith(".json")), r = {};
63229
63233
  for (let e of n) {
63230
63234
  let n = s.basename(e, ".json");
@@ -63233,7 +63237,7 @@ var KI = async (e) => {
63233
63237
  console.warn(`Skipping translation file "${e}": "${n}" is not a supported locale.`);
63234
63238
  continue;
63235
63239
  }
63236
- let i = await aP(s.join(t, e)) ?? {}, a = {}, o = /* @__PURE__ */ new Map();
63240
+ let i = await oP(s.join(t, e)) ?? {}, a = {}, o = /* @__PURE__ */ new Map();
63237
63241
  for (let [t, n] of Object.entries(i)) {
63238
63242
  if (typeof n != "string" || n.length === 0) continue;
63239
63243
  let { message: r, context: i } = SL(t), s = wL(r, i), c = o.get(s);
@@ -63293,7 +63297,7 @@ var KI = async (e) => {
63293
63297
  };
63294
63298
  let { filePaths: i } = r;
63295
63299
  for (let e of r.warnings) n?.(`⚠ ${e}`);
63296
- let { manifest: a, generatedAssets: o } = await cP({
63300
+ let { manifest: a, generatedAssets: o } = await lP({
63297
63301
  appPath: t,
63298
63302
  manifest: r.manifest
63299
63303
  }).catch((e) => (n?.(`⚠ Skipped cover image generation: ${e instanceof Error ? e.message : String(e)}`), {
@@ -63568,7 +63572,7 @@ var KI = async (e) => {
63568
63572
  return e.getActiveRemote();
63569
63573
  }
63570
63574
  async readRawConfig() {
63571
- await tP(this.configPath);
63575
+ await nP(this.configPath);
63572
63576
  let e = await v(this.configPath, "utf8"), t = JSON.parse(e || "{}");
63573
63577
  return this.migrateConfigIfNeeded(t);
63574
63578
  }
@@ -63599,7 +63603,7 @@ var KI = async (e) => {
63599
63603
  }
63600
63604
  n && !r.remotes[WL] && (r.remotes[WL] = a(e));
63601
63605
  let l = e.defaultWorkspace;
63602
- return l && (r.defaultRemote = l === "default" ? WL : l), await eP(o.dirname(this.configPath)), await x(this.configPath, JSON.stringify(r, null, 2)), r;
63606
+ return l && (r.defaultRemote = l === "default" ? WL : l), await tP(o.dirname(this.configPath)), await x(this.configPath, JSON.stringify(r, null, 2)), r;
63603
63607
  }
63604
63608
  async getConfig() {
63605
63609
  return this.getConfigForRemote(this.getActiveRemoteName());
@@ -63631,11 +63635,11 @@ var KI = async (e) => {
63631
63635
  t.remotes[n] = {
63632
63636
  ...r,
63633
63637
  ...e
63634
- }, await eP(o.dirname(this.configPath)), await x(this.configPath, JSON.stringify(t, null, 2));
63638
+ }, await tP(o.dirname(this.configPath)), await x(this.configPath, JSON.stringify(t, null, 2));
63635
63639
  }
63636
63640
  async clearConfig() {
63637
63641
  let e = await this.readRawConfig(), t = this.getActiveRemoteName();
63638
- e.remotes ||= {}, e.remotes[t] && delete e.remotes[t], await eP(o.dirname(this.configPath)), await x(this.configPath, JSON.stringify(e, null, 2));
63642
+ e.remotes ||= {}, e.remotes[t] && delete e.remotes[t], await tP(o.dirname(this.configPath)), await x(this.configPath, JSON.stringify(e, null, 2));
63639
63643
  }
63640
63644
  getDefaultConfig() {
63641
63645
  return { apiUrl: "http://localhost:2020" };
@@ -63657,7 +63661,7 @@ var KI = async (e) => {
63657
63661
  }
63658
63662
  async setDefaultRemote(e) {
63659
63663
  let t = await this.readRawConfig();
63660
- t.defaultRemote = e, await eP(o.dirname(this.configPath)), await x(this.configPath, JSON.stringify(t, null, 2));
63664
+ t.defaultRemote = e, await tP(o.dirname(this.configPath)), await x(this.configPath, JSON.stringify(t, null, 2));
63661
63665
  }
63662
63666
  }, KL = async (e) => {
63663
63667
  let { apiUrl: t, remote: n, timeoutMs: r } = e;
@@ -64414,7 +64418,7 @@ var KI = async (e) => {
64414
64418
  };
64415
64419
  }, cR = (e) => DL(() => sR(e), $.PUBLISH_FAILED), lR = {
64416
64420
  name: "twenty-sdk",
64417
- version: "2.20.0",
64421
+ version: "2.22.0",
64418
64422
  sideEffects: !1,
64419
64423
  bin: { twenty: "dist/cli.cjs" },
64420
64424
  files: [
@@ -64531,14 +64535,14 @@ var KI = async (e) => {
64531
64535
  "front-component-renderer/build": ["dist/front-component-renderer/build/index.d.ts"]
64532
64536
  } }
64533
64537
  }, uR = async (e) => {
64534
- let t = s.join(e, YN);
64535
- await eP(t);
64538
+ let t = s.join(e, XN);
64539
+ await tP(t);
64536
64540
  let n = s.join(t, "manifest.json");
64537
- if (!await QN(n)) {
64541
+ if (!await $N(n)) {
64538
64542
  let { manifest: t } = await iL(e);
64539
64543
  return t;
64540
64544
  }
64541
- return await aP(n);
64545
+ return await oP(n);
64542
64546
  }, dR = (e) => {
64543
64547
  if (!N(e?.errors) || !N(e?.summary)) return null;
64544
64548
  let t = [], n = e.summary.totalErrors;
@@ -64768,7 +64772,7 @@ var KI = async (e) => {
64768
64772
  }
64769
64773
  }, RR = async (e) => {
64770
64774
  try {
64771
- await eP(o.dirname(NR)), await x(NR, JSON.stringify({
64775
+ await tP(o.dirname(NR)), await x(NR, JSON.stringify({
64772
64776
  fetchedAt: Date.now(),
64773
64777
  versions: e.map(({ name: e, lastUpdatedAt: t }) => ({
64774
64778
  name: e,
@@ -65173,7 +65177,7 @@ var KI = async (e) => {
65173
65177
  this.apiService = new iR(), this.applicationUniversalIdentifier = e.applicationUniversalIdentifier, this.appPath = e.appPath;
65174
65178
  }
65175
65179
  async uploadFile({ builtPath: e, fileFolder: t }) {
65176
- let n = f(YN, e);
65180
+ let n = f(XN, e);
65177
65181
  return await this.apiService.uploadFile({
65178
65182
  filePath: s.join(this.appPath, e),
65179
65183
  builtHandlerPath: n,
@@ -65247,7 +65251,7 @@ var KI = async (e) => {
65247
65251
  });
65248
65252
  await xL(t, m);
65249
65253
  let h = () => ({
65250
- outputDir: s.join(t, YN),
65254
+ outputDir: s.join(t, XN),
65251
65255
  fileCount: f.builtFileInfos.size,
65252
65256
  applicationDisplayName: m.application.displayName,
65253
65257
  applicationUniversalIdentifier: m.application.universalIdentifier,
@@ -65586,4 +65590,4 @@ var KI = async (e) => {
65586
65590
  });
65587
65591
  }, fB = (e) => DL(() => dB(e), OL.AUTH_FAILED);
65588
65592
  //#endregion
65589
- export { yL as $, wR as A, M as At, ZL as B, _R as C, am as Ct, SR as D, P as Dt, bR as E, mm as Et, uR as F, ML as G, qL as H, lR as I, AL as J, $ as K, cR as L, vR as M, pR as N, TR as O, N as Ot, dR as P, bL as Q, oR as R, gR as S, Cm as St, ER as T, hm as Tt, GL as U, JL as V, HL as W, DL as X, kL as Y, xL as Z, az as _, WN as _t, eB as a, BF as at, ZR as b, uk as bt, Az as c, nP as ct, bz as d, aP as dt, zI as et, yz as f, iP as ft, oz as g, YN as gt, sz as h, qN as ht, nB as i, qF as it, xR as j, Ge as jt, yR as k, Ke as kt, kz as l, eP as lt, uz as m, XN as mt, uB as n, XF as nt, Jz as o, HF as ot, lz as p, oP as pt, OL as q, rB as r, JF as rt, qz as s, rP as st, fB as t, vI as tt, Sz as u, QN as ut, tz as v, _N as vt, hR as w, fm as wt, mR as x, km as xt, $R as y, IA as yt, iR as z };
65593
+ export { yL as $, wR as A, M as At, ZL as B, _R as C, am as Ct, SR as D, P as Dt, bR as E, mm as Et, uR as F, ML as G, qL as H, lR as I, AL as J, $ as K, cR as L, vR as M, pR as N, TR as O, N as Ot, dR as P, bL as Q, oR as R, gR as S, Cm as St, ER as T, hm as Tt, GL as U, JL as V, HL as W, DL as X, kL as Y, xL as Z, az as _, GN as _t, eB as a, BF as at, ZR as b, uk as bt, Az as c, rP as ct, bz as d, oP as dt, zI as et, yz as f, aP as ft, oz as g, XN as gt, sz as h, JN as ht, nB as i, qF as it, xR as j, Ge as jt, yR as k, Ke as kt, kz as l, tP as lt, uz as m, ZN as mt, uB as n, XF as nt, Jz as o, HF as ot, lz as p, sP as pt, OL as q, rB as r, JF as rt, qz as s, iP as st, fB as t, vI as tt, Sz as u, $N as ut, tz as v, IA as vt, hR as w, fm as wt, mR as x, km as xt, $R as y, vN as yt, iR as z };