From d040756fcfe4ea5ccc48a024c66628ee6e2a7500 Mon Sep 17 00:00:00 2001 From: neo773 <62795688+neo773@users.noreply.github.com> Date: Tue, 5 May 2026 18:54:25 +0530 Subject: [PATCH] remove direction from messages (#20026) This was a leftover column removed in https://github.com/twentyhq/twenty/pull/6743 but was accidentally added again when we migrated to `buildMessageStandardFlatFieldMetadatas` from workspace decorator /closes #20011 --- .../metadata/objects/mock-objects-metadata.ts | 41 - .../2-3/2-3-upgrade-version-command.module.ts | 6 +- ...00-drop-message-direction-field.command.ts | 104 + ...adata-related-entity-ids.util.spec.ts.snap | 1915 ++++++++--------- ...ssage-standard-flat-field-metadata.util.ts | 34 - .../constants/standard-object.constant.ts | 3 - 6 files changed, 1065 insertions(+), 1038 deletions(-) create mode 100644 packages/twenty-server/src/database/commands/upgrade-version-command/2-3/2-3-workspace-command-1777400000000-drop-message-direction-field.command.ts diff --git a/packages/twenty-front/src/testing/mock-data/generated/metadata/objects/mock-objects-metadata.ts b/packages/twenty-front/src/testing/mock-data/generated/metadata/objects/mock-objects-metadata.ts index 2646cbd958c..48e0060a8c3 100644 --- a/packages/twenty-front/src/testing/mock-data/generated/metadata/objects/mock-objects-metadata.ts +++ b/packages/twenty-front/src/testing/mock-data/generated/metadata/objects/mock-objects-metadata.ts @@ -21432,47 +21432,6 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery = "relation": null, "morphRelations": null }, - { - "__typename": "Field", - "id": "5b775671-2f37-4513-9485-c4b76c746156", - "universalIdentifier": "20202020-0203-4118-8e2a-05b9bdae6dab", - "type": "SELECT", - "name": "direction", - "label": "Direction", - "description": "Message Direction", - "icon": "IconDirection", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isUIReadOnly": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2026-04-10T08:55:56.200Z", - "updatedAt": "2026-04-10T08:55:56.200Z", - "defaultValue": "'INCOMING'", - "options": [ - { - "id": "20202020-7b52-47d2-abd8-e96a4295f9a6", - "color": "green", - "label": "Incoming", - "value": "INCOMING", - "position": 0 - }, - { - "id": "20202020-11cb-42be-8df7-709ad53f90f9", - "color": "blue", - "label": "Outgoing", - "value": "OUTGOING", - "position": 1 - } - ], - "settings": null, - "isLabelSyncedWithName": false, - "morphId": null, - "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec", - "relation": null, - "morphRelations": null - }, { "__typename": "Field", "id": "d87675ee-1d19-4658-8037-daec3e00b718", diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-3/2-3-upgrade-version-command.module.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-3/2-3-upgrade-version-command.module.ts index 7d68dd2094e..d31a0b8e165 100644 --- a/packages/twenty-server/src/database/commands/upgrade-version-command/2-3/2-3-upgrade-version-command.module.ts +++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-3/2-3-upgrade-version-command.module.ts @@ -1,6 +1,7 @@ import { Module } from '@nestjs/common'; import { WorkspaceIteratorModule } from 'src/database/commands/command-runners/workspace-iterator.module'; +import { DropMessageDirectionFieldCommand } from 'src/database/commands/upgrade-version-command/2-3/2-3-workspace-command-1777400000000-drop-message-direction-field.command'; import { BackfillImageIdentifierFieldMetadataIdCommand } from 'src/database/commands/upgrade-version-command/2-3/2-3-workspace-command-1777920000000-backfill-image-identifier-field-metadata-id.command'; import { ApplicationModule } from 'src/engine/core-modules/application/application.module'; import { WorkspaceCacheModule } from 'src/engine/workspace-cache/workspace-cache.module'; @@ -13,6 +14,9 @@ import { WorkspaceMigrationModule } from 'src/engine/workspace-manager/workspace WorkspaceIteratorModule, WorkspaceMigrationModule, ], - providers: [BackfillImageIdentifierFieldMetadataIdCommand], + providers: [ + DropMessageDirectionFieldCommand, + BackfillImageIdentifierFieldMetadataIdCommand, + ], }) export class V2_3_UpgradeVersionCommandModule {} diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-3/2-3-workspace-command-1777400000000-drop-message-direction-field.command.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-3/2-3-workspace-command-1777400000000-drop-message-direction-field.command.ts new file mode 100644 index 00000000000..c0678a61f8d --- /dev/null +++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-3/2-3-workspace-command-1777400000000-drop-message-direction-field.command.ts @@ -0,0 +1,104 @@ +import { Command } from 'nest-commander'; + +import { ActiveOrSuspendedWorkspaceCommandRunner } from 'src/database/commands/command-runners/active-or-suspended-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 { WorkspaceCacheService } from 'src/engine/workspace-cache/services/workspace-cache.service'; +import { WorkspaceMigrationValidateBuildAndRunService } from 'src/engine/workspace-manager/workspace-migration/services/workspace-migration-validate-build-and-run-service'; + +const MESSAGE_DIRECTION_FIELD_UNIVERSAL_IDENTIFIER = + '20202020-0203-4118-8e2a-05b9bdae6dab'; + +@RegisteredWorkspaceCommand('2.3.0', 1777400000000) +@Command({ + name: 'upgrade:2-3:drop-message-direction-field', + description: + 'Drop the leftover message.direction field metadata and its workspace column', +}) +export class DropMessageDirectionFieldCommand extends ActiveOrSuspendedWorkspaceCommandRunner { + constructor( + protected readonly workspaceIteratorService: WorkspaceIteratorService, + private readonly applicationService: ApplicationService, + private readonly workspaceMigrationValidateBuildAndRunService: WorkspaceMigrationValidateBuildAndRunService, + private readonly workspaceCacheService: WorkspaceCacheService, + ) { + super(workspaceIteratorService); + } + + override async runOnWorkspace({ + workspaceId, + options, + }: RunOnWorkspaceArgs): Promise { + const isDryRun = options.dryRun ?? false; + + this.logger.log( + `${isDryRun ? '[DRY RUN] ' : ''}Starting message.direction field removal for workspace ${workspaceId}`, + ); + + const { flatFieldMetadataMaps } = + await this.workspaceCacheService.getOrRecompute(workspaceId, [ + 'flatFieldMetadataMaps', + ]); + + const directionFieldMetadata = + findFlatEntityByUniversalIdentifier({ + flatEntityMaps: flatFieldMetadataMaps, + universalIdentifier: MESSAGE_DIRECTION_FIELD_UNIVERSAL_IDENTIFIER, + }); + + if (!directionFieldMetadata) { + this.logger.log( + `message.direction field already absent for workspace ${workspaceId}`, + ); + + return; + } + + if (isDryRun) { + this.logger.log( + `[DRY RUN] Would delete message.direction field for workspace ${workspaceId}`, + ); + + return; + } + + const { twentyStandardFlatApplication } = + await this.applicationService.findWorkspaceTwentyStandardAndCustomApplicationOrThrow( + { workspaceId }, + ); + + const validateAndBuildResult = + await this.workspaceMigrationValidateBuildAndRunService.validateBuildAndRunWorkspaceMigration( + { + allFlatEntityOperationByMetadataName: { + fieldMetadata: { + flatEntityToCreate: [], + flatEntityToDelete: [directionFieldMetadata], + flatEntityToUpdate: [], + }, + }, + workspaceId, + applicationUniversalIdentifier: + twentyStandardFlatApplication.universalIdentifier, + }, + ); + + if (validateAndBuildResult.status === 'fail') { + this.logger.error( + `Failed to delete message.direction field:\n${JSON.stringify(validateAndBuildResult, null, 2)}`, + ); + + throw new Error( + `Failed to delete message.direction field for workspace ${workspaceId}`, + ); + } + + this.logger.log( + `Deleted message.direction field 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 da3c25a08f6..f7b122e58cf 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 @@ -995,14 +995,11 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "id": "00000000-0000-0000-0000-000000000476", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000487", + "id": "00000000-0000-0000-0000-000000000486", }, "deletedAt": { "id": "00000000-0000-0000-0000-000000000478", }, - "direction": { - "id": "00000000-0000-0000-0000-000000000481", - }, "headerMessageId": { "id": "00000000-0000-0000-0000-000000000479", }, @@ -1010,62 +1007,62 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "id": "00000000-0000-0000-0000-000000000475", }, "messageChannelMessageAssociations": { - "id": "00000000-0000-0000-0000-000000000486", + "id": "00000000-0000-0000-0000-000000000485", }, "messageParticipants": { - "id": "00000000-0000-0000-0000-000000000485", + "id": "00000000-0000-0000-0000-000000000484", }, "messageThread": { "id": "00000000-0000-0000-0000-000000000480", }, "position": { - "id": "00000000-0000-0000-0000-000000000489", + "id": "00000000-0000-0000-0000-000000000488", }, "receivedAt": { - "id": "00000000-0000-0000-0000-000000000484", + "id": "00000000-0000-0000-0000-000000000483", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000490", + "id": "00000000-0000-0000-0000-000000000489", }, "subject": { - "id": "00000000-0000-0000-0000-000000000482", + "id": "00000000-0000-0000-0000-000000000481", }, "text": { - "id": "00000000-0000-0000-0000-000000000483", + "id": "00000000-0000-0000-0000-000000000482", }, "updatedAt": { "id": "00000000-0000-0000-0000-000000000477", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000488", + "id": "00000000-0000-0000-0000-000000000487", }, }, - "id": "00000000-0000-0000-0000-000000000499", + "id": "00000000-0000-0000-0000-000000000498", "views": { "allMessages": { - "id": "00000000-0000-0000-0000-000000000498", + "id": "00000000-0000-0000-0000-000000000497", "viewFieldGroups": {}, "viewFields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000497", + "id": "00000000-0000-0000-0000-000000000496", }, "headerMessageId": { - "id": "00000000-0000-0000-0000-000000000495", - }, - "messageParticipants": { - "id": "00000000-0000-0000-0000-000000000493", - }, - "messageThread": { - "id": "00000000-0000-0000-0000-000000000492", - }, - "receivedAt": { "id": "00000000-0000-0000-0000-000000000494", }, - "subject": { + "messageParticipants": { + "id": "00000000-0000-0000-0000-000000000492", + }, + "messageThread": { "id": "00000000-0000-0000-0000-000000000491", }, + "receivedAt": { + "id": "00000000-0000-0000-0000-000000000493", + }, + "subject": { + "id": "00000000-0000-0000-0000-000000000490", + }, "text": { - "id": "00000000-0000-0000-0000-000000000496", + "id": "00000000-0000-0000-0000-000000000495", }, }, "viewGroups": {}, @@ -1685,103 +1682,103 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "note": { "fields": { "attachments": { - "id": "00000000-0000-0000-0000-000000000510", - }, - "bodyV2": { - "id": "00000000-0000-0000-0000-000000000506", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000501", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000507", - }, - "deletedAt": { - "id": "00000000-0000-0000-0000-000000000503", - }, - "id": { - "id": "00000000-0000-0000-0000-000000000500", - }, - "noteTargets": { "id": "00000000-0000-0000-0000-000000000509", }, - "position": { - "id": "00000000-0000-0000-0000-000000000504", - }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000512", - }, - "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000511", - }, - "title": { + "bodyV2": { "id": "00000000-0000-0000-0000-000000000505", }, - "updatedAt": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000500", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000506", + }, + "deletedAt": { "id": "00000000-0000-0000-0000-000000000502", }, - "updatedBy": { + "id": { + "id": "00000000-0000-0000-0000-000000000499", + }, + "noteTargets": { "id": "00000000-0000-0000-0000-000000000508", }, + "position": { + "id": "00000000-0000-0000-0000-000000000503", + }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000511", + }, + "timelineActivities": { + "id": "00000000-0000-0000-0000-000000000510", + }, + "title": { + "id": "00000000-0000-0000-0000-000000000504", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000501", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000507", + }, }, - "id": "00000000-0000-0000-0000-000000000530", + "id": "00000000-0000-0000-0000-000000000529", "views": { "allNotes": { - "id": "00000000-0000-0000-0000-000000000518", + "id": "00000000-0000-0000-0000-000000000517", "viewFieldGroups": {}, "viewFields": { "bodyV2": { - "id": "00000000-0000-0000-0000-000000000515", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000517", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000516", - }, - "noteTargets": { "id": "00000000-0000-0000-0000-000000000514", }, - "title": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000516", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000515", + }, + "noteTargets": { "id": "00000000-0000-0000-0000-000000000513", }, + "title": { + "id": "00000000-0000-0000-0000-000000000512", + }, }, "viewGroups": {}, }, "noteRecordPageFields": { - "id": "00000000-0000-0000-0000-000000000529", + "id": "00000000-0000-0000-0000-000000000528", "viewFieldGroups": { "general": { - "id": "00000000-0000-0000-0000-000000000527", + "id": "00000000-0000-0000-0000-000000000526", }, "system": { - "id": "00000000-0000-0000-0000-000000000528", + "id": "00000000-0000-0000-0000-000000000527", }, }, "viewFields": { "attachments": { - "id": "00000000-0000-0000-0000-000000000525", + "id": "00000000-0000-0000-0000-000000000524", }, "bodyV2": { - "id": "00000000-0000-0000-0000-000000000522", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000519", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000520", - }, - "noteTargets": { "id": "00000000-0000-0000-0000-000000000521", }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000518", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000519", + }, + "noteTargets": { + "id": "00000000-0000-0000-0000-000000000520", + }, "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000526", + "id": "00000000-0000-0000-0000-000000000525", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000523", + "id": "00000000-0000-0000-0000-000000000522", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000524", + "id": "00000000-0000-0000-0000-000000000523", }, }, "viewGroups": {}, @@ -1791,62 +1788,62 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "noteTarget": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000532", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000539", - }, - "deletedAt": { - "id": "00000000-0000-0000-0000-000000000534", - }, - "id": { "id": "00000000-0000-0000-0000-000000000531", }, - "note": { - "id": "00000000-0000-0000-0000-000000000535", - }, - "position": { - "id": "00000000-0000-0000-0000-000000000541", - }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000542", - }, - "targetCompany": { - "id": "00000000-0000-0000-0000-000000000537", - }, - "targetOpportunity": { + "createdBy": { "id": "00000000-0000-0000-0000-000000000538", }, - "targetPerson": { - "id": "00000000-0000-0000-0000-000000000536", - }, - "updatedAt": { + "deletedAt": { "id": "00000000-0000-0000-0000-000000000533", }, - "updatedBy": { + "id": { + "id": "00000000-0000-0000-0000-000000000530", + }, + "note": { + "id": "00000000-0000-0000-0000-000000000534", + }, + "position": { "id": "00000000-0000-0000-0000-000000000540", }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000541", + }, + "targetCompany": { + "id": "00000000-0000-0000-0000-000000000536", + }, + "targetOpportunity": { + "id": "00000000-0000-0000-0000-000000000537", + }, + "targetPerson": { + "id": "00000000-0000-0000-0000-000000000535", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000532", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000539", + }, }, - "id": "00000000-0000-0000-0000-000000000549", + "id": "00000000-0000-0000-0000-000000000548", "views": { "allNoteTargets": { - "id": "00000000-0000-0000-0000-000000000548", + "id": "00000000-0000-0000-0000-000000000547", "viewFieldGroups": {}, "viewFields": { "id": { - "id": "00000000-0000-0000-0000-000000000543", + "id": "00000000-0000-0000-0000-000000000542", }, "note": { - "id": "00000000-0000-0000-0000-000000000544", + "id": "00000000-0000-0000-0000-000000000543", }, "targetCompany": { - "id": "00000000-0000-0000-0000-000000000546", + "id": "00000000-0000-0000-0000-000000000545", }, "targetOpportunity": { - "id": "00000000-0000-0000-0000-000000000547", + "id": "00000000-0000-0000-0000-000000000546", }, "targetPerson": { - "id": "00000000-0000-0000-0000-000000000545", + "id": "00000000-0000-0000-0000-000000000544", }, }, "viewGroups": {}, @@ -1856,186 +1853,186 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "opportunity": { "fields": { "amount": { - "id": "00000000-0000-0000-0000-000000000555", - }, - "attachments": { - "id": "00000000-0000-0000-0000-000000000566", - }, - "closeDate": { - "id": "00000000-0000-0000-0000-000000000556", - }, - "company": { - "id": "00000000-0000-0000-0000-000000000562", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000551", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000559", - }, - "deletedAt": { - "id": "00000000-0000-0000-0000-000000000553", - }, - "id": { - "id": "00000000-0000-0000-0000-000000000550", - }, - "name": { "id": "00000000-0000-0000-0000-000000000554", }, - "noteTargets": { + "attachments": { "id": "00000000-0000-0000-0000-000000000565", }, - "owner": { - "id": "00000000-0000-0000-0000-000000000563", + "closeDate": { + "id": "00000000-0000-0000-0000-000000000555", }, - "pointOfContact": { + "company": { "id": "00000000-0000-0000-0000-000000000561", }, - "position": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000550", + }, + "createdBy": { "id": "00000000-0000-0000-0000-000000000558", }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000568", - }, - "stage": { - "id": "00000000-0000-0000-0000-000000000557", - }, - "taskTargets": { - "id": "00000000-0000-0000-0000-000000000564", - }, - "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000567", - }, - "updatedAt": { + "deletedAt": { "id": "00000000-0000-0000-0000-000000000552", }, - "updatedBy": { + "id": { + "id": "00000000-0000-0000-0000-000000000549", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000553", + }, + "noteTargets": { + "id": "00000000-0000-0000-0000-000000000564", + }, + "owner": { + "id": "00000000-0000-0000-0000-000000000562", + }, + "pointOfContact": { "id": "00000000-0000-0000-0000-000000000560", }, + "position": { + "id": "00000000-0000-0000-0000-000000000557", + }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000567", + }, + "stage": { + "id": "00000000-0000-0000-0000-000000000556", + }, + "taskTargets": { + "id": "00000000-0000-0000-0000-000000000563", + }, + "timelineActivities": { + "id": "00000000-0000-0000-0000-000000000566", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000551", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000559", + }, }, - "id": "00000000-0000-0000-0000-000000000606", + "id": "00000000-0000-0000-0000-000000000605", "views": { "allOpportunities": { - "id": "00000000-0000-0000-0000-000000000575", + "id": "00000000-0000-0000-0000-000000000574", "viewFieldGroups": {}, "viewFields": { "amount": { - "id": "00000000-0000-0000-0000-000000000570", - }, - "closeDate": { - "id": "00000000-0000-0000-0000-000000000572", - }, - "company": { - "id": "00000000-0000-0000-0000-000000000573", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000571", - }, - "name": { "id": "00000000-0000-0000-0000-000000000569", }, + "closeDate": { + "id": "00000000-0000-0000-0000-000000000571", + }, + "company": { + "id": "00000000-0000-0000-0000-000000000572", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000570", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000568", + }, "pointOfContact": { - "id": "00000000-0000-0000-0000-000000000574", + "id": "00000000-0000-0000-0000-000000000573", }, }, "viewGroups": {}, }, "byStage": { - "id": "00000000-0000-0000-0000-000000000587", + "id": "00000000-0000-0000-0000-000000000586", "viewFieldGroups": {}, "viewFields": { "amount": { - "id": "00000000-0000-0000-0000-000000000577", - }, - "closeDate": { - "id": "00000000-0000-0000-0000-000000000579", - }, - "company": { - "id": "00000000-0000-0000-0000-000000000580", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000578", - }, - "name": { "id": "00000000-0000-0000-0000-000000000576", }, + "closeDate": { + "id": "00000000-0000-0000-0000-000000000578", + }, + "company": { + "id": "00000000-0000-0000-0000-000000000579", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000577", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000575", + }, "pointOfContact": { - "id": "00000000-0000-0000-0000-000000000581", + "id": "00000000-0000-0000-0000-000000000580", }, }, "viewGroups": { "customer": { - "id": "00000000-0000-0000-0000-000000000586", - }, - "meeting": { - "id": "00000000-0000-0000-0000-000000000584", - }, - "new": { - "id": "00000000-0000-0000-0000-000000000582", - }, - "proposal": { "id": "00000000-0000-0000-0000-000000000585", }, - "screening": { + "meeting": { "id": "00000000-0000-0000-0000-000000000583", }, + "new": { + "id": "00000000-0000-0000-0000-000000000581", + }, + "proposal": { + "id": "00000000-0000-0000-0000-000000000584", + }, + "screening": { + "id": "00000000-0000-0000-0000-000000000582", + }, }, }, "opportunityRecordPageFields": { - "id": "00000000-0000-0000-0000-000000000605", + "id": "00000000-0000-0000-0000-000000000604", "viewFieldGroups": { "deal": { - "id": "00000000-0000-0000-0000-000000000602", + "id": "00000000-0000-0000-0000-000000000601", }, "relations": { - "id": "00000000-0000-0000-0000-000000000603", + "id": "00000000-0000-0000-0000-000000000602", }, "system": { - "id": "00000000-0000-0000-0000-000000000604", + "id": "00000000-0000-0000-0000-000000000603", }, }, "viewFields": { "amount": { - "id": "00000000-0000-0000-0000-000000000588", + "id": "00000000-0000-0000-0000-000000000587", }, "attachments": { - "id": "00000000-0000-0000-0000-000000000600", - }, - "closeDate": { - "id": "00000000-0000-0000-0000-000000000589", - }, - "company": { - "id": "00000000-0000-0000-0000-000000000591", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000594", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000595", - }, - "noteTargets": { "id": "00000000-0000-0000-0000-000000000599", }, - "owner": { - "id": "00000000-0000-0000-0000-000000000593", + "closeDate": { + "id": "00000000-0000-0000-0000-000000000588", }, - "pointOfContact": { - "id": "00000000-0000-0000-0000-000000000592", - }, - "stage": { + "company": { "id": "00000000-0000-0000-0000-000000000590", }, - "taskTargets": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000593", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000594", + }, + "noteTargets": { "id": "00000000-0000-0000-0000-000000000598", }, + "owner": { + "id": "00000000-0000-0000-0000-000000000592", + }, + "pointOfContact": { + "id": "00000000-0000-0000-0000-000000000591", + }, + "stage": { + "id": "00000000-0000-0000-0000-000000000589", + }, + "taskTargets": { + "id": "00000000-0000-0000-0000-000000000597", + }, "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000601", + "id": "00000000-0000-0000-0000-000000000600", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000596", + "id": "00000000-0000-0000-0000-000000000595", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000597", + "id": "00000000-0000-0000-0000-000000000596", }, }, "viewGroups": {}, @@ -2045,197 +2042,197 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "person": { "fields": { "attachments": { - "id": "00000000-0000-0000-0000-000000000627", - }, - "avatarFile": { - "id": "00000000-0000-0000-0000-000000000619", - }, - "avatarUrl": { - "id": "00000000-0000-0000-0000-000000000618", - }, - "calendarEventParticipants": { - "id": "00000000-0000-0000-0000-000000000629", - }, - "city": { - "id": "00000000-0000-0000-0000-000000000617", - }, - "company": { - "id": "00000000-0000-0000-0000-000000000623", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000608", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000621", - }, - "deletedAt": { - "id": "00000000-0000-0000-0000-000000000610", - }, - "emails": { - "id": "00000000-0000-0000-0000-000000000612", - }, - "id": { - "id": "00000000-0000-0000-0000-000000000607", - }, - "jobTitle": { - "id": "00000000-0000-0000-0000-000000000615", - }, - "linkedinLink": { - "id": "00000000-0000-0000-0000-000000000613", - }, - "messageParticipants": { - "id": "00000000-0000-0000-0000-000000000628", - }, - "name": { - "id": "00000000-0000-0000-0000-000000000611", - }, - "noteTargets": { "id": "00000000-0000-0000-0000-000000000626", }, - "phones": { + "avatarFile": { + "id": "00000000-0000-0000-0000-000000000618", + }, + "avatarUrl": { + "id": "00000000-0000-0000-0000-000000000617", + }, + "calendarEventParticipants": { + "id": "00000000-0000-0000-0000-000000000628", + }, + "city": { "id": "00000000-0000-0000-0000-000000000616", }, - "pointOfContactForOpportunities": { - "id": "00000000-0000-0000-0000-000000000624", - }, - "position": { - "id": "00000000-0000-0000-0000-000000000620", - }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000631", - }, - "taskTargets": { - "id": "00000000-0000-0000-0000-000000000625", - }, - "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000630", - }, - "updatedAt": { - "id": "00000000-0000-0000-0000-000000000609", - }, - "updatedBy": { + "company": { "id": "00000000-0000-0000-0000-000000000622", }, - "xLink": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000607", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000620", + }, + "deletedAt": { + "id": "00000000-0000-0000-0000-000000000609", + }, + "emails": { + "id": "00000000-0000-0000-0000-000000000611", + }, + "id": { + "id": "00000000-0000-0000-0000-000000000606", + }, + "jobTitle": { "id": "00000000-0000-0000-0000-000000000614", }, + "linkedinLink": { + "id": "00000000-0000-0000-0000-000000000612", + }, + "messageParticipants": { + "id": "00000000-0000-0000-0000-000000000627", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000610", + }, + "noteTargets": { + "id": "00000000-0000-0000-0000-000000000625", + }, + "phones": { + "id": "00000000-0000-0000-0000-000000000615", + }, + "pointOfContactForOpportunities": { + "id": "00000000-0000-0000-0000-000000000623", + }, + "position": { + "id": "00000000-0000-0000-0000-000000000619", + }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000630", + }, + "taskTargets": { + "id": "00000000-0000-0000-0000-000000000624", + }, + "timelineActivities": { + "id": "00000000-0000-0000-0000-000000000629", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000608", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000621", + }, + "xLink": { + "id": "00000000-0000-0000-0000-000000000613", + }, }, - "id": "00000000-0000-0000-0000-000000000668", + "id": "00000000-0000-0000-0000-000000000667", "views": { "allPeople": { - "id": "00000000-0000-0000-0000-000000000642", + "id": "00000000-0000-0000-0000-000000000641", "viewFieldGroups": {}, "viewFields": { "city": { - "id": "00000000-0000-0000-0000-000000000638", - }, - "company": { - "id": "00000000-0000-0000-0000-000000000635", - }, - "createdAt": { "id": "00000000-0000-0000-0000-000000000637", }, - "createdBy": { + "company": { "id": "00000000-0000-0000-0000-000000000634", }, - "emails": { - "id": "00000000-0000-0000-0000-000000000633", - }, - "jobTitle": { - "id": "00000000-0000-0000-0000-000000000639", - }, - "linkedinLink": { - "id": "00000000-0000-0000-0000-000000000640", - }, - "name": { - "id": "00000000-0000-0000-0000-000000000632", - }, - "phones": { + "createdAt": { "id": "00000000-0000-0000-0000-000000000636", }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000633", + }, + "emails": { + "id": "00000000-0000-0000-0000-000000000632", + }, + "jobTitle": { + "id": "00000000-0000-0000-0000-000000000638", + }, + "linkedinLink": { + "id": "00000000-0000-0000-0000-000000000639", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000631", + }, + "phones": { + "id": "00000000-0000-0000-0000-000000000635", + }, "xLink": { - "id": "00000000-0000-0000-0000-000000000641", + "id": "00000000-0000-0000-0000-000000000640", }, }, "viewGroups": {}, }, "personRecordPageFields": { - "id": "00000000-0000-0000-0000-000000000667", + "id": "00000000-0000-0000-0000-000000000666", "viewFieldGroups": { "general": { - "id": "00000000-0000-0000-0000-000000000663", + "id": "00000000-0000-0000-0000-000000000662", }, "social": { - "id": "00000000-0000-0000-0000-000000000665", + "id": "00000000-0000-0000-0000-000000000664", }, "system": { - "id": "00000000-0000-0000-0000-000000000666", + "id": "00000000-0000-0000-0000-000000000665", }, "work": { - "id": "00000000-0000-0000-0000-000000000664", + "id": "00000000-0000-0000-0000-000000000663", }, }, "viewFields": { "attachments": { - "id": "00000000-0000-0000-0000-000000000659", - }, - "avatarFile": { - "id": "00000000-0000-0000-0000-000000000655", - }, - "avatarUrl": { - "id": "00000000-0000-0000-0000-000000000650", - }, - "calendarEventParticipants": { - "id": "00000000-0000-0000-0000-000000000661", - }, - "city": { - "id": "00000000-0000-0000-0000-000000000649", - }, - "company": { - "id": "00000000-0000-0000-0000-000000000645", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000651", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000652", - }, - "emails": { - "id": "00000000-0000-0000-0000-000000000643", - }, - "jobTitle": { - "id": "00000000-0000-0000-0000-000000000646", - }, - "linkedinLink": { - "id": "00000000-0000-0000-0000-000000000647", - }, - "messageParticipants": { - "id": "00000000-0000-0000-0000-000000000660", - }, - "noteTargets": { "id": "00000000-0000-0000-0000-000000000658", }, - "phones": { - "id": "00000000-0000-0000-0000-000000000644", - }, - "pointOfContactForOpportunities": { - "id": "00000000-0000-0000-0000-000000000656", - }, - "taskTargets": { - "id": "00000000-0000-0000-0000-000000000657", - }, - "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000662", - }, - "updatedAt": { - "id": "00000000-0000-0000-0000-000000000653", - }, - "updatedBy": { + "avatarFile": { "id": "00000000-0000-0000-0000-000000000654", }, - "xLink": { + "avatarUrl": { + "id": "00000000-0000-0000-0000-000000000649", + }, + "calendarEventParticipants": { + "id": "00000000-0000-0000-0000-000000000660", + }, + "city": { "id": "00000000-0000-0000-0000-000000000648", }, + "company": { + "id": "00000000-0000-0000-0000-000000000644", + }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000650", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000651", + }, + "emails": { + "id": "00000000-0000-0000-0000-000000000642", + }, + "jobTitle": { + "id": "00000000-0000-0000-0000-000000000645", + }, + "linkedinLink": { + "id": "00000000-0000-0000-0000-000000000646", + }, + "messageParticipants": { + "id": "00000000-0000-0000-0000-000000000659", + }, + "noteTargets": { + "id": "00000000-0000-0000-0000-000000000657", + }, + "phones": { + "id": "00000000-0000-0000-0000-000000000643", + }, + "pointOfContactForOpportunities": { + "id": "00000000-0000-0000-0000-000000000655", + }, + "taskTargets": { + "id": "00000000-0000-0000-0000-000000000656", + }, + "timelineActivities": { + "id": "00000000-0000-0000-0000-000000000661", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000652", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000653", + }, + "xLink": { + "id": "00000000-0000-0000-0000-000000000647", + }, }, "viewGroups": {}, }, @@ -2244,203 +2241,203 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "task": { "fields": { "assignee": { - "id": "00000000-0000-0000-0000-000000000682", - }, - "attachments": { "id": "00000000-0000-0000-0000-000000000681", }, - "bodyV2": { - "id": "00000000-0000-0000-0000-000000000675", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000670", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000678", - }, - "deletedAt": { - "id": "00000000-0000-0000-0000-000000000672", - }, - "dueAt": { - "id": "00000000-0000-0000-0000-000000000676", - }, - "id": { - "id": "00000000-0000-0000-0000-000000000669", - }, - "position": { - "id": "00000000-0000-0000-0000-000000000673", - }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000684", - }, - "status": { - "id": "00000000-0000-0000-0000-000000000677", - }, - "taskTargets": { + "attachments": { "id": "00000000-0000-0000-0000-000000000680", }, - "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000683", - }, - "title": { + "bodyV2": { "id": "00000000-0000-0000-0000-000000000674", }, - "updatedAt": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000669", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000677", + }, + "deletedAt": { "id": "00000000-0000-0000-0000-000000000671", }, - "updatedBy": { + "dueAt": { + "id": "00000000-0000-0000-0000-000000000675", + }, + "id": { + "id": "00000000-0000-0000-0000-000000000668", + }, + "position": { + "id": "00000000-0000-0000-0000-000000000672", + }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000683", + }, + "status": { + "id": "00000000-0000-0000-0000-000000000676", + }, + "taskTargets": { "id": "00000000-0000-0000-0000-000000000679", }, + "timelineActivities": { + "id": "00000000-0000-0000-0000-000000000682", + }, + "title": { + "id": "00000000-0000-0000-0000-000000000673", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000670", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000678", + }, }, - "id": "00000000-0000-0000-0000-000000000729", + "id": "00000000-0000-0000-0000-000000000728", "views": { "allTasks": { - "id": "00000000-0000-0000-0000-000000000693", + "id": "00000000-0000-0000-0000-000000000692", "viewFieldGroups": {}, "viewFields": { "assignee": { - "id": "00000000-0000-0000-0000-000000000690", - }, - "bodyV2": { - "id": "00000000-0000-0000-0000-000000000691", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000692", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000688", - }, - "dueAt": { "id": "00000000-0000-0000-0000-000000000689", }, - "status": { - "id": "00000000-0000-0000-0000-000000000686", + "bodyV2": { + "id": "00000000-0000-0000-0000-000000000690", }, - "taskTargets": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000691", + }, + "createdBy": { "id": "00000000-0000-0000-0000-000000000687", }, - "title": { + "dueAt": { + "id": "00000000-0000-0000-0000-000000000688", + }, + "status": { "id": "00000000-0000-0000-0000-000000000685", }, + "taskTargets": { + "id": "00000000-0000-0000-0000-000000000686", + }, + "title": { + "id": "00000000-0000-0000-0000-000000000684", + }, }, "viewGroups": {}, }, "assignedToMe": { - "id": "00000000-0000-0000-0000-000000000705", + "id": "00000000-0000-0000-0000-000000000704", "viewFieldGroups": {}, "viewFields": { "assignee": { - "id": "00000000-0000-0000-0000-000000000698", - }, - "bodyV2": { - "id": "00000000-0000-0000-0000-000000000699", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000700", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000696", - }, - "dueAt": { "id": "00000000-0000-0000-0000-000000000697", }, - "taskTargets": { + "bodyV2": { + "id": "00000000-0000-0000-0000-000000000698", + }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000699", + }, + "createdBy": { "id": "00000000-0000-0000-0000-000000000695", }, - "title": { + "dueAt": { + "id": "00000000-0000-0000-0000-000000000696", + }, + "taskTargets": { "id": "00000000-0000-0000-0000-000000000694", }, + "title": { + "id": "00000000-0000-0000-0000-000000000693", + }, }, "viewGroups": { "done": { - "id": "00000000-0000-0000-0000-000000000703", - }, - "empty": { - "id": "00000000-0000-0000-0000-000000000704", - }, - "inProgress": { "id": "00000000-0000-0000-0000-000000000702", }, - "todo": { + "empty": { + "id": "00000000-0000-0000-0000-000000000703", + }, + "inProgress": { "id": "00000000-0000-0000-0000-000000000701", }, + "todo": { + "id": "00000000-0000-0000-0000-000000000700", + }, }, }, "byStatus": { - "id": "00000000-0000-0000-0000-000000000714", + "id": "00000000-0000-0000-0000-000000000713", "viewFieldGroups": {}, "viewFields": { "assignee": { - "id": "00000000-0000-0000-0000-000000000709", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000710", - }, - "dueAt": { "id": "00000000-0000-0000-0000-000000000708", }, - "status": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000709", + }, + "dueAt": { "id": "00000000-0000-0000-0000-000000000707", }, - "title": { + "status": { "id": "00000000-0000-0000-0000-000000000706", }, + "title": { + "id": "00000000-0000-0000-0000-000000000705", + }, }, "viewGroups": { "done": { - "id": "00000000-0000-0000-0000-000000000713", - }, - "inProgress": { "id": "00000000-0000-0000-0000-000000000712", }, - "todo": { + "inProgress": { "id": "00000000-0000-0000-0000-000000000711", }, + "todo": { + "id": "00000000-0000-0000-0000-000000000710", + }, }, }, "taskRecordPageFields": { - "id": "00000000-0000-0000-0000-000000000728", + "id": "00000000-0000-0000-0000-000000000727", "viewFieldGroups": { "general": { - "id": "00000000-0000-0000-0000-000000000726", + "id": "00000000-0000-0000-0000-000000000725", }, "system": { - "id": "00000000-0000-0000-0000-000000000727", + "id": "00000000-0000-0000-0000-000000000726", }, }, "viewFields": { "assignee": { - "id": "00000000-0000-0000-0000-000000000717", - }, - "attachments": { - "id": "00000000-0000-0000-0000-000000000724", - }, - "bodyV2": { - "id": "00000000-0000-0000-0000-000000000721", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000718", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000719", - }, - "dueAt": { - "id": "00000000-0000-0000-0000-000000000715", - }, - "status": { "id": "00000000-0000-0000-0000-000000000716", }, - "taskTargets": { + "attachments": { + "id": "00000000-0000-0000-0000-000000000723", + }, + "bodyV2": { "id": "00000000-0000-0000-0000-000000000720", }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000717", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000718", + }, + "dueAt": { + "id": "00000000-0000-0000-0000-000000000714", + }, + "status": { + "id": "00000000-0000-0000-0000-000000000715", + }, + "taskTargets": { + "id": "00000000-0000-0000-0000-000000000719", + }, "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000725", + "id": "00000000-0000-0000-0000-000000000724", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000722", + "id": "00000000-0000-0000-0000-000000000721", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000723", + "id": "00000000-0000-0000-0000-000000000722", }, }, "viewGroups": {}, @@ -2450,63 +2447,63 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "taskTarget": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000731", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000738", - }, - "deletedAt": { - "id": "00000000-0000-0000-0000-000000000733", - }, - "id": { "id": "00000000-0000-0000-0000-000000000730", }, - "position": { - "id": "00000000-0000-0000-0000-000000000740", - }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000741", - }, - "targetCompany": { - "id": "00000000-0000-0000-0000-000000000736", - }, - "targetOpportunity": { + "createdBy": { "id": "00000000-0000-0000-0000-000000000737", }, - "targetPerson": { - "id": "00000000-0000-0000-0000-000000000735", - }, - "task": { - "id": "00000000-0000-0000-0000-000000000734", - }, - "updatedAt": { + "deletedAt": { "id": "00000000-0000-0000-0000-000000000732", }, - "updatedBy": { + "id": { + "id": "00000000-0000-0000-0000-000000000729", + }, + "position": { "id": "00000000-0000-0000-0000-000000000739", }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000740", + }, + "targetCompany": { + "id": "00000000-0000-0000-0000-000000000735", + }, + "targetOpportunity": { + "id": "00000000-0000-0000-0000-000000000736", + }, + "targetPerson": { + "id": "00000000-0000-0000-0000-000000000734", + }, + "task": { + "id": "00000000-0000-0000-0000-000000000733", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000731", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000738", + }, }, - "id": "00000000-0000-0000-0000-000000000748", + "id": "00000000-0000-0000-0000-000000000747", "views": { "allTaskTargets": { - "id": "00000000-0000-0000-0000-000000000747", + "id": "00000000-0000-0000-0000-000000000746", "viewFieldGroups": {}, "viewFields": { "id": { - "id": "00000000-0000-0000-0000-000000000742", + "id": "00000000-0000-0000-0000-000000000741", }, "targetCompany": { - "id": "00000000-0000-0000-0000-000000000745", - }, - "targetOpportunity": { - "id": "00000000-0000-0000-0000-000000000746", - }, - "targetPerson": { "id": "00000000-0000-0000-0000-000000000744", }, - "task": { + "targetOpportunity": { + "id": "00000000-0000-0000-0000-000000000745", + }, + "targetPerson": { "id": "00000000-0000-0000-0000-000000000743", }, + "task": { + "id": "00000000-0000-0000-0000-000000000742", + }, }, "viewGroups": {}, }, @@ -2515,125 +2512,125 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "timelineActivity": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000750", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000769", - }, - "deletedAt": { - "id": "00000000-0000-0000-0000-000000000752", - }, - "happensAt": { - "id": "00000000-0000-0000-0000-000000000753", - }, - "id": { "id": "00000000-0000-0000-0000-000000000749", }, - "linkedObjectMetadataId": { + "createdBy": { "id": "00000000-0000-0000-0000-000000000768", }, - "linkedRecordCachedName": { - "id": "00000000-0000-0000-0000-000000000766", - }, - "linkedRecordId": { - "id": "00000000-0000-0000-0000-000000000767", - }, - "name": { - "id": "00000000-0000-0000-0000-000000000754", - }, - "position": { - "id": "00000000-0000-0000-0000-000000000771", - }, - "properties": { - "id": "00000000-0000-0000-0000-000000000755", - }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000772", - }, - "targetCompany": { - "id": "00000000-0000-0000-0000-000000000758", - }, - "targetDashboard": { - "id": "00000000-0000-0000-0000-000000000765", - }, - "targetNote": { - "id": "00000000-0000-0000-0000-000000000761", - }, - "targetOpportunity": { - "id": "00000000-0000-0000-0000-000000000759", - }, - "targetPerson": { - "id": "00000000-0000-0000-0000-000000000757", - }, - "targetTask": { - "id": "00000000-0000-0000-0000-000000000760", - }, - "targetWorkflow": { - "id": "00000000-0000-0000-0000-000000000762", - }, - "targetWorkflowRun": { - "id": "00000000-0000-0000-0000-000000000764", - }, - "targetWorkflowVersion": { - "id": "00000000-0000-0000-0000-000000000763", - }, - "updatedAt": { + "deletedAt": { "id": "00000000-0000-0000-0000-000000000751", }, - "updatedBy": { + "happensAt": { + "id": "00000000-0000-0000-0000-000000000752", + }, + "id": { + "id": "00000000-0000-0000-0000-000000000748", + }, + "linkedObjectMetadataId": { + "id": "00000000-0000-0000-0000-000000000767", + }, + "linkedRecordCachedName": { + "id": "00000000-0000-0000-0000-000000000765", + }, + "linkedRecordId": { + "id": "00000000-0000-0000-0000-000000000766", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000753", + }, + "position": { "id": "00000000-0000-0000-0000-000000000770", }, - "workspaceMember": { + "properties": { + "id": "00000000-0000-0000-0000-000000000754", + }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000771", + }, + "targetCompany": { + "id": "00000000-0000-0000-0000-000000000757", + }, + "targetDashboard": { + "id": "00000000-0000-0000-0000-000000000764", + }, + "targetNote": { + "id": "00000000-0000-0000-0000-000000000760", + }, + "targetOpportunity": { + "id": "00000000-0000-0000-0000-000000000758", + }, + "targetPerson": { "id": "00000000-0000-0000-0000-000000000756", }, + "targetTask": { + "id": "00000000-0000-0000-0000-000000000759", + }, + "targetWorkflow": { + "id": "00000000-0000-0000-0000-000000000761", + }, + "targetWorkflowRun": { + "id": "00000000-0000-0000-0000-000000000763", + }, + "targetWorkflowVersion": { + "id": "00000000-0000-0000-0000-000000000762", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000750", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000769", + }, + "workspaceMember": { + "id": "00000000-0000-0000-0000-000000000755", + }, }, - "id": "00000000-0000-0000-0000-000000000788", + "id": "00000000-0000-0000-0000-000000000787", "views": { "allTimelineActivities": { - "id": "00000000-0000-0000-0000-000000000787", + "id": "00000000-0000-0000-0000-000000000786", "viewFieldGroups": {}, "viewFields": { "happensAt": { - "id": "00000000-0000-0000-0000-000000000774", - }, - "linkedRecordCachedName": { - "id": "00000000-0000-0000-0000-000000000777", - }, - "name": { "id": "00000000-0000-0000-0000-000000000773", }, + "linkedRecordCachedName": { + "id": "00000000-0000-0000-0000-000000000776", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000772", + }, "properties": { - "id": "00000000-0000-0000-0000-000000000775", + "id": "00000000-0000-0000-0000-000000000774", }, "targetCompany": { - "id": "00000000-0000-0000-0000-000000000779", - }, - "targetDashboard": { - "id": "00000000-0000-0000-0000-000000000786", - }, - "targetNote": { - "id": "00000000-0000-0000-0000-000000000782", - }, - "targetOpportunity": { - "id": "00000000-0000-0000-0000-000000000780", - }, - "targetPerson": { "id": "00000000-0000-0000-0000-000000000778", }, - "targetTask": { - "id": "00000000-0000-0000-0000-000000000781", - }, - "targetWorkflow": { - "id": "00000000-0000-0000-0000-000000000783", - }, - "targetWorkflowRun": { + "targetDashboard": { "id": "00000000-0000-0000-0000-000000000785", }, - "targetWorkflowVersion": { + "targetNote": { + "id": "00000000-0000-0000-0000-000000000781", + }, + "targetOpportunity": { + "id": "00000000-0000-0000-0000-000000000779", + }, + "targetPerson": { + "id": "00000000-0000-0000-0000-000000000777", + }, + "targetTask": { + "id": "00000000-0000-0000-0000-000000000780", + }, + "targetWorkflow": { + "id": "00000000-0000-0000-0000-000000000782", + }, + "targetWorkflowRun": { "id": "00000000-0000-0000-0000-000000000784", }, + "targetWorkflowVersion": { + "id": "00000000-0000-0000-0000-000000000783", + }, "workspaceMember": { - "id": "00000000-0000-0000-0000-000000000776", + "id": "00000000-0000-0000-0000-000000000775", }, }, "viewGroups": {}, @@ -2643,78 +2640,78 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "workflow": { "fields": { "attachments": { - "id": "00000000-0000-0000-0000-000000000801", - }, - "automatedTriggers": { - "id": "00000000-0000-0000-0000-000000000799", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000790", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000802", - }, - "deletedAt": { - "id": "00000000-0000-0000-0000-000000000792", - }, - "id": { - "id": "00000000-0000-0000-0000-000000000789", - }, - "lastPublishedVersionId": { - "id": "00000000-0000-0000-0000-000000000794", - }, - "name": { - "id": "00000000-0000-0000-0000-000000000793", - }, - "position": { - "id": "00000000-0000-0000-0000-000000000796", - }, - "runs": { - "id": "00000000-0000-0000-0000-000000000798", - }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000804", - }, - "statuses": { - "id": "00000000-0000-0000-0000-000000000795", - }, - "timelineActivities": { "id": "00000000-0000-0000-0000-000000000800", }, - "updatedAt": { + "automatedTriggers": { + "id": "00000000-0000-0000-0000-000000000798", + }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000789", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000801", + }, + "deletedAt": { "id": "00000000-0000-0000-0000-000000000791", }, - "updatedBy": { - "id": "00000000-0000-0000-0000-000000000803", + "id": { + "id": "00000000-0000-0000-0000-000000000788", }, - "versions": { + "lastPublishedVersionId": { + "id": "00000000-0000-0000-0000-000000000793", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000792", + }, + "position": { + "id": "00000000-0000-0000-0000-000000000795", + }, + "runs": { "id": "00000000-0000-0000-0000-000000000797", }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000803", + }, + "statuses": { + "id": "00000000-0000-0000-0000-000000000794", + }, + "timelineActivities": { + "id": "00000000-0000-0000-0000-000000000799", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000790", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000802", + }, + "versions": { + "id": "00000000-0000-0000-0000-000000000796", + }, }, - "id": "00000000-0000-0000-0000-000000000812", + "id": "00000000-0000-0000-0000-000000000811", "views": { "allWorkflows": { - "id": "00000000-0000-0000-0000-000000000811", + "id": "00000000-0000-0000-0000-000000000810", "viewFieldGroups": {}, "viewFields": { "createdBy": { - "id": "00000000-0000-0000-0000-000000000808", - }, - "name": { - "id": "00000000-0000-0000-0000-000000000805", - }, - "runs": { - "id": "00000000-0000-0000-0000-000000000810", - }, - "statuses": { - "id": "00000000-0000-0000-0000-000000000806", - }, - "updatedAt": { "id": "00000000-0000-0000-0000-000000000807", }, - "versions": { + "name": { + "id": "00000000-0000-0000-0000-000000000804", + }, + "runs": { "id": "00000000-0000-0000-0000-000000000809", }, + "statuses": { + "id": "00000000-0000-0000-0000-000000000805", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000806", + }, + "versions": { + "id": "00000000-0000-0000-0000-000000000808", + }, }, "viewGroups": {}, }, @@ -2723,79 +2720,79 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "workflowAutomatedTrigger": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000814", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000820", - }, - "deletedAt": { - "id": "00000000-0000-0000-0000-000000000816", - }, - "id": { "id": "00000000-0000-0000-0000-000000000813", }, - "position": { - "id": "00000000-0000-0000-0000-000000000822", - }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000823", - }, - "settings": { - "id": "00000000-0000-0000-0000-000000000818", - }, - "type": { - "id": "00000000-0000-0000-0000-000000000817", - }, - "updatedAt": { - "id": "00000000-0000-0000-0000-000000000815", - }, - "updatedBy": { - "id": "00000000-0000-0000-0000-000000000821", - }, - "workflow": { + "createdBy": { "id": "00000000-0000-0000-0000-000000000819", }, + "deletedAt": { + "id": "00000000-0000-0000-0000-000000000815", + }, + "id": { + "id": "00000000-0000-0000-0000-000000000812", + }, + "position": { + "id": "00000000-0000-0000-0000-000000000821", + }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000822", + }, + "settings": { + "id": "00000000-0000-0000-0000-000000000817", + }, + "type": { + "id": "00000000-0000-0000-0000-000000000816", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000814", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000820", + }, + "workflow": { + "id": "00000000-0000-0000-0000-000000000818", + }, }, - "id": "00000000-0000-0000-0000-000000000835", + "id": "00000000-0000-0000-0000-000000000834", "views": { "allWorkflowAutomatedTriggers": { - "id": "00000000-0000-0000-0000-000000000827", + "id": "00000000-0000-0000-0000-000000000826", "viewFieldGroups": {}, "viewFields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000826", + "id": "00000000-0000-0000-0000-000000000825", }, "type": { - "id": "00000000-0000-0000-0000-000000000824", + "id": "00000000-0000-0000-0000-000000000823", }, "workflow": { - "id": "00000000-0000-0000-0000-000000000825", + "id": "00000000-0000-0000-0000-000000000824", }, }, "viewGroups": {}, }, "workflowAutomatedTriggerRecordPageFields": { - "id": "00000000-0000-0000-0000-000000000834", + "id": "00000000-0000-0000-0000-000000000833", "viewFieldGroups": { "general": { - "id": "00000000-0000-0000-0000-000000000832", + "id": "00000000-0000-0000-0000-000000000831", }, "system": { - "id": "00000000-0000-0000-0000-000000000833", + "id": "00000000-0000-0000-0000-000000000832", }, }, "viewFields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000830", + "id": "00000000-0000-0000-0000-000000000829", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000831", + "id": "00000000-0000-0000-0000-000000000830", }, "type": { - "id": "00000000-0000-0000-0000-000000000828", + "id": "00000000-0000-0000-0000-000000000827", }, "workflow": { - "id": "00000000-0000-0000-0000-000000000829", + "id": "00000000-0000-0000-0000-000000000828", }, }, "viewGroups": {}, @@ -2805,130 +2802,130 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "workflowRun": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000837", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000848", - }, - "deletedAt": { - "id": "00000000-0000-0000-0000-000000000839", - }, - "endedAt": { - "id": "00000000-0000-0000-0000-000000000845", - }, - "enqueuedAt": { - "id": "00000000-0000-0000-0000-000000000843", - }, - "id": { "id": "00000000-0000-0000-0000-000000000836", }, - "name": { - "id": "00000000-0000-0000-0000-000000000840", - }, - "position": { + "createdBy": { "id": "00000000-0000-0000-0000-000000000847", }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000852", - }, - "startedAt": { - "id": "00000000-0000-0000-0000-000000000844", - }, - "state": { - "id": "00000000-0000-0000-0000-000000000850", - }, - "status": { - "id": "00000000-0000-0000-0000-000000000846", - }, - "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000851", - }, - "updatedAt": { + "deletedAt": { "id": "00000000-0000-0000-0000-000000000838", }, - "updatedBy": { - "id": "00000000-0000-0000-0000-000000000849", + "endedAt": { + "id": "00000000-0000-0000-0000-000000000844", }, - "workflow": { + "enqueuedAt": { "id": "00000000-0000-0000-0000-000000000842", }, - "workflowVersion": { + "id": { + "id": "00000000-0000-0000-0000-000000000835", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000839", + }, + "position": { + "id": "00000000-0000-0000-0000-000000000846", + }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000851", + }, + "startedAt": { + "id": "00000000-0000-0000-0000-000000000843", + }, + "state": { + "id": "00000000-0000-0000-0000-000000000849", + }, + "status": { + "id": "00000000-0000-0000-0000-000000000845", + }, + "timelineActivities": { + "id": "00000000-0000-0000-0000-000000000850", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000837", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000848", + }, + "workflow": { "id": "00000000-0000-0000-0000-000000000841", }, + "workflowVersion": { + "id": "00000000-0000-0000-0000-000000000840", + }, }, - "id": "00000000-0000-0000-0000-000000000875", + "id": "00000000-0000-0000-0000-000000000874", "views": { "allWorkflowRuns": { - "id": "00000000-0000-0000-0000-000000000859", + "id": "00000000-0000-0000-0000-000000000858", "viewFieldGroups": {}, "viewFields": { "createdBy": { - "id": "00000000-0000-0000-0000-000000000857", - }, - "name": { - "id": "00000000-0000-0000-0000-000000000853", - }, - "startedAt": { "id": "00000000-0000-0000-0000-000000000856", }, - "status": { + "name": { + "id": "00000000-0000-0000-0000-000000000852", + }, + "startedAt": { "id": "00000000-0000-0000-0000-000000000855", }, - "workflow": { + "status": { "id": "00000000-0000-0000-0000-000000000854", }, + "workflow": { + "id": "00000000-0000-0000-0000-000000000853", + }, "workflowVersion": { - "id": "00000000-0000-0000-0000-000000000858", + "id": "00000000-0000-0000-0000-000000000857", }, }, "viewGroups": {}, }, "workflowRunRecordPageFields": { - "id": "00000000-0000-0000-0000-000000000874", + "id": "00000000-0000-0000-0000-000000000873", "viewFieldGroups": { "general": { - "id": "00000000-0000-0000-0000-000000000872", + "id": "00000000-0000-0000-0000-000000000871", }, "system": { - "id": "00000000-0000-0000-0000-000000000873", + "id": "00000000-0000-0000-0000-000000000872", }, }, "viewFields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000865", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000866", - }, - "endedAt": { "id": "00000000-0000-0000-0000-000000000864", }, - "enqueuedAt": { - "id": "00000000-0000-0000-0000-000000000867", + "createdBy": { + "id": "00000000-0000-0000-0000-000000000865", }, - "startedAt": { + "endedAt": { "id": "00000000-0000-0000-0000-000000000863", }, + "enqueuedAt": { + "id": "00000000-0000-0000-0000-000000000866", + }, + "startedAt": { + "id": "00000000-0000-0000-0000-000000000862", + }, "state": { - "id": "00000000-0000-0000-0000-000000000868", + "id": "00000000-0000-0000-0000-000000000867", }, "status": { - "id": "00000000-0000-0000-0000-000000000860", + "id": "00000000-0000-0000-0000-000000000859", }, "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000871", - }, - "updatedAt": { - "id": "00000000-0000-0000-0000-000000000869", - }, - "updatedBy": { "id": "00000000-0000-0000-0000-000000000870", }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000868", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000869", + }, "workflow": { - "id": "00000000-0000-0000-0000-000000000861", + "id": "00000000-0000-0000-0000-000000000860", }, "workflowVersion": { - "id": "00000000-0000-0000-0000-000000000862", + "id": "00000000-0000-0000-0000-000000000861", }, }, "viewGroups": {}, @@ -2938,116 +2935,116 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "workflowVersion": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000877", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000889", - }, - "deletedAt": { - "id": "00000000-0000-0000-0000-000000000879", - }, - "id": { "id": "00000000-0000-0000-0000-000000000876", }, - "name": { - "id": "00000000-0000-0000-0000-000000000880", - }, - "position": { - "id": "00000000-0000-0000-0000-000000000884", - }, - "runs": { - "id": "00000000-0000-0000-0000-000000000885", - }, - "searchVector": { + "createdBy": { "id": "00000000-0000-0000-0000-000000000888", }, - "status": { - "id": "00000000-0000-0000-0000-000000000883", - }, - "steps": { - "id": "00000000-0000-0000-0000-000000000886", - }, - "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000887", - }, - "trigger": { - "id": "00000000-0000-0000-0000-000000000882", - }, - "updatedAt": { + "deletedAt": { "id": "00000000-0000-0000-0000-000000000878", }, - "updatedBy": { - "id": "00000000-0000-0000-0000-000000000890", + "id": { + "id": "00000000-0000-0000-0000-000000000875", }, - "workflow": { + "name": { + "id": "00000000-0000-0000-0000-000000000879", + }, + "position": { + "id": "00000000-0000-0000-0000-000000000883", + }, + "runs": { + "id": "00000000-0000-0000-0000-000000000884", + }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000887", + }, + "status": { + "id": "00000000-0000-0000-0000-000000000882", + }, + "steps": { + "id": "00000000-0000-0000-0000-000000000885", + }, + "timelineActivities": { + "id": "00000000-0000-0000-0000-000000000886", + }, + "trigger": { "id": "00000000-0000-0000-0000-000000000881", }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000877", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000889", + }, + "workflow": { + "id": "00000000-0000-0000-0000-000000000880", + }, }, - "id": "00000000-0000-0000-0000-000000000910", + "id": "00000000-0000-0000-0000-000000000909", "views": { "allWorkflowVersions": { - "id": "00000000-0000-0000-0000-000000000896", + "id": "00000000-0000-0000-0000-000000000895", "viewFieldGroups": {}, "viewFields": { "name": { - "id": "00000000-0000-0000-0000-000000000891", + "id": "00000000-0000-0000-0000-000000000890", }, "runs": { - "id": "00000000-0000-0000-0000-000000000895", - }, - "status": { - "id": "00000000-0000-0000-0000-000000000893", - }, - "updatedAt": { "id": "00000000-0000-0000-0000-000000000894", }, - "workflow": { + "status": { "id": "00000000-0000-0000-0000-000000000892", }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000893", + }, + "workflow": { + "id": "00000000-0000-0000-0000-000000000891", + }, }, "viewGroups": {}, }, "workflowVersionRecordPageFields": { - "id": "00000000-0000-0000-0000-000000000909", + "id": "00000000-0000-0000-0000-000000000908", "viewFieldGroups": { "general": { - "id": "00000000-0000-0000-0000-000000000907", + "id": "00000000-0000-0000-0000-000000000906", }, "system": { - "id": "00000000-0000-0000-0000-000000000908", + "id": "00000000-0000-0000-0000-000000000907", }, }, "viewFields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000900", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000902", - }, - "runs": { - "id": "00000000-0000-0000-0000-000000000905", - }, - "status": { - "id": "00000000-0000-0000-0000-000000000897", - }, - "steps": { - "id": "00000000-0000-0000-0000-000000000901", - }, - "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000906", - }, - "trigger": { "id": "00000000-0000-0000-0000-000000000899", }, - "updatedAt": { - "id": "00000000-0000-0000-0000-000000000903", + "createdBy": { + "id": "00000000-0000-0000-0000-000000000901", }, - "updatedBy": { + "runs": { "id": "00000000-0000-0000-0000-000000000904", }, - "workflow": { + "status": { + "id": "00000000-0000-0000-0000-000000000896", + }, + "steps": { + "id": "00000000-0000-0000-0000-000000000900", + }, + "timelineActivities": { + "id": "00000000-0000-0000-0000-000000000905", + }, + "trigger": { "id": "00000000-0000-0000-0000-000000000898", }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000902", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000903", + }, + "workflow": { + "id": "00000000-0000-0000-0000-000000000897", + }, }, "viewGroups": {}, }, @@ -3056,125 +3053,125 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "workspaceMember": { "fields": { "accountOwnerForCompanies": { - "id": "00000000-0000-0000-0000-000000000924", - }, - "assignedTasks": { - "id": "00000000-0000-0000-0000-000000000922", - }, - "avatarUrl": { - "id": "00000000-0000-0000-0000-000000000919", - }, - "blocklist": { - "id": "00000000-0000-0000-0000-000000000927", - }, - "calendarEventParticipants": { - "id": "00000000-0000-0000-0000-000000000928", - }, - "calendarStartDay": { - "id": "00000000-0000-0000-0000-000000000934", - }, - "colorScheme": { - "id": "00000000-0000-0000-0000-000000000917", - }, - "connectedAccounts": { - "id": "00000000-0000-0000-0000-000000000925", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000912", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000936", - }, - "dateFormat": { - "id": "00000000-0000-0000-0000-000000000931", - }, - "deletedAt": { - "id": "00000000-0000-0000-0000-000000000914", - }, - "id": { - "id": "00000000-0000-0000-0000-000000000911", - }, - "locale": { - "id": "00000000-0000-0000-0000-000000000918", - }, - "messageParticipants": { - "id": "00000000-0000-0000-0000-000000000926", - }, - "name": { - "id": "00000000-0000-0000-0000-000000000916", - }, - "numberFormat": { - "id": "00000000-0000-0000-0000-000000000935", - }, - "ownedOpportunities": { "id": "00000000-0000-0000-0000-000000000923", }, - "position": { - "id": "00000000-0000-0000-0000-000000000915", - }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000933", - }, - "timeFormat": { - "id": "00000000-0000-0000-0000-000000000932", - }, - "timeZone": { - "id": "00000000-0000-0000-0000-000000000930", - }, - "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000929", - }, - "updatedAt": { - "id": "00000000-0000-0000-0000-000000000913", - }, - "updatedBy": { - "id": "00000000-0000-0000-0000-000000000937", - }, - "userEmail": { - "id": "00000000-0000-0000-0000-000000000920", - }, - "userId": { + "assignedTasks": { "id": "00000000-0000-0000-0000-000000000921", }, + "avatarUrl": { + "id": "00000000-0000-0000-0000-000000000918", + }, + "blocklist": { + "id": "00000000-0000-0000-0000-000000000926", + }, + "calendarEventParticipants": { + "id": "00000000-0000-0000-0000-000000000927", + }, + "calendarStartDay": { + "id": "00000000-0000-0000-0000-000000000933", + }, + "colorScheme": { + "id": "00000000-0000-0000-0000-000000000916", + }, + "connectedAccounts": { + "id": "00000000-0000-0000-0000-000000000924", + }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000911", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000935", + }, + "dateFormat": { + "id": "00000000-0000-0000-0000-000000000930", + }, + "deletedAt": { + "id": "00000000-0000-0000-0000-000000000913", + }, + "id": { + "id": "00000000-0000-0000-0000-000000000910", + }, + "locale": { + "id": "00000000-0000-0000-0000-000000000917", + }, + "messageParticipants": { + "id": "00000000-0000-0000-0000-000000000925", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000915", + }, + "numberFormat": { + "id": "00000000-0000-0000-0000-000000000934", + }, + "ownedOpportunities": { + "id": "00000000-0000-0000-0000-000000000922", + }, + "position": { + "id": "00000000-0000-0000-0000-000000000914", + }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000932", + }, + "timeFormat": { + "id": "00000000-0000-0000-0000-000000000931", + }, + "timeZone": { + "id": "00000000-0000-0000-0000-000000000929", + }, + "timelineActivities": { + "id": "00000000-0000-0000-0000-000000000928", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000912", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000936", + }, + "userEmail": { + "id": "00000000-0000-0000-0000-000000000919", + }, + "userId": { + "id": "00000000-0000-0000-0000-000000000920", + }, }, - "id": "00000000-0000-0000-0000-000000000950", + "id": "00000000-0000-0000-0000-000000000949", "views": { "allWorkspaceMembers": { - "id": "00000000-0000-0000-0000-000000000949", + "id": "00000000-0000-0000-0000-000000000948", "viewFieldGroups": {}, "viewFields": { "assignedTasks": { - "id": "00000000-0000-0000-0000-000000000948", - }, - "avatarUrl": { - "id": "00000000-0000-0000-0000-000000000940", - }, - "colorScheme": { - "id": "00000000-0000-0000-0000-000000000941", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000946", - }, - "dateFormat": { - "id": "00000000-0000-0000-0000-000000000944", - }, - "locale": { - "id": "00000000-0000-0000-0000-000000000942", - }, - "name": { - "id": "00000000-0000-0000-0000-000000000938", - }, - "ownedOpportunities": { "id": "00000000-0000-0000-0000-000000000947", }, - "timeFormat": { + "avatarUrl": { + "id": "00000000-0000-0000-0000-000000000939", + }, + "colorScheme": { + "id": "00000000-0000-0000-0000-000000000940", + }, + "createdAt": { "id": "00000000-0000-0000-0000-000000000945", }, - "timeZone": { + "dateFormat": { "id": "00000000-0000-0000-0000-000000000943", }, + "locale": { + "id": "00000000-0000-0000-0000-000000000941", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000937", + }, + "ownedOpportunities": { + "id": "00000000-0000-0000-0000-000000000946", + }, + "timeFormat": { + "id": "00000000-0000-0000-0000-000000000944", + }, + "timeZone": { + "id": "00000000-0000-0000-0000-000000000942", + }, "userEmail": { - "id": "00000000-0000-0000-0000-000000000939", + "id": "00000000-0000-0000-0000-000000000938", }, }, "viewGroups": {}, diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-standard-flat-field-metadata.util.ts index f7657e05ff5..328f0b0d0d8 100644 --- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-standard-flat-field-metadata.util.ts +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-standard-flat-field-metadata.util.ts @@ -212,40 +212,6 @@ export const buildMessageStandardFlatFieldMetadatas = ({ twentyStandardApplicationId, now, }), - direction: createStandardFieldFlatMetadata({ - objectName, - workspaceId, - context: { - fieldName: 'direction', - type: FieldMetadataType.SELECT, - label: i18nLabel(msg`Direction`), - description: i18nLabel(msg`Message Direction`), - icon: 'IconDirection', - isNullable: false, - isUIReadOnly: true, - defaultValue: "'INCOMING'", - options: [ - { - id: '20202020-7b52-47d2-abd8-e96a4295f9a6', - value: 'INCOMING', - label: i18nLabel(msg`Incoming`), - position: 0, - color: 'green', - }, - { - id: '20202020-11cb-42be-8df7-709ad53f90f9', - value: 'OUTGOING', - label: i18nLabel(msg`Outgoing`), - position: 1, - color: 'blue', - }, - ], - }, - standardObjectMetadataRelatedEntityIds, - dependencyFlatEntityMaps, - twentyStandardApplicationId, - now, - }), subject: createStandardFieldFlatMetadata({ objectName, workspaceId, 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 f66bbd2d913..90549facd69 100644 --- a/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts +++ b/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts @@ -1651,9 +1651,6 @@ export const STANDARD_OBJECTS = { messageThread: { universalIdentifier: '20202020-30f2-4ccd-9f5c-e41bb9d26214', }, - direction: { - universalIdentifier: '20202020-0203-4118-8e2a-05b9bdae6dab', - }, subject: { universalIdentifier: '20202020-52d1-4036-b9ae-84bd722bb37a' }, text: { universalIdentifier: '20202020-d2ee-4e7e-89de-9a0a9044a143' }, receivedAt: {