twenty-sdk 2.4.0 → 2.4.2

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.
@@ -215,13 +215,15 @@ const Vs = {
215
215
  name: "primaryPhoneCountryCode",
216
216
  type: I.TEXT,
217
217
  hidden: !1,
218
- isRequired: !1
218
+ isRequired: !1,
219
+ isIncludedInUniqueConstraint: !0
219
220
  },
220
221
  {
221
222
  name: "primaryPhoneCallingCode",
222
223
  type: I.TEXT,
223
224
  hidden: !1,
224
- isRequired: !1
225
+ isRequired: !1,
226
+ isIncludedInUniqueConstraint: !0
225
227
  },
226
228
  {
227
229
  name: "additionalPhones",
@@ -10388,7 +10390,7 @@ const Kd = {
10388
10390
  type: "object",
10389
10391
  properties: {}
10390
10392
  }, pl = async (e) => {
10391
- const { getFunctionInputSchema: a } = await import("./get-function-input-schema-BZ7_XyUh-OrMskPPC.mjs"), i = a(e)[0];
10393
+ const { getFunctionInputSchema: a } = await import("./get-function-input-schema-BZ7_XyUh-Dd-bckv_.mjs"), i = a(e)[0];
10392
10394
  return i?.type === "object" && He(i.properties) ? {
10393
10395
  type: "object",
10394
10396
  properties: i.properties
@@ -10858,6 +10860,7 @@ const Kd = {
10858
10860
  TYPECHECK_FAILED: "TYPECHECK_FAILED",
10859
10861
  DEPLOY_FAILED: "DEPLOY_FAILED"
10860
10862
  }, De = {
10863
+ DOCKER_NOT_INSTALLED: "DOCKER_NOT_INSTALLED",
10861
10864
  DOCKER_NOT_RUNNING: "DOCKER_NOT_RUNNING",
10862
10865
  CONTAINER_START_FAILED: "CONTAINER_START_FAILED",
10863
10866
  HEALTH_TIMEOUT: "HEALTH_TIMEOUT",
@@ -10922,7 +10925,7 @@ ${p.join(`
10922
10925
  d.tarballPath = B.join(c, o);
10923
10926
  }
10924
10927
  return { success: !0, data: d };
10925
- }, Ll = (e) => je(() => Il(e), X.BUILD_FAILED), $l = "2.4.0", kl = {
10928
+ }, Ll = (e) => je(() => Il(e), X.BUILD_FAILED), $l = "2.4.2", kl = {
10926
10929
  version: $l
10927
10930
  }, _t = he.join(Qt.homedir(), ".twenty"), li = (e = !1) => e || process.env.NODE_ENV === "test" ? he.join(_t, "config.test.json") : he.join(_t, "config.json"), _i = 1, ye = "local", fi = class fi {
10928
10931
  constructor(a) {
@@ -11874,7 +11877,7 @@ class El {
11874
11877
  });
11875
11878
  }
11876
11879
  }
11877
- const Nl = [2020, 3e3], Go = async (e) => {
11880
+ const Nl = [2020], Go = async (e) => {
11878
11881
  const a = new AbortController(), i = setTimeout(() => a.abort(), 2e3);
11879
11882
  try {
11880
11883
  return (await (await fetch(`http://localhost:${e}/healthz`, {
@@ -13041,25 +13044,25 @@ ${m.join(`
13041
13044
  export {
13042
13045
  cg as $,
13043
13046
  Oe as A,
13044
- Ee as B,
13047
+ kl as B,
13045
13048
  G as C,
13046
- hd as D,
13047
- Bo as E,
13049
+ Ee as D,
13050
+ hd as E,
13048
13051
  di as F,
13049
- Ql as G,
13050
- Wl as H,
13051
- we as I,
13052
- gd as J,
13053
- Gi as K,
13054
- Od as L,
13055
- oh as M,
13056
- sh as N,
13057
- me as O,
13058
- xo as P,
13059
- Oo as Q,
13052
+ Bo as G,
13053
+ Ql as H,
13054
+ Wl as I,
13055
+ we as J,
13056
+ gd as K,
13057
+ Gi as L,
13058
+ Od as M,
13059
+ oh as N,
13060
+ sh as O,
13061
+ me as P,
13062
+ xo as Q,
13060
13063
  I as R,
13061
13064
  De as S,
13062
- ro as T,
13065
+ Oo as T,
13063
13066
  Qo as U,
13064
13067
  La as V,
13065
13068
  Kl as W,
@@ -13092,16 +13095,16 @@ export {
13092
13095
  Fl as l,
13093
13096
  dh as m,
13094
13097
  ql as n,
13095
- eg as o,
13096
- Vl as p,
13097
- ph as q,
13098
+ He as o,
13099
+ eg as p,
13100
+ Vl as q,
13098
13101
  je as r,
13099
13102
  fh as s,
13100
- He as t,
13103
+ ph as t,
13101
13104
  Re as u,
13102
13105
  fn as v,
13103
13106
  Ae as w,
13104
13107
  Ks as x,
13105
13108
  Ur as y,
13106
- kl as z
13109
+ ro as z
13107
13110
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "twenty-sdk",
3
- "version": "2.4.0",
3
+ "version": "2.4.2",
4
4
  "sideEffects": false,
5
5
  "bin": {
6
6
  "twenty": "dist/cli.cjs"
@@ -83,7 +83,7 @@
83
83
  "react": "^19.0.0",
84
84
  "react-dom": "^19.0.0",
85
85
  "tinyglobby": "^0.2.15",
86
- "twenty-client-sdk": "2.4.0",
86
+ "twenty-client-sdk": "2.4.2",
87
87
  "typescript": "^5.9.2",
88
88
  "uuid": "^13.0.0",
89
89
  "vite": "^7.0.0",