twenty-sdk 2.7.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 (28) hide show
  1. package/dist/{catalog-sync-B7123fv7.js → catalog-sync-CanLpG9v.js} +1 -1
  2. package/dist/{catalog-sync-5PU93p3u.mjs → catalog-sync-DyCidT5d.mjs} +1 -1
  3. package/dist/cli/utilities/api/api-client.d.ts +3 -0
  4. package/dist/cli/utilities/api/api-service.d.ts +1 -0
  5. package/dist/cli/utilities/build/manifest/manifest-extract-config.d.ts +4 -0
  6. package/dist/cli/utilities/build/manifest/utils/validate-view-filter-operands.d.ts +6 -0
  7. package/dist/cli/utilities/dev/orchestrator/dev-mode-orchestrator-state.d.ts +0 -1
  8. package/dist/cli.cjs +7 -7
  9. package/dist/cli.mjs +859 -855
  10. package/dist/define/index.cjs +14 -14
  11. package/dist/define/index.cjs.map +1 -1
  12. package/dist/define/index.d.ts +66 -546
  13. package/dist/define/index.mjs +1623 -1977
  14. package/dist/define/index.mjs.map +1 -1
  15. package/dist/front-component/index.cjs +13 -13
  16. package/dist/front-component/index.cjs.map +1 -1
  17. package/dist/front-component/index.d.ts +10 -2
  18. package/dist/front-component/index.mjs +1420 -1312
  19. package/dist/front-component/index.mjs.map +1 -1
  20. package/dist/{get-function-input-schema-BZ7_XyUh-BprcNdqJ.js → get-function-input-schema-BZ7_XyUh-COeGJwHh.js} +1 -1
  21. package/dist/{get-function-input-schema-BZ7_XyUh-CSpgPUBa.mjs → get-function-input-schema-BZ7_XyUh-Dql7-b-j.mjs} +1 -1
  22. package/dist/{login-oauth-CLUI-EwN.js → login-oauth-BESuSxoP.js} +62 -51
  23. package/dist/{login-oauth-OKavkVCc.mjs → login-oauth-DSC3zo9c.mjs} +3593 -3811
  24. package/dist/operations.cjs +1 -1
  25. package/dist/operations.mjs +2 -2
  26. package/dist/ui/index.cjs +20 -20
  27. package/dist/ui/index.mjs +6277 -6170
  28. package/package.json +2 -2
@@ -126,6 +126,8 @@ type CommandMenuContextApi = {
126
126
  permissionFlags: Record<string, boolean>;
127
127
  targetObjectReadPermissions: Record<string, boolean>;
128
128
  targetObjectWritePermissions: Record<string, boolean>;
129
+ canImpersonate: boolean;
130
+ canAccessFullAdminPanel: boolean;
129
131
  objectMetadataItem: Record<string, unknown>;
130
132
  objectMetadataLabel: string;
131
133
  };
@@ -189,6 +191,8 @@ declare const selectedRecords: CommandMenuContextApi["selectedRecords"];
189
191
  declare const featureFlags: CommandMenuContextApi["featureFlags"];
190
192
  declare const targetObjectReadPermissions: CommandMenuContextApi["targetObjectReadPermissions"];
191
193
  declare const targetObjectWritePermissions: CommandMenuContextApi["targetObjectWritePermissions"];
194
+ declare const canImpersonate: CommandMenuContextApi["canImpersonate"];
195
+ declare const canAccessFullAdminPanel: CommandMenuContextApi["canAccessFullAdminPanel"];
192
196
  declare const objectMetadataItem: CommandMenuContextApi["objectMetadataItem"];
193
197
  declare const isDefined: (value: unknown) => boolean;
194
198
  declare const isNonEmptyString: (value: unknown) => boolean;
@@ -227,6 +231,7 @@ type EnqueueSnackbarFunction = (params: EnqueueSnackbarParams) => Promise<void>;
227
231
  type CloseSidePanelFunction = () => Promise<void>;
228
232
  type UpdateProgressFunction = (progress: number) => Promise<void>;
229
233
  type RequestAccessTokenRefreshFunction = () => Promise<string>;
234
+ type CopyToClipboardFunction = (text: string) => Promise<void>;
230
235
  type OpenCommandConfirmationModalHostFunction = (params: Parameters<OpenCommandConfirmationModalFunction>[0]) => Promise<void>;
231
236
  type FrontComponentHostCommunicationApiStore = {
232
237
  navigate?: NavigateFunction;
@@ -237,6 +242,7 @@ type FrontComponentHostCommunicationApiStore = {
237
242
  enqueueSnackbar?: EnqueueSnackbarFunction;
238
243
  closeSidePanel?: CloseSidePanelFunction;
239
244
  updateProgress?: UpdateProgressFunction;
245
+ copyToClipboard?: CopyToClipboardFunction;
240
246
  };
241
247
  declare global {
242
248
  var frontComponentHostCommunicationApi: FrontComponentHostCommunicationApiStore;
@@ -244,6 +250,8 @@ declare global {
244
250
 
245
251
  declare const closeSidePanel: CloseSidePanelFunction;
246
252
 
253
+ declare const copyToClipboard: CopyToClipboardFunction;
254
+
247
255
  declare const getApplicationVariable: (key: string) => string | undefined;
248
256
 
249
257
  declare const enqueueSnackbar: EnqueueSnackbarFunction;
@@ -316,5 +324,5 @@ type CommandModalProps = {
316
324
  };
317
325
  declare const CommandModal: ({ title, subtitle, execute, confirmButtonText, confirmButtonAccent, }: CommandModalProps) => null;
318
326
 
319
- export { AppPath, Command, CommandLink, CommandModal, CommandOpenSidePanelPage, SidePanelPages, closeSidePanel, enqueueSnackbar, every, everyDefined, everyEquals, favoriteRecordIds, featureFlags, getApplicationVariable, getFrontComponentCommandErrorDedupeKey, hasAnySoftDeleteFilterOnView, includes, includesEvery, isDashboardPageLayoutInEditMode, isDefined, isInSidePanel, isLayoutCustomizationModeEnabled, isNonEmptyString, isSelectAll, navigate, none, noneDefined, noneEquals, numberOfSelectedRecords, objectMetadataItem, objectPermissions, openCommandConfirmationModal, openSidePanelPage, pageType, selectedRecords, some, someDefined, someEquals, someNonEmptyString, targetObjectReadPermissions, targetObjectWritePermissions, unmountFrontComponent, updateProgress, useFrontComponentExecutionContext, useFrontComponentId, useRecordId, useSelectedRecordIds, useUserId };
320
- export type { CloseSidePanelFunction, CommandConfirmationModalAccent, CommandConfirmationModalResult, CommandLinkProps, CommandModalProps, CommandOpenSidePanelPageProps, CommandProps, EnqueueSnackbarFunction, EnqueueSnackbarParams, FrontComponentExecutionContext, NavigateFunction, OpenCommandConfirmationModalFunction, OpenCommandConfirmationModalHostFunction, OpenSidePanelPageFunction, RequestAccessTokenRefreshFunction, SnackBarVariant, UnmountFrontComponentFunction, UpdateProgressFunction };
327
+ export { AppPath, Command, CommandLink, CommandModal, CommandOpenSidePanelPage, SidePanelPages, canAccessFullAdminPanel, canImpersonate, closeSidePanel, copyToClipboard, enqueueSnackbar, every, everyDefined, everyEquals, favoriteRecordIds, featureFlags, getApplicationVariable, getFrontComponentCommandErrorDedupeKey, hasAnySoftDeleteFilterOnView, includes, includesEvery, isDashboardPageLayoutInEditMode, isDefined, isInSidePanel, isLayoutCustomizationModeEnabled, isNonEmptyString, isSelectAll, navigate, none, noneDefined, noneEquals, numberOfSelectedRecords, objectMetadataItem, objectPermissions, openCommandConfirmationModal, openSidePanelPage, pageType, selectedRecords, some, someDefined, someEquals, someNonEmptyString, targetObjectReadPermissions, targetObjectWritePermissions, unmountFrontComponent, updateProgress, useFrontComponentExecutionContext, useFrontComponentId, useRecordId, useSelectedRecordIds, useUserId };
328
+ export type { CloseSidePanelFunction, CommandConfirmationModalAccent, CommandConfirmationModalResult, CommandLinkProps, CommandModalProps, CommandOpenSidePanelPageProps, CommandProps, CopyToClipboardFunction, EnqueueSnackbarFunction, EnqueueSnackbarParams, FrontComponentExecutionContext, NavigateFunction, OpenCommandConfirmationModalFunction, OpenCommandConfirmationModalHostFunction, OpenSidePanelPageFunction, RequestAccessTokenRefreshFunction, SnackBarVariant, UnmountFrontComponentFunction, UpdateProgressFunction };