Skip to content

The open alternative to Salesforce, designed for AI.

Rename attachment target column to "Attached to" and add an attachment record page with inline preview (#26549)

Félix Malfait27ccb2d97e8a
diff --git a/packages/twenty-front/src/modules/page-layout/hooks/useResolveFieldMetadataIdFromNameOrId.ts b/packages/twenty-front/src/modules/page-layout/hooks/useResolveFieldMetadataIdFromNameOrId.ts
index 5b130d3e50e..67e29a1f30e 100644
--- a/packages/twenty-front/src/modules/page-layout/hooks/useResolveFieldMetadataIdFromNameOrId.ts
+++ b/packages/twenty-front/src/modules/page-layout/hooks/useResolveFieldMetadataIdFromNameOrId.ts
@@ -1,3 +1,4 @@
+import { doesFieldMetadataItemMatchFieldMetadataId } from '@/object-metadata/utils/doesFieldMetadataItemMatchFieldMetadataId';
import { useObjectMetadataItem } from '@/object-metadata/hooks/useObjectMetadataItem';
import { useTargetRecord } from '@/ui/layout/contexts/useTargetRecord';
import { useMemo } from 'react';
@@ -11,19 +12,18 @@ export const useResolveFieldMetadataIdFromNameOrId = (
objectNameSingular: targetRecord.targetObjectNameSingular,
});
- return useMemo(() => {
- const fieldByName = objectMetadataItem.fields.find(
- (field) => field.name === fieldMetadataIdOrName,
- );
-
- if (fieldByName !== undefined) {
- return fieldByName.id;
- }
-
- const fieldById = objectMetadataItem.fields.find(
- (field) => field.id === fieldMetadataIdOrName,
- );
-
- return fieldById?.id;
- }, [objectMetadataItem.fields, fieldMetadataIdOrName]);
+ // Only one field per morph group is served, so an id of another sibling
+ // resolves to the field that represents its group.
+ return useMemo(
+ () =>
+ objectMetadataItem.fields.find(
+ (field) =>
+ field.name === fieldMetadataIdOrName ||
+ doesFieldMetadataItemMatchFieldMetadataId({
+ fieldMetadataItem: field,
+ fieldMetadataId: fieldMetadataIdOrName,
+ }),
+ )?.id,
+ [objectMetadataItem.fields, fieldMetadataIdOrName],
+ );
};
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidget.tsx b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidget.tsx
index f14cde64830..2e6522f12c2 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidget.tsx
+++ b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidget.tsx
@@ -2,6 +2,10 @@ import { useFieldMetadataItemById } from '@/object-metadata/hooks/useFieldMetada
import { useObjectMetadataItem } from '@/object-metadata/hooks/useObjectMetadataItem';
import { useObjectMetadataItems } from '@/object-metadata/hooks/useObjectMetadataItems';
import { formatFieldMetadataItemAsColumnDefinition } from '@/object-metadata/utils/formatFieldMetadataItemAsColumnDefinition';
+import { isAttachmentPreviewEnabledState } from '@/client-config/states/isAttachmentPreviewEnabledState';
+import { isFieldFiles } from '@/object-record/record-field/ui/types/guards/isFieldFiles';
+import { type FieldFilesValue } from '@/object-record/record-field/ui/types/FieldMetadata';
+import { isFieldFilesValue } from '@/object-record/record-field/ui/types/guards/isFieldFilesValue';
import { isFieldMorphRelation } from '@/object-record/record-field/ui/types/guards/isFieldMorphRelation';
import { isFieldRelation } from '@/object-record/record-field/ui/types/guards/isFieldRelation';
import { isFieldRichText } from '@/object-record/record-field/ui/types/guards/isFieldRichText';
@@ -11,6 +15,7 @@ import { resolveJunctionConfig } from '@/object-record/record-field/ui/utils/jun
import { recordStoreFamilySelector } from '@/object-record/record-store/states/selectors/recordStoreFamilySelector';
import { useResolveFieldMetadataIdFromNameOrId } from '@/page-layout/hooks/useResolveFieldMetadataIdFromNameOrId';
import { type PageLayoutWidget } from '@/page-layout/types/PageLayoutWidget';
+import { FieldWidgetFilesPreview } from '@/page-layout/widgets/field/components/FieldWidgetFilesPreview';
import { FieldWidgetDisplay } from '@/page-layout/widgets/field/components/FieldWidgetDisplay';
import { FieldWidgetJunctionRelationCard } from '@/page-layout/widgets/field/components/FieldWidgetJunctionRelationCard';
import { FieldWidgetJunctionRelationField } from '@/page-layout/widgets/field/components/FieldWidgetJunctionRelationField';
@@ -29,6 +34,8 @@ import { useTargetRecord } from '@/ui/layout/contexts/useTargetRecord';
import { useWorkspaceSurface } from '@/ui/layout/hooks/useWorkspaceSurface';
import { SidePanelProvider } from '@/ui/layout/side-panel/contexts/SidePanelContext';
import { useAtomFamilySelectorValue } from '@/ui/utilities/state/jotai/hooks/useAtomFamilySelectorValue';
+import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';
+import { isNonEmptyString } from '@sniptt/guards';
import { styled } from '@linaria/react';
import { t } from '@lingui/core/macro';
import { isDefined } from 'twenty-shared/utils';
@@ -69,6 +76,10 @@ export const FieldWidget = ({ widget }: FieldWidgetProps) => {
fieldName: fieldMetadataItem?.name ?? '',
});
+ const isAttachmentPreviewEnabled = useAtomStateValue(
+ isAttachmentPreviewEnabledState,
+ );
+
if (!isDefined(fieldMetadataItem) || !fieldMetadataItem.isActive) {
return (
<SidePanelProvider value={{ isInSidePanel }}>
@@ -193,6 +204,23 @@ export const FieldWidget = ({ widget }: FieldWidgetProps) => {
);
}
+ if (
+ isFieldFiles(fieldDefinition) &&
+ fieldDisplayMode === FieldDisplayMode.CARD &&
+ isAttachmentPreviewEnabled
+ ) {
+ const previewableFile = isFieldFilesValue(record)
+ ? record.find(
+ (file): file is FieldFilesValue & { url: string } =>
+ !file.isDeleted && isNonEmptyString(file.url),
+ )
+ : undefined;
+
+ if (isDefined(previewableFile)) {
+ return <FieldWidgetFilesPreview file={previewableFile} />;
+ }
+ }
+
if (
isFieldRichText(fieldDefinition) &&
fieldDisplayMode === FieldDisplayMode.EDITOR
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetFilesPreview.tsx b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetFilesPreview.tsx
new file mode 100644
index 00000000000..3da85e0444c
--- /dev/null
+++ b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetFilesPreview.tsx
@@ -0,0 +1,87 @@
+import { PREVIEWABLE_EXTENSIONS } from '@/activities/files/const/previewable-extensions.const';
+import { downloadFile } from '@/activities/files/utils/downloadFile';
+import { type FieldFilesValue } from '@/object-record/record-field/ui/types/FieldMetadata';
+import { useHasPermissionFlag } from '@/settings/roles/hooks/useHasPermissionFlag';
+import { styled } from '@linaria/react';
+import { useLingui } from '@lingui/react/macro';
+import { lazy, Suspense } from 'react';
+import { IconDownload } from 'twenty-ui/icon';
+import { Button } from 'twenty-ui/primitives/input';
+import { themeCssVariables } from 'twenty-ui/theme';
+import { getFileNameAndExtension } from '~/utils/file/getFileNameAndExtension';
+import { PermissionFlagType } from '~/generated-metadata/graphql';
+
+const DocumentViewer = lazy(() =>
+ import('@/activities/files/components/DocumentViewer').then((module) => ({
+ default: module.DocumentViewer,
+ })),
+);
+
+const StyledContainer = styled.div`
+ display: flex;
+ flex-direction: column;
+ gap: ${themeCssVariables.spacing[2]};
+ width: 100%;
+`;
+
+const StyledActions = styled.div`
+ display: flex;
+ justify-content: flex-end;
+`;
+
+const StyledLoadingText = styled.div`
+ color: ${themeCssVariables.font.color.tertiary};
+ padding: ${themeCssVariables.spacing[4]};
+`;
+
+type FieldWidgetFilesPreviewProps = {
+ file: FieldFilesValue & { url: string };
+};
+
+export const FieldWidgetFilesPreview = ({
+ file,
+}: FieldWidgetFilesPreviewProps) => {
+ const { t } = useLingui();
+
+ const hasDownloadPermission = useHasPermissionFlag(
+ PermissionFlagType.DOWNLOAD_FILE,
+ );
+
+ const fileExtension = (
+ file.extension ??
+ getFileNameAndExtension(file.label).extension ??
+ ''
+ )
+ .toLowerCase()
+ .replace('.', '');
+
+ // Files the viewer cannot render already come with their own download
+ // action inside the unavailable-preview state.
+ const isPreviewable = PREVIEWABLE_EXTENSIONS.includes(fileExtension);
+
+ return (
+ <StyledContainer>
+ {hasDownloadPermission && isPreviewable && (
+ <StyledActions>
+ <Button
+ startIcon={<IconDownload />}
+ size="sm"
+ variant="outline"
+ onClick={() => downloadFile(file.url, file.label)}
+ >{t`Download`}</Button>
+ </StyledActions>
+ )}
+ <Suspense
+ fallback={
+ <StyledLoadingText>{t`Loading document viewer...`}</StyledLoadingText>
+ }
+ >
+ <DocumentViewer
+ documentName={file.label}
+ documentUrl={file.url}
+ documentExtension={file.extension}
+ />
+ </Suspense>
+ </StyledContainer>
+ );
+};
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/field/constants/fieldWidgetConfig.ts b/packages/twenty-front/src/modules/page-layout/widgets/field/constants/fieldWidgetConfig.ts
index c324c3d555c..257b5be10e2 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/field/constants/fieldWidgetConfig.ts
+++ b/packages/twenty-front/src/modules/page-layout/widgets/field/constants/fieldWidgetConfig.ts
@@ -25,6 +25,10 @@ export const FIELD_WIDGET_CONFIG: Partial<
availableDisplayModes: [FieldDisplayMode.FIELD, FieldDisplayMode.CARD],
defaultDisplayMode: FieldDisplayMode.CARD,
},
+ [FieldMetadataType.FILES]: {
+ availableDisplayModes: [FieldDisplayMode.FIELD, FieldDisplayMode.CARD],
+ defaultDisplayMode: FieldDisplayMode.FIELD,
+ },
[FieldMetadataType.RICH_TEXT]: {
availableDisplayModes: [FieldDisplayMode.FIELD, FieldDisplayMode.EDITOR],
defaultDisplayMode: FieldDisplayMode.EDITOR,
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-31/constants/__tests__/pre-2-31-standard-record-page-layout-universal-identifier-by-object-universal-identifier.constant.spec.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-31/constants/__tests__/pre-2-31-standard-record-page-layout-universal-identifier-by-object-universal-identifier.constant.spec.ts
index b6d8550a143..0f2901a956c 100644
--- a/packages/twenty-server/src/database/commands/upgrade-version-command/2-31/constants/__tests__/pre-2-31-standard-record-page-layout-universal-identifier-by-object-universal-identifier.constant.spec.ts
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-31/constants/__tests__/pre-2-31-standard-record-page-layout-universal-identifier-by-object-universal-identifier.constant.spec.ts
@@ -8,7 +8,10 @@ import { PRE_2_31_STANDARD_RECORD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIER_BY_OBJECT_UNI
// Standard record-page layouts added AFTER 2.31 are born on the derived
// scheme and need no pre-2.31 literal: list them here to keep the
// completeness check green.
-const POST_2_28_RECORD_PAGE_KEYS: string[] = ['messageRecordPage'];
+const POST_2_28_RECORD_PAGE_KEYS: string[] = [
+ 'attachmentRecordPage',
+ 'messageRecordPage',
+];
describe('PRE_2_31_STANDARD_RECORD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIER_BY_OBJECT_UNIVERSAL_IDENTIFIER', () => {
// A missing entry would make the standard reconcile silently skip that
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-43/2-43-upgrade-version-command.module.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-43/2-43-upgrade-version-command.module.ts
index 2c1d8d5fcf3..e72ab0a7e1f 100644
--- a/packages/twenty-server/src/database/commands/upgrade-version-command/2-43/2-43-upgrade-version-command.module.ts
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-43/2-43-upgrade-version-command.module.ts
@@ -4,6 +4,8 @@ import { TypeOrmModule } from '@nestjs/typeorm';
import { AgentHistoryMigrationModule } from 'src/database/commands/agent-history/agent-history-migration.module';
import { WorkspaceIteratorModule } from 'src/database/commands/command-runners/workspace-iterator.module';
import { AttributeChatMessageSendersCommand } from 'src/database/commands/upgrade-version-command/2-43/2-43-workspace-command-1790171503075-attribute-chat-message-senders.command';
+import { RelabelAttachmentTargetFieldsCommand } from 'src/database/commands/upgrade-version-command/2-43/2-43-workspace-command-1790266078808-relabel-attachment-target-fields.command';
+import { SyncAttachmentRecordPageCommand } from 'src/database/commands/upgrade-version-command/2-43/2-43-workspace-command-1790266078807-sync-attachment-record-page.command';
import { DeleteSystemReadableObjectNavigationCommandMenuItemsCommand } from 'src/database/commands/upgrade-version-command/2-43/2-43-workspace-command-1790180964414-delete-system-readable-object-navigation-command-menu-items.command';
import { MoveCampaignSendingTablesToWorkspaceCommand } from 'src/database/commands/upgrade-version-command/2-43/2-43-workspace-command-1790203235337-move-campaign-sending-tables-to-workspace.command';
import { EnableCommonRecordSharingCommand } from 'src/database/commands/upgrade-version-command/2-43/2-43-workspace-command-1790251806563-enable-common-record-sharing.command';
@@ -11,21 +13,24 @@ import { BackfillLogicFunctionFileRowsCommand } from 'src/database/commands/upgr
import { ApplicationModule } from 'src/engine/core-modules/application/application.module';
import { BillingModule } from 'src/engine/core-modules/billing/billing.module';
import { FileEntity } from 'src/engine/core-modules/file/entities/file.entity';
+import { FieldMetadataEntity } from 'src/engine/metadata-modules/field-metadata/field-metadata.entity';
import { AgentHistoryModule } from 'src/engine/metadata-modules/ai/ai-history/ai-history.module';
import { provideWorkspaceScopedRepository } from 'src/engine/twenty-orm/workspace-scoped-repository/provide-workspace-scoped-repository';
import { WorkspaceCacheModule } from 'src/engine/workspace-cache/workspace-cache.module';
+import { WorkspaceMigrationRunnerModule } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/workspace-migration-runner.module';
import { WorkspaceMigrationModule } from 'src/engine/workspace-manager/workspace-migration/workspace-migration.module';
@Module({
imports: [
+ ApplicationModule,
AgentHistoryMigrationModule,
AgentHistoryModule,
- ApplicationModule,
- TypeOrmModule.forFeature([FileEntity]),
+ TypeOrmModule.forFeature([FieldMetadataEntity, FileEntity]),
WorkspaceCacheModule,
WorkspaceIteratorModule,
BillingModule,
WorkspaceMigrationModule,
+ WorkspaceMigrationRunnerModule,
],
providers: [
AttributeChatMessageSendersCommand,
@@ -33,6 +38,9 @@ import { WorkspaceMigrationModule } from 'src/engine/workspace-manager/workspace
DeleteSystemReadableObjectNavigationCommandMenuItemsCommand,
MoveCampaignSendingTablesToWorkspaceCommand,
BackfillLogicFunctionFileRowsCommand,
+ SyncAttachmentRecordPageCommand,
+ RelabelAttachmentTargetFieldsCommand,
+ provideWorkspaceScopedRepository(FieldMetadataEntity),
provideWorkspaceScopedRepository(FileEntity),
],
})
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-43/2-43-workspace-command-1790266078807-sync-attachment-record-page.command.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-43/2-43-workspace-command-1790266078807-sync-attachment-record-page.command.ts
new file mode 100644
index 00000000000..14759432baa
--- /dev/null
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-43/2-43-workspace-command-1790266078807-sync-attachment-record-page.command.ts
@@ -0,0 +1,335 @@
+import { Command } from 'nest-commander';
+import {
+ STANDARD_OBJECTS,
+ STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS,
+} from 'twenty-shared/metadata';
+import { isDefined } from 'twenty-shared/utils';
+
+import { ProvisionedWorkspaceCommandRunner } from 'src/database/commands/command-runners/provisioned-workspace.command-runner';
+import { WorkspaceIteratorService } from 'src/database/commands/command-runners/workspace-iterator.service';
+import { type RunOnWorkspaceArgs } from 'src/database/commands/command-runners/workspace.command-runner';
+import { getStandardFlatEntitiesToCreateOrThrow } from 'src/database/commands/upgrade-version-command/2-10/utils/get-standard-flat-entities-to-create-or-throw.util';
+import { bindFieldsWidgetToExistingView } from 'src/database/commands/upgrade-version-command/2-42/utils/bind-fields-widget-to-existing-view.util';
+import { ApplicationService } from 'src/engine/core-modules/application/application.service';
+import { RegisteredWorkspaceCommand } from 'src/engine/core-modules/upgrade/decorators/registered-workspace-command.decorator';
+import { type FlatPageLayoutTab } from 'src/engine/metadata-modules/flat-page-layout-tab/types/flat-page-layout-tab.type';
+import { type FlatPageLayoutWidget } from 'src/engine/metadata-modules/flat-page-layout-widget/types/flat-page-layout-widget.type';
+import { type FlatPageLayout } from 'src/engine/metadata-modules/flat-page-layout/types/flat-page-layout.type';
+import { type FlatViewField } from 'src/engine/metadata-modules/flat-view-field/types/flat-view-field.type';
+import { type FlatView } from 'src/engine/metadata-modules/flat-view/types/flat-view.type';
+import { WidgetConfigurationType } from 'src/engine/metadata-modules/page-layout-widget/enums/widget-configuration-type.type';
+import { WorkspaceCacheService } from 'src/engine/workspace-cache/services/workspace-cache.service';
+import { WorkspaceMigrationBuilderException } from 'src/engine/workspace-manager/workspace-migration/exceptions/workspace-migration-builder-exception';
+import { computeTwentyStandardApplicationAllFlatEntityMaps } from 'src/engine/workspace-manager/twenty-standard-application/utils/twenty-standard-application-all-flat-entity-maps.constant';
+import { WorkspaceMigrationValidateBuildAndRunService } from 'src/engine/workspace-manager/workspace-migration/services/workspace-migration-validate-build-and-run-service';
+
+const ATTACHMENT = STANDARD_OBJECTS.attachment;
+const ATTACHMENT_RECORD_PAGE =
+ STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS.attachmentRecordPage;
+
+const FIELDS_VIEW_UNIVERSAL_IDENTIFIER =
+ ATTACHMENT.views.attachmentRecordPageFields.universalIdentifier;
+
+const FIELDS_VIEW_FIELD_UNIVERSAL_IDENTIFIERS = Object.values(
+ ATTACHMENT.views.attachmentRecordPageFields.viewFields,
+).map((viewField) => viewField.universalIdentifier);
+
+const PAGE_LAYOUT_UNIVERSAL_IDENTIFIER =
+ ATTACHMENT_RECORD_PAGE.universalIdentifier;
+
+const HOME_TAB_UNIVERSAL_IDENTIFIER =
+ ATTACHMENT_RECORD_PAGE.tabs.home.universalIdentifier;
+
+const PAGE_LAYOUT_TAB_UNIVERSAL_IDENTIFIERS = [HOME_TAB_UNIVERSAL_IDENTIFIER];
+
+const FIELDS_WIDGET_UNIVERSAL_IDENTIFIER =
+ ATTACHMENT_RECORD_PAGE.tabs.home.widgets.fields.universalIdentifier;
+
+const PAGE_LAYOUT_WIDGET_UNIVERSAL_IDENTIFIERS = [
+ ATTACHMENT_RECORD_PAGE.tabs.home.widgets.preview.universalIdentifier,
+ FIELDS_WIDGET_UNIVERSAL_IDENTIFIER,
+ ATTACHMENT_RECORD_PAGE.tabs.home.widgets.attachedTo.universalIdentifier,
+];
+
+@RegisteredWorkspaceCommand('2.43.0', 1790266078807)
+@Command({
+ name: 'upgrade:2-43:sync-attachment-record-page',
+ description:
+ 'Create the Attachment record page layout in existing workspaces, so opening an attachment shows a preview of the file, its fields and the record it is attached to.',
+})
+export class SyncAttachmentRecordPageCommand extends ProvisionedWorkspaceCommandRunner {
+ constructor(
+ protected readonly workspaceIteratorService: WorkspaceIteratorService,
+ private readonly applicationService: ApplicationService,
+ private readonly workspaceCacheService: WorkspaceCacheService,
+ private readonly workspaceMigrationValidateBuildAndRunService: WorkspaceMigrationValidateBuildAndRunService,
+ ) {
+ super(workspaceIteratorService);
+ }
+
+ override async runOnWorkspace({
+ workspaceId,
+ options,
+ }: RunOnWorkspaceArgs): Promise<void> {
+ const isDryRun = options.dryRun ?? false;
+
+ const {
+ flatObjectMetadataMaps,
+ flatFieldMetadataMaps,
+ flatViewMaps,
+ flatViewFieldMaps,
+ flatPageLayoutMaps,
+ flatPageLayoutTabMaps,
+ flatPageLayoutWidgetMaps,
+ } = await this.workspaceCacheService.getOrRecompute(workspaceId, [
+ 'flatObjectMetadataMaps',
+ 'flatFieldMetadataMaps',
+ 'flatViewMaps',
+ 'flatViewFieldMaps',
+ 'flatPageLayoutMaps',
+ 'flatPageLayoutTabMaps',
+ 'flatPageLayoutWidgetMaps',
+ ]);
+
+ if (
+ !isDefined(
+ flatObjectMetadataMaps.byUniversalIdentifier[
+ ATTACHMENT.universalIdentifier
+ ],
+ )
+ ) {
+ this.logger.log(
+ `attachment object metadata does not exist for workspace ${workspaceId}, skipping`,
+ );
+
+ return;
+ }
+
+ const existingFieldsView =
+ flatViewMaps.byUniversalIdentifier[FIELDS_VIEW_UNIVERSAL_IDENTIFIER];
+
+ // A soft-deleted fields view cannot be recreated under its identifier, and
+ // a widget pointing at it would render nothing, so the workspace keeps the
+ // record page it has.
+ if (isDefined(existingFieldsView?.deletedAt)) {
+ this.logger.warn(
+ `The attachment fields view was deleted in workspace ${workspaceId}, leaving the record page untouched`,
+ );
+
+ return;
+ }
+
+ // getStandardFlatEntitiesToCreateOrThrow treats a soft-deleted row as
+ // present, so it would leave a deleted parent in place and still create the
+ // children under it. The workspace cache loads with withDeleted, so the
+ // check has to be explicit.
+ const softDeletedParent = [
+ {
+ label: 'record page layout',
+ flatEntity:
+ flatPageLayoutMaps.byUniversalIdentifier[
+ PAGE_LAYOUT_UNIVERSAL_IDENTIFIER
+ ],
+ },
+ {
+ label: 'home tab',
+ flatEntity:
+ flatPageLayoutTabMaps.byUniversalIdentifier[
+ HOME_TAB_UNIVERSAL_IDENTIFIER
+ ],
+ },
+ ].find(({ flatEntity }) => isDefined(flatEntity?.deletedAt));
+
+ if (isDefined(softDeletedParent)) {
+ this.logger.warn(
+ `The attachment ${softDeletedParent.label} was deleted in workspace ${workspaceId}, leaving the record page untouched`,
+ );
+
+ return;
+ }
+
+ const { twentyStandardFlatApplication } =
+ await this.applicationService.findWorkspaceTwentyStandardAndCustomApplicationOrThrow(
+ { workspaceId },
+ );
+
+ const { allFlatEntityMaps: standardAllFlatEntityMaps } =
+ computeTwentyStandardApplicationAllFlatEntityMaps({
+ now: new Date().toISOString(),
+ workspaceId,
+ twentyStandardApplicationId: twentyStandardFlatApplication.id,
+ });
+
+ const viewsToCreate = getStandardFlatEntitiesToCreateOrThrow<FlatView>({
+ standardFlatEntityMaps: standardAllFlatEntityMaps.flatViewMaps,
+ existingFlatEntityMaps: flatViewMaps,
+ universalIdentifiers: [FIELDS_VIEW_UNIVERSAL_IDENTIFIER],
+ });
+
+ // The view field index is unique per field and view, so a field the
+ // workspace view already shows under another identifier must be left out
+ // or the insert fails and, with it, the whole upgrade.
+ const fieldUniversalIdentifiersAlreadyInView = new Set(
+ Object.values(flatViewFieldMaps.byUniversalIdentifier)
+ .filter(
+ (viewField) =>
+ isDefined(viewField) &&
+ isDefined(existingFieldsView) &&
+ viewField.viewId === existingFieldsView.id &&
+ !isDefined(viewField.deletedAt),
+ )
+ .map((viewField) => viewField?.fieldMetadataUniversalIdentifier),
+ );
+
+ const viewFieldsToCreate =
+ getStandardFlatEntitiesToCreateOrThrow<FlatViewField>({
+ standardFlatEntityMaps: standardAllFlatEntityMaps.flatViewFieldMaps,
+ existingFlatEntityMaps: flatViewFieldMaps,
+ universalIdentifiers: FIELDS_VIEW_FIELD_UNIVERSAL_IDENTIFIERS,
+ }).filter((viewField) => {
+ if (
+ fieldUniversalIdentifiersAlreadyInView.has(
+ viewField.fieldMetadataUniversalIdentifier,
+ )
+ ) {
+ return false;
+ }
+
+ if (
+ isDefined(
+ flatFieldMetadataMaps.byUniversalIdentifier[
+ viewField.fieldMetadataUniversalIdentifier
+ ],
+ )
+ ) {
+ return true;
+ }
+
+ this.logger.warn(
+ `Skipping attachment record page view field ${viewField.universalIdentifier} for workspace ${workspaceId}: field metadata ${viewField.fieldMetadataUniversalIdentifier} does not exist`,
+ );
+
+ return false;
+ });
+
+ const pageLayoutsToCreate =
+ getStandardFlatEntitiesToCreateOrThrow<FlatPageLayout>({
+ standardFlatEntityMaps: standardAllFlatEntityMaps.flatPageLayoutMaps,
+ existingFlatEntityMaps: flatPageLayoutMaps,
+ universalIdentifiers: [PAGE_LAYOUT_UNIVERSAL_IDENTIFIER],
+ });
+
+ const pageLayoutTabsToCreate =
+ getStandardFlatEntitiesToCreateOrThrow<FlatPageLayoutTab>({
+ standardFlatEntityMaps: standardAllFlatEntityMaps.flatPageLayoutTabMaps,
+ existingFlatEntityMaps: flatPageLayoutTabMaps,
+ universalIdentifiers: PAGE_LAYOUT_TAB_UNIVERSAL_IDENTIFIERS,
+ });
+
+ const pageLayoutWidgetsToCreate =
+ getStandardFlatEntitiesToCreateOrThrow<FlatPageLayoutWidget>({
+ standardFlatEntityMaps:
+ standardAllFlatEntityMaps.flatPageLayoutWidgetMaps,
+ existingFlatEntityMaps: flatPageLayoutWidgetMaps,
+ universalIdentifiers: PAGE_LAYOUT_WIDGET_UNIVERSAL_IDENTIFIERS,
+ })
+ .filter((flatPageLayoutWidget) => {
+ const { universalConfiguration } = flatPageLayoutWidget;
+
+ // The runner resolves a field widget's field or throws, so a
+ // workspace missing that field gets the page without the widget.
+ if (
+ universalConfiguration.configurationType !==
+ WidgetConfigurationType.FIELD ||
+ isDefined(
+ flatFieldMetadataMaps.byUniversalIdentifier[
+ universalConfiguration.fieldMetadataId
+ ],
+ )
+ ) {
+ return true;
+ }
+
+ this.logger.warn(
+ `Skipping attachment record page widget ${flatPageLayoutWidget.universalIdentifier} for workspace ${workspaceId}: field metadata ${universalConfiguration.fieldMetadataId} does not exist`,
+ );
+
+ return false;
+ })
+ .map((flatPageLayoutWidget) =>
+ bindFieldsWidgetToExistingView({
+ flatPageLayoutWidget,
+ fieldsWidgetUniversalIdentifier: FIELDS_WIDGET_UNIVERSAL_IDENTIFIER,
+ existingFieldsView,
+ }),
+ );
+
+ const totalOperationCount =
+ viewsToCreate.length +
+ viewFieldsToCreate.length +
+ pageLayoutsToCreate.length +
+ pageLayoutTabsToCreate.length +
+ pageLayoutWidgetsToCreate.length;
+
+ if (totalOperationCount === 0) {
+ this.logger.log(
+ `attachment record page already up to date for workspace ${workspaceId}, skipping`,
+ );
+
+ return;
+ }
+
+ this.logger.log(
+ `${isDryRun ? '[DRY RUN] ' : ''}Workspace ${workspaceId}: ${viewsToCreate.length} view(s), ${viewFieldsToCreate.length} view field(s), ${pageLayoutsToCreate.length} layout(s), ${pageLayoutTabsToCreate.length} tab(s), ${pageLayoutWidgetsToCreate.length} widget(s)`,
+ );
+
+ const result =
+ await this.workspaceMigrationValidateBuildAndRunService.validateBuildAndRunLegacyWorkspaceMigration(
+ {
+ isSystemBuild: true,
+ dryRun: isDryRun,
+ workspaceId,
+ applicationUniversalIdentifier:
+ twentyStandardFlatApplication.universalIdentifier,
+ allFlatEntityOperationByMetadataName: {
+ view: {
+ flatEntityToCreate: viewsToCreate,
+ flatEntityToDelete: [],
+ flatEntityToUpdate: [],
+ },
+ viewField: {
+ flatEntityToCreate: viewFieldsToCreate,
+ flatEntityToDelete: [],
+ flatEntityToUpdate: [],
+ },
+ pageLayout: {
+ flatEntityToCreate: pageLayoutsToCreate,
+ flatEntityToDelete: [],
+ flatEntityToUpdate: [],
+ },
+ pageLayoutTab: {
+ flatEntityToCreate: pageLayoutTabsToCreate,
+ flatEntityToDelete: [],
+ flatEntityToUpdate: [],
+ },
+ pageLayoutWidget: {
+ flatEntityToCreate: pageLayoutWidgetsToCreate,
+ flatEntityToDelete: [],
+ flatEntityToUpdate: [],
+ },
+ },
+ },
+ );
+
+ if (result.status === 'fail') {
+ throw new WorkspaceMigrationBuilderException(
+ result,
+ `Failed to sync the attachment record page for workspace ${workspaceId}`,
+ );
+ }
+
+ this.logger.log(
+ `${isDryRun ? '[DRY RUN] Validated' : 'Synced'} the attachment record page for workspace ${workspaceId}`,
+ );
+ }
+}
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-43/2-43-workspace-command-1790266078808-relabel-attachment-target-fields.command.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-43/2-43-workspace-command-1790266078808-relabel-attachment-target-fields.command.ts
new file mode 100644
index 00000000000..4ce898a8493
--- /dev/null
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-43/2-43-workspace-command-1790266078808-relabel-attachment-target-fields.command.ts
@@ -0,0 +1,155 @@
+import { Command } from 'nest-commander';
+import { STANDARD_OBJECTS } from 'twenty-shared/metadata';
+import { capitalize, isDefined } from 'twenty-shared/utils';
+import { In } from 'typeorm';
+
+import { ProvisionedWorkspaceCommandRunner } from 'src/database/commands/command-runners/provisioned-workspace.command-runner';
+import { WorkspaceIteratorService } from 'src/database/commands/command-runners/workspace-iterator.service';
+import { type RunOnWorkspaceArgs } from 'src/database/commands/command-runners/workspace.command-runner';
+import { ApplicationService } from 'src/engine/core-modules/application/application.service';
+import { RegisteredWorkspaceCommand } from 'src/engine/core-modules/upgrade/decorators/registered-workspace-command.decorator';
+import { FieldMetadataEntity } from 'src/engine/metadata-modules/field-metadata/field-metadata.entity';
+import { getMetadataFlatEntityMapsKey } from 'src/engine/metadata-modules/flat-entity/utils/get-metadata-flat-entity-maps-key.util';
+import { getMetadataRelatedMetadataNames } from 'src/engine/metadata-modules/flat-entity/utils/get-metadata-related-metadata-names.util';
+import { getMetadataSerializedRelationNames } from 'src/engine/metadata-modules/flat-entity/utils/get-metadata-serialized-relation-names.util';
+import { InjectWorkspaceScopedRepository } from 'src/engine/twenty-orm/workspace-scoped-repository/inject-workspace-scoped-repository.decorator';
+import { WorkspaceScopedRepository } from 'src/engine/twenty-orm/workspace-scoped-repository/workspace-scoped-repository';
+import { WorkspaceMigrationRunnerService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/services/workspace-migration-runner.service';
+
+const ATTACHMENT = STANDARD_OBJECTS.attachment;
+const ATTACHMENT_FIELDS = ATTACHMENT.fields;
+
+// The attachment target fields are one morph relation rendered as a single
+// column, which borrowed the label of whichever sibling survived dedup, so
+// every sibling now carries the same label. Frozen as literals so a later
+// label change is not dragged in by this command.
+const PREVIOUS_STANDARD_LABEL_BY_FIELD_UNIVERSAL_IDENTIFIER: Record<
+ string,
+ string
+> = {
+ [ATTACHMENT_FIELDS.targetTask.universalIdentifier]: 'Task',
+ [ATTACHMENT_FIELDS.targetNote.universalIdentifier]: 'Note',
+ [ATTACHMENT_FIELDS.targetPerson.universalIdentifier]: 'Person',
+ [ATTACHMENT_FIELDS.targetCompany.universalIdentifier]: 'Company',
+ [ATTACHMENT_FIELDS.targetOpportunity.universalIdentifier]: 'Opportunity',
+ [ATTACHMENT_FIELDS.targetDashboard.universalIdentifier]: 'Dashboard',
+ [ATTACHMENT_FIELDS.targetWorkflow.universalIdentifier]: 'Workflow',
+};
+
+const ATTACHED_TO_LABEL = 'Attached to';
+
+const getPreviousLabel = ({
+ fieldMetadata,
+ standardApplicationId,
+}: {
+ fieldMetadata: FieldMetadataEntity;
+ standardApplicationId: string;
+}): string | undefined => {
+ if (fieldMetadata.applicationId === standardApplicationId) {
+ return PREVIOUS_STANDARD_LABEL_BY_FIELD_UNIVERSAL_IDENTIFIER[
+ fieldMetadata.universalIdentifier
+ ];
+ }
+
+ if (!isDefined(fieldMetadata.relationTargetObjectMetadata)) {
+ return undefined;
+ }
+
+ return capitalize(fieldMetadata.relationTargetObjectMetadata.nameSingular);
+};
+
+@RegisteredWorkspaceCommand('2.43.0', 1790266078808)
+@Command({
+ name: 'upgrade:2-43:relabel-attachment-target-fields',
+ description:
+ 'Label every attachment target morph field "Attached to" so the attachments table no longer names the column after one of its targets',
+})
+export class RelabelAttachmentTargetFieldsCommand extends ProvisionedWorkspaceCommandRunner {
+ constructor(
+ protected readonly workspaceIteratorService: WorkspaceIteratorService,
+ private readonly applicationService: ApplicationService,
+ private readonly workspaceMigrationRunnerService: WorkspaceMigrationRunnerService,
+ @InjectWorkspaceScopedRepository(FieldMetadataEntity)
+ private readonly fieldMetadataRepository: WorkspaceScopedRepository<FieldMetadataEntity>,
+ ) {
+ super(workspaceIteratorService);
+ }
+
+ override async runOnWorkspace({
+ workspaceId,
+ options,
+ }: RunOnWorkspaceArgs): Promise<void> {
+ const isDryRun = options.dryRun ?? false;
+
+ const { twentyStandardFlatApplication } =
+ await this.applicationService.findWorkspaceTwentyStandardAndCustomApplicationOrThrow(
+ { workspaceId },
+ );
+
+ const fieldMetadatas = await this.fieldMetadataRepository.find(
+ workspaceId,
+ {
+ where: {
+ morphId: ATTACHMENT.morphIds.targetMorphId.morphId,
+ },
+ relations: { relationTargetObjectMetadata: true },
+ },
+ );
+
+ // A label someone already changed is theirs to keep. Siblings added for
+ // custom objects were labelled after their object's singular name.
+ const fieldMetadatasToRelabel = fieldMetadatas.filter((fieldMetadata) => {
+ const previousLabel = getPreviousLabel({
+ fieldMetadata,
+ standardApplicationId: twentyStandardFlatApplication.id,
+ });
+
+ return isDefined(previousLabel) && fieldMetadata.label === previousLabel;
+ });
+
+ if (fieldMetadatasToRelabel.length === 0) {
+ this.logger.log(
+ `No attachment target field to relabel for workspace ${workspaceId}, skipping`,
+ );
+
+ return;
+ }
+
+ this.logger.log(
+ `${isDryRun ? '[DRY RUN] ' : ''}Workspace ${workspaceId}: relabelling ${fieldMetadatasToRelabel.length} attachment target field(s)`,
+ );
+
+ if (isDryRun) {
+ return;
+ }
+
+ // A label carries no schema consequence, so the rows are written directly
+ // rather than through a workspace migration, as the 2.41 acronym casing
+ // command does.
+ await this.fieldMetadataRepository.update(
+ workspaceId,
+ {
+ id: In(fieldMetadatasToRelabel.map(({ id }) => id)),
+ },
+ { label: ATTACHED_TO_LABEL },
+ );
+
+ const fieldMetadataRelatedNames = [
+ 'fieldMetadata',
+ ...getMetadataRelatedMetadataNames('fieldMetadata'),
+ ...getMetadataSerializedRelationNames('fieldMetadata'),
+ ] as const;
+ const allFlatEntityMapsKeys = [
+ ...new Set(fieldMetadataRelatedNames.map(getMetadataFlatEntityMapsKey)),
+ ];
+
+ await this.workspaceMigrationRunnerService.invalidateCache({
+ allFlatEntityMapsKeys,
+ workspaceId,
+ });
+
+ this.logger.log(
+ `Relabelled attachment target fields for workspace ${workspaceId}`,
+ );
+ }
+}
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-43/__tests__/2-43-workspace-command-1790266078807-sync-attachment-record-page.command.spec.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-43/__tests__/2-43-workspace-command-1790266078807-sync-attachment-record-page.command.spec.ts
new file mode 100644
index 00000000000..a9d9b7e31d3
--- /dev/null
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-43/__tests__/2-43-workspace-command-1790266078807-sync-attachment-record-page.command.spec.ts
@@ -0,0 +1,710 @@
+import {
+ STANDARD_OBJECTS,
+ STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS,
+} from 'twenty-shared/metadata';
+import { type FeatureFlagKey } from 'twenty-shared/types';
+
+import { type WorkspaceIteratorService } from 'src/database/commands/command-runners/workspace-iterator.service';
+import { SyncAttachmentRecordPageCommand } from 'src/database/commands/upgrade-version-command/2-43/2-43-workspace-command-1790266078807-sync-attachment-record-page.command';
+import { type ApplicationService } from 'src/engine/core-modules/application/application.service';
+import { createEmptyFlatEntityMaps } from 'src/engine/metadata-modules/flat-entity/constant/create-empty-flat-entity-maps.constant';
+import { type FlatViewField } from 'src/engine/metadata-modules/flat-view-field/types/flat-view-field.type';
+import { WidgetConfigurationType } from 'src/engine/metadata-modules/page-layout-widget/enums/widget-configuration-type.type';
+import { type WorkspaceCacheService } from 'src/engine/workspace-cache/services/workspace-cache.service';
+import { computeTwentyStandardApplicationAllFlatEntityMaps } from 'src/engine/workspace-manager/twenty-standard-application/utils/twenty-standard-application-all-flat-entity-maps.constant';
+import { type WorkspaceMigrationValidateBuildAndRunService } from 'src/engine/workspace-manager/workspace-migration/services/workspace-migration-validate-build-and-run-service';
+import { FlatViewFieldValidatorService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-view-field-validator.service';
+
+jest.mock(
+ 'src/engine/workspace-manager/twenty-standard-application/utils/twenty-standard-application-all-flat-entity-maps.constant',
+);
+
+const computeTwentyStandardApplicationAllFlatEntityMapsMock = jest.mocked(
+ computeTwentyStandardApplicationAllFlatEntityMaps,
+);
+
+const WORKSPACE_ID = '20202020-0000-0000-0000-000000000001';
+const STANDARD_APPLICATION = {
+ id: '20202020-0000-0000-0000-0000000000aa',
+ universalIdentifier: '20202020-0000-0000-0000-0000000000bb',
+};
+
+const ATTACHMENT = STANDARD_OBJECTS.attachment;
+const ATTACHMENT_RECORD_PAGE =
+ STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS.attachmentRecordPage;
+
+const FIELDS_VIEW_UNIVERSAL_IDENTIFIER =
+ ATTACHMENT.views.attachmentRecordPageFields.universalIdentifier;
+const FIELDS_VIEW_FIELD_UNIVERSAL_IDENTIFIERS = Object.values(
+ ATTACHMENT.views.attachmentRecordPageFields.viewFields,
+).map((viewField) => viewField.universalIdentifier);
+
+const PAGE_LAYOUT_UNIVERSAL_IDENTIFIER =
+ ATTACHMENT_RECORD_PAGE.universalIdentifier;
+const HOME_TAB_UNIVERSAL_IDENTIFIER =
+ ATTACHMENT_RECORD_PAGE.tabs.home.universalIdentifier;
+const FIELDS_WIDGET_UNIVERSAL_IDENTIFIER =
+ ATTACHMENT_RECORD_PAGE.tabs.home.widgets.fields.universalIdentifier;
+const PREVIEW_WIDGET_UNIVERSAL_IDENTIFIER =
+ ATTACHMENT_RECORD_PAGE.tabs.home.widgets.preview.universalIdentifier;
+const ATTACHED_TO_WIDGET_UNIVERSAL_IDENTIFIER =
+ ATTACHMENT_RECORD_PAGE.tabs.home.widgets.attachedTo.universalIdentifier;
+const WIDGET_UNIVERSAL_IDENTIFIERS = [
+ PREVIEW_WIDGET_UNIVERSAL_IDENTIFIER,
+ FIELDS_WIDGET_UNIVERSAL_IDENTIFIER,
+ ATTACHED_TO_WIDGET_UNIVERSAL_IDENTIFIER,
+];
+
+const STANDARD_MAPS = jest
+ .requireActual<
+ typeof import('src/engine/workspace-manager/twenty-standard-application/utils/twenty-standard-application-all-flat-entity-maps.constant')
+ >('src/engine/workspace-manager/twenty-standard-application/utils/twenty-standard-application-all-flat-entity-maps.constant')
+ .computeTwentyStandardApplicationAllFlatEntityMaps({
+ now: '2026-09-23T00:00:00.000Z',
+ workspaceId: WORKSPACE_ID,
+ twentyStandardApplicationId: STANDARD_APPLICATION.id,
+ }).allFlatEntityMaps;
+
+const STANDARD_FIELDS_VIEW_ID = '20202020-0000-0000-0000-000000000010';
+const EXISTING_FIELDS_VIEW_ID = '20202020-0000-0000-0000-000000000011';
+
+const buildMaps = <TEntity extends { universalIdentifier: string }>(
+ entities: TEntity[],
+) => ({
+ byUniversalIdentifier: Object.fromEntries(
+ entities.map((entity) => [entity.universalIdentifier, entity]),
+ ),
+});
+
+const buildStandardFieldsWidget = () => ({
+ universalIdentifier: FIELDS_WIDGET_UNIVERSAL_IDENTIFIER,
+ pageLayoutTabUniversalIdentifier: HOME_TAB_UNIVERSAL_IDENTIFIER,
+ configuration: {
+ configurationType: WidgetConfigurationType.FIELDS,
+ viewId: STANDARD_FIELDS_VIEW_ID,
+ newFieldDefaultVisibility: true,
+ },
+ universalConfiguration: {
+ configurationType: WidgetConfigurationType.FIELDS,
+ viewUniversalIdentifier: FIELDS_VIEW_UNIVERSAL_IDENTIFIER,
+ newFieldDefaultVisibility: true,
+ },
+});
+
+describe('SyncAttachmentRecordPageCommand', () => {
+ let command: SyncAttachmentRecordPageCommand;
+ let getOrRecomputeMock: jest.Mock;
+ let validateBuildAndRunLegacyWorkspaceMigrationMock: jest.Mock;
+ let loggerLogMock: jest.SpyInstance;
+ let loggerWarnMock: jest.SpyInstance;
+
+ beforeEach(() => {
+ jest.clearAllMocks();
+
+ getOrRecomputeMock = jest.fn();
+ validateBuildAndRunLegacyWorkspaceMigrationMock = jest
+ .fn()
+ .mockResolvedValue({ status: 'success' });
+
+ computeTwentyStandardApplicationAllFlatEntityMapsMock.mockReturnValue({
+ allFlatEntityMaps: {
+ flatViewMaps: buildMaps([
+ {
+ id: STANDARD_FIELDS_VIEW_ID,
+ universalIdentifier: FIELDS_VIEW_UNIVERSAL_IDENTIFIER,
+ },
+ ]),
+ flatViewFieldMaps: buildMaps(
+ FIELDS_VIEW_FIELD_UNIVERSAL_IDENTIFIERS.map(
+ (universalIdentifier) =>
+ STANDARD_MAPS.flatViewFieldMaps.byUniversalIdentifier[
+ universalIdentifier
+ ]!,
+ ),
+ ),
+ flatPageLayoutMaps: buildMaps([
+ { universalIdentifier: PAGE_LAYOUT_UNIVERSAL_IDENTIFIER },
+ ]),
+ flatPageLayoutTabMaps: buildMaps([
+ { universalIdentifier: HOME_TAB_UNIVERSAL_IDENTIFIER },
+ ]),
+ flatPageLayoutWidgetMaps: buildMaps([
+ STANDARD_MAPS.flatPageLayoutWidgetMaps.byUniversalIdentifier[
+ PREVIEW_WIDGET_UNIVERSAL_IDENTIFIER
+ ]!,
+ buildStandardFieldsWidget(),
+ STANDARD_MAPS.flatPageLayoutWidgetMaps.byUniversalIdentifier[
+ ATTACHED_TO_WIDGET_UNIVERSAL_IDENTIFIER
+ ]!,
+ ]),
+ },
+ } as unknown as ReturnType<
+ typeof computeTwentyStandardApplicationAllFlatEntityMaps
+ >);
+
+ command = new SyncAttachmentRecordPageCommand(
+ {} as WorkspaceIteratorService,
+ {
+ findWorkspaceTwentyStandardAndCustomApplicationOrThrow: jest
+ .fn()
+ .mockResolvedValue({
+ twentyStandardFlatApplication: STANDARD_APPLICATION,
+ }),
+ } as unknown as ApplicationService,
+ {
+ getOrRecompute: getOrRecomputeMock,
+ } as unknown as WorkspaceCacheService,
+ {
+ validateBuildAndRunLegacyWorkspaceMigration:
+ validateBuildAndRunLegacyWorkspaceMigrationMock,
+ } as unknown as WorkspaceMigrationValidateBuildAndRunService,
+ );
+
+ loggerLogMock = jest.spyOn(command['logger'], 'log').mockImplementation();
+ loggerWarnMock = jest.spyOn(command['logger'], 'warn').mockImplementation();
+ });
+
+ const runOnWorkspace = (dryRun = false) =>
+ command.runOnWorkspace({
+ workspaceId: WORKSPACE_ID,
+ options: { dryRun },
+ index: 0,
+ total: 1,
+ });
+
+ const mockWorkspaceCache = ({
+ hasAttachmentObject = true,
+ missingFieldIdentifiers = [] as string[],
+ existingViews = [] as {
+ id: string;
+ universalIdentifier: string;
+ deletedAt?: string;
+ }[],
+ existingViewFields = [] as string[],
+ existingViewFieldsInView = [] as {
+ universalIdentifier: string;
+ viewId: string;
+ fieldMetadataUniversalIdentifier: string;
+ deletedAt?: string;
+ }[],
+ existingPageLayouts = [] as {
+ universalIdentifier: string;
+ deletedAt?: string;
+ }[],
+ existingPageLayoutTabs = [] as {
+ universalIdentifier: string;
+ deletedAt?: string;
+ }[],
+ existingPageLayoutWidgets = [] as string[],
+ } = {}) => {
+ getOrRecomputeMock.mockResolvedValue({
+ flatObjectMetadataMaps: buildMaps(
+ hasAttachmentObject
+ ? [{ universalIdentifier: ATTACHMENT.universalIdentifier }]
+ : [],
+ ),
+ flatFieldMetadataMaps: {
+ byUniversalIdentifier: Object.fromEntries(
+ Object.entries(
+ STANDARD_MAPS.flatFieldMetadataMaps.byUniversalIdentifier,
+ ).filter(
+ ([identifier]) => !missingFieldIdentifiers.includes(identifier),
+ ),
+ ),
+ },
+ flatViewMaps: buildMaps(existingViews),
+ flatViewFieldMaps: buildMaps([
+ ...existingViewFields.map((universalIdentifier) => ({
+ universalIdentifier,
+ })),
+ ...existingViewFieldsInView,
+ ]),
+ flatPageLayoutMaps: buildMaps(existingPageLayouts),
+ flatPageLayoutTabMaps: buildMaps(existingPageLayoutTabs),
+ flatPageLayoutWidgetMaps: buildMaps(
+ existingPageLayoutWidgets.map((universalIdentifier) => ({
+ universalIdentifier,
+ })),
+ ),
+ });
+ };
+
+ const getMigrationPayload = () =>
+ validateBuildAndRunLegacyWorkspaceMigrationMock.mock.calls[0][0]
+ .allFlatEntityOperationByMetadataName;
+
+ it('creates the whole record page on a workspace that has none of it', async () => {
+ mockWorkspaceCache();
+
+ await runOnWorkspace();
+
+ const payload = getMigrationPayload();
+
+ expect(payload.view.flatEntityToCreate).toEqual([
+ expect.objectContaining({
+ universalIdentifier: FIELDS_VIEW_UNIVERSAL_IDENTIFIER,
+ }),
+ ]);
+ expect(
+ payload.viewField.flatEntityToCreate.map(
+ ({ universalIdentifier }: { universalIdentifier: string }) =>
+ universalIdentifier,
+ ),
+ ).toEqual(FIELDS_VIEW_FIELD_UNIVERSAL_IDENTIFIERS);
+ expect(payload.pageLayout.flatEntityToCreate).toEqual([
+ expect.objectContaining({
+ universalIdentifier: PAGE_LAYOUT_UNIVERSAL_IDENTIFIER,
+ }),
+ ]);
+ expect(payload.pageLayoutTab.flatEntityToCreate).toEqual([
+ expect.objectContaining({
+ universalIdentifier: HOME_TAB_UNIVERSAL_IDENTIFIER,
+ }),
+ ]);
+ expect(
+ payload.pageLayoutWidget.flatEntityToCreate.map(
+ ({ universalIdentifier }: { universalIdentifier: string }) =>
+ universalIdentifier,
+ ),
+ ).toEqual(WIDGET_UNIVERSAL_IDENTIFIERS);
+ });
+
+ it.each([
+ {
+ description: 'file',
+ missingFieldIdentifier: ATTACHMENT.fields.file.universalIdentifier,
+ skippedWidgetIdentifier: PREVIEW_WIDGET_UNIVERSAL_IDENTIFIER,
+ },
+ {
+ description: 'targetPerson',
+ missingFieldIdentifier:
+ ATTACHMENT.fields.targetPerson.universalIdentifier,
+ skippedWidgetIdentifier: ATTACHED_TO_WIDGET_UNIVERSAL_IDENTIFIER,
+ },
+ ])(
+ 'leaves out the widget of a missing $description field instead of failing',
+ async ({ missingFieldIdentifier, skippedWidgetIdentifier }) => {
+ mockWorkspaceCache({ missingFieldIdentifiers: [missingFieldIdentifier] });
+
+ await runOnWorkspace();
+
+ expect(
+ getMigrationPayload().pageLayoutWidget.flatEntityToCreate.map(
+ ({ universalIdentifier }: { universalIdentifier: string }) =>
+ universalIdentifier,
+ ),
+ ).toEqual(
+ WIDGET_UNIVERSAL_IDENTIFIERS.filter(
+ (identifier) => identifier !== skippedWidgetIdentifier,
+ ),
+ );
+ expect(loggerWarnMock).toHaveBeenCalledTimes(1);
+ },
+ );
+
+ it('does not add a field the existing fields view already shows under another identifier', async () => {
+ mockWorkspaceCache({
+ existingViews: [
+ {
+ id: EXISTING_FIELDS_VIEW_ID,
+ universalIdentifier: FIELDS_VIEW_UNIVERSAL_IDENTIFIER,
+ },
+ ],
+ existingViewFieldsInView: [
+ {
+ universalIdentifier: 'user-created-view-field',
+ viewId: EXISTING_FIELDS_VIEW_ID,
+ fieldMetadataUniversalIdentifier:
+ ATTACHMENT.fields.createdBy.universalIdentifier,
+ },
+ ],
+ });
+
+ await runOnWorkspace();
+
+ expect(
+ getMigrationPayload().viewField.flatEntityToCreate.map(
+ ({ universalIdentifier }: { universalIdentifier: string }) =>
+ universalIdentifier,
+ ),
+ ).toEqual([
+ ATTACHMENT.views.attachmentRecordPageFields.viewFields.createdAt
+ .universalIdentifier,
+ ]);
+ });
+
+ it('never deletes or updates anything', async () => {
+ mockWorkspaceCache();
+
+ await runOnWorkspace();
+
+ for (const operation of Object.values(getMigrationPayload())) {
+ expect(operation).toMatchObject({
+ flatEntityToDelete: [],
+ flatEntityToUpdate: [],
+ });
+ }
+ });
+
+ it.each([
+ {
+ description: 'createdBy',
+ missingFieldIdentifiers: [
+ ATTACHMENT.fields.createdBy.universalIdentifier,
+ ],
+ omittedViewFields: 1,
+ },
+ {
+ description: 'the historical system fields',
+ missingFieldIdentifiers: [
+ ATTACHMENT.fields.createdBy.universalIdentifier,
+ ATTACHMENT.fields.updatedBy.universalIdentifier,
+ ATTACHMENT.fields.position.universalIdentifier,
+ ATTACHMENT.fields.searchVector.universalIdentifier,
+ ],
+ omittedViewFields: 1,
+ },
+ {
+ description: 'other referenced fields',
+ missingFieldIdentifiers: [
+ ATTACHMENT.fields.createdBy.universalIdentifier,
+ ATTACHMENT.fields.createdAt.universalIdentifier,
+ ],
+ omittedViewFields: 2,
+ },
+ ])(
+ 'creates a valid page without backfilling missing $description',
+ async ({ missingFieldIdentifiers, omittedViewFields }) => {
+ mockWorkspaceCache({ missingFieldIdentifiers });
+
+ const { flatFieldMetadataMaps } = await getOrRecomputeMock();
+ const viewFieldValidator = new FlatViewFieldValidatorService();
+ const standardView =
+ STANDARD_MAPS.flatViewMaps.byUniversalIdentifier[
+ FIELDS_VIEW_UNIVERSAL_IDENTIFIER
+ ]!;
+ const validateViewField = (viewField: FlatViewField) =>
+ viewFieldValidator.validateFlatViewFieldCreation({
+ flatEntityToValidate: viewField,
+ optimisticFlatEntityMapsAndRelatedFlatEntityMaps: {
+ ...STANDARD_MAPS,
+ flatFieldMetadataMaps,
+ flatViewFieldMaps: createEmptyFlatEntityMaps(),
+ flatViewMaps: buildMaps([
+ { ...standardView, viewFieldUniversalIdentifiers: [] },
+ ]),
+ },
+ remainingFlatEntityMapsToValidate: createEmptyFlatEntityMaps(),
+ additionalCacheDataMaps: {
+ featureFlagsMap: {} as Record<FeatureFlagKey, boolean>,
+ },
+ buildOptions: {
+ isSystemBuild: true,
+ applicationUniversalIdentifier:
+ STANDARD_APPLICATION.universalIdentifier,
+ },
+ workspaceId: WORKSPACE_ID,
+ });
+
+ const originalViewFields = FIELDS_VIEW_FIELD_UNIVERSAL_IDENTIFIERS.map(
+ (identifier) =>
+ STANDARD_MAPS.flatViewFieldMaps.byUniversalIdentifier[identifier]!,
+ );
+
+ expect(
+ originalViewFields.flatMap(
+ (viewField) => validateViewField(viewField).errors,
+ ),
+ ).toHaveLength(omittedViewFields);
+
+ await runOnWorkspace();
+
+ const payload = getMigrationPayload();
+ const viewFields: FlatViewField[] = payload.viewField.flatEntityToCreate;
+
+ expect(viewFields).toHaveLength(
+ FIELDS_VIEW_FIELD_UNIVERSAL_IDENTIFIERS.length - omittedViewFields,
+ );
+ expect(
+ viewFields.flatMap((viewField) => validateViewField(viewField).errors),
+ ).toEqual([]);
+ expect(payload.fieldMetadata).toBeUndefined();
+ expect(payload.pageLayout.flatEntityToCreate).toHaveLength(1);
+ expect(payload.pageLayoutTab.flatEntityToCreate).toHaveLength(1);
+ expect(payload.pageLayoutWidget.flatEntityToCreate).toHaveLength(3);
+ expect(loggerWarnMock).toHaveBeenCalledTimes(omittedViewFields);
+
+ mockWorkspaceCache({
+ missingFieldIdentifiers,
+ existingViews: [
+ {
+ id: EXISTING_FIELDS_VIEW_ID,
+ universalIdentifier: FIELDS_VIEW_UNIVERSAL_IDENTIFIER,
+ },
+ ],
+ existingViewFields: viewFields.map(
+ (viewField) => viewField.universalIdentifier,
+ ),
+ existingPageLayouts: [
+ { universalIdentifier: PAGE_LAYOUT_UNIVERSAL_IDENTIFIER },
+ ],
+ existingPageLayoutTabs: [
+ { universalIdentifier: HOME_TAB_UNIVERSAL_IDENTIFIER },
+ ],
+ existingPageLayoutWidgets: WIDGET_UNIVERSAL_IDENTIFIERS,
+ });
+
+ await runOnWorkspace();
+
+ expect(
+ validateBuildAndRunLegacyWorkspaceMigrationMock,
+ ).toHaveBeenCalledTimes(1);
+ },
+ );
+
+ it('adds a previously omitted view field on an explicit rerun after its metadata is restored', async () => {
+ const createdByViewFieldIdentifier =
+ ATTACHMENT.views.attachmentRecordPageFields.viewFields.createdBy
+ .universalIdentifier;
+
+ mockWorkspaceCache({
+ existingViews: [
+ {
+ id: EXISTING_FIELDS_VIEW_ID,
+ universalIdentifier: FIELDS_VIEW_UNIVERSAL_IDENTIFIER,
+ },
+ ],
+ existingViewFields: FIELDS_VIEW_FIELD_UNIVERSAL_IDENTIFIERS.filter(
+ (identifier) => identifier !== createdByViewFieldIdentifier,
+ ),
+ existingPageLayouts: [
+ { universalIdentifier: PAGE_LAYOUT_UNIVERSAL_IDENTIFIER },
+ ],
+ existingPageLayoutTabs: [
+ { universalIdentifier: HOME_TAB_UNIVERSAL_IDENTIFIER },
+ ],
+ existingPageLayoutWidgets: WIDGET_UNIVERSAL_IDENTIFIERS,
+ });
+
+ await runOnWorkspace();
+
+ const payload = getMigrationPayload();
+
+ expect(payload.viewField.flatEntityToCreate).toEqual([
+ expect.objectContaining({
+ universalIdentifier: createdByViewFieldIdentifier,
+ fieldMetadataUniversalIdentifier:
+ ATTACHMENT.fields.createdBy.universalIdentifier,
+ }),
+ ]);
+ expect(payload.fieldMetadata).toBeUndefined();
+ for (const metadataName of [
+ 'view',
+ 'pageLayout',
+ 'pageLayoutTab',
+ 'pageLayoutWidget',
+ ]) {
+ expect(payload[metadataName].flatEntityToCreate).toEqual([]);
+ }
+ });
+
+ it('binds the fields widget to the fields view the workspace already holds', async () => {
+ mockWorkspaceCache({
+ existingViews: [
+ {
+ id: EXISTING_FIELDS_VIEW_ID,
+ universalIdentifier: FIELDS_VIEW_UNIVERSAL_IDENTIFIER,
+ },
+ ],
+ existingViewFields: FIELDS_VIEW_FIELD_UNIVERSAL_IDENTIFIERS,
+ });
+
+ await runOnWorkspace();
+
+ const payload = getMigrationPayload();
+
+ expect(payload.view.flatEntityToCreate).toEqual([]);
+ expect(payload.pageLayoutWidget.flatEntityToCreate).toContainEqual(
+ expect.objectContaining({
+ universalIdentifier: FIELDS_WIDGET_UNIVERSAL_IDENTIFIER,
+ configuration: expect.objectContaining({
+ viewId: EXISTING_FIELDS_VIEW_ID,
+ }),
+ }),
+ );
+ });
+
+ it('creates only what a partially provisioned workspace is missing', async () => {
+ mockWorkspaceCache({
+ existingViews: [
+ {
+ id: EXISTING_FIELDS_VIEW_ID,
+ universalIdentifier: FIELDS_VIEW_UNIVERSAL_IDENTIFIER,
+ },
+ ],
+ existingViewFields: FIELDS_VIEW_FIELD_UNIVERSAL_IDENTIFIERS,
+ existingPageLayouts: [
+ { universalIdentifier: PAGE_LAYOUT_UNIVERSAL_IDENTIFIER },
+ ],
+ existingPageLayoutTabs: [
+ { universalIdentifier: HOME_TAB_UNIVERSAL_IDENTIFIER },
+ ],
+ });
+
+ await runOnWorkspace();
+
+ const payload = getMigrationPayload();
+
+ expect(payload.view.flatEntityToCreate).toEqual([]);
+ expect(payload.viewField.flatEntityToCreate).toEqual([]);
+ expect(payload.pageLayout.flatEntityToCreate).toEqual([]);
+ expect(payload.pageLayoutTab.flatEntityToCreate).toEqual([]);
+ expect(
+ payload.pageLayoutWidget.flatEntityToCreate.map(
+ ({ universalIdentifier }: { universalIdentifier: string }) =>
+ universalIdentifier,
+ ),
+ ).toEqual(WIDGET_UNIVERSAL_IDENTIFIERS);
+ });
+
+ it('is a no-op on a workspace that already has the record page', async () => {
+ mockWorkspaceCache({
+ existingViews: [
+ {
+ id: EXISTING_FIELDS_VIEW_ID,
+ universalIdentifier: FIELDS_VIEW_UNIVERSAL_IDENTIFIER,
+ },
+ ],
+ existingViewFields: FIELDS_VIEW_FIELD_UNIVERSAL_IDENTIFIERS,
+ existingPageLayouts: [
+ { universalIdentifier: PAGE_LAYOUT_UNIVERSAL_IDENTIFIER },
+ ],
+ existingPageLayoutTabs: [
+ { universalIdentifier: HOME_TAB_UNIVERSAL_IDENTIFIER },
+ ],
+ existingPageLayoutWidgets: WIDGET_UNIVERSAL_IDENTIFIERS,
+ });
+
+ await runOnWorkspace();
+
+ expect(
+ validateBuildAndRunLegacyWorkspaceMigrationMock,
+ ).not.toHaveBeenCalled();
+ });
+
+ it('skips a workspace without the attachment object', async () => {
+ mockWorkspaceCache({ hasAttachmentObject: false });
+
+ await runOnWorkspace();
+
+ expect(
+ computeTwentyStandardApplicationAllFlatEntityMapsMock,
+ ).not.toHaveBeenCalled();
+ expect(
+ validateBuildAndRunLegacyWorkspaceMigrationMock,
+ ).not.toHaveBeenCalled();
+ });
+
+ // A widget pointing at a soft-deleted view renders nothing, which is the very
+ // blank page this command exists to fix.
+ it('leaves the record page untouched when the fields view was soft deleted', async () => {
+ mockWorkspaceCache({
+ existingViews: [
+ {
+ id: EXISTING_FIELDS_VIEW_ID,
+ universalIdentifier: FIELDS_VIEW_UNIVERSAL_IDENTIFIER,
+ deletedAt: '2026-01-01T00:00:00.000Z',
+ },
+ ],
+ });
+
+ await runOnWorkspace();
+
+ expect(loggerWarnMock).toHaveBeenCalledWith(
+ expect.stringContaining('was deleted'),
+ );
+ expect(
+ validateBuildAndRunLegacyWorkspaceMigrationMock,
+ ).not.toHaveBeenCalled();
+ });
+
+ // getStandardFlatEntitiesToCreateOrThrow counts a soft-deleted row as
+ // present, so without an explicit guard the command would create a tab and a
+ // widget hanging off a deleted parent.
+ it('leaves the record page untouched when the layout itself was soft deleted', async () => {
+ mockWorkspaceCache({
+ existingPageLayouts: [
+ {
+ universalIdentifier: PAGE_LAYOUT_UNIVERSAL_IDENTIFIER,
+ deletedAt: '2026-01-01T00:00:00.000Z',
+ },
+ ],
+ });
+
+ await runOnWorkspace();
+
+ expect(loggerWarnMock).toHaveBeenCalledWith(
+ expect.stringContaining('record page layout was deleted'),
+ );
+ expect(
+ validateBuildAndRunLegacyWorkspaceMigrationMock,
+ ).not.toHaveBeenCalled();
+ });
+
+ it('leaves the record page untouched when the home tab was soft deleted', async () => {
+ mockWorkspaceCache({
+ existingPageLayouts: [
+ { universalIdentifier: PAGE_LAYOUT_UNIVERSAL_IDENTIFIER },
+ ],
+ existingPageLayoutTabs: [
+ {
+ universalIdentifier: HOME_TAB_UNIVERSAL_IDENTIFIER,
+ deletedAt: '2026-01-01T00:00:00.000Z',
+ },
+ ],
+ });
+
+ await runOnWorkspace();
+
+ expect(loggerWarnMock).toHaveBeenCalledWith(
+ expect.stringContaining('home tab was deleted'),
+ );
+ expect(
+ validateBuildAndRunLegacyWorkspaceMigrationMock,
+ ).not.toHaveBeenCalled();
+ });
+
+ it('validates the migration on a dry run without executing it', async () => {
+ mockWorkspaceCache();
+
+ await runOnWorkspace(true);
+
+ expect(loggerLogMock).toHaveBeenCalledWith(
+ expect.stringContaining('[DRY RUN]'),
+ );
+ expect(
+ validateBuildAndRunLegacyWorkspaceMigrationMock,
+ ).toHaveBeenCalledWith(expect.objectContaining({ dryRun: true }));
+ });
+
+ it.each([false, true])(
+ 'throws when validation fails (dryRun=%s)',
+ async (dryRun) => {
+ const failedResult = { status: 'fail' };
+
+ mockWorkspaceCache();
+ validateBuildAndRunLegacyWorkspaceMigrationMock.mockResolvedValue(
+ failedResult,
+ );
+
+ await expect(runOnWorkspace(dryRun)).rejects.toThrow(
+ `Failed to sync the attachment record page for workspace ${WORKSPACE_ID}`,
+ );
+ // the typed exception is what carries the failed build result to callers
+ await expect(runOnWorkspace(dryRun)).rejects.toMatchObject({
+ name: 'WorkspaceMigrationBuilderException',
+ failedWorkspaceMigrationBuildResult: failedResult,
+ });
+ },
+ );
+});
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-43/__tests__/2-43-workspace-command-1790266078808-relabel-attachment-target-fields.command.spec.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-43/__tests__/2-43-workspace-command-1790266078808-relabel-attachment-target-fields.command.spec.ts
new file mode 100644
index 00000000000..3a20d543e00
--- /dev/null
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-43/__tests__/2-43-workspace-command-1790266078808-relabel-attachment-target-fields.command.spec.ts
@@ -0,0 +1,135 @@
+import { STANDARD_OBJECTS } from 'twenty-shared/metadata';
+
+import { type WorkspaceIteratorService } from 'src/database/commands/command-runners/workspace-iterator.service';
+import { RelabelAttachmentTargetFieldsCommand } from 'src/database/commands/upgrade-version-command/2-43/2-43-workspace-command-1790266078808-relabel-attachment-target-fields.command';
+import { type ApplicationService } from 'src/engine/core-modules/application/application.service';
+import { type WorkspaceMigrationRunnerService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/services/workspace-migration-runner.service';
+
+const WORKSPACE_ID = '20202020-0000-0000-0000-000000000001';
+const STANDARD_APPLICATION_ID = '20202020-0000-0000-0000-0000000000aa';
+const CUSTOM_APPLICATION_ID = '20202020-0000-0000-0000-0000000000cc';
+
+const ATTACHMENT_FIELDS = STANDARD_OBJECTS.attachment.fields;
+
+const buildField = ({
+ id,
+ label,
+ universalIdentifier = id,
+ applicationId = STANDARD_APPLICATION_ID,
+ relationTargetObjectNameSingular,
+}: {
+ id: string;
+ label: string;
+ universalIdentifier?: string;
+ applicationId?: string;
+ relationTargetObjectNameSingular?: string;
+}) => ({
+ id,
+ label,
+ universalIdentifier,
+ applicationId,
+ relationTargetObjectMetadata: relationTargetObjectNameSingular
+ ? { nameSingular: relationTargetObjectNameSingular }
+ : null,
+});
+
+describe('RelabelAttachmentTargetFieldsCommand', () => {
+ let command: RelabelAttachmentTargetFieldsCommand;
+ let findMock: jest.Mock;
+ let updateMock: jest.Mock;
+ let invalidateCacheMock: jest.Mock;
+
+ beforeEach(() => {
+ findMock = jest.fn();
+ updateMock = jest.fn();
+ invalidateCacheMock = jest.fn();
+
+ command = new RelabelAttachmentTargetFieldsCommand(
+ {} as WorkspaceIteratorService,
+ {
+ findWorkspaceTwentyStandardAndCustomApplicationOrThrow: jest
+ .fn()
+ .mockResolvedValue({
+ twentyStandardFlatApplication: { id: STANDARD_APPLICATION_ID },
+ }),
+ } as unknown as ApplicationService,
+ {
+ invalidateCache: invalidateCacheMock,
+ } as unknown as WorkspaceMigrationRunnerService,
+ { find: findMock, update: updateMock } as never,
+ );
+ });
+
+ const runOnWorkspace = (dryRun = false) =>
+ command.runOnWorkspace({
+ workspaceId: WORKSPACE_ID,
+ options: { dryRun },
+ } as never);
+
+ it('relabels untouched standard and custom object siblings only', async () => {
+ findMock.mockResolvedValue([
+ buildField({
+ id: 'standard-task',
+ label: 'Task',
+ universalIdentifier: ATTACHMENT_FIELDS.targetTask.universalIdentifier,
+ }),
+ buildField({
+ id: 'standard-note-renamed',
+ label: 'Meeting note',
+ universalIdentifier: ATTACHMENT_FIELDS.targetNote.universalIdentifier,
+ }),
+ buildField({
+ id: 'custom-pet',
+ label: 'Pet',
+ applicationId: CUSTOM_APPLICATION_ID,
+ relationTargetObjectNameSingular: 'pet',
+ }),
+ buildField({
+ id: 'custom-rocket-renamed',
+ label: 'Launch vehicle',
+ applicationId: CUSTOM_APPLICATION_ID,
+ relationTargetObjectNameSingular: 'rocket',
+ }),
+ ]);
+
+ await runOnWorkspace();
+
+ expect(updateMock).toHaveBeenCalledTimes(1);
+ expect(updateMock.mock.calls[0][0]).toBe(WORKSPACE_ID);
+ expect(updateMock.mock.calls[0][1].id.value).toEqual([
+ 'standard-task',
+ 'custom-pet',
+ ]);
+ expect(updateMock.mock.calls[0][2]).toEqual({ label: 'Attached to' });
+ expect(invalidateCacheMock).toHaveBeenCalledTimes(1);
+ });
+
+ it('writes nothing on a dry run', async () => {
+ findMock.mockResolvedValue([
+ buildField({
+ id: 'standard-task',
+ label: 'Task',
+ universalIdentifier: ATTACHMENT_FIELDS.targetTask.universalIdentifier,
+ }),
+ ]);
+
+ await runOnWorkspace(true);
+
+ expect(updateMock).not.toHaveBeenCalled();
+ expect(invalidateCacheMock).not.toHaveBeenCalled();
+ });
+
+ it('is a no-op once every sibling is relabelled', async () => {
+ findMock.mockResolvedValue([
+ buildField({
+ id: 'standard-task',
+ label: 'Attached to',
+ universalIdentifier: ATTACHMENT_FIELDS.targetTask.universalIdentifier,
+ }),
+ ]);
+
+ await runOnWorkspace();
+
+ expect(updateMock).not.toHaveBeenCalled();
+ });
+});
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/utils/rename-related-morph-field-on-object-names-update.util.ts b/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/utils/rename-related-morph-field-on-object-names-update.util.ts
index c139ffaadb6..5dd5b47ddad 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/utils/rename-related-morph-field-on-object-names-update.util.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/utils/rename-related-morph-field-on-object-names-update.util.ts
@@ -3,7 +3,6 @@ import {
type FieldMetadataType,
type FromTo,
} from 'twenty-shared/types';
-import { capitalize } from 'twenty-shared/utils';
import { computeMorphOrRelationFieldJoinColumnName } from 'src/engine/metadata-modules/field-metadata/utils/compute-morph-or-relation-field-join-column-name.util';
import { computeMorphRelationFlatFieldName } from 'src/engine/metadata-modules/field-metadata/utils/compute-morph-relation-flat-field-name.util';
@@ -14,6 +13,7 @@ import { findFieldRelatedIndexes } from 'src/engine/metadata-modules/flat-field-
import { recomputeIndexOnFlatFieldMetadataNameUpdate } from 'src/engine/metadata-modules/flat-field-metadata/utils/recompute-index-on-flat-field-metadata-name-update.util';
import { type FlatObjectMetadata } from 'src/engine/metadata-modules/flat-object-metadata/types/flat-object-metadata.type';
import { getFlatObjectMetadataTargetMorphRelationFlatFieldMetadatasOrThrow } from 'src/engine/metadata-modules/flat-object-metadata/utils/get-flat-object-metadata-many-to-one-target-morph-relation-flat-field-metadatas-or-throw.util';
+import { computeSystemMorphTargetFieldLabel } from 'src/engine/metadata-modules/object-metadata/utils/compute-system-morph-target-field-label.util';
import { getMorphNameFromMorphFieldMetadataName } from 'src/engine/metadata-modules/flat-object-metadata/utils/get-morph-name-from-morph-field-metadata-name.util';
import { type UniversalFlatFieldMetadata } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/universal-flat-field-metadata.type';
import { type UniversalFlatIndexMetadata } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/universal-flat-index-metadata.type';
@@ -55,7 +55,11 @@ const updateMorphFlatFieldName = ({
const newLabel =
fromMorphFlatFieldMetadata.isSystemSideEffect === true
- ? capitalize(toRelationTargetFlatObjectMetadata.nameSingular)
+ ? computeSystemMorphTargetFieldLabel({
+ morphId: fromMorphFlatFieldMetadata.morphId,
+ targetObjectNameSingular:
+ toRelationTargetFlatObjectMetadata.nameSingular,
+ })
: fromMorphFlatFieldMetadata.label;
return {
diff --git a/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/__tests__/compute-system-morph-target-field-label.util.spec.ts b/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/__tests__/compute-system-morph-target-field-label.util.spec.ts
new file mode 100644
index 00000000000..87ae378e5c7
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/__tests__/compute-system-morph-target-field-label.util.spec.ts
@@ -0,0 +1,32 @@
+import { STANDARD_OBJECTS } from 'twenty-shared/metadata';
+
+import { computeSystemMorphTargetFieldLabel } from 'src/engine/metadata-modules/object-metadata/utils/compute-system-morph-target-field-label.util';
+
+describe('computeSystemMorphTargetFieldLabel', () => {
+ it('keeps the shared label for attachment targets', () => {
+ expect(
+ computeSystemMorphTargetFieldLabel({
+ morphId: STANDARD_OBJECTS.attachment.morphIds.targetMorphId.morphId,
+ targetObjectNameSingular: 'pet',
+ }),
+ ).toBe('Attached to');
+ });
+
+ it('uses the target object name for other morph groups', () => {
+ expect(
+ computeSystemMorphTargetFieldLabel({
+ morphId: STANDARD_OBJECTS.noteTarget.morphIds.targetMorphId.morphId,
+ targetObjectNameSingular: 'pet',
+ }),
+ ).toBe('Pet');
+ });
+
+ it('uses the target object name when there is no morph group', () => {
+ expect(
+ computeSystemMorphTargetFieldLabel({
+ morphId: null,
+ targetObjectNameSingular: 'pet',
+ }),
+ ).toBe('Pet');
+ });
+});
diff --git a/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/build-system-relation-flat-field-metadatas-for-object.util.ts b/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/build-system-relation-flat-field-metadatas-for-object.util.ts
index 5d625f6b881..493fea41af2 100644
--- a/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/build-system-relation-flat-field-metadatas-for-object.util.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/build-system-relation-flat-field-metadatas-for-object.util.ts
@@ -9,6 +9,7 @@ import { capitalize } from 'twenty-shared/utils';
import { RelationType } from 'src/engine/metadata-modules/field-metadata/interfaces/relation-type.interface';
import { computeMorphOrRelationFieldJoinColumnName } from 'src/engine/metadata-modules/field-metadata/utils/compute-morph-or-relation-field-join-column-name.util';
import { generateMorphOrRelationFlatFieldMetadataPair } from 'src/engine/metadata-modules/flat-field-metadata/utils/generate-morph-or-relation-flat-field-metadata-pair.util';
+import { computeSystemMorphTargetFieldLabel } from 'src/engine/metadata-modules/object-metadata/utils/compute-system-morph-target-field-label.util';
import { STANDARD_RELATION_FIELD_PROPERTIES_BY_RELATION_OBJECT } from 'src/engine/metadata-modules/object-metadata/constants/standard-relation-field-properties.constant';
import { i18nLabel } from 'src/engine/workspace-manager/twenty-standard-application/utils/i18n-label.util';
import { STANDARD_OBJECT_ICONS } from 'src/engine/workspace-manager/workspace-migration/constant/standard-object-icons';
@@ -107,7 +108,10 @@ export const buildSystemRelationFlatFieldMetadatasForObject = ({
targetObjectMetadataId:
targetFlatObjectMetadata.universalIdentifier,
type: RelationType.ONE_TO_MANY,
- targetFieldLabel: capitalize(sourceFlatObjectMetadata.nameSingular),
+ targetFieldLabel: computeSystemMorphTargetFieldLabel({
+ morphId,
+ targetObjectNameSingular: sourceFlatObjectMetadata.nameSingular,
+ }),
targetFieldIcon: reverseFieldIcon,
},
},
diff --git a/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/compute-system-morph-target-field-label.util.ts b/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/compute-system-morph-target-field-label.util.ts
new file mode 100644
index 00000000000..b5482702fef
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/compute-system-morph-target-field-label.util.ts
@@ -0,0 +1,24 @@
+import { msg } from '@lingui/core/macro';
+import { STANDARD_OBJECTS } from 'twenty-shared/metadata';
+import { capitalize, isDefined } from 'twenty-shared/utils';
+
+import { i18nLabel } from 'src/engine/workspace-manager/twenty-standard-application/utils/i18n-label.util';
+
+// Morph siblings render as one column labelled by whichever sibling survives
+// dedup, so a group with a shared label must keep it for every sibling,
+// including the ones added or renamed along with a custom object.
+const SHARED_LABEL_BY_MORPH_ID: Record<string, string> = {
+ [STANDARD_OBJECTS.attachment.morphIds.targetMorphId.morphId]: i18nLabel(
+ msg({ message: `Attached to`, context: 'fieldMetadata.label' }),
+ ),
+};
+
+export const computeSystemMorphTargetFieldLabel = ({
+ morphId,
+ targetObjectNameSingular,
+}: {
+ morphId: string | null | undefined;
+ targetObjectNameSingular: string;
+}): string =>
+ (isDefined(morphId) ? SHARED_LABEL_BY_MORPH_ID[morphId] : undefined) ??
+ capitalize(targetObjectNameSingular);
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/standard-page-layout.constant.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/standard-page-layout.constant.ts
index fae955cc7c1..ff30b13ab32 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/standard-page-layout.constant.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/standard-page-layout.constant.ts
@@ -1,4 +1,5 @@
import {
+ STANDARD_ATTACHMENT_PAGE_LAYOUT_CONFIG,
STANDARD_BLOCKLIST_PAGE_LAYOUT_CONFIG,
STANDARD_CALENDAR_CHANNEL_EVENT_ASSOCIATION_PAGE_LAYOUT_CONFIG,
STANDARD_CALENDAR_EVENT_PAGE_LAYOUT_CONFIG,
@@ -26,6 +27,7 @@ import { type StandardRecordPageLayouts } from 'src/engine/workspace-manager/twe
export const STANDARD_PAGE_LAYOUTS = {
myFirstDashboard: STANDARD_DASHBOARD_PAGE_LAYOUT_CONFIG,
+ attachmentRecordPage: STANDARD_ATTACHMENT_PAGE_LAYOUT_CONFIG,
blocklistRecordPage: STANDARD_BLOCKLIST_PAGE_LAYOUT_CONFIG,
calendarChannelEventAssociationRecordPage:
STANDARD_CALENDAR_CHANNEL_EVENT_ASSOCIATION_PAGE_LAYOUT_CONFIG,
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-object-metadata-related-entity-ids.util.spec.ts.snap b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-object-metadata-related-entity-ids.util.spec.ts.snap
index 2f6abd47621..fede66e2b9f 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-object-metadata-related-entity-ids.util.spec.ts.snap
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-object-metadata-related-entity-ids.util.spec.ts.snap
@@ -5,259 +5,259 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"agentChatThread": {
"fields": {
"activeStreamId": {
- "id": "00000000-0000-0000-0000-000000001007",
+ "id": "00000000-0000-0000-0000-000000001010",
},
"archivedAt": {
- "id": "00000000-0000-0000-0000-000000000996",
+ "id": "00000000-0000-0000-0000-000000000999",
},
"contextWindowTokens": {
- "id": "00000000-0000-0000-0000-000000001001",
+ "id": "00000000-0000-0000-0000-000000001004",
},
"conversationSize": {
- "id": "00000000-0000-0000-0000-000000001002",
+ "id": "00000000-0000-0000-0000-000000001005",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000993",
+ "id": "00000000-0000-0000-0000-000000000996",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000995",
+ "id": "00000000-0000-0000-0000-000000000998",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000992",
+ "id": "00000000-0000-0000-0000-000000000995",
},
"lastStreamError": {
- "id": "00000000-0000-0000-0000-000000001009",
+ "id": "00000000-0000-0000-0000-000000001012",
},
"messages": {
- "id": "00000000-0000-0000-0000-000000001011",
+ "id": "00000000-0000-0000-0000-000000001014",
},
"pendingQuestionMessageId": {
- "id": "00000000-0000-0000-0000-000000001008",
+ "id": "00000000-0000-0000-0000-000000001011",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000998",
+ "id": "00000000-0000-0000-0000-000000001001",
},
"totalCacheCreationTokens": {
- "id": "00000000-0000-0000-0000-000000001006",
+ "id": "00000000-0000-0000-0000-000000001009",
},
"totalCacheReadTokens": {
- "id": "00000000-0000-0000-0000-000000001005",
+ "id": "00000000-0000-0000-0000-000000001008",
},
"totalInputCredits": {
- "id": "00000000-0000-0000-0000-000000001003",
+ "id": "00000000-0000-0000-0000-000000001006",
},
"totalInputTokens": {
- "id": "00000000-0000-0000-0000-000000000999",
+ "id": "00000000-0000-0000-0000-000000001002",
},
"totalOutputCredits": {
- "id": "00000000-0000-0000-0000-000000001004",
+ "id": "00000000-0000-0000-0000-000000001007",
},
"totalOutputTokens": {
- "id": "00000000-0000-0000-0000-000000001000",
+ "id": "00000000-0000-0000-0000-000000001003",
},
"turns": {
- "id": "00000000-0000-0000-0000-000000001010",
+ "id": "00000000-0000-0000-0000-000000001013",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000994",
+ "id": "00000000-0000-0000-0000-000000000997",
},
"userWorkspaceId": {
- "id": "00000000-0000-0000-0000-000000000997",
+ "id": "00000000-0000-0000-0000-000000001000",
},
},
- "id": "00000000-0000-0000-0000-000000001012",
+ "id": "00000000-0000-0000-0000-000000001015",
"views": undefined,
},
"agentMessage": {
"fields": {
"agentId": {
- "id": "00000000-0000-0000-0000-000000001026",
+ "id": "00000000-0000-0000-0000-000000001029",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000001023",
+ "id": "00000000-0000-0000-0000-000000001026",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000001025",
+ "id": "00000000-0000-0000-0000-000000001028",
},
"id": {
- "id": "00000000-0000-0000-0000-000000001022",
+ "id": "00000000-0000-0000-0000-000000001025",
},
"isHidden": {
- "id": "00000000-0000-0000-0000-000000001031",
+ "id": "00000000-0000-0000-0000-000000001034",
},
"parts": {
- "id": "00000000-0000-0000-0000-000000001035",
+ "id": "00000000-0000-0000-0000-000000001038",
},
"processedAt": {
- "id": "00000000-0000-0000-0000-000000001032",
+ "id": "00000000-0000-0000-0000-000000001035",
},
"role": {
- "id": "00000000-0000-0000-0000-000000001029",
+ "id": "00000000-0000-0000-0000-000000001032",
},
"senderApplicationId": {
- "id": "00000000-0000-0000-0000-000000001028",
+ "id": "00000000-0000-0000-0000-000000001031",
},
"senderUserWorkspaceId": {
- "id": "00000000-0000-0000-0000-000000001027",
+ "id": "00000000-0000-0000-0000-000000001030",
},
"status": {
- "id": "00000000-0000-0000-0000-000000001030",
+ "id": "00000000-0000-0000-0000-000000001033",
},
"thread": {
- "id": "00000000-0000-0000-0000-000000001033",
+ "id": "00000000-0000-0000-0000-000000001036",
},
"turn": {
- "id": "00000000-0000-0000-0000-000000001034",
+ "id": "00000000-0000-0000-0000-000000001037",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000001024",
+ "id": "00000000-0000-0000-0000-000000001027",
},
},
- "id": "00000000-0000-0000-0000-000000001036",
+ "id": "00000000-0000-0000-0000-000000001039",
"views": undefined,
},
"agentMessagePart": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000001038",
+ "id": "00000000-0000-0000-0000-000000001041",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000001040",
+ "id": "00000000-0000-0000-0000-000000001043",
},
"errorDetails": {
- "id": "00000000-0000-0000-0000-000000001052",
+ "id": "00000000-0000-0000-0000-000000001055",
},
"errorMessage": {
- "id": "00000000-0000-0000-0000-000000001051",
+ "id": "00000000-0000-0000-0000-000000001054",
},
"fileFilename": {
- "id": "00000000-0000-0000-0000-000000001060",
+ "id": "00000000-0000-0000-0000-000000001063",
},
"fileId": {
- "id": "00000000-0000-0000-0000-000000001061",
+ "id": "00000000-0000-0000-0000-000000001064",
},
"id": {
- "id": "00000000-0000-0000-0000-000000001037",
+ "id": "00000000-0000-0000-0000-000000001040",
},
"message": {
- "id": "00000000-0000-0000-0000-000000001063",
+ "id": "00000000-0000-0000-0000-000000001066",
},
"orderIndex": {
- "id": "00000000-0000-0000-0000-000000001041",
+ "id": "00000000-0000-0000-0000-000000001044",
},
"providerExecuted": {
- "id": "00000000-0000-0000-0000-000000001050",
+ "id": "00000000-0000-0000-0000-000000001053",
},
"providerMetadata": {
- "id": "00000000-0000-0000-0000-000000001062",
+ "id": "00000000-0000-0000-0000-000000001065",
},
"reasoningContent": {
- "id": "00000000-0000-0000-0000-000000001044",
+ "id": "00000000-0000-0000-0000-000000001047",
},
"sourceDocumentFilename": {
- "id": "00000000-0000-0000-0000-000000001059",
+ "id": "00000000-0000-0000-0000-000000001062",
},
"sourceDocumentMediaType": {
- "id": "00000000-0000-0000-0000-000000001057",
+ "id": "00000000-0000-0000-0000-000000001060",
},
"sourceDocumentSourceId": {
- "id": "00000000-0000-0000-0000-000000001056",
+ "id": "00000000-0000-0000-0000-000000001059",
},
"sourceDocumentTitle": {
- "id": "00000000-0000-0000-0000-000000001058",
+ "id": "00000000-0000-0000-0000-000000001061",
},
"sourceUrlSourceId": {
- "id": "00000000-0000-0000-0000-000000001053",
+ "id": "00000000-0000-0000-0000-000000001056",
},
"sourceUrlTitle": {
- "id": "00000000-0000-0000-0000-000000001055",
+ "id": "00000000-0000-0000-0000-000000001058",
},
"sourceUrlUrl": {
- "id": "00000000-0000-0000-0000-000000001054",
+ "id": "00000000-0000-0000-0000-000000001057",
},
"state": {
- "id": "00000000-0000-0000-0000-000000001049",
+ "id": "00000000-0000-0000-0000-000000001052",
},
"textContent": {
- "id": "00000000-0000-0000-0000-000000001043",
+ "id": "00000000-0000-0000-0000-000000001046",
},
"toolCallId": {
- "id": "00000000-0000-0000-0000-000000001046",
+ "id": "00000000-0000-0000-0000-000000001049",
},
"toolInput": {
- "id": "00000000-0000-0000-0000-000000001047",
+ "id": "00000000-0000-0000-0000-000000001050",
},
"toolName": {
- "id": "00000000-0000-0000-0000-000000001045",
+ "id": "00000000-0000-0000-0000-000000001048",
},
"toolOutput": {
- "id": "00000000-0000-0000-0000-000000001048",
+ "id": "00000000-0000-0000-0000-000000001051",
},
"type": {
- "id": "00000000-0000-0000-0000-000000001042",
+ "id": "00000000-0000-0000-0000-000000001045",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000001039",
+ "id": "00000000-0000-0000-0000-000000001042",
},
},
- "id": "00000000-0000-0000-0000-000000001064",
+ "id": "00000000-0000-0000-0000-000000001067",
"views": undefined,
},
"agentTurn": {
"fields": {
"agentId": {
- "id": "00000000-0000-0000-0000-000000001017",
+ "id": "00000000-0000-0000-0000-000000001020",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000001014",
+ "id": "00000000-0000-0000-0000-000000001017",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000001016",
+ "id": "00000000-0000-0000-0000-000000001019",
},
"evaluations": {
- "id": "00000000-0000-0000-0000-000000001020",
+ "id": "00000000-0000-0000-0000-000000001023",
},
"id": {
- "id": "00000000-0000-0000-0000-000000001013",
+ "id": "00000000-0000-0000-0000-000000001016",
},
"messages": {
- "id": "00000000-0000-0000-0000-000000001019",
+ "id": "00000000-0000-0000-0000-000000001022",
},
"thread": {
- "id": "00000000-0000-0000-0000-000000001018",
+ "id": "00000000-0000-0000-0000-000000001021",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000001015",
+ "id": "00000000-0000-0000-0000-000000001018",
},
},
- "id": "00000000-0000-0000-0000-000000001021",
+ "id": "00000000-0000-0000-0000-000000001024",
"views": undefined,
},
"agentTurnEvaluation": {
"fields": {
"comment": {
- "id": "00000000-0000-0000-0000-000000001070",
+ "id": "00000000-0000-0000-0000-000000001073",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000001066",
+ "id": "00000000-0000-0000-0000-000000001069",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000001068",
+ "id": "00000000-0000-0000-0000-000000001071",
},
"id": {
- "id": "00000000-0000-0000-0000-000000001065",
+ "id": "00000000-0000-0000-0000-000000001068",
},
"score": {
- "id": "00000000-0000-0000-0000-000000001069",
+ "id": "00000000-0000-0000-0000-000000001072",
},
"turn": {
- "id": "00000000-0000-0000-0000-000000001071",
+ "id": "00000000-0000-0000-0000-000000001074",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000001067",
+ "id": "00000000-0000-0000-0000-000000001070",
},
},
- "id": "00000000-0000-0000-0000-000000001072",
+ "id": "00000000-0000-0000-0000-000000001075",
"views": undefined,
},
"attachment": {
@@ -320,7 +320,7 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"id": "00000000-0000-0000-0000-000000000006",
},
},
- "id": "00000000-0000-0000-0000-000000000032",
+ "id": "00000000-0000-0000-0000-000000000035",
"views": {
"allAttachments": {
"id": "00000000-0000-0000-0000-000000000031",
@@ -362,81 +362,94 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
},
"viewGroups": {},
},
+ "attachmentRecordPageFields": {
+ "id": "00000000-0000-0000-0000-000000000034",
+ "viewFieldGroups": {},
+ "viewFields": {
+ "createdAt": {
+ "id": "00000000-0000-0000-0000-000000000033",
+ },
+ "createdBy": {
+ "id": "00000000-0000-0000-0000-000000000032",
+ },
+ },
+ "viewGroups": {},
+ },
},
},
"blocklist": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000034",
+ "id": "00000000-0000-0000-0000-000000000037",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000037",
+ "id": "00000000-0000-0000-0000-000000000040",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000036",
+ "id": "00000000-0000-0000-0000-000000000039",
},
"handle": {
- "id": "00000000-0000-0000-0000-000000000041",
+ "id": "00000000-0000-0000-0000-000000000044",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000033",
+ "id": "00000000-0000-0000-0000-000000000036",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000039",
+ "id": "00000000-0000-0000-0000-000000000042",
},
"scope": {
- "id": "00000000-0000-0000-0000-000000000042",
+ "id": "00000000-0000-0000-0000-000000000045",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000040",
+ "id": "00000000-0000-0000-0000-000000000043",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000035",
+ "id": "00000000-0000-0000-0000-000000000038",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000038",
+ "id": "00000000-0000-0000-0000-000000000041",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000043",
+ "id": "00000000-0000-0000-0000-000000000046",
},
},
- "id": "00000000-0000-0000-0000-000000000054",
+ "id": "00000000-0000-0000-0000-000000000057",
"views": {
"allBlocklists": {
- "id": "00000000-0000-0000-0000-000000000047",
+ "id": "00000000-0000-0000-0000-000000000050",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000046",
+ "id": "00000000-0000-0000-0000-000000000049",
},
"handle": {
- "id": "00000000-0000-0000-0000-000000000044",
+ "id": "00000000-0000-0000-0000-000000000047",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000045",
+ "id": "00000000-0000-0000-0000-000000000048",
},
},
"viewGroups": {},
},
"blocklistRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000053",
+ "id": "00000000-0000-0000-0000-000000000056",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000051",
+ "id": "00000000-0000-0000-0000-000000000054",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000052",
+ "id": "00000000-0000-0000-0000-000000000055",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000049",
+ "id": "00000000-0000-0000-0000-000000000052",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000050",
+ "id": "00000000-0000-0000-0000-000000000053",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000048",
+ "id": "00000000-0000-0000-0000-000000000051",
},
},
"viewGroups": {},
@@ -446,88 +459,88 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"calendarChannelEventAssociation": {
"fields": {
"calendarChannelId": {
- "id": "00000000-0000-0000-0000-000000000063",
+ "id": "00000000-0000-0000-0000-000000000066",
},
"calendarEvent": {
- "id": "00000000-0000-0000-0000-000000000064",
+ "id": "00000000-0000-0000-0000-000000000067",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000056",
+ "id": "00000000-0000-0000-0000-000000000059",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000059",
+ "id": "00000000-0000-0000-0000-000000000062",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000058",
+ "id": "00000000-0000-0000-0000-000000000061",
},
"eventExternalId": {
- "id": "00000000-0000-0000-0000-000000000065",
+ "id": "00000000-0000-0000-0000-000000000068",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000055",
+ "id": "00000000-0000-0000-0000-000000000058",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000061",
+ "id": "00000000-0000-0000-0000-000000000064",
},
"recurringEventExternalId": {
- "id": "00000000-0000-0000-0000-000000000066",
+ "id": "00000000-0000-0000-0000-000000000069",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000062",
+ "id": "00000000-0000-0000-0000-000000000065",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000057",
+ "id": "00000000-0000-0000-0000-000000000060",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000060",
+ "id": "00000000-0000-0000-0000-000000000063",
},
},
- "id": "00000000-0000-0000-0000-000000000080",
+ "id": "00000000-0000-0000-0000-000000000083",
"views": {
"allCalendarChannelEventAssociations": {
- "id": "00000000-0000-0000-0000-000000000071",
+ "id": "00000000-0000-0000-0000-000000000074",
"viewFieldGroups": {},
"viewFields": {
"calendarChannelId": {
- "id": "00000000-0000-0000-0000-000000000067",
+ "id": "00000000-0000-0000-0000-000000000070",
},
"calendarEvent": {
- "id": "00000000-0000-0000-0000-000000000068",
+ "id": "00000000-0000-0000-0000-000000000071",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000070",
+ "id": "00000000-0000-0000-0000-000000000073",
},
"eventExternalId": {
- "id": "00000000-0000-0000-0000-000000000069",
+ "id": "00000000-0000-0000-0000-000000000072",
},
},
"viewGroups": {},
},
"calendarChannelEventAssociationRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000079",
+ "id": "00000000-0000-0000-0000-000000000082",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000077",
+ "id": "00000000-0000-0000-0000-000000000080",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000078",
+ "id": "00000000-0000-0000-0000-000000000081",
},
},
"viewFields": {
"calendarChannelId": {
- "id": "00000000-0000-0000-0000-000000000072",
+ "id": "00000000-0000-0000-0000-000000000075",
},
"calendarEvent": {
- "id": "00000000-0000-0000-0000-000000000073",
+ "id": "00000000-0000-0000-0000-000000000076",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000075",
+ "id": "00000000-0000-0000-0000-000000000078",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000076",
+ "id": "00000000-0000-0000-0000-000000000079",
},
"eventExternalId": {
- "id": "00000000-0000-0000-0000-000000000074",
+ "id": "00000000-0000-0000-0000-000000000077",
},
},
"viewGroups": {},
@@ -537,160 +550,160 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"calendarEvent": {
"fields": {
"calendarChannelEventAssociations": {
- "id": "00000000-0000-0000-0000-000000000138",
+ "id": "00000000-0000-0000-0000-000000000141",
},
"calendarEventParticipants": {
- "id": "00000000-0000-0000-0000-000000000139",
+ "id": "00000000-0000-0000-0000-000000000142",
},
"calendarEventTargets": {
- "id": "00000000-0000-0000-0000-000000000140",
+ "id": "00000000-0000-0000-0000-000000000143",
},
"callRecordings": {
- "id": "00000000-0000-0000-0000-000000000141",
+ "id": "00000000-0000-0000-0000-000000000144",
},
"conferenceLink": {
- "id": "00000000-0000-0000-0000-000000000137",
+ "id": "00000000-0000-0000-0000-000000000140",
},
"conferenceSolution": {
- "id": "00000000-0000-0000-0000-000000000136",
+ "id": "00000000-0000-0000-0000-000000000139",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000119",
+ "id": "00000000-0000-0000-0000-000000000122",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000122",
+ "id": "00000000-0000-0000-0000-000000000125",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000121",
+ "id": "00000000-0000-0000-0000-000000000124",
},
"description": {
- "id": "00000000-0000-0000-0000-000000000133",
+ "id": "00000000-0000-0000-0000-000000000136",
},
"endsAt": {
- "id": "00000000-0000-0000-0000-000000000130",
+ "id": "00000000-0000-0000-0000-000000000133",
},
"externalCreatedAt": {
- "id": "00000000-0000-0000-0000-000000000131",
+ "id": "00000000-0000-0000-0000-000000000134",
},
"externalUpdatedAt": {
- "id": "00000000-0000-0000-0000-000000000132",
+ "id": "00000000-0000-0000-0000-000000000135",
},
"iCalUid": {
- "id": "00000000-0000-0000-0000-000000000135",
+ "id": "00000000-0000-0000-0000-000000000138",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000118",
+ "id": "00000000-0000-0000-0000-000000000121",
},
"isCanceled": {
- "id": "00000000-0000-0000-0000-000000000127",
+ "id": "00000000-0000-0000-0000-000000000130",
},
"isFullDay": {
- "id": "00000000-0000-0000-0000-000000000128",
+ "id": "00000000-0000-0000-0000-000000000131",
},
"location": {
- "id": "00000000-0000-0000-0000-000000000134",
+ "id": "00000000-0000-0000-0000-000000000137",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000124",
+ "id": "00000000-0000-0000-0000-000000000127",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000125",
+ "id": "00000000-0000-0000-0000-000000000128",
},
"startsAt": {
- "id": "00000000-0000-0000-0000-000000000129",
+ "id": "00000000-0000-0000-0000-000000000132",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000126",
+ "id": "00000000-0000-0000-0000-000000000129",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000120",
+ "id": "00000000-0000-0000-0000-000000000123",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000123",
+ "id": "00000000-0000-0000-0000-000000000126",
},
},
- "id": "00000000-0000-0000-0000-000000000167",
+ "id": "00000000-0000-0000-0000-000000000170",
"views": {
"allCalendarEvents": {
- "id": "00000000-0000-0000-0000-000000000150",
+ "id": "00000000-0000-0000-0000-000000000153",
"viewFieldGroups": {},
"viewFields": {
"conferenceLink": {
- "id": "00000000-0000-0000-0000-000000000147",
+ "id": "00000000-0000-0000-0000-000000000150",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000149",
+ "id": "00000000-0000-0000-0000-000000000152",
},
"endsAt": {
- "id": "00000000-0000-0000-0000-000000000144",
+ "id": "00000000-0000-0000-0000-000000000147",
},
"isCanceled": {
- "id": "00000000-0000-0000-0000-000000000148",
+ "id": "00000000-0000-0000-0000-000000000151",
},
"isFullDay": {
- "id": "00000000-0000-0000-0000-000000000145",
+ "id": "00000000-0000-0000-0000-000000000148",
},
"location": {
- "id": "00000000-0000-0000-0000-000000000146",
+ "id": "00000000-0000-0000-0000-000000000149",
},
"startsAt": {
- "id": "00000000-0000-0000-0000-000000000143",
+ "id": "00000000-0000-0000-0000-000000000146",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000142",
+ "id": "00000000-0000-0000-0000-000000000145",
},
},
"viewGroups": {},
},
"calendarEventRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000166",
+ "id": "00000000-0000-0000-0000-000000000169",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000164",
+ "id": "00000000-0000-0000-0000-000000000167",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000165",
+ "id": "00000000-0000-0000-0000-000000000168",
},
},
"viewFields": {
"calendarEventTargets": {
- "id": "00000000-0000-0000-0000-000000000159",
+ "id": "00000000-0000-0000-0000-000000000162",
},
"conferenceLink": {
- "id": "00000000-0000-0000-0000-000000000156",
+ "id": "00000000-0000-0000-0000-000000000159",
},
"conferenceSolution": {
- "id": "00000000-0000-0000-0000-000000000163",
+ "id": "00000000-0000-0000-0000-000000000166",
},
"description": {
- "id": "00000000-0000-0000-0000-000000000158",
+ "id": "00000000-0000-0000-0000-000000000161",
},
"endsAt": {
- "id": "00000000-0000-0000-0000-000000000153",
+ "id": "00000000-0000-0000-0000-000000000156",
},
"externalCreatedAt": {
- "id": "00000000-0000-0000-0000-000000000160",
+ "id": "00000000-0000-0000-0000-000000000163",
},
"externalUpdatedAt": {
- "id": "00000000-0000-0000-0000-000000000161",
+ "id": "00000000-0000-0000-0000-000000000164",
},
"iCalUid": {
- "id": "00000000-0000-0000-0000-000000000162",
+ "id": "00000000-0000-0000-0000-000000000165",
},
"isCanceled": {
- "id": "00000000-0000-0000-0000-000000000155",
+ "id": "00000000-0000-0000-0000-000000000158",
},
"isFullDay": {
- "id": "00000000-0000-0000-0000-000000000154",
+ "id": "00000000-0000-0000-0000-000000000157",
},
"location": {
- "id": "00000000-0000-0000-0000-000000000157",
+ "id": "00000000-0000-0000-0000-000000000160",
},
"startsAt": {
- "id": "00000000-0000-0000-0000-000000000152",
+ "id": "00000000-0000-0000-0000-000000000155",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000151",
+ "id": "00000000-0000-0000-0000-000000000154",
},
},
"viewGroups": {},
@@ -700,121 +713,121 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"calendarEventParticipant": {
"fields": {
"calendarEvent": {
- "id": "00000000-0000-0000-0000-000000000089",
+ "id": "00000000-0000-0000-0000-000000000092",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000082",
+ "id": "00000000-0000-0000-0000-000000000085",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000085",
+ "id": "00000000-0000-0000-0000-000000000088",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000084",
+ "id": "00000000-0000-0000-0000-000000000087",
},
"displayName": {
- "id": "00000000-0000-0000-0000-000000000091",
+ "id": "00000000-0000-0000-0000-000000000094",
},
"handle": {
- "id": "00000000-0000-0000-0000-000000000090",
+ "id": "00000000-0000-0000-0000-000000000093",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000081",
+ "id": "00000000-0000-0000-0000-000000000084",
},
"isOrganizer": {
- "id": "00000000-0000-0000-0000-000000000092",
+ "id": "00000000-0000-0000-0000-000000000095",
},
"person": {
- "id": "00000000-0000-0000-0000-000000000094",
+ "id": "00000000-0000-0000-0000-000000000097",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000087",
+ "id": "00000000-0000-0000-0000-000000000090",
},
"responseStatus": {
- "id": "00000000-0000-0000-0000-000000000093",
+ "id": "00000000-0000-0000-0000-000000000096",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000088",
+ "id": "00000000-0000-0000-0000-000000000091",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000083",
+ "id": "00000000-0000-0000-0000-000000000086",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000086",
+ "id": "00000000-0000-0000-0000-000000000089",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000095",
+ "id": "00000000-0000-0000-0000-000000000098",
},
},
- "id": "00000000-0000-0000-0000-000000000117",
+ "id": "00000000-0000-0000-0000-000000000120",
"views": {
"allCalendarEventParticipants": {
- "id": "00000000-0000-0000-0000-000000000104",
+ "id": "00000000-0000-0000-0000-000000000107",
"viewFieldGroups": {},
"viewFields": {
"calendarEvent": {
- "id": "00000000-0000-0000-0000-000000000096",
+ "id": "00000000-0000-0000-0000-000000000099",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000103",
+ "id": "00000000-0000-0000-0000-000000000106",
},
"displayName": {
- "id": "00000000-0000-0000-0000-000000000098",
+ "id": "00000000-0000-0000-0000-000000000101",
},
"handle": {
- "id": "00000000-0000-0000-0000-000000000097",
+ "id": "00000000-0000-0000-0000-000000000100",
},
"isOrganizer": {
- "id": "00000000-0000-0000-0000-000000000099",
+ "id": "00000000-0000-0000-0000-000000000102",
},
"person": {
- "id": "00000000-0000-0000-0000-000000000101",
+ "id": "00000000-0000-0000-0000-000000000104",
},
"responseStatus": {
- "id": "00000000-0000-0000-0000-000000000100",
+ "id": "00000000-0000-0000-0000-000000000103",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000102",
+ "id": "00000000-0000-0000-0000-000000000105",
},
},
"viewGroups": {},
},
"calendarEventParticipantRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000116",
+ "id": "00000000-0000-0000-0000-000000000119",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000114",
+ "id": "00000000-0000-0000-0000-000000000117",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000115",
+ "id": "00000000-0000-0000-0000-000000000118",
},
},
"viewFields": {
"calendarEvent": {
- "id": "00000000-0000-0000-0000-000000000105",
+ "id": "00000000-0000-0000-0000-000000000108",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000112",
+ "id": "00000000-0000-0000-0000-000000000115",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000113",
+ "id": "00000000-0000-0000-0000-000000000116",
},
"displayName": {
- "id": "00000000-0000-0000-0000-000000000107",
+ "id": "00000000-0000-0000-0000-000000000110",
},
"handle": {
- "id": "00000000-0000-0000-0000-000000000106",
+ "id": "00000000-0000-0000-0000-000000000109",
},
"isOrganizer": {
- "id": "00000000-0000-0000-0000-000000000108",
+ "id": "00000000-0000-0000-0000-000000000111",
},
"person": {
- "id": "00000000-0000-0000-0000-000000000110",
+ "id": "00000000-0000-0000-0000-000000000113",
},
"responseStatus": {
- "id": "00000000-0000-0000-0000-000000000109",
+ "id": "00000000-0000-0000-0000-000000000112",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000111",
+ "id": "00000000-0000-0000-0000-000000000114",
},
},
"viewGroups": {},
@@ -824,172 +837,172 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"calendarEventTarget": {
"fields": {
"calendarEvent": {
- "id": "00000000-0000-0000-0000-000000000176",
+ "id": "00000000-0000-0000-0000-000000000179",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000169",
+ "id": "00000000-0000-0000-0000-000000000172",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000172",
+ "id": "00000000-0000-0000-0000-000000000175",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000171",
+ "id": "00000000-0000-0000-0000-000000000174",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000168",
+ "id": "00000000-0000-0000-0000-000000000171",
},
"isAutomaticallyAssigned": {
- "id": "00000000-0000-0000-0000-000000000177",
+ "id": "00000000-0000-0000-0000-000000000180",
},
"isManuallyAssigned": {
- "id": "00000000-0000-0000-0000-000000000178",
+ "id": "00000000-0000-0000-0000-000000000181",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000174",
+ "id": "00000000-0000-0000-0000-000000000177",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000175",
+ "id": "00000000-0000-0000-0000-000000000178",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000180",
+ "id": "00000000-0000-0000-0000-000000000183",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000181",
+ "id": "00000000-0000-0000-0000-000000000184",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000179",
+ "id": "00000000-0000-0000-0000-000000000182",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000170",
+ "id": "00000000-0000-0000-0000-000000000173",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000173",
+ "id": "00000000-0000-0000-0000-000000000176",
},
},
- "id": "00000000-0000-0000-0000-000000000182",
+ "id": "00000000-0000-0000-0000-000000000185",
"views": {},
},
"callRecording": {
"fields": {
"applicationId": {
- "id": "00000000-0000-0000-0000-000000000194",
+ "id": "00000000-0000-0000-0000-000000000197",
},
"audio": {
- "id": "00000000-0000-0000-0000-000000000200",
+ "id": "00000000-0000-0000-0000-000000000203",
},
"calendarEvent": {
- "id": "00000000-0000-0000-0000-000000000203",
+ "id": "00000000-0000-0000-0000-000000000206",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000184",
+ "id": "00000000-0000-0000-0000-000000000187",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000187",
+ "id": "00000000-0000-0000-0000-000000000190",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000186",
+ "id": "00000000-0000-0000-0000-000000000189",
},
"endedAt": {
- "id": "00000000-0000-0000-0000-000000000198",
+ "id": "00000000-0000-0000-0000-000000000201",
},
"externalBotId": {
- "id": "00000000-0000-0000-0000-000000000195",
+ "id": "00000000-0000-0000-0000-000000000198",
},
"externalRecordingId": {
- "id": "00000000-0000-0000-0000-000000000196",
+ "id": "00000000-0000-0000-0000-000000000199",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000183",
+ "id": "00000000-0000-0000-0000-000000000186",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000189",
+ "id": "00000000-0000-0000-0000-000000000192",
},
"recordingRequestStatus": {
- "id": "00000000-0000-0000-0000-000000000193",
+ "id": "00000000-0000-0000-0000-000000000196",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000190",
+ "id": "00000000-0000-0000-0000-000000000193",
},
"startedAt": {
- "id": "00000000-0000-0000-0000-000000000197",
+ "id": "00000000-0000-0000-0000-000000000200",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000192",
+ "id": "00000000-0000-0000-0000-000000000195",
},
"summary": {
- "id": "00000000-0000-0000-0000-000000000202",
+ "id": "00000000-0000-0000-0000-000000000205",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000191",
+ "id": "00000000-0000-0000-0000-000000000194",
},
"transcript": {
- "id": "00000000-0000-0000-0000-000000000201",
+ "id": "00000000-0000-0000-0000-000000000204",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000185",
+ "id": "00000000-0000-0000-0000-000000000188",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000188",
+ "id": "00000000-0000-0000-0000-000000000191",
},
"video": {
- "id": "00000000-0000-0000-0000-000000000199",
+ "id": "00000000-0000-0000-0000-000000000202",
},
},
- "id": "00000000-0000-0000-0000-000000000220",
+ "id": "00000000-0000-0000-0000-000000000223",
"views": {
"allCallRecordings": {
- "id": "00000000-0000-0000-0000-000000000208",
+ "id": "00000000-0000-0000-0000-000000000211",
"viewFieldGroups": {},
"viewFields": {
"recordingRequestStatus": {
- "id": "00000000-0000-0000-0000-000000000205",
+ "id": "00000000-0000-0000-0000-000000000208",
},
"startedAt": {
- "id": "00000000-0000-0000-0000-000000000207",
+ "id": "00000000-0000-0000-0000-000000000210",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000204",
+ "id": "00000000-0000-0000-0000-000000000207",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000206",
+ "id": "00000000-0000-0000-0000-000000000209",
},
},
"viewGroups": {},
},
"callRecordingRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000219",
+ "id": "00000000-0000-0000-0000-000000000222",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000218",
+ "id": "00000000-0000-0000-0000-000000000221",
},
},
"viewFields": {
"audio": {
- "id": "00000000-0000-0000-0000-000000000215",
+ "id": "00000000-0000-0000-0000-000000000218",
},
"endedAt": {
- "id": "00000000-0000-0000-0000-000000000213",
+ "id": "00000000-0000-0000-0000-000000000216",
},
"recordingRequestStatus": {
- "id": "00000000-0000-0000-0000-000000000211",
+ "id": "00000000-0000-0000-0000-000000000214",
},
"startedAt": {
- "id": "00000000-0000-0000-0000-000000000212",
+ "id": "00000000-0000-0000-0000-000000000215",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000210",
+ "id": "00000000-0000-0000-0000-000000000213",
},
"summary": {
- "id": "00000000-0000-0000-0000-000000000217",
+ "id": "00000000-0000-0000-0000-000000000220",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000209",
+ "id": "00000000-0000-0000-0000-000000000212",
},
"transcript": {
- "id": "00000000-0000-0000-0000-000000000216",
+ "id": "00000000-0000-0000-0000-000000000219",
},
"video": {
- "id": "00000000-0000-0000-0000-000000000214",
+ "id": "00000000-0000-0000-0000-000000000217",
},
},
"viewGroups": {},
@@ -999,226 +1012,226 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"campaignDelivery": {
"fields": {
"bouncedAt": {
- "id": "00000000-0000-0000-0000-000000001088",
+ "id": "00000000-0000-0000-0000-000000001091",
},
"campaignId": {
- "id": "00000000-0000-0000-0000-000000001077",
+ "id": "00000000-0000-0000-0000-000000001080",
},
"claimExpiresAt": {
- "id": "00000000-0000-0000-0000-000000001084",
+ "id": "00000000-0000-0000-0000-000000001087",
},
"claimToken": {
- "id": "00000000-0000-0000-0000-000000001083",
+ "id": "00000000-0000-0000-0000-000000001086",
},
"complainedAt": {
- "id": "00000000-0000-0000-0000-000000001089",
+ "id": "00000000-0000-0000-0000-000000001092",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000001074",
+ "id": "00000000-0000-0000-0000-000000001077",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000001076",
+ "id": "00000000-0000-0000-0000-000000001079",
},
"deliveredAt": {
- "id": "00000000-0000-0000-0000-000000001087",
+ "id": "00000000-0000-0000-0000-000000001090",
},
"failureReason": {
- "id": "00000000-0000-0000-0000-000000001082",
+ "id": "00000000-0000-0000-0000-000000001085",
},
"id": {
- "id": "00000000-0000-0000-0000-000000001073",
+ "id": "00000000-0000-0000-0000-000000001076",
},
"personId": {
- "id": "00000000-0000-0000-0000-000000001078",
+ "id": "00000000-0000-0000-0000-000000001081",
},
"providerMessageId": {
- "id": "00000000-0000-0000-0000-000000001085",
+ "id": "00000000-0000-0000-0000-000000001088",
},
"recipientEmail": {
- "id": "00000000-0000-0000-0000-000000001079",
+ "id": "00000000-0000-0000-0000-000000001082",
},
"rejectedAt": {
- "id": "00000000-0000-0000-0000-000000001090",
+ "id": "00000000-0000-0000-0000-000000001093",
},
"renderingFailedAt": {
- "id": "00000000-0000-0000-0000-000000001091",
+ "id": "00000000-0000-0000-0000-000000001094",
},
"sentAt": {
- "id": "00000000-0000-0000-0000-000000001086",
+ "id": "00000000-0000-0000-0000-000000001089",
},
"skipReason": {
- "id": "00000000-0000-0000-0000-000000001081",
+ "id": "00000000-0000-0000-0000-000000001084",
},
"state": {
- "id": "00000000-0000-0000-0000-000000001080",
+ "id": "00000000-0000-0000-0000-000000001083",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000001075",
+ "id": "00000000-0000-0000-0000-000000001078",
},
},
- "id": "00000000-0000-0000-0000-000000001092",
+ "id": "00000000-0000-0000-0000-000000001095",
"views": undefined,
},
"company": {
"fields": {
"accountOwner": {
- "id": "00000000-0000-0000-0000-000000000235",
+ "id": "00000000-0000-0000-0000-000000000238",
},
"address": {
- "id": "00000000-0000-0000-0000-000000000231",
+ "id": "00000000-0000-0000-0000-000000000234",
},
"annualRevenue": {
- "id": "00000000-0000-0000-0000-000000000233",
+ "id": "00000000-0000-0000-0000-000000000236",
},
"attachments": {
- "id": "00000000-0000-0000-0000-000000000241",
+ "id": "00000000-0000-0000-0000-000000000244",
},
"calendarEventTargets": {
- "id": "00000000-0000-0000-0000-000000000238",
+ "id": "00000000-0000-0000-0000-000000000241",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000222",
+ "id": "00000000-0000-0000-0000-000000000225",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000225",
+ "id": "00000000-0000-0000-0000-000000000228",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000224",
+ "id": "00000000-0000-0000-0000-000000000227",
},
"domainName": {
- "id": "00000000-0000-0000-0000-000000000230",
+ "id": "00000000-0000-0000-0000-000000000233",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000221",
+ "id": "00000000-0000-0000-0000-000000000224",
},
"linkedinLink": {
- "id": "00000000-0000-0000-0000-000000000232",
+ "id": "00000000-0000-0000-0000-000000000235",
},
"messageThreadTargets": {
- "id": "00000000-0000-0000-0000-000000000239",
+ "id": "00000000-0000-0000-0000-000000000242",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000229",
+ "id": "00000000-0000-0000-0000-000000000232",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000237",
+ "id": "00000000-0000-0000-0000-000000000240",
},
"opportunities": {
- "id": "00000000-0000-0000-0000-000000000240",
+ "id": "00000000-0000-0000-0000-000000000243",
},
"people": {
- "id": "00000000-0000-0000-0000-000000000234",
+ "id": "00000000-0000-0000-0000-000000000237",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000227",
+ "id": "00000000-0000-0000-0000-000000000230",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000228",
+ "id": "00000000-0000-0000-0000-000000000231",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000236",
+ "id": "00000000-0000-0000-0000-000000000239",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000242",
+ "id": "00000000-0000-0000-0000-000000000245",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000223",
+ "id": "00000000-0000-0000-0000-000000000226",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000226",
+ "id": "00000000-0000-0000-0000-000000000229",
},
},
- "id": "00000000-0000-0000-0000-000000000271",
+ "id": "00000000-0000-0000-0000-000000000274",
"views": {
"allCompanies": {
- "id": "00000000-0000-0000-0000-000000000250",
+ "id": "00000000-0000-0000-0000-000000000253",
"viewFieldGroups": {},
"viewFields": {
"accountOwner": {
- "id": "00000000-0000-0000-0000-000000000246",
+ "id": "00000000-0000-0000-0000-000000000249",
},
"address": {
- "id": "00000000-0000-0000-0000-000000000249",
+ "id": "00000000-0000-0000-0000-000000000252",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000247",
+ "id": "00000000-0000-0000-0000-000000000250",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000245",
+ "id": "00000000-0000-0000-0000-000000000248",
},
"domainName": {
- "id": "00000000-0000-0000-0000-000000000244",
+ "id": "00000000-0000-0000-0000-000000000247",
},
"linkedinLink": {
- "id": "00000000-0000-0000-0000-000000000248",
+ "id": "00000000-0000-0000-0000-000000000251",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000243",
+ "id": "00000000-0000-0000-0000-000000000246",
},
},
"viewGroups": {},
},
"companyRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000270",
+ "id": "00000000-0000-0000-0000-000000000273",
"viewFieldGroups": {
"business": {
- "id": "00000000-0000-0000-0000-000000000267",
+ "id": "00000000-0000-0000-0000-000000000270",
},
"contact": {
- "id": "00000000-0000-0000-0000-000000000268",
+ "id": "00000000-0000-0000-0000-000000000271",
},
"general": {
- "id": "00000000-0000-0000-0000-000000000266",
+ "id": "00000000-0000-0000-0000-000000000269",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000269",
+ "id": "00000000-0000-0000-0000-000000000272",
},
},
"viewFields": {
"accountOwner": {
- "id": "00000000-0000-0000-0000-000000000252",
+ "id": "00000000-0000-0000-0000-000000000255",
},
"address": {
- "id": "00000000-0000-0000-0000-000000000255",
+ "id": "00000000-0000-0000-0000-000000000258",
},
"annualRevenue": {
- "id": "00000000-0000-0000-0000-000000000253",
+ "id": "00000000-0000-0000-0000-000000000256",
},
"attachments": {
- "id": "00000000-0000-0000-0000-000000000264",
+ "id": "00000000-0000-0000-0000-000000000267",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000256",
+ "id": "00000000-0000-0000-0000-000000000259",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000257",
+ "id": "00000000-0000-0000-0000-000000000260",
},
"domainName": {
- "id": "00000000-0000-0000-0000-000000000251",
+ "id": "00000000-0000-0000-0000-000000000254",
},
"linkedinLink": {
- "id": "00000000-0000-0000-0000-000000000254",
+ "id": "00000000-0000-0000-0000-000000000257",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000262",
+ "id": "00000000-0000-0000-0000-000000000265",
},
"opportunities": {
- "id": "00000000-0000-0000-0000-000000000263",
+ "id": "00000000-0000-0000-0000-000000000266",
},
"people": {
- "id": "00000000-0000-0000-0000-000000000260",
+ "id": "00000000-0000-0000-0000-000000000263",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000261",
+ "id": "00000000-0000-0000-0000-000000000264",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000265",
+ "id": "00000000-0000-0000-0000-000000000268",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000258",
+ "id": "00000000-0000-0000-0000-000000000261",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000259",
+ "id": "00000000-0000-0000-0000-000000000262",
},
},
"viewGroups": {},
@@ -1228,59 +1241,59 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"dashboard": {
"fields": {
"attachments": {
- "id": "00000000-0000-0000-0000-000000000283",
+ "id": "00000000-0000-0000-0000-000000000286",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000273",
+ "id": "00000000-0000-0000-0000-000000000276",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000276",
+ "id": "00000000-0000-0000-0000-000000000279",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000275",
+ "id": "00000000-0000-0000-0000-000000000278",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000272",
+ "id": "00000000-0000-0000-0000-000000000275",
},
"pageLayoutId": {
- "id": "00000000-0000-0000-0000-000000000281",
+ "id": "00000000-0000-0000-0000-000000000284",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000278",
+ "id": "00000000-0000-0000-0000-000000000281",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000279",
+ "id": "00000000-0000-0000-0000-000000000282",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000282",
+ "id": "00000000-0000-0000-0000-000000000285",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000280",
+ "id": "00000000-0000-0000-0000-000000000283",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000274",
+ "id": "00000000-0000-0000-0000-000000000277",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000277",
+ "id": "00000000-0000-0000-0000-000000000280",
},
},
- "id": "00000000-0000-0000-0000-000000000289",
+ "id": "00000000-0000-0000-0000-000000000292",
"views": {
"allDashboards": {
- "id": "00000000-0000-0000-0000-000000000288",
+ "id": "00000000-0000-0000-0000-000000000291",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000286",
+ "id": "00000000-0000-0000-0000-000000000289",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000285",
+ "id": "00000000-0000-0000-0000-000000000288",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000284",
+ "id": "00000000-0000-0000-0000-000000000287",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000287",
+ "id": "00000000-0000-0000-0000-000000000290",
},
},
"viewGroups": {},
@@ -1290,118 +1303,118 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"message": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000501",
+ "id": "00000000-0000-0000-0000-000000000504",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000504",
+ "id": "00000000-0000-0000-0000-000000000507",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000503",
+ "id": "00000000-0000-0000-0000-000000000506",
},
"headerMessageId": {
- "id": "00000000-0000-0000-0000-000000000508",
+ "id": "00000000-0000-0000-0000-000000000511",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000500",
+ "id": "00000000-0000-0000-0000-000000000503",
},
"isDraft": {
- "id": "00000000-0000-0000-0000-000000000516",
+ "id": "00000000-0000-0000-0000-000000000519",
},
"messageCampaign": {
- "id": "00000000-0000-0000-0000-000000000515",
+ "id": "00000000-0000-0000-0000-000000000518",
},
"messageChannelMessageAssociations": {
- "id": "00000000-0000-0000-0000-000000000514",
+ "id": "00000000-0000-0000-0000-000000000517",
},
"messageParticipants": {
- "id": "00000000-0000-0000-0000-000000000513",
+ "id": "00000000-0000-0000-0000-000000000516",
},
"messageThread": {
- "id": "00000000-0000-0000-0000-000000000509",
+ "id": "00000000-0000-0000-0000-000000000512",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000506",
+ "id": "00000000-0000-0000-0000-000000000509",
},
"receivedAt": {
- "id": "00000000-0000-0000-0000-000000000512",
+ "id": "00000000-0000-0000-0000-000000000515",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000507",
+ "id": "00000000-0000-0000-0000-000000000510",
},
"subject": {
- "id": "00000000-0000-0000-0000-000000000510",
+ "id": "00000000-0000-0000-0000-000000000513",
},
"text": {
- "id": "00000000-0000-0000-0000-000000000511",
+ "id": "00000000-0000-0000-0000-000000000514",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000502",
+ "id": "00000000-0000-0000-0000-000000000505",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000505",
+ "id": "00000000-0000-0000-0000-000000000508",
},
},
- "id": "00000000-0000-0000-0000-000000000535",
+ "id": "00000000-0000-0000-0000-000000000538",
"views": {
"allMessages": {
- "id": "00000000-0000-0000-0000-000000000524",
+ "id": "00000000-0000-0000-0000-000000000527",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000523",
+ "id": "00000000-0000-0000-0000-000000000526",
},
"headerMessageId": {
- "id": "00000000-0000-0000-0000-000000000521",
+ "id": "00000000-0000-0000-0000-000000000524",
},
"messageParticipants": {
- "id": "00000000-0000-0000-0000-000000000519",
+ "id": "00000000-0000-0000-0000-000000000522",
},
"messageThread": {
- "id": "00000000-0000-0000-0000-000000000518",
+ "id": "00000000-0000-0000-0000-000000000521",
},
"receivedAt": {
- "id": "00000000-0000-0000-0000-000000000520",
+ "id": "00000000-0000-0000-0000-000000000523",
},
"subject": {
- "id": "00000000-0000-0000-0000-000000000517",
+ "id": "00000000-0000-0000-0000-000000000520",
},
"text": {
- "id": "00000000-0000-0000-0000-000000000522",
+ "id": "00000000-0000-0000-0000-000000000525",
},
},
"viewGroups": {},
},
"messageRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000534",
+ "id": "00000000-0000-0000-0000-000000000537",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000532",
+ "id": "00000000-0000-0000-0000-000000000535",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000533",
+ "id": "00000000-0000-0000-0000-000000000536",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000530",
+ "id": "00000000-0000-0000-0000-000000000533",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000531",
+ "id": "00000000-0000-0000-0000-000000000534",
},
"headerMessageId": {
- "id": "00000000-0000-0000-0000-000000000529",
+ "id": "00000000-0000-0000-0000-000000000532",
},
"messageParticipants": {
- "id": "00000000-0000-0000-0000-000000000526",
+ "id": "00000000-0000-0000-0000-000000000529",
},
"messageThread": {
- "id": "00000000-0000-0000-0000-000000000525",
+ "id": "00000000-0000-0000-0000-000000000528",
},
"receivedAt": {
- "id": "00000000-0000-0000-0000-000000000527",
+ "id": "00000000-0000-0000-0000-000000000530",
},
"text": {
- "id": "00000000-0000-0000-0000-000000000528",
+ "id": "00000000-0000-0000-0000-000000000531",
},
},
"viewGroups": {},
@@ -1411,172 +1424,172 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"messageCampaign": {
"fields": {
"bodyTemplate": {
- "id": "00000000-0000-0000-0000-000000000300",
+ "id": "00000000-0000-0000-0000-000000000303",
},
"bouncedCount": {
- "id": "00000000-0000-0000-0000-000000000308",
+ "id": "00000000-0000-0000-0000-000000000311",
},
"complainedCount": {
- "id": "00000000-0000-0000-0000-000000000309",
+ "id": "00000000-0000-0000-0000-000000000312",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000291",
+ "id": "00000000-0000-0000-0000-000000000294",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000294",
+ "id": "00000000-0000-0000-0000-000000000297",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000293",
+ "id": "00000000-0000-0000-0000-000000000296",
},
"deliveredCount": {
- "id": "00000000-0000-0000-0000-000000000306",
+ "id": "00000000-0000-0000-0000-000000000309",
},
"failedCount": {
- "id": "00000000-0000-0000-0000-000000000307",
+ "id": "00000000-0000-0000-0000-000000000310",
},
"fromAddress": {
- "id": "00000000-0000-0000-0000-000000000301",
+ "id": "00000000-0000-0000-0000-000000000304",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000290",
+ "id": "00000000-0000-0000-0000-000000000293",
},
"list": {
- "id": "00000000-0000-0000-0000-000000000312",
+ "id": "00000000-0000-0000-0000-000000000315",
},
"messages": {
- "id": "00000000-0000-0000-0000-000000000314",
+ "id": "00000000-0000-0000-0000-000000000317",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000298",
+ "id": "00000000-0000-0000-0000-000000000301",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000296",
+ "id": "00000000-0000-0000-0000-000000000299",
},
"recipients": {
- "id": "00000000-0000-0000-0000-000000000315",
+ "id": "00000000-0000-0000-0000-000000000318",
},
"scheduledAt": {
- "id": "00000000-0000-0000-0000-000000000303",
+ "id": "00000000-0000-0000-0000-000000000306",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000297",
+ "id": "00000000-0000-0000-0000-000000000300",
},
"sentAt": {
- "id": "00000000-0000-0000-0000-000000000304",
+ "id": "00000000-0000-0000-0000-000000000307",
},
"sentCount": {
- "id": "00000000-0000-0000-0000-000000000305",
+ "id": "00000000-0000-0000-0000-000000000308",
},
"skippedCount": {
- "id": "00000000-0000-0000-0000-000000000310",
+ "id": "00000000-0000-0000-0000-000000000313",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000302",
+ "id": "00000000-0000-0000-0000-000000000305",
},
"subject": {
- "id": "00000000-0000-0000-0000-000000000299",
+ "id": "00000000-0000-0000-0000-000000000302",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000313",
+ "id": "00000000-0000-0000-0000-000000000316",
},
"unsubscribeTopicId": {
- "id": "00000000-0000-0000-0000-000000000311",
+ "id": "00000000-0000-0000-0000-000000000314",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000292",
+ "id": "00000000-0000-0000-0000-000000000295",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000295",
+ "id": "00000000-0000-0000-0000-000000000298",
},
},
- "id": "00000000-0000-0000-0000-000000000343",
+ "id": "00000000-0000-0000-0000-000000000346",
"views": {
"allMessageCampaigns": {
- "id": "00000000-0000-0000-0000-000000000331",
+ "id": "00000000-0000-0000-0000-000000000334",
"viewFieldGroups": {},
"viewFields": {
"bouncedCount": {
- "id": "00000000-0000-0000-0000-000000000327",
+ "id": "00000000-0000-0000-0000-000000000330",
},
"complainedCount": {
- "id": "00000000-0000-0000-0000-000000000328",
+ "id": "00000000-0000-0000-0000-000000000331",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000330",
+ "id": "00000000-0000-0000-0000-000000000333",
},
"deliveredCount": {
- "id": "00000000-0000-0000-0000-000000000324",
+ "id": "00000000-0000-0000-0000-000000000327",
},
"failedCount": {
- "id": "00000000-0000-0000-0000-000000000325",
+ "id": "00000000-0000-0000-0000-000000000328",
},
"fromAddress": {
- "id": "00000000-0000-0000-0000-000000000320",
+ "id": "00000000-0000-0000-0000-000000000323",
},
"list": {
- "id": "00000000-0000-0000-0000-000000000319",
+ "id": "00000000-0000-0000-0000-000000000322",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000316",
+ "id": "00000000-0000-0000-0000-000000000319",
},
"recipients": {
- "id": "00000000-0000-0000-0000-000000000329",
+ "id": "00000000-0000-0000-0000-000000000332",
},
"scheduledAt": {
- "id": "00000000-0000-0000-0000-000000000321",
+ "id": "00000000-0000-0000-0000-000000000324",
},
"sentAt": {
- "id": "00000000-0000-0000-0000-000000000322",
+ "id": "00000000-0000-0000-0000-000000000325",
},
"sentCount": {
- "id": "00000000-0000-0000-0000-000000000323",
+ "id": "00000000-0000-0000-0000-000000000326",
},
"skippedCount": {
- "id": "00000000-0000-0000-0000-000000000326",
+ "id": "00000000-0000-0000-0000-000000000329",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000318",
+ "id": "00000000-0000-0000-0000-000000000321",
},
"subject": {
- "id": "00000000-0000-0000-0000-000000000317",
+ "id": "00000000-0000-0000-0000-000000000320",
},
},
"viewGroups": {},
},
"messageCampaignRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000342",
+ "id": "00000000-0000-0000-0000-000000000345",
"viewFieldGroups": {
"stats": {
- "id": "00000000-0000-0000-0000-000000000341",
+ "id": "00000000-0000-0000-0000-000000000344",
},
},
"viewFields": {
"bouncedCount": {
- "id": "00000000-0000-0000-0000-000000000339",
+ "id": "00000000-0000-0000-0000-000000000342",
},
"complainedCount": {
- "id": "00000000-0000-0000-0000-000000000340",
+ "id": "00000000-0000-0000-0000-000000000343",
},
"deliveredCount": {
- "id": "00000000-0000-0000-0000-000000000336",
+ "id": "00000000-0000-0000-0000-000000000339",
},
"failedCount": {
- "id": "00000000-0000-0000-0000-000000000337",
+ "id": "00000000-0000-0000-0000-000000000340",
},
"scheduledAt": {
- "id": "00000000-0000-0000-0000-000000000333",
+ "id": "00000000-0000-0000-0000-000000000336",
},
"sentAt": {
- "id": "00000000-0000-0000-0000-000000000334",
+ "id": "00000000-0000-0000-0000-000000000337",
},
"sentCount": {
- "id": "00000000-0000-0000-0000-000000000335",
+ "id": "00000000-0000-0000-0000-000000000338",
},
"skippedCount": {
- "id": "00000000-0000-0000-0000-000000000338",
+ "id": "00000000-0000-0000-0000-000000000341",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000332",
+ "id": "00000000-0000-0000-0000-000000000335",
},
},
"viewGroups": {},
@@ -1586,103 +1599,103 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"messageChannelMessageAssociation": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000381",
+ "id": "00000000-0000-0000-0000-000000000384",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000384",
+ "id": "00000000-0000-0000-0000-000000000387",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000383",
+ "id": "00000000-0000-0000-0000-000000000386",
},
"direction": {
- "id": "00000000-0000-0000-0000-000000000393",
+ "id": "00000000-0000-0000-0000-000000000396",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000380",
+ "id": "00000000-0000-0000-0000-000000000383",
},
"message": {
- "id": "00000000-0000-0000-0000-000000000389",
+ "id": "00000000-0000-0000-0000-000000000392",
},
"messageChannelId": {
- "id": "00000000-0000-0000-0000-000000000388",
+ "id": "00000000-0000-0000-0000-000000000391",
},
"messageExternalId": {
- "id": "00000000-0000-0000-0000-000000000390",
+ "id": "00000000-0000-0000-0000-000000000393",
},
"messageFolders": {
- "id": "00000000-0000-0000-0000-000000000394",
+ "id": "00000000-0000-0000-0000-000000000397",
},
"messageThread": {
- "id": "00000000-0000-0000-0000-000000000391",
+ "id": "00000000-0000-0000-0000-000000000394",
},
"messageThreadExternalId": {
- "id": "00000000-0000-0000-0000-000000000392",
+ "id": "00000000-0000-0000-0000-000000000395",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000386",
+ "id": "00000000-0000-0000-0000-000000000389",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000387",
+ "id": "00000000-0000-0000-0000-000000000390",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000382",
+ "id": "00000000-0000-0000-0000-000000000385",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000385",
+ "id": "00000000-0000-0000-0000-000000000388",
},
},
- "id": "00000000-0000-0000-0000-000000000410",
+ "id": "00000000-0000-0000-0000-000000000413",
"views": {
"allMessageChannelMessageAssociations": {
- "id": "00000000-0000-0000-0000-000000000400",
+ "id": "00000000-0000-0000-0000-000000000403",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000399",
+ "id": "00000000-0000-0000-0000-000000000402",
},
"direction": {
- "id": "00000000-0000-0000-0000-000000000398",
+ "id": "00000000-0000-0000-0000-000000000401",
},
"message": {
- "id": "00000000-0000-0000-0000-000000000396",
+ "id": "00000000-0000-0000-0000-000000000399",
},
"messageChannelId": {
- "id": "00000000-0000-0000-0000-000000000395",
+ "id": "00000000-0000-0000-0000-000000000398",
},
"messageExternalId": {
- "id": "00000000-0000-0000-0000-000000000397",
+ "id": "00000000-0000-0000-0000-000000000400",
},
},
"viewGroups": {},
},
"messageChannelMessageAssociationRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000409",
+ "id": "00000000-0000-0000-0000-000000000412",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000407",
+ "id": "00000000-0000-0000-0000-000000000410",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000408",
+ "id": "00000000-0000-0000-0000-000000000411",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000405",
+ "id": "00000000-0000-0000-0000-000000000408",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000406",
+ "id": "00000000-0000-0000-0000-000000000409",
},
"direction": {
- "id": "00000000-0000-0000-0000-000000000404",
+ "id": "00000000-0000-0000-0000-000000000407",
},
"message": {
- "id": "00000000-0000-0000-0000-000000000402",
+ "id": "00000000-0000-0000-0000-000000000405",
},
"messageChannelId": {
- "id": "00000000-0000-0000-0000-000000000401",
+ "id": "00000000-0000-0000-0000-000000000404",
},
"messageExternalId": {
- "id": "00000000-0000-0000-0000-000000000403",
+ "id": "00000000-0000-0000-0000-000000000406",
},
},
"viewGroups": {},
@@ -1692,76 +1705,76 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"messageChannelMessageAssociationMessageFolder": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000412",
+ "id": "00000000-0000-0000-0000-000000000415",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000415",
+ "id": "00000000-0000-0000-0000-000000000418",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000414",
+ "id": "00000000-0000-0000-0000-000000000417",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000411",
+ "id": "00000000-0000-0000-0000-000000000414",
},
"messageChannelMessageAssociation": {
- "id": "00000000-0000-0000-0000-000000000419",
+ "id": "00000000-0000-0000-0000-000000000422",
},
"messageFolderId": {
- "id": "00000000-0000-0000-0000-000000000420",
+ "id": "00000000-0000-0000-0000-000000000423",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000417",
+ "id": "00000000-0000-0000-0000-000000000420",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000418",
+ "id": "00000000-0000-0000-0000-000000000421",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000413",
+ "id": "00000000-0000-0000-0000-000000000416",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000416",
+ "id": "00000000-0000-0000-0000-000000000419",
},
},
- "id": "00000000-0000-0000-0000-000000000432",
+ "id": "00000000-0000-0000-0000-000000000435",
"views": {
"allMessageChannelMessageAssociationMessageFolders": {
- "id": "00000000-0000-0000-0000-000000000424",
+ "id": "00000000-0000-0000-0000-000000000427",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000423",
+ "id": "00000000-0000-0000-0000-000000000426",
},
"messageChannelMessageAssociation": {
- "id": "00000000-0000-0000-0000-000000000421",
+ "id": "00000000-0000-0000-0000-000000000424",
},
"messageFolderId": {
- "id": "00000000-0000-0000-0000-000000000422",
+ "id": "00000000-0000-0000-0000-000000000425",
},
},
"viewGroups": {},
},
"messageChannelMessageAssociationMessageFolderRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000431",
+ "id": "00000000-0000-0000-0000-000000000434",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000429",
+ "id": "00000000-0000-0000-0000-000000000432",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000430",
+ "id": "00000000-0000-0000-0000-000000000433",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000427",
+ "id": "00000000-0000-0000-0000-000000000430",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000428",
+ "id": "00000000-0000-0000-0000-000000000431",
},
"messageChannelMessageAssociation": {
- "id": "00000000-0000-0000-0000-000000000425",
+ "id": "00000000-0000-0000-0000-000000000428",
},
"messageFolderId": {
- "id": "00000000-0000-0000-0000-000000000426",
+ "id": "00000000-0000-0000-0000-000000000429",
},
},
"viewGroups": {},
@@ -1771,65 +1784,65 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"messageList": {
"fields": {
"campaigns": {
- "id": "00000000-0000-0000-0000-000000000355",
+ "id": "00000000-0000-0000-0000-000000000358",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000345",
+ "id": "00000000-0000-0000-0000-000000000348",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000348",
+ "id": "00000000-0000-0000-0000-000000000351",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000347",
+ "id": "00000000-0000-0000-0000-000000000350",
},
"description": {
- "id": "00000000-0000-0000-0000-000000000353",
+ "id": "00000000-0000-0000-0000-000000000356",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000344",
+ "id": "00000000-0000-0000-0000-000000000347",
},
"members": {
- "id": "00000000-0000-0000-0000-000000000354",
+ "id": "00000000-0000-0000-0000-000000000357",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000352",
+ "id": "00000000-0000-0000-0000-000000000355",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000350",
+ "id": "00000000-0000-0000-0000-000000000353",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000351",
+ "id": "00000000-0000-0000-0000-000000000354",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000356",
+ "id": "00000000-0000-0000-0000-000000000359",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000346",
+ "id": "00000000-0000-0000-0000-000000000349",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000349",
+ "id": "00000000-0000-0000-0000-000000000352",
},
},
- "id": "00000000-0000-0000-0000-000000000363",
+ "id": "00000000-0000-0000-0000-000000000366",
"views": {
"allMessageLists": {
- "id": "00000000-0000-0000-0000-000000000362",
+ "id": "00000000-0000-0000-0000-000000000365",
"viewFieldGroups": {},
"viewFields": {
"campaigns": {
- "id": "00000000-0000-0000-0000-000000000360",
+ "id": "00000000-0000-0000-0000-000000000363",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000361",
+ "id": "00000000-0000-0000-0000-000000000364",
},
"description": {
- "id": "00000000-0000-0000-0000-000000000358",
+ "id": "00000000-0000-0000-0000-000000000361",
},
"members": {
- "id": "00000000-0000-0000-0000-000000000359",
+ "id": "00000000-0000-0000-0000-000000000362",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000357",
+ "id": "00000000-0000-0000-0000-000000000360",
},
},
"viewGroups": {},
@@ -1839,53 +1852,53 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"messageListMember": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000365",
+ "id": "00000000-0000-0000-0000-000000000368",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000368",
+ "id": "00000000-0000-0000-0000-000000000371",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000367",
+ "id": "00000000-0000-0000-0000-000000000370",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000364",
+ "id": "00000000-0000-0000-0000-000000000367",
},
"list": {
- "id": "00000000-0000-0000-0000-000000000373",
+ "id": "00000000-0000-0000-0000-000000000376",
},
"person": {
- "id": "00000000-0000-0000-0000-000000000372",
+ "id": "00000000-0000-0000-0000-000000000375",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000370",
+ "id": "00000000-0000-0000-0000-000000000373",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000371",
+ "id": "00000000-0000-0000-0000-000000000374",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000366",
+ "id": "00000000-0000-0000-0000-000000000369",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000369",
+ "id": "00000000-0000-0000-0000-000000000372",
},
},
- "id": "00000000-0000-0000-0000-000000000379",
+ "id": "00000000-0000-0000-0000-000000000382",
"views": {
"allMessageListMembers": {
- "id": "00000000-0000-0000-0000-000000000378",
+ "id": "00000000-0000-0000-0000-000000000381",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000377",
+ "id": "00000000-0000-0000-0000-000000000380",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000374",
+ "id": "00000000-0000-0000-0000-000000000377",
},
"list": {
- "id": "00000000-0000-0000-0000-000000000376",
+ "id": "00000000-0000-0000-0000-000000000379",
},
"person": {
- "id": "00000000-0000-0000-0000-000000000375",
+ "id": "00000000-0000-0000-0000-000000000378",
},
},
"viewGroups": {},
@@ -1895,112 +1908,112 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"messageParticipant": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000434",
+ "id": "00000000-0000-0000-0000-000000000437",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000437",
+ "id": "00000000-0000-0000-0000-000000000440",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000436",
+ "id": "00000000-0000-0000-0000-000000000439",
},
"displayName": {
- "id": "00000000-0000-0000-0000-000000000444",
+ "id": "00000000-0000-0000-0000-000000000447",
},
"handle": {
- "id": "00000000-0000-0000-0000-000000000443",
+ "id": "00000000-0000-0000-0000-000000000446",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000433",
+ "id": "00000000-0000-0000-0000-000000000436",
},
"message": {
- "id": "00000000-0000-0000-0000-000000000441",
+ "id": "00000000-0000-0000-0000-000000000444",
},
"messageCampaign": {
- "id": "00000000-0000-0000-0000-000000000447",
+ "id": "00000000-0000-0000-0000-000000000450",
},
"person": {
- "id": "00000000-0000-0000-0000-000000000445",
+ "id": "00000000-0000-0000-0000-000000000448",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000439",
+ "id": "00000000-0000-0000-0000-000000000442",
},
"role": {
- "id": "00000000-0000-0000-0000-000000000442",
+ "id": "00000000-0000-0000-0000-000000000445",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000440",
+ "id": "00000000-0000-0000-0000-000000000443",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000435",
+ "id": "00000000-0000-0000-0000-000000000438",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000438",
+ "id": "00000000-0000-0000-0000-000000000441",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000446",
+ "id": "00000000-0000-0000-0000-000000000449",
},
},
- "id": "00000000-0000-0000-0000-000000000466",
+ "id": "00000000-0000-0000-0000-000000000469",
"views": {
"allMessageParticipants": {
- "id": "00000000-0000-0000-0000-000000000455",
+ "id": "00000000-0000-0000-0000-000000000458",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000454",
+ "id": "00000000-0000-0000-0000-000000000457",
},
"displayName": {
- "id": "00000000-0000-0000-0000-000000000451",
+ "id": "00000000-0000-0000-0000-000000000454",
},
"handle": {
- "id": "00000000-0000-0000-0000-000000000450",
+ "id": "00000000-0000-0000-0000-000000000453",
},
"message": {
- "id": "00000000-0000-0000-0000-000000000448",
+ "id": "00000000-0000-0000-0000-000000000451",
},
"person": {
- "id": "00000000-0000-0000-0000-000000000452",
+ "id": "00000000-0000-0000-0000-000000000455",
},
"role": {
- "id": "00000000-0000-0000-0000-000000000449",
+ "id": "00000000-0000-0000-0000-000000000452",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000453",
+ "id": "00000000-0000-0000-0000-000000000456",
},
},
"viewGroups": {},
},
"messageParticipantRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000465",
+ "id": "00000000-0000-0000-0000-000000000468",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000463",
+ "id": "00000000-0000-0000-0000-000000000466",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000464",
+ "id": "00000000-0000-0000-0000-000000000467",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000461",
+ "id": "00000000-0000-0000-0000-000000000464",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000462",
+ "id": "00000000-0000-0000-0000-000000000465",
},
"displayName": {
- "id": "00000000-0000-0000-0000-000000000458",
+ "id": "00000000-0000-0000-0000-000000000461",
},
"message": {
- "id": "00000000-0000-0000-0000-000000000456",
+ "id": "00000000-0000-0000-0000-000000000459",
},
"person": {
- "id": "00000000-0000-0000-0000-000000000459",
+ "id": "00000000-0000-0000-0000-000000000462",
},
"role": {
- "id": "00000000-0000-0000-0000-000000000457",
+ "id": "00000000-0000-0000-0000-000000000460",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000460",
+ "id": "00000000-0000-0000-0000-000000000463",
},
},
"viewGroups": {},
@@ -2010,92 +2023,92 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"messageSuppression": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000001094",
+ "id": "00000000-0000-0000-0000-000000001097",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000001096",
+ "id": "00000000-0000-0000-0000-000000001099",
},
"emailAddress": {
- "id": "00000000-0000-0000-0000-000000001097",
+ "id": "00000000-0000-0000-0000-000000001100",
},
"id": {
- "id": "00000000-0000-0000-0000-000000001093",
+ "id": "00000000-0000-0000-0000-000000001096",
},
"providerEventId": {
- "id": "00000000-0000-0000-0000-000000001100",
+ "id": "00000000-0000-0000-0000-000000001103",
},
"reason": {
- "id": "00000000-0000-0000-0000-000000001098",
+ "id": "00000000-0000-0000-0000-000000001101",
},
"source": {
- "id": "00000000-0000-0000-0000-000000001099",
+ "id": "00000000-0000-0000-0000-000000001102",
},
"unsubscribeTopicId": {
- "id": "00000000-0000-0000-0000-000000001101",
+ "id": "00000000-0000-0000-0000-000000001104",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000001095",
+ "id": "00000000-0000-0000-0000-000000001098",
},
},
- "id": "00000000-0000-0000-0000-000000001102",
+ "id": "00000000-0000-0000-0000-000000001105",
"views": undefined,
},
"messageThread": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000468",
+ "id": "00000000-0000-0000-0000-000000000471",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000471",
+ "id": "00000000-0000-0000-0000-000000000474",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000470",
+ "id": "00000000-0000-0000-0000-000000000473",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000467",
+ "id": "00000000-0000-0000-0000-000000000470",
},
"messageChannelMessageAssociations": {
- "id": "00000000-0000-0000-0000-000000000476",
+ "id": "00000000-0000-0000-0000-000000000479",
},
"messageThreadTargets": {
- "id": "00000000-0000-0000-0000-000000000478",
+ "id": "00000000-0000-0000-0000-000000000481",
},
"messages": {
- "id": "00000000-0000-0000-0000-000000000475",
+ "id": "00000000-0000-0000-0000-000000000478",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000473",
+ "id": "00000000-0000-0000-0000-000000000476",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000474",
+ "id": "00000000-0000-0000-0000-000000000477",
},
"subject": {
- "id": "00000000-0000-0000-0000-000000000477",
+ "id": "00000000-0000-0000-0000-000000000480",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000469",
+ "id": "00000000-0000-0000-0000-000000000472",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000472",
+ "id": "00000000-0000-0000-0000-000000000475",
},
},
- "id": "00000000-0000-0000-0000-000000000484",
+ "id": "00000000-0000-0000-0000-000000000487",
"views": {
"allMessageThreads": {
- "id": "00000000-0000-0000-0000-000000000483",
+ "id": "00000000-0000-0000-0000-000000000486",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000482",
+ "id": "00000000-0000-0000-0000-000000000485",
},
"messages": {
- "id": "00000000-0000-0000-0000-000000000480",
+ "id": "00000000-0000-0000-0000-000000000483",
},
"subject": {
- "id": "00000000-0000-0000-0000-000000000479",
+ "id": "00000000-0000-0000-0000-000000000482",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000481",
+ "id": "00000000-0000-0000-0000-000000000484",
},
},
"viewGroups": {},
@@ -2105,133 +2118,133 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"messageThreadTarget": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000486",
+ "id": "00000000-0000-0000-0000-000000000489",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000489",
+ "id": "00000000-0000-0000-0000-000000000492",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000488",
+ "id": "00000000-0000-0000-0000-000000000491",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000485",
+ "id": "00000000-0000-0000-0000-000000000488",
},
"isAutomaticallyAssigned": {
- "id": "00000000-0000-0000-0000-000000000494",
+ "id": "00000000-0000-0000-0000-000000000497",
},
"isManuallyAssigned": {
- "id": "00000000-0000-0000-0000-000000000495",
+ "id": "00000000-0000-0000-0000-000000000498",
},
"messageThread": {
- "id": "00000000-0000-0000-0000-000000000493",
+ "id": "00000000-0000-0000-0000-000000000496",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000491",
+ "id": "00000000-0000-0000-0000-000000000494",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000492",
+ "id": "00000000-0000-0000-0000-000000000495",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000497",
+ "id": "00000000-0000-0000-0000-000000000500",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000498",
+ "id": "00000000-0000-0000-0000-000000000501",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000496",
+ "id": "00000000-0000-0000-0000-000000000499",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000487",
+ "id": "00000000-0000-0000-0000-000000000490",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000490",
+ "id": "00000000-0000-0000-0000-000000000493",
},
},
- "id": "00000000-0000-0000-0000-000000000499",
+ "id": "00000000-0000-0000-0000-000000000502",
"views": {},
},
"note": {
"fields": {
"attachments": {
- "id": "00000000-0000-0000-0000-000000000547",
+ "id": "00000000-0000-0000-0000-000000000550",
},
"bodyV2": {
- "id": "00000000-0000-0000-0000-000000000545",
+ "id": "00000000-0000-0000-0000-000000000548",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000537",
+ "id": "00000000-0000-0000-0000-000000000540",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000540",
+ "id": "00000000-0000-0000-0000-000000000543",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000539",
+ "id": "00000000-0000-0000-0000-000000000542",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000536",
+ "id": "00000000-0000-0000-0000-000000000539",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000546",
+ "id": "00000000-0000-0000-0000-000000000549",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000542",
+ "id": "00000000-0000-0000-0000-000000000545",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000543",
+ "id": "00000000-0000-0000-0000-000000000546",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000548",
+ "id": "00000000-0000-0000-0000-000000000551",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000544",
+ "id": "00000000-0000-0000-0000-000000000547",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000538",
+ "id": "00000000-0000-0000-0000-000000000541",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000541",
+ "id": "00000000-0000-0000-0000-000000000544",
},
},
- "id": "00000000-0000-0000-0000-000000000560",
+ "id": "00000000-0000-0000-0000-000000000563",
"views": {
"allNotes": {
- "id": "00000000-0000-0000-0000-000000000554",
+ "id": "00000000-0000-0000-0000-000000000557",
"viewFieldGroups": {},
"viewFields": {
"bodyV2": {
- "id": "00000000-0000-0000-0000-000000000551",
+ "id": "00000000-0000-0000-0000-000000000554",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000553",
+ "id": "00000000-0000-0000-0000-000000000556",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000552",
+ "id": "00000000-0000-0000-0000-000000000555",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000550",
+ "id": "00000000-0000-0000-0000-000000000553",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000549",
+ "id": "00000000-0000-0000-0000-000000000552",
},
},
"viewGroups": {},
},
"noteRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000559",
+ "id": "00000000-0000-0000-0000-000000000562",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000558",
+ "id": "00000000-0000-0000-0000-000000000561",
},
},
"viewFields": {
"attachments": {
- "id": "00000000-0000-0000-0000-000000000556",
+ "id": "00000000-0000-0000-0000-000000000559",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000555",
+ "id": "00000000-0000-0000-0000-000000000558",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000557",
+ "id": "00000000-0000-0000-0000-000000000560",
},
},
"viewGroups": {},
@@ -2241,62 +2254,62 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"noteTarget": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000562",
+ "id": "00000000-0000-0000-0000-000000000565",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000565",
+ "id": "00000000-0000-0000-0000-000000000568",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000564",
+ "id": "00000000-0000-0000-0000-000000000567",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000561",
+ "id": "00000000-0000-0000-0000-000000000564",
},
"note": {
- "id": "00000000-0000-0000-0000-000000000569",
+ "id": "00000000-0000-0000-0000-000000000572",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000567",
+ "id": "00000000-0000-0000-0000-000000000570",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000568",
+ "id": "00000000-0000-0000-0000-000000000571",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000571",
+ "id": "00000000-0000-0000-0000-000000000574",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000572",
+ "id": "00000000-0000-0000-0000-000000000575",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000570",
+ "id": "00000000-0000-0000-0000-000000000573",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000563",
+ "id": "00000000-0000-0000-0000-000000000566",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000566",
+ "id": "00000000-0000-0000-0000-000000000569",
},
},
- "id": "00000000-0000-0000-0000-000000000579",
+ "id": "00000000-0000-0000-0000-000000000582",
"views": {
"allNoteTargets": {
- "id": "00000000-0000-0000-0000-000000000578",
+ "id": "00000000-0000-0000-0000-000000000581",
"viewFieldGroups": {},
"viewFields": {
"id": {
- "id": "00000000-0000-0000-0000-000000000573",
+ "id": "00000000-0000-0000-0000-000000000576",
},
"note": {
- "id": "00000000-0000-0000-0000-000000000574",
+ "id": "00000000-0000-0000-0000-000000000577",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000576",
+ "id": "00000000-0000-0000-0000-000000000579",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000577",
+ "id": "00000000-0000-0000-0000-000000000580",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000575",
+ "id": "00000000-0000-0000-0000-000000000578",
},
},
"viewGroups": {},
@@ -2306,192 +2319,192 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"opportunity": {
"fields": {
"amount": {
- "id": "00000000-0000-0000-0000-000000000589",
+ "id": "00000000-0000-0000-0000-000000000592",
},
"attachments": {
- "id": "00000000-0000-0000-0000-000000000599",
+ "id": "00000000-0000-0000-0000-000000000602",
},
"calendarEventTargets": {
- "id": "00000000-0000-0000-0000-000000000597",
+ "id": "00000000-0000-0000-0000-000000000600",
},
"closeDate": {
- "id": "00000000-0000-0000-0000-000000000590",
+ "id": "00000000-0000-0000-0000-000000000593",
},
"company": {
- "id": "00000000-0000-0000-0000-000000000593",
+ "id": "00000000-0000-0000-0000-000000000596",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000581",
+ "id": "00000000-0000-0000-0000-000000000584",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000584",
+ "id": "00000000-0000-0000-0000-000000000587",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000583",
+ "id": "00000000-0000-0000-0000-000000000586",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000580",
+ "id": "00000000-0000-0000-0000-000000000583",
},
"messageThreadTargets": {
- "id": "00000000-0000-0000-0000-000000000598",
+ "id": "00000000-0000-0000-0000-000000000601",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000588",
+ "id": "00000000-0000-0000-0000-000000000591",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000596",
+ "id": "00000000-0000-0000-0000-000000000599",
},
"owner": {
- "id": "00000000-0000-0000-0000-000000000594",
+ "id": "00000000-0000-0000-0000-000000000597",
},
"pointOfContact": {
- "id": "00000000-0000-0000-0000-000000000592",
+ "id": "00000000-0000-0000-0000-000000000595",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000586",
+ "id": "00000000-0000-0000-0000-000000000589",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000587",
+ "id": "00000000-0000-0000-0000-000000000590",
},
"stage": {
- "id": "00000000-0000-0000-0000-000000000591",
+ "id": "00000000-0000-0000-0000-000000000594",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000595",
+ "id": "00000000-0000-0000-0000-000000000598",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000600",
+ "id": "00000000-0000-0000-0000-000000000603",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000582",
+ "id": "00000000-0000-0000-0000-000000000585",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000585",
+ "id": "00000000-0000-0000-0000-000000000588",
},
},
- "id": "00000000-0000-0000-0000-000000000638",
+ "id": "00000000-0000-0000-0000-000000000641",
"views": {
"allOpportunities": {
- "id": "00000000-0000-0000-0000-000000000607",
+ "id": "00000000-0000-0000-0000-000000000610",
"viewFieldGroups": {},
"viewFields": {
"amount": {
- "id": "00000000-0000-0000-0000-000000000602",
+ "id": "00000000-0000-0000-0000-000000000605",
},
"closeDate": {
- "id": "00000000-0000-0000-0000-000000000604",
+ "id": "00000000-0000-0000-0000-000000000607",
},
"company": {
- "id": "00000000-0000-0000-0000-000000000605",
+ "id": "00000000-0000-0000-0000-000000000608",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000603",
+ "id": "00000000-0000-0000-0000-000000000606",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000601",
+ "id": "00000000-0000-0000-0000-000000000604",
},
"pointOfContact": {
- "id": "00000000-0000-0000-0000-000000000606",
+ "id": "00000000-0000-0000-0000-000000000609",
},
},
"viewGroups": {},
},
"byStage": {
- "id": "00000000-0000-0000-0000-000000000619",
+ "id": "00000000-0000-0000-0000-000000000622",
"viewFieldGroups": {},
"viewFields": {
"amount": {
- "id": "00000000-0000-0000-0000-000000000609",
+ "id": "00000000-0000-0000-0000-000000000612",
},
"closeDate": {
- "id": "00000000-0000-0000-0000-000000000611",
+ "id": "00000000-0000-0000-0000-000000000614",
},
"company": {
- "id": "00000000-0000-0000-0000-000000000612",
+ "id": "00000000-0000-0000-0000-000000000615",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000610",
+ "id": "00000000-0000-0000-0000-000000000613",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000608",
+ "id": "00000000-0000-0000-0000-000000000611",
},
"pointOfContact": {
- "id": "00000000-0000-0000-0000-000000000613",
+ "id": "00000000-0000-0000-0000-000000000616",
},
},
"viewGroups": {
"customer": {
- "id": "00000000-0000-0000-0000-000000000618",
+ "id": "00000000-0000-0000-0000-000000000621",
},
"meeting": {
- "id": "00000000-0000-0000-0000-000000000616",
+ "id": "00000000-0000-0000-0000-000000000619",
},
"new": {
- "id": "00000000-0000-0000-0000-000000000614",
+ "id": "00000000-0000-0000-0000-000000000617",
},
"proposal": {
- "id": "00000000-0000-0000-0000-000000000617",
+ "id": "00000000-0000-0000-0000-000000000620",
},
"screening": {
- "id": "00000000-0000-0000-0000-000000000615",
+ "id": "00000000-0000-0000-0000-000000000618",
},
},
},
"opportunityRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000637",
+ "id": "00000000-0000-0000-0000-000000000640",
"viewFieldGroups": {
"deal": {
- "id": "00000000-0000-0000-0000-000000000634",
+ "id": "00000000-0000-0000-0000-000000000637",
},
"relations": {
- "id": "00000000-0000-0000-0000-000000000635",
+ "id": "00000000-0000-0000-0000-000000000638",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000636",
+ "id": "00000000-0000-0000-0000-000000000639",
},
},
"viewFields": {
"amount": {
- "id": "00000000-0000-0000-0000-000000000620",
+ "id": "00000000-0000-0000-0000-000000000623",
},
"attachments": {
- "id": "00000000-0000-0000-0000-000000000632",
+ "id": "00000000-0000-0000-0000-000000000635",
},
"closeDate": {
- "id": "00000000-0000-0000-0000-000000000621",
+ "id": "00000000-0000-0000-0000-000000000624",
},
"company": {
- "id": "00000000-0000-0000-0000-000000000623",
+ "id": "00000000-0000-0000-0000-000000000626",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000626",
+ "id": "00000000-0000-0000-0000-000000000629",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000627",
+ "id": "00000000-0000-0000-0000-000000000630",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000631",
+ "id": "00000000-0000-0000-0000-000000000634",
},
"owner": {
- "id": "00000000-0000-0000-0000-000000000625",
+ "id": "00000000-0000-0000-0000-000000000628",
},
"pointOfContact": {
- "id": "00000000-0000-0000-0000-000000000624",
+ "id": "00000000-0000-0000-0000-000000000627",
},
"stage": {
- "id": "00000000-0000-0000-0000-000000000622",
+ "id": "00000000-0000-0000-0000-000000000625",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000630",
+ "id": "00000000-0000-0000-0000-000000000633",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000633",
+ "id": "00000000-0000-0000-0000-000000000636",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000628",
+ "id": "00000000-0000-0000-0000-000000000631",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000629",
+ "id": "00000000-0000-0000-0000-000000000632",
},
},
"viewGroups": {},
@@ -2501,203 +2514,203 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"person": {
"fields": {
"attachments": {
- "id": "00000000-0000-0000-0000-000000000660",
+ "id": "00000000-0000-0000-0000-000000000663",
},
"avatarFile": {
- "id": "00000000-0000-0000-0000-000000000653",
+ "id": "00000000-0000-0000-0000-000000000656",
},
"avatarUrl": {
- "id": "00000000-0000-0000-0000-000000000652",
+ "id": "00000000-0000-0000-0000-000000000655",
},
"calendarEventParticipants": {
- "id": "00000000-0000-0000-0000-000000000662",
+ "id": "00000000-0000-0000-0000-000000000665",
},
"calendarEventTargets": {
- "id": "00000000-0000-0000-0000-000000000658",
+ "id": "00000000-0000-0000-0000-000000000661",
},
"company": {
- "id": "00000000-0000-0000-0000-000000000654",
+ "id": "00000000-0000-0000-0000-000000000657",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000640",
+ "id": "00000000-0000-0000-0000-000000000643",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000643",
+ "id": "00000000-0000-0000-0000-000000000646",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000642",
+ "id": "00000000-0000-0000-0000-000000000645",
},
"emails": {
- "id": "00000000-0000-0000-0000-000000000648",
+ "id": "00000000-0000-0000-0000-000000000651",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000639",
+ "id": "00000000-0000-0000-0000-000000000642",
},
"jobTitle": {
- "id": "00000000-0000-0000-0000-000000000650",
+ "id": "00000000-0000-0000-0000-000000000653",
},
"linkedinLink": {
- "id": "00000000-0000-0000-0000-000000000649",
+ "id": "00000000-0000-0000-0000-000000000652",
},
"listMemberships": {
- "id": "00000000-0000-0000-0000-000000000664",
+ "id": "00000000-0000-0000-0000-000000000667",
},
"messageParticipants": {
- "id": "00000000-0000-0000-0000-000000000661",
+ "id": "00000000-0000-0000-0000-000000000664",
},
"messageThreadTargets": {
- "id": "00000000-0000-0000-0000-000000000659",
+ "id": "00000000-0000-0000-0000-000000000662",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000647",
+ "id": "00000000-0000-0000-0000-000000000650",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000657",
+ "id": "00000000-0000-0000-0000-000000000660",
},
"phones": {
- "id": "00000000-0000-0000-0000-000000000651",
+ "id": "00000000-0000-0000-0000-000000000654",
},
"pointOfContactForOpportunities": {
- "id": "00000000-0000-0000-0000-000000000655",
+ "id": "00000000-0000-0000-0000-000000000658",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000645",
+ "id": "00000000-0000-0000-0000-000000000648",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000646",
+ "id": "00000000-0000-0000-0000-000000000649",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000656",
+ "id": "00000000-0000-0000-0000-000000000659",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000663",
+ "id": "00000000-0000-0000-0000-000000000666",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000641",
+ "id": "00000000-0000-0000-0000-000000000644",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000644",
+ "id": "00000000-0000-0000-0000-000000000647",
},
},
- "id": "00000000-0000-0000-0000-000000000701",
+ "id": "00000000-0000-0000-0000-000000000704",
"views": {
"allPeople": {
- "id": "00000000-0000-0000-0000-000000000673",
+ "id": "00000000-0000-0000-0000-000000000676",
"viewFieldGroups": {},
"viewFields": {
"company": {
- "id": "00000000-0000-0000-0000-000000000668",
+ "id": "00000000-0000-0000-0000-000000000671",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000670",
+ "id": "00000000-0000-0000-0000-000000000673",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000667",
+ "id": "00000000-0000-0000-0000-000000000670",
},
"emails": {
- "id": "00000000-0000-0000-0000-000000000666",
+ "id": "00000000-0000-0000-0000-000000000669",
},
"jobTitle": {
- "id": "00000000-0000-0000-0000-000000000671",
+ "id": "00000000-0000-0000-0000-000000000674",
},
"linkedinLink": {
- "id": "00000000-0000-0000-0000-000000000672",
+ "id": "00000000-0000-0000-0000-000000000675",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000665",
+ "id": "00000000-0000-0000-0000-000000000668",
},
"phones": {
- "id": "00000000-0000-0000-0000-000000000669",
+ "id": "00000000-0000-0000-0000-000000000672",
},
},
"viewGroups": {},
},
"messageListRecordPageMembers": {
- "id": "00000000-0000-0000-0000-000000000700",
+ "id": "00000000-0000-0000-0000-000000000703",
"viewFieldGroups": {},
"viewFields": {
"company": {
- "id": "00000000-0000-0000-0000-000000000699",
+ "id": "00000000-0000-0000-0000-000000000702",
},
"emails": {
- "id": "00000000-0000-0000-0000-000000000698",
+ "id": "00000000-0000-0000-0000-000000000701",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000697",
+ "id": "00000000-0000-0000-0000-000000000700",
},
},
"viewGroups": {},
},
"personRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000696",
+ "id": "00000000-0000-0000-0000-000000000699",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000692",
+ "id": "00000000-0000-0000-0000-000000000695",
},
"social": {
- "id": "00000000-0000-0000-0000-000000000694",
+ "id": "00000000-0000-0000-0000-000000000697",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000695",
+ "id": "00000000-0000-0000-0000-000000000698",
},
"work": {
- "id": "00000000-0000-0000-0000-000000000693",
+ "id": "00000000-0000-0000-0000-000000000696",
},
},
"viewFields": {
"attachments": {
- "id": "00000000-0000-0000-0000-000000000688",
+ "id": "00000000-0000-0000-0000-000000000691",
},
"avatarFile": {
- "id": "00000000-0000-0000-0000-000000000684",
+ "id": "00000000-0000-0000-0000-000000000687",
},
"avatarUrl": {
- "id": "00000000-0000-0000-0000-000000000679",
+ "id": "00000000-0000-0000-0000-000000000682",
},
"calendarEventParticipants": {
- "id": "00000000-0000-0000-0000-000000000690",
+ "id": "00000000-0000-0000-0000-000000000693",
},
"company": {
- "id": "00000000-0000-0000-0000-000000000676",
+ "id": "00000000-0000-0000-0000-000000000679",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000680",
+ "id": "00000000-0000-0000-0000-000000000683",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000681",
+ "id": "00000000-0000-0000-0000-000000000684",
},
"emails": {
- "id": "00000000-0000-0000-0000-000000000674",
+ "id": "00000000-0000-0000-0000-000000000677",
},
"jobTitle": {
- "id": "00000000-0000-0000-0000-000000000677",
+ "id": "00000000-0000-0000-0000-000000000680",
},
"linkedinLink": {
- "id": "00000000-0000-0000-0000-000000000678",
+ "id": "00000000-0000-0000-0000-000000000681",
},
"messageParticipants": {
- "id": "00000000-0000-0000-0000-000000000689",
+ "id": "00000000-0000-0000-0000-000000000692",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000687",
+ "id": "00000000-0000-0000-0000-000000000690",
},
"phones": {
- "id": "00000000-0000-0000-0000-000000000675",
+ "id": "00000000-0000-0000-0000-000000000678",
},
"pointOfContactForOpportunities": {
- "id": "00000000-0000-0000-0000-000000000685",
+ "id": "00000000-0000-0000-0000-000000000688",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000686",
+ "id": "00000000-0000-0000-0000-000000000689",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000691",
+ "id": "00000000-0000-0000-0000-000000000694",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000682",
+ "id": "00000000-0000-0000-0000-000000000685",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000683",
+ "id": "00000000-0000-0000-0000-000000000686",
},
},
"viewGroups": {},
@@ -2707,236 +2720,236 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"recordShare": {
"fields": {
"accessLevel": {
- "id": "00000000-0000-0000-0000-000000000714",
+ "id": "00000000-0000-0000-0000-000000000717",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000703",
+ "id": "00000000-0000-0000-0000-000000000706",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000706",
+ "id": "00000000-0000-0000-0000-000000000709",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000705",
+ "id": "00000000-0000-0000-0000-000000000708",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000702",
+ "id": "00000000-0000-0000-0000-000000000705",
},
"objectMetadataId": {
- "id": "00000000-0000-0000-0000-000000000711",
+ "id": "00000000-0000-0000-0000-000000000714",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000708",
+ "id": "00000000-0000-0000-0000-000000000711",
},
"principalId": {
- "id": "00000000-0000-0000-0000-000000000712",
+ "id": "00000000-0000-0000-0000-000000000715",
},
"principalType": {
- "id": "00000000-0000-0000-0000-000000000713",
+ "id": "00000000-0000-0000-0000-000000000716",
},
"recordId": {
- "id": "00000000-0000-0000-0000-000000000710",
+ "id": "00000000-0000-0000-0000-000000000713",
},
"rowCause": {
- "id": "00000000-0000-0000-0000-000000000715",
+ "id": "00000000-0000-0000-0000-000000000718",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000709",
+ "id": "00000000-0000-0000-0000-000000000712",
},
"sourceId": {
- "id": "00000000-0000-0000-0000-000000000716",
+ "id": "00000000-0000-0000-0000-000000000719",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000704",
+ "id": "00000000-0000-0000-0000-000000000707",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000707",
+ "id": "00000000-0000-0000-0000-000000000710",
},
},
- "id": "00000000-0000-0000-0000-000000000717",
+ "id": "00000000-0000-0000-0000-000000000720",
"views": {},
},
"task": {
"fields": {
"assignee": {
- "id": "00000000-0000-0000-0000-000000000732",
+ "id": "00000000-0000-0000-0000-000000000735",
},
"attachments": {
- "id": "00000000-0000-0000-0000-000000000731",
+ "id": "00000000-0000-0000-0000-000000000734",
},
"bodyV2": {
- "id": "00000000-0000-0000-0000-000000000727",
+ "id": "00000000-0000-0000-0000-000000000730",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000719",
+ "id": "00000000-0000-0000-0000-000000000722",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000722",
+ "id": "00000000-0000-0000-0000-000000000725",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000721",
+ "id": "00000000-0000-0000-0000-000000000724",
},
"dueAt": {
- "id": "00000000-0000-0000-0000-000000000728",
+ "id": "00000000-0000-0000-0000-000000000731",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000718",
+ "id": "00000000-0000-0000-0000-000000000721",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000724",
+ "id": "00000000-0000-0000-0000-000000000727",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000725",
+ "id": "00000000-0000-0000-0000-000000000728",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000729",
+ "id": "00000000-0000-0000-0000-000000000732",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000730",
+ "id": "00000000-0000-0000-0000-000000000733",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000733",
+ "id": "00000000-0000-0000-0000-000000000736",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000726",
+ "id": "00000000-0000-0000-0000-000000000729",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000720",
+ "id": "00000000-0000-0000-0000-000000000723",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000723",
+ "id": "00000000-0000-0000-0000-000000000726",
},
},
- "id": "00000000-0000-0000-0000-000000000772",
+ "id": "00000000-0000-0000-0000-000000000775",
"views": {
"allTasks": {
- "id": "00000000-0000-0000-0000-000000000742",
+ "id": "00000000-0000-0000-0000-000000000745",
"viewFieldGroups": {},
"viewFields": {
"assignee": {
- "id": "00000000-0000-0000-0000-000000000739",
+ "id": "00000000-0000-0000-0000-000000000742",
},
"bodyV2": {
- "id": "00000000-0000-0000-0000-000000000740",
+ "id": "00000000-0000-0000-0000-000000000743",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000741",
+ "id": "00000000-0000-0000-0000-000000000744",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000737",
+ "id": "00000000-0000-0000-0000-000000000740",
},
"dueAt": {
- "id": "00000000-0000-0000-0000-000000000738",
+ "id": "00000000-0000-0000-0000-000000000741",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000735",
+ "id": "00000000-0000-0000-0000-000000000738",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000736",
+ "id": "00000000-0000-0000-0000-000000000739",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000734",
+ "id": "00000000-0000-0000-0000-000000000737",
},
},
"viewGroups": {},
},
"assignedToMe": {
- "id": "00000000-0000-0000-0000-000000000754",
+ "id": "00000000-0000-0000-0000-000000000757",
"viewFieldGroups": {},
"viewFields": {
"assignee": {
- "id": "00000000-0000-0000-0000-000000000747",
+ "id": "00000000-0000-0000-0000-000000000750",
},
"bodyV2": {
- "id": "00000000-0000-0000-0000-000000000748",
+ "id": "00000000-0000-0000-0000-000000000751",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000749",
+ "id": "00000000-0000-0000-0000-000000000752",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000745",
+ "id": "00000000-0000-0000-0000-000000000748",
},
"dueAt": {
- "id": "00000000-0000-0000-0000-000000000746",
+ "id": "00000000-0000-0000-0000-000000000749",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000744",
+ "id": "00000000-0000-0000-0000-000000000747",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000743",
+ "id": "00000000-0000-0000-0000-000000000746",
},
},
"viewGroups": {
"done": {
- "id": "00000000-0000-0000-0000-000000000752",
+ "id": "00000000-0000-0000-0000-000000000755",
},
"empty": {
- "id": "00000000-0000-0000-0000-000000000753",
+ "id": "00000000-0000-0000-0000-000000000756",
},
"inProgress": {
- "id": "00000000-0000-0000-0000-000000000751",
+ "id": "00000000-0000-0000-0000-000000000754",
},
"todo": {
- "id": "00000000-0000-0000-0000-000000000750",
+ "id": "00000000-0000-0000-0000-000000000753",
},
},
},
"byStatus": {
- "id": "00000000-0000-0000-0000-000000000763",
+ "id": "00000000-0000-0000-0000-000000000766",
"viewFieldGroups": {},
"viewFields": {
"assignee": {
- "id": "00000000-0000-0000-0000-000000000758",
+ "id": "00000000-0000-0000-0000-000000000761",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000759",
+ "id": "00000000-0000-0000-0000-000000000762",
},
"dueAt": {
- "id": "00000000-0000-0000-0000-000000000757",
+ "id": "00000000-0000-0000-0000-000000000760",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000756",
+ "id": "00000000-0000-0000-0000-000000000759",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000755",
+ "id": "00000000-0000-0000-0000-000000000758",
},
},
"viewGroups": {
"done": {
- "id": "00000000-0000-0000-0000-000000000762",
+ "id": "00000000-0000-0000-0000-000000000765",
},
"inProgress": {
- "id": "00000000-0000-0000-0000-000000000761",
+ "id": "00000000-0000-0000-0000-000000000764",
},
"todo": {
- "id": "00000000-0000-0000-0000-000000000760",
+ "id": "00000000-0000-0000-0000-000000000763",
},
},
},
"taskRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000771",
+ "id": "00000000-0000-0000-0000-000000000774",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000770",
+ "id": "00000000-0000-0000-0000-000000000773",
},
},
"viewFields": {
"assignee": {
- "id": "00000000-0000-0000-0000-000000000766",
+ "id": "00000000-0000-0000-0000-000000000769",
},
"attachments": {
- "id": "00000000-0000-0000-0000-000000000768",
+ "id": "00000000-0000-0000-0000-000000000771",
},
"dueAt": {
- "id": "00000000-0000-0000-0000-000000000764",
+ "id": "00000000-0000-0000-0000-000000000767",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000765",
+ "id": "00000000-0000-0000-0000-000000000768",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000767",
+ "id": "00000000-0000-0000-0000-000000000770",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000769",
+ "id": "00000000-0000-0000-0000-000000000772",
},
},
"viewGroups": {},
@@ -2946,62 +2959,62 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"taskTarget": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000774",
+ "id": "00000000-0000-0000-0000-000000000777",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000777",
+ "id": "00000000-0000-0000-0000-000000000780",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000776",
+ "id": "00000000-0000-0000-0000-000000000779",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000773",
+ "id": "00000000-0000-0000-0000-000000000776",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000779",
+ "id": "00000000-0000-0000-0000-000000000782",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000780",
+ "id": "00000000-0000-0000-0000-000000000783",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000783",
+ "id": "00000000-0000-0000-0000-000000000786",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000784",
+ "id": "00000000-0000-0000-0000-000000000787",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000782",
+ "id": "00000000-0000-0000-0000-000000000785",
},
"task": {
- "id": "00000000-0000-0000-0000-000000000781",
+ "id": "00000000-0000-0000-0000-000000000784",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000775",
+ "id": "00000000-0000-0000-0000-000000000778",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000778",
+ "id": "00000000-0000-0000-0000-000000000781",
},
},
- "id": "00000000-0000-0000-0000-000000000791",
+ "id": "00000000-0000-0000-0000-000000000794",
"views": {
"allTaskTargets": {
- "id": "00000000-0000-0000-0000-000000000790",
+ "id": "00000000-0000-0000-0000-000000000793",
"viewFieldGroups": {},
"viewFields": {
"id": {
- "id": "00000000-0000-0000-0000-000000000785",
+ "id": "00000000-0000-0000-0000-000000000788",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000788",
+ "id": "00000000-0000-0000-0000-000000000791",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000789",
+ "id": "00000000-0000-0000-0000-000000000792",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000787",
+ "id": "00000000-0000-0000-0000-000000000790",
},
"task": {
- "id": "00000000-0000-0000-0000-000000000786",
+ "id": "00000000-0000-0000-0000-000000000789",
},
},
"viewGroups": {},
@@ -3011,128 +3024,128 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"timelineActivity": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000793",
+ "id": "00000000-0000-0000-0000-000000000796",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000796",
+ "id": "00000000-0000-0000-0000-000000000799",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000795",
+ "id": "00000000-0000-0000-0000-000000000798",
},
"happensAt": {
- "id": "00000000-0000-0000-0000-000000000802",
+ "id": "00000000-0000-0000-0000-000000000805",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000792",
+ "id": "00000000-0000-0000-0000-000000000795",
},
"linkedObjectMetadataId": {
- "id": "00000000-0000-0000-0000-000000000818",
+ "id": "00000000-0000-0000-0000-000000000821",
},
"linkedRecordCachedName": {
- "id": "00000000-0000-0000-0000-000000000816",
+ "id": "00000000-0000-0000-0000-000000000819",
},
"linkedRecordId": {
- "id": "00000000-0000-0000-0000-000000000817",
+ "id": "00000000-0000-0000-0000-000000000820",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000798",
+ "id": "00000000-0000-0000-0000-000000000801",
},
"properties": {
- "id": "00000000-0000-0000-0000-000000000803",
+ "id": "00000000-0000-0000-0000-000000000806",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000799",
+ "id": "00000000-0000-0000-0000-000000000802",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000806",
+ "id": "00000000-0000-0000-0000-000000000809",
},
"targetDashboard": {
- "id": "00000000-0000-0000-0000-000000000813",
+ "id": "00000000-0000-0000-0000-000000000816",
},
"targetMessageCampaign": {
- "id": "00000000-0000-0000-0000-000000000815",
+ "id": "00000000-0000-0000-0000-000000000818",
},
"targetMessageList": {
- "id": "00000000-0000-0000-0000-000000000814",
+ "id": "00000000-0000-0000-0000-000000000817",
},
"targetNote": {
- "id": "00000000-0000-0000-0000-000000000809",
+ "id": "00000000-0000-0000-0000-000000000812",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000807",
+ "id": "00000000-0000-0000-0000-000000000810",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000805",
+ "id": "00000000-0000-0000-0000-000000000808",
},
"targetTask": {
- "id": "00000000-0000-0000-0000-000000000808",
+ "id": "00000000-0000-0000-0000-000000000811",
},
"targetWorkflow": {
- "id": "00000000-0000-0000-0000-000000000810",
+ "id": "00000000-0000-0000-0000-000000000813",
},
"targetWorkflowRun": {
- "id": "00000000-0000-0000-0000-000000000812",
+ "id": "00000000-0000-0000-0000-000000000815",
},
"targetWorkflowVersion": {
- "id": "00000000-0000-0000-0000-000000000811",
+ "id": "00000000-0000-0000-0000-000000000814",
},
"timelineActivityTypeId": {
- "id": "00000000-0000-0000-0000-000000000800",
+ "id": "00000000-0000-0000-0000-000000000803",
},
"timelineActivityTypeSnapshot": {
- "id": "00000000-0000-0000-0000-000000000801",
+ "id": "00000000-0000-0000-0000-000000000804",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000794",
+ "id": "00000000-0000-0000-0000-000000000797",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000797",
+ "id": "00000000-0000-0000-0000-000000000800",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000804",
+ "id": "00000000-0000-0000-0000-000000000807",
},
},
- "id": "00000000-0000-0000-0000-000000000832",
+ "id": "00000000-0000-0000-0000-000000000835",
"views": {
"allTimelineActivities": {
- "id": "00000000-0000-0000-0000-000000000831",
+ "id": "00000000-0000-0000-0000-000000000834",
"viewFieldGroups": {},
"viewFields": {
"happensAt": {
- "id": "00000000-0000-0000-0000-000000000820",
+ "id": "00000000-0000-0000-0000-000000000823",
},
"linkedRecordCachedName": {
- "id": "00000000-0000-0000-0000-000000000819",
+ "id": "00000000-0000-0000-0000-000000000822",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000823",
+ "id": "00000000-0000-0000-0000-000000000826",
},
"targetDashboard": {
- "id": "00000000-0000-0000-0000-000000000830",
+ "id": "00000000-0000-0000-0000-000000000833",
},
"targetNote": {
- "id": "00000000-0000-0000-0000-000000000826",
+ "id": "00000000-0000-0000-0000-000000000829",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000824",
+ "id": "00000000-0000-0000-0000-000000000827",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000822",
+ "id": "00000000-0000-0000-0000-000000000825",
},
"targetTask": {
- "id": "00000000-0000-0000-0000-000000000825",
+ "id": "00000000-0000-0000-0000-000000000828",
},
"targetWorkflow": {
- "id": "00000000-0000-0000-0000-000000000827",
+ "id": "00000000-0000-0000-0000-000000000830",
},
"targetWorkflowRun": {
- "id": "00000000-0000-0000-0000-000000000829",
+ "id": "00000000-0000-0000-0000-000000000832",
},
"targetWorkflowVersion": {
- "id": "00000000-0000-0000-0000-000000000828",
+ "id": "00000000-0000-0000-0000-000000000831",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000821",
+ "id": "00000000-0000-0000-0000-000000000824",
},
},
"viewGroups": {},
@@ -3142,80 +3155,80 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"workflow": {
"fields": {
"attachments": {
- "id": "00000000-0000-0000-0000-000000000849",
+ "id": "00000000-0000-0000-0000-000000000852",
},
"automatedTriggers": {
- "id": "00000000-0000-0000-0000-000000000847",
+ "id": "00000000-0000-0000-0000-000000000850",
},
"coreWorkflowId": {
- "id": "00000000-0000-0000-0000-000000000843",
+ "id": "00000000-0000-0000-0000-000000000846",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000834",
+ "id": "00000000-0000-0000-0000-000000000837",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000837",
+ "id": "00000000-0000-0000-0000-000000000840",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000836",
+ "id": "00000000-0000-0000-0000-000000000839",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000833",
+ "id": "00000000-0000-0000-0000-000000000836",
},
"lastPublishedVersionId": {
- "id": "00000000-0000-0000-0000-000000000842",
+ "id": "00000000-0000-0000-0000-000000000845",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000841",
+ "id": "00000000-0000-0000-0000-000000000844",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000839",
+ "id": "00000000-0000-0000-0000-000000000842",
},
"runs": {
- "id": "00000000-0000-0000-0000-000000000846",
+ "id": "00000000-0000-0000-0000-000000000849",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000840",
+ "id": "00000000-0000-0000-0000-000000000843",
},
"statuses": {
- "id": "00000000-0000-0000-0000-000000000844",
+ "id": "00000000-0000-0000-0000-000000000847",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000848",
+ "id": "00000000-0000-0000-0000-000000000851",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000835",
+ "id": "00000000-0000-0000-0000-000000000838",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000838",
+ "id": "00000000-0000-0000-0000-000000000841",
},
"versions": {
- "id": "00000000-0000-0000-0000-000000000845",
+ "id": "00000000-0000-0000-0000-000000000848",
},
},
- "id": "00000000-0000-0000-0000-000000000857",
+ "id": "00000000-0000-0000-0000-000000000860",
"views": {
"allWorkflows": {
- "id": "00000000-0000-0000-0000-000000000856",
+ "id": "00000000-0000-0000-0000-000000000859",
"viewFieldGroups": {},
"viewFields": {
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000853",
+ "id": "00000000-0000-0000-0000-000000000856",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000850",
+ "id": "00000000-0000-0000-0000-000000000853",
},
"runs": {
- "id": "00000000-0000-0000-0000-000000000855",
+ "id": "00000000-0000-0000-0000-000000000858",
},
"statuses": {
- "id": "00000000-0000-0000-0000-000000000851",
+ "id": "00000000-0000-0000-0000-000000000854",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000852",
+ "id": "00000000-0000-0000-0000-000000000855",
},
"versions": {
- "id": "00000000-0000-0000-0000-000000000854",
+ "id": "00000000-0000-0000-0000-000000000857",
},
},
"viewGroups": {},
@@ -3225,79 +3238,79 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"workflowAutomatedTrigger": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000859",
+ "id": "00000000-0000-0000-0000-000000000862",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000862",
+ "id": "00000000-0000-0000-0000-000000000865",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000861",
+ "id": "00000000-0000-0000-0000-000000000864",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000858",
+ "id": "00000000-0000-0000-0000-000000000861",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000864",
+ "id": "00000000-0000-0000-0000-000000000867",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000865",
+ "id": "00000000-0000-0000-0000-000000000868",
},
"settings": {
- "id": "00000000-0000-0000-0000-000000000867",
+ "id": "00000000-0000-0000-0000-000000000870",
},
"type": {
- "id": "00000000-0000-0000-0000-000000000866",
+ "id": "00000000-0000-0000-0000-000000000869",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000860",
+ "id": "00000000-0000-0000-0000-000000000863",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000863",
+ "id": "00000000-0000-0000-0000-000000000866",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000868",
+ "id": "00000000-0000-0000-0000-000000000871",
},
},
- "id": "00000000-0000-0000-0000-000000000880",
+ "id": "00000000-0000-0000-0000-000000000883",
"views": {
"allWorkflowAutomatedTriggers": {
- "id": "00000000-0000-0000-0000-000000000872",
+ "id": "00000000-0000-0000-0000-000000000875",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000871",
+ "id": "00000000-0000-0000-0000-000000000874",
},
"type": {
- "id": "00000000-0000-0000-0000-000000000869",
+ "id": "00000000-0000-0000-0000-000000000872",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000870",
+ "id": "00000000-0000-0000-0000-000000000873",
},
},
"viewGroups": {},
},
"workflowAutomatedTriggerRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000879",
+ "id": "00000000-0000-0000-0000-000000000882",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000877",
+ "id": "00000000-0000-0000-0000-000000000880",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000878",
+ "id": "00000000-0000-0000-0000-000000000881",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000875",
+ "id": "00000000-0000-0000-0000-000000000878",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000876",
+ "id": "00000000-0000-0000-0000-000000000879",
},
"type": {
- "id": "00000000-0000-0000-0000-000000000873",
+ "id": "00000000-0000-0000-0000-000000000876",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000874",
+ "id": "00000000-0000-0000-0000-000000000877",
},
},
"viewGroups": {},
@@ -3307,130 +3320,130 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"workflowRun": {
"fields": {
"coreWorkflowId": {
- "id": "00000000-0000-0000-0000-000000000898",
+ "id": "00000000-0000-0000-0000-000000000901",
},
"coreWorkflowVersionId": {
- "id": "00000000-0000-0000-0000-000000000899",
+ "id": "00000000-0000-0000-0000-000000000902",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000882",
+ "id": "00000000-0000-0000-0000-000000000885",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000885",
+ "id": "00000000-0000-0000-0000-000000000888",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000884",
+ "id": "00000000-0000-0000-0000-000000000887",
},
"endedAt": {
- "id": "00000000-0000-0000-0000-000000000894",
+ "id": "00000000-0000-0000-0000-000000000897",
},
"enqueuedAt": {
- "id": "00000000-0000-0000-0000-000000000892",
+ "id": "00000000-0000-0000-0000-000000000895",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000881",
+ "id": "00000000-0000-0000-0000-000000000884",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000889",
+ "id": "00000000-0000-0000-0000-000000000892",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000887",
+ "id": "00000000-0000-0000-0000-000000000890",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000888",
+ "id": "00000000-0000-0000-0000-000000000891",
},
"startedAt": {
- "id": "00000000-0000-0000-0000-000000000893",
+ "id": "00000000-0000-0000-0000-000000000896",
},
"state": {
- "id": "00000000-0000-0000-0000-000000000896",
+ "id": "00000000-0000-0000-0000-000000000899",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000895",
+ "id": "00000000-0000-0000-0000-000000000898",
},
"stepLogs": {
- "id": "00000000-0000-0000-0000-000000000897",
+ "id": "00000000-0000-0000-0000-000000000900",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000900",
+ "id": "00000000-0000-0000-0000-000000000903",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000883",
+ "id": "00000000-0000-0000-0000-000000000886",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000886",
+ "id": "00000000-0000-0000-0000-000000000889",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000891",
+ "id": "00000000-0000-0000-0000-000000000894",
},
"workflowVersion": {
- "id": "00000000-0000-0000-0000-000000000890",
+ "id": "00000000-0000-0000-0000-000000000893",
},
},
- "id": "00000000-0000-0000-0000-000000000920",
+ "id": "00000000-0000-0000-0000-000000000923",
"views": {
"allWorkflowRuns": {
- "id": "00000000-0000-0000-0000-000000000904",
+ "id": "00000000-0000-0000-0000-000000000907",
"viewFieldGroups": {},
"viewFields": {
"name": {
- "id": "00000000-0000-0000-0000-000000000901",
+ "id": "00000000-0000-0000-0000-000000000904",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000903",
+ "id": "00000000-0000-0000-0000-000000000906",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000902",
+ "id": "00000000-0000-0000-0000-000000000905",
},
},
"viewGroups": {},
},
"workflowRunRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000919",
+ "id": "00000000-0000-0000-0000-000000000922",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000917",
+ "id": "00000000-0000-0000-0000-000000000920",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000918",
+ "id": "00000000-0000-0000-0000-000000000921",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000910",
+ "id": "00000000-0000-0000-0000-000000000913",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000911",
+ "id": "00000000-0000-0000-0000-000000000914",
},
"endedAt": {
- "id": "00000000-0000-0000-0000-000000000909",
+ "id": "00000000-0000-0000-0000-000000000912",
},
"enqueuedAt": {
- "id": "00000000-0000-0000-0000-000000000912",
+ "id": "00000000-0000-0000-0000-000000000915",
},
"startedAt": {
- "id": "00000000-0000-0000-0000-000000000908",
+ "id": "00000000-0000-0000-0000-000000000911",
},
"state": {
- "id": "00000000-0000-0000-0000-000000000913",
+ "id": "00000000-0000-0000-0000-000000000916",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000905",
+ "id": "00000000-0000-0000-0000-000000000908",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000916",
+ "id": "00000000-0000-0000-0000-000000000919",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000914",
+ "id": "00000000-0000-0000-0000-000000000917",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000915",
+ "id": "00000000-0000-0000-0000-000000000918",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000906",
+ "id": "00000000-0000-0000-0000-000000000909",
},
"workflowVersion": {
- "id": "00000000-0000-0000-0000-000000000907",
+ "id": "00000000-0000-0000-0000-000000000910",
},
},
"viewGroups": {},
@@ -3440,118 +3453,118 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"workflowVersion": {
"fields": {
"coreWorkflowVersionId": {
- "id": "00000000-0000-0000-0000-000000000935",
+ "id": "00000000-0000-0000-0000-000000000938",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000922",
+ "id": "00000000-0000-0000-0000-000000000925",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000925",
+ "id": "00000000-0000-0000-0000-000000000928",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000924",
+ "id": "00000000-0000-0000-0000-000000000927",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000921",
+ "id": "00000000-0000-0000-0000-000000000924",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000929",
+ "id": "00000000-0000-0000-0000-000000000932",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000927",
+ "id": "00000000-0000-0000-0000-000000000930",
},
"runs": {
- "id": "00000000-0000-0000-0000-000000000933",
+ "id": "00000000-0000-0000-0000-000000000936",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000928",
+ "id": "00000000-0000-0000-0000-000000000931",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000932",
+ "id": "00000000-0000-0000-0000-000000000935",
},
"steps": {
- "id": "00000000-0000-0000-0000-000000000934",
+ "id": "00000000-0000-0000-0000-000000000937",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000936",
+ "id": "00000000-0000-0000-0000-000000000939",
},
"trigger": {
- "id": "00000000-0000-0000-0000-000000000931",
+ "id": "00000000-0000-0000-0000-000000000934",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000923",
+ "id": "00000000-0000-0000-0000-000000000926",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000926",
+ "id": "00000000-0000-0000-0000-000000000929",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000930",
+ "id": "00000000-0000-0000-0000-000000000933",
},
},
- "id": "00000000-0000-0000-0000-000000000956",
+ "id": "00000000-0000-0000-0000-000000000959",
"views": {
"allWorkflowVersions": {
- "id": "00000000-0000-0000-0000-000000000942",
+ "id": "00000000-0000-0000-0000-000000000945",
"viewFieldGroups": {},
"viewFields": {
"name": {
- "id": "00000000-0000-0000-0000-000000000937",
+ "id": "00000000-0000-0000-0000-000000000940",
},
"runs": {
- "id": "00000000-0000-0000-0000-000000000941",
+ "id": "00000000-0000-0000-0000-000000000944",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000939",
+ "id": "00000000-0000-0000-0000-000000000942",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000940",
+ "id": "00000000-0000-0000-0000-000000000943",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000938",
+ "id": "00000000-0000-0000-0000-000000000941",
},
},
"viewGroups": {},
},
"workflowVersionRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000955",
+ "id": "00000000-0000-0000-0000-000000000958",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000953",
+ "id": "00000000-0000-0000-0000-000000000956",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000954",
+ "id": "00000000-0000-0000-0000-000000000957",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000946",
+ "id": "00000000-0000-0000-0000-000000000949",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000948",
+ "id": "00000000-0000-0000-0000-000000000951",
},
"runs": {
- "id": "00000000-0000-0000-0000-000000000951",
+ "id": "00000000-0000-0000-0000-000000000954",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000943",
+ "id": "00000000-0000-0000-0000-000000000946",
},
"steps": {
- "id": "00000000-0000-0000-0000-000000000947",
+ "id": "00000000-0000-0000-0000-000000000950",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000952",
+ "id": "00000000-0000-0000-0000-000000000955",
},
"trigger": {
- "id": "00000000-0000-0000-0000-000000000945",
+ "id": "00000000-0000-0000-0000-000000000948",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000949",
+ "id": "00000000-0000-0000-0000-000000000952",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000950",
+ "id": "00000000-0000-0000-0000-000000000953",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000944",
+ "id": "00000000-0000-0000-0000-000000000947",
},
},
"viewGroups": {},
@@ -3561,110 +3574,110 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"workspaceMember": {
"fields": {
"accountOwnerForCompanies": {
- "id": "00000000-0000-0000-0000-000000000976",
+ "id": "00000000-0000-0000-0000-000000000979",
},
"assignedTasks": {
- "id": "00000000-0000-0000-0000-000000000974",
+ "id": "00000000-0000-0000-0000-000000000977",
},
"avatarUrl": {
- "id": "00000000-0000-0000-0000-000000000970",
+ "id": "00000000-0000-0000-0000-000000000973",
},
"blocklist": {
- "id": "00000000-0000-0000-0000-000000000978",
+ "id": "00000000-0000-0000-0000-000000000981",
},
"calendarEventParticipants": {
- "id": "00000000-0000-0000-0000-000000000979",
+ "id": "00000000-0000-0000-0000-000000000982",
},
"calendarStartDay": {
- "id": "00000000-0000-0000-0000-000000000984",
+ "id": "00000000-0000-0000-0000-000000000987",
},
"colorScheme": {
- "id": "00000000-0000-0000-0000-000000000966",
+ "id": "00000000-0000-0000-0000-000000000969",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000958",
+ "id": "00000000-0000-0000-0000-000000000961",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000961",
+ "id": "00000000-0000-0000-0000-000000000964",
},
"dateFormat": {
- "id": "00000000-0000-0000-0000-000000000982",
+ "id": "00000000-0000-0000-0000-000000000985",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000960",
+ "id": "00000000-0000-0000-0000-000000000963",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000957",
+ "id": "00000000-0000-0000-0000-000000000960",
},
"jobTitle": {
- "id": "00000000-0000-0000-0000-000000000972",
+ "id": "00000000-0000-0000-0000-000000000975",
},
"locale": {
- "id": "00000000-0000-0000-0000-000000000969",
+ "id": "00000000-0000-0000-0000-000000000972",
},
"messageParticipants": {
- "id": "00000000-0000-0000-0000-000000000977",
+ "id": "00000000-0000-0000-0000-000000000980",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000965",
+ "id": "00000000-0000-0000-0000-000000000968",
},
"numberFormat": {
- "id": "00000000-0000-0000-0000-000000000985",
+ "id": "00000000-0000-0000-0000-000000000988",
},
"openRecordIn": {
- "id": "00000000-0000-0000-0000-000000000968",
+ "id": "00000000-0000-0000-0000-000000000971",
},
"ownedOpportunities": {
- "id": "00000000-0000-0000-0000-000000000975",
+ "id": "00000000-0000-0000-0000-000000000978",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000963",
+ "id": "00000000-0000-0000-0000-000000000966",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000964",
+ "id": "00000000-0000-0000-0000-000000000967",
},
"timeFormat": {
- "id": "00000000-0000-0000-0000-000000000983",
+ "id": "00000000-0000-0000-0000-000000000986",
},
"timeZone": {
- "id": "00000000-0000-0000-0000-000000000981",
+ "id": "00000000-0000-0000-0000-000000000984",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000980",
+ "id": "00000000-0000-0000-0000-000000000983",
},
"uiScale": {
- "id": "00000000-0000-0000-0000-000000000967",
+ "id": "00000000-0000-0000-0000-000000000970",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000959",
+ "id": "00000000-0000-0000-0000-000000000962",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000962",
+ "id": "00000000-0000-0000-0000-000000000965",
},
"userEmail": {
- "id": "00000000-0000-0000-0000-000000000971",
+ "id": "00000000-0000-0000-0000-000000000974",
},
"userId": {
- "id": "00000000-0000-0000-0000-000000000973",
+ "id": "00000000-0000-0000-0000-000000000976",
},
},
- "id": "00000000-0000-0000-0000-000000000991",
+ "id": "00000000-0000-0000-0000-000000000994",
"views": {
"allWorkspaceMembers": {
- "id": "00000000-0000-0000-0000-000000000990",
+ "id": "00000000-0000-0000-0000-000000000993",
"viewFieldGroups": {},
"viewFields": {
"assignedTasks": {
- "id": "00000000-0000-0000-0000-000000000989",
+ "id": "00000000-0000-0000-0000-000000000992",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000987",
+ "id": "00000000-0000-0000-0000-000000000990",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000986",
+ "id": "00000000-0000-0000-0000-000000000989",
},
"ownedOpportunities": {
- "id": "00000000-0000-0000-0000-000000000988",
+ "id": "00000000-0000-0000-0000-000000000991",
},
},
"viewGroups": {},
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-page-layout-metadata-related-entity-ids.util.spec.ts.snap b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-page-layout-metadata-related-entity-ids.util.spec.ts.snap
index 6d4c2ec9603..c915086943e 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-page-layout-metadata-related-entity-ids.util.spec.ts.snap
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-page-layout-metadata-related-entity-ids.util.spec.ts.snap
@@ -2,348 +2,367 @@
exports[`getStandardPageLayoutMetadataRelatedEntityIds should return standard page layout metadata related entity ids 1`] = `
{
- "blocklistRecordPage": {
+ "attachmentRecordPage": {
"id": "00000000-0000-0000-0000-000000000011",
"tabs": {
"home": {
"id": "00000000-0000-0000-0000-000000000012",
"widgets": {
+ "attachedTo": {
+ "id": "00000000-0000-0000-0000-000000000015",
+ },
"fields": {
+ "id": "00000000-0000-0000-0000-000000000014",
+ },
+ "preview": {
"id": "00000000-0000-0000-0000-000000000013",
},
},
},
+ },
+ },
+ "blocklistRecordPage": {
+ "id": "00000000-0000-0000-0000-000000000016",
+ "tabs": {
+ "home": {
+ "id": "00000000-0000-0000-0000-000000000017",
+ "widgets": {
+ "fields": {
+ "id": "00000000-0000-0000-0000-000000000018",
+ },
+ },
+ },
"timeline": {
- "id": "00000000-0000-0000-0000-000000000014",
+ "id": "00000000-0000-0000-0000-000000000019",
"widgets": {
"timeline": {
- "id": "00000000-0000-0000-0000-000000000015",
+ "id": "00000000-0000-0000-0000-000000000020",
},
},
},
},
},
"calendarChannelEventAssociationRecordPage": {
- "id": "00000000-0000-0000-0000-000000000016",
+ "id": "00000000-0000-0000-0000-000000000021",
"tabs": {
"home": {
- "id": "00000000-0000-0000-0000-000000000017",
+ "id": "00000000-0000-0000-0000-000000000022",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000018",
+ "id": "00000000-0000-0000-0000-000000000023",
},
},
},
"timeline": {
- "id": "00000000-0000-0000-0000-000000000019",
+ "id": "00000000-0000-0000-0000-000000000024",
"widgets": {
"timeline": {
- "id": "00000000-0000-0000-0000-000000000020",
+ "id": "00000000-0000-0000-0000-000000000025",
},
},
},
},
},
"calendarEventParticipantRecordPage": {
- "id": "00000000-0000-0000-0000-000000000032",
+ "id": "00000000-0000-0000-0000-000000000037",
"tabs": {
"home": {
- "id": "00000000-0000-0000-0000-000000000033",
+ "id": "00000000-0000-0000-0000-000000000038",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000034",
+ "id": "00000000-0000-0000-0000-000000000039",
},
},
},
"timeline": {
- "id": "00000000-0000-0000-0000-000000000035",
+ "id": "00000000-0000-0000-0000-000000000040",
"widgets": {
"timeline": {
- "id": "00000000-0000-0000-0000-000000000036",
+ "id": "00000000-0000-0000-0000-000000000041",
},
},
},
},
},
"calendarEventRecordPage": {
- "id": "00000000-0000-0000-0000-000000000021",
+ "id": "00000000-0000-0000-0000-000000000026",
"tabs": {
"callRecording": {
- "id": "00000000-0000-0000-0000-000000000030",
+ "id": "00000000-0000-0000-0000-000000000035",
"widgets": {
"transcript": {
- "id": "00000000-0000-0000-0000-000000000031",
+ "id": "00000000-0000-0000-0000-000000000036",
},
},
},
"home": {
- "id": "00000000-0000-0000-0000-000000000022",
+ "id": "00000000-0000-0000-0000-000000000027",
"widgets": {
"callRecordings": {
- "id": "00000000-0000-0000-0000-000000000025",
+ "id": "00000000-0000-0000-0000-000000000030",
},
"fields": {
- "id": "00000000-0000-0000-0000-000000000023",
+ "id": "00000000-0000-0000-0000-000000000028",
},
"participants": {
- "id": "00000000-0000-0000-0000-000000000024",
+ "id": "00000000-0000-0000-0000-000000000029",
},
},
},
"summary": {
- "id": "00000000-0000-0000-0000-000000000028",
+ "id": "00000000-0000-0000-0000-000000000033",
"widgets": {
"summary": {
- "id": "00000000-0000-0000-0000-000000000029",
+ "id": "00000000-0000-0000-0000-000000000034",
},
},
},
"timeline": {
- "id": "00000000-0000-0000-0000-000000000026",
+ "id": "00000000-0000-0000-0000-000000000031",
"widgets": {
"timeline": {
- "id": "00000000-0000-0000-0000-000000000027",
+ "id": "00000000-0000-0000-0000-000000000032",
},
},
},
},
},
"callRecordingRecordPage": {
- "id": "00000000-0000-0000-0000-000000000037",
+ "id": "00000000-0000-0000-0000-000000000042",
"tabs": {
"callRecording": {
- "id": "00000000-0000-0000-0000-000000000044",
+ "id": "00000000-0000-0000-0000-000000000049",
"widgets": {
"transcript": {
- "id": "00000000-0000-0000-0000-000000000045",
+ "id": "00000000-0000-0000-0000-000000000050",
},
},
},
"home": {
- "id": "00000000-0000-0000-0000-000000000038",
+ "id": "00000000-0000-0000-0000-000000000043",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000039",
+ "id": "00000000-0000-0000-0000-000000000044",
},
},
},
"summary": {
- "id": "00000000-0000-0000-0000-000000000042",
+ "id": "00000000-0000-0000-0000-000000000047",
"widgets": {
"summary": {
- "id": "00000000-0000-0000-0000-000000000043",
+ "id": "00000000-0000-0000-0000-000000000048",
},
},
},
"timeline": {
- "id": "00000000-0000-0000-0000-000000000040",
+ "id": "00000000-0000-0000-0000-000000000045",
"widgets": {
"timeline": {
- "id": "00000000-0000-0000-0000-000000000041",
+ "id": "00000000-0000-0000-0000-000000000046",
},
},
},
},
},
"companyRecordPage": {
- "id": "00000000-0000-0000-0000-000000000046",
+ "id": "00000000-0000-0000-0000-000000000051",
"tabs": {
"calendar": {
- "id": "00000000-0000-0000-0000-000000000061",
+ "id": "00000000-0000-0000-0000-000000000066",
"widgets": {
"calendar": {
- "id": "00000000-0000-0000-0000-000000000062",
+ "id": "00000000-0000-0000-0000-000000000067",
},
},
},
"emails": {
- "id": "00000000-0000-0000-0000-000000000059",
+ "id": "00000000-0000-0000-0000-000000000064",
"widgets": {
"emails": {
- "id": "00000000-0000-0000-0000-000000000060",
+ "id": "00000000-0000-0000-0000-000000000065",
},
},
},
"files": {
- "id": "00000000-0000-0000-0000-000000000057",
+ "id": "00000000-0000-0000-0000-000000000062",
"widgets": {
"files": {
- "id": "00000000-0000-0000-0000-000000000058",
+ "id": "00000000-0000-0000-0000-000000000063",
},
},
},
"home": {
- "id": "00000000-0000-0000-0000-000000000047",
+ "id": "00000000-0000-0000-0000-000000000052",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000048",
+ "id": "00000000-0000-0000-0000-000000000053",
},
"opportunities": {
- "id": "00000000-0000-0000-0000-000000000050",
+ "id": "00000000-0000-0000-0000-000000000055",
},
"people": {
- "id": "00000000-0000-0000-0000-000000000049",
+ "id": "00000000-0000-0000-0000-000000000054",
},
},
},
"notes": {
- "id": "00000000-0000-0000-0000-000000000055",
+ "id": "00000000-0000-0000-0000-000000000060",
"widgets": {
"notes": {
- "id": "00000000-0000-0000-0000-000000000056",
+ "id": "00000000-0000-0000-0000-000000000061",
},
},
},
"tasks": {
- "id": "00000000-0000-0000-0000-000000000053",
+ "id": "00000000-0000-0000-0000-000000000058",
"widgets": {
"tasks": {
- "id": "00000000-0000-0000-0000-000000000054",
+ "id": "00000000-0000-0000-0000-000000000059",
},
},
},
"timeline": {
- "id": "00000000-0000-0000-0000-000000000051",
+ "id": "00000000-0000-0000-0000-000000000056",
"widgets": {
"timeline": {
- "id": "00000000-0000-0000-0000-000000000052",
+ "id": "00000000-0000-0000-0000-000000000057",
},
},
},
},
},
"messageCampaignRecordPage": {
- "id": "00000000-0000-0000-0000-000000000066",
+ "id": "00000000-0000-0000-0000-000000000071",
"tabs": {
"composer": {
- "id": "00000000-0000-0000-0000-000000000070",
+ "id": "00000000-0000-0000-0000-000000000075",
"widgets": {
"messageCampaign": {
- "id": "00000000-0000-0000-0000-000000000071",
+ "id": "00000000-0000-0000-0000-000000000076",
},
},
},
"home": {
- "id": "00000000-0000-0000-0000-000000000067",
+ "id": "00000000-0000-0000-0000-000000000072",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000069",
+ "id": "00000000-0000-0000-0000-000000000074",
},
"recipients": {
- "id": "00000000-0000-0000-0000-000000000068",
+ "id": "00000000-0000-0000-0000-000000000073",
},
},
},
},
},
"messageChannelMessageAssociationMessageFolderRecordPage": {
- "id": "00000000-0000-0000-0000-000000000077",
+ "id": "00000000-0000-0000-0000-000000000082",
"tabs": {
"home": {
- "id": "00000000-0000-0000-0000-000000000078",
+ "id": "00000000-0000-0000-0000-000000000083",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000079",
+ "id": "00000000-0000-0000-0000-000000000084",
},
},
},
"timeline": {
- "id": "00000000-0000-0000-0000-000000000080",
+ "id": "00000000-0000-0000-0000-000000000085",
"widgets": {
"timeline": {
- "id": "00000000-0000-0000-0000-000000000081",
+ "id": "00000000-0000-0000-0000-000000000086",
},
},
},
},
},
"messageChannelMessageAssociationRecordPage": {
- "id": "00000000-0000-0000-0000-000000000072",
+ "id": "00000000-0000-0000-0000-000000000077",
"tabs": {
"home": {
- "id": "00000000-0000-0000-0000-000000000073",
+ "id": "00000000-0000-0000-0000-000000000078",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000074",
+ "id": "00000000-0000-0000-0000-000000000079",
},
},
},
"timeline": {
- "id": "00000000-0000-0000-0000-000000000075",
+ "id": "00000000-0000-0000-0000-000000000080",
"widgets": {
"timeline": {
- "id": "00000000-0000-0000-0000-000000000076",
+ "id": "00000000-0000-0000-0000-000000000081",
},
},
},
},
},
"messageListRecordPage": {
- "id": "00000000-0000-0000-0000-000000000087",
+ "id": "00000000-0000-0000-0000-000000000092",
"tabs": {
"home": {
- "id": "00000000-0000-0000-0000-000000000088",
+ "id": "00000000-0000-0000-0000-000000000093",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000089",
+ "id": "00000000-0000-0000-0000-000000000094",
},
"members": {
- "id": "00000000-0000-0000-0000-000000000090",
+ "id": "00000000-0000-0000-0000-000000000095",
},
},
},
"members": {
- "id": "00000000-0000-0000-0000-000000000091",
+ "id": "00000000-0000-0000-0000-000000000096",
"widgets": {
"members": {
- "id": "00000000-0000-0000-0000-000000000092",
+ "id": "00000000-0000-0000-0000-000000000097",
},
},
},
},
},
"messageParticipantRecordPage": {
- "id": "00000000-0000-0000-0000-000000000082",
+ "id": "00000000-0000-0000-0000-000000000087",
"tabs": {
"home": {
- "id": "00000000-0000-0000-0000-000000000083",
+ "id": "00000000-0000-0000-0000-000000000088",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000084",
+ "id": "00000000-0000-0000-0000-000000000089",
},
},
},
"timeline": {
- "id": "00000000-0000-0000-0000-000000000085",
+ "id": "00000000-0000-0000-0000-000000000090",
"widgets": {
"timeline": {
- "id": "00000000-0000-0000-0000-000000000086",
+ "id": "00000000-0000-0000-0000-000000000091",
},
},
},
},
},
"messageRecordPage": {
- "id": "00000000-0000-0000-0000-000000000063",
+ "id": "00000000-0000-0000-0000-000000000068",
"tabs": {
"home": {
- "id": "00000000-0000-0000-0000-000000000064",
+ "id": "00000000-0000-0000-0000-000000000069",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000065",
+ "id": "00000000-0000-0000-0000-000000000070",
},
},
},
},
},
"messageThreadRecordPage": {
- "id": "00000000-0000-0000-0000-000000000093",
+ "id": "00000000-0000-0000-0000-000000000098",
"tabs": {
"home": {
- "id": "00000000-0000-0000-0000-000000000094",
+ "id": "00000000-0000-0000-0000-000000000099",
"widgets": {
"emailThread": {
- "id": "00000000-0000-0000-0000-000000000095",
+ "id": "00000000-0000-0000-0000-000000000100",
},
},
},
@@ -384,270 +403,270 @@ exports[`getStandardPageLayoutMetadataRelatedEntityIds should return standard pa
},
},
"noteRecordPage": {
- "id": "00000000-0000-0000-0000-000000000096",
+ "id": "00000000-0000-0000-0000-000000000101",
"tabs": {
"home": {
- "id": "00000000-0000-0000-0000-000000000097",
+ "id": "00000000-0000-0000-0000-000000000102",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000098",
+ "id": "00000000-0000-0000-0000-000000000103",
},
"noteRichText": {
- "id": "00000000-0000-0000-0000-000000000099",
+ "id": "00000000-0000-0000-0000-000000000104",
},
},
},
"note": {
- "id": "00000000-0000-0000-0000-000000000100",
+ "id": "00000000-0000-0000-0000-000000000105",
"widgets": {
"noteRichText": {
- "id": "00000000-0000-0000-0000-000000000101",
+ "id": "00000000-0000-0000-0000-000000000106",
},
},
},
},
},
"opportunityRecordPage": {
- "id": "00000000-0000-0000-0000-000000000102",
+ "id": "00000000-0000-0000-0000-000000000107",
"tabs": {
"calendar": {
- "id": "00000000-0000-0000-0000-000000000118",
+ "id": "00000000-0000-0000-0000-000000000123",
"widgets": {
"calendar": {
- "id": "00000000-0000-0000-0000-000000000119",
+ "id": "00000000-0000-0000-0000-000000000124",
},
},
},
"emails": {
- "id": "00000000-0000-0000-0000-000000000116",
+ "id": "00000000-0000-0000-0000-000000000121",
"widgets": {
"emails": {
- "id": "00000000-0000-0000-0000-000000000117",
+ "id": "00000000-0000-0000-0000-000000000122",
},
},
},
"files": {
- "id": "00000000-0000-0000-0000-000000000114",
+ "id": "00000000-0000-0000-0000-000000000119",
"widgets": {
"files": {
- "id": "00000000-0000-0000-0000-000000000115",
+ "id": "00000000-0000-0000-0000-000000000120",
},
},
},
"home": {
- "id": "00000000-0000-0000-0000-000000000103",
+ "id": "00000000-0000-0000-0000-000000000108",
"widgets": {
"company": {
- "id": "00000000-0000-0000-0000-000000000106",
+ "id": "00000000-0000-0000-0000-000000000111",
},
"fields": {
- "id": "00000000-0000-0000-0000-000000000104",
+ "id": "00000000-0000-0000-0000-000000000109",
},
"owner": {
- "id": "00000000-0000-0000-0000-000000000107",
+ "id": "00000000-0000-0000-0000-000000000112",
},
"pointOfContact": {
- "id": "00000000-0000-0000-0000-000000000105",
+ "id": "00000000-0000-0000-0000-000000000110",
},
},
},
"notes": {
- "id": "00000000-0000-0000-0000-000000000112",
+ "id": "00000000-0000-0000-0000-000000000117",
"widgets": {
"notes": {
- "id": "00000000-0000-0000-0000-000000000113",
+ "id": "00000000-0000-0000-0000-000000000118",
},
},
},
"tasks": {
- "id": "00000000-0000-0000-0000-000000000110",
+ "id": "00000000-0000-0000-0000-000000000115",
"widgets": {
"tasks": {
- "id": "00000000-0000-0000-0000-000000000111",
+ "id": "00000000-0000-0000-0000-000000000116",
},
},
},
"timeline": {
- "id": "00000000-0000-0000-0000-000000000108",
+ "id": "00000000-0000-0000-0000-000000000113",
"widgets": {
"timeline": {
- "id": "00000000-0000-0000-0000-000000000109",
+ "id": "00000000-0000-0000-0000-000000000114",
},
},
},
},
},
"personRecordPage": {
- "id": "00000000-0000-0000-0000-000000000120",
+ "id": "00000000-0000-0000-0000-000000000125",
"tabs": {
"calendar": {
- "id": "00000000-0000-0000-0000-000000000136",
+ "id": "00000000-0000-0000-0000-000000000141",
"widgets": {
"calendar": {
- "id": "00000000-0000-0000-0000-000000000137",
+ "id": "00000000-0000-0000-0000-000000000142",
},
},
},
"emails": {
- "id": "00000000-0000-0000-0000-000000000134",
+ "id": "00000000-0000-0000-0000-000000000139",
"widgets": {
"emails": {
- "id": "00000000-0000-0000-0000-000000000135",
+ "id": "00000000-0000-0000-0000-000000000140",
},
},
},
"files": {
- "id": "00000000-0000-0000-0000-000000000132",
+ "id": "00000000-0000-0000-0000-000000000137",
"widgets": {
"files": {
- "id": "00000000-0000-0000-0000-000000000133",
+ "id": "00000000-0000-0000-0000-000000000138",
},
},
},
"home": {
- "id": "00000000-0000-0000-0000-000000000121",
+ "id": "00000000-0000-0000-0000-000000000126",
"widgets": {
"company": {
- "id": "00000000-0000-0000-0000-000000000123",
+ "id": "00000000-0000-0000-0000-000000000128",
},
"fields": {
- "id": "00000000-0000-0000-0000-000000000122",
+ "id": "00000000-0000-0000-0000-000000000127",
},
"listMemberships": {
- "id": "00000000-0000-0000-0000-000000000125",
+ "id": "00000000-0000-0000-0000-000000000130",
},
"pointOfContactForOpportunities": {
- "id": "00000000-0000-0000-0000-000000000124",
+ "id": "00000000-0000-0000-0000-000000000129",
},
},
},
"notes": {
- "id": "00000000-0000-0000-0000-000000000130",
+ "id": "00000000-0000-0000-0000-000000000135",
"widgets": {
"notes": {
- "id": "00000000-0000-0000-0000-000000000131",
+ "id": "00000000-0000-0000-0000-000000000136",
},
},
},
"tasks": {
- "id": "00000000-0000-0000-0000-000000000128",
+ "id": "00000000-0000-0000-0000-000000000133",
"widgets": {
"tasks": {
- "id": "00000000-0000-0000-0000-000000000129",
+ "id": "00000000-0000-0000-0000-000000000134",
},
},
},
"timeline": {
- "id": "00000000-0000-0000-0000-000000000126",
+ "id": "00000000-0000-0000-0000-000000000131",
"widgets": {
"timeline": {
- "id": "00000000-0000-0000-0000-000000000127",
+ "id": "00000000-0000-0000-0000-000000000132",
},
},
},
},
},
"taskRecordPage": {
- "id": "00000000-0000-0000-0000-000000000138",
+ "id": "00000000-0000-0000-0000-000000000143",
"tabs": {
"home": {
- "id": "00000000-0000-0000-0000-000000000139",
+ "id": "00000000-0000-0000-0000-000000000144",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000140",
+ "id": "00000000-0000-0000-0000-000000000145",
},
"taskRichText": {
- "id": "00000000-0000-0000-0000-000000000141",
+ "id": "00000000-0000-0000-0000-000000000146",
},
},
},
"note": {
- "id": "00000000-0000-0000-0000-000000000142",
+ "id": "00000000-0000-0000-0000-000000000147",
"widgets": {
"taskRichText": {
- "id": "00000000-0000-0000-0000-000000000143",
+ "id": "00000000-0000-0000-0000-000000000148",
},
},
},
},
},
"workflowAutomatedTriggerRecordPage": {
- "id": "00000000-0000-0000-0000-000000000147",
+ "id": "00000000-0000-0000-0000-000000000152",
"tabs": {
"home": {
- "id": "00000000-0000-0000-0000-000000000148",
+ "id": "00000000-0000-0000-0000-000000000153",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000149",
+ "id": "00000000-0000-0000-0000-000000000154",
},
},
},
"timeline": {
- "id": "00000000-0000-0000-0000-000000000150",
+ "id": "00000000-0000-0000-0000-000000000155",
"widgets": {
"timeline": {
- "id": "00000000-0000-0000-0000-000000000151",
+ "id": "00000000-0000-0000-0000-000000000156",
},
},
},
},
},
"workflowRecordPage": {
- "id": "00000000-0000-0000-0000-000000000144",
+ "id": "00000000-0000-0000-0000-000000000149",
"tabs": {
"flow": {
- "id": "00000000-0000-0000-0000-000000000145",
+ "id": "00000000-0000-0000-0000-000000000150",
"widgets": {
"workflow": {
- "id": "00000000-0000-0000-0000-000000000146",
+ "id": "00000000-0000-0000-0000-000000000151",
},
},
},
},
},
"workflowRunRecordPage": {
- "id": "00000000-0000-0000-0000-000000000158",
+ "id": "00000000-0000-0000-0000-000000000163",
"tabs": {
"flow": {
- "id": "00000000-0000-0000-0000-000000000162",
+ "id": "00000000-0000-0000-0000-000000000167",
"widgets": {
"workflowRun": {
- "id": "00000000-0000-0000-0000-000000000163",
+ "id": "00000000-0000-0000-0000-000000000168",
},
},
},
"home": {
- "id": "00000000-0000-0000-0000-000000000159",
+ "id": "00000000-0000-0000-0000-000000000164",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000160",
+ "id": "00000000-0000-0000-0000-000000000165",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000161",
+ "id": "00000000-0000-0000-0000-000000000166",
},
},
},
},
},
"workflowVersionRecordPage": {
- "id": "00000000-0000-0000-0000-000000000152",
+ "id": "00000000-0000-0000-0000-000000000157",
"tabs": {
"flow": {
- "id": "00000000-0000-0000-0000-000000000156",
+ "id": "00000000-0000-0000-0000-000000000161",
"widgets": {
"workflowVersion": {
- "id": "00000000-0000-0000-0000-000000000157",
+ "id": "00000000-0000-0000-0000-000000000162",
},
},
},
"home": {
- "id": "00000000-0000-0000-0000-000000000153",
+ "id": "00000000-0000-0000-0000-000000000158",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000154",
+ "id": "00000000-0000-0000-0000-000000000159",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000155",
+ "id": "00000000-0000-0000-0000-000000000160",
},
},
},
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-attachment-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-attachment-standard-flat-field-metadata.util.ts
index aa42a05b5d6..7f7b9a6b266 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-attachment-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-attachment-standard-flat-field-metadata.util.ts
@@ -427,7 +427,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
morphId: STANDARD_OBJECTS.attachment.morphIds.targetMorphId.morphId,
fieldName: 'targetTask',
label: i18nLabel(
- msg({ message: `Task`, context: 'fieldMetadata.label' }),
+ msg({ message: `Attached to`, context: 'fieldMetadata.label' }),
),
description: i18nLabel(
msg({
@@ -460,7 +460,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
morphId: STANDARD_OBJECTS.attachment.morphIds.targetMorphId.morphId,
fieldName: 'targetNote',
label: i18nLabel(
- msg({ message: `Note`, context: 'fieldMetadata.label' }),
+ msg({ message: `Attached to`, context: 'fieldMetadata.label' }),
),
description: i18nLabel(
msg({
@@ -493,7 +493,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
morphId: STANDARD_OBJECTS.attachment.morphIds.targetMorphId.morphId,
fieldName: 'targetPerson',
label: i18nLabel(
- msg({ message: `Person`, context: 'fieldMetadata.label' }),
+ msg({ message: `Attached to`, context: 'fieldMetadata.label' }),
),
description: i18nLabel(
msg({
@@ -526,7 +526,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
morphId: STANDARD_OBJECTS.attachment.morphIds.targetMorphId.morphId,
fieldName: 'targetCompany',
label: i18nLabel(
- msg({ message: `Company`, context: 'fieldMetadata.label' }),
+ msg({ message: `Attached to`, context: 'fieldMetadata.label' }),
),
description: i18nLabel(
msg({
@@ -559,7 +559,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
morphId: STANDARD_OBJECTS.attachment.morphIds.targetMorphId.morphId,
fieldName: 'targetOpportunity',
label: i18nLabel(
- msg({ message: `Opportunity`, context: 'fieldMetadata.label' }),
+ msg({ message: `Attached to`, context: 'fieldMetadata.label' }),
),
description: i18nLabel(
msg({
@@ -592,7 +592,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
morphId: STANDARD_OBJECTS.attachment.morphIds.targetMorphId.morphId,
fieldName: 'targetDashboard',
label: i18nLabel(
- msg({ message: `Dashboard`, context: 'fieldMetadata.label' }),
+ msg({ message: `Attached to`, context: 'fieldMetadata.label' }),
),
description: i18nLabel(
msg({
@@ -625,7 +625,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
morphId: STANDARD_OBJECTS.attachment.morphIds.targetMorphId.morphId,
fieldName: 'targetWorkflow',
label: i18nLabel(
- msg({ message: `Workflow`, context: 'fieldMetadata.label' }),
+ msg({ message: `Attached to`, context: 'fieldMetadata.label' }),
),
description: i18nLabel(
msg({
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/index.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/index.ts
index 07985e60a22..c85ad651a4f 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/index.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/index.ts
@@ -1,3 +1,4 @@
+export { STANDARD_ATTACHMENT_PAGE_LAYOUT_CONFIG } from './standard-attachment-page-layout.config';
export { STANDARD_BLOCKLIST_PAGE_LAYOUT_CONFIG } from './standard-blocklist-page-layout.config';
export { STANDARD_CALENDAR_CHANNEL_EVENT_ASSOCIATION_PAGE_LAYOUT_CONFIG } from './standard-calendar-channel-event-association-page-layout.config';
export { STANDARD_CALENDAR_EVENT_PAGE_LAYOUT_CONFIG } from './standard-calendar-event-page-layout.config';
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/standard-attachment-page-layout.config.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/standard-attachment-page-layout.config.ts
new file mode 100644
index 00000000000..c6c5f579ef4
--- /dev/null
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/standard-attachment-page-layout.config.ts
@@ -0,0 +1,71 @@
+import { msg } from '@lingui/core/macro';
+import {
+ STANDARD_OBJECTS,
+ STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS,
+} from 'twenty-shared/metadata';
+
+import { PageLayoutType, WidgetType } from 'twenty-shared/types';
+import {
+ TAB_PROPS,
+ VERTICAL_LIST_LAYOUT_POSITIONS,
+ WIDGET_PROPS,
+} from 'src/engine/workspace-manager/twenty-standard-application/constants/standard-page-layout-tabs.template';
+import { i18nLabel } from 'src/engine/workspace-manager/twenty-standard-application/utils/i18n-label.util';
+import {
+ type StandardPageLayoutConfig,
+ type StandardPageLayoutTabConfig,
+} from 'src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/standard-page-layout-config.type';
+
+const ATTACHMENT_PAGE_TABS = {
+ home: {
+ universalIdentifier:
+ STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS.attachmentRecordPage.tabs.home
+ .universalIdentifier,
+ ...TAB_PROPS.home,
+ widgets: {
+ preview: {
+ universalIdentifier:
+ STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS.attachmentRecordPage.tabs
+ .home.widgets.preview.universalIdentifier,
+ title: i18nLabel(
+ msg({ message: `Preview`, context: 'pageLayoutWidget.title' }),
+ ),
+ type: WidgetType.FIELD,
+ position: VERTICAL_LIST_LAYOUT_POSITIONS.THIRD,
+ fieldUniversalIdentifier:
+ STANDARD_OBJECTS.attachment.fields.file.universalIdentifier,
+ },
+ fields: {
+ universalIdentifier:
+ STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS.attachmentRecordPage.tabs
+ .home.widgets.fields.universalIdentifier,
+ ...WIDGET_PROPS.fields,
+ },
+ attachedTo: {
+ universalIdentifier:
+ STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS.attachmentRecordPage.tabs
+ .home.widgets.attachedTo.universalIdentifier,
+ title: i18nLabel(
+ msg({ message: `Attached to`, context: 'pageLayoutWidget.title' }),
+ ),
+ type: WidgetType.FIELD,
+ position: VERTICAL_LIST_LAYOUT_POSITIONS.SECOND,
+ fieldUniversalIdentifier:
+ STANDARD_OBJECTS.attachment.fields.targetPerson.universalIdentifier,
+ },
+ },
+ },
+} as const satisfies Record<string, StandardPageLayoutTabConfig>;
+
+export const STANDARD_ATTACHMENT_PAGE_LAYOUT_CONFIG = {
+ name: i18nLabel(
+ msg({ message: `Default Attachment Layout`, context: 'pageLayout.name' }),
+ ),
+ type: PageLayoutType.RECORD_PAGE,
+ objectUniversalIdentifier: STANDARD_OBJECTS.attachment.universalIdentifier,
+ universalIdentifier:
+ STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS.attachmentRecordPage
+ .universalIdentifier,
+ defaultTabUniversalIdentifier: null,
+ tabs: ATTACHMENT_PAGE_TABS,
+} as const satisfies StandardPageLayoutConfig;
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-widget/build-standard-flat-page-layout-widget-metadata-maps.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-widget/build-standard-flat-page-layout-widget-metadata-maps.util.ts
index 2c6c3dc477c..420743a6b85 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-widget/build-standard-flat-page-layout-widget-metadata-maps.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-widget/build-standard-flat-page-layout-widget-metadata-maps.util.ts
@@ -77,6 +77,7 @@ const WIDGET_TYPE_TO_CONFIGURATION_TYPE: Partial<
const RECORD_PAGE_FIELDS_VIEW_NAME_BY_OBJECT: Partial<
Record<AllStandardObjectName, string>
> = {
+ attachment: 'attachmentRecordPageFields',
blocklist: 'blocklistRecordPageFields',
calendarChannelEventAssociation:
'calendarChannelEventAssociationRecordPageFields',
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-attachment-view-fields.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-attachment-view-fields.util.ts
index 59d4095787c..2d9c0e1e9cf 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-attachment-view-fields.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-attachment-view-fields.util.ts
@@ -141,5 +141,29 @@ export const computeStandardAttachmentViewFields = (
size: 150,
},
}),
+ attachmentRecordPageFieldsCreatedBy: createStandardViewFieldFlatMetadata({
+ ...args,
+ objectName: 'attachment',
+ context: {
+ viewName: 'attachmentRecordPageFields',
+ viewFieldName: 'createdBy',
+ fieldName: 'createdBy',
+ position: 0,
+ isVisible: true,
+ size: 150,
+ },
+ }),
+ attachmentRecordPageFieldsCreatedAt: createStandardViewFieldFlatMetadata({
+ ...args,
+ objectName: 'attachment',
+ context: {
+ viewName: 'attachmentRecordPageFields',
+ viewFieldName: 'createdAt',
+ fieldName: 'createdAt',
+ position: 1,
+ isVisible: true,
+ size: 150,
+ },
+ }),
};
};
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-attachment-views.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-attachment-views.util.ts
index dd1586eb9c9..c2da008bd30 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-attachment-views.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-attachment-views.util.ts
@@ -23,5 +23,17 @@ export const computeStandardAttachmentViews = (
icon: 'IconTable',
},
}),
+ attachmentRecordPageFields: createStandardViewFlatMetadata({
+ ...args,
+ objectName: 'attachment',
+ context: {
+ viewName: 'attachmentRecordPageFields',
+ name: 'Attachment Record Page Fields',
+ type: ViewType.FIELDS_WIDGET,
+ key: null,
+ position: 0,
+ icon: 'IconListDetails',
+ },
+ }),
};
};
diff --git a/packages/twenty-server/test/integration/metadata/suites/application/__snapshots__/successful-sync-application-workspace-migration.integration-spec.ts.snap b/packages/twenty-server/test/integration/metadata/suites/application/__snapshots__/successful-sync-application-workspace-migration.integration-spec.ts.snap
index d38abf0f88a..153c817f10c 100644
--- a/packages/twenty-server/test/integration/metadata/suites/application/__snapshots__/successful-sync-application-workspace-migration.integration-spec.ts.snap
+++ b/packages/twenty-server/test/integration/metadata/suites/application/__snapshots__/successful-sync-application-workspace-migration.integration-spec.ts.snap
@@ -573,7 +573,7 @@ exports[`syncApplication should delete old field and create equivalent one when
"isSystemSideEffect": true,
"isUIEditable": true,
"isUnique": false,
- "label": "Ticket",
+ "label": "Attached to",
"morphId": Any<String>,
"name": "targetTicket",
"objectMetadataUniversalIdentifier": Any<String>,
@@ -2217,7 +2217,7 @@ exports[`syncApplication should return workspace migration actions on initial sy
"isSystemSideEffect": true,
"isUIEditable": true,
"isUnique": false,
- "label": "Ticket",
+ "label": "Attached to",
"morphId": Any<String>,
"name": "targetTicket",
"objectMetadataUniversalIdentifier": Any<String>,
diff --git a/packages/twenty-server/test/integration/metadata/suites/object-metadata/rename-custom-object.integration-spec.ts b/packages/twenty-server/test/integration/metadata/suites/object-metadata/rename-custom-object.integration-spec.ts
index aee17acd4f5..91259c3a94f 100644
--- a/packages/twenty-server/test/integration/metadata/suites/object-metadata/rename-custom-object.integration-spec.ts
+++ b/packages/twenty-server/test/integration/metadata/suites/object-metadata/rename-custom-object.integration-spec.ts
@@ -133,9 +133,12 @@ describe('Custom object renaming', () => {
expect(relationFieldMetadataId).not.toBeUndefined();
// Reverse system relation fields carry the engine-derived label
- // (capitalized source object nameSingular)
+ // (capitalized source object nameSingular), except attachment targets
+ // which share their morph group label
expect(relationFieldMetadata?.label).toBe(
- capitalize(CUSTOM_OBJECT.nameSingular),
+ relation === 'attachment'
+ ? 'Attached to'
+ : capitalize(CUSTOM_OBJECT.nameSingular),
);
// @ts-expect-error legacy noImplicitAny
@@ -199,7 +202,9 @@ describe('Custom object renaming', () => {
expect(renamedReverseField).toBeDefined();
expect(renamedReverseField.name).toBe(expectedReverseFieldName);
- expect(renamedReverseField.label).toBe(expectedReverseFieldLabel);
+ expect(renamedReverseField.label).toBe(
+ relation === 'attachment' ? 'Attached to' : expectedReverseFieldLabel,
+ );
expect(renamedReverseField.universalIdentifier).toBe(
relationFieldMetadataUniversalIdentifier,
);
diff --git a/packages/twenty-shared/src/metadata/__tests__/__snapshots__/standardObjectUniversalIdentifiers.test.ts.snap b/packages/twenty-shared/src/metadata/__tests__/__snapshots__/standardObjectUniversalIdentifiers.test.ts.snap
index 91a98a83576..80fc4acd182 100644
--- a/packages/twenty-shared/src/metadata/__tests__/__snapshots__/standardObjectUniversalIdentifiers.test.ts.snap
+++ b/packages/twenty-shared/src/metadata/__tests__/__snapshots__/standardObjectUniversalIdentifiers.test.ts.snap
@@ -420,6 +420,18 @@ exports[`STANDARD_OBJECTS universal identifiers should never change without an e
},
},
},
+ "attachmentRecordPageFields": {
+ "universalIdentifier": "c002db33-a973-5565-bf4c-092881c25fa6",
+ "viewFieldGroups": {},
+ "viewFields": {
+ "createdAt": {
+ "universalIdentifier": "e52334fc-3757-58ad-afaa-f8729dc45595",
+ },
+ "createdBy": {
+ "universalIdentifier": "ca777867-3f7a-56f6-ac5f-2b3802fa41bf",
+ },
+ },
+ },
},
},
"blocklist": {
diff --git a/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts b/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts
index dce3fdc0e97..d34fc88d6dd 100644
--- a/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts
+++ b/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts
@@ -68,6 +68,13 @@ export const STANDARD_OBJECTS = {
'targetWorkflow',
],
}),
+ attachmentRecordPageFields: buildStandardObjectRecordPageFieldsView({
+ objectUniversalIdentifier:
+ STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS.attachment,
+ fields: STANDARD_OBJECT_FIELDS.attachment,
+ viewFieldNames: ['createdBy', 'createdAt'],
+ viewFieldGroupNames: {},
+ }),
},
},
blocklist: {
diff --git a/packages/twenty-shared/src/metadata/constants/standard-page-layout-universal-identifiers.constant.ts b/packages/twenty-shared/src/metadata/constants/standard-page-layout-universal-identifiers.constant.ts
index 04e9ace32f5..7eb12a6daab 100644
--- a/packages/twenty-shared/src/metadata/constants/standard-page-layout-universal-identifiers.constant.ts
+++ b/packages/twenty-shared/src/metadata/constants/standard-page-layout-universal-identifiers.constant.ts
@@ -44,6 +44,19 @@ export const STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS = {
},
},
},
+ attachmentRecordPage: buildStandardObjectRecordPageLayout({
+ objectUniversalIdentifier: STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS.attachment,
+ tabs: {
+ home: {
+ title: 'Home',
+ widgets: {
+ preview: 'Preview',
+ fields: 'Fields',
+ attachedTo: 'Attached to',
+ },
+ },
+ },
+ }),
companyRecordPage: buildStandardObjectRecordPageLayout({
objectUniversalIdentifier: STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS.company,
tabs: {