twenty-sdk 2.19.0 → 2.21.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 (42) 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-CjqZ81jv.mjs +18 -0
  4. package/dist/{catalog-sync-DHopgolZ.js → catalog-sync-DoBWDnCd.js} +1 -1
  5. package/dist/cli/utilities/api/api-service.d.ts +10 -0
  6. package/dist/cli/utilities/api/application-api.d.ts +10 -0
  7. package/dist/cli/utilities/auth/build-app-token-pair-fetcher.d.ts +5 -0
  8. package/dist/cli/utilities/auth/ensure-app-access-token-is-valid-or-refresh.d.ts +11 -4
  9. package/dist/cli/utilities/auth/ensure-app-registration.d.ts +1 -1
  10. package/dist/cli/utilities/build/common/esbuild-result-processor.d.ts +2 -2
  11. package/dist/cli/utilities/dev/orchestrator/dev-mode-orchestrator.d.ts +1 -0
  12. package/dist/cli/utilities/dev/orchestrator/steps/generate-api-client-orchestrator-step.d.ts +2 -4
  13. package/dist/cli/utilities/dev/orchestrator/steps/register-app-orchestrator-step.d.ts +1 -1
  14. package/dist/cli/utilities/version/get-server-version-from-api.d.ts +1 -0
  15. package/dist/cli.cjs +25 -32
  16. package/dist/cli.mjs +39604 -39589
  17. package/dist/define/index.cjs +19 -19
  18. package/dist/define/index.cjs.map +1 -1
  19. package/dist/define/index.d.ts +102 -18
  20. package/dist/define/index.mjs +5363 -5306
  21. package/dist/define/index.mjs.map +1 -1
  22. package/dist/front-component/index.cjs.map +1 -1
  23. package/dist/front-component/index.d.ts +1 -0
  24. package/dist/front-component/index.mjs +1 -1
  25. package/dist/front-component/index.mjs.map +1 -1
  26. package/dist/front-component-renderer/build.cjs +1 -1
  27. package/dist/front-component-renderer/build.mjs +6 -2
  28. package/dist/{get-front-component-build-plugins-Dqpyup2W.js → get-front-component-build-plugins-C7h3DVdC.js} +2 -2
  29. package/dist/{get-front-component-build-plugins-taotEFOp.mjs → get-front-component-build-plugins-klRAsPTE.mjs} +39 -32
  30. package/dist/get-function-input-schema-GNk3NRLJ-C4DmUxTK.mjs +77 -0
  31. package/dist/logic-function/index.cjs.map +1 -1
  32. package/dist/logic-function/index.mjs.map +1 -1
  33. package/dist/{login-Dasbw3em.mjs → login-CIXRVsRD.mjs} +6728 -6700
  34. package/dist/{login-eEfUoaiV.js → login-CZP9z64V.js} +60 -47
  35. package/dist/operations.cjs +1 -1
  36. package/dist/operations.mjs +8 -4
  37. package/dist/utils/index.cjs.map +1 -1
  38. package/dist/utils/index.mjs.map +1 -1
  39. package/package.json +2 -2
  40. package/dist/catalog-sync-COKCJ_xf.mjs +0 -14
  41. package/dist/cli/utilities/build/manifest/utils/get-default-object-fields.d.ts +0 -6
  42. package/dist/get-function-input-schema-GNk3NRLJ-BoFRwEYV.mjs +0 -73
@@ -165,6 +165,7 @@ type OpenSidePanelPageParams = {
165
165
  preprompt?: {
166
166
  text: string;
167
167
  mode?: 'PREFILL' | 'SEND';
168
+ model?: 'FAST' | 'SMART';
168
169
  };
169
170
  } | {
170
171
  page: Exclude<SidePanelPages, SidePanelPages.ViewRecord | SidePanelPages.EditRichText | SidePanelPages.ComposeEmail | SidePanelPages.ViewFrontComponent | SidePanelPages.AskAI>;
@@ -2398,7 +2398,7 @@ Ci({
2398
2398
  [_.RICH_TEXT, ma]
2399
2399
  ]), _.RELATION, _.MORPH_RELATION, _.FILES, _.TS_VECTOR;
2400
2400
  //#endregion
2401
- //#region ../twenty-shared/dist/types-BxTnCKVO.mjs
2401
+ //#region ../twenty-shared/dist/types-qzUQuYDF.mjs
2402
2402
  var ha = /* @__PURE__ */ function(e) {
2403
2403
  return e.CommandMenuDisplay = "command-menu-display", e.ViewRecord = "view-record", e.MergeRecords = "merge-records", e.UpdateRecords = "update-records", e.EditRichText = "edit-rich-text", e.Copilot = "copilot", e.WorkflowTriggerSelectType = "workflow-trigger-select-type", e.WorkflowStepCreate = "workflow-step-create", e.WorkflowStepEditType = "workflow-step-edit-type", e.WorkflowStepView = "workflow-step-view", e.WorkflowStepEdit = "workflow-step-edit", e.WorkflowRunStepView = "workflow-run-step-view", e.SearchRecords = "search-records", e.AskAI = "ask-ai", e.ViewPreviousAiChats = "view-previous-ai-chats", e.PageLayoutDashboardWidgetTypeSelect = "page-layout-dashboard-widget-type-select", e.PageLayoutTabSettings = "page-layout-tab-settings", e.DashboardChartSettings = "dashboard-chart-settings", e.DashboardIframeSettings = "dashboard-iframe-settings", e.DashboardRecordTableSettings = "dashboard-record-table-settings", e.RecordPageFieldsSettings = "record-page-fields-settings", e.RecordPageFieldSettings = "record-page-field-settings", e.ViewFrontComponent = "view-front-component", e.NavigationMenuItemEdit = "navigation-menu-item-edit", e.NavigationMenuAddItem = "navigation-menu-add-item", e.CommandMenuEdit = "command-menu-edit", e.PageLayoutRecordPageWidgetTypeSelect = "page-layout-record-page-widget-type-select", e.ComposeEmail = "compose-email", e.ComposeCampaign = "compose-campaign", e;
2404
2404
  }({}), ga = "frontComponentHostCommunicationApi";