twenty-sdk 2.6.0 → 2.9.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.
Files changed (51) hide show
  1. package/README.md +2 -2
  2. package/dist/catalog-sync-CanLpG9v.js +1 -0
  3. package/dist/catalog-sync-DyCidT5d.mjs +16 -0
  4. package/dist/cli/commands/{deploy.d.ts → app/deploy.d.ts} +4 -0
  5. package/dist/cli/commands/app/index.d.ts +2 -0
  6. package/dist/cli/commands/{uninstall.d.ts → app/uninstall.d.ts} +1 -1
  7. package/dist/cli/commands/deprecated.d.ts +2 -0
  8. package/dist/cli/commands/{dev.d.ts → dev/dev.d.ts} +1 -1
  9. package/dist/cli/commands/dev/function/index.d.ts +2 -0
  10. package/dist/cli/commands/dev/index.d.ts +2 -0
  11. package/dist/cli/utilities/api/api-client.d.ts +3 -0
  12. package/dist/cli/utilities/api/api-service.d.ts +1 -0
  13. package/dist/cli/utilities/build/manifest/manifest-extract-config.d.ts +4 -0
  14. package/dist/cli/utilities/build/manifest/utils/validate-view-filter-operands.d.ts +6 -0
  15. package/dist/cli/utilities/dev/orchestrator/dev-mode-orchestrator-state.d.ts +0 -1
  16. package/dist/cli.cjs +110 -110
  17. package/dist/cli.mjs +3045 -2931
  18. package/dist/define/index.cjs +14 -14
  19. package/dist/define/index.cjs.map +1 -1
  20. package/dist/define/index.d.ts +68 -553
  21. package/dist/define/index.mjs +1623 -1977
  22. package/dist/define/index.mjs.map +1 -1
  23. package/dist/front-component/index.cjs +13 -13
  24. package/dist/front-component/index.cjs.map +1 -1
  25. package/dist/front-component/index.d.ts +10 -2
  26. package/dist/front-component/index.mjs +1420 -1312
  27. package/dist/front-component/index.mjs.map +1 -1
  28. package/dist/get-function-input-schema-BZ7_XyUh-COeGJwHh.js +1 -0
  29. package/dist/{get-function-input-schema-BZ7_XyUh-dQlwid60.mjs → get-function-input-schema-BZ7_XyUh-Dql7-b-j.mjs} +1 -1
  30. package/dist/logic-function/index.d.ts +2 -7
  31. package/dist/login-oauth-BESuSxoP.js +298 -0
  32. package/dist/{uninstall-D3ZmcXyd.mjs → login-oauth-DSC3zo9c.mjs} +4181 -4391
  33. package/dist/operations.cjs +1 -1
  34. package/dist/operations.mjs +8 -8
  35. package/dist/ui/index.cjs +20 -20
  36. package/dist/ui/index.mjs +6277 -6170
  37. package/package.json +2 -2
  38. package/dist/get-function-input-schema-BZ7_XyUh-DmvaQHSU.js +0 -1
  39. package/dist/uninstall-BwJTMGOV.js +0 -287
  40. /package/dist/cli/commands/{install.d.ts → app/install.d.ts} +0 -0
  41. /package/dist/cli/commands/{publish.d.ts → app/publish.d.ts} +0 -0
  42. /package/dist/cli/commands/{add.d.ts → dev/add.d.ts} +0 -0
  43. /package/dist/cli/commands/{build.d.ts → dev/build.d.ts} +0 -0
  44. /package/dist/cli/commands/{catalog-sync.d.ts → dev/catalog-sync.d.ts} +0 -0
  45. /package/dist/cli/commands/{dev-once.d.ts → dev/dev-once.d.ts} +0 -0
  46. /package/dist/cli/commands/{exec.d.ts → dev/exec.d.ts} +0 -0
  47. /package/dist/cli/commands/{logs.d.ts → dev/logs.d.ts} +0 -0
  48. /package/dist/cli/commands/{typecheck.d.ts → dev/typecheck.d.ts} +0 -0
  49. /package/dist/cli/commands/{server.d.ts → docker/index.d.ts} +0 -0
  50. /package/dist/cli/commands/{app-command.d.ts → index.d.ts} +0 -0
  51. /package/dist/cli/commands/{remote.d.ts → remote/index.d.ts} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "twenty-sdk",
3
- "version": "2.6.0",
3
+ "version": "2.9.0",
4
4
  "sideEffects": false,
5
5
  "bin": {
6
6
  "twenty": "dist/cli.cjs"
@@ -88,7 +88,7 @@
88
88
  "react": "^19.0.0",
89
89
  "react-dom": "^19.0.0",
90
90
  "tinyglobby": "^0.2.15",
91
- "twenty-client-sdk": "2.6.0",
91
+ "twenty-client-sdk": "2.9.0",
92
92
  "typescript": "^5.9.2",
93
93
  "uuid": "^13.0.0",
94
94
  "vite": "^7.0.0",
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("typescript"),o=require("./uninstall-BwJTMGOV.js"),c=n=>{switch(n.kind){case e.SyntaxKind.NumberKeyword:return{type:"number"};case e.SyntaxKind.StringKeyword:return{type:"string"};case e.SyntaxKind.BooleanKeyword:return{type:"boolean"};case e.SyntaxKind.ArrayType:return{type:"array",items:c(n.elementType)};case e.SyntaxKind.ObjectKeyword:return{type:"object"};case e.SyntaxKind.TypeLiteral:{const i={};return n.members.forEach(t=>{if(o.o(t.name)&&o.o(t.type)){const r=t.name.text;i[r]=c(t.type)}}),{type:"object",properties:i}}case e.SyntaxKind.UnionType:{const i=n,t=[];let r=!0;return i.types.forEach(a=>{if(a.kind===e.SyntaxKind.LiteralType){const y=a.literal;y.kind===e.SyntaxKind.StringLiteral?t.push(y.text):r=!1}else r=!1}),r?{type:"string",enum:t}:{}}default:return{}}},s=(n,i)=>n.parameters.reduce((t,r)=>{const a=r.type;return o.o(a)?[...t,c(a)]:[...t,{}]},i),d=n=>n.kind===e.SyntaxKind.FunctionDeclaration?[n]:n.kind===e.SyntaxKind.VariableStatement?n.declarationList.declarations.filter(i=>o.o(i.initializer)&&i.initializer.kind===e.SyntaxKind.ArrowFunction).map(i=>i.initializer):[],l=n=>{const i=e.createSourceFile("temp.ts",n,e.ScriptTarget.ESNext,!0);let t=[];return i.forEachChild(r=>{(r.kind===e.SyntaxKind.FunctionDeclaration||r.kind===e.SyntaxKind.VariableStatement)&&d(r).forEach(a=>{t=s(a,t)})}),t};exports.getFunctionInputSchema=l;