twenty-sdk 2.33.0 → 2.35.1

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/CHANGELOG.md +17 -0
  2. package/dist/billing/index.cjs.map +1 -1
  3. package/dist/billing/index.mjs.map +1 -1
  4. package/dist/{catalog-sync-DoEI8JO8.js → catalog-sync-Bs-X2ChV.js} +1 -1
  5. package/dist/{catalog-sync-DUp5hpKi.mjs → catalog-sync-C82Xfr2f.mjs} +1 -1
  6. package/dist/cli/utilities/build/manifest/manifest-extract-config.d.ts +4 -2
  7. package/dist/cli/utilities/build/manifest/utils/manifest-validation-helpers.d.ts +10 -0
  8. package/dist/cli/utilities/build/manifest/utils/validate-timeline-activity-types.d.ts +2 -0
  9. package/dist/cli/utilities/entity/entity-timeline-activity-type-template.d.ts +3 -0
  10. package/dist/cli.cjs +27 -20
  11. package/dist/cli.mjs +302 -285
  12. package/dist/define/index.cjs +2 -2
  13. package/dist/define/index.cjs.map +1 -1
  14. package/dist/define/index.d.ts +30 -9
  15. package/dist/define/index.mjs +152 -130
  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 +7 -1
  20. package/dist/front-component/index.mjs +7 -7
  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-DsfkhD6M.js → get-front-component-build-plugins-CcV3Cown.js} +1 -1
  25. package/dist/{get-front-component-build-plugins-Cn-MWltl.mjs → get-front-component-build-plugins-D9VJQHw7.mjs} +2 -2
  26. package/dist/{get-function-input-schema-GNk3NRLJ-B8zXGirB.js → get-function-input-schema-GNk3NRLJ-Byssjp8I.js} +1 -1
  27. package/dist/{get-function-input-schema-GNk3NRLJ-CwF3VRY5.mjs → get-function-input-schema-GNk3NRLJ-Dm0Ljlg4.mjs} +1 -1
  28. package/dist/logic-function/index.cjs +9 -9
  29. package/dist/logic-function/index.cjs.map +1 -1
  30. package/dist/logic-function/index.d.ts +52 -2
  31. package/dist/logic-function/index.mjs +622 -582
  32. package/dist/logic-function/index.mjs.map +1 -1
  33. package/dist/{login-153niBFr.mjs → login-BsiMC4oB.mjs} +954 -891
  34. package/dist/{login-Cl5xmujh.js → login-cG7hCrTK.js} +44 -44
  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
@@ -116,6 +116,7 @@ declare enum SidePanelPages {
116
116
  AskAI = "ask-ai",
117
117
  PageLayoutDashboardWidgetTypeSelect = "page-layout-dashboard-widget-type-select",
118
118
  PageLayoutTabSettings = "page-layout-tab-settings",
119
+ PageLayoutWidgetSettings = "page-layout-widget-settings",
119
120
  DashboardChartSettings = "dashboard-chart-settings",
120
121
  DashboardIframeSettings = "dashboard-iframe-settings",
121
122
  DashboardRecordTableSettings = "dashboard-record-table-settings",
@@ -127,6 +128,8 @@ declare enum SidePanelPages {
127
128
  CommandMenuEdit = "command-menu-edit",
128
129
  PageLayoutRecordPageWidgetTypeSelect = "page-layout-record-page-widget-type-select",
129
130
  ComposeEmail = "compose-email",
131
+ ComposeCalendarEvent = "compose-calendar-event",
132
+ CreateRelatedRecord = "create-related-record",
130
133
  SendCampaignTest = "send-campaign-test",
131
134
  EmailBlockSettings = "email-block-settings",
132
135
  SettingsMetadataTranslations = "settings-metadata-translations"
@@ -279,6 +282,7 @@ type FrontComponentExecutionContext = {
279
282
  recordId: string | null;
280
283
  /** All selected record IDs */
281
284
  selectedRecordIds: string[];
285
+ timelineActivityId: string | null;
282
286
  /** Resolved color scheme of the host UI ('System' is already resolved) */
283
287
  colorScheme: 'light' | 'dark';
284
288
  locale?: AppLocale;
@@ -304,6 +308,8 @@ declare const useRecordId: () => string | null;
304
308
 
305
309
  declare const useSelectedRecordIds: () => string[];
306
310
 
311
+ declare const useTimelineActivityId: () => string | null;
312
+
307
313
  declare const useUserId: () => string | null;
308
314
 
309
315
  declare const msg: (descriptor: string | MessageDescriptor) => MessageDescriptor;
@@ -337,5 +343,5 @@ type CommandModalProps = {
337
343
  };
338
344
  declare const CommandModal: ({ title, subtitle, execute, confirmButtonText, confirmButtonAccent, }: CommandModalProps) => null;
339
345
 
340
- export { AppPath, Command, CommandLink, CommandModal, CommandOpenSidePanelPage, SidePanelPages, Trans, closeSidePanel, copyToClipboard, enqueueSnackbar, getApplicationVariable, getFrontComponentCommandErrorDedupeKey, msg, navigate, openCommandConfirmationModal, openSidePanelPage, t, unmountFrontComponent, updateProgress, uploadFile, useColorScheme, useFrontComponentExecutionContext, useFrontComponentId, useLocale, useRecordId, useSelectedRecordIds, useTranslate, useUserId };
346
+ export { AppPath, Command, CommandLink, CommandModal, CommandOpenSidePanelPage, SidePanelPages, Trans, closeSidePanel, copyToClipboard, enqueueSnackbar, getApplicationVariable, getFrontComponentCommandErrorDedupeKey, msg, navigate, openCommandConfirmationModal, openSidePanelPage, t, unmountFrontComponent, updateProgress, uploadFile, useColorScheme, useFrontComponentExecutionContext, useFrontComponentId, useLocale, useRecordId, useSelectedRecordIds, useTimelineActivityId, useTranslate, useUserId };
341
347
  export type { CloseSidePanelFunction, CommandConfirmationModalAccent, CommandConfirmationModalResult, CommandLinkProps, CommandModalProps, CommandOpenSidePanelPageProps, CommandProps, CopyToClipboardFunction, EnqueueSnackbarFunction, EnqueueSnackbarParams, FrontComponentExecutionContext, FrontComponentStorageType, MessageDescriptor, NavigateFunction, OpenCommandConfirmationModalFunction, OpenCommandConfirmationModalHostFunction, OpenSidePanelPageFunction, OpenSidePanelPageParams, RequestAccessTokenRefreshFunction, SnackBarVariant, StorageClearFunction, StorageDeleteFunction, StorageSetFunction, TransProps, TranslationValues, UnmountFrontComponentFunction, UpdateProgressFunction, UploadFileFailureReason, UploadFileFunction, UploadFileParams, UploadFileResult, UploadedFrontComponentFile, UseTranslateResult };
@@ -3765,9 +3765,9 @@ Ka({
3765
3765
  [X.RICH_TEXT, zo]
3766
3766
  ]), X.RELATION, X.MORPH_RELATION, X.FILES, X.TS_VECTOR;
3767
3767
  //#endregion
3768
- //#region ../twenty-shared/dist/types-C6rmvVia.mjs
3768
+ //#region ../twenty-shared/dist/types-DIAIg-DD.mjs
3769
3769
  var Bo = /* @__PURE__ */ function(e) {
3770
- return e.CommandMenuDisplay = "command-menu-display", e.ViewRecord = "view-record", e.ViewRecords = "view-records", 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.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.SendCampaignTest = "send-campaign-test", e.EmailBlockSettings = "email-block-settings", e.SettingsMetadataTranslations = "settings-metadata-translations", e;
3770
+ return e.CommandMenuDisplay = "command-menu-display", e.ViewRecord = "view-record", e.ViewRecords = "view-records", 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.PageLayoutDashboardWidgetTypeSelect = "page-layout-dashboard-widget-type-select", e.PageLayoutTabSettings = "page-layout-tab-settings", e.PageLayoutWidgetSettings = "page-layout-widget-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.ComposeCalendarEvent = "compose-calendar-event", e.CreateRelatedRecord = "create-related-record", e.SendCampaignTest = "send-campaign-test", e.EmailBlockSettings = "email-block-settings", e.SettingsMetadataTranslations = "settings-metadata-translations", e;
3771
3771
  }({}), Vo = "frontComponentHostCommunicationApi";
3772
3772
  //#endregion
3773
3773
  //#region src/sdk/front-component/globals/frontComponentHostCommunicationApi.ts
@@ -3817,7 +3817,7 @@ var Z = globalThis.frontComponentHostCommunicationApi, Ho = () => {
3817
3817
  locale: t,
3818
3818
  t: e((e, n) => ht(e, n, t), [t])
3819
3819
  };
3820
- }, ts = (e) => e.selectedRecordIds.length === 1 ? e.selectedRecordIds[0] : null, ns = () => p(ts), rs = (e) => e.selectedRecordIds, is = () => p(rs), as = (e) => e.userId, os = () => p(as), ss = (e) => g(e), cs = () => u()?.locale ?? "en", ls = (e, t) => ht(e, t, cs()), us = (e) => `${e}-command-error`, ds = ({ execute: e }) => {
3820
+ }, ts = (e) => e.selectedRecordIds.length === 1 ? e.selectedRecordIds[0] : null, ns = () => p(ts), rs = (e) => e.selectedRecordIds, is = () => p(rs), as = () => p((e) => e.timelineActivityId), os = (e) => e.userId, ss = () => p(os), cs = (e) => g(e), ls = () => u()?.locale ?? "en", us = (e, t) => ht(e, t, ls()), ds = (e) => `${e}-command-error`, fs = ({ execute: e }) => {
3821
3821
  let [n, i] = r(!1);
3822
3822
  return t(() => {
3823
3823
  n || (i(!0), (async () => {
@@ -3828,7 +3828,7 @@ var Z = globalThis.frontComponentHostCommunicationApi, Ho = () => {
3828
3828
  n,
3829
3829
  $()
3830
3830
  ]), null;
3831
- }, fs = ({ to: e, params: n, queryParams: i, options: a }) => {
3831
+ }, ps = ({ to: e, params: n, queryParams: i, options: a }) => {
3832
3832
  let [o, s] = r(!1);
3833
3833
  return t(() => {
3834
3834
  o || (s(!0), (async () => {
@@ -3842,7 +3842,7 @@ var Z = globalThis.frontComponentHostCommunicationApi, Ho = () => {
3842
3842
  o,
3843
3843
  $()
3844
3844
  ]), null;
3845
- }, ps = (e) => {
3845
+ }, ms = (e) => {
3846
3846
  let [n, i] = r(!1);
3847
3847
  return t(() => {
3848
3848
  n || (i(!0), (async () => {
@@ -3853,7 +3853,7 @@ var Z = globalThis.frontComponentHostCommunicationApi, Ho = () => {
3853
3853
  n,
3854
3854
  $()
3855
3855
  ]), null;
3856
- }, ms = ({ title: e, subtitle: n, execute: i, confirmButtonText: a, confirmButtonAccent: o }) => {
3856
+ }, hs = ({ title: e, subtitle: n, execute: i, confirmButtonText: a, confirmButtonAccent: o }) => {
3857
3857
  let [s, c] = r(!1);
3858
3858
  return t(() => {
3859
3859
  s || (c(!0), (async () => {
@@ -3875,6 +3875,6 @@ var Z = globalThis.frontComponentHostCommunicationApi, Ho = () => {
3875
3875
  ]), null;
3876
3876
  };
3877
3877
  //#endregion
3878
- export { Ao as AppPath, ds as Command, fs as CommandLink, ms as CommandModal, ps as CommandOpenSidePanelPage, Bo as SidePanelPages, _t as Trans, Ho as closeSidePanel, Uo as copyToClipboard, Go as enqueueSnackbar, Wo as getApplicationVariable, us as getFrontComponentCommandErrorDedupeKey, ss as msg, Ko as navigate, qo as openCommandConfirmationModal, Jo as openSidePanelPage, ls as t, Q as unmountFrontComponent, Yo as updateProgress, Xo as uploadFile, Qo as useColorScheme, p as useFrontComponentExecutionContext, $ as useFrontComponentId, h as useLocale, ns as useRecordId, is as useSelectedRecordIds, es as useTranslate, os as useUserId };
3878
+ export { Ao as AppPath, fs as Command, ps as CommandLink, hs as CommandModal, ms as CommandOpenSidePanelPage, Bo as SidePanelPages, _t as Trans, Ho as closeSidePanel, Uo as copyToClipboard, Go as enqueueSnackbar, Wo as getApplicationVariable, ds as getFrontComponentCommandErrorDedupeKey, cs as msg, Ko as navigate, qo as openCommandConfirmationModal, Jo as openSidePanelPage, us as t, Q as unmountFrontComponent, Yo as updateProgress, Xo as uploadFile, Qo as useColorScheme, p as useFrontComponentExecutionContext, $ as useFrontComponentId, h as useLocale, ns as useRecordId, is as useSelectedRecordIds, as as useTimelineActivityId, es as useTranslate, ss as useUserId };
3879
3879
 
3880
3880
  //# sourceMappingURL=index.mjs.map