twenty-sdk 2.35.0 → 2.37.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 (39) hide show
  1. package/dist/billing/index.cjs.map +1 -1
  2. package/dist/billing/index.mjs.map +1 -1
  3. package/dist/{catalog-sync-Cn-gDxAz.js → catalog-sync-Szx_4267.js} +1 -1
  4. package/dist/{catalog-sync-C0Td21sN.mjs → catalog-sync-mAO3vmdp.mjs} +1 -1
  5. package/dist/cli/utilities/api/api-service.d.ts +2 -0
  6. package/dist/cli/utilities/api/file-api.d.ts +41 -0
  7. package/dist/cli/utilities/dev/orchestrator/steps/upload-files-orchestrator-step.d.ts +1 -0
  8. package/dist/cli/utilities/file/file-uploader.d.ts +13 -4
  9. package/dist/cli/utilities/file/put-file-to-upload-url.d.ts +5 -0
  10. package/dist/cli.cjs +15 -15
  11. package/dist/cli.mjs +249 -235
  12. package/dist/define/index.cjs +14 -14
  13. package/dist/define/index.cjs.map +1 -1
  14. package/dist/define/index.d.ts +259 -21
  15. package/dist/define/index.mjs +3142 -3021
  16. package/dist/define/index.mjs.map +1 -1
  17. package/dist/front-component/index.cjs +1 -1
  18. package/dist/front-component/index.cjs.map +1 -1
  19. package/dist/front-component/index.d.ts +1 -0
  20. package/dist/front-component/index.mjs +2 -2
  21. package/dist/front-component/index.mjs.map +1 -1
  22. package/dist/front-component-renderer/build.cjs +1 -1
  23. package/dist/front-component-renderer/build.mjs +1 -1
  24. package/dist/{get-front-component-build-plugins-CcV3Cown.js → get-front-component-build-plugins-DZIleilT.js} +8 -8
  25. package/dist/{get-front-component-build-plugins-BZ1HBS5Y.mjs → get-front-component-build-plugins-WU9ATS3e.mjs} +98 -92
  26. package/dist/{get-function-input-schema-GNk3NRLJ-Byssjp8I.js → get-function-input-schema-GNk3NRLJ-DKoJBhuO.js} +1 -1
  27. package/dist/{get-function-input-schema-GNk3NRLJ-BimwLfRN.mjs → get-function-input-schema-GNk3NRLJ-H7iWzfXn.mjs} +1 -1
  28. package/dist/logic-function/index.cjs +2 -0
  29. package/dist/logic-function/index.cjs.map +1 -1
  30. package/dist/logic-function/index.d.ts +1 -0
  31. package/dist/logic-function/index.mjs +2 -2
  32. package/dist/logic-function/index.mjs.map +1 -1
  33. package/dist/{login-Cl-mw1L0.js → login-4PI5lTOa.js} +61 -31
  34. package/dist/{login-CuJiHYwZ.mjs → login-CNByz3vi.mjs} +5411 -5151
  35. package/dist/operations.cjs +1 -1
  36. package/dist/operations.mjs +1 -1
  37. package/dist/utils/index.cjs.map +1 -1
  38. package/dist/utils/index.mjs.map +1 -1
  39. package/package.json +2 -2
@@ -9366,8 +9366,10 @@ var Q = /* @__PURE__ */ function(e) {
9366
9366
  }({}), kf = /* @__PURE__ */ function(e) {
9367
9367
  return e.Verify = "/verify", e.VerifyEmail = "/verify-email", e.SignInUp = "/welcome", e.Invite = "/invite/:workspaceInviteHash", e.ResetPassword = "/reset-password/:passwordResetToken", e.WorkspaceActivation = "/workspace-activation", e.CreateProfile = "/create/profile", e.SyncEmails = "/sync/emails", e.InstallApps = "/install-apps", e.InviteTeam = "/invite-team", e.PlanRequired = "/plan-required", e.PlanRequiredSuccess = "/plan-required/payment-success", e.BookCall = "/book-call", e.AiChat = "/chat/:threadId?", e.Index = "/", e.Home = "/home", e.TasksPage = "/objects/tasks", e.OpportunitiesPage = "/objects/opportunities", e.RecordIndexPage = "/objects/:objectNamePlural", e.RecordShowPage = "/object/:objectNameSingular/:objectRecordId", e.PageLayoutPage = "/page/:pageLayoutId", e.WorkflowCoreIndexPage = "/workflow-core", e.Settings = "settings", e.SettingsCatchAll = "/settings/*", e.Developers = "developers", e.DevelopersCatchAll = "/developers/*", e.Authorize = "/authorize", e.Dpa = "/dpa", e.NotFoundWildcard = "*", e.NotFound = "/not-found", e;
9368
9368
  }({}), Af = /* @__PURE__ */ function(e) {
9369
+ return e.GLOBAL = "GLOBAL", e.GLOBAL_OBJECT_CONTEXT = "GLOBAL_OBJECT_CONTEXT", e.RECORD_SELECTION = "RECORD_SELECTION", e.FALLBACK = "FALLBACK", e;
9370
+ }({}), jf = /* @__PURE__ */ function(e) {
9369
9371
  return e.EMAIL = "EMAIL", e.CALENDAR = "CALENDAR", e.WORKFLOW = "WORKFLOW", e.AGENT = "AGENT", e.API = "API", e.IMPORT = "IMPORT", e.MANUAL = "MANUAL", e.SYSTEM = "SYSTEM", e.WEBHOOK = "WEBHOOK", e.APPLICATION = "APPLICATION", e;
9370
- }({}), jf = {
9372
+ }({}), Mf = {
9371
9373
  type: Q.ACTOR,
9372
9374
  properties: [
9373
9375
  {
@@ -9375,9 +9377,9 @@ var Q = /* @__PURE__ */ function(e) {
9375
9377
  type: Q.SELECT,
9376
9378
  hidden: !1,
9377
9379
  isRequired: !0,
9378
- options: Object.keys(Af).map((e, t) => ({
9380
+ options: Object.keys(jf).map((e, t) => ({
9379
9381
  id: l(),
9380
- label: `${Af[e].toLowerCase()}`,
9382
+ label: `${jf[e].toLowerCase()}`,
9381
9383
  value: e,
9382
9384
  position: t
9383
9385
  }))
@@ -9401,7 +9403,7 @@ var Q = /* @__PURE__ */ function(e) {
9401
9403
  isRequired: !1
9402
9404
  }
9403
9405
  ]
9404
- }, Mf = {
9406
+ }, Nf = {
9405
9407
  type: Q.ADDRESS,
9406
9408
  properties: [
9407
9409
  {
@@ -9453,7 +9455,7 @@ var Q = /* @__PURE__ */ function(e) {
9453
9455
  isRequired: !1
9454
9456
  }
9455
9457
  ]
9456
- }, Nf = {
9458
+ }, Pf = {
9457
9459
  type: Q.CURRENCY,
9458
9460
  properties: [{
9459
9461
  name: "amountMicros",
@@ -9466,7 +9468,7 @@ var Q = /* @__PURE__ */ function(e) {
9466
9468
  hidden: !1,
9467
9469
  isRequired: !1
9468
9470
  }]
9469
- }, Pf = {
9471
+ }, Ff = {
9470
9472
  type: Q.EMAILS,
9471
9473
  properties: [{
9472
9474
  name: "primaryEmail",
@@ -9480,7 +9482,7 @@ var Q = /* @__PURE__ */ function(e) {
9480
9482
  hidden: !1,
9481
9483
  isRequired: !1
9482
9484
  }]
9483
- }, Ff = {
9485
+ }, If = {
9484
9486
  type: Q.FULL_NAME,
9485
9487
  properties: [{
9486
9488
  name: "firstName",
@@ -9495,7 +9497,7 @@ var Q = /* @__PURE__ */ function(e) {
9495
9497
  isRequired: !1,
9496
9498
  isIncludedInUniqueConstraint: !1
9497
9499
  }]
9498
- }, If = {
9500
+ }, Lf = {
9499
9501
  type: Q.LINKS,
9500
9502
  properties: [
9501
9503
  {
@@ -9518,7 +9520,7 @@ var Q = /* @__PURE__ */ function(e) {
9518
9520
  isRequired: !1
9519
9521
  }
9520
9522
  ]
9521
- }, Lf = {
9523
+ }, Rf = {
9522
9524
  type: Q.PHONES,
9523
9525
  properties: [
9524
9526
  {
@@ -9549,7 +9551,7 @@ var Q = /* @__PURE__ */ function(e) {
9549
9551
  isRequired: !1
9550
9552
  }
9551
9553
  ]
9552
- }, Rf = {
9554
+ }, zf = {
9553
9555
  type: Q.RICH_TEXT,
9554
9556
  properties: [{
9555
9557
  name: "blocknote",
@@ -9567,119 +9569,123 @@ qu({
9567
9569
  blocknote: q().nullable().optional(),
9568
9570
  markdown: q().nullable()
9569
9571
  }), new Map([
9570
- [Q.LINKS, If],
9571
- [Q.CURRENCY, Nf],
9572
- [Q.FULL_NAME, Ff],
9573
- [Q.ADDRESS, Mf],
9574
- [Q.ACTOR, jf],
9575
- [Q.EMAILS, Pf],
9576
- [Q.PHONES, Lf],
9577
- [Q.RICH_TEXT, Rf]
9572
+ [Q.LINKS, Lf],
9573
+ [Q.CURRENCY, Pf],
9574
+ [Q.FULL_NAME, If],
9575
+ [Q.ADDRESS, Nf],
9576
+ [Q.ACTOR, Mf],
9577
+ [Q.EMAILS, Ff],
9578
+ [Q.PHONES, Rf],
9579
+ [Q.RICH_TEXT, zf]
9578
9580
  ]);
9579
9581
  //#endregion
9580
- //#region ../twenty-shared/dist/types-DczxyoWI.mjs
9581
- var zf = {
9582
+ //#region ../twenty-shared/dist/types-BBcIjWv6.mjs
9583
+ var Bf = {
9582
9584
  UUID: "uuid",
9583
9585
  NOW: "now"
9584
9586
  };
9585
9587
  Q.RELATION, Q.MORPH_RELATION, Q.FILES, Q.TS_VECTOR;
9586
- var Bf = /* @__PURE__ */ function(e) {
9588
+ var Vf = /* @__PURE__ */ function(e) {
9587
9589
  return e.COPY = "COPY", e.OPEN_LINK = "OPEN_LINK", e.OPEN_IN_APP = "OPEN_IN_APP", e;
9588
- }({}), Vf = /* @__PURE__ */ function(e) {
9589
- return e.FLOAT = "float", e.INT = "int", e.BIGINT = "bigint", e;
9590
9590
  }({}), Hf = /* @__PURE__ */ function(e) {
9591
- return e.RELATIVE = "RELATIVE", e.USER_SETTINGS = "USER_SETTINGS", e.CUSTOM = "CUSTOM", e;
9591
+ return e.FLOAT = "float", e.INT = "int", e.BIGINT = "bigint", e;
9592
9592
  }({}), Uf = /* @__PURE__ */ function(e) {
9593
- return e.CorePicture = "core-picture", e.AgentChat = "agent-chat", e.BuiltLogicFunction = "built-logic-function", e.BuiltFrontComponent = "built-front-component", e.PublicAsset = "public-asset", e.Source = "source", e.FilesField = "files-field", e.Dependencies = "dependencies", e.Workflow = "workflow", e.EmailAttachment = "email-attachment", e.EmailImage = "email-image", e.AppTarball = "app-tarball", e.GeneratedSdkClient = "generated-sdk-client", e.Dpa = "dpa", e;
9593
+ return e.RELATIVE = "RELATIVE", e.USER_SETTINGS = "USER_SETTINGS", e.CUSTOM = "CUSTOM", e;
9594
9594
  }({}), Wf = /* @__PURE__ */ function(e) {
9595
- return e.MONDAY = "MONDAY", e.SUNDAY = "SUNDAY", e.SATURDAY = "SATURDAY", e;
9595
+ return e.CorePicture = "core-picture", e.AgentChat = "agent-chat", e.BuiltLogicFunction = "built-logic-function", e.BuiltFrontComponent = "built-front-component", e.PublicAsset = "public-asset", e.Source = "source", e.FilesField = "files-field", e.Dependencies = "dependencies", e.Workflow = "workflow", e.EmailAttachment = "email-attachment", e.EmailImage = "email-image", e.AppTarball = "app-tarball", e.GeneratedSdkClient = "generated-sdk-client", e.Dpa = "dpa", e;
9596
9596
  }({}), Gf = /* @__PURE__ */ function(e) {
9597
- return e.GET = "GET", e.POST = "POST", e.PUT = "PUT", e.PATCH = "PATCH", e.DELETE = "DELETE", e;
9597
+ return e.MONDAY = "MONDAY", e.SUNDAY = "SUNDAY", e.SATURDAY = "SATURDAY", e;
9598
9598
  }({}), Kf = /* @__PURE__ */ function(e) {
9599
- return e.OPEN = "OPEN", e.APPLICATION = "APPLICATION", e.SYSTEM = "SYSTEM", e;
9599
+ return e.GET = "GET", e.POST = "POST", e.PUT = "PUT", e.PATCH = "PATCH", e.DELETE = "DELETE", e;
9600
9600
  }({}), qf = /* @__PURE__ */ function(e) {
9601
- return e.VIEW = "VIEW", e.FOLDER = "FOLDER", e.LINK = "LINK", e.OBJECT = "OBJECT", e.RECORD = "RECORD", e.PAGE_LAYOUT = "PAGE_LAYOUT", e;
9601
+ return e.BTREE = "BTREE", e.GIN = "GIN", e;
9602
9602
  }({}), Jf = /* @__PURE__ */ function(e) {
9603
- return e.SIDE_PANEL = "SIDE_PANEL", e.RECORD_PAGE = "RECORD_PAGE", e.USER_CHOICE = "USER_CHOICE", e;
9603
+ return e.OPEN = "OPEN", e.APPLICATION = "APPLICATION", e.SYSTEM = "SYSTEM", e;
9604
9604
  }({}), Yf = /* @__PURE__ */ function(e) {
9605
+ return e.VIEW = "VIEW", e.FOLDER = "FOLDER", e.LINK = "LINK", e.OBJECT = "OBJECT", e.RECORD = "RECORD", e.PAGE_LAYOUT = "PAGE_LAYOUT", e;
9606
+ }({}), Xf = /* @__PURE__ */ function(e) {
9607
+ return e.SIDE_PANEL = "SIDE_PANEL", e.RECORD_PAGE = "RECORD_PAGE", e.USER_CHOICE = "USER_CHOICE", e;
9608
+ }({}), Zf = /* @__PURE__ */ function(e) {
9605
9609
  return e.DAY = "DAY", e.MONTH = "MONTH", e.QUARTER = "QUARTER", e.YEAR = "YEAR", e.WEEK = "WEEK", e.DAY_OF_THE_WEEK = "DAY_OF_THE_WEEK", e.MONTH_OF_THE_YEAR = "MONTH_OF_THE_YEAR", e.QUARTER_OF_THE_YEAR = "QUARTER_OF_THE_YEAR", e.NONE = "NONE", e;
9606
- }({}), Xf = [
9610
+ }({}), Qf = [
9607
9611
  "AGGREGATE_CHART",
9608
9612
  "PIE_CHART",
9609
9613
  "BAR_CHART",
9610
9614
  "LINE_CHART"
9611
- ], Zf = /* @__PURE__ */ function(e) {
9615
+ ], $f = /* @__PURE__ */ function(e) {
9612
9616
  return e.GRID = "GRID", e.VERTICAL_LIST = "VERTICAL_LIST", e.CANVAS = "CANVAS", e;
9613
- }({}), Qf = /* @__PURE__ */ function(e) {
9614
- return e.RECORD_INDEX = "RECORD_INDEX", e.RECORD_PAGE = "RECORD_PAGE", e.DASHBOARD = "DASHBOARD", e.STANDALONE_PAGE = "STANDALONE_PAGE", e;
9615
- }({}), $f = /* @__PURE__ */ function(e) {
9616
- return e.AND = "AND", e.OR = "OR", e;
9617
9617
  }({}), ep = /* @__PURE__ */ function(e) {
9618
- return e.CASCADE = "CASCADE", e.RESTRICT = "RESTRICT", e.SET_NULL = "SET_NULL", e.NO_ACTION = "NO_ACTION", e;
9618
+ return e.RECORD_INDEX = "RECORD_INDEX", e.RECORD_PAGE = "RECORD_PAGE", e.DASHBOARD = "DASHBOARD", e.STANDALONE_PAGE = "STANDALONE_PAGE", e;
9619
9619
  }({}), tp = /* @__PURE__ */ function(e) {
9620
- return e.MANY_TO_ONE = "MANY_TO_ONE", e.ONE_TO_MANY = "ONE_TO_MANY", e;
9620
+ return e.VIEW = "VIEW", e.IFRAME = "IFRAME", e.FIELD = "FIELD", e.FIELDS = "FIELDS", e.GRAPH = "GRAPH", e.STANDALONE_RICH_TEXT = "STANDALONE_RICH_TEXT", e.TIMELINE = "TIMELINE", e.TASKS = "TASKS", e.NOTES = "NOTES", e.FILES = "FILES", e.EMAILS = "EMAILS", e.CALENDAR = "CALENDAR", e.FIELD_RICH_TEXT = "FIELD_RICH_TEXT", e.WORKFLOW = "WORKFLOW", e.WORKFLOW_VERSION = "WORKFLOW_VERSION", e.WORKFLOW_RUN = "WORKFLOW_RUN", e.FRONT_COMPONENT = "FRONT_COMPONENT", e.RECORD_TABLE = "RECORD_TABLE", e.EMAIL_THREAD = "EMAIL_THREAD", e.CALL_RECORDING_SUMMARY = "CALL_RECORDING_SUMMARY", e.CALL_RECORDING_TRANSCRIPT = "CALL_RECORDING_TRANSCRIPT", e.MESSAGE_CAMPAIGN_BODY = "MESSAGE_CAMPAIGN_BODY", e.MESSAGE_CAMPAIGN_DETAILS = "MESSAGE_CAMPAIGN_DETAILS", e;
9621
9621
  }({}), np = /* @__PURE__ */ function(e) {
9622
9622
  return e.AND = "AND", e.OR = "OR", e;
9623
9623
  }({}), rp = /* @__PURE__ */ function(e) {
9624
- return e.IS = "IS", e.IS_NOT_NULL = "IS_NOT_NULL", e.IS_NOT = "IS_NOT", e.LESS_THAN_OR_EQUAL = "LESS_THAN_OR_EQUAL", e.GREATER_THAN_OR_EQUAL = "GREATER_THAN_OR_EQUAL", e.IS_BEFORE = "IS_BEFORE", e.IS_AFTER = "IS_AFTER", e.CONTAINS = "CONTAINS", e.DOES_NOT_CONTAIN = "DOES_NOT_CONTAIN", e.IS_EMPTY = "IS_EMPTY", e.IS_NOT_EMPTY = "IS_NOT_EMPTY", e.IS_RELATIVE = "IS_RELATIVE", e.IS_IN_PAST = "IS_IN_PAST", e.IS_IN_FUTURE = "IS_IN_FUTURE", e.IS_TODAY = "IS_TODAY", e.VECTOR_SEARCH = "VECTOR_SEARCH", e;
9624
+ return e.CASCADE = "CASCADE", e.RESTRICT = "RESTRICT", e.SET_NULL = "SET_NULL", e.NO_ACTION = "NO_ACTION", e;
9625
9625
  }({}), ip = /* @__PURE__ */ function(e) {
9626
- return e.DAY = "DAY", e.WEEK = "WEEK", e.MONTH = "MONTH", e;
9626
+ return e.MANY_TO_ONE = "MANY_TO_ONE", e.ONE_TO_MANY = "ONE_TO_MANY", e;
9627
9627
  }({}), ap = /* @__PURE__ */ function(e) {
9628
- return e.AND = "AND", e.OR = "OR", e.NOT = "NOT", e;
9628
+ return e.AND = "AND", e.OR = "OR", e;
9629
9629
  }({}), op = /* @__PURE__ */ function(e) {
9630
9630
  return e.IS = "IS", e.IS_NOT_NULL = "IS_NOT_NULL", e.IS_NOT = "IS_NOT", e.LESS_THAN_OR_EQUAL = "LESS_THAN_OR_EQUAL", e.GREATER_THAN_OR_EQUAL = "GREATER_THAN_OR_EQUAL", e.IS_BEFORE = "IS_BEFORE", e.IS_AFTER = "IS_AFTER", e.CONTAINS = "CONTAINS", e.DOES_NOT_CONTAIN = "DOES_NOT_CONTAIN", e.IS_EMPTY = "IS_EMPTY", e.IS_NOT_EMPTY = "IS_NOT_EMPTY", e.IS_RELATIVE = "IS_RELATIVE", e.IS_IN_PAST = "IS_IN_PAST", e.IS_IN_FUTURE = "IS_IN_FUTURE", e.IS_TODAY = "IS_TODAY", e.VECTOR_SEARCH = "VECTOR_SEARCH", e;
9631
9631
  }({}), sp = /* @__PURE__ */ function(e) {
9632
- return e.Is = "is", e.IsNotNull = "isNotNull", e.IsNot = "isNot", e.LessThanOrEqual = "lessThan", e.GreaterThanOrEqual = "greaterThan", e.IsBefore = "isBefore", e.IsAfter = "isAfter", e.Contains = "contains", e.DoesNotContain = "doesNotContain", e.IsEmpty = "isEmpty", e.IsNotEmpty = "isNotEmpty", e.IsRelative = "isRelative", e.IsInPast = "isInPast", e.IsInFuture = "isInFuture", e.IsToday = "isToday", e;
9632
+ return e.DAY = "DAY", e.WEEK = "WEEK", e.MONTH = "MONTH", e;
9633
9633
  }({}), cp = /* @__PURE__ */ function(e) {
9634
- return e.INDEX = "INDEX", e;
9634
+ return e.AND = "AND", e.OR = "OR", e.NOT = "NOT", e;
9635
9635
  }({}), lp = /* @__PURE__ */ function(e) {
9636
- return e.SIDE_PANEL = "SIDE_PANEL", e.RECORD_PAGE = "RECORD_PAGE", e;
9636
+ return e.IS = "IS", e.IS_NOT_NULL = "IS_NOT_NULL", e.IS_NOT = "IS_NOT", e.LESS_THAN_OR_EQUAL = "LESS_THAN_OR_EQUAL", e.GREATER_THAN_OR_EQUAL = "GREATER_THAN_OR_EQUAL", e.IS_BEFORE = "IS_BEFORE", e.IS_AFTER = "IS_AFTER", e.CONTAINS = "CONTAINS", e.DOES_NOT_CONTAIN = "DOES_NOT_CONTAIN", e.IS_EMPTY = "IS_EMPTY", e.IS_NOT_EMPTY = "IS_NOT_EMPTY", e.IS_RELATIVE = "IS_RELATIVE", e.IS_IN_PAST = "IS_IN_PAST", e.IS_IN_FUTURE = "IS_IN_FUTURE", e.IS_TODAY = "IS_TODAY", e.VECTOR_SEARCH = "VECTOR_SEARCH", e;
9637
9637
  }({}), up = /* @__PURE__ */ function(e) {
9638
- return e.ASC = "ASC", e.DESC = "DESC", e;
9638
+ return e.Is = "is", e.IsNotNull = "isNotNull", e.IsNot = "isNot", e.LessThanOrEqual = "lessThan", e.GreaterThanOrEqual = "greaterThan", e.IsBefore = "isBefore", e.IsAfter = "isAfter", e.Contains = "contains", e.DoesNotContain = "doesNotContain", e.IsEmpty = "isEmpty", e.IsNotEmpty = "isNotEmpty", e.IsRelative = "isRelative", e.IsInPast = "isInPast", e.IsInFuture = "isInFuture", e.IsToday = "isToday", e;
9639
9639
  }({}), dp = /* @__PURE__ */ function(e) {
9640
- return e.TABLE = "TABLE", e.KANBAN = "KANBAN", e.CALENDAR = "CALENDAR", e.LIST = "LIST", e.FIELDS_WIDGET = "FIELDS_WIDGET", e.TABLE_WIDGET = "TABLE_WIDGET", e.KANBAN_WIDGET = "KANBAN_WIDGET", e.LIST_WIDGET = "LIST_WIDGET", e.CALENDAR_WIDGET = "CALENDAR_WIDGET", e;
9640
+ return e.INDEX = "INDEX", e;
9641
9641
  }({}), fp = /* @__PURE__ */ function(e) {
9642
+ return e.SIDE_PANEL = "SIDE_PANEL", e.RECORD_PAGE = "RECORD_PAGE", e;
9643
+ }({}), pp = /* @__PURE__ */ function(e) {
9644
+ return e.ASC = "ASC", e.DESC = "DESC", e;
9645
+ }({}), mp = /* @__PURE__ */ function(e) {
9646
+ return e.TABLE = "TABLE", e.KANBAN = "KANBAN", e.CALENDAR = "CALENDAR", e.LIST = "LIST", e.FIELDS_WIDGET = "FIELDS_WIDGET", e.TABLE_WIDGET = "TABLE_WIDGET", e.KANBAN_WIDGET = "KANBAN_WIDGET", e.LIST_WIDGET = "LIST_WIDGET", e.CALENDAR_WIDGET = "CALENDAR_WIDGET", e;
9647
+ }({}), hp = /* @__PURE__ */ function(e) {
9642
9648
  return e.WORKSPACE = "WORKSPACE", e.UNLISTED = "UNLISTED", e;
9643
- }({}), pp = "20202020-64aa-4b6f-b003-9c74b97cee20", $ = ({ entityNamespace: e, value: t, applicationUniversalIdentifier: n }) => u(`${e}:${t}`, n), mp = ({ applicationUniversalIdentifier: e, objectUniversalIdentifier: t, name: n }) => $({
9649
+ }({}), gp = "20202020-64aa-4b6f-b003-9c74b97cee20", $ = ({ entityNamespace: e, value: t, applicationUniversalIdentifier: n }) => u(`${e}:${t}`, n), _p = ({ applicationUniversalIdentifier: e, objectUniversalIdentifier: t, name: n }) => $({
9644
9650
  entityNamespace: "fieldMetadata",
9645
9651
  value: `${t}:${n}`,
9646
9652
  applicationUniversalIdentifier: e
9647
- }), hp = ({ applicationUniversalIdentifier: e, objectUniversalIdentifier: t, name: n }) => $({
9653
+ }), vp = ({ applicationUniversalIdentifier: e, objectUniversalIdentifier: t, name: n }) => $({
9648
9654
  entityNamespace: "pageLayout",
9649
9655
  value: t ? `${t}:${n}` : n,
9650
9656
  applicationUniversalIdentifier: e
9651
- }), gp = ({ objectMetadataApplicationUniversalIdentifier: e, pageLayoutUniversalIdentifier: t, title: n }) => $({
9657
+ }), yp = ({ objectMetadataApplicationUniversalIdentifier: e, pageLayoutUniversalIdentifier: t, title: n }) => $({
9652
9658
  entityNamespace: "pageLayoutTab",
9653
9659
  value: `${t}:${n}`,
9654
9660
  applicationUniversalIdentifier: e
9655
- }), _p = ({ objectMetadataApplicationUniversalIdentifier: e, pageLayoutTabUniversalIdentifier: t, title: n }) => $({
9661
+ }), bp = ({ objectMetadataApplicationUniversalIdentifier: e, pageLayoutTabUniversalIdentifier: t, title: n }) => $({
9656
9662
  entityNamespace: "pageLayoutWidget",
9657
9663
  value: `${t}:${n}`,
9658
9664
  applicationUniversalIdentifier: e
9659
- }), vp = ({ objectMetadataApplicationUniversalIdentifier: e, objectUniversalIdentifier: t }) => hp({
9665
+ }), xp = ({ objectMetadataApplicationUniversalIdentifier: e, objectUniversalIdentifier: t }) => vp({
9660
9666
  applicationUniversalIdentifier: e,
9661
9667
  objectUniversalIdentifier: t,
9662
- name: Qf.RECORD_PAGE
9663
- }), yp = ({ applicationUniversalIdentifier: e, objectUniversalIdentifier: t, relationTargetObjectUniversalIdentifier: n }) => $({
9668
+ name: ep.RECORD_PAGE
9669
+ }), Sp = ({ applicationUniversalIdentifier: e, objectUniversalIdentifier: t, relationTargetObjectUniversalIdentifier: n }) => $({
9664
9670
  entityNamespace: "fieldMetadata",
9665
9671
  value: `${t}:systemRelation:${n}`,
9666
9672
  applicationUniversalIdentifier: e
9667
- }), bp = ({ objectMetadataApplicationUniversalIdentifier: e, viewUniversalIdentifier: t, name: n }) => $({
9673
+ }), Cp = ({ objectMetadataApplicationUniversalIdentifier: e, viewUniversalIdentifier: t, name: n }) => $({
9668
9674
  entityNamespace: "viewFieldGroup",
9669
9675
  value: `${t}:${n}`,
9670
9676
  applicationUniversalIdentifier: e
9671
- }), xp = ({ fieldMetadataApplicationUniversalIdentifier: e, viewUniversalIdentifier: t, fieldMetadataUniversalIdentifier: n }) => $({
9677
+ }), wp = ({ fieldMetadataApplicationUniversalIdentifier: e, viewUniversalIdentifier: t, fieldMetadataUniversalIdentifier: n }) => $({
9672
9678
  entityNamespace: "viewField",
9673
9679
  value: `${t}:${n}`,
9674
9680
  applicationUniversalIdentifier: e
9675
- }), Sp = {
9681
+ }), Tp = {
9676
9682
  INDEX: "INDEX",
9677
9683
  FIELDS_WIDGET: "FIELDS_WIDGET"
9678
- }, Cp = ({ objectMetadataApplicationUniversalIdentifier: e, objectUniversalIdentifier: t, viewKey: n }) => $({
9684
+ }, Ep = ({ objectMetadataApplicationUniversalIdentifier: e, objectUniversalIdentifier: t, viewKey: n }) => $({
9679
9685
  entityNamespace: "view",
9680
9686
  value: `${t}:${n}`,
9681
9687
  applicationUniversalIdentifier: e
9682
- }), wp = [
9688
+ }), Dp = [
9683
9689
  "Communication",
9684
9690
  "Productivity",
9685
9691
  "Product management",
@@ -9689,32 +9695,32 @@ var Bf = /* @__PURE__ */ function(e) {
9689
9695
  "Data",
9690
9696
  "Search",
9691
9697
  "Other"
9692
- ], Tp = (e) => wp.includes(e);
9698
+ ], Op = (e) => Dp.includes(e);
9693
9699
  Q.TEXT, Q.ARRAY, Q.BOOLEAN, Q.DATE, Q.DATE_TIME, Q.NUMBER, Q.NUMERIC, Q.RAW_JSON, Q.RICH_TEXT, Q.SELECT, Q.MULTI_SELECT;
9694
9700
  //#endregion
9695
9701
  //#region ../twenty-shared/dist/application.mjs
9696
- var Ep = "public", Dp = "front-component-shared-dependencies.mjs", Op = "twenty:front-component-shared-dependencies", kp = { js: "import { createRequire as __createRequire } from 'module';\nconst require = __createRequire(import.meta.url);" }, Ap = ".twenty/output", jp = /* @__PURE__ */ function(e) {
9702
+ var kp = "public", Ap = "front-component-shared-dependencies.mjs", jp = "twenty:front-component-shared-dependencies", Mp = { js: "import { createRequire as __createRequire } from 'module';\nconst require = __createRequire(import.meta.url);" }, Np = ".twenty/output", Pp = /* @__PURE__ */ function(e) {
9697
9703
  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.TimelineActivityType = "timelineActivityType", e;
9698
- }({}), Mp = (e) => `__shared_dependencies_${e.replace(/[^A-Za-z0-9]/g, "_")}__`, Np = ({ specifier: e, exportNames: t }) => {
9699
- let n = Mp(e), r = [`import { ${n} } from ${JSON.stringify(Op)};`];
9704
+ }({}), Fp = (e) => `__shared_dependencies_${e.replace(/[^A-Za-z0-9]/g, "_")}__`, Ip = ({ specifier: e, exportNames: t }) => {
9705
+ let n = Fp(e), r = [`import { ${n} } from ${JSON.stringify(jp)};`];
9700
9706
  for (let [e, i] of t.namedExports.entries()) r.push(`const __sharedDependenciesExport${e} = ${n}[${JSON.stringify(i)}];`, `export { __sharedDependenciesExport${e} as ${JSON.stringify(i)} };`);
9701
9707
  return t.hasDefaultExport && r.push(`export default ${n}.default;`), r.join("\n");
9702
- }, Pp = "twenty-shared-dependencies-shim", Fp = (e) => ({
9708
+ }, Lp = "twenty-shared-dependencies-shim", Rp = (e) => ({
9703
9709
  name: "twenty-shared-dependencies-shim",
9704
9710
  setup: (t) => {
9705
9711
  t.onResolve({ filter: /.*/ }, ({ path: t }) => {
9706
9712
  let n = e();
9707
9713
  if (se(n) && n.exportNamesBySpecifier.has(t)) return {
9708
9714
  path: t,
9709
- namespace: Pp
9715
+ namespace: Lp
9710
9716
  };
9711
9717
  }), t.onLoad({
9712
9718
  filter: /.*/,
9713
- namespace: Pp
9719
+ namespace: Lp
9714
9720
  }, ({ path: t }) => {
9715
9721
  let n = e()?.exportNamesBySpecifier.get(t);
9716
9722
  if (se(n)) return {
9717
- contents: Np({
9723
+ contents: Ip({
9718
9724
  specifier: t,
9719
9725
  exportNames: n
9720
9726
  }),
@@ -9722,19 +9728,19 @@ var Ep = "public", Dp = "front-component-shared-dependencies.mjs", Op = "twenty:
9722
9728
  };
9723
9729
  });
9724
9730
  }
9725
- }), Ip = (e) => `if (typeof document !== 'undefined') {
9731
+ }), zp = (e) => `if (typeof document !== 'undefined') {
9726
9732
  const styleElement = document.createElement('style');
9727
9733
  document.head.appendChild(styleElement);
9728
9734
  styleElement.textContent = ${JSON.stringify(e)};
9729
- }`, Lp = {
9735
+ }`, Bp = {
9730
9736
  name: "css-injection",
9731
9737
  setup: (e) => {
9732
9738
  e.onLoad({ filter: /\.css$/ }, async ({ path: e }) => ({
9733
- contents: Ip(await a(e, "utf8")),
9739
+ contents: zp(await a(e, "utf8")),
9734
9740
  loader: "js"
9735
9741
  }));
9736
9742
  }
9737
- }, Rp = "export var customElementMap = globalThis.__HTML_TAG_TO_CUSTOM_ELEMENT_TAG__ || {};\n\nvar _injectedStyleKeys = {};\n\nexport function injectStyleViaHead(cssText) {\n if (!cssText) return;\n var hash = 0;\n for (var i = 0; i < cssText.length; i++) {\n hash = ((hash << 5) - hash + cssText.charCodeAt(i)) | 0;\n }\n var key = 'jsx-style-' + hash;\n if (_injectedStyleKeys[key]) return;\n _injectedStyleKeys[key] = true;\n var el = document.createElement('style');\n el.setAttribute('data-jsx-style', key);\n el.textContent = cssText;\n document.head.appendChild(el);\n}\n\nexport function extractCssText(children) {\n if (typeof children === 'string') return children;\n if (Array.isArray(children))\n return children\n .filter(function (c) { return typeof c === 'string'; })\n .join('');\n return '';\n}\n\nvar _reactToDomEvent = {\n ondoubleclick: 'ondblclick',\n};\n\nfunction _isEventProp(name) {\n return (\n name.length > 2 &&\n name.charCodeAt(0) === 111 &&\n name.charCodeAt(1) === 110 &&\n name.charCodeAt(2) >= 65 &&\n name.charCodeAt(2) <= 90\n );\n}\n\nexport function splitEventProps(props) {\n if (!props) return { cleanProps: props, events: null };\n var events = null;\n var cleanProps = null;\n for (var k in props) {\n if (_isEventProp(k) && typeof props[k] === 'function') {\n if (!events) {\n events = {};\n cleanProps = {};\n for (var j in props) {\n if (j === k) break;\n cleanProps[j] = props[j];\n }\n }\n events[k] = props[k];\n } else if (events) {\n cleanProps[k] = props[k];\n }\n }\n return { cleanProps: cleanProps || props, events: events };\n}\n\nexport function makeEventRef(events, userRef) {\n return function(el) {\n if (el) {\n for (var name in events) {\n var domName = _reactToDomEvent[name.toLowerCase()] || name.toLowerCase();\n el[domName] = events[name];\n }\n }\n if (typeof userRef === 'function') userRef(el);\n else if (userRef != null && typeof userRef === 'object') userRef.current = el;\n };\n}", zp = "import {\n jsx as _originalJsx,\n jsxs as _originalJsxs,\n Fragment,\n} from '__real_react_jsx_runtime__';\n\nimport {\n customElementMap,\n injectStyleViaHead,\n extractCssText,\n splitEventProps,\n makeEventRef,\n} from '__jsx_shared_helpers__';\n\nfunction _wrapJsxFactory(originalFactory) {\n return function wrappedJsx(type, props, key) {\n if (typeof type === 'string') {\n if (type === 'style') {\n var css =\n props && props.dangerouslySetInnerHTML\n ? props.dangerouslySetInnerHTML.__html || ''\n : extractCssText(props && props.children);\n injectStyleViaHead(css);\n return null;\n }\n\n var customTag = customElementMap[type];\n if (customTag) {\n var split = splitEventProps(props);\n if (split.events) {\n var cp = split.cleanProps;\n cp.ref = makeEventRef(split.events, cp.ref);\n return originalFactory(customTag, cp, key);\n }\n return originalFactory(customTag, props, key);\n }\n }\n return originalFactory(type, props, key);\n };\n}\n\nexport var jsx = _wrapJsxFactory(_originalJsx);\nexport var jsxs = _wrapJsxFactory(_originalJsxs);\nexport { Fragment };", Bp = "export * from '__real_react__';\nimport _React from '__real_react__';\n\nimport {\n customElementMap,\n injectStyleViaHead,\n extractCssText,\n splitEventProps,\n makeEventRef,\n} from '__jsx_shared_helpers__';\n\nvar _originalCreateElement = _React.createElement;\n\nfunction createElement(type) {\n var args = arguments;\n if (typeof type === 'string') {\n if (type === 'style') {\n var props = args.length > 1 ? args[1] : null;\n if (props) {\n var css = props.dangerouslySetInnerHTML\n ? props.dangerouslySetInnerHTML.__html || ''\n : extractCssText(props.children);\n injectStyleViaHead(css);\n }\n return null;\n }\n\n var customTag = customElementMap[type];\n if (customTag) {\n var ceProps = args.length > 1 ? args[1] : null;\n var split = splitEventProps(ceProps);\n if (split.events) {\n var cp = split.cleanProps || {};\n cp.ref = makeEventRef(split.events, cp.ref);\n var newArgs = [customTag, cp];\n for (var i = 2; i < args.length; i++) newArgs.push(args[i]);\n return _originalCreateElement.apply(null, newArgs);\n }\n var newArgs2 = [customTag];\n for (var i2 = 1; i2 < args.length; i2++) newArgs2.push(args[i2]);\n return _originalCreateElement.apply(null, newArgs2);\n }\n }\n return _originalCreateElement.apply(null, args);\n}\n\nexport { createElement };\nexport default Object.assign({}, _React, { createElement: createElement });", Vp = (e) => {
9743
+ }, Vp = "export var customElementMap = globalThis.__HTML_TAG_TO_CUSTOM_ELEMENT_TAG__ || {};\n\nvar _injectedStyleKeys = {};\n\nexport function injectStyleViaHead(cssText) {\n if (!cssText) return;\n var hash = 0;\n for (var i = 0; i < cssText.length; i++) {\n hash = ((hash << 5) - hash + cssText.charCodeAt(i)) | 0;\n }\n var key = 'jsx-style-' + hash;\n if (_injectedStyleKeys[key]) return;\n _injectedStyleKeys[key] = true;\n var el = document.createElement('style');\n el.setAttribute('data-jsx-style', key);\n el.textContent = cssText;\n document.head.appendChild(el);\n}\n\nexport function extractCssText(children) {\n if (typeof children === 'string') return children;\n if (Array.isArray(children))\n return children\n .filter(function (c) { return typeof c === 'string'; })\n .join('');\n return '';\n}\n\nvar _reactToDomEvent = {\n ondoubleclick: 'ondblclick',\n};\n\nfunction _isEventProp(name) {\n return (\n name.length > 2 &&\n name.charCodeAt(0) === 111 &&\n name.charCodeAt(1) === 110 &&\n name.charCodeAt(2) >= 65 &&\n name.charCodeAt(2) <= 90\n );\n}\n\nexport function splitEventProps(props) {\n if (!props) return { cleanProps: props, events: null };\n var events = null;\n var cleanProps = null;\n for (var k in props) {\n if (_isEventProp(k) && typeof props[k] === 'function') {\n if (!events) {\n events = {};\n cleanProps = {};\n for (var j in props) {\n if (j === k) break;\n cleanProps[j] = props[j];\n }\n }\n events[k] = props[k];\n } else if (events) {\n cleanProps[k] = props[k];\n }\n }\n return { cleanProps: cleanProps || props, events: events };\n}\n\nexport function makeEventRef(events, userRef) {\n return function(el) {\n if (el) {\n for (var name in events) {\n var domName = _reactToDomEvent[name.toLowerCase()] || name.toLowerCase();\n el[domName] = events[name];\n }\n }\n if (typeof userRef === 'function') userRef(el);\n else if (userRef != null && typeof userRef === 'object') userRef.current = el;\n };\n}", Hp = "import {\n jsx as _originalJsx,\n jsxs as _originalJsxs,\n Fragment,\n} from '__real_react_jsx_runtime__';\n\nimport {\n customElementMap,\n injectStyleViaHead,\n extractCssText,\n splitEventProps,\n makeEventRef,\n} from '__jsx_shared_helpers__';\n\nfunction _wrapJsxFactory(originalFactory) {\n return function wrappedJsx(type, props, key) {\n if (typeof type === 'string') {\n if (type === 'style') {\n var css =\n props && props.dangerouslySetInnerHTML\n ? props.dangerouslySetInnerHTML.__html || ''\n : extractCssText(props && props.children);\n injectStyleViaHead(css);\n return null;\n }\n\n var customTag = customElementMap[type];\n if (customTag) {\n var split = splitEventProps(props);\n if (split.events) {\n var cp = split.cleanProps;\n cp.ref = makeEventRef(split.events, cp.ref);\n return originalFactory(customTag, cp, key);\n }\n return originalFactory(customTag, props, key);\n }\n }\n return originalFactory(type, props, key);\n };\n}\n\nexport var jsx = _wrapJsxFactory(_originalJsx);\nexport var jsxs = _wrapJsxFactory(_originalJsxs);\nexport { Fragment };", Up = "export * from '__real_react__';\nimport _React from '__real_react__';\n\nimport {\n customElementMap,\n injectStyleViaHead,\n extractCssText,\n splitEventProps,\n makeEventRef,\n} from '__jsx_shared_helpers__';\n\nvar _originalCreateElement = _React.createElement;\n\nfunction createElement(type) {\n var args = arguments;\n if (typeof type === 'string') {\n if (type === 'style') {\n var props = args.length > 1 ? args[1] : null;\n if (props) {\n var css = props.dangerouslySetInnerHTML\n ? props.dangerouslySetInnerHTML.__html || ''\n : extractCssText(props.children);\n injectStyleViaHead(css);\n }\n return null;\n }\n\n var customTag = customElementMap[type];\n if (customTag) {\n var ceProps = args.length > 1 ? args[1] : null;\n var split = splitEventProps(ceProps);\n if (split.events) {\n var cp = split.cleanProps || {};\n cp.ref = makeEventRef(split.events, cp.ref);\n var newArgs = [customTag, cp];\n for (var i = 2; i < args.length; i++) newArgs.push(args[i]);\n return _originalCreateElement.apply(null, newArgs);\n }\n var newArgs2 = [customTag];\n for (var i2 = 1; i2 < args.length; i2++) newArgs2.push(args[i2]);\n return _originalCreateElement.apply(null, newArgs2);\n }\n }\n return _originalCreateElement.apply(null, args);\n}\n\nexport { createElement };\nexport default Object.assign({}, _React, { createElement: createElement });", Wp = (e) => {
9738
9744
  let t = e?.usePreact ?? !1, n = t ? "preact/jsx-runtime" : "react/jsx-runtime", r = t ? "preact/compat" : "react";
9739
9745
  return {
9740
9746
  name: "jsx-runtime-remote-wrapper",
@@ -9747,7 +9753,7 @@ var Ep = "public", Dp = "front-component-shared-dependencies.mjs", Op = "twenty:
9747
9753
  filter: /.*/,
9748
9754
  namespace: "jsx-shared-helpers"
9749
9755
  }, () => ({
9750
- contents: Rp,
9756
+ contents: Vp,
9751
9757
  loader: "js"
9752
9758
  })), e.onResolve({ filter: /^react\/jsx-runtime$/ }, async (r) => {
9753
9759
  if (!r.pluginData?.skipJsxWrapper) return t ||= (await e.resolve(n, {
@@ -9765,7 +9771,7 @@ var Ep = "public", Dp = "front-component-shared-dependencies.mjs", Op = "twenty:
9765
9771
  filter: /.*/,
9766
9772
  namespace: "jsx-runtime-wrapper"
9767
9773
  }, () => ({
9768
- contents: zp,
9774
+ contents: Hp,
9769
9775
  loader: "js"
9770
9776
  })), e.onResolve({ filter: /^react$/ }, async (t) => {
9771
9777
  if (!t.pluginData?.skipJsxWrapper) return i ||= (await e.resolve(r, {
@@ -9783,28 +9789,28 @@ var Ep = "public", Dp = "front-component-shared-dependencies.mjs", Op = "twenty:
9783
9789
  filter: /.*/,
9784
9790
  namespace: "react-wrapper"
9785
9791
  }, () => ({
9786
- contents: Bp,
9792
+ contents: Up,
9787
9793
  loader: "js"
9788
9794
  }));
9789
9795
  }
9790
9796
  };
9791
- }, Hp = /import\s*\{\s*define(?:Settings)?FrontComponent\s*\}\s*from\s*['"][^'"]+['"];?\n?/g, Up = /export\s+default\s+define(?:Settings)?FrontComponent\s*\(/, Wp = /component\s*:\s*([A-Za-z_$][\w$]*)\s*[,}]/, Gp = "__frontComponentDefinition", Kp = (e) => {
9792
- let t = e.replace(Hp, "");
9793
- if (!Up.test(t)) return t;
9794
- t = t.replace(Up, `const ${Gp} = (`);
9795
- let n = t.match(Wp);
9797
+ }, Gp = /import\s*\{\s*define(?:Settings)?FrontComponent\s*\}\s*from\s*['"][^'"]+['"];?\n?/g, Kp = /export\s+default\s+define(?:Settings)?FrontComponent\s*\(/, qp = /component\s*:\s*([A-Za-z_$][\w$]*)\s*[,}]/, Jp = "__frontComponentDefinition", Yp = (e) => {
9798
+ let t = e.replace(Gp, "");
9799
+ if (!Kp.test(t)) return t;
9800
+ t = t.replace(Kp, `const ${Jp} = (`);
9801
+ let n = t.match(qp);
9796
9802
  if (n) {
9797
9803
  let e = n[1];
9798
9804
  t = t.replace(RegExp(`export\\s+(const|function)\\s+${e}\\b`), `$1 ${e}`);
9799
9805
  }
9800
- return "import { createRoot as __createRoot } from 'react-dom/client';\nimport { jsx as __frontComponentJsx } from 'react/jsx-runtime';\n" + t + `\nexport default function __renderFrontComponent(__container) { __createRoot(__container).render(__frontComponentJsx(${Gp}.component, {})); }\n`;
9801
- }, qp = {
9806
+ return "import { createRoot as __createRoot } from 'react-dom/client';\nimport { jsx as __frontComponentJsx } from 'react/jsx-runtime';\n" + t + `\nexport default function __renderFrontComponent(__container) { __createRoot(__container).render(__frontComponentJsx(${Jp}.component, {})); }\n`;
9807
+ }, Xp = {
9802
9808
  name: "jsx-transform-to-remote-dom-worker-format-plugin",
9803
9809
  setup: (e) => {
9804
9810
  e.onLoad({ filter: /\.tsx$/ }, async ({ path: e }) => {
9805
9811
  try {
9806
9812
  return {
9807
- contents: Kp(await a(e, "utf8")),
9813
+ contents: Yp(await a(e, "utf8")),
9808
9814
  loader: "tsx"
9809
9815
  };
9810
9816
  } catch (t) {
@@ -9815,7 +9821,7 @@ var Ep = "public", Dp = "front-component-shared-dependencies.mjs", Op = "twenty:
9815
9821
  }
9816
9822
  });
9817
9823
  }
9818
- }, Jp = () => ({
9824
+ }, Zp = () => ({
9819
9825
  name: "preact-alias",
9820
9826
  setup: (e) => {
9821
9827
  let t;
@@ -9827,25 +9833,25 @@ var Ep = "public", Dp = "front-component-shared-dependencies.mjs", Op = "twenty:
9827
9833
  resolveDir: t.resolveDir
9828
9834
  })).path }));
9829
9835
  }
9830
- }), Yp = /^\/\/.*$\n/gm, Xp = {
9836
+ }), Qp = /^\/\/.*$\n/gm, $p = {
9831
9837
  name: "strip-comments",
9832
9838
  setup: (e) => {
9833
9839
  e.onEnd(async (e) => {
9834
9840
  if (e.errors.length > 0) return;
9835
9841
  let t = Object.keys(e.metafile?.outputs ?? {}).filter((e) => e.endsWith(".mjs"));
9836
9842
  for (let e of t) {
9837
- let t = i.resolve(e), n = await a(t, "utf-8"), r = n.replace(Yp, "");
9843
+ let t = i.resolve(e), n = await a(t, "utf-8"), r = n.replace(Qp, "");
9838
9844
  r !== n && await o(t, r, "utf-8");
9839
9845
  }
9840
9846
  });
9841
9847
  }
9842
- }, Zp = (e) => [
9843
- ...se(e?.getSharedDependenciesBuildContext) ? [Fp(e.getSharedDependenciesBuildContext)] : [],
9844
- Vp(e?.usePreact ? { usePreact: !0 } : void 0),
9845
- ...e?.usePreact ? [Jp()] : [],
9846
- qp,
9847
- Lp,
9848
- Xp
9848
+ }, em = (e) => [
9849
+ ...se(e?.getSharedDependenciesBuildContext) ? [Rp(e.getSharedDependenciesBuildContext)] : [],
9850
+ Wp(e?.usePreact ? { usePreact: !0 } : void 0),
9851
+ ...e?.usePreact ? [Zp()] : [],
9852
+ Xp,
9853
+ Bp,
9854
+ $p
9849
9855
  ];
9850
9856
  //#endregion
9851
- export { vf as $, ap as A, tp as B, ip as C, ae as Ct, Bf as D, Hf as E, Of as F, Yf as G, cp as H, Kf as I, qf as J, $f as K, Xf as L, Uf as M, Gf as N, lp as O, np as P, rp as Q, Af as R, Wf as S, oe as St, fp as T, zf as U, ep as V, op as W, Q as X, Qf as Y, Jf as Z, gp as _, $t as _t, Dp as a, Cl as at, bp as b, re as bt, jp as c, hd as ct, vp as d, qu as dt, pf as et, xp as f, of as ft, pp as g, El as gt, yp as h, Zu as ht, Ap as i, $u as it, dp as j, up as k, Tp as l, Yu as lt, mp as m, q as mt, Mp as n, Wu as nt, kp as o, gu as ot, Sp as p, ad as pt, kf as q, Op as r, Su as rt, Ep as s, Kd as st, Zp as t, fd as tt, wp as u, hu as ut, Cp as v, ce as vt, Vf as w, sp as x, m as xt, _p as y, se as yt, Zf as z };
9857
+ export { op as $, Vf as A, Zf as B, fp as C, re as Ct, Uf as D, pp as E, ae as Et, Gf as F, Xf as G, tp as H, np as I, jf as J, $f as K, ap as L, dp as M, hp as N, mp as O, qf as P, rp as Q, Yf as R, sp as S, se as St, Hf as T, oe as Tt, ep as U, Of as V, cp as W, Q as X, Qf as Y, Jf as Z, yp as _, q as _t, Mp as a, Wu as at, Cp as b, $t as bt, Op as c, Cl as ct, xp as d, hd as dt, ip as et, wp as f, Yu as ft, gp as g, ad as gt, Sp as h, of as ht, Np as i, fd as it, up as j, lp as k, Dp as l, gu as lt, _p as m, qu as mt, Fp as n, vf as nt, kp as o, Su as ot, Tp as p, hu as pt, kf as q, Ap as r, pf as rt, Pp as s, $u as st, em as t, Wf as tt, jp as u, Kd as ut, Ep as v, Zu as vt, Kf as w, m as wt, Bf as x, ce as xt, bp as y, El as yt, Af as z };
@@ -1 +1 @@
1
- const e=require("./get-front-component-build-plugins-CcV3Cown.js");let t=require("typescript");var n=`TwentyRecord`,r=n=>{let r=n.typeArguments?.[0];if(e.yt(r)&&r.kind===t.SyntaxKind.LiteralType&&r.literal.kind===t.SyntaxKind.StringLiteral)return r.literal.text},i=e=>e.type===`record`?{type:`records`,objectUniversalIdentifier:e.objectUniversalIdentifier}:{type:`array`,items:e},a=o=>{switch(o.kind){case t.SyntaxKind.NumberKeyword:return{type:`number`};case t.SyntaxKind.StringKeyword:return{type:`string`};case t.SyntaxKind.BooleanKeyword:return{type:`boolean`};case t.SyntaxKind.ArrayType:return i(a(o.elementType));case t.SyntaxKind.TypeReference:{let s=o,c=s.typeName.kind===t.SyntaxKind.Identifier?s.typeName.text:void 0;if(c===`Array`||c===`ReadonlyArray`){let t=s.typeArguments?.[0];return i(e.yt(t)?a(t):{})}if(c===n){let t=r(s);if(e.yt(t))return{type:`record`,objectUniversalIdentifier:t}}return{}}case t.SyntaxKind.ObjectKeyword:return{type:`object`};case t.SyntaxKind.TypeLiteral:{let t={};return o.members.forEach(n=>{if(e.yt(n.name)&&e.yt(n.type)){let e=n.name.text;t[e]=a(n.type)}}),{type:`object`,properties:t}}case t.SyntaxKind.UnionType:{let e=o,n=[],r=!0;return e.types.forEach(e=>{if(e.kind===t.SyntaxKind.LiteralType){let i=e.literal;i.kind===t.SyntaxKind.StringLiteral?n.push(i.text):r=!1}else r=!1}),r?{type:`string`,enum:n}:{}}default:return{}}},o=(t,n)=>t.parameters.reduce((t,n)=>{let r=n.type;return e.yt(r)?[...t,a(r)]:[...t,{}]},n),s=n=>n.kind===t.SyntaxKind.FunctionDeclaration?[n]:n.kind===t.SyntaxKind.VariableStatement?n.declarationList.declarations.filter(n=>e.yt(n.initializer)&&n.initializer.kind===t.SyntaxKind.ArrowFunction).map(e=>e.initializer):[],c=e=>{let n=(0,t.createSourceFile)(`temp.ts`,e,t.ScriptTarget.ESNext,!0),r=[];return n.forEachChild(e=>{(e.kind===t.SyntaxKind.FunctionDeclaration||e.kind===t.SyntaxKind.VariableStatement)&&s(e).forEach(e=>{r=o(e,r)})}),r};exports.getFunctionInputSchema=c;
1
+ const e=require("./get-front-component-build-plugins-DZIleilT.js");let t=require("typescript");var n=`TwentyRecord`,r=n=>{let r=n.typeArguments?.[0];if(e.St(r)&&r.kind===t.SyntaxKind.LiteralType&&r.literal.kind===t.SyntaxKind.StringLiteral)return r.literal.text},i=e=>e.type===`record`?{type:`records`,objectUniversalIdentifier:e.objectUniversalIdentifier}:{type:`array`,items:e},a=o=>{switch(o.kind){case t.SyntaxKind.NumberKeyword:return{type:`number`};case t.SyntaxKind.StringKeyword:return{type:`string`};case t.SyntaxKind.BooleanKeyword:return{type:`boolean`};case t.SyntaxKind.ArrayType:return i(a(o.elementType));case t.SyntaxKind.TypeReference:{let s=o,c=s.typeName.kind===t.SyntaxKind.Identifier?s.typeName.text:void 0;if(c===`Array`||c===`ReadonlyArray`){let t=s.typeArguments?.[0];return i(e.St(t)?a(t):{})}if(c===n){let t=r(s);if(e.St(t))return{type:`record`,objectUniversalIdentifier:t}}return{}}case t.SyntaxKind.ObjectKeyword:return{type:`object`};case t.SyntaxKind.TypeLiteral:{let t={};return o.members.forEach(n=>{if(e.St(n.name)&&e.St(n.type)){let e=n.name.text;t[e]=a(n.type)}}),{type:`object`,properties:t}}case t.SyntaxKind.UnionType:{let e=o,n=[],r=!0;return e.types.forEach(e=>{if(e.kind===t.SyntaxKind.LiteralType){let i=e.literal;i.kind===t.SyntaxKind.StringLiteral?n.push(i.text):r=!1}else r=!1}),r?{type:`string`,enum:n}:{}}default:return{}}},o=(t,n)=>t.parameters.reduce((t,n)=>{let r=n.type;return e.St(r)?[...t,a(r)]:[...t,{}]},n),s=n=>n.kind===t.SyntaxKind.FunctionDeclaration?[n]:n.kind===t.SyntaxKind.VariableStatement?n.declarationList.declarations.filter(n=>e.St(n.initializer)&&n.initializer.kind===t.SyntaxKind.ArrowFunction).map(e=>e.initializer):[],c=e=>{let n=(0,t.createSourceFile)(`temp.ts`,e,t.ScriptTarget.ESNext,!0),r=[];return n.forEachChild(e=>{(e.kind===t.SyntaxKind.FunctionDeclaration||e.kind===t.SyntaxKind.VariableStatement)&&s(e).forEach(e=>{r=o(e,r)})}),r};exports.getFunctionInputSchema=c;
@@ -2,7 +2,7 @@ import { createRequire as e } from "node:module";
2
2
  import { fileURLToPath as t } from "node:url";
3
3
  import { dirname as n } from "node:path";
4
4
  e(import.meta.url), n(t(import.meta.url));
5
- import { yt as r } from "./get-front-component-build-plugins-BZ1HBS5Y.mjs";
5
+ import { St as r } from "./get-front-component-build-plugins-WU9ATS3e.mjs";
6
6
  import { ScriptTarget as i, SyntaxKind as a, createSourceFile as o } from "typescript";
7
7
  //#region ../twenty-shared/dist/get-function-input-schema-GNk3NRLJ.mjs
8
8
  var s = "TwentyRecord", c = (e) => {
@@ -26,6 +26,7 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=requi
26
26
  handle
27
27
  visibility
28
28
  userWorkspaceId
29
+ workspaceMemberId
29
30
  accessToken
30
31
  scopes
31
32
  authFailedAt
@@ -40,6 +41,7 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=requi
40
41
  handle
41
42
  visibility
42
43
  userWorkspaceId
44
+ workspaceMemberId
43
45
  accessToken
44
46
  scopes
45
47
  authFailedAt