Skip to content

The open alternative to Salesforce, designed for AI.

Show unique and total clicks and opens on campaigns (#26875)

neo773ad9c3fb37961
diff --git a/packages/twenty-front/src/modules/activities/emails/types/MessageCampaign.ts b/packages/twenty-front/src/modules/activities/emails/types/MessageCampaign.ts
index ca01195d867..4e971784839 100644
--- a/packages/twenty-front/src/modules/activities/emails/types/MessageCampaign.ts
+++ b/packages/twenty-front/src/modules/activities/emails/types/MessageCampaign.ts
@@ -18,4 +18,8 @@ export type MessageCampaign = {
skippedCount: number;
bouncedCount: number;
complainedCount: number;
+ uniqueClickCount: number;
+ clickRate: number;
+ uniqueOpenCount: number;
+ openRate: number;
};
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-47/2-47-upgrade-version-command.module.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-47/2-47-upgrade-version-command.module.ts
index bc35b7ca5c1..276bc56a2f5 100644
--- a/packages/twenty-server/src/database/commands/upgrade-version-command/2-47/2-47-upgrade-version-command.module.ts
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-47/2-47-upgrade-version-command.module.ts
@@ -5,6 +5,7 @@ import { UnpinNewAiChatCommand } from 'src/database/commands/upgrade-version-com
import { UnfollowChatsMembersOnlyReadCommand } from 'src/database/commands/upgrade-version-command/2-47/2-47-workspace-command-1791728623417-unfollow-chats-members-only-read.command';
import { DropLegacyChatColumnsCommand } from 'src/database/commands/upgrade-version-command/2-47/2-47-workspace-command-1791730401449-drop-legacy-chat-columns.command';
import { AddMessageListMemberCommandMenuItemsCommand } from 'src/database/commands/upgrade-version-command/2-47/2-47-workspace-command-1791789514736-add-message-list-member-command-menu-items.command';
+import { SyncCampaignEngagementFieldsCommand } from 'src/database/commands/upgrade-version-command/2-47/2-47-workspace-command-1791811197174-sync-campaign-engagement-fields.command';
import { ApplicationModule } from 'src/engine/core-modules/application/application.module';
import { WorkspaceCacheModule } from 'src/engine/workspace-cache/workspace-cache.module';
import { WorkspaceMigrationModule } from 'src/engine/workspace-manager/workspace-migration/workspace-migration.module';
@@ -21,6 +22,7 @@ import { WorkspaceMigrationModule } from 'src/engine/workspace-manager/workspace
UnfollowChatsMembersOnlyReadCommand,
DropLegacyChatColumnsCommand,
AddMessageListMemberCommandMenuItemsCommand,
+ SyncCampaignEngagementFieldsCommand,
],
})
export class V2_47_UpgradeVersionCommandModule {}
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-47/2-47-workspace-command-1791811197174-sync-campaign-engagement-fields.command.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-47/2-47-workspace-command-1791811197174-sync-campaign-engagement-fields.command.ts
new file mode 100644
index 00000000000..8e7b9b7afcc
--- /dev/null
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-47/2-47-workspace-command-1791811197174-sync-campaign-engagement-fields.command.ts
@@ -0,0 +1,270 @@
+import { Command } from 'nest-commander';
+import { STANDARD_OBJECTS } 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 { ApplicationService } from 'src/engine/core-modules/application/application.service';
+import { RegisteredWorkspaceCommand } from 'src/engine/core-modules/upgrade/decorators/registered-workspace-command.decorator';
+import { findFlatEntityByUniversalIdentifier } from 'src/engine/metadata-modules/flat-entity/utils/find-flat-entity-by-universal-identifier.util';
+import { type FlatFieldMetadata } from 'src/engine/metadata-modules/flat-field-metadata/types/flat-field-metadata.type';
+import { type FlatObjectMetadata } from 'src/engine/metadata-modules/flat-object-metadata/types/flat-object-metadata.type';
+import { type FlatViewField } from 'src/engine/metadata-modules/flat-view-field/types/flat-view-field.type';
+import { computeTwentyStandardApplicationAllFlatEntityMaps } from 'src/engine/workspace-manager/twenty-standard-application/utils/twenty-standard-application-all-flat-entity-maps.constant';
+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 { WorkspaceMigrationValidateBuildAndRunService } from 'src/engine/workspace-manager/workspace-migration/services/workspace-migration-validate-build-and-run-service';
+
+const CAMPAIGN = STANDARD_OBJECTS.messageCampaign;
+
+const ENGAGEMENT_FIELD_UNIVERSAL_IDENTIFIERS = [
+ CAMPAIGN.fields.uniqueClickCount.universalIdentifier,
+ CAMPAIGN.fields.clickRate.universalIdentifier,
+ CAMPAIGN.fields.uniqueOpenCount.universalIdentifier,
+ CAMPAIGN.fields.openRate.universalIdentifier,
+];
+
+const ENGAGEMENT_VIEW_FIELD_UNIVERSAL_IDENTIFIERS = [
+ CAMPAIGN.views.allMessageCampaigns.viewFields.uniqueClickCount
+ .universalIdentifier,
+ CAMPAIGN.views.allMessageCampaigns.viewFields.clickRate
+ .universalIdentifier,
+ CAMPAIGN.views.allMessageCampaigns.viewFields.uniqueOpenCount
+ .universalIdentifier,
+ CAMPAIGN.views.allMessageCampaigns.viewFields.openRate
+ .universalIdentifier,
+ CAMPAIGN.views.messageCampaignRecordPageFields.viewFields.uniqueClickCount
+ .universalIdentifier,
+ CAMPAIGN.views.messageCampaignRecordPageFields.viewFields.clickRate
+ .universalIdentifier,
+ CAMPAIGN.views.messageCampaignRecordPageFields.viewFields.uniqueOpenCount
+ .universalIdentifier,
+ CAMPAIGN.views.messageCampaignRecordPageFields.viewFields.openRate
+ .universalIdentifier,
+];
+
+@RegisteredWorkspaceCommand('2.47.0', 1791811197174)
+@Command({
+ name: 'upgrade:2-47:sync-campaign-engagement-fields',
+ description:
+ 'Add the click and open fields to campaigns, and their columns, in existing workspaces',
+})
+export class SyncCampaignEngagementFieldsCommand extends ProvisionedWorkspaceCommandRunner {
+ constructor(
+ protected readonly workspaceIteratorService: WorkspaceIteratorService,
+ private readonly applicationService: ApplicationService,
+ private readonly workspaceCacheService: WorkspaceCacheService,
+ private readonly workspaceMigrationValidateBuildAndRunService: WorkspaceMigrationValidateBuildAndRunService,
+ ) {
+ super(workspaceIteratorService);
+ }
+
+ override async runOnWorkspace(args: RunOnWorkspaceArgs): Promise<void> {
+ await this.up(args);
+ }
+
+ async up({ workspaceId, options }: RunOnWorkspaceArgs): Promise<void> {
+ const {
+ flatObjectMetadataMaps,
+ flatFieldMetadataMaps,
+ flatViewMaps,
+ flatViewFieldMaps,
+ } = await this.workspaceCacheService.getOrRecompute(workspaceId, [
+ 'flatObjectMetadataMaps',
+ 'flatFieldMetadataMaps',
+ 'flatViewMaps',
+ 'flatViewFieldMaps',
+ ]);
+
+ const hasCampaignObject = isDefined(
+ findFlatEntityByUniversalIdentifier<FlatObjectMetadata>({
+ flatEntityMaps: flatObjectMetadataMaps,
+ universalIdentifier: CAMPAIGN.universalIdentifier,
+ }),
+ );
+
+ if (!hasCampaignObject) {
+ this.logger.log(
+ `Campaign object does not exist for workspace ${workspaceId}, skipping`,
+ );
+
+ return;
+ }
+
+ const { twentyStandardFlatApplication } =
+ await this.applicationService.findWorkspaceTwentyStandardAndCustomApplicationOrThrow(
+ { workspaceId },
+ );
+
+ const { allFlatEntityMaps: standardAllFlatEntityMaps } =
+ computeTwentyStandardApplicationAllFlatEntityMaps({
+ now: new Date().toISOString(),
+ workspaceId,
+ twentyStandardApplicationId: twentyStandardFlatApplication.id,
+ });
+
+ const fieldsToCreate = ENGAGEMENT_FIELD_UNIVERSAL_IDENTIFIERS.filter(
+ (universalIdentifier) =>
+ !isDefined(
+ flatFieldMetadataMaps.byUniversalIdentifier[universalIdentifier],
+ ),
+ ).map((universalIdentifier) => {
+ const standardField =
+ findFlatEntityByUniversalIdentifier<FlatFieldMetadata>({
+ flatEntityMaps: standardAllFlatEntityMaps.flatFieldMetadataMaps,
+ universalIdentifier,
+ });
+
+ if (!isDefined(standardField)) {
+ throw new Error(
+ `Standard application is missing engagement field ${universalIdentifier}`,
+ );
+ }
+
+ return standardField;
+ });
+
+ // A workspace that never got the campaign views has no place for the
+ // columns; the view backfill command owns those workspaces.
+ const viewFieldsToCreate = ENGAGEMENT_VIEW_FIELD_UNIVERSAL_IDENTIFIERS.filter(
+ (universalIdentifier) =>
+ !isDefined(
+ flatViewFieldMaps.byUniversalIdentifier[universalIdentifier],
+ ),
+ ).flatMap((universalIdentifier) => {
+ const standardViewField =
+ findFlatEntityByUniversalIdentifier<FlatViewField>({
+ flatEntityMaps: standardAllFlatEntityMaps.flatViewFieldMaps,
+ universalIdentifier,
+ });
+
+ if (!isDefined(standardViewField)) {
+ throw new Error(
+ `Standard application is missing engagement view column ${universalIdentifier}`,
+ );
+ }
+
+ const viewUniversalIdentifier =
+ standardAllFlatEntityMaps.flatViewMaps.universalIdentifierById[
+ standardViewField.viewId
+ ];
+ const hasView =
+ isDefined(viewUniversalIdentifier) &&
+ isDefined(flatViewMaps.byUniversalIdentifier[viewUniversalIdentifier]);
+
+ return hasView ? [standardViewField] : [];
+ });
+
+ if (fieldsToCreate.length === 0 && viewFieldsToCreate.length === 0) {
+ return;
+ }
+
+ if (options.dryRun) {
+ this.logger.log(
+ `[DRY RUN] Workspace ${workspaceId}: ${fieldsToCreate.length} engagement field(s), ${viewFieldsToCreate.length} view column(s)`,
+ );
+
+ return;
+ }
+
+ const result =
+ await this.workspaceMigrationValidateBuildAndRunService.validateBuildAndRunLegacyWorkspaceMigration(
+ {
+ isSystemBuild: true,
+ workspaceId,
+ applicationUniversalIdentifier:
+ twentyStandardFlatApplication.universalIdentifier,
+ allFlatEntityOperationByMetadataName: {
+ fieldMetadata: {
+ flatEntityToCreate: fieldsToCreate,
+ flatEntityToDelete: [],
+ flatEntityToUpdate: [],
+ },
+ viewField: {
+ flatEntityToCreate: viewFieldsToCreate,
+ flatEntityToDelete: [],
+ flatEntityToUpdate: [],
+ },
+ },
+ },
+ );
+
+ if (result.status === 'fail') {
+ throw new WorkspaceMigrationBuilderException(
+ result,
+ `Failed to add the campaign engagement fields for workspace ${workspaceId}`,
+ );
+ }
+ }
+
+ async down({ workspaceId, options }: RunOnWorkspaceArgs): Promise<void> {
+ const { flatFieldMetadataMaps, flatViewFieldMaps } =
+ await this.workspaceCacheService.getOrRecompute(workspaceId, [
+ 'flatFieldMetadataMaps',
+ 'flatViewFieldMaps',
+ ]);
+
+ const fieldsToDelete = ENGAGEMENT_FIELD_UNIVERSAL_IDENTIFIERS.map(
+ (universalIdentifier) =>
+ findFlatEntityByUniversalIdentifier<FlatFieldMetadata>({
+ flatEntityMaps: flatFieldMetadataMaps,
+ universalIdentifier,
+ }),
+ ).filter(isDefined);
+
+ const viewFieldsToDelete = ENGAGEMENT_VIEW_FIELD_UNIVERSAL_IDENTIFIERS.map(
+ (universalIdentifier) =>
+ findFlatEntityByUniversalIdentifier<FlatViewField>({
+ flatEntityMaps: flatViewFieldMaps,
+ universalIdentifier,
+ }),
+ ).filter(isDefined);
+
+ if (fieldsToDelete.length === 0 && viewFieldsToDelete.length === 0) {
+ return;
+ }
+
+ if (options.dryRun) {
+ this.logger.log(
+ `[DRY RUN] Workspace ${workspaceId}: would remove ${fieldsToDelete.length} engagement field(s), ${viewFieldsToDelete.length} view column(s)`,
+ );
+
+ return;
+ }
+
+ const { twentyStandardFlatApplication } =
+ await this.applicationService.findWorkspaceTwentyStandardAndCustomApplicationOrThrow(
+ { workspaceId },
+ );
+
+ const result =
+ await this.workspaceMigrationValidateBuildAndRunService.validateBuildAndRunLegacyWorkspaceMigration(
+ {
+ isSystemBuild: true,
+ workspaceId,
+ applicationUniversalIdentifier:
+ twentyStandardFlatApplication.universalIdentifier,
+ allFlatEntityOperationByMetadataName: {
+ viewField: {
+ flatEntityToCreate: [],
+ flatEntityToDelete: viewFieldsToDelete,
+ flatEntityToUpdate: [],
+ },
+ fieldMetadata: {
+ flatEntityToCreate: [],
+ flatEntityToDelete: fieldsToDelete,
+ flatEntityToUpdate: [],
+ },
+ },
+ },
+ );
+
+ if (result.status === 'fail') {
+ throw new WorkspaceMigrationBuilderException(
+ result,
+ `Failed to remove the campaign engagement fields for workspace ${workspaceId}`,
+ );
+ }
+ }
+}
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 5840041d8b6..c56d9273ae8 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,352 +5,352 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"agentChatThread": {
"fields": {
"activeStreamId": {
- "id": "00000000-0000-0000-0000-000000001030",
+ "id": "00000000-0000-0000-0000-000000001042",
},
"archivedAt": {
- "id": "00000000-0000-0000-0000-000000001019",
+ "id": "00000000-0000-0000-0000-000000001031",
},
"assignee": {
- "id": "00000000-0000-0000-0000-000000001037",
+ "id": "00000000-0000-0000-0000-000000001049",
},
"attachments": {
- "id": "00000000-0000-0000-0000-000000001034",
+ "id": "00000000-0000-0000-0000-000000001046",
},
"contextWindowTokens": {
- "id": "00000000-0000-0000-0000-000000001024",
+ "id": "00000000-0000-0000-0000-000000001036",
},
"conversationSize": {
- "id": "00000000-0000-0000-0000-000000001025",
+ "id": "00000000-0000-0000-0000-000000001037",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000001016",
+ "id": "00000000-0000-0000-0000-000000001028",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000001018",
+ "id": "00000000-0000-0000-0000-000000001030",
},
"id": {
- "id": "00000000-0000-0000-0000-000000001015",
+ "id": "00000000-0000-0000-0000-000000001027",
},
"lastActivityAt": {
- "id": "00000000-0000-0000-0000-000000001038",
+ "id": "00000000-0000-0000-0000-000000001050",
},
"lastMessageSenderWorkspaceMemberId": {
- "id": "00000000-0000-0000-0000-000000001040",
+ "id": "00000000-0000-0000-0000-000000001052",
},
"lastMessageText": {
- "id": "00000000-0000-0000-0000-000000001039",
+ "id": "00000000-0000-0000-0000-000000001051",
},
"messages": {
- "id": "00000000-0000-0000-0000-000000001033",
+ "id": "00000000-0000-0000-0000-000000001045",
},
"participants": {
- "id": "00000000-0000-0000-0000-000000001036",
+ "id": "00000000-0000-0000-0000-000000001048",
},
"pendingQuestionMessageId": {
- "id": "00000000-0000-0000-0000-000000001031",
+ "id": "00000000-0000-0000-0000-000000001043",
},
"recordTargets": {
- "id": "00000000-0000-0000-0000-000000001035",
+ "id": "00000000-0000-0000-0000-000000001047",
},
"title": {
- "id": "00000000-0000-0000-0000-000000001021",
+ "id": "00000000-0000-0000-0000-000000001033",
},
"totalCacheCreationTokens": {
- "id": "00000000-0000-0000-0000-000000001029",
+ "id": "00000000-0000-0000-0000-000000001041",
},
"totalCacheReadTokens": {
- "id": "00000000-0000-0000-0000-000000001028",
+ "id": "00000000-0000-0000-0000-000000001040",
},
"totalInputCredits": {
- "id": "00000000-0000-0000-0000-000000001026",
+ "id": "00000000-0000-0000-0000-000000001038",
},
"totalInputTokens": {
- "id": "00000000-0000-0000-0000-000000001022",
+ "id": "00000000-0000-0000-0000-000000001034",
},
"totalOutputCredits": {
- "id": "00000000-0000-0000-0000-000000001027",
+ "id": "00000000-0000-0000-0000-000000001039",
},
"totalOutputTokens": {
- "id": "00000000-0000-0000-0000-000000001023",
+ "id": "00000000-0000-0000-0000-000000001035",
},
"turns": {
- "id": "00000000-0000-0000-0000-000000001032",
+ "id": "00000000-0000-0000-0000-000000001044",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000001017",
+ "id": "00000000-0000-0000-0000-000000001029",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000001020",
+ "id": "00000000-0000-0000-0000-000000001032",
},
"writerWorkspaceMemberIds": {
- "id": "00000000-0000-0000-0000-000000001041",
+ "id": "00000000-0000-0000-0000-000000001053",
},
},
- "id": "00000000-0000-0000-0000-000000001042",
+ "id": "00000000-0000-0000-0000-000000001054",
"views": undefined,
},
"agentChatThreadParticipant": {
"fields": {
"archivedAt": {
- "id": "00000000-0000-0000-0000-000000001050",
+ "id": "00000000-0000-0000-0000-000000001062",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000001044",
+ "id": "00000000-0000-0000-0000-000000001056",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000001046",
+ "id": "00000000-0000-0000-0000-000000001058",
},
"id": {
- "id": "00000000-0000-0000-0000-000000001043",
+ "id": "00000000-0000-0000-0000-000000001055",
},
"isSubscribed": {
- "id": "00000000-0000-0000-0000-000000001052",
+ "id": "00000000-0000-0000-0000-000000001064",
},
"lastMentionedAt": {
- "id": "00000000-0000-0000-0000-000000001053",
+ "id": "00000000-0000-0000-0000-000000001065",
},
"lastReadAt": {
- "id": "00000000-0000-0000-0000-000000001049",
+ "id": "00000000-0000-0000-0000-000000001061",
},
"snoozedUntil": {
- "id": "00000000-0000-0000-0000-000000001051",
+ "id": "00000000-0000-0000-0000-000000001063",
},
"thread": {
- "id": "00000000-0000-0000-0000-000000001047",
+ "id": "00000000-0000-0000-0000-000000001059",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000001045",
+ "id": "00000000-0000-0000-0000-000000001057",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000001048",
+ "id": "00000000-0000-0000-0000-000000001060",
},
},
- "id": "00000000-0000-0000-0000-000000001054",
+ "id": "00000000-0000-0000-0000-000000001066",
"views": undefined,
},
"agentChatThreadTarget": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000001056",
+ "id": "00000000-0000-0000-0000-000000001068",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000001058",
+ "id": "00000000-0000-0000-0000-000000001070",
},
"id": {
- "id": "00000000-0000-0000-0000-000000001055",
+ "id": "00000000-0000-0000-0000-000000001067",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000001061",
+ "id": "00000000-0000-0000-0000-000000001073",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000001062",
+ "id": "00000000-0000-0000-0000-000000001074",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000001060",
+ "id": "00000000-0000-0000-0000-000000001072",
},
"thread": {
- "id": "00000000-0000-0000-0000-000000001059",
+ "id": "00000000-0000-0000-0000-000000001071",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000001057",
+ "id": "00000000-0000-0000-0000-000000001069",
},
},
- "id": "00000000-0000-0000-0000-000000001063",
+ "id": "00000000-0000-0000-0000-000000001075",
"views": {},
},
"agentMessage": {
"fields": {
"agentId": {
- "id": "00000000-0000-0000-0000-000000001088",
+ "id": "00000000-0000-0000-0000-000000001100",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000001085",
+ "id": "00000000-0000-0000-0000-000000001097",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000001087",
+ "id": "00000000-0000-0000-0000-000000001099",
},
"id": {
- "id": "00000000-0000-0000-0000-000000001084",
+ "id": "00000000-0000-0000-0000-000000001096",
},
"parts": {
- "id": "00000000-0000-0000-0000-000000001096",
+ "id": "00000000-0000-0000-0000-000000001108",
},
"processedAt": {
- "id": "00000000-0000-0000-0000-000000001093",
+ "id": "00000000-0000-0000-0000-000000001105",
},
"role": {
- "id": "00000000-0000-0000-0000-000000001091",
+ "id": "00000000-0000-0000-0000-000000001103",
},
"senderApplicationId": {
- "id": "00000000-0000-0000-0000-000000001090",
+ "id": "00000000-0000-0000-0000-000000001102",
},
"senderWorkspaceMember": {
- "id": "00000000-0000-0000-0000-000000001089",
+ "id": "00000000-0000-0000-0000-000000001101",
},
"status": {
- "id": "00000000-0000-0000-0000-000000001092",
+ "id": "00000000-0000-0000-0000-000000001104",
},
"thread": {
- "id": "00000000-0000-0000-0000-000000001094",
+ "id": "00000000-0000-0000-0000-000000001106",
},
"turn": {
- "id": "00000000-0000-0000-0000-000000001095",
+ "id": "00000000-0000-0000-0000-000000001107",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000001086",
+ "id": "00000000-0000-0000-0000-000000001098",
},
},
- "id": "00000000-0000-0000-0000-000000001097",
+ "id": "00000000-0000-0000-0000-000000001109",
"views": undefined,
},
"agentMessagePart": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000001099",
+ "id": "00000000-0000-0000-0000-000000001111",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000001101",
+ "id": "00000000-0000-0000-0000-000000001113",
},
"errorDetails": {
- "id": "00000000-0000-0000-0000-000000001113",
+ "id": "00000000-0000-0000-0000-000000001125",
},
"errorMessage": {
- "id": "00000000-0000-0000-0000-000000001112",
+ "id": "00000000-0000-0000-0000-000000001124",
},
"fileFilename": {
- "id": "00000000-0000-0000-0000-000000001121",
+ "id": "00000000-0000-0000-0000-000000001133",
},
"fileId": {
- "id": "00000000-0000-0000-0000-000000001122",
+ "id": "00000000-0000-0000-0000-000000001134",
},
"id": {
- "id": "00000000-0000-0000-0000-000000001098",
+ "id": "00000000-0000-0000-0000-000000001110",
},
"message": {
- "id": "00000000-0000-0000-0000-000000001124",
+ "id": "00000000-0000-0000-0000-000000001136",
},
"orderIndex": {
- "id": "00000000-0000-0000-0000-000000001102",
+ "id": "00000000-0000-0000-0000-000000001114",
},
"providerExecuted": {
- "id": "00000000-0000-0000-0000-000000001111",
+ "id": "00000000-0000-0000-0000-000000001123",
},
"providerMetadata": {
- "id": "00000000-0000-0000-0000-000000001123",
+ "id": "00000000-0000-0000-0000-000000001135",
},
"reasoningContent": {
- "id": "00000000-0000-0000-0000-000000001105",
+ "id": "00000000-0000-0000-0000-000000001117",
},
"sourceDocumentFilename": {
- "id": "00000000-0000-0000-0000-000000001120",
+ "id": "00000000-0000-0000-0000-000000001132",
},
"sourceDocumentMediaType": {
- "id": "00000000-0000-0000-0000-000000001118",
+ "id": "00000000-0000-0000-0000-000000001130",
},
"sourceDocumentSourceId": {
- "id": "00000000-0000-0000-0000-000000001117",
+ "id": "00000000-0000-0000-0000-000000001129",
},
"sourceDocumentTitle": {
- "id": "00000000-0000-0000-0000-000000001119",
+ "id": "00000000-0000-0000-0000-000000001131",
},
"sourceUrlSourceId": {
- "id": "00000000-0000-0000-0000-000000001114",
+ "id": "00000000-0000-0000-0000-000000001126",
},
"sourceUrlTitle": {
- "id": "00000000-0000-0000-0000-000000001116",
+ "id": "00000000-0000-0000-0000-000000001128",
},
"sourceUrlUrl": {
- "id": "00000000-0000-0000-0000-000000001115",
+ "id": "00000000-0000-0000-0000-000000001127",
},
"state": {
- "id": "00000000-0000-0000-0000-000000001110",
+ "id": "00000000-0000-0000-0000-000000001122",
},
"textContent": {
- "id": "00000000-0000-0000-0000-000000001104",
+ "id": "00000000-0000-0000-0000-000000001116",
},
"toolCallId": {
- "id": "00000000-0000-0000-0000-000000001107",
+ "id": "00000000-0000-0000-0000-000000001119",
},
"toolInput": {
- "id": "00000000-0000-0000-0000-000000001108",
+ "id": "00000000-0000-0000-0000-000000001120",
},
"toolName": {
- "id": "00000000-0000-0000-0000-000000001106",
+ "id": "00000000-0000-0000-0000-000000001118",
},
"toolOutput": {
- "id": "00000000-0000-0000-0000-000000001109",
+ "id": "00000000-0000-0000-0000-000000001121",
},
"type": {
- "id": "00000000-0000-0000-0000-000000001103",
+ "id": "00000000-0000-0000-0000-000000001115",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000001100",
+ "id": "00000000-0000-0000-0000-000000001112",
},
},
- "id": "00000000-0000-0000-0000-000000001125",
+ "id": "00000000-0000-0000-0000-000000001137",
"views": undefined,
},
"agentTurn": {
"fields": {
"agentId": {
- "id": "00000000-0000-0000-0000-000000001068",
+ "id": "00000000-0000-0000-0000-000000001080",
},
"cacheCreationTokens": {
- "id": "00000000-0000-0000-0000-000000001079",
+ "id": "00000000-0000-0000-0000-000000001091",
},
"cacheReadTokens": {
- "id": "00000000-0000-0000-0000-000000001078",
+ "id": "00000000-0000-0000-0000-000000001090",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000001065",
+ "id": "00000000-0000-0000-0000-000000001077",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000001082",
+ "id": "00000000-0000-0000-0000-000000001094",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000001067",
+ "id": "00000000-0000-0000-0000-000000001079",
},
"endedAt": {
- "id": "00000000-0000-0000-0000-000000001074",
+ "id": "00000000-0000-0000-0000-000000001086",
},
"error": {
- "id": "00000000-0000-0000-0000-000000001072",
+ "id": "00000000-0000-0000-0000-000000001084",
},
"id": {
- "id": "00000000-0000-0000-0000-000000001064",
+ "id": "00000000-0000-0000-0000-000000001076",
},
"inputCredits": {
- "id": "00000000-0000-0000-0000-000000001080",
+ "id": "00000000-0000-0000-0000-000000001092",
},
"inputTokens": {
- "id": "00000000-0000-0000-0000-000000001076",
+ "id": "00000000-0000-0000-0000-000000001088",
},
"messages": {
- "id": "00000000-0000-0000-0000-000000001070",
+ "id": "00000000-0000-0000-0000-000000001082",
},
"modelId": {
- "id": "00000000-0000-0000-0000-000000001075",
+ "id": "00000000-0000-0000-0000-000000001087",
},
"outputCredits": {
- "id": "00000000-0000-0000-0000-000000001081",
+ "id": "00000000-0000-0000-0000-000000001093",
},
"outputTokens": {
- "id": "00000000-0000-0000-0000-000000001077",
+ "id": "00000000-0000-0000-0000-000000001089",
},
"startedAt": {
- "id": "00000000-0000-0000-0000-000000001073",
+ "id": "00000000-0000-0000-0000-000000001085",
},
"status": {
- "id": "00000000-0000-0000-0000-000000001071",
+ "id": "00000000-0000-0000-0000-000000001083",
},
"thread": {
- "id": "00000000-0000-0000-0000-000000001069",
+ "id": "00000000-0000-0000-0000-000000001081",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000001066",
+ "id": "00000000-0000-0000-0000-000000001078",
},
},
- "id": "00000000-0000-0000-0000-000000001083",
+ "id": "00000000-0000-0000-0000-000000001095",
"views": undefined,
},
"attachment": {
@@ -1108,64 +1108,64 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"campaignDelivery": {
"fields": {
"bouncedAt": {
- "id": "00000000-0000-0000-0000-000000001141",
+ "id": "00000000-0000-0000-0000-000000001153",
},
"campaignId": {
- "id": "00000000-0000-0000-0000-000000001130",
+ "id": "00000000-0000-0000-0000-000000001142",
},
"claimExpiresAt": {
- "id": "00000000-0000-0000-0000-000000001137",
+ "id": "00000000-0000-0000-0000-000000001149",
},
"claimToken": {
- "id": "00000000-0000-0000-0000-000000001136",
+ "id": "00000000-0000-0000-0000-000000001148",
},
"complainedAt": {
- "id": "00000000-0000-0000-0000-000000001142",
+ "id": "00000000-0000-0000-0000-000000001154",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000001127",
+ "id": "00000000-0000-0000-0000-000000001139",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000001129",
+ "id": "00000000-0000-0000-0000-000000001141",
},
"deliveredAt": {
- "id": "00000000-0000-0000-0000-000000001140",
+ "id": "00000000-0000-0000-0000-000000001152",
},
"failureReason": {
- "id": "00000000-0000-0000-0000-000000001135",
+ "id": "00000000-0000-0000-0000-000000001147",
},
"id": {
- "id": "00000000-0000-0000-0000-000000001126",
+ "id": "00000000-0000-0000-0000-000000001138",
},
"personId": {
- "id": "00000000-0000-0000-0000-000000001131",
+ "id": "00000000-0000-0000-0000-000000001143",
},
"providerMessageId": {
- "id": "00000000-0000-0000-0000-000000001138",
+ "id": "00000000-0000-0000-0000-000000001150",
},
"recipientEmail": {
- "id": "00000000-0000-0000-0000-000000001132",
+ "id": "00000000-0000-0000-0000-000000001144",
},
"rejectedAt": {
- "id": "00000000-0000-0000-0000-000000001143",
+ "id": "00000000-0000-0000-0000-000000001155",
},
"renderingFailedAt": {
- "id": "00000000-0000-0000-0000-000000001144",
+ "id": "00000000-0000-0000-0000-000000001156",
},
"sentAt": {
- "id": "00000000-0000-0000-0000-000000001139",
+ "id": "00000000-0000-0000-0000-000000001151",
},
"skipReason": {
- "id": "00000000-0000-0000-0000-000000001134",
+ "id": "00000000-0000-0000-0000-000000001146",
},
"state": {
- "id": "00000000-0000-0000-0000-000000001133",
+ "id": "00000000-0000-0000-0000-000000001145",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000001128",
+ "id": "00000000-0000-0000-0000-000000001140",
},
},
- "id": "00000000-0000-0000-0000-000000001145",
+ "id": "00000000-0000-0000-0000-000000001157",
"views": undefined,
},
"company": {
@@ -1402,118 +1402,118 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"message": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000506",
+ "id": "00000000-0000-0000-0000-000000000518",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000509",
+ "id": "00000000-0000-0000-0000-000000000521",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000508",
+ "id": "00000000-0000-0000-0000-000000000520",
},
"headerMessageId": {
- "id": "00000000-0000-0000-0000-000000000513",
+ "id": "00000000-0000-0000-0000-000000000525",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000505",
+ "id": "00000000-0000-0000-0000-000000000517",
},
"isDraft": {
- "id": "00000000-0000-0000-0000-000000000521",
+ "id": "00000000-0000-0000-0000-000000000533",
},
"messageCampaign": {
- "id": "00000000-0000-0000-0000-000000000520",
+ "id": "00000000-0000-0000-0000-000000000532",
},
"messageChannelMessageAssociations": {
- "id": "00000000-0000-0000-0000-000000000519",
+ "id": "00000000-0000-0000-0000-000000000531",
},
"messageParticipants": {
- "id": "00000000-0000-0000-0000-000000000518",
+ "id": "00000000-0000-0000-0000-000000000530",
},
"messageThread": {
- "id": "00000000-0000-0000-0000-000000000514",
+ "id": "00000000-0000-0000-0000-000000000526",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000511",
+ "id": "00000000-0000-0000-0000-000000000523",
},
"receivedAt": {
- "id": "00000000-0000-0000-0000-000000000517",
+ "id": "00000000-0000-0000-0000-000000000529",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000512",
+ "id": "00000000-0000-0000-0000-000000000524",
},
"subject": {
- "id": "00000000-0000-0000-0000-000000000515",
+ "id": "00000000-0000-0000-0000-000000000527",
},
"text": {
- "id": "00000000-0000-0000-0000-000000000516",
+ "id": "00000000-0000-0000-0000-000000000528",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000507",
+ "id": "00000000-0000-0000-0000-000000000519",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000510",
+ "id": "00000000-0000-0000-0000-000000000522",
},
},
- "id": "00000000-0000-0000-0000-000000000540",
+ "id": "00000000-0000-0000-0000-000000000552",
"views": {
"allMessages": {
- "id": "00000000-0000-0000-0000-000000000529",
+ "id": "00000000-0000-0000-0000-000000000541",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000528",
+ "id": "00000000-0000-0000-0000-000000000540",
},
"headerMessageId": {
- "id": "00000000-0000-0000-0000-000000000526",
+ "id": "00000000-0000-0000-0000-000000000538",
},
"messageParticipants": {
- "id": "00000000-0000-0000-0000-000000000524",
+ "id": "00000000-0000-0000-0000-000000000536",
},
"messageThread": {
- "id": "00000000-0000-0000-0000-000000000523",
+ "id": "00000000-0000-0000-0000-000000000535",
},
"receivedAt": {
- "id": "00000000-0000-0000-0000-000000000525",
+ "id": "00000000-0000-0000-0000-000000000537",
},
"subject": {
- "id": "00000000-0000-0000-0000-000000000522",
+ "id": "00000000-0000-0000-0000-000000000534",
},
"text": {
- "id": "00000000-0000-0000-0000-000000000527",
+ "id": "00000000-0000-0000-0000-000000000539",
},
},
"viewGroups": {},
},
"messageRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000539",
+ "id": "00000000-0000-0000-0000-000000000551",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000537",
+ "id": "00000000-0000-0000-0000-000000000549",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000538",
+ "id": "00000000-0000-0000-0000-000000000550",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000535",
+ "id": "00000000-0000-0000-0000-000000000547",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000536",
+ "id": "00000000-0000-0000-0000-000000000548",
},
"headerMessageId": {
- "id": "00000000-0000-0000-0000-000000000534",
+ "id": "00000000-0000-0000-0000-000000000546",
},
"messageParticipants": {
- "id": "00000000-0000-0000-0000-000000000531",
+ "id": "00000000-0000-0000-0000-000000000543",
},
"messageThread": {
- "id": "00000000-0000-0000-0000-000000000530",
+ "id": "00000000-0000-0000-0000-000000000542",
},
"receivedAt": {
- "id": "00000000-0000-0000-0000-000000000532",
+ "id": "00000000-0000-0000-0000-000000000544",
},
"text": {
- "id": "00000000-0000-0000-0000-000000000533",
+ "id": "00000000-0000-0000-0000-000000000545",
},
},
"viewGroups": {},
@@ -1528,6 +1528,9 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"bouncedCount": {
"id": "00000000-0000-0000-0000-000000000313",
},
+ "clickRate": {
+ "id": "00000000-0000-0000-0000-000000000317",
+ },
"complainedCount": {
"id": "00000000-0000-0000-0000-000000000314",
},
@@ -1553,19 +1556,22 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"id": "00000000-0000-0000-0000-000000000295",
},
"list": {
- "id": "00000000-0000-0000-0000-000000000317",
+ "id": "00000000-0000-0000-0000-000000000321",
},
"messages": {
- "id": "00000000-0000-0000-0000-000000000319",
+ "id": "00000000-0000-0000-0000-000000000323",
},
"name": {
"id": "00000000-0000-0000-0000-000000000303",
},
+ "openRate": {
+ "id": "00000000-0000-0000-0000-000000000319",
+ },
"position": {
"id": "00000000-0000-0000-0000-000000000301",
},
"recipients": {
- "id": "00000000-0000-0000-0000-000000000320",
+ "id": "00000000-0000-0000-0000-000000000324",
},
"scheduledAt": {
"id": "00000000-0000-0000-0000-000000000308",
@@ -1589,10 +1595,16 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"id": "00000000-0000-0000-0000-000000000304",
},
"timelineActivities": {
+ "id": "00000000-0000-0000-0000-000000000322",
+ },
+ "uniqueClickCount": {
+ "id": "00000000-0000-0000-0000-000000000316",
+ },
+ "uniqueOpenCount": {
"id": "00000000-0000-0000-0000-000000000318",
},
"unsubscribeTopicId": {
- "id": "00000000-0000-0000-0000-000000000316",
+ "id": "00000000-0000-0000-0000-000000000320",
},
"updatedAt": {
"id": "00000000-0000-0000-0000-000000000297",
@@ -1601,94 +1613,118 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"id": "00000000-0000-0000-0000-000000000300",
},
},
- "id": "00000000-0000-0000-0000-000000000348",
+ "id": "00000000-0000-0000-0000-000000000360",
"views": {
"allMessageCampaigns": {
- "id": "00000000-0000-0000-0000-000000000336",
+ "id": "00000000-0000-0000-0000-000000000344",
"viewFieldGroups": {},
"viewFields": {
"bouncedCount": {
- "id": "00000000-0000-0000-0000-000000000332",
+ "id": "00000000-0000-0000-0000-000000000336",
+ },
+ "clickRate": {
+ "id": "00000000-0000-0000-0000-000000000341",
},
"complainedCount": {
- "id": "00000000-0000-0000-0000-000000000333",
+ "id": "00000000-0000-0000-0000-000000000337",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000335",
+ "id": "00000000-0000-0000-0000-000000000339",
},
"deliveredCount": {
- "id": "00000000-0000-0000-0000-000000000329",
+ "id": "00000000-0000-0000-0000-000000000333",
},
"failedCount": {
- "id": "00000000-0000-0000-0000-000000000330",
+ "id": "00000000-0000-0000-0000-000000000334",
},
"fromAddress": {
- "id": "00000000-0000-0000-0000-000000000325",
+ "id": "00000000-0000-0000-0000-000000000329",
},
"list": {
- "id": "00000000-0000-0000-0000-000000000324",
+ "id": "00000000-0000-0000-0000-000000000328",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000321",
+ "id": "00000000-0000-0000-0000-000000000325",
+ },
+ "openRate": {
+ "id": "00000000-0000-0000-0000-000000000343",
},
"recipients": {
- "id": "00000000-0000-0000-0000-000000000334",
+ "id": "00000000-0000-0000-0000-000000000338",
},
"scheduledAt": {
- "id": "00000000-0000-0000-0000-000000000326",
+ "id": "00000000-0000-0000-0000-000000000330",
},
"sentAt": {
- "id": "00000000-0000-0000-0000-000000000327",
+ "id": "00000000-0000-0000-0000-000000000331",
},
"sentCount": {
- "id": "00000000-0000-0000-0000-000000000328",
+ "id": "00000000-0000-0000-0000-000000000332",
},
"skippedCount": {
- "id": "00000000-0000-0000-0000-000000000331",
+ "id": "00000000-0000-0000-0000-000000000335",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000323",
+ "id": "00000000-0000-0000-0000-000000000327",
},
"subject": {
- "id": "00000000-0000-0000-0000-000000000322",
+ "id": "00000000-0000-0000-0000-000000000326",
+ },
+ "uniqueClickCount": {
+ "id": "00000000-0000-0000-0000-000000000340",
+ },
+ "uniqueOpenCount": {
+ "id": "00000000-0000-0000-0000-000000000342",
},
},
"viewGroups": {},
},
"messageCampaignRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000347",
+ "id": "00000000-0000-0000-0000-000000000359",
"viewFieldGroups": {
"stats": {
- "id": "00000000-0000-0000-0000-000000000346",
+ "id": "00000000-0000-0000-0000-000000000358",
},
},
"viewFields": {
"bouncedCount": {
- "id": "00000000-0000-0000-0000-000000000344",
+ "id": "00000000-0000-0000-0000-000000000352",
+ },
+ "clickRate": {
+ "id": "00000000-0000-0000-0000-000000000355",
},
"complainedCount": {
- "id": "00000000-0000-0000-0000-000000000345",
+ "id": "00000000-0000-0000-0000-000000000353",
},
"deliveredCount": {
- "id": "00000000-0000-0000-0000-000000000341",
+ "id": "00000000-0000-0000-0000-000000000349",
},
"failedCount": {
- "id": "00000000-0000-0000-0000-000000000342",
+ "id": "00000000-0000-0000-0000-000000000350",
+ },
+ "openRate": {
+ "id": "00000000-0000-0000-0000-000000000357",
},
"scheduledAt": {
- "id": "00000000-0000-0000-0000-000000000338",
+ "id": "00000000-0000-0000-0000-000000000346",
},
"sentAt": {
- "id": "00000000-0000-0000-0000-000000000339",
+ "id": "00000000-0000-0000-0000-000000000347",
},
"sentCount": {
- "id": "00000000-0000-0000-0000-000000000340",
+ "id": "00000000-0000-0000-0000-000000000348",
},
"skippedCount": {
- "id": "00000000-0000-0000-0000-000000000343",
+ "id": "00000000-0000-0000-0000-000000000351",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000337",
+ "id": "00000000-0000-0000-0000-000000000345",
+ },
+ "uniqueClickCount": {
+ "id": "00000000-0000-0000-0000-000000000354",
+ },
+ "uniqueOpenCount": {
+ "id": "00000000-0000-0000-0000-000000000356",
},
},
"viewGroups": {},
@@ -1698,103 +1734,103 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"messageChannelMessageAssociation": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000386",
+ "id": "00000000-0000-0000-0000-000000000398",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000389",
+ "id": "00000000-0000-0000-0000-000000000401",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000388",
+ "id": "00000000-0000-0000-0000-000000000400",
},
"direction": {
- "id": "00000000-0000-0000-0000-000000000398",
+ "id": "00000000-0000-0000-0000-000000000410",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000385",
+ "id": "00000000-0000-0000-0000-000000000397",
},
"message": {
- "id": "00000000-0000-0000-0000-000000000394",
+ "id": "00000000-0000-0000-0000-000000000406",
},
"messageChannelId": {
- "id": "00000000-0000-0000-0000-000000000393",
+ "id": "00000000-0000-0000-0000-000000000405",
},
"messageExternalId": {
- "id": "00000000-0000-0000-0000-000000000395",
+ "id": "00000000-0000-0000-0000-000000000407",
},
"messageFolders": {
- "id": "00000000-0000-0000-0000-000000000399",
+ "id": "00000000-0000-0000-0000-000000000411",
},
"messageThread": {
- "id": "00000000-0000-0000-0000-000000000396",
+ "id": "00000000-0000-0000-0000-000000000408",
},
"messageThreadExternalId": {
- "id": "00000000-0000-0000-0000-000000000397",
+ "id": "00000000-0000-0000-0000-000000000409",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000391",
+ "id": "00000000-0000-0000-0000-000000000403",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000392",
+ "id": "00000000-0000-0000-0000-000000000404",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000387",
+ "id": "00000000-0000-0000-0000-000000000399",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000390",
+ "id": "00000000-0000-0000-0000-000000000402",
},
},
- "id": "00000000-0000-0000-0000-000000000415",
+ "id": "00000000-0000-0000-0000-000000000427",
"views": {
"allMessageChannelMessageAssociations": {
- "id": "00000000-0000-0000-0000-000000000405",
+ "id": "00000000-0000-0000-0000-000000000417",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000404",
+ "id": "00000000-0000-0000-0000-000000000416",
},
"direction": {
- "id": "00000000-0000-0000-0000-000000000403",
+ "id": "00000000-0000-0000-0000-000000000415",
},
"message": {
- "id": "00000000-0000-0000-0000-000000000401",
+ "id": "00000000-0000-0000-0000-000000000413",
},
"messageChannelId": {
- "id": "00000000-0000-0000-0000-000000000400",
+ "id": "00000000-0000-0000-0000-000000000412",
},
"messageExternalId": {
- "id": "00000000-0000-0000-0000-000000000402",
+ "id": "00000000-0000-0000-0000-000000000414",
},
},
"viewGroups": {},
},
"messageChannelMessageAssociationRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000414",
+ "id": "00000000-0000-0000-0000-000000000426",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000412",
+ "id": "00000000-0000-0000-0000-000000000424",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000413",
+ "id": "00000000-0000-0000-0000-000000000425",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000410",
+ "id": "00000000-0000-0000-0000-000000000422",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000411",
+ "id": "00000000-0000-0000-0000-000000000423",
},
"direction": {
- "id": "00000000-0000-0000-0000-000000000409",
+ "id": "00000000-0000-0000-0000-000000000421",
},
"message": {
- "id": "00000000-0000-0000-0000-000000000407",
+ "id": "00000000-0000-0000-0000-000000000419",
},
"messageChannelId": {
- "id": "00000000-0000-0000-0000-000000000406",
+ "id": "00000000-0000-0000-0000-000000000418",
},
"messageExternalId": {
- "id": "00000000-0000-0000-0000-000000000408",
+ "id": "00000000-0000-0000-0000-000000000420",
},
},
"viewGroups": {},
@@ -1804,76 +1840,76 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"messageChannelMessageAssociationMessageFolder": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000417",
+ "id": "00000000-0000-0000-0000-000000000429",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000420",
+ "id": "00000000-0000-0000-0000-000000000432",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000419",
+ "id": "00000000-0000-0000-0000-000000000431",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000416",
+ "id": "00000000-0000-0000-0000-000000000428",
},
"messageChannelMessageAssociation": {
- "id": "00000000-0000-0000-0000-000000000424",
+ "id": "00000000-0000-0000-0000-000000000436",
},
"messageFolderId": {
- "id": "00000000-0000-0000-0000-000000000425",
+ "id": "00000000-0000-0000-0000-000000000437",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000422",
+ "id": "00000000-0000-0000-0000-000000000434",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000423",
+ "id": "00000000-0000-0000-0000-000000000435",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000418",
+ "id": "00000000-0000-0000-0000-000000000430",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000421",
+ "id": "00000000-0000-0000-0000-000000000433",
},
},
- "id": "00000000-0000-0000-0000-000000000437",
+ "id": "00000000-0000-0000-0000-000000000449",
"views": {
"allMessageChannelMessageAssociationMessageFolders": {
- "id": "00000000-0000-0000-0000-000000000429",
+ "id": "00000000-0000-0000-0000-000000000441",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000428",
+ "id": "00000000-0000-0000-0000-000000000440",
},
"messageChannelMessageAssociation": {
- "id": "00000000-0000-0000-0000-000000000426",
+ "id": "00000000-0000-0000-0000-000000000438",
},
"messageFolderId": {
- "id": "00000000-0000-0000-0000-000000000427",
+ "id": "00000000-0000-0000-0000-000000000439",
},
},
"viewGroups": {},
},
"messageChannelMessageAssociationMessageFolderRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000436",
+ "id": "00000000-0000-0000-0000-000000000448",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000434",
+ "id": "00000000-0000-0000-0000-000000000446",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000435",
+ "id": "00000000-0000-0000-0000-000000000447",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000432",
+ "id": "00000000-0000-0000-0000-000000000444",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000433",
+ "id": "00000000-0000-0000-0000-000000000445",
},
"messageChannelMessageAssociation": {
- "id": "00000000-0000-0000-0000-000000000430",
+ "id": "00000000-0000-0000-0000-000000000442",
},
"messageFolderId": {
- "id": "00000000-0000-0000-0000-000000000431",
+ "id": "00000000-0000-0000-0000-000000000443",
},
},
"viewGroups": {},
@@ -1883,65 +1919,65 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"messageList": {
"fields": {
"campaigns": {
- "id": "00000000-0000-0000-0000-000000000360",
+ "id": "00000000-0000-0000-0000-000000000372",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000350",
+ "id": "00000000-0000-0000-0000-000000000362",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000353",
+ "id": "00000000-0000-0000-0000-000000000365",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000352",
+ "id": "00000000-0000-0000-0000-000000000364",
},
"description": {
- "id": "00000000-0000-0000-0000-000000000358",
+ "id": "00000000-0000-0000-0000-000000000370",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000349",
+ "id": "00000000-0000-0000-0000-000000000361",
},
"members": {
- "id": "00000000-0000-0000-0000-000000000359",
+ "id": "00000000-0000-0000-0000-000000000371",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000357",
+ "id": "00000000-0000-0000-0000-000000000369",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000355",
+ "id": "00000000-0000-0000-0000-000000000367",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000356",
+ "id": "00000000-0000-0000-0000-000000000368",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000361",
+ "id": "00000000-0000-0000-0000-000000000373",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000351",
+ "id": "00000000-0000-0000-0000-000000000363",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000354",
+ "id": "00000000-0000-0000-0000-000000000366",
},
},
- "id": "00000000-0000-0000-0000-000000000368",
+ "id": "00000000-0000-0000-0000-000000000380",
"views": {
"allMessageLists": {
- "id": "00000000-0000-0000-0000-000000000367",
+ "id": "00000000-0000-0000-0000-000000000379",
"viewFieldGroups": {},
"viewFields": {
"campaigns": {
- "id": "00000000-0000-0000-0000-000000000365",
+ "id": "00000000-0000-0000-0000-000000000377",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000366",
+ "id": "00000000-0000-0000-0000-000000000378",
},
"description": {
- "id": "00000000-0000-0000-0000-000000000363",
+ "id": "00000000-0000-0000-0000-000000000375",
},
"members": {
- "id": "00000000-0000-0000-0000-000000000364",
+ "id": "00000000-0000-0000-0000-000000000376",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000362",
+ "id": "00000000-0000-0000-0000-000000000374",
},
},
"viewGroups": {},
@@ -1951,53 +1987,53 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"messageListMember": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000370",
+ "id": "00000000-0000-0000-0000-000000000382",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000373",
+ "id": "00000000-0000-0000-0000-000000000385",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000372",
+ "id": "00000000-0000-0000-0000-000000000384",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000369",
+ "id": "00000000-0000-0000-0000-000000000381",
},
"list": {
- "id": "00000000-0000-0000-0000-000000000378",
+ "id": "00000000-0000-0000-0000-000000000390",
},
"person": {
- "id": "00000000-0000-0000-0000-000000000377",
+ "id": "00000000-0000-0000-0000-000000000389",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000375",
+ "id": "00000000-0000-0000-0000-000000000387",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000376",
+ "id": "00000000-0000-0000-0000-000000000388",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000371",
+ "id": "00000000-0000-0000-0000-000000000383",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000374",
+ "id": "00000000-0000-0000-0000-000000000386",
},
},
- "id": "00000000-0000-0000-0000-000000000384",
+ "id": "00000000-0000-0000-0000-000000000396",
"views": {
"allMessageListMembers": {
- "id": "00000000-0000-0000-0000-000000000383",
+ "id": "00000000-0000-0000-0000-000000000395",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000382",
+ "id": "00000000-0000-0000-0000-000000000394",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000379",
+ "id": "00000000-0000-0000-0000-000000000391",
},
"list": {
- "id": "00000000-0000-0000-0000-000000000381",
+ "id": "00000000-0000-0000-0000-000000000393",
},
"person": {
- "id": "00000000-0000-0000-0000-000000000380",
+ "id": "00000000-0000-0000-0000-000000000392",
},
},
"viewGroups": {},
@@ -2007,112 +2043,112 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"messageParticipant": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000439",
+ "id": "00000000-0000-0000-0000-000000000451",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000442",
+ "id": "00000000-0000-0000-0000-000000000454",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000441",
+ "id": "00000000-0000-0000-0000-000000000453",
},
"displayName": {
- "id": "00000000-0000-0000-0000-000000000449",
+ "id": "00000000-0000-0000-0000-000000000461",
},
"handle": {
- "id": "00000000-0000-0000-0000-000000000448",
+ "id": "00000000-0000-0000-0000-000000000460",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000438",
+ "id": "00000000-0000-0000-0000-000000000450",
},
"message": {
- "id": "00000000-0000-0000-0000-000000000446",
+ "id": "00000000-0000-0000-0000-000000000458",
},
"messageCampaign": {
- "id": "00000000-0000-0000-0000-000000000452",
+ "id": "00000000-0000-0000-0000-000000000464",
},
"person": {
- "id": "00000000-0000-0000-0000-000000000450",
+ "id": "00000000-0000-0000-0000-000000000462",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000444",
+ "id": "00000000-0000-0000-0000-000000000456",
},
"role": {
- "id": "00000000-0000-0000-0000-000000000447",
+ "id": "00000000-0000-0000-0000-000000000459",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000445",
+ "id": "00000000-0000-0000-0000-000000000457",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000440",
+ "id": "00000000-0000-0000-0000-000000000452",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000443",
+ "id": "00000000-0000-0000-0000-000000000455",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000451",
+ "id": "00000000-0000-0000-0000-000000000463",
},
},
- "id": "00000000-0000-0000-0000-000000000471",
+ "id": "00000000-0000-0000-0000-000000000483",
"views": {
"allMessageParticipants": {
- "id": "00000000-0000-0000-0000-000000000460",
+ "id": "00000000-0000-0000-0000-000000000472",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000459",
+ "id": "00000000-0000-0000-0000-000000000471",
},
"displayName": {
- "id": "00000000-0000-0000-0000-000000000456",
+ "id": "00000000-0000-0000-0000-000000000468",
},
"handle": {
- "id": "00000000-0000-0000-0000-000000000455",
+ "id": "00000000-0000-0000-0000-000000000467",
},
"message": {
- "id": "00000000-0000-0000-0000-000000000453",
+ "id": "00000000-0000-0000-0000-000000000465",
},
"person": {
- "id": "00000000-0000-0000-0000-000000000457",
+ "id": "00000000-0000-0000-0000-000000000469",
},
"role": {
- "id": "00000000-0000-0000-0000-000000000454",
+ "id": "00000000-0000-0000-0000-000000000466",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000458",
+ "id": "00000000-0000-0000-0000-000000000470",
},
},
"viewGroups": {},
},
"messageParticipantRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000470",
+ "id": "00000000-0000-0000-0000-000000000482",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000468",
+ "id": "00000000-0000-0000-0000-000000000480",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000469",
+ "id": "00000000-0000-0000-0000-000000000481",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000466",
+ "id": "00000000-0000-0000-0000-000000000478",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000467",
+ "id": "00000000-0000-0000-0000-000000000479",
},
"displayName": {
- "id": "00000000-0000-0000-0000-000000000463",
+ "id": "00000000-0000-0000-0000-000000000475",
},
"message": {
- "id": "00000000-0000-0000-0000-000000000461",
+ "id": "00000000-0000-0000-0000-000000000473",
},
"person": {
- "id": "00000000-0000-0000-0000-000000000464",
+ "id": "00000000-0000-0000-0000-000000000476",
},
"role": {
- "id": "00000000-0000-0000-0000-000000000462",
+ "id": "00000000-0000-0000-0000-000000000474",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000465",
+ "id": "00000000-0000-0000-0000-000000000477",
},
},
"viewGroups": {},
@@ -2122,92 +2158,92 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"messageSuppression": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000001147",
+ "id": "00000000-0000-0000-0000-000000001159",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000001149",
+ "id": "00000000-0000-0000-0000-000000001161",
},
"emailAddress": {
- "id": "00000000-0000-0000-0000-000000001150",
+ "id": "00000000-0000-0000-0000-000000001162",
},
"id": {
- "id": "00000000-0000-0000-0000-000000001146",
+ "id": "00000000-0000-0000-0000-000000001158",
},
"providerEventId": {
- "id": "00000000-0000-0000-0000-000000001153",
+ "id": "00000000-0000-0000-0000-000000001165",
},
"reason": {
- "id": "00000000-0000-0000-0000-000000001151",
+ "id": "00000000-0000-0000-0000-000000001163",
},
"source": {
- "id": "00000000-0000-0000-0000-000000001152",
+ "id": "00000000-0000-0000-0000-000000001164",
},
"unsubscribeTopicId": {
- "id": "00000000-0000-0000-0000-000000001154",
+ "id": "00000000-0000-0000-0000-000000001166",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000001148",
+ "id": "00000000-0000-0000-0000-000000001160",
},
},
- "id": "00000000-0000-0000-0000-000000001155",
+ "id": "00000000-0000-0000-0000-000000001167",
"views": undefined,
},
"messageThread": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000473",
+ "id": "00000000-0000-0000-0000-000000000485",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000476",
+ "id": "00000000-0000-0000-0000-000000000488",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000475",
+ "id": "00000000-0000-0000-0000-000000000487",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000472",
+ "id": "00000000-0000-0000-0000-000000000484",
},
"messageChannelMessageAssociations": {
- "id": "00000000-0000-0000-0000-000000000481",
+ "id": "00000000-0000-0000-0000-000000000493",
},
"messageThreadTargets": {
- "id": "00000000-0000-0000-0000-000000000483",
+ "id": "00000000-0000-0000-0000-000000000495",
},
"messages": {
- "id": "00000000-0000-0000-0000-000000000480",
+ "id": "00000000-0000-0000-0000-000000000492",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000478",
+ "id": "00000000-0000-0000-0000-000000000490",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000479",
+ "id": "00000000-0000-0000-0000-000000000491",
},
"subject": {
- "id": "00000000-0000-0000-0000-000000000482",
+ "id": "00000000-0000-0000-0000-000000000494",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000474",
+ "id": "00000000-0000-0000-0000-000000000486",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000477",
+ "id": "00000000-0000-0000-0000-000000000489",
},
},
- "id": "00000000-0000-0000-0000-000000000489",
+ "id": "00000000-0000-0000-0000-000000000501",
"views": {
"allMessageThreads": {
- "id": "00000000-0000-0000-0000-000000000488",
+ "id": "00000000-0000-0000-0000-000000000500",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000487",
+ "id": "00000000-0000-0000-0000-000000000499",
},
"messages": {
- "id": "00000000-0000-0000-0000-000000000485",
+ "id": "00000000-0000-0000-0000-000000000497",
},
"subject": {
- "id": "00000000-0000-0000-0000-000000000484",
+ "id": "00000000-0000-0000-0000-000000000496",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000486",
+ "id": "00000000-0000-0000-0000-000000000498",
},
},
"viewGroups": {},
@@ -2217,133 +2253,133 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"messageThreadTarget": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000491",
+ "id": "00000000-0000-0000-0000-000000000503",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000494",
+ "id": "00000000-0000-0000-0000-000000000506",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000493",
+ "id": "00000000-0000-0000-0000-000000000505",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000490",
+ "id": "00000000-0000-0000-0000-000000000502",
},
"isAutomaticallyAssigned": {
- "id": "00000000-0000-0000-0000-000000000499",
+ "id": "00000000-0000-0000-0000-000000000511",
},
"isManuallyAssigned": {
- "id": "00000000-0000-0000-0000-000000000500",
+ "id": "00000000-0000-0000-0000-000000000512",
},
"messageThread": {
- "id": "00000000-0000-0000-0000-000000000498",
+ "id": "00000000-0000-0000-0000-000000000510",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000496",
+ "id": "00000000-0000-0000-0000-000000000508",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000497",
+ "id": "00000000-0000-0000-0000-000000000509",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000502",
+ "id": "00000000-0000-0000-0000-000000000514",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000503",
+ "id": "00000000-0000-0000-0000-000000000515",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000501",
+ "id": "00000000-0000-0000-0000-000000000513",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000492",
+ "id": "00000000-0000-0000-0000-000000000504",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000495",
+ "id": "00000000-0000-0000-0000-000000000507",
},
},
- "id": "00000000-0000-0000-0000-000000000504",
+ "id": "00000000-0000-0000-0000-000000000516",
"views": {},
},
"note": {
"fields": {
"attachments": {
- "id": "00000000-0000-0000-0000-000000000552",
+ "id": "00000000-0000-0000-0000-000000000564",
},
"bodyV2": {
- "id": "00000000-0000-0000-0000-000000000550",
+ "id": "00000000-0000-0000-0000-000000000562",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000542",
+ "id": "00000000-0000-0000-0000-000000000554",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000545",
+ "id": "00000000-0000-0000-0000-000000000557",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000544",
+ "id": "00000000-0000-0000-0000-000000000556",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000541",
+ "id": "00000000-0000-0000-0000-000000000553",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000551",
+ "id": "00000000-0000-0000-0000-000000000563",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000547",
+ "id": "00000000-0000-0000-0000-000000000559",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000548",
+ "id": "00000000-0000-0000-0000-000000000560",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000553",
+ "id": "00000000-0000-0000-0000-000000000565",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000549",
+ "id": "00000000-0000-0000-0000-000000000561",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000543",
+ "id": "00000000-0000-0000-0000-000000000555",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000546",
+ "id": "00000000-0000-0000-0000-000000000558",
},
},
- "id": "00000000-0000-0000-0000-000000000565",
+ "id": "00000000-0000-0000-0000-000000000577",
"views": {
"allNotes": {
- "id": "00000000-0000-0000-0000-000000000559",
+ "id": "00000000-0000-0000-0000-000000000571",
"viewFieldGroups": {},
"viewFields": {
"bodyV2": {
- "id": "00000000-0000-0000-0000-000000000556",
+ "id": "00000000-0000-0000-0000-000000000568",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000558",
+ "id": "00000000-0000-0000-0000-000000000570",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000557",
+ "id": "00000000-0000-0000-0000-000000000569",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000555",
+ "id": "00000000-0000-0000-0000-000000000567",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000554",
+ "id": "00000000-0000-0000-0000-000000000566",
},
},
"viewGroups": {},
},
"noteRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000564",
+ "id": "00000000-0000-0000-0000-000000000576",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000563",
+ "id": "00000000-0000-0000-0000-000000000575",
},
},
"viewFields": {
"attachments": {
- "id": "00000000-0000-0000-0000-000000000561",
+ "id": "00000000-0000-0000-0000-000000000573",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000560",
+ "id": "00000000-0000-0000-0000-000000000572",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000562",
+ "id": "00000000-0000-0000-0000-000000000574",
},
},
"viewGroups": {},
@@ -2353,62 +2389,62 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"noteTarget": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000567",
+ "id": "00000000-0000-0000-0000-000000000579",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000570",
+ "id": "00000000-0000-0000-0000-000000000582",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000569",
+ "id": "00000000-0000-0000-0000-000000000581",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000566",
+ "id": "00000000-0000-0000-0000-000000000578",
},
"note": {
- "id": "00000000-0000-0000-0000-000000000574",
+ "id": "00000000-0000-0000-0000-000000000586",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000572",
+ "id": "00000000-0000-0000-0000-000000000584",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000573",
+ "id": "00000000-0000-0000-0000-000000000585",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000576",
+ "id": "00000000-0000-0000-0000-000000000588",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000577",
+ "id": "00000000-0000-0000-0000-000000000589",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000575",
+ "id": "00000000-0000-0000-0000-000000000587",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000568",
+ "id": "00000000-0000-0000-0000-000000000580",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000571",
+ "id": "00000000-0000-0000-0000-000000000583",
},
},
- "id": "00000000-0000-0000-0000-000000000584",
+ "id": "00000000-0000-0000-0000-000000000596",
"views": {
"allNoteTargets": {
- "id": "00000000-0000-0000-0000-000000000583",
+ "id": "00000000-0000-0000-0000-000000000595",
"viewFieldGroups": {},
"viewFields": {
"id": {
- "id": "00000000-0000-0000-0000-000000000578",
+ "id": "00000000-0000-0000-0000-000000000590",
},
"note": {
- "id": "00000000-0000-0000-0000-000000000579",
+ "id": "00000000-0000-0000-0000-000000000591",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000581",
+ "id": "00000000-0000-0000-0000-000000000593",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000582",
+ "id": "00000000-0000-0000-0000-000000000594",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000580",
+ "id": "00000000-0000-0000-0000-000000000592",
},
},
"viewGroups": {},
@@ -2418,195 +2454,195 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"opportunity": {
"fields": {
"agentChatThreadTargets": {
- "id": "00000000-0000-0000-0000-000000000602",
+ "id": "00000000-0000-0000-0000-000000000614",
},
"amount": {
- "id": "00000000-0000-0000-0000-000000000594",
+ "id": "00000000-0000-0000-0000-000000000606",
},
"attachments": {
- "id": "00000000-0000-0000-0000-000000000605",
+ "id": "00000000-0000-0000-0000-000000000617",
},
"calendarEventTargets": {
- "id": "00000000-0000-0000-0000-000000000603",
+ "id": "00000000-0000-0000-0000-000000000615",
},
"closeDate": {
- "id": "00000000-0000-0000-0000-000000000595",
+ "id": "00000000-0000-0000-0000-000000000607",
},
"company": {
- "id": "00000000-0000-0000-0000-000000000598",
+ "id": "00000000-0000-0000-0000-000000000610",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000586",
+ "id": "00000000-0000-0000-0000-000000000598",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000589",
+ "id": "00000000-0000-0000-0000-000000000601",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000588",
+ "id": "00000000-0000-0000-0000-000000000600",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000585",
+ "id": "00000000-0000-0000-0000-000000000597",
},
"messageThreadTargets": {
- "id": "00000000-0000-0000-0000-000000000604",
+ "id": "00000000-0000-0000-0000-000000000616",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000593",
+ "id": "00000000-0000-0000-0000-000000000605",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000601",
+ "id": "00000000-0000-0000-0000-000000000613",
},
"owner": {
- "id": "00000000-0000-0000-0000-000000000599",
+ "id": "00000000-0000-0000-0000-000000000611",
},
"pointOfContact": {
- "id": "00000000-0000-0000-0000-000000000597",
+ "id": "00000000-0000-0000-0000-000000000609",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000591",
+ "id": "00000000-0000-0000-0000-000000000603",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000592",
+ "id": "00000000-0000-0000-0000-000000000604",
},
"stage": {
- "id": "00000000-0000-0000-0000-000000000596",
+ "id": "00000000-0000-0000-0000-000000000608",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000600",
+ "id": "00000000-0000-0000-0000-000000000612",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000606",
+ "id": "00000000-0000-0000-0000-000000000618",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000587",
+ "id": "00000000-0000-0000-0000-000000000599",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000590",
+ "id": "00000000-0000-0000-0000-000000000602",
},
},
- "id": "00000000-0000-0000-0000-000000000644",
+ "id": "00000000-0000-0000-0000-000000000656",
"views": {
"allOpportunities": {
- "id": "00000000-0000-0000-0000-000000000613",
+ "id": "00000000-0000-0000-0000-000000000625",
"viewFieldGroups": {},
"viewFields": {
"amount": {
- "id": "00000000-0000-0000-0000-000000000608",
+ "id": "00000000-0000-0000-0000-000000000620",
},
"closeDate": {
- "id": "00000000-0000-0000-0000-000000000610",
+ "id": "00000000-0000-0000-0000-000000000622",
},
"company": {
- "id": "00000000-0000-0000-0000-000000000611",
+ "id": "00000000-0000-0000-0000-000000000623",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000609",
+ "id": "00000000-0000-0000-0000-000000000621",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000607",
+ "id": "00000000-0000-0000-0000-000000000619",
},
"pointOfContact": {
- "id": "00000000-0000-0000-0000-000000000612",
+ "id": "00000000-0000-0000-0000-000000000624",
},
},
"viewGroups": {},
},
"byStage": {
- "id": "00000000-0000-0000-0000-000000000625",
+ "id": "00000000-0000-0000-0000-000000000637",
"viewFieldGroups": {},
"viewFields": {
"amount": {
- "id": "00000000-0000-0000-0000-000000000615",
+ "id": "00000000-0000-0000-0000-000000000627",
},
"closeDate": {
- "id": "00000000-0000-0000-0000-000000000617",
+ "id": "00000000-0000-0000-0000-000000000629",
},
"company": {
- "id": "00000000-0000-0000-0000-000000000618",
+ "id": "00000000-0000-0000-0000-000000000630",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000616",
+ "id": "00000000-0000-0000-0000-000000000628",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000614",
+ "id": "00000000-0000-0000-0000-000000000626",
},
"pointOfContact": {
- "id": "00000000-0000-0000-0000-000000000619",
+ "id": "00000000-0000-0000-0000-000000000631",
},
},
"viewGroups": {
"customer": {
- "id": "00000000-0000-0000-0000-000000000624",
+ "id": "00000000-0000-0000-0000-000000000636",
},
"meeting": {
- "id": "00000000-0000-0000-0000-000000000622",
+ "id": "00000000-0000-0000-0000-000000000634",
},
"new": {
- "id": "00000000-0000-0000-0000-000000000620",
+ "id": "00000000-0000-0000-0000-000000000632",
},
"proposal": {
- "id": "00000000-0000-0000-0000-000000000623",
+ "id": "00000000-0000-0000-0000-000000000635",
},
"screening": {
- "id": "00000000-0000-0000-0000-000000000621",
+ "id": "00000000-0000-0000-0000-000000000633",
},
},
},
"opportunityRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000643",
+ "id": "00000000-0000-0000-0000-000000000655",
"viewFieldGroups": {
"deal": {
- "id": "00000000-0000-0000-0000-000000000640",
+ "id": "00000000-0000-0000-0000-000000000652",
},
"relations": {
- "id": "00000000-0000-0000-0000-000000000641",
+ "id": "00000000-0000-0000-0000-000000000653",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000642",
+ "id": "00000000-0000-0000-0000-000000000654",
},
},
"viewFields": {
"amount": {
- "id": "00000000-0000-0000-0000-000000000626",
+ "id": "00000000-0000-0000-0000-000000000638",
},
"attachments": {
- "id": "00000000-0000-0000-0000-000000000638",
+ "id": "00000000-0000-0000-0000-000000000650",
},
"closeDate": {
- "id": "00000000-0000-0000-0000-000000000627",
+ "id": "00000000-0000-0000-0000-000000000639",
},
"company": {
- "id": "00000000-0000-0000-0000-000000000629",
+ "id": "00000000-0000-0000-0000-000000000641",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000632",
+ "id": "00000000-0000-0000-0000-000000000644",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000633",
+ "id": "00000000-0000-0000-0000-000000000645",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000637",
+ "id": "00000000-0000-0000-0000-000000000649",
},
"owner": {
- "id": "00000000-0000-0000-0000-000000000631",
+ "id": "00000000-0000-0000-0000-000000000643",
},
"pointOfContact": {
- "id": "00000000-0000-0000-0000-000000000630",
+ "id": "00000000-0000-0000-0000-000000000642",
},
"stage": {
- "id": "00000000-0000-0000-0000-000000000628",
+ "id": "00000000-0000-0000-0000-000000000640",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000636",
+ "id": "00000000-0000-0000-0000-000000000648",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000639",
+ "id": "00000000-0000-0000-0000-000000000651",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000634",
+ "id": "00000000-0000-0000-0000-000000000646",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000635",
+ "id": "00000000-0000-0000-0000-000000000647",
},
},
"viewGroups": {},
@@ -2616,206 +2652,206 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"person": {
"fields": {
"agentChatThreadTargets": {
- "id": "00000000-0000-0000-0000-000000000664",
+ "id": "00000000-0000-0000-0000-000000000676",
},
"attachments": {
- "id": "00000000-0000-0000-0000-000000000667",
+ "id": "00000000-0000-0000-0000-000000000679",
},
"avatarFile": {
- "id": "00000000-0000-0000-0000-000000000659",
+ "id": "00000000-0000-0000-0000-000000000671",
},
"avatarUrl": {
- "id": "00000000-0000-0000-0000-000000000658",
+ "id": "00000000-0000-0000-0000-000000000670",
},
"calendarEventParticipants": {
- "id": "00000000-0000-0000-0000-000000000669",
+ "id": "00000000-0000-0000-0000-000000000681",
},
"calendarEventTargets": {
- "id": "00000000-0000-0000-0000-000000000665",
+ "id": "00000000-0000-0000-0000-000000000677",
},
"company": {
- "id": "00000000-0000-0000-0000-000000000660",
+ "id": "00000000-0000-0000-0000-000000000672",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000646",
+ "id": "00000000-0000-0000-0000-000000000658",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000649",
+ "id": "00000000-0000-0000-0000-000000000661",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000648",
+ "id": "00000000-0000-0000-0000-000000000660",
},
"emails": {
- "id": "00000000-0000-0000-0000-000000000654",
+ "id": "00000000-0000-0000-0000-000000000666",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000645",
+ "id": "00000000-0000-0000-0000-000000000657",
},
"jobTitle": {
- "id": "00000000-0000-0000-0000-000000000656",
+ "id": "00000000-0000-0000-0000-000000000668",
},
"linkedinLink": {
- "id": "00000000-0000-0000-0000-000000000655",
+ "id": "00000000-0000-0000-0000-000000000667",
},
"listMemberships": {
- "id": "00000000-0000-0000-0000-000000000671",
+ "id": "00000000-0000-0000-0000-000000000683",
},
"messageParticipants": {
- "id": "00000000-0000-0000-0000-000000000668",
+ "id": "00000000-0000-0000-0000-000000000680",
},
"messageThreadTargets": {
- "id": "00000000-0000-0000-0000-000000000666",
+ "id": "00000000-0000-0000-0000-000000000678",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000653",
+ "id": "00000000-0000-0000-0000-000000000665",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000663",
+ "id": "00000000-0000-0000-0000-000000000675",
},
"phones": {
- "id": "00000000-0000-0000-0000-000000000657",
+ "id": "00000000-0000-0000-0000-000000000669",
},
"pointOfContactForOpportunities": {
- "id": "00000000-0000-0000-0000-000000000661",
+ "id": "00000000-0000-0000-0000-000000000673",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000651",
+ "id": "00000000-0000-0000-0000-000000000663",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000652",
+ "id": "00000000-0000-0000-0000-000000000664",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000662",
+ "id": "00000000-0000-0000-0000-000000000674",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000670",
+ "id": "00000000-0000-0000-0000-000000000682",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000647",
+ "id": "00000000-0000-0000-0000-000000000659",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000650",
+ "id": "00000000-0000-0000-0000-000000000662",
},
},
- "id": "00000000-0000-0000-0000-000000000708",
+ "id": "00000000-0000-0000-0000-000000000720",
"views": {
"allPeople": {
- "id": "00000000-0000-0000-0000-000000000680",
+ "id": "00000000-0000-0000-0000-000000000692",
"viewFieldGroups": {},
"viewFields": {
"company": {
- "id": "00000000-0000-0000-0000-000000000675",
+ "id": "00000000-0000-0000-0000-000000000687",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000677",
+ "id": "00000000-0000-0000-0000-000000000689",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000674",
+ "id": "00000000-0000-0000-0000-000000000686",
},
"emails": {
- "id": "00000000-0000-0000-0000-000000000673",
+ "id": "00000000-0000-0000-0000-000000000685",
},
"jobTitle": {
- "id": "00000000-0000-0000-0000-000000000678",
+ "id": "00000000-0000-0000-0000-000000000690",
},
"linkedinLink": {
- "id": "00000000-0000-0000-0000-000000000679",
+ "id": "00000000-0000-0000-0000-000000000691",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000672",
+ "id": "00000000-0000-0000-0000-000000000684",
},
"phones": {
- "id": "00000000-0000-0000-0000-000000000676",
+ "id": "00000000-0000-0000-0000-000000000688",
},
},
"viewGroups": {},
},
"messageListRecordPageMembers": {
- "id": "00000000-0000-0000-0000-000000000707",
+ "id": "00000000-0000-0000-0000-000000000719",
"viewFieldGroups": {},
"viewFields": {
"company": {
- "id": "00000000-0000-0000-0000-000000000706",
+ "id": "00000000-0000-0000-0000-000000000718",
},
"emails": {
- "id": "00000000-0000-0000-0000-000000000705",
+ "id": "00000000-0000-0000-0000-000000000717",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000704",
+ "id": "00000000-0000-0000-0000-000000000716",
},
},
"viewGroups": {},
},
"personRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000703",
+ "id": "00000000-0000-0000-0000-000000000715",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000699",
+ "id": "00000000-0000-0000-0000-000000000711",
},
"social": {
- "id": "00000000-0000-0000-0000-000000000701",
+ "id": "00000000-0000-0000-0000-000000000713",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000702",
+ "id": "00000000-0000-0000-0000-000000000714",
},
"work": {
- "id": "00000000-0000-0000-0000-000000000700",
+ "id": "00000000-0000-0000-0000-000000000712",
},
},
"viewFields": {
"attachments": {
- "id": "00000000-0000-0000-0000-000000000695",
+ "id": "00000000-0000-0000-0000-000000000707",
},
"avatarFile": {
- "id": "00000000-0000-0000-0000-000000000691",
+ "id": "00000000-0000-0000-0000-000000000703",
},
"avatarUrl": {
- "id": "00000000-0000-0000-0000-000000000686",
+ "id": "00000000-0000-0000-0000-000000000698",
},
"calendarEventParticipants": {
- "id": "00000000-0000-0000-0000-000000000697",
+ "id": "00000000-0000-0000-0000-000000000709",
},
"company": {
- "id": "00000000-0000-0000-0000-000000000683",
+ "id": "00000000-0000-0000-0000-000000000695",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000687",
+ "id": "00000000-0000-0000-0000-000000000699",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000688",
+ "id": "00000000-0000-0000-0000-000000000700",
},
"emails": {
- "id": "00000000-0000-0000-0000-000000000681",
+ "id": "00000000-0000-0000-0000-000000000693",
},
"jobTitle": {
- "id": "00000000-0000-0000-0000-000000000684",
+ "id": "00000000-0000-0000-0000-000000000696",
},
"linkedinLink": {
- "id": "00000000-0000-0000-0000-000000000685",
+ "id": "00000000-0000-0000-0000-000000000697",
},
"messageParticipants": {
- "id": "00000000-0000-0000-0000-000000000696",
+ "id": "00000000-0000-0000-0000-000000000708",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000694",
+ "id": "00000000-0000-0000-0000-000000000706",
},
"phones": {
- "id": "00000000-0000-0000-0000-000000000682",
+ "id": "00000000-0000-0000-0000-000000000694",
},
"pointOfContactForOpportunities": {
- "id": "00000000-0000-0000-0000-000000000692",
+ "id": "00000000-0000-0000-0000-000000000704",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000693",
+ "id": "00000000-0000-0000-0000-000000000705",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000698",
+ "id": "00000000-0000-0000-0000-000000000710",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000689",
+ "id": "00000000-0000-0000-0000-000000000701",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000690",
+ "id": "00000000-0000-0000-0000-000000000702",
},
},
"viewGroups": {},
@@ -2825,275 +2861,275 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"recordShare": {
"fields": {
"accessLevel": {
- "id": "00000000-0000-0000-0000-000000000721",
+ "id": "00000000-0000-0000-0000-000000000733",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000710",
+ "id": "00000000-0000-0000-0000-000000000722",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000713",
+ "id": "00000000-0000-0000-0000-000000000725",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000712",
+ "id": "00000000-0000-0000-0000-000000000724",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000709",
+ "id": "00000000-0000-0000-0000-000000000721",
},
"objectMetadataId": {
- "id": "00000000-0000-0000-0000-000000000718",
+ "id": "00000000-0000-0000-0000-000000000730",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000715",
+ "id": "00000000-0000-0000-0000-000000000727",
},
"principalId": {
- "id": "00000000-0000-0000-0000-000000000719",
+ "id": "00000000-0000-0000-0000-000000000731",
},
"principalType": {
- "id": "00000000-0000-0000-0000-000000000720",
+ "id": "00000000-0000-0000-0000-000000000732",
},
"recordId": {
- "id": "00000000-0000-0000-0000-000000000717",
+ "id": "00000000-0000-0000-0000-000000000729",
},
"rowCause": {
- "id": "00000000-0000-0000-0000-000000000722",
+ "id": "00000000-0000-0000-0000-000000000734",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000716",
+ "id": "00000000-0000-0000-0000-000000000728",
},
"sourceId": {
- "id": "00000000-0000-0000-0000-000000000723",
+ "id": "00000000-0000-0000-0000-000000000735",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000711",
+ "id": "00000000-0000-0000-0000-000000000723",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000714",
+ "id": "00000000-0000-0000-0000-000000000726",
},
},
- "id": "00000000-0000-0000-0000-000000000724",
+ "id": "00000000-0000-0000-0000-000000000736",
"views": {},
},
"shortLink": {
"fields": {
"authoredTemplateUrl": {
- "id": "00000000-0000-0000-0000-000000000733",
+ "id": "00000000-0000-0000-0000-000000000745",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000726",
+ "id": "00000000-0000-0000-0000-000000000738",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000729",
+ "id": "00000000-0000-0000-0000-000000000741",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000728",
+ "id": "00000000-0000-0000-0000-000000000740",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000725",
+ "id": "00000000-0000-0000-0000-000000000737",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000731",
+ "id": "00000000-0000-0000-0000-000000000743",
},
"resolvedDestinationUrl": {
- "id": "00000000-0000-0000-0000-000000000734",
+ "id": "00000000-0000-0000-0000-000000000746",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000732",
+ "id": "00000000-0000-0000-0000-000000000744",
},
"templateAndResolvedUrlHash": {
- "id": "00000000-0000-0000-0000-000000000735",
+ "id": "00000000-0000-0000-0000-000000000747",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000727",
+ "id": "00000000-0000-0000-0000-000000000739",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000730",
+ "id": "00000000-0000-0000-0000-000000000742",
},
},
- "id": "00000000-0000-0000-0000-000000000736",
+ "id": "00000000-0000-0000-0000-000000000748",
"views": {},
},
"task": {
"fields": {
"assignee": {
- "id": "00000000-0000-0000-0000-000000000751",
+ "id": "00000000-0000-0000-0000-000000000763",
},
"attachments": {
- "id": "00000000-0000-0000-0000-000000000750",
+ "id": "00000000-0000-0000-0000-000000000762",
},
"bodyV2": {
- "id": "00000000-0000-0000-0000-000000000746",
+ "id": "00000000-0000-0000-0000-000000000758",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000738",
+ "id": "00000000-0000-0000-0000-000000000750",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000741",
+ "id": "00000000-0000-0000-0000-000000000753",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000740",
+ "id": "00000000-0000-0000-0000-000000000752",
},
"dueAt": {
- "id": "00000000-0000-0000-0000-000000000747",
+ "id": "00000000-0000-0000-0000-000000000759",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000737",
+ "id": "00000000-0000-0000-0000-000000000749",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000743",
+ "id": "00000000-0000-0000-0000-000000000755",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000744",
+ "id": "00000000-0000-0000-0000-000000000756",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000748",
+ "id": "00000000-0000-0000-0000-000000000760",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000749",
+ "id": "00000000-0000-0000-0000-000000000761",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000752",
+ "id": "00000000-0000-0000-0000-000000000764",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000745",
+ "id": "00000000-0000-0000-0000-000000000757",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000739",
+ "id": "00000000-0000-0000-0000-000000000751",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000742",
+ "id": "00000000-0000-0000-0000-000000000754",
},
},
- "id": "00000000-0000-0000-0000-000000000791",
+ "id": "00000000-0000-0000-0000-000000000803",
"views": {
"allTasks": {
- "id": "00000000-0000-0000-0000-000000000761",
+ "id": "00000000-0000-0000-0000-000000000773",
"viewFieldGroups": {},
"viewFields": {
"assignee": {
- "id": "00000000-0000-0000-0000-000000000758",
+ "id": "00000000-0000-0000-0000-000000000770",
},
"bodyV2": {
- "id": "00000000-0000-0000-0000-000000000759",
+ "id": "00000000-0000-0000-0000-000000000771",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000760",
+ "id": "00000000-0000-0000-0000-000000000772",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000756",
+ "id": "00000000-0000-0000-0000-000000000768",
},
"dueAt": {
- "id": "00000000-0000-0000-0000-000000000757",
+ "id": "00000000-0000-0000-0000-000000000769",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000754",
+ "id": "00000000-0000-0000-0000-000000000766",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000755",
+ "id": "00000000-0000-0000-0000-000000000767",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000753",
+ "id": "00000000-0000-0000-0000-000000000765",
},
},
"viewGroups": {},
},
"assignedToMe": {
- "id": "00000000-0000-0000-0000-000000000773",
+ "id": "00000000-0000-0000-0000-000000000785",
"viewFieldGroups": {},
"viewFields": {
"assignee": {
- "id": "00000000-0000-0000-0000-000000000766",
+ "id": "00000000-0000-0000-0000-000000000778",
},
"bodyV2": {
- "id": "00000000-0000-0000-0000-000000000767",
+ "id": "00000000-0000-0000-0000-000000000779",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000768",
+ "id": "00000000-0000-0000-0000-000000000780",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000764",
+ "id": "00000000-0000-0000-0000-000000000776",
},
"dueAt": {
- "id": "00000000-0000-0000-0000-000000000765",
+ "id": "00000000-0000-0000-0000-000000000777",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000763",
+ "id": "00000000-0000-0000-0000-000000000775",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000762",
+ "id": "00000000-0000-0000-0000-000000000774",
},
},
"viewGroups": {
"done": {
- "id": "00000000-0000-0000-0000-000000000771",
+ "id": "00000000-0000-0000-0000-000000000783",
},
"empty": {
- "id": "00000000-0000-0000-0000-000000000772",
+ "id": "00000000-0000-0000-0000-000000000784",
},
"inProgress": {
- "id": "00000000-0000-0000-0000-000000000770",
+ "id": "00000000-0000-0000-0000-000000000782",
},
"todo": {
- "id": "00000000-0000-0000-0000-000000000769",
+ "id": "00000000-0000-0000-0000-000000000781",
},
},
},
"byStatus": {
- "id": "00000000-0000-0000-0000-000000000782",
+ "id": "00000000-0000-0000-0000-000000000794",
"viewFieldGroups": {},
"viewFields": {
"assignee": {
- "id": "00000000-0000-0000-0000-000000000777",
+ "id": "00000000-0000-0000-0000-000000000789",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000778",
+ "id": "00000000-0000-0000-0000-000000000790",
},
"dueAt": {
- "id": "00000000-0000-0000-0000-000000000776",
+ "id": "00000000-0000-0000-0000-000000000788",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000775",
+ "id": "00000000-0000-0000-0000-000000000787",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000774",
+ "id": "00000000-0000-0000-0000-000000000786",
},
},
"viewGroups": {
"done": {
- "id": "00000000-0000-0000-0000-000000000781",
+ "id": "00000000-0000-0000-0000-000000000793",
},
"inProgress": {
- "id": "00000000-0000-0000-0000-000000000780",
+ "id": "00000000-0000-0000-0000-000000000792",
},
"todo": {
- "id": "00000000-0000-0000-0000-000000000779",
+ "id": "00000000-0000-0000-0000-000000000791",
},
},
},
"taskRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000790",
+ "id": "00000000-0000-0000-0000-000000000802",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000789",
+ "id": "00000000-0000-0000-0000-000000000801",
},
},
"viewFields": {
"assignee": {
- "id": "00000000-0000-0000-0000-000000000785",
+ "id": "00000000-0000-0000-0000-000000000797",
},
"attachments": {
- "id": "00000000-0000-0000-0000-000000000787",
+ "id": "00000000-0000-0000-0000-000000000799",
},
"dueAt": {
- "id": "00000000-0000-0000-0000-000000000783",
+ "id": "00000000-0000-0000-0000-000000000795",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000784",
+ "id": "00000000-0000-0000-0000-000000000796",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000786",
+ "id": "00000000-0000-0000-0000-000000000798",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000788",
+ "id": "00000000-0000-0000-0000-000000000800",
},
},
"viewGroups": {},
@@ -3103,62 +3139,62 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"taskTarget": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000793",
+ "id": "00000000-0000-0000-0000-000000000805",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000796",
+ "id": "00000000-0000-0000-0000-000000000808",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000795",
+ "id": "00000000-0000-0000-0000-000000000807",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000792",
+ "id": "00000000-0000-0000-0000-000000000804",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000798",
+ "id": "00000000-0000-0000-0000-000000000810",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000799",
+ "id": "00000000-0000-0000-0000-000000000811",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000802",
+ "id": "00000000-0000-0000-0000-000000000814",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000803",
+ "id": "00000000-0000-0000-0000-000000000815",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000801",
+ "id": "00000000-0000-0000-0000-000000000813",
},
"task": {
- "id": "00000000-0000-0000-0000-000000000800",
+ "id": "00000000-0000-0000-0000-000000000812",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000794",
+ "id": "00000000-0000-0000-0000-000000000806",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000797",
+ "id": "00000000-0000-0000-0000-000000000809",
},
},
- "id": "00000000-0000-0000-0000-000000000810",
+ "id": "00000000-0000-0000-0000-000000000822",
"views": {
"allTaskTargets": {
- "id": "00000000-0000-0000-0000-000000000809",
+ "id": "00000000-0000-0000-0000-000000000821",
"viewFieldGroups": {},
"viewFields": {
"id": {
- "id": "00000000-0000-0000-0000-000000000804",
+ "id": "00000000-0000-0000-0000-000000000816",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000807",
+ "id": "00000000-0000-0000-0000-000000000819",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000808",
+ "id": "00000000-0000-0000-0000-000000000820",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000806",
+ "id": "00000000-0000-0000-0000-000000000818",
},
"task": {
- "id": "00000000-0000-0000-0000-000000000805",
+ "id": "00000000-0000-0000-0000-000000000817",
},
},
"viewGroups": {},
@@ -3168,128 +3204,128 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"timelineActivity": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000812",
+ "id": "00000000-0000-0000-0000-000000000824",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000815",
+ "id": "00000000-0000-0000-0000-000000000827",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000814",
+ "id": "00000000-0000-0000-0000-000000000826",
},
"happensAt": {
- "id": "00000000-0000-0000-0000-000000000821",
+ "id": "00000000-0000-0000-0000-000000000833",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000811",
+ "id": "00000000-0000-0000-0000-000000000823",
},
"linkedObjectMetadataId": {
- "id": "00000000-0000-0000-0000-000000000837",
+ "id": "00000000-0000-0000-0000-000000000849",
},
"linkedRecordCachedName": {
- "id": "00000000-0000-0000-0000-000000000835",
+ "id": "00000000-0000-0000-0000-000000000847",
},
"linkedRecordId": {
- "id": "00000000-0000-0000-0000-000000000836",
+ "id": "00000000-0000-0000-0000-000000000848",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000817",
+ "id": "00000000-0000-0000-0000-000000000829",
},
"properties": {
- "id": "00000000-0000-0000-0000-000000000822",
+ "id": "00000000-0000-0000-0000-000000000834",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000818",
+ "id": "00000000-0000-0000-0000-000000000830",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000825",
+ "id": "00000000-0000-0000-0000-000000000837",
},
"targetDashboard": {
- "id": "00000000-0000-0000-0000-000000000832",
+ "id": "00000000-0000-0000-0000-000000000844",
},
"targetMessageCampaign": {
- "id": "00000000-0000-0000-0000-000000000834",
+ "id": "00000000-0000-0000-0000-000000000846",
},
"targetMessageList": {
- "id": "00000000-0000-0000-0000-000000000833",
+ "id": "00000000-0000-0000-0000-000000000845",
},
"targetNote": {
- "id": "00000000-0000-0000-0000-000000000828",
+ "id": "00000000-0000-0000-0000-000000000840",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000826",
+ "id": "00000000-0000-0000-0000-000000000838",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000824",
+ "id": "00000000-0000-0000-0000-000000000836",
},
"targetTask": {
- "id": "00000000-0000-0000-0000-000000000827",
+ "id": "00000000-0000-0000-0000-000000000839",
},
"targetWorkflow": {
- "id": "00000000-0000-0000-0000-000000000829",
+ "id": "00000000-0000-0000-0000-000000000841",
},
"targetWorkflowRun": {
- "id": "00000000-0000-0000-0000-000000000831",
+ "id": "00000000-0000-0000-0000-000000000843",
},
"targetWorkflowVersion": {
- "id": "00000000-0000-0000-0000-000000000830",
+ "id": "00000000-0000-0000-0000-000000000842",
},
"timelineActivityTypeId": {
- "id": "00000000-0000-0000-0000-000000000819",
+ "id": "00000000-0000-0000-0000-000000000831",
},
"timelineActivityTypeSnapshot": {
- "id": "00000000-0000-0000-0000-000000000820",
+ "id": "00000000-0000-0000-0000-000000000832",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000813",
+ "id": "00000000-0000-0000-0000-000000000825",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000816",
+ "id": "00000000-0000-0000-0000-000000000828",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000823",
+ "id": "00000000-0000-0000-0000-000000000835",
},
},
- "id": "00000000-0000-0000-0000-000000000851",
+ "id": "00000000-0000-0000-0000-000000000863",
"views": {
"allTimelineActivities": {
- "id": "00000000-0000-0000-0000-000000000850",
+ "id": "00000000-0000-0000-0000-000000000862",
"viewFieldGroups": {},
"viewFields": {
"happensAt": {
- "id": "00000000-0000-0000-0000-000000000839",
+ "id": "00000000-0000-0000-0000-000000000851",
},
"linkedRecordCachedName": {
- "id": "00000000-0000-0000-0000-000000000838",
+ "id": "00000000-0000-0000-0000-000000000850",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000842",
+ "id": "00000000-0000-0000-0000-000000000854",
},
"targetDashboard": {
- "id": "00000000-0000-0000-0000-000000000849",
+ "id": "00000000-0000-0000-0000-000000000861",
},
"targetNote": {
- "id": "00000000-0000-0000-0000-000000000845",
+ "id": "00000000-0000-0000-0000-000000000857",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000843",
+ "id": "00000000-0000-0000-0000-000000000855",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000841",
+ "id": "00000000-0000-0000-0000-000000000853",
},
"targetTask": {
- "id": "00000000-0000-0000-0000-000000000844",
+ "id": "00000000-0000-0000-0000-000000000856",
},
"targetWorkflow": {
- "id": "00000000-0000-0000-0000-000000000846",
+ "id": "00000000-0000-0000-0000-000000000858",
},
"targetWorkflowRun": {
- "id": "00000000-0000-0000-0000-000000000848",
+ "id": "00000000-0000-0000-0000-000000000860",
},
"targetWorkflowVersion": {
- "id": "00000000-0000-0000-0000-000000000847",
+ "id": "00000000-0000-0000-0000-000000000859",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000840",
+ "id": "00000000-0000-0000-0000-000000000852",
},
},
"viewGroups": {},
@@ -3299,80 +3335,80 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"workflow": {
"fields": {
"attachments": {
- "id": "00000000-0000-0000-0000-000000000868",
+ "id": "00000000-0000-0000-0000-000000000880",
},
"automatedTriggers": {
- "id": "00000000-0000-0000-0000-000000000866",
+ "id": "00000000-0000-0000-0000-000000000878",
},
"coreWorkflowId": {
- "id": "00000000-0000-0000-0000-000000000862",
+ "id": "00000000-0000-0000-0000-000000000874",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000853",
+ "id": "00000000-0000-0000-0000-000000000865",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000856",
+ "id": "00000000-0000-0000-0000-000000000868",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000855",
+ "id": "00000000-0000-0000-0000-000000000867",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000852",
+ "id": "00000000-0000-0000-0000-000000000864",
},
"lastPublishedVersionId": {
- "id": "00000000-0000-0000-0000-000000000861",
+ "id": "00000000-0000-0000-0000-000000000873",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000860",
+ "id": "00000000-0000-0000-0000-000000000872",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000858",
+ "id": "00000000-0000-0000-0000-000000000870",
},
"runs": {
- "id": "00000000-0000-0000-0000-000000000865",
+ "id": "00000000-0000-0000-0000-000000000877",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000859",
+ "id": "00000000-0000-0000-0000-000000000871",
},
"statuses": {
- "id": "00000000-0000-0000-0000-000000000863",
+ "id": "00000000-0000-0000-0000-000000000875",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000867",
+ "id": "00000000-0000-0000-0000-000000000879",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000854",
+ "id": "00000000-0000-0000-0000-000000000866",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000857",
+ "id": "00000000-0000-0000-0000-000000000869",
},
"versions": {
- "id": "00000000-0000-0000-0000-000000000864",
+ "id": "00000000-0000-0000-0000-000000000876",
},
},
- "id": "00000000-0000-0000-0000-000000000876",
+ "id": "00000000-0000-0000-0000-000000000888",
"views": {
"allWorkflows": {
- "id": "00000000-0000-0000-0000-000000000875",
+ "id": "00000000-0000-0000-0000-000000000887",
"viewFieldGroups": {},
"viewFields": {
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000872",
+ "id": "00000000-0000-0000-0000-000000000884",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000869",
+ "id": "00000000-0000-0000-0000-000000000881",
},
"runs": {
- "id": "00000000-0000-0000-0000-000000000874",
+ "id": "00000000-0000-0000-0000-000000000886",
},
"statuses": {
- "id": "00000000-0000-0000-0000-000000000870",
+ "id": "00000000-0000-0000-0000-000000000882",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000871",
+ "id": "00000000-0000-0000-0000-000000000883",
},
"versions": {
- "id": "00000000-0000-0000-0000-000000000873",
+ "id": "00000000-0000-0000-0000-000000000885",
},
},
"viewGroups": {},
@@ -3382,79 +3418,79 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"workflowAutomatedTrigger": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000878",
+ "id": "00000000-0000-0000-0000-000000000890",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000881",
+ "id": "00000000-0000-0000-0000-000000000893",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000880",
+ "id": "00000000-0000-0000-0000-000000000892",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000877",
+ "id": "00000000-0000-0000-0000-000000000889",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000883",
+ "id": "00000000-0000-0000-0000-000000000895",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000884",
+ "id": "00000000-0000-0000-0000-000000000896",
},
"settings": {
- "id": "00000000-0000-0000-0000-000000000886",
+ "id": "00000000-0000-0000-0000-000000000898",
},
"type": {
- "id": "00000000-0000-0000-0000-000000000885",
+ "id": "00000000-0000-0000-0000-000000000897",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000879",
+ "id": "00000000-0000-0000-0000-000000000891",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000882",
+ "id": "00000000-0000-0000-0000-000000000894",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000887",
+ "id": "00000000-0000-0000-0000-000000000899",
},
},
- "id": "00000000-0000-0000-0000-000000000899",
+ "id": "00000000-0000-0000-0000-000000000911",
"views": {
"allWorkflowAutomatedTriggers": {
- "id": "00000000-0000-0000-0000-000000000891",
+ "id": "00000000-0000-0000-0000-000000000903",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000890",
+ "id": "00000000-0000-0000-0000-000000000902",
},
"type": {
- "id": "00000000-0000-0000-0000-000000000888",
+ "id": "00000000-0000-0000-0000-000000000900",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000889",
+ "id": "00000000-0000-0000-0000-000000000901",
},
},
"viewGroups": {},
},
"workflowAutomatedTriggerRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000898",
+ "id": "00000000-0000-0000-0000-000000000910",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000896",
+ "id": "00000000-0000-0000-0000-000000000908",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000897",
+ "id": "00000000-0000-0000-0000-000000000909",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000894",
+ "id": "00000000-0000-0000-0000-000000000906",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000895",
+ "id": "00000000-0000-0000-0000-000000000907",
},
"type": {
- "id": "00000000-0000-0000-0000-000000000892",
+ "id": "00000000-0000-0000-0000-000000000904",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000893",
+ "id": "00000000-0000-0000-0000-000000000905",
},
},
"viewGroups": {},
@@ -3464,130 +3500,130 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"workflowRun": {
"fields": {
"coreWorkflowId": {
- "id": "00000000-0000-0000-0000-000000000917",
+ "id": "00000000-0000-0000-0000-000000000929",
},
"coreWorkflowVersionId": {
- "id": "00000000-0000-0000-0000-000000000918",
+ "id": "00000000-0000-0000-0000-000000000930",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000901",
+ "id": "00000000-0000-0000-0000-000000000913",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000904",
+ "id": "00000000-0000-0000-0000-000000000916",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000903",
+ "id": "00000000-0000-0000-0000-000000000915",
},
"endedAt": {
- "id": "00000000-0000-0000-0000-000000000913",
+ "id": "00000000-0000-0000-0000-000000000925",
},
"enqueuedAt": {
- "id": "00000000-0000-0000-0000-000000000911",
+ "id": "00000000-0000-0000-0000-000000000923",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000900",
+ "id": "00000000-0000-0000-0000-000000000912",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000908",
+ "id": "00000000-0000-0000-0000-000000000920",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000906",
+ "id": "00000000-0000-0000-0000-000000000918",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000907",
+ "id": "00000000-0000-0000-0000-000000000919",
},
"startedAt": {
- "id": "00000000-0000-0000-0000-000000000912",
+ "id": "00000000-0000-0000-0000-000000000924",
},
"state": {
- "id": "00000000-0000-0000-0000-000000000915",
+ "id": "00000000-0000-0000-0000-000000000927",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000914",
+ "id": "00000000-0000-0000-0000-000000000926",
},
"stepLogs": {
- "id": "00000000-0000-0000-0000-000000000916",
+ "id": "00000000-0000-0000-0000-000000000928",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000919",
+ "id": "00000000-0000-0000-0000-000000000931",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000902",
+ "id": "00000000-0000-0000-0000-000000000914",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000905",
+ "id": "00000000-0000-0000-0000-000000000917",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000910",
+ "id": "00000000-0000-0000-0000-000000000922",
},
"workflowVersion": {
- "id": "00000000-0000-0000-0000-000000000909",
+ "id": "00000000-0000-0000-0000-000000000921",
},
},
- "id": "00000000-0000-0000-0000-000000000939",
+ "id": "00000000-0000-0000-0000-000000000951",
"views": {
"allWorkflowRuns": {
- "id": "00000000-0000-0000-0000-000000000923",
+ "id": "00000000-0000-0000-0000-000000000935",
"viewFieldGroups": {},
"viewFields": {
"name": {
- "id": "00000000-0000-0000-0000-000000000920",
+ "id": "00000000-0000-0000-0000-000000000932",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000922",
+ "id": "00000000-0000-0000-0000-000000000934",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000921",
+ "id": "00000000-0000-0000-0000-000000000933",
},
},
"viewGroups": {},
},
"workflowRunRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000938",
+ "id": "00000000-0000-0000-0000-000000000950",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000936",
+ "id": "00000000-0000-0000-0000-000000000948",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000937",
+ "id": "00000000-0000-0000-0000-000000000949",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000929",
+ "id": "00000000-0000-0000-0000-000000000941",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000930",
+ "id": "00000000-0000-0000-0000-000000000942",
},
"endedAt": {
- "id": "00000000-0000-0000-0000-000000000928",
+ "id": "00000000-0000-0000-0000-000000000940",
},
"enqueuedAt": {
- "id": "00000000-0000-0000-0000-000000000931",
+ "id": "00000000-0000-0000-0000-000000000943",
},
"startedAt": {
- "id": "00000000-0000-0000-0000-000000000927",
+ "id": "00000000-0000-0000-0000-000000000939",
},
"state": {
- "id": "00000000-0000-0000-0000-000000000932",
+ "id": "00000000-0000-0000-0000-000000000944",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000924",
+ "id": "00000000-0000-0000-0000-000000000936",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000935",
+ "id": "00000000-0000-0000-0000-000000000947",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000933",
+ "id": "00000000-0000-0000-0000-000000000945",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000934",
+ "id": "00000000-0000-0000-0000-000000000946",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000925",
+ "id": "00000000-0000-0000-0000-000000000937",
},
"workflowVersion": {
- "id": "00000000-0000-0000-0000-000000000926",
+ "id": "00000000-0000-0000-0000-000000000938",
},
},
"viewGroups": {},
@@ -3597,118 +3633,118 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"workflowVersion": {
"fields": {
"coreWorkflowVersionId": {
- "id": "00000000-0000-0000-0000-000000000954",
+ "id": "00000000-0000-0000-0000-000000000966",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000941",
+ "id": "00000000-0000-0000-0000-000000000953",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000944",
+ "id": "00000000-0000-0000-0000-000000000956",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000943",
+ "id": "00000000-0000-0000-0000-000000000955",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000940",
+ "id": "00000000-0000-0000-0000-000000000952",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000948",
+ "id": "00000000-0000-0000-0000-000000000960",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000946",
+ "id": "00000000-0000-0000-0000-000000000958",
},
"runs": {
- "id": "00000000-0000-0000-0000-000000000952",
+ "id": "00000000-0000-0000-0000-000000000964",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000947",
+ "id": "00000000-0000-0000-0000-000000000959",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000951",
+ "id": "00000000-0000-0000-0000-000000000963",
},
"steps": {
- "id": "00000000-0000-0000-0000-000000000953",
+ "id": "00000000-0000-0000-0000-000000000965",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000955",
+ "id": "00000000-0000-0000-0000-000000000967",
},
"trigger": {
- "id": "00000000-0000-0000-0000-000000000950",
+ "id": "00000000-0000-0000-0000-000000000962",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000942",
+ "id": "00000000-0000-0000-0000-000000000954",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000945",
+ "id": "00000000-0000-0000-0000-000000000957",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000949",
+ "id": "00000000-0000-0000-0000-000000000961",
},
},
- "id": "00000000-0000-0000-0000-000000000975",
+ "id": "00000000-0000-0000-0000-000000000987",
"views": {
"allWorkflowVersions": {
- "id": "00000000-0000-0000-0000-000000000961",
+ "id": "00000000-0000-0000-0000-000000000973",
"viewFieldGroups": {},
"viewFields": {
"name": {
- "id": "00000000-0000-0000-0000-000000000956",
+ "id": "00000000-0000-0000-0000-000000000968",
},
"runs": {
- "id": "00000000-0000-0000-0000-000000000960",
+ "id": "00000000-0000-0000-0000-000000000972",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000958",
+ "id": "00000000-0000-0000-0000-000000000970",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000959",
+ "id": "00000000-0000-0000-0000-000000000971",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000957",
+ "id": "00000000-0000-0000-0000-000000000969",
},
},
"viewGroups": {},
},
"workflowVersionRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000974",
+ "id": "00000000-0000-0000-0000-000000000986",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000972",
+ "id": "00000000-0000-0000-0000-000000000984",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000973",
+ "id": "00000000-0000-0000-0000-000000000985",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000965",
+ "id": "00000000-0000-0000-0000-000000000977",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000967",
+ "id": "00000000-0000-0000-0000-000000000979",
},
"runs": {
- "id": "00000000-0000-0000-0000-000000000970",
+ "id": "00000000-0000-0000-0000-000000000982",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000962",
+ "id": "00000000-0000-0000-0000-000000000974",
},
"steps": {
- "id": "00000000-0000-0000-0000-000000000966",
+ "id": "00000000-0000-0000-0000-000000000978",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000971",
+ "id": "00000000-0000-0000-0000-000000000983",
},
"trigger": {
- "id": "00000000-0000-0000-0000-000000000964",
+ "id": "00000000-0000-0000-0000-000000000976",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000968",
+ "id": "00000000-0000-0000-0000-000000000980",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000969",
+ "id": "00000000-0000-0000-0000-000000000981",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000963",
+ "id": "00000000-0000-0000-0000-000000000975",
},
},
"viewGroups": {},
@@ -3718,122 +3754,122 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"workspaceMember": {
"fields": {
"accountOwnerForCompanies": {
- "id": "00000000-0000-0000-0000-000000000995",
+ "id": "00000000-0000-0000-0000-000000001007",
},
"agentChatThreadParticipants": {
- "id": "00000000-0000-0000-0000-000000001002",
+ "id": "00000000-0000-0000-0000-000000001014",
},
"agentChatThreads": {
- "id": "00000000-0000-0000-0000-000000001001",
+ "id": "00000000-0000-0000-0000-000000001013",
},
"agentMessages": {
- "id": "00000000-0000-0000-0000-000000001000",
+ "id": "00000000-0000-0000-0000-000000001012",
},
"assignedAgentChatThreads": {
- "id": "00000000-0000-0000-0000-000000001003",
+ "id": "00000000-0000-0000-0000-000000001015",
},
"assignedTasks": {
- "id": "00000000-0000-0000-0000-000000000993",
+ "id": "00000000-0000-0000-0000-000000001005",
},
"avatarUrl": {
- "id": "00000000-0000-0000-0000-000000000989",
+ "id": "00000000-0000-0000-0000-000000001001",
},
"blocklist": {
- "id": "00000000-0000-0000-0000-000000000997",
+ "id": "00000000-0000-0000-0000-000000001009",
},
"calendarEventParticipants": {
- "id": "00000000-0000-0000-0000-000000000998",
+ "id": "00000000-0000-0000-0000-000000001010",
},
"calendarStartDay": {
- "id": "00000000-0000-0000-0000-000000001007",
+ "id": "00000000-0000-0000-0000-000000001019",
},
"colorScheme": {
- "id": "00000000-0000-0000-0000-000000000985",
+ "id": "00000000-0000-0000-0000-000000000997",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000977",
+ "id": "00000000-0000-0000-0000-000000000989",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000980",
+ "id": "00000000-0000-0000-0000-000000000992",
},
"dateFormat": {
- "id": "00000000-0000-0000-0000-000000001005",
+ "id": "00000000-0000-0000-0000-000000001017",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000979",
+ "id": "00000000-0000-0000-0000-000000000991",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000976",
+ "id": "00000000-0000-0000-0000-000000000988",
},
"jobTitle": {
- "id": "00000000-0000-0000-0000-000000000991",
+ "id": "00000000-0000-0000-0000-000000001003",
},
"locale": {
- "id": "00000000-0000-0000-0000-000000000988",
+ "id": "00000000-0000-0000-0000-000000001000",
},
"messageParticipants": {
- "id": "00000000-0000-0000-0000-000000000996",
+ "id": "00000000-0000-0000-0000-000000001008",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000984",
+ "id": "00000000-0000-0000-0000-000000000996",
},
"numberFormat": {
- "id": "00000000-0000-0000-0000-000000001008",
+ "id": "00000000-0000-0000-0000-000000001020",
},
"openRecordIn": {
- "id": "00000000-0000-0000-0000-000000000987",
+ "id": "00000000-0000-0000-0000-000000000999",
},
"ownedOpportunities": {
- "id": "00000000-0000-0000-0000-000000000994",
+ "id": "00000000-0000-0000-0000-000000001006",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000982",
+ "id": "00000000-0000-0000-0000-000000000994",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000983",
+ "id": "00000000-0000-0000-0000-000000000995",
},
"timeFormat": {
- "id": "00000000-0000-0000-0000-000000001006",
+ "id": "00000000-0000-0000-0000-000000001018",
},
"timeZone": {
- "id": "00000000-0000-0000-0000-000000001004",
+ "id": "00000000-0000-0000-0000-000000001016",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000999",
+ "id": "00000000-0000-0000-0000-000000001011",
},
"uiScale": {
- "id": "00000000-0000-0000-0000-000000000986",
+ "id": "00000000-0000-0000-0000-000000000998",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000978",
+ "id": "00000000-0000-0000-0000-000000000990",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000981",
+ "id": "00000000-0000-0000-0000-000000000993",
},
"userEmail": {
- "id": "00000000-0000-0000-0000-000000000990",
+ "id": "00000000-0000-0000-0000-000000001002",
},
"userId": {
- "id": "00000000-0000-0000-0000-000000000992",
+ "id": "00000000-0000-0000-0000-000000001004",
},
},
- "id": "00000000-0000-0000-0000-000000001014",
+ "id": "00000000-0000-0000-0000-000000001026",
"views": {
"allWorkspaceMembers": {
- "id": "00000000-0000-0000-0000-000000001013",
+ "id": "00000000-0000-0000-0000-000000001025",
"viewFieldGroups": {},
"viewFields": {
"assignedTasks": {
- "id": "00000000-0000-0000-0000-000000001012",
+ "id": "00000000-0000-0000-0000-000000001024",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000001010",
+ "id": "00000000-0000-0000-0000-000000001022",
},
"name": {
- "id": "00000000-0000-0000-0000-000000001009",
+ "id": "00000000-0000-0000-0000-000000001021",
},
"ownedOpportunities": {
- "id": "00000000-0000-0000-0000-000000001011",
+ "id": "00000000-0000-0000-0000-000000001023",
},
},
"viewGroups": {},
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-campaign-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-campaign-standard-flat-field-metadata.util.ts
index 52d76547f1d..4e53b3211cc 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-campaign-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-campaign-standard-flat-field-metadata.util.ts
@@ -3,6 +3,7 @@ import { i18nLabel } from 'src/engine/workspace-manager/twenty-standard-applicat
import {
DateDisplayFormat,
FieldMetadataType,
+ NumberDataType,
RelationOnDeleteAction,
RelationType,
} from 'twenty-shared/types';
@@ -527,6 +528,96 @@ export const buildMessageCampaignStandardFlatFieldMetadatas = ({
defaultValue: 0,
},
}),
+ uniqueClickCount: createStandardFieldFlatMetadata({
+ ...base,
+ context: {
+ fieldName: 'uniqueClickCount',
+ type: FieldMetadataType.NUMBER,
+ label: i18nLabel(
+ msg({ message: `Unique clicks`, context: 'fieldMetadata.label' }),
+ ),
+ description: i18nLabel(
+ msg({
+ message: `Number of recipients who clicked a tracked link`,
+ context: 'fieldMetadata.description',
+ }),
+ ),
+ icon: 'IconClick',
+ isNullable: false,
+ isUIEditable: false,
+ defaultValue: 0,
+ },
+ }),
+ clickRate: createStandardFieldFlatMetadata({
+ ...base,
+ context: {
+ fieldName: 'clickRate',
+ type: FieldMetadataType.NUMBER,
+ label: i18nLabel(
+ msg({ message: `Click rate`, context: 'fieldMetadata.label' }),
+ ),
+ description: i18nLabel(
+ msg({
+ message: `Share of delivered recipients who clicked a tracked link`,
+ context: 'fieldMetadata.description',
+ }),
+ ),
+ icon: 'IconClick',
+ isNullable: false,
+ isUIEditable: false,
+ defaultValue: 0,
+ settings: {
+ dataType: NumberDataType.FLOAT,
+ decimals: 1,
+ type: 'percentage',
+ },
+ },
+ }),
+ uniqueOpenCount: createStandardFieldFlatMetadata({
+ ...base,
+ context: {
+ fieldName: 'uniqueOpenCount',
+ type: FieldMetadataType.NUMBER,
+ label: i18nLabel(
+ msg({ message: `Unique opens`, context: 'fieldMetadata.label' }),
+ ),
+ description: i18nLabel(
+ msg({
+ message: `Number of recipients who opened the email`,
+ context: 'fieldMetadata.description',
+ }),
+ ),
+ icon: 'IconEye',
+ isNullable: false,
+ isUIEditable: false,
+ defaultValue: 0,
+ },
+ }),
+ openRate: createStandardFieldFlatMetadata({
+ ...base,
+ context: {
+ fieldName: 'openRate',
+ type: FieldMetadataType.NUMBER,
+ label: i18nLabel(
+ msg({ message: `Open rate`, context: 'fieldMetadata.label' }),
+ ),
+ description: i18nLabel(
+ msg({
+ message: `Share of delivered recipients who opened the email, excluding Apple Mail privacy opens`,
+ context: 'fieldMetadata.description',
+ }),
+ ),
+ icon: 'IconEye',
+ isNullable: false,
+ isUIEditable: false,
+ defaultValue: 0,
+ settings: {
+ dataType: NumberDataType.FLOAT,
+ decimals: 1,
+ type: 'percentage',
+ },
+ },
+ }),
unsubscribeTopicId: createStandardFieldFlatMetadata({
...base,
context: {
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-campaign-view-fields.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-campaign-view-fields.util.ts
index 7cc79b4cf88..b92e9a8e471 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-campaign-view-fields.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-campaign-view-fields.util.ts
@@ -164,6 +164,54 @@ export const computeStandardMessageCampaignViewFields = (
size: 120,
},
}),
+ allMessageCampaignsUniqueClickCount: createStandardViewFieldFlatMetadata({
+ ...args,
+ objectName: 'messageCampaign',
+ context: {
+ viewName: 'allMessageCampaigns',
+ viewFieldName: 'uniqueClickCount',
+ fieldName: 'uniqueClickCount',
+ position: 15,
+ isVisible: true,
+ size: 120,
+ },
+ }),
+ allMessageCampaignsClickRate: createStandardViewFieldFlatMetadata({
+ ...args,
+ objectName: 'messageCampaign',
+ context: {
+ viewName: 'allMessageCampaigns',
+ viewFieldName: 'clickRate',
+ fieldName: 'clickRate',
+ position: 16,
+ isVisible: true,
+ size: 120,
+ },
+ }),
+ allMessageCampaignsUniqueOpenCount: createStandardViewFieldFlatMetadata({
+ ...args,
+ objectName: 'messageCampaign',
+ context: {
+ viewName: 'allMessageCampaigns',
+ viewFieldName: 'uniqueOpenCount',
+ fieldName: 'uniqueOpenCount',
+ position: 17,
+ isVisible: true,
+ size: 120,
+ },
+ }),
+ allMessageCampaignsOpenRate: createStandardViewFieldFlatMetadata({
+ ...args,
+ objectName: 'messageCampaign',
+ context: {
+ viewName: 'allMessageCampaigns',
+ viewFieldName: 'openRate',
+ fieldName: 'openRate',
+ position: 18,
+ isVisible: true,
+ size: 120,
+ },
+ }),
allMessageCampaignsRecipients: createStandardViewFieldFlatMetadata({
...args,
objectName: 'messageCampaign',
@@ -313,5 +361,61 @@ export const computeStandardMessageCampaignViewFields = (
viewFieldGroupName: 'stats',
},
}),
+ messageCampaignRecordPageFieldsUniqueClickCount:
+ createStandardViewFieldFlatMetadata({
+ ...args,
+ objectName: 'messageCampaign',
+ context: {
+ viewName: 'messageCampaignRecordPageFields',
+ viewFieldName: 'uniqueClickCount',
+ fieldName: 'uniqueClickCount',
+ position: 9,
+ isVisible: true,
+ size: 120,
+ viewFieldGroupName: 'stats',
+ },
+ }),
+ messageCampaignRecordPageFieldsClickRate:
+ createStandardViewFieldFlatMetadata({
+ ...args,
+ objectName: 'messageCampaign',
+ context: {
+ viewName: 'messageCampaignRecordPageFields',
+ viewFieldName: 'clickRate',
+ fieldName: 'clickRate',
+ position: 10,
+ isVisible: true,
+ size: 120,
+ viewFieldGroupName: 'stats',
+ },
+ }),
+ messageCampaignRecordPageFieldsUniqueOpenCount:
+ createStandardViewFieldFlatMetadata({
+ ...args,
+ objectName: 'messageCampaign',
+ context: {
+ viewName: 'messageCampaignRecordPageFields',
+ viewFieldName: 'uniqueOpenCount',
+ fieldName: 'uniqueOpenCount',
+ position: 11,
+ isVisible: true,
+ size: 120,
+ viewFieldGroupName: 'stats',
+ },
+ }),
+ messageCampaignRecordPageFieldsOpenRate:
+ createStandardViewFieldFlatMetadata({
+ ...args,
+ objectName: 'messageCampaign',
+ context: {
+ viewName: 'messageCampaignRecordPageFields',
+ viewFieldName: 'openRate',
+ fieldName: 'openRate',
+ position: 12,
+ isVisible: true,
+ size: 120,
+ viewFieldGroupName: 'stats',
+ },
+ }),
};
};
diff --git a/packages/twenty-server/src/modules/emailing/constants/message-view-table.constant.ts b/packages/twenty-server/src/modules/emailing/constants/message-view-table.constant.ts
new file mode 100644
index 00000000000..a192785cc0e
--- /dev/null
+++ b/packages/twenty-server/src/modules/emailing/constants/message-view-table.constant.ts
@@ -0,0 +1 @@
+export const MESSAGE_VIEW_TABLE = 'messageView';
diff --git a/packages/twenty-server/src/modules/emailing/services/campaign-engagement-event.service.ts b/packages/twenty-server/src/modules/emailing/services/campaign-engagement-event.service.ts
index 69748ea3cdf..a60a467bfd9 100644
--- a/packages/twenty-server/src/modules/emailing/services/campaign-engagement-event.service.ts
+++ b/packages/twenty-server/src/modules/emailing/services/campaign-engagement-event.service.ts
@@ -5,8 +5,10 @@ import { isDefined } from 'twenty-shared/utils';
import { ClickHouseService } from 'src/database/clickhouse/clickhouse.service';
import { formatDateTimeForClickHouse } from 'src/database/clickhouse/utils/format-date-time-for-clickhouse.util';
import { CAMPAIGN_ENGAGEMENT_INSERT_BUSY_TIMEOUT_MS } from 'src/modules/emailing/constants/campaign-engagement-insert-busy-timeout-ms.constant';
+import { MESSAGE_VIEW_TABLE } from 'src/modules/emailing/constants/message-view-table.constant';
import { SHORT_LINK_CLICK_TABLE } from 'src/modules/emailing/constants/short-link-click-table.constant';
import { type CampaignEngagementActivityClass } from 'src/modules/emailing/types/campaign-engagement-activity-class.type';
+import { type CampaignEngagementCounts } from 'src/modules/emailing/types/campaign-engagement-counts.type';
type ShortLinkClickEvent = {
workspaceId: string;
@@ -39,4 +41,53 @@ export class CampaignEngagementEventService {
throw result.error;
}
}
+
+ async countCampaignEngagement({
+ workspaceId,
+ campaignId,
+ }: {
+ workspaceId: string;
+ campaignId: string;
+ }): Promise<CampaignEngagementCounts> {
+ const [clicks, opens] = await Promise.all([
+ this.countHumanEngagement({
+ table: SHORT_LINK_CLICK_TABLE,
+ workspaceId,
+ campaignId,
+ }),
+ this.countHumanEngagement({
+ table: MESSAGE_VIEW_TABLE,
+ workspaceId,
+ campaignId,
+ }),
+ ]);
+
+ return {
+ uniqueClickCount: clicks,
+ uniqueOpenCount: opens,
+ };
+ }
+
+ private async countHumanEngagement({
+ table,
+ workspaceId,
+ campaignId,
+ }: {
+ table: string;
+ workspaceId: string;
+ campaignId: string;
+ }): Promise<number> {
+ const [row] = await this.clickHouseService.selectOrThrow<{
+ uniqueCount: string;
+ }>(
+ `SELECT uniqExact(deliveryId) AS uniqueCount
+ FROM ${table}
+ WHERE workspaceId = {workspaceId:UUID}
+ AND messageCampaignId = {campaignId:UUID}
+ AND activityClass = 'UNCLASSIFIED'`,
+ { workspaceId, campaignId },
+ );
+
+ return Number(row?.uniqueCount ?? 0);
+ }
}
diff --git a/packages/twenty-server/src/modules/emailing/services/campaign-engagement-recording.service.ts b/packages/twenty-server/src/modules/emailing/services/campaign-engagement-recording.service.ts
index 4176f036082..59b29a5f416 100644
--- a/packages/twenty-server/src/modules/emailing/services/campaign-engagement-recording.service.ts
+++ b/packages/twenty-server/src/modules/emailing/services/campaign-engagement-recording.service.ts
@@ -1,4 +1,4 @@
-import { Injectable } from '@nestjs/common';
+import { Injectable, Logger } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';
@@ -7,6 +7,7 @@ import { isDefined } from 'twenty-shared/utils';
import { WorkspaceEntity } from 'src/engine/core-modules/workspace/workspace.entity';
import { buildSystemAuthContext } from 'src/engine/twenty-orm/utils/build-system-auth-context.util';
import { WorkspaceOrmManager } from 'src/engine/twenty-orm/workspace-orm.manager';
+import { MessageCampaignStatisticsService } from 'src/modules/emailing/services/message-campaign-statistics.service';
import { MessageSuppressionService } from 'src/modules/emailing/services/message-suppression.service';
import { CampaignEngagementEventService } from 'src/modules/emailing/services/campaign-engagement-event.service';
import { CampaignDeliveryWorkspaceEntity } from 'src/modules/emailing/standard-objects/campaign-delivery.workspace-entity';
@@ -15,12 +16,15 @@ import { buildCampaignClickEvent } from 'src/modules/emailing/utils/build-campai
@Injectable()
export class CampaignEngagementRecordingService {
+ private readonly logger = new Logger(CampaignEngagementRecordingService.name);
+
constructor(
private readonly workspaceOrmManager: WorkspaceOrmManager,
@InjectRepository(WorkspaceEntity)
private readonly workspaceRepository: Repository<WorkspaceEntity>,
private readonly campaignEngagementEventService: CampaignEngagementEventService,
private readonly messageSuppressionService: MessageSuppressionService,
+ private readonly messageCampaignStatisticsService: MessageCampaignStatisticsService,
) {}
async record(observation: CampaignEngagementObservation): Promise<void> {
@@ -63,5 +67,22 @@ export class CampaignEngagementRecordingService {
}
await this.campaignEngagementEventService.insertClickOrThrow(clickEvent);
+
+ if (clickEvent.activityClass !== 'UNCLASSIFIED') {
+ return;
+ }
+
+ await this.messageCampaignStatisticsService
+ .scheduleRefresh({
+ workspaceId: observation.workspaceId,
+ campaignId: delivery.campaignId,
+ })
+ .catch((error) => {
+ this.logger.error(
+ `Campaign ${delivery.campaignId} could not schedule a statistics refresh: ${
+ error instanceof Error ? error.message : String(error)
+ }`,
+ );
+ });
}
}
diff --git a/packages/twenty-server/src/modules/emailing/services/message-campaign-statistics.service.ts b/packages/twenty-server/src/modules/emailing/services/message-campaign-statistics.service.ts
index ffa91262a5c..5b660613718 100644
--- a/packages/twenty-server/src/modules/emailing/services/message-campaign-statistics.service.ts
+++ b/packages/twenty-server/src/modules/emailing/services/message-campaign-statistics.service.ts
@@ -7,9 +7,6 @@ import { fastDeepEqual, isDefined } from 'twenty-shared/utils';
import { MoreThanOrEqual } from 'typeorm';
import { MessageCampaignStatus } from 'twenty-shared/types';
-import { InjectCacheStorage } from 'src/engine/core-modules/cache-storage/decorators/cache-storage.decorator';
-import { CacheStorageService } from 'src/engine/core-modules/cache-storage/services/cache-storage.service';
-import { CacheStorageNamespace } from 'src/engine/core-modules/cache-storage/types/cache-storage-namespace.enum';
import {
CAMPAIGN_STATS_REFRESH_DEBOUNCE_MS,
REFRESH_CAMPAIGN_STATS_JOB,
@@ -25,9 +22,10 @@ import { WorkspaceOrmManager } from 'src/engine/twenty-orm/workspace-orm.manager
import { buildSystemAuthContext } from 'src/engine/twenty-orm/utils/build-system-auth-context.util';
import { getCampaignDeliveryTableName } from 'src/modules/emailing/utils/get-campaign-delivery-table-name.util';
import { MessageCampaignWorkspaceEntity } from 'src/modules/emailing/standard-objects/message-campaign.workspace-entity';
+import { CampaignEngagementEventService } from 'src/modules/emailing/services/campaign-engagement-event.service';
+import { type CampaignEngagementCounts } from 'src/modules/emailing/types/campaign-engagement-counts.type';
const RECONCILIATION_WINDOW_MS = 7 * 24 * 60 * 60 * 1000;
-const REFRESH_LOCK_TTL_MS = CAMPAIGN_STATS_REFRESH_DEBOUNCE_MS + 2_000;
@Injectable()
export class MessageCampaignStatisticsService {
@@ -35,8 +33,7 @@ export class MessageCampaignStatisticsService {
private readonly workspaceOrmManager: WorkspaceOrmManager,
@InjectMessageQueue(MessageQueue.campaignQueue)
private readonly messageQueueService: MessageQueueService,
- @InjectCacheStorage(CacheStorageNamespace.ModuleEmailing)
- private readonly cacheStorageService: CacheStorageService,
+ private readonly campaignEngagementEventService: CampaignEngagementEventService,
) {}
async scheduleRefresh({
@@ -46,34 +43,18 @@ export class MessageCampaignStatisticsService {
workspaceId: string;
campaignId: string;
}): Promise<void> {
- const lockKey = `campaign-stats-refresh:${workspaceId}:${campaignId}`;
-
- const lockOwnerToken = await this.cacheStorageService.acquireLock({
- key: lockKey,
- ttl: REFRESH_LOCK_TTL_MS,
- });
-
- if (!isDefined(lockOwnerToken)) {
- return;
- }
-
- await this.messageQueueService
- .add<RefreshCampaignStatsJobData>(
- REFRESH_CAMPAIGN_STATS_JOB,
- { workspaceId, campaignId },
- {
- delay: CAMPAIGN_STATS_REFRESH_DEBOUNCE_MS,
- retryLimit: CAMPAIGN_JOB_RETRY_LIMIT,
+ await this.messageQueueService.add<RefreshCampaignStatsJobData>(
+ REFRESH_CAMPAIGN_STATS_JOB,
+ { workspaceId, campaignId },
+ {
+ delay: CAMPAIGN_STATS_REFRESH_DEBOUNCE_MS,
+ retryLimit: CAMPAIGN_JOB_RETRY_LIMIT,
+ deduplication: {
+ id: `campaign-stats-refresh:${workspaceId}:${campaignId}`,
+ keepLastIfActive: true,
},
- )
- .catch(async (error) => {
- await this.cacheStorageService.releaseLock({
- key: lockKey,
- ownerToken: lockOwnerToken,
- });
-
- throw error;
- });
+ },
+ );
}
async countDeliveriesByState({
@@ -111,9 +92,6 @@ export class MessageCampaignStatisticsService {
return computeCampaignCounts({ groups });
}
- // The refresh lock is left to expire instead of being released here: a
- // backed-up queue can start this job after the lock TTL, and deleting the key
- // then would drop the lock a newer schedule already owns.
async refreshCampaignCounts({
workspaceId,
campaignId,
@@ -127,6 +105,23 @@ export class MessageCampaignStatisticsService {
});
await this.persistCampaignCounts({ workspaceId, campaignId, counts });
+
+ if (!this.campaignEngagementEventService.isAvailable()) {
+ return;
+ }
+
+ const engagementCounts =
+ await this.campaignEngagementEventService.countCampaignEngagement({
+ workspaceId,
+ campaignId,
+ });
+
+ await this.persistEngagementStats({
+ workspaceId,
+ campaignId,
+ engagementCounts,
+ deliveredCount: counts.deliveredCount,
+ });
}
async reconcileWorkspaceCampaignCounts({
@@ -157,7 +152,7 @@ export class MessageCampaignStatisticsService {
}, buildSystemAuthContext(workspaceId));
for (const campaignId of campaignIds) {
- await this.refreshCampaignCounts({ workspaceId, campaignId });
+ await this.scheduleRefresh({ workspaceId, campaignId });
}
}
@@ -218,4 +213,72 @@ export class MessageCampaignStatisticsService {
await campaignRepository.update({ id: campaignId }, nextCounts);
}, buildSystemAuthContext(workspaceId));
}
+
+ private async persistEngagementStats({
+ workspaceId,
+ campaignId,
+ engagementCounts,
+ deliveredCount,
+ }: {
+ workspaceId: string;
+ campaignId: string;
+ engagementCounts: CampaignEngagementCounts;
+ deliveredCount: number;
+ }): Promise<void> {
+ await this.workspaceOrmManager.executeInWorkspaceContext(async () => {
+ const campaignRepository = this.workspaceOrmManager.getRepository(
+ MessageCampaignWorkspaceEntity,
+ { shouldBypassPermissionChecks: true },
+ );
+
+ const campaign = await campaignRepository.findOne({
+ where: { id: campaignId },
+ select: {
+ id: true,
+ uniqueClickCount: true,
+ clickRate: true,
+ uniqueOpenCount: true,
+ openRate: true,
+ },
+ });
+
+ if (!isDefined(campaign)) {
+ return;
+ }
+
+ const nextEngagementStats = {
+ uniqueClickCount: engagementCounts.uniqueClickCount,
+ clickRate: this.computeRate(
+ engagementCounts.uniqueClickCount,
+ deliveredCount,
+ ),
+ uniqueOpenCount: engagementCounts.uniqueOpenCount,
+ openRate: this.computeRate(
+ engagementCounts.uniqueOpenCount,
+ deliveredCount,
+ ),
+ };
+
+ const storedEngagementStats = {
+ uniqueClickCount: campaign.uniqueClickCount,
+ clickRate: campaign.clickRate,
+ uniqueOpenCount: campaign.uniqueOpenCount,
+ openRate: campaign.openRate,
+ };
+
+ if (fastDeepEqual(storedEngagementStats, nextEngagementStats)) {
+ return;
+ }
+
+ await campaignRepository.update({ id: campaignId }, nextEngagementStats);
+ }, buildSystemAuthContext(workspaceId));
+ }
+
+ private computeRate(count: number, deliveredCount: number): number {
+ if (deliveredCount === 0) {
+ return 0;
+ }
+
+ return count / deliveredCount;
+ }
}
diff --git a/packages/twenty-server/src/modules/emailing/standard-objects/message-campaign.workspace-entity.ts b/packages/twenty-server/src/modules/emailing/standard-objects/message-campaign.workspace-entity.ts
index 502c077e566..4deea51ee1f 100644
--- a/packages/twenty-server/src/modules/emailing/standard-objects/message-campaign.workspace-entity.ts
+++ b/packages/twenty-server/src/modules/emailing/standard-objects/message-campaign.workspace-entity.ts
@@ -20,6 +20,10 @@ export class MessageCampaignWorkspaceEntity extends BaseWorkspaceEntity {
bouncedCount: number;
complainedCount: number;
skippedCount: number;
+ uniqueClickCount: number;
+ clickRate: number;
+ uniqueOpenCount: number;
+ openRate: number;
unsubscribeTopicId: string | null;
list: EntityRelation<MessageListWorkspaceEntity> | null;
listId: string | null;
diff --git a/packages/twenty-server/src/modules/emailing/types/campaign-engagement-counts.type.ts b/packages/twenty-server/src/modules/emailing/types/campaign-engagement-counts.type.ts
new file mode 100644
index 00000000000..497e779da21
--- /dev/null
+++ b/packages/twenty-server/src/modules/emailing/types/campaign-engagement-counts.type.ts
@@ -0,0 +1,4 @@
+export type CampaignEngagementCounts = {
+ uniqueClickCount: number;
+ uniqueOpenCount: number;
+};
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 a4efdb6efa1..42fb2b2d60d 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
@@ -1700,6 +1700,9 @@ exports[`STANDARD_OBJECTS universal identifiers should never change without an e
"bouncedCount": {
"universalIdentifier": "20d884a9-34dd-4667-8ecb-ceec224258e2",
},
+ "clickRate": {
+ "universalIdentifier": "7999aebc-51f4-4b93-9925-717db707c703",
+ },
"complainedCount": {
"universalIdentifier": "82842cfa-f12a-4bab-bbde-b2cf587d0406",
},
@@ -1733,6 +1736,9 @@ exports[`STANDARD_OBJECTS universal identifiers should never change without an e
"name": {
"universalIdentifier": "dc8bca0e-37c4-4b78-814d-2e91124274e3",
},
+ "openRate": {
+ "universalIdentifier": "77529a55-d723-4c91-9df7-0190fd760e93",
+ },
"position": {
"universalIdentifier": "e43f6c94-602c-54af-a398-559510beb43b",
},
@@ -1763,6 +1769,12 @@ exports[`STANDARD_OBJECTS universal identifiers should never change without an e
"timelineActivities": {
"universalIdentifier": "b4dd1932-bcfa-50c6-ada7-37de5d9c2825",
},
+ "uniqueClickCount": {
+ "universalIdentifier": "d9a4e1c6-5b3f-4e0a-9c8d-4f7b9a3e6c12",
+ },
+ "uniqueOpenCount": {
+ "universalIdentifier": "865d188f-3178-4173-a986-80d01a8c7147",
+ },
"unsubscribeTopicId": {
"universalIdentifier": "0648e7ad-1769-4ff6-a4d5-72da79ef169c",
},
@@ -1792,6 +1804,9 @@ exports[`STANDARD_OBJECTS universal identifiers should never change without an e
"bouncedCount": {
"universalIdentifier": "3c273c7f-b577-5213-8597-198dac6fdae1",
},
+ "clickRate": {
+ "universalIdentifier": "acd9117a-eb71-5981-9c7a-812ff09f3fab",
+ },
"complainedCount": {
"universalIdentifier": "30317d2b-5212-56be-a5fe-0ab15722dde3",
},
@@ -1813,6 +1828,9 @@ exports[`STANDARD_OBJECTS universal identifiers should never change without an e
"name": {
"universalIdentifier": "5a224d5d-9ae7-53c8-ad6d-720bb62a087b",
},
+ "openRate": {
+ "universalIdentifier": "df8ae84e-6b78-5808-a513-0faf34c4d36c",
+ },
"recipients": {
"universalIdentifier": "40f278c1-2716-5324-8035-c14ea62a4eb7",
},
@@ -1834,6 +1852,12 @@ exports[`STANDARD_OBJECTS universal identifiers should never change without an e
"subject": {
"universalIdentifier": "2a4fe259-612f-5d10-a451-a047e605917c",
},
+ "uniqueClickCount": {
+ "universalIdentifier": "7c6f0f1b-f685-511b-a6ce-8f80e3c584c0",
+ },
+ "uniqueOpenCount": {
+ "universalIdentifier": "830373d0-31dc-598d-9827-0390a6d0c472",
+ },
},
},
"messageCampaignRecordPageFields": {
@@ -1847,6 +1871,9 @@ exports[`STANDARD_OBJECTS universal identifiers should never change without an e
"bouncedCount": {
"universalIdentifier": "4c4caad8-5d4c-5584-b7ae-22766c382843",
},
+ "clickRate": {
+ "universalIdentifier": "e05920e7-6b18-52bb-9660-1b4f5fd177c0",
+ },
"complainedCount": {
"universalIdentifier": "7188a9aa-4821-5ae6-adec-642a7aca271b",
},
@@ -1856,6 +1883,9 @@ exports[`STANDARD_OBJECTS universal identifiers should never change without an e
"failedCount": {
"universalIdentifier": "a46efdb6-a451-5dfe-bd85-a5b9a6a0306a",
},
+ "openRate": {
+ "universalIdentifier": "31b6a399-f288-5f50-8f7c-cd859404b38e",
+ },
"scheduledAt": {
"universalIdentifier": "b4789064-9ec6-5200-8017-30c47583a7f1",
},
@@ -1871,6 +1901,12 @@ exports[`STANDARD_OBJECTS universal identifiers should never change without an e
"status": {
"universalIdentifier": "246db7b1-e241-5d06-87df-99af5d4ba9bc",
},
+ "uniqueClickCount": {
+ "universalIdentifier": "9127e49b-046f-5d31-a31b-02caf08b2b91",
+ },
+ "uniqueOpenCount": {
+ "universalIdentifier": "5059d5cc-3887-53c5-bd46-07ea21e701e8",
+ },
},
},
},
diff --git a/packages/twenty-shared/src/metadata/constants/standard-object-fields.constant.ts b/packages/twenty-shared/src/metadata/constants/standard-object-fields.constant.ts
index 256159b9a31..e8dd3048fcc 100644
--- a/packages/twenty-shared/src/metadata/constants/standard-object-fields.constant.ts
+++ b/packages/twenty-shared/src/metadata/constants/standard-object-fields.constant.ts
@@ -874,6 +874,18 @@ export const STANDARD_OBJECT_FIELDS = {
skippedCount: {
universalIdentifier: 'a1f4c6d2-5e8b-4a37-9c60-31b7f0d2a984',
},
+ uniqueClickCount: {
+ universalIdentifier: 'd9a4e1c6-5b3f-4e0a-9c8d-4f7b9a3e6c12',
+ },
+ clickRate: {
+ universalIdentifier: '7999aebc-51f4-4b93-9925-717db707c703',
+ },
+ uniqueOpenCount: {
+ universalIdentifier: '865d188f-3178-4173-a986-80d01a8c7147',
+ },
+ openRate: {
+ universalIdentifier: '77529a55-d723-4c91-9df7-0190fd760e93',
+ },
unsubscribeTopicId: {
universalIdentifier: '0648e7ad-1769-4ff6-a4d5-72da79ef169c',
},
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 1de503dd4be..0dd6ea3fdf0 100644
--- a/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts
+++ b/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts
@@ -420,6 +420,10 @@ export const STANDARD_OBJECTS = {
'complainedCount',
'recipients',
'createdAt',
+ 'uniqueClickCount',
+ 'clickRate',
+ 'uniqueOpenCount',
+ 'openRate',
],
}),
messageCampaignRecordPageFields: buildStandardObjectRecordPageFieldsView({
@@ -436,6 +440,10 @@ export const STANDARD_OBJECTS = {
'skippedCount',
'bouncedCount',
'complainedCount',
+ 'uniqueClickCount',
+ 'clickRate',
+ 'uniqueOpenCount',
+ 'openRate',
],
viewFieldGroupNames: {
stats: 'Stats',