The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Deprecate `messageChannel` `messageFolder` `calendarChannel` standard objects (#20836)
Paul Rastoin76e144e85a75
diff --git a/packages/twenty-front/src/modules/object-metadata/types/CoreObjectNamePlural.ts b/packages/twenty-front/src/modules/object-metadata/types/CoreObjectNamePlural.tsindex 2e2219a9d4a..f7010343516 100644--- a/packages/twenty-front/src/modules/object-metadata/types/CoreObjectNamePlural.ts+++ b/packages/twenty-front/src/modules/object-metadata/types/CoreObjectNamePlural.ts@@ -4,14 +4,12 @@ export enum CoreObjectNamePlural {ApiKey = 'apiKeys',Attachment = 'attachments',Blocklist = 'blocklists',- CalendarChannel = 'calendarChannels',CalendarEvent = 'calendarEvents',Comment = 'comments',Company = 'companies',Dashboard = 'dashboards',TimelineActivity = 'timelineActivities',Message = 'messages',- MessageChannel = 'messageChannels',MessageParticipant = 'messageParticipants',MessageThread = 'messageThreads',Note = 'notes',diff --git a/packages/twenty-front/src/testing/mock-data/generated/metadata/minimal/mock-minimal-metadata.ts b/packages/twenty-front/src/testing/mock-data/generated/metadata/minimal/mock-minimal-metadata.tsindex 66cad9d5cee..5288ecfb3cd 100644--- a/packages/twenty-front/src/testing/mock-data/generated/metadata/minimal/mock-minimal-metadata.ts+++ b/packages/twenty-front/src/testing/mock-data/generated/metadata/minimal/mock-minimal-metadata.ts@@ -104,18 +104,6 @@ export const mockedMinimalMetadata: MinimalMetadata ="isSystem": true,"isRemote": false},- {- "id": "06ac365e-28d1-4966-8b15-30f268468a19",- "nameSingular": "messageFolder",- "namePlural": "messageFolders",- "labelSingular": "Message Folder",- "labelPlural": "Message Folders",- "icon": "IconFolder",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isRemote": false- },{"id": "61d7672d-5c4f-42e1-812e-99eb0a2565de","nameSingular": "workflowRun",@@ -296,30 +284,6 @@ export const mockedMinimalMetadata: MinimalMetadata ="isSystem": false,"isRemote": false},- {- "id": "ce1549f6-1cb8-4f47-ba55-16d5a399a235",- "nameSingular": "calendarChannel",- "namePlural": "calendarChannels",- "labelSingular": "Calendar Channel",- "labelPlural": "Calendar Channels",- "icon": "IconCalendar",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isRemote": false- },- {- "id": "c48ce4de-a73c-4b94-ba79-123559a8b299",- "nameSingular": "messageChannel",- "namePlural": "messageChannels",- "labelSingular": "Message Channel",- "labelPlural": "Message Channels",- "icon": "IconMessage",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isRemote": false- },{"id": "89c57180-083a-47b6-bfb7-ec51b3a87eae","nameSingular": "noteTarget",@@ -526,12 +490,6 @@ export const mockedMinimalMetadata: MinimalMetadata ="key": "INDEX","objectMetadataId": "057951b6-46e0-4ae9-956a-b3b72f2cf800"},- {- "id": "0641fc4f-b4ba-4074-a6e2-2d8d7826064e",- "type": "TABLE",- "key": "INDEX",- "objectMetadataId": "ce1549f6-1cb8-4f47-ba55-16d5a399a235"- },{"id": "cccea524-558f-49c0-8657-c07bc3610c23","type": "TABLE",@@ -562,12 +520,6 @@ export const mockedMinimalMetadata: MinimalMetadata ="key": "INDEX","objectMetadataId": "4397cb61-4bcc-49f8-b024-739b74ed9928"},- {- "id": "e7ac6796-abf6-4a97-a758-91fa3518cf4c",- "type": "TABLE",- "key": "INDEX",- "objectMetadataId": "06ac365e-28d1-4966-8b15-30f268468a19"- },{"id": "a144d5ab-3195-4409-95f5-5aee8c0d3bbe","type": "TABLE",@@ -586,12 +538,6 @@ export const mockedMinimalMetadata: MinimalMetadata ="key": "INDEX","objectMetadataId": "7db07e5a-4476-4a4f-ba75-6de6597689aa"},- {- "id": "022dba8d-2c8e-40e7-b767-0234e71ad705",- "type": "TABLE",- "key": "INDEX",- "objectMetadataId": "c48ce4de-a73c-4b94-ba79-123559a8b299"- },{"id": "b2e63752-f7e4-4d38-ae6e-063e6766a02d","type": "TABLE",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.tsindex 300125bb5de..240bebd029d 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@@ -2421,10 +2421,10 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="__typename": "ObjectEdge","node": {"__typename": "Object",- "id": "ce1549f6-1cb8-4f47-ba55-16d5a399a235",- "universalIdentifier": "20202020-e8f2-40e1-a39c-c0e0039c5034",- "nameSingular": "calendarChannel",- "namePlural": "calendarChannels",+ "id": "cd9f8eee-25e6-497b-9dcc-29c5071d8493",+ "universalIdentifier": "20202020-849a-4c3e-84f5-a25a7d802271",+ "nameSingular": "messageThread",+ "namePlural": "messageThreads","isCustom": false,"isRemote": false,"isActive": true,@@ -2432,22 +2432,23 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="isUIReadOnly": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "labelIdentifierFieldMetadataId": "69b7ac11-8c50-4617-b393-3929e3db4680",+ "labelIdentifierFieldMetadataId": "453d499a-47bf-4ea0-be5e-9c2acbf7a464","imageIdentifierFieldMetadataId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec","shortcut": null,"isLabelSyncedWithName": false,"isSearchable": false,"duplicateCriteria": null,- "labelSingular": "Calendar Channel",- "labelPlural": "Calendar Channels",- "description": "Calendar Channels",- "icon": "IconCalendar",+ "labelSingular": "Message Thread",+ "labelPlural": "Message Threads",+ "description": "Message Thread",+ "icon": "IconMessage",+ "indexMetadataList": [],"fieldsList": [{"__typename": "Field",- "id": "136ccf04-d61f-4df6-9477-3aade6a2040c",- "universalIdentifier": "20202020-c02a-4031-8a31-1a2f3b4c5d6e",+ "id": "3e0ace60-08cd-4579-b2ce-8b9352617592",+ "universalIdentifier": "20202020-b05a-40f1-8af1-5e6f7a8b9cad","type": "UUID","name": "id","label": "Id",@@ -2472,8 +2473,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "ccd015f8-5ae0-410d-9bcd-efd88397468a",- "universalIdentifier": "20202020-c02b-4032-9b32-2b3f4c5d6e7f",+ "id": "8df7088a-5af2-43f0-b766-5a3becd63943",+ "universalIdentifier": "20202020-b05b-40f2-9bf2-6f7a8b9cadbe","type": "DATE_TIME","name": "createdAt","label": "Creation date",@@ -2500,8 +2501,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "754618a1-ed1c-43e8-80bd-2b5921a94db0",- "universalIdentifier": "20202020-c02c-4033-8c33-3c4f5d6e7f8a",+ "id": "d7c6f0e4-7e50-4231-b539-4c8efc8ac1c0",+ "universalIdentifier": "20202020-b05c-40f3-8cf3-7a8b9cadbecf","type": "DATE_TIME","name": "updatedAt","label": "Last update",@@ -2528,8 +2529,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "506e87d6-d259-4efb-8b88-10952c2c2ead",- "universalIdentifier": "20202020-c02d-4034-9d34-4d5f6e7f8a9b",+ "id": "9ea38d43-46e0-472e-b40c-4f49a063a398",+ "universalIdentifier": "20202020-b05d-40f4-9df4-8b9cadbecfda","type": "DATE_TIME","name": "deletedAt","label": "Deleted at",@@ -2556,8 +2557,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "f70bd8f2-81ae-48b3-aa0f-0d79673cb4b4",- "universalIdentifier": "664db1a0-76f4-4429-8452-f8e250ab7545",+ "id": "74cda414-3ccc-4d73-a4e2-d5ed023142d7",+ "universalIdentifier": "b50ce369-9905-46d9-b95b-5e4034d252aa","type": "ACTOR","name": "createdBy","label": "Created by",@@ -2586,8 +2587,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "8c981141-23d2-4cf9-9748-a437e15db8a6",- "universalIdentifier": "6a397eab-3700-4b08-9eb9-d16b61876193",+ "id": "f29355fd-2dfa-47d8-8f10-8045190c3b47",+ "universalIdentifier": "20fbafd0-0a16-4785-b5a6-f1ef45ef304c","type": "ACTOR","name": "updatedBy","label": "Updated by",@@ -2616,12 +2617,12 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "f0c2a735-ef79-42c1-a159-a3d03e0384e6",- "universalIdentifier": "566609c9-1c8b-4899-91bb-0af140a89004",+ "id": "86c552cd-fe94-48f6-87a8-8e9b996c2421",+ "universalIdentifier": "7490a440-7a62-466e-ba93-75a2f2edfb1e","type": "POSITION","name": "position","label": "Position",- "description": "Calendar channel record position",+ "description": "Message Thread record position","icon": "IconHierarchy2","isCustom": false,"isActive": true,@@ -2642,8 +2643,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "346f2c52-eadb-4d16-ba06-b72b6ebbb280",- "universalIdentifier": "bc9a982c-c314-49d6-818a-2661ce7e918f",+ "id": "48e91f8a-9f5f-44f9-a70f-367c8f1a41ef",+ "universalIdentifier": "c63e091f-6528-4657-ad2a-b0a158f9e483","type": "TS_VECTOR","name": "searchVector","label": "Search vector",@@ -2660,7 +2661,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="defaultValue": null,"options": null,"settings": {- "asExpression": "to_tsvector('simple', COALESCE(public.unaccent_immutable(\"handle\"), ''))",+ "asExpression": "to_tsvector('simple', COALESCE(public.unaccent_immutable(\"subject\"), ''))","generatedType": "STORED"},"isLabelSyncedWithName": false,@@ -2671,13 +2672,13 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "69b7ac11-8c50-4617-b393-3929e3db4680",- "universalIdentifier": "20202020-1d08-420a-9aa7-22e0f298232d",+ "id": "453d499a-47bf-4ea0-be5e-9c2acbf7a464",+ "universalIdentifier": "a8ddbf8c-1137-45d1-b89e-5ffbd83f67c8","type": "TEXT",- "name": "handle",- "label": "Handle",- "description": "Handle",- "icon": "IconAt",+ "name": "subject",+ "label": "Subject",+ "description": "Subject",+ "icon": "IconMessage","isCustom": false,"isActive": true,"isSystem": false,@@ -2697,119 +2698,159 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "90bc665d-de8f-4a40-9d03-2d9b38e52538",- "universalIdentifier": "20202020-1b07-4796-9f01-d626bab7ca4d",- "type": "SELECT",- "name": "visibility",- "label": "Visibility",- "description": "Visibility",- "icon": "IconEyeglass",+ "id": "922255d0-f996-4cb4-87fc-963d90bc4839",+ "universalIdentifier": "20202020-3115-404f-aade-e1154b28e35a",+ "type": "RELATION",+ "name": "messages",+ "label": "Messages",+ "description": "Messages from the thread.",+ "icon": "IconMessage","isCustom": false,"isActive": true,"isSystem": false,"isUIReadOnly": true,- "isNullable": false,+ "isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": "'SHARE_EVERYTHING'",- "options": [- {- "id": "20202020-82a0-4859-b356-f5a1d6e3e53d",- "color": "green",- "label": "Metadata",- "value": "METADATA",- "position": 0- },- {- "id": "20202020-e5ec-4df5-ba3f-66ca2a79c283",- "color": "orange",- "label": "Share Everything",- "value": "SHARE_EVERYTHING",- "position": 1- }- ],- "settings": null,+ "defaultValue": null,+ "options": null,+ "settings": {+ "relationType": "ONE_TO_MANY"+ },"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,+ "relation": {+ "__typename": "Relation",+ "type": "ONE_TO_MANY",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "cd9f8eee-25e6-497b-9dcc-29c5071d8493",+ "nameSingular": "messageThread",+ "namePlural": "messageThreads"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "1365b607-7ba1-4a6a-9c32-3f284b77de7f",+ "nameSingular": "message",+ "namePlural": "messages"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "922255d0-f996-4cb4-87fc-963d90bc4839",+ "name": "messages"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "29300185-1d79-463d-a013-e37d3f4ff31b",+ "name": "messageThread"+ }+ },"morphRelations": null},{"__typename": "Field",- "id": "22a8e919-17c9-43b7-a588-8e9bfe879e6a",- "universalIdentifier": "20202020-50fb-404b-ba28-369911a3793a",- "type": "BOOLEAN",- "name": "isContactAutoCreationEnabled",- "label": "Is Contact Auto Creation Enabled",- "description": "Is Contact Auto Creation Enabled",- "icon": "IconUserCircle",+ "id": "8a4d3a4b-91b7-46a1-bd0f-e3e8b40017a7",+ "universalIdentifier": "20202020-314e-40a4-906d-a5d5d6c285f6",+ "type": "RELATION",+ "name": "messageChannelMessageAssociations",+ "label": "Message Channel Association",+ "description": "Messages from the channel.",+ "icon": "IconMessage","isCustom": false,"isActive": true,"isSystem": false,"isUIReadOnly": true,- "isNullable": false,+ "isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": true,+ "defaultValue": null,"options": null,- "settings": null,+ "settings": {+ "relationType": "ONE_TO_MANY"+ },"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,+ "relation": {+ "__typename": "Relation",+ "type": "ONE_TO_MANY",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "cd9f8eee-25e6-497b-9dcc-29c5071d8493",+ "nameSingular": "messageThread",+ "namePlural": "messageThreads"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "6a48ae9e-2964-48b4-90cd-abef2f7eac30",+ "nameSingular": "messageChannelMessageAssociation",+ "namePlural": "messageChannelMessageAssociations"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "8a4d3a4b-91b7-46a1-bd0f-e3e8b40017a7",+ "name": "messageChannelMessageAssociations"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "03b828f6-ecd3-44b8-a2b3-9849120195ed",+ "name": "messageThread"+ }+ },"morphRelations": null- },+ }+ ]+ }+ },+ {+ "__typename": "ObjectEdge",+ "node": {+ "__typename": "Object",+ "id": "bcdaa361-9ee6-4c8e-81c2-711fd330e5b2",+ "universalIdentifier": "20202020-6736-4337-b5c4-8b39fae325a5",+ "nameSingular": "timelineActivity",+ "namePlural": "timelineActivities",+ "isCustom": false,+ "isRemote": false,+ "isActive": true,+ "isSystem": true,+ "isUIReadOnly": false,+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z",+ "labelIdentifierFieldMetadataId": "d09704f0-057d-48ed-8278-3d673d5eb467",+ "imageIdentifierFieldMetadataId": null,+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "shortcut": null,+ "isLabelSyncedWithName": false,+ "isSearchable": false,+ "duplicateCriteria": null,+ "labelSingular": "Timeline Activity",+ "labelPlural": "Timeline Activities",+ "description": "Aggregated / filtered event to be displayed on the timeline",+ "icon": "IconTimelineEvent",+ "fieldsList": [{"__typename": "Field",- "id": "1873dff1-4084-42ec-856d-a3c906426a76",- "universalIdentifier": "20202020-b55d-447d-b4df-226319058775",- "type": "SELECT",- "name": "contactAutoCreationPolicy",- "label": "Contact auto creation policy",- "description": "Automatically create records for people you participated with in an event.",- "icon": "IconUserCircle",+ "id": "7831b7e6-00a9-4cfa-8ee0-ce193964c2c6",+ "universalIdentifier": "20202020-a01a-4081-8a81-9aabbccddeff",+ "type": "UUID",+ "name": "id",+ "label": "Id",+ "description": "Id",+ "icon": "Icon123","isCustom": false,"isActive": true,- "isSystem": false,+ "isSystem": true,"isUIReadOnly": true,"isNullable": false,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": "'AS_PARTICIPANT_AND_ORGANIZER'",- "options": [- {- "id": "20202020-47c1-4af1-a8a6-540edeafc55e",- "color": "green",- "label": "As Participant and Organizer",- "value": "AS_PARTICIPANT_AND_ORGANIZER",- "position": 0- },- {- "id": "20202020-b3cc-4248-b0d1-c8d45c2418b3",- "color": "orange",- "label": "As Participant",- "value": "AS_PARTICIPANT",- "position": 1- },- {- "id": "20202020-84ef-4061-9c22-db596e237ddc",- "color": "blue",- "label": "As Organizer",- "value": "AS_ORGANIZER",- "position": 2- },- {- "id": "20202020-f170-491f-9597-0e5817e46c17",- "color": "red",- "label": "None",- "value": "NONE",- "position": 3- }- ],+ "defaultValue": "uuid",+ "options": null,"settings": null,"isLabelSyncedWithName": false,"morphId": null,@@ -2819,24 +2860,26 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "6954dda7-87ea-42b1-8835-86eb7691b82b",- "universalIdentifier": "20202020-fe19-4818-8854-21f7b1b43395",- "type": "BOOLEAN",- "name": "isSyncEnabled",- "label": "Is Sync Enabled",- "description": "Is Sync Enabled",- "icon": "IconRefresh",+ "id": "e8203d15-4157-4369-9f68-cb88b9519af8",+ "universalIdentifier": "20202020-a01b-4082-9b82-aabbccddeeff",+ "type": "DATE_TIME",+ "name": "createdAt",+ "label": "Creation date",+ "description": "Creation date",+ "icon": "IconCalendar","isCustom": false,"isActive": true,- "isSystem": false,+ "isSystem": true,"isUIReadOnly": true,"isNullable": false,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": true,+ "defaultValue": "now","options": null,- "settings": null,+ "settings": {+ "displayFormat": "RELATIVE"+ },"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",@@ -2845,24 +2888,26 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "5a299fe6-48a4-4576-9d63-5093c8531624",- "universalIdentifier": "20202020-bac2-4852-a5cb-7a7898992b70",- "type": "TEXT",- "name": "syncCursor",- "label": "Sync Cursor",- "description": "Sync Cursor. Used for syncing events from the calendar provider",- "icon": "IconReload",+ "id": "294209a8-a714-4440-b6a5-69a15bdf0600",+ "universalIdentifier": "20202020-a01c-4083-8c83-bbccddeeffaa",+ "type": "DATE_TIME",+ "name": "updatedAt",+ "label": "Last update",+ "description": "Last time the record was changed",+ "icon": "IconCalendarClock","isCustom": false,"isActive": true,- "isSystem": false,+ "isSystem": true,"isUIReadOnly": true,- "isNullable": true,+ "isNullable": false,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,+ "defaultValue": "now","options": null,- "settings": null,+ "settings": {+ "displayFormat": "RELATIVE"+ },"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",@@ -2871,60 +2916,26 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "69cfb5ac-6896-484b-8d74-f5bd19e9d626",- "universalIdentifier": "20202020-7116-41da-8b4b-035975c4eb6a",- "type": "SELECT",- "name": "syncStatus",- "label": "Sync status",- "description": "Sync status",- "icon": "IconStatusChange",+ "id": "5ac5562f-b100-44dd-9039-04582a3d6f49",+ "universalIdentifier": "20202020-a01d-4084-9d84-ccddeeffaabb",+ "type": "DATE_TIME",+ "name": "deletedAt",+ "label": "Deleted at",+ "description": "Date when the record was deleted",+ "icon": "IconCalendarMinus","isCustom": false,"isActive": true,- "isSystem": false,+ "isSystem": true,"isUIReadOnly": true,"isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z","defaultValue": null,- "options": [- {- "id": "20202020-ebdc-4fc8-a5c1-4bc6a90fdc3c",- "color": "yellow",- "label": "Ongoing",- "value": "ONGOING",- "position": 1- },- {- "id": "20202020-7126-4c26-9940-f5807ed87266",- "color": "blue",- "label": "Not Synced",- "value": "NOT_SYNCED",- "position": 2- },- {- "id": "20202020-0302-4201-bf84-aaa26b7ca94e",- "color": "green",- "label": "Active",- "value": "ACTIVE",- "position": 3- },- {- "id": "20202020-6dbb-449d-96b0-092189010f42",- "color": "red",- "label": "Failed Insufficient Permissions",- "value": "FAILED_INSUFFICIENT_PERMISSIONS",- "position": 4- },- {- "id": "20202020-935c-4333-a614-f49ee2ec6aa7",- "color": "red",- "label": "Failed Unknown",- "value": "FAILED_UNKNOWN",- "position": 5- }- ],- "settings": null,+ "options": null,+ "settings": {+ "displayFormat": "RELATIVE"+ },"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",@@ -2933,80 +2944,27 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "cb485871-1fb6-4d5f-9c77-8794ac80e793",- "universalIdentifier": "20202020-6246-42e6-b5cd-003bd921782c",- "type": "SELECT",- "name": "syncStage",- "label": "Sync stage",- "description": "Sync stage",- "icon": "IconStatusChange",+ "id": "c5bb752e-7ac7-4f23-9cdb-e3ac0c94912b",+ "universalIdentifier": "8f66191f-927d-4a6d-a15f-d0ff8cfc5a6d",+ "type": "ACTOR",+ "name": "createdBy",+ "label": "Created by",+ "description": "The creator of the record",+ "icon": "IconCreativeCommonsSa","isCustom": false,"isActive": true,- "isSystem": false,+ "isSystem": true,"isUIReadOnly": true,"isNullable": false,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": "'PENDING_CONFIGURATION'",- "options": [- {- "id": "20202020-60c1-40a3-90ae-61d9ee1083c1",- "color": "blue",- "label": "Calendar event list fetch pending",- "value": "CALENDAR_EVENT_LIST_FETCH_PENDING",- "position": 0- },- {- "id": "20202020-8652-444a-b72e-d4b7112179ca",- "color": "green",- "label": "Calendar event list fetch scheduled",- "value": "CALENDAR_EVENT_LIST_FETCH_SCHEDULED",- "position": 1- },- {- "id": "20202020-e87c-4cfe-aefc-635ad34ef223",- "color": "orange",- "label": "Calendar event list fetch ongoing",- "value": "CALENDAR_EVENT_LIST_FETCH_ONGOING",- "position": 2- },- {- "id": "20202020-876f-449d-9f09-de5c369ff95f",- "color": "blue",- "label": "Calendar events import pending",- "value": "CALENDAR_EVENTS_IMPORT_PENDING",- "position": 3- },- {- "id": "20202020-3d2a-4acd-a0ed-197343b3bf60",- "color": "green",- "label": "Calendar events import scheduled",- "value": "CALENDAR_EVENTS_IMPORT_SCHEDULED",- "position": 4- },- {- "id": "20202020-e762-4152-bb20-29fdd49e1dff",- "color": "orange",- "label": "Calendar events import ongoing",- "value": "CALENDAR_EVENTS_IMPORT_ONGOING",- "position": 5- },- {- "id": "20202020-487c-464f-8caa-c6393b82b17c",- "color": "red",- "label": "Failed",- "value": "FAILED",- "position": 6- },- {- "id": "20202020-ba03-4221-b186-402662b68493",- "color": "gray",- "label": "Pending configuration",- "value": "PENDING_CONFIGURATION",- "position": 9- }- ],+ "defaultValue": {+ "name": "'System'",+ "source": "'MANUAL'",+ "workspaceMemberId": null+ },+ "options": null,"settings": null,"isLabelSyncedWithName": false,"morphId": null,@@ -3016,22 +2974,26 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "267dabf2-e25d-4bcf-9785-4159e7af1902",- "universalIdentifier": "20202020-a934-46f1-a8e7-9568b1e3a53e",- "type": "DATE_TIME",- "name": "syncStageStartedAt",- "label": "Sync stage started at",- "description": "Sync stage started at",- "icon": "IconHistory",+ "id": "e15b8fab-6e5a-4c65-bf72-46efab6b6507",+ "universalIdentifier": "81dc29fc-c872-4efd-bf31-d07872cd260e",+ "type": "ACTOR",+ "name": "updatedBy",+ "label": "Updated by",+ "description": "The workspace member who last updated the record",+ "icon": "IconUserCircle","isCustom": false,"isActive": true,- "isSystem": false,+ "isSystem": true,"isUIReadOnly": true,- "isNullable": true,+ "isNullable": false,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,+ "defaultValue": {+ "name": "'System'",+ "source": "'MANUAL'",+ "workspaceMemberId": null+ },"options": null,"settings": null,"isLabelSyncedWithName": false,@@ -3042,22 +3004,22 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "0075b733-6d92-4830-819b-245c46b39f06",- "universalIdentifier": "20202020-2ff5-4f70-953a-3d0d36357576",- "type": "DATE_TIME",- "name": "syncedAt",- "label": "Last sync date",- "description": "Last sync date",- "icon": "IconHistory",+ "id": "901bf568-84a5-4145-a55e-ebc3955aaa5b",+ "universalIdentifier": "e245d799-3e4b-4c69-ab9a-6b7c91d71195",+ "type": "POSITION",+ "name": "position",+ "label": "Position",+ "description": "Timeline activity record position",+ "icon": "IconHierarchy2","isCustom": false,"isActive": true,- "isSystem": false,- "isUIReadOnly": true,- "isNullable": true,+ "isSystem": true,+ "isUIReadOnly": false,+ "isNullable": false,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,+ "defaultValue": 0,"options": null,"settings": null,"isLabelSyncedWithName": false,@@ -3068,13 +3030,13 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "3186c3f2-4bcf-4b04-8238-b0a1597e663b",- "universalIdentifier": "20202020-525c-4b76-b9bd-0dd57fd11d61",- "type": "NUMBER",- "name": "throttleFailureCount",- "label": "Throttle Failure Count",- "description": "Throttle Failure Count",- "icon": "IconX",+ "id": "4b8645d6-fba0-4c90-bc0f-57e40496c32e",+ "universalIdentifier": "20202020-9526-4993-b339-c4318c4d39f0",+ "type": "DATE_TIME",+ "name": "happensAt",+ "label": "Creation date",+ "description": "Creation date",+ "icon": "IconCalendar","isCustom": false,"isActive": true,"isSystem": false,@@ -3083,7 +3045,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": 0,+ "defaultValue": "now","options": null,"settings": null,"isLabelSyncedWithName": false,@@ -3091,79 +3053,25 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec","relation": null,"morphRelations": null- }- ],- "indexMetadataList": [- {- "__typename": "Index",- "id": "d8814b62-ebb0-4c79-b884-9a72e2d4fe13",- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "name": "IDX_7b40c7f03dd1f998ba765ad0730",- "indexWhereClause": null,- "indexType": "BTREE",- "isUnique": false,- "isCustom": false,- "indexFieldMetadataList": [- {- "__typename": "IndexField",- "id": "446673f1-509c-4c95-b075-493bf523dbba",- "fieldMetadataId": "5d7b0dea-da5e-4d91-9386-51736d9376f7",- "createdAt": "2026-04-10T08:55:56.592Z",- "updatedAt": "2026-04-10T08:55:56.592Z",- "order": 0- }- ]- }- ]- }- },- {- "__typename": "ObjectEdge",- "node": {- "__typename": "Object",- "id": "cd9f8eee-25e6-497b-9dcc-29c5071d8493",- "universalIdentifier": "20202020-849a-4c3e-84f5-a25a7d802271",- "nameSingular": "messageThread",- "namePlural": "messageThreads",- "isCustom": false,- "isRemote": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "labelIdentifierFieldMetadataId": "453d499a-47bf-4ea0-be5e-9c2acbf7a464",- "imageIdentifierFieldMetadataId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "shortcut": null,- "isLabelSyncedWithName": false,- "isSearchable": false,- "duplicateCriteria": null,- "labelSingular": "Message Thread",- "labelPlural": "Message Threads",- "description": "Message Thread",- "icon": "IconMessage",- "indexMetadataList": [],- "fieldsList": [+ },{"__typename": "Field",- "id": "3e0ace60-08cd-4579-b2ce-8b9352617592",- "universalIdentifier": "20202020-b05a-40f1-8af1-5e6f7a8b9cad",- "type": "UUID",- "name": "id",- "label": "Id",- "description": "Id",- "icon": "Icon123",+ "id": "d09704f0-057d-48ed-8278-3d673d5eb467",+ "universalIdentifier": "20202020-7207-46e8-9dab-849505ae8497",+ "type": "TEXT",+ "name": "name",+ "label": "Event name",+ "description": "Event name",+ "icon": "IconAbc","isCustom": false,"isActive": true,- "isSystem": true,+ "isSystem": false,"isUIReadOnly": true,- "isNullable": false,+ "isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": "uuid",+ "defaultValue": null,"options": null,"settings": null,"isLabelSyncedWithName": false,@@ -3174,26 +3082,24 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "8df7088a-5af2-43f0-b766-5a3becd63943",- "universalIdentifier": "20202020-b05b-40f2-9bf2-6f7a8b9cadbe",- "type": "DATE_TIME",- "name": "createdAt",- "label": "Creation date",- "description": "Creation date",- "icon": "IconCalendar",+ "id": "6c868583-8526-4b8c-8ec0-765a135d841a",+ "universalIdentifier": "20202020-f142-4b04-b91b-6a2b4af3bf11",+ "type": "RAW_JSON",+ "name": "properties",+ "label": "Event details",+ "description": "Json value for event details",+ "icon": "IconListDetails","isCustom": false,"isActive": true,- "isSystem": true,+ "isSystem": false,"isUIReadOnly": true,- "isNullable": false,+ "isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": "now",+ "defaultValue": null,"options": null,- "settings": {- "displayFormat": "RELATIVE"- },+ "settings": null,"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",@@ -3202,26 +3108,24 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "d7c6f0e4-7e50-4231-b539-4c8efc8ac1c0",- "universalIdentifier": "20202020-b05c-40f3-8cf3-7a8b9cadbecf",- "type": "DATE_TIME",- "name": "updatedAt",- "label": "Last update",- "description": "Last time the record was changed",- "icon": "IconCalendarClock",+ "id": "2ada00a8-dae7-40af-809d-a644cec8863c",+ "universalIdentifier": "20202020-cfdb-4bef-bbce-a29f41230934",+ "type": "TEXT",+ "name": "linkedRecordCachedName",+ "label": "Linked Record cached name",+ "description": "Cached record name",+ "icon": "IconAbc","isCustom": false,"isActive": true,"isSystem": true,"isUIReadOnly": true,- "isNullable": false,+ "isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": "now",+ "defaultValue": null,"options": null,- "settings": {- "displayFormat": "RELATIVE"- },+ "settings": null,"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",@@ -3230,13 +3134,13 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "9ea38d43-46e0-472e-b40c-4f49a063a398",- "universalIdentifier": "20202020-b05d-40f4-9df4-8b9cadbecfda",- "type": "DATE_TIME",- "name": "deletedAt",- "label": "Deleted at",- "description": "Date when the record was deleted",- "icon": "IconCalendarMinus",+ "id": "6857ff73-352a-4404-84d8-323b45b6edc2",+ "universalIdentifier": "20202020-2e0e-48c0-b445-ee6c1e61687d",+ "type": "UUID",+ "name": "linkedRecordId",+ "label": "Linked Record id",+ "description": "Linked Record id",+ "icon": "IconAbc","isCustom": false,"isActive": true,"isSystem": true,@@ -3247,9 +3151,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="updatedAt": "2026-04-10T08:55:56.200Z","defaultValue": null,"options": null,- "settings": {- "displayFormat": "RELATIVE"- },+ "settings": null,"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",@@ -3258,82 +3160,22 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "74cda414-3ccc-4d73-a4e2-d5ed023142d7",- "universalIdentifier": "b50ce369-9905-46d9-b95b-5e4034d252aa",- "type": "ACTOR",- "name": "createdBy",- "label": "Created by",- "description": "The creator of the record",- "icon": "IconCreativeCommonsSa",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": false,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": {- "name": "'System'",- "source": "'MANUAL'",- "workspaceMemberId": null- },- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "f29355fd-2dfa-47d8-8f10-8045190c3b47",- "universalIdentifier": "20fbafd0-0a16-4785-b5a6-f1ef45ef304c",- "type": "ACTOR",- "name": "updatedBy",- "label": "Updated by",- "description": "The workspace member who last updated the record",- "icon": "IconUserCircle",+ "id": "3331575a-4566-4308-8841-faf165fdb569",+ "universalIdentifier": "20202020-c595-449d-9f89-562758c9ee69",+ "type": "UUID",+ "name": "linkedObjectMetadataId",+ "label": "Linked Object Metadata Id",+ "description": "Linked Object Metadata Id",+ "icon": "IconAbc","isCustom": false,"isActive": true,"isSystem": true,"isUIReadOnly": true,- "isNullable": false,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": {- "name": "'System'",- "source": "'MANUAL'",- "workspaceMemberId": null- },- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "86c552cd-fe94-48f6-87a8-8e9b996c2421",- "universalIdentifier": "7490a440-7a62-466e-ba93-75a2f2edfb1e",- "type": "POSITION",- "name": "position",- "label": "Position",- "description": "Message Thread record position",- "icon": "IconHierarchy2",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": false,- "isNullable": false,+ "isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": 0,+ "defaultValue": null,"options": null,"settings": null,"isLabelSyncedWithName": false,@@ -3344,8 +3186,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "48e91f8a-9f5f-44f9-a70f-367c8f1a41ef",- "universalIdentifier": "c63e091f-6528-4657-ad2a-b0a158f9e483",+ "id": "6c453fae-b50b-4edc-9ed6-befbe7d6d610",+ "universalIdentifier": "bc1d1b67-903a-4354-8272-4a6efc4cbe63","type": "TS_VECTOR","name": "searchVector","label": "Search vector",@@ -3362,7 +3204,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="defaultValue": null,"options": null,"settings": {- "asExpression": "to_tsvector('simple', COALESCE(public.unaccent_immutable(\"subject\"), ''))",+ "asExpression": "to_tsvector('simple', COALESCE(public.unaccent_immutable(\"name\"), ''))","generatedType": "STORED"},"isLabelSyncedWithName": false,@@ -3373,39 +3215,13 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "453d499a-47bf-4ea0-be5e-9c2acbf7a464",- "universalIdentifier": "a8ddbf8c-1137-45d1-b89e-5ffbd83f67c8",- "type": "TEXT",- "name": "subject",- "label": "Subject",- "description": "Subject",- "icon": "IconMessage",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "922255d0-f996-4cb4-87fc-963d90bc4839",- "universalIdentifier": "20202020-3115-404f-aade-e1154b28e35a",+ "id": "cfa4073b-a5e6-4e0e-8a73-6d29fda7adb1",+ "universalIdentifier": "20202020-af23-4479-9a30-868edc474b36","type": "RELATION",- "name": "messages",- "label": "Messages",- "description": "Messages from the thread.",- "icon": "IconMessage",+ "name": "workspaceMember",+ "label": "Workspace Member",+ "description": "Event workspace member",+ "icon": "IconCircleUser","isCustom": false,"isActive": true,"isSystem": false,@@ -3417,48 +3233,50 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="defaultValue": null,"options": null,"settings": {- "relationType": "ONE_TO_MANY"+ "onDelete": "CASCADE",+ "relationType": "MANY_TO_ONE",+ "joinColumnName": "workspaceMemberId"},"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec","relation": {"__typename": "Relation",- "type": "ONE_TO_MANY",+ "type": "MANY_TO_ONE","sourceObjectMetadata": {"__typename": "Object",- "id": "cd9f8eee-25e6-497b-9dcc-29c5071d8493",- "nameSingular": "messageThread",- "namePlural": "messageThreads"+ "id": "bcdaa361-9ee6-4c8e-81c2-711fd330e5b2",+ "nameSingular": "timelineActivity",+ "namePlural": "timelineActivities"},"targetObjectMetadata": {"__typename": "Object",- "id": "1365b607-7ba1-4a6a-9c32-3f284b77de7f",- "nameSingular": "message",- "namePlural": "messages"+ "id": "5fd99bf8-8a88-4bed-aa6c-8ff34e43b0d0",+ "nameSingular": "workspaceMember",+ "namePlural": "workspaceMembers"},"sourceFieldMetadata": {"__typename": "Field",- "id": "922255d0-f996-4cb4-87fc-963d90bc4839",- "name": "messages"+ "id": "cfa4073b-a5e6-4e0e-8a73-6d29fda7adb1",+ "name": "workspaceMember"},"targetFieldMetadata": {"__typename": "Field",- "id": "29300185-1d79-463d-a013-e37d3f4ff31b",- "name": "messageThread"+ "id": "fb7dd9b4-3608-4534-8fd8-929b52c51c15",+ "name": "timelineActivities"}},"morphRelations": null},{"__typename": "Field",- "id": "8a4d3a4b-91b7-46a1-bd0f-e3e8b40017a7",- "universalIdentifier": "20202020-314e-40a4-906d-a5d5d6c285f6",- "type": "RELATION",- "name": "messageChannelMessageAssociations",- "label": "Message Channel Association",- "description": "Messages from the channel.",- "icon": "IconMessage",+ "id": "0419db16-5fd4-4306-bd1d-ea0b1dde5349",+ "universalIdentifier": "20202020-7664-4a35-a3df-580d389fd527",+ "type": "MORPH_RELATION",+ "name": "target",+ "label": "Target",+ "description": "Event target",+ "icon": "IconArrowUpRight","isCustom": false,"isActive": true,"isSystem": false,@@ -3470,1520 +3288,92 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="defaultValue": null,"options": null,"settings": {- "relationType": "ONE_TO_MANY"+ "onDelete": "SET_NULL",+ "relationType": "MANY_TO_ONE",+ "joinColumnName": "targetOpportunityId"},"isLabelSyncedWithName": false,- "morphId": null,+ "morphId": "20202020-9a2b-4c3d-a4e5-f6a7b8c9d0e1","applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": {- "__typename": "Relation",- "type": "ONE_TO_MANY",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "cd9f8eee-25e6-497b-9dcc-29c5071d8493",- "nameSingular": "messageThread",- "namePlural": "messageThreads"+ "relation": null,+ "morphRelations": [+ {+ "__typename": "Relation",+ "type": "MANY_TO_ONE",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "bcdaa361-9ee6-4c8e-81c2-711fd330e5b2",+ "nameSingular": "timelineActivity",+ "namePlural": "timelineActivities"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "d493b617-19c8-4cbb-a50f-c084e4b9f276",+ "nameSingular": "opportunity",+ "namePlural": "opportunities"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "0419db16-5fd4-4306-bd1d-ea0b1dde5349",+ "name": "target"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "a8a81fec-6315-46b1-927b-064f3e52ab94",+ "name": "timelineActivities"+ }},- "targetObjectMetadata": {- "__typename": "Object",- "id": "6a48ae9e-2964-48b4-90cd-abef2f7eac30",- "nameSingular": "messageChannelMessageAssociation",- "namePlural": "messageChannelMessageAssociations"+ {+ "__typename": "Relation",+ "type": "MANY_TO_ONE",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "bcdaa361-9ee6-4c8e-81c2-711fd330e5b2",+ "nameSingular": "timelineActivity",+ "namePlural": "timelineActivities"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",+ "nameSingular": "company",+ "namePlural": "companies"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "bac81eaa-2f04-4ccf-9dc8-726cc919edc3",+ "name": "target"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "3b6d99ee-d1f8-4011-b05e-9da8f1d21fe8",+ "name": "timelineActivities"+ }},- "sourceFieldMetadata": {- "__typename": "Field",- "id": "8a4d3a4b-91b7-46a1-bd0f-e3e8b40017a7",- "name": "messageChannelMessageAssociations"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "03b828f6-ecd3-44b8-a2b3-9849120195ed",- "name": "messageThread"- }- },- "morphRelations": null- }- ]- }- },- {- "__typename": "ObjectEdge",- "node": {- "__typename": "Object",- "id": "c48ce4de-a73c-4b94-ba79-123559a8b299",- "universalIdentifier": "20202020-fe8c-40bc-a681-b80b771449b7",- "nameSingular": "messageChannel",- "namePlural": "messageChannels",- "isCustom": false,- "isRemote": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "labelIdentifierFieldMetadataId": "163e3448-4277-4e1b-afb2-5a8d6428721b",- "imageIdentifierFieldMetadataId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "shortcut": null,- "isLabelSyncedWithName": false,- "isSearchable": false,- "duplicateCriteria": null,- "labelSingular": "Message Channel",- "labelPlural": "Message Channels",- "description": "Message Channels",- "icon": "IconMessage",- "fieldsList": [- {- "__typename": "Field",- "id": "bfe8699f-0cb2-432c-b81d-53fab7c33c3f",- "universalIdentifier": "20202020-b02a-40c1-8ac1-9eafbacbdced",- "type": "UUID",- "name": "id",- "label": "Id",- "description": "Id",- "icon": "Icon123",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": false,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": "uuid",- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "d33c31b9-4d6b-4fce-8910-e99179e91a1b",- "universalIdentifier": "20202020-b02b-40c2-9bc2-afbacbdcedfe",- "type": "DATE_TIME",- "name": "createdAt",- "label": "Creation date",- "description": "Creation date",- "icon": "IconCalendar",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": false,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": "now",- "options": null,- "settings": {- "displayFormat": "RELATIVE"- },- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "ba494848-3af1-4850-8443-827d24614434",- "universalIdentifier": "20202020-b02c-40c3-8cc3-bacbdcedfefa",- "type": "DATE_TIME",- "name": "updatedAt",- "label": "Last update",- "description": "Last time the record was changed",- "icon": "IconCalendarClock",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": false,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": "now",- "options": null,- "settings": {- "displayFormat": "RELATIVE"- },- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "ef1243d0-4a98-474c-8b8b-784db7d367fb",- "universalIdentifier": "20202020-b02d-40c4-9dc4-cbdcedfefaab",- "type": "DATE_TIME",- "name": "deletedAt",- "label": "Deleted at",- "description": "Date when the record was deleted",- "icon": "IconCalendarMinus",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": {- "displayFormat": "RELATIVE"- },- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "161daca3-41e0-495e-99ae-a26fdea03752",- "universalIdentifier": "b7de8fcc-a7c6-4122-b3fa-1fcf8f30931c",- "type": "ACTOR",- "name": "createdBy",- "label": "Created by",- "description": "The creator of the record",- "icon": "IconCreativeCommonsSa",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": false,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": {- "name": "'System'",- "source": "'MANUAL'",- "workspaceMemberId": null- },- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "cb9c7c00-189a-4fa1-b2e5-e89d1003aa30",- "universalIdentifier": "88bb6ff1-b8a1-4313-95d4-7879acca0b93",- "type": "ACTOR",- "name": "updatedBy",- "label": "Updated by",- "description": "The workspace member who last updated the record",- "icon": "IconUserCircle",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": false,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": {- "name": "'System'",- "source": "'MANUAL'",- "workspaceMemberId": null- },- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "cdd0fbe1-9be4-4149-bf1d-2d47732c6924",- "universalIdentifier": "bc8a36af-8b9c-4548-a0da-c90e899e7243",- "type": "POSITION",- "name": "position",- "label": "Position",- "description": "Message Channel record position",- "icon": "IconHierarchy2",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": false,- "isNullable": false,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": 0,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "99845c85-7c71-4e23-88b7-d9c7d4a0343b",- "universalIdentifier": "5e84794c-6f14-4bdf-81a6-76ee11cda51f",- "type": "TS_VECTOR",- "name": "searchVector",- "label": "Search vector",- "description": "Field used for full-text search",- "icon": "IconUser",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": false,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": {- "asExpression": "to_tsvector('simple', COALESCE(public.unaccent_immutable(\"handle\"), ''))",- "generatedType": "STORED"- },- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "59771373-951a-43b6-bf6d-5a1c1439b241",- "universalIdentifier": "20202020-6a6b-4532-9767-cbc61b469453",- "type": "SELECT",- "name": "visibility",- "label": "Visibility",- "description": "Visibility",- "icon": "IconEyeglass",- "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": "'SHARE_EVERYTHING'",- "options": [- {- "id": "20202020-4548-4830-b3f8-221fd082ebc0",- "color": "green",- "label": "Metadata",- "value": "METADATA",- "position": 0- },- {- "id": "20202020-6a42-40a8-b81e-28b7e591c598",- "color": "blue",- "label": "Subject",- "value": "SUBJECT",- "position": 1- },- {- "id": "20202020-d520-4cba-8832-5bca315b64f3",- "color": "orange",- "label": "Share Everything",- "value": "SHARE_EVERYTHING",- "position": 2- }- ],- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "163e3448-4277-4e1b-afb2-5a8d6428721b",- "universalIdentifier": "20202020-2c96-43c3-93e3-ed6b1acb69bc",- "type": "TEXT",- "name": "handle",- "label": "Handle",- "description": "Handle",- "icon": "IconAt",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "ce035dc2-6ccc-42fd-b27b-4f63f115775d",- "universalIdentifier": "20202020-ae95-42d9-a3f1-797a2ea22122",- "type": "SELECT",- "name": "type",- "label": "Type",- "description": "Channel Type",- "icon": "IconMessage",- "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": "'EMAIL'",- "options": [- {- "id": "20202020-1628-4bc0-aae1-1a46c648cf90",- "color": "green",- "label": "Email",- "value": "EMAIL",- "position": 0- },- {- "id": "20202020-fb11-4da3-80fd-b291cda8deb1",- "color": "blue",- "label": "SMS",- "value": "SMS",- "position": 1- }- ],- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "ec72a3a5-5db0-4dc2-ab6f-803f775a01c7",- "universalIdentifier": "20202020-fabd-4f14-b7c6-3310f6d132c6",- "type": "BOOLEAN",- "name": "isContactAutoCreationEnabled",- "label": "Is Contact Auto Creation Enabled",- "description": "Is Contact Auto Creation Enabled",- "icon": "IconUserCircle",- "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": true,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "916d72a3-b9b6-4c66-bb96-5532278e063d",- "universalIdentifier": "20202020-fc0e-4ba6-b259-a66ca89cfa38",- "type": "SELECT",- "name": "contactAutoCreationPolicy",- "label": "Contact auto creation policy",- "description": "Automatically create People records when receiving or sending emails",- "icon": "IconUserCircle",- "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": "'SENT'",- "options": [- {- "id": "20202020-1923-4ffd-907d-be8cc37ecee5",- "color": "green",- "label": "Sent and Received",- "value": "SENT_AND_RECEIVED",- "position": 0- },- {- "id": "20202020-8f6a-44d8-bdbb-90cf8b919467",- "color": "blue",- "label": "Sent",- "value": "SENT",- "position": 1- },- {- "id": "20202020-b43e-4bc4-840e-d903a69e2ffc",- "color": "red",- "label": "None",- "value": "NONE",- "position": 2- }- ],- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "6bc0dae0-5514-4fb0-9c4c-98219eae3b49",- "universalIdentifier": "20202020-cc39-4432-9fe8-ec8ab8bbed95",- "type": "SELECT",- "name": "messageFolderImportPolicy",- "label": "Message folder import policy",- "description": "Message folder import policy",- "icon": "IconFolder",- "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": "'ALL_FOLDERS'",- "options": [- {- "id": "20202020-140d-4326-978c-83ca0e9a4d8f",- "color": "green",- "label": "All folders",- "value": "ALL_FOLDERS",- "position": 0- },- {- "id": "20202020-513a-4b91-9033-5b74b404e2cb",- "color": "blue",- "label": "Selected folders",- "value": "SELECTED_FOLDERS",- "position": 1- }- ],- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "fa3960d2-b4a6-4673-9e6f-616c63f155ae",- "universalIdentifier": "20202020-1df5-445d-b4f3-2413ad178431",- "type": "BOOLEAN",- "name": "excludeNonProfessionalEmails",- "label": "Exclude non professional emails",- "description": "Exclude non professional emails",- "icon": "IconBriefcase",- "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": true,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "de3285c9-f54f-47b4-b94a-abc425ec473a",- "universalIdentifier": "20202020-45a0-4be4-9164-5820a6a109fb",- "type": "BOOLEAN",- "name": "excludeGroupEmails",- "label": "Exclude group emails",- "description": "Exclude group emails",- "icon": "IconUsersGroup",- "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": true,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "c9f9ff6a-46d9-46d6-836c-6c46f0edfac9",- "universalIdentifier": "20202020-17c5-4e9f-bc50-af46a89fdd42",- "type": "SELECT",- "name": "pendingGroupEmailsAction",- "label": "Pending group emails action",- "description": "Pending action for group emails",- "icon": "IconUsersGroup",- "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": "'NONE'",- "options": [- {- "id": "20202020-2ead-4bd1-aa5d-5005c7a956b4",- "color": "red",- "label": "Group emails deletion",- "value": "GROUP_EMAILS_DELETION",- "position": 0- },- {- "id": "20202020-155d-447d-a36e-6ecbb30fc37c",- "color": "green",- "label": "Group emails import",- "value": "GROUP_EMAILS_IMPORT",- "position": 1- },- {- "id": "20202020-fe98-4018-9f94-f878c22b8ece",- "color": "blue",- "label": "None",- "value": "NONE",- "position": 2- }- ],- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "a1fe8744-4b53-482a-9e48-52341d12c098",- "universalIdentifier": "20202020-d9a6-48e9-990b-b97fdf22e8dd",- "type": "BOOLEAN",- "name": "isSyncEnabled",- "label": "Is Sync Enabled",- "description": "Is Sync Enabled",- "icon": "IconRefresh",- "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": true,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "3116e0c0-beda-408f-9d1c-72dc618942db",- "universalIdentifier": "20202020-79d1-41cf-b738-bcf5ed61e256",- "type": "TEXT",- "name": "syncCursor",- "label": "Last sync cursor",- "description": "Last sync cursor",- "icon": "IconHistory",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "f1107438-75d6-4bb6-924d-8d0449b79f7e",- "universalIdentifier": "20202020-263d-4c6b-ad51-137ada56f7d4",- "type": "DATE_TIME",- "name": "syncedAt",- "label": "Last sync date",- "description": "Last sync date",- "icon": "IconHistory",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "7d73e937-da30-40f1-a58e-92d664a50690",- "universalIdentifier": "20202020-56a1-4f7e-9880-a8493bb899cc",- "type": "SELECT",- "name": "syncStatus",- "label": "Sync status",- "description": "Sync status",- "icon": "IconStatusChange",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": [- {- "id": "20202020-046b-4bc2-b085-bd69aaa8e577",- "color": "yellow",- "label": "Ongoing",- "value": "ONGOING",- "position": 1- },- {- "id": "20202020-09ec-4ea6-9a8a-bf48211b67e2",- "color": "blue",- "label": "Not Synced",- "value": "NOT_SYNCED",- "position": 2- },- {- "id": "20202020-2d1b-4d74-9689-9bd28fd3c3f9",- "color": "green",- "label": "Active",- "value": "ACTIVE",- "position": 3- },- {- "id": "20202020-0fb2-4a8b-9f9b-569144a45193",- "color": "red",- "label": "Failed Insufficient Permissions",- "value": "FAILED_INSUFFICIENT_PERMISSIONS",- "position": 4- },- {- "id": "20202020-bde3-415a-a8ac-55ced6014364",- "color": "red",- "label": "Failed Unknown",- "value": "FAILED_UNKNOWN",- "position": 5- }- ],- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "901d4b2e-7365-44d9-bcec-ef93aa824746",- "universalIdentifier": "20202020-7979-4b08-89fe-99cb5e698767",- "type": "SELECT",- "name": "syncStage",- "label": "Sync stage",- "description": "Sync stage",- "icon": "IconStatusChange",- "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": "'PENDING_CONFIGURATION'",- "options": [- {- "id": "20202020-1f62-4d79-a633-33a0e4fce9a6",- "color": "blue",- "label": "Messages list fetch pending",- "value": "MESSAGE_LIST_FETCH_PENDING",- "position": 0- },- {- "id": "20202020-d24f-4c3d-94a6-86c42e0f51d7",- "color": "green",- "label": "Messages list fetch scheduled",- "value": "MESSAGE_LIST_FETCH_SCHEDULED",- "position": 1- },- {- "id": "20202020-8751-408a-ae46-21a51b76be28",- "color": "orange",- "label": "Messages list fetch ongoing",- "value": "MESSAGE_LIST_FETCH_ONGOING",- "position": 2- },- {- "id": "20202020-1cfa-4a7d-a82d-93c8e29d0671",- "color": "blue",- "label": "Messages import pending",- "value": "MESSAGES_IMPORT_PENDING",- "position": 3- },- {- "id": "20202020-341e-4fbd-9dbf-30a70828ca69",- "color": "green",- "label": "Messages import scheduled",- "value": "MESSAGES_IMPORT_SCHEDULED",- "position": 4- },- {- "id": "20202020-e944-4594-ab81-fdbc53a85026",- "color": "orange",- "label": "Messages import ongoing",- "value": "MESSAGES_IMPORT_ONGOING",- "position": 5- },- {- "id": "20202020-f7c5-4756-9084-02f6a0b1a5f8",- "color": "red",- "label": "Failed",- "value": "FAILED",- "position": 6- },- {- "id": "20202020-0ede-4c75-84f1-29c8309829ec",- "color": "gray",- "label": "Pending configuration",- "value": "PENDING_CONFIGURATION",- "position": 7- }- ],- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "0aa2432f-9e25-4b93-924c-0fd0214fc6f8",- "universalIdentifier": "20202020-8c61-4a42-ae63-73c1c3c52e06",- "type": "DATE_TIME",- "name": "syncStageStartedAt",- "label": "Sync stage started at",- "description": "Sync stage started at",- "icon": "IconHistory",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "bdf9a6ff-b868-413d-9aa5-df25740b3456",- "universalIdentifier": "20202020-0291-42be-9ad0-d578a51684ab",- "type": "NUMBER",- "name": "throttleFailureCount",- "label": "Throttle Failure Count",- "description": "Throttle Failure Count",- "icon": "IconX",- "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": 0,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "268107c8-aecf-4fab-9f98-1b74b5c0ed76",- "universalIdentifier": "20202020-a1e3-4d7f-b5c2-9f8e6d4c3b2a",- "type": "DATE_TIME",- "name": "throttleRetryAfter",- "label": "Throttle Retry After",- "description": "Throttle Retry After",- "icon": "IconClock",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- }- ],- "indexMetadataList": [- {- "__typename": "Index",- "id": "1101d5c5-e104-4ce9-b030-aa25d88d4091",- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "name": "IDX_bf1967e8710f32f1a65c67fb4b4",- "indexWhereClause": null,- "indexType": "BTREE",- "isUnique": false,- "isCustom": false,- "indexFieldMetadataList": [- {- "__typename": "IndexField",- "id": "75b04e5c-a39c-4910-a1d8-b00a556986c5",- "fieldMetadataId": "a15ef99d-5f07-4849-81f4-2cfa1adfbb36",- "createdAt": "2026-04-10T08:55:56.599Z",- "updatedAt": "2026-04-10T08:55:56.599Z",- "order": 0- }- ]- }- ]- }- },- {- "__typename": "ObjectEdge",- "node": {- "__typename": "Object",- "id": "bcdaa361-9ee6-4c8e-81c2-711fd330e5b2",- "universalIdentifier": "20202020-6736-4337-b5c4-8b39fae325a5",- "nameSingular": "timelineActivity",- "namePlural": "timelineActivities",- "isCustom": false,- "isRemote": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "labelIdentifierFieldMetadataId": "d09704f0-057d-48ed-8278-3d673d5eb467",- "imageIdentifierFieldMetadataId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "shortcut": null,- "isLabelSyncedWithName": false,- "isSearchable": false,- "duplicateCriteria": null,- "labelSingular": "Timeline Activity",- "labelPlural": "Timeline Activities",- "description": "Aggregated / filtered event to be displayed on the timeline",- "icon": "IconTimelineEvent",- "fieldsList": [- {- "__typename": "Field",- "id": "7831b7e6-00a9-4cfa-8ee0-ce193964c2c6",- "universalIdentifier": "20202020-a01a-4081-8a81-9aabbccddeff",- "type": "UUID",- "name": "id",- "label": "Id",- "description": "Id",- "icon": "Icon123",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": false,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": "uuid",- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "e8203d15-4157-4369-9f68-cb88b9519af8",- "universalIdentifier": "20202020-a01b-4082-9b82-aabbccddeeff",- "type": "DATE_TIME",- "name": "createdAt",- "label": "Creation date",- "description": "Creation date",- "icon": "IconCalendar",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": false,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": "now",- "options": null,- "settings": {- "displayFormat": "RELATIVE"- },- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "294209a8-a714-4440-b6a5-69a15bdf0600",- "universalIdentifier": "20202020-a01c-4083-8c83-bbccddeeffaa",- "type": "DATE_TIME",- "name": "updatedAt",- "label": "Last update",- "description": "Last time the record was changed",- "icon": "IconCalendarClock",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": false,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": "now",- "options": null,- "settings": {- "displayFormat": "RELATIVE"- },- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "5ac5562f-b100-44dd-9039-04582a3d6f49",- "universalIdentifier": "20202020-a01d-4084-9d84-ccddeeffaabb",- "type": "DATE_TIME",- "name": "deletedAt",- "label": "Deleted at",- "description": "Date when the record was deleted",- "icon": "IconCalendarMinus",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": {- "displayFormat": "RELATIVE"- },- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "c5bb752e-7ac7-4f23-9cdb-e3ac0c94912b",- "universalIdentifier": "8f66191f-927d-4a6d-a15f-d0ff8cfc5a6d",- "type": "ACTOR",- "name": "createdBy",- "label": "Created by",- "description": "The creator of the record",- "icon": "IconCreativeCommonsSa",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": false,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": {- "name": "'System'",- "source": "'MANUAL'",- "workspaceMemberId": null- },- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "e15b8fab-6e5a-4c65-bf72-46efab6b6507",- "universalIdentifier": "81dc29fc-c872-4efd-bf31-d07872cd260e",- "type": "ACTOR",- "name": "updatedBy",- "label": "Updated by",- "description": "The workspace member who last updated the record",- "icon": "IconUserCircle",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": false,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": {- "name": "'System'",- "source": "'MANUAL'",- "workspaceMemberId": null- },- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "901bf568-84a5-4145-a55e-ebc3955aaa5b",- "universalIdentifier": "e245d799-3e4b-4c69-ab9a-6b7c91d71195",- "type": "POSITION",- "name": "position",- "label": "Position",- "description": "Timeline activity record position",- "icon": "IconHierarchy2",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": false,- "isNullable": false,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": 0,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "4b8645d6-fba0-4c90-bc0f-57e40496c32e",- "universalIdentifier": "20202020-9526-4993-b339-c4318c4d39f0",- "type": "DATE_TIME",- "name": "happensAt",- "label": "Creation date",- "description": "Creation date",- "icon": "IconCalendar",- "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": "now",- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "d09704f0-057d-48ed-8278-3d673d5eb467",- "universalIdentifier": "20202020-7207-46e8-9dab-849505ae8497",- "type": "TEXT",- "name": "name",- "label": "Event name",- "description": "Event name",- "icon": "IconAbc",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "6c868583-8526-4b8c-8ec0-765a135d841a",- "universalIdentifier": "20202020-f142-4b04-b91b-6a2b4af3bf11",- "type": "RAW_JSON",- "name": "properties",- "label": "Event details",- "description": "Json value for event details",- "icon": "IconListDetails",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "2ada00a8-dae7-40af-809d-a644cec8863c",- "universalIdentifier": "20202020-cfdb-4bef-bbce-a29f41230934",- "type": "TEXT",- "name": "linkedRecordCachedName",- "label": "Linked Record cached name",- "description": "Cached record name",- "icon": "IconAbc",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "6857ff73-352a-4404-84d8-323b45b6edc2",- "universalIdentifier": "20202020-2e0e-48c0-b445-ee6c1e61687d",- "type": "UUID",- "name": "linkedRecordId",- "label": "Linked Record id",- "description": "Linked Record id",- "icon": "IconAbc",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "3331575a-4566-4308-8841-faf165fdb569",- "universalIdentifier": "20202020-c595-449d-9f89-562758c9ee69",- "type": "UUID",- "name": "linkedObjectMetadataId",- "label": "Linked Object Metadata Id",- "description": "Linked Object Metadata Id",- "icon": "IconAbc",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "6c453fae-b50b-4edc-9ed6-befbe7d6d610",- "universalIdentifier": "bc1d1b67-903a-4354-8272-4a6efc4cbe63",- "type": "TS_VECTOR",- "name": "searchVector",- "label": "Search vector",- "description": "Field used for full-text search",- "icon": "IconUser",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": false,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": {- "asExpression": "to_tsvector('simple', COALESCE(public.unaccent_immutable(\"name\"), ''))",- "generatedType": "STORED"- },- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "cfa4073b-a5e6-4e0e-8a73-6d29fda7adb1",- "universalIdentifier": "20202020-af23-4479-9a30-868edc474b36",- "type": "RELATION",- "name": "workspaceMember",- "label": "Workspace Member",- "description": "Event workspace member",- "icon": "IconCircleUser",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": {- "onDelete": "CASCADE",- "relationType": "MANY_TO_ONE",- "joinColumnName": "workspaceMemberId"- },- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": {- "__typename": "Relation",- "type": "MANY_TO_ONE",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "bcdaa361-9ee6-4c8e-81c2-711fd330e5b2",- "nameSingular": "timelineActivity",- "namePlural": "timelineActivities"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "5fd99bf8-8a88-4bed-aa6c-8ff34e43b0d0",- "nameSingular": "workspaceMember",- "namePlural": "workspaceMembers"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "cfa4073b-a5e6-4e0e-8a73-6d29fda7adb1",- "name": "workspaceMember"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "fb7dd9b4-3608-4534-8fd8-929b52c51c15",- "name": "timelineActivities"- }- },- "morphRelations": null- },- {- "__typename": "Field",- "id": "0419db16-5fd4-4306-bd1d-ea0b1dde5349",- "universalIdentifier": "20202020-7664-4a35-a3df-580d389fd527",- "type": "MORPH_RELATION",- "name": "target",- "label": "Target",- "description": "Event target",- "icon": "IconArrowUpRight",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": {- "onDelete": "SET_NULL",- "relationType": "MANY_TO_ONE",- "joinColumnName": "targetOpportunityId"- },- "isLabelSyncedWithName": false,- "morphId": "20202020-9a2b-4c3d-a4e5-f6a7b8c9d0e1",- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": [- {- "__typename": "Relation",- "type": "MANY_TO_ONE",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "bcdaa361-9ee6-4c8e-81c2-711fd330e5b2",- "nameSingular": "timelineActivity",- "namePlural": "timelineActivities"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "d493b617-19c8-4cbb-a50f-c084e4b9f276",- "nameSingular": "opportunity",- "namePlural": "opportunities"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "0419db16-5fd4-4306-bd1d-ea0b1dde5349",- "name": "target"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "a8a81fec-6315-46b1-927b-064f3e52ab94",- "name": "timelineActivities"- }- },- {- "__typename": "Relation",- "type": "MANY_TO_ONE",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "bcdaa361-9ee6-4c8e-81c2-711fd330e5b2",- "nameSingular": "timelineActivity",- "namePlural": "timelineActivities"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",- "nameSingular": "company",- "namePlural": "companies"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "bac81eaa-2f04-4ccf-9dc8-726cc919edc3",- "name": "target"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "3b6d99ee-d1f8-4011-b05e-9da8f1d21fe8",- "name": "timelineActivities"- }- },- {- "__typename": "Relation",- "type": "MANY_TO_ONE",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "bcdaa361-9ee6-4c8e-81c2-711fd330e5b2",- "nameSingular": "timelineActivity",- "namePlural": "timelineActivities"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "e2e2a576-9631-4bba-8a15-88a3dc4d84a1",- "nameSingular": "dashboard",- "namePlural": "dashboards"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "a1cc36c1-9dfb-4e35-b843-84b86a511602",- "name": "target"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "20acfd6a-3b43-4829-8844-2fb9539ed78b",- "name": "timelineActivities"- }+ {+ "__typename": "Relation",+ "type": "MANY_TO_ONE",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "bcdaa361-9ee6-4c8e-81c2-711fd330e5b2",+ "nameSingular": "timelineActivity",+ "namePlural": "timelineActivities"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "e2e2a576-9631-4bba-8a15-88a3dc4d84a1",+ "nameSingular": "dashboard",+ "namePlural": "dashboards"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "a1cc36c1-9dfb-4e35-b843-84b86a511602",+ "name": "target"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "20acfd6a-3b43-4829-8844-2fb9539ed78b",+ "name": "timelineActivities"+ }},{"__typename": "Relation",@@ -17345,171 +15735,10 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="id": "289e5729-b5af-4371-8d6a-749c4418d10e","universalIdentifier": "20202020-e2f3-448e-b34c-2d625f0025fd","type": "RELATION",- "name": "company",- "label": "Company",- "description": "Contact's company",- "icon": "IconBuildingSkyscraper",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": false,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": {- "onDelete": "SET_NULL",- "relationType": "MANY_TO_ONE",- "joinColumnName": "companyId"- },- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": {- "__typename": "Relation",- "type": "MANY_TO_ONE",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "2e0d7477-8143-4d8f-bc36-2b4f92cbd101",- "nameSingular": "person",- "namePlural": "people"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",- "nameSingular": "company",- "namePlural": "companies"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "289e5729-b5af-4371-8d6a-749c4418d10e",- "name": "company"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "103aa848-6570-4f53-bda6-80a21e4ead37",- "name": "people"- }- },- "morphRelations": null- },- {- "__typename": "Field",- "id": "584fe2d4-84a4-4dd8-9075-9ba6e32f5901",- "universalIdentifier": "20202020-498e-4c61-8158-fa04f0638334",- "type": "RELATION",- "name": "messageParticipants",- "label": "Message Participants",- "description": "Message Participants",- "icon": "IconUserCircle",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": false,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": {- "relationType": "ONE_TO_MANY"- },- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": {- "__typename": "Relation",- "type": "ONE_TO_MANY",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "2e0d7477-8143-4d8f-bc36-2b4f92cbd101",- "nameSingular": "person",- "namePlural": "people"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "7db07e5a-4476-4a4f-ba75-6de6597689aa",- "nameSingular": "messageParticipant",- "namePlural": "messageParticipants"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "584fe2d4-84a4-4dd8-9075-9ba6e32f5901",- "name": "messageParticipants"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "2e21f68d-8657-40a7-9050-02c5609f03a0",- "name": "person"- }- },- "morphRelations": null- },- {- "__typename": "Field",- "id": "2a4ae297-c70c-4c18-978a-b1dfbf472e8f",- "universalIdentifier": "20202020-c8fc-4258-8250-15905d3fcfec",- "type": "RELATION",- "name": "noteTargets",- "label": "Notes",- "description": "Notes tied to the contact",- "icon": "IconNotes",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": {- "relationType": "ONE_TO_MANY"- },- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": {- "__typename": "Relation",- "type": "ONE_TO_MANY",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "2e0d7477-8143-4d8f-bc36-2b4f92cbd101",- "nameSingular": "person",- "namePlural": "people"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "89c57180-083a-47b6-bfb7-ec51b3a87eae",- "nameSingular": "noteTarget",- "namePlural": "noteTargets"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "2a4ae297-c70c-4c18-978a-b1dfbf472e8f",- "name": "noteTargets"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "0199b767-c816-43e5-ba5a-4bb7d4c25d23",- "name": "target"- }- },- "morphRelations": null- },- {- "__typename": "Field",- "id": "cc8d8dcb-bd39-4d29-8c87-d161d818791d",- "universalIdentifier": "20202020-911b-4a7d-b67b-918aa9a5b33a",- "type": "RELATION",- "name": "pointOfContactForOpportunities",- "label": "Opportunities",- "description": "List of opportunities for which that person is the point of contact",- "icon": "IconTargetArrow",+ "name": "company",+ "label": "Company",+ "description": "Contact's company",+ "icon": "IconBuildingSkyscraper","isCustom": false,"isActive": true,"isSystem": false,@@ -17521,14 +15750,16 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="defaultValue": null,"options": null,"settings": {- "relationType": "ONE_TO_MANY"+ "onDelete": "SET_NULL",+ "relationType": "MANY_TO_ONE",+ "joinColumnName": "companyId"},"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec","relation": {"__typename": "Relation",- "type": "ONE_TO_MANY",+ "type": "MANY_TO_ONE","sourceObjectMetadata": {"__typename": "Object","id": "2e0d7477-8143-4d8f-bc36-2b4f92cbd101",@@ -17537,36 +15768,36 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},"targetObjectMetadata": {"__typename": "Object",- "id": "d493b617-19c8-4cbb-a50f-c084e4b9f276",- "nameSingular": "opportunity",- "namePlural": "opportunities"+ "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",+ "nameSingular": "company",+ "namePlural": "companies"},"sourceFieldMetadata": {"__typename": "Field",- "id": "cc8d8dcb-bd39-4d29-8c87-d161d818791d",- "name": "pointOfContactForOpportunities"+ "id": "289e5729-b5af-4371-8d6a-749c4418d10e",+ "name": "company"},"targetFieldMetadata": {"__typename": "Field",- "id": "6a300914-eab8-43a6-ac46-3745c0497de1",- "name": "pointOfContact"+ "id": "103aa848-6570-4f53-bda6-80a21e4ead37",+ "name": "people"}},"morphRelations": null},{"__typename": "Field",- "id": "d97cf1e1-e92c-4ec0-b349-7a8a2efc4d83",- "universalIdentifier": "20202020-584b-4d3e-88b6-53ab1fa03c3a",+ "id": "584fe2d4-84a4-4dd8-9075-9ba6e32f5901",+ "universalIdentifier": "20202020-498e-4c61-8158-fa04f0638334","type": "RELATION",- "name": "taskTargets",- "label": "Tasks",- "description": "Tasks tied to the contact",- "icon": "IconCheckbox",+ "name": "messageParticipants",+ "label": "Message Participants",+ "description": "Message Participants",+ "icon": "IconUserCircle","isCustom": false,"isActive": true,"isSystem": false,- "isUIReadOnly": true,+ "isUIReadOnly": false,"isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z",@@ -17590,36 +15821,36 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},"targetObjectMetadata": {"__typename": "Object",- "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",- "nameSingular": "taskTarget",- "namePlural": "taskTargets"+ "id": "7db07e5a-4476-4a4f-ba75-6de6597689aa",+ "nameSingular": "messageParticipant",+ "namePlural": "messageParticipants"},"sourceFieldMetadata": {"__typename": "Field",- "id": "d97cf1e1-e92c-4ec0-b349-7a8a2efc4d83",- "name": "taskTargets"+ "id": "584fe2d4-84a4-4dd8-9075-9ba6e32f5901",+ "name": "messageParticipants"},"targetFieldMetadata": {"__typename": "Field",- "id": "02f05d27-8a15-4035-8bb3-8b6c7ee7b959",- "name": "target"+ "id": "2e21f68d-8657-40a7-9050-02c5609f03a0",+ "name": "person"}},"morphRelations": null},{"__typename": "Field",- "id": "f2839b7a-3eae-4048-9b00-4a631f733e70",- "universalIdentifier": "20202020-a43e-4873-9c23-e522de906ce5",+ "id": "2a4ae297-c70c-4c18-978a-b1dfbf472e8f",+ "universalIdentifier": "20202020-c8fc-4258-8250-15905d3fcfec","type": "RELATION",- "name": "timelineActivities",- "label": "Events",- "description": "Events linked to the person",- "icon": "IconTimelineEvent",+ "name": "noteTargets",+ "label": "Notes",+ "description": "Notes tied to the contact",+ "icon": "IconNotes","isCustom": false,"isActive": true,"isSystem": false,- "isUIReadOnly": false,+ "isUIReadOnly": true,"isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z",@@ -17643,18 +15874,18 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},"targetObjectMetadata": {"__typename": "Object",- "id": "bcdaa361-9ee6-4c8e-81c2-711fd330e5b2",- "nameSingular": "timelineActivity",- "namePlural": "timelineActivities"+ "id": "89c57180-083a-47b6-bfb7-ec51b3a87eae",+ "nameSingular": "noteTarget",+ "namePlural": "noteTargets"},"sourceFieldMetadata": {"__typename": "Field",- "id": "f2839b7a-3eae-4048-9b00-4a631f733e70",- "name": "timelineActivities"+ "id": "2a4ae297-c70c-4c18-978a-b1dfbf472e8f",+ "name": "noteTargets"},"targetFieldMetadata": {"__typename": "Field",- "id": "0419db16-5fd4-4306-bd1d-ea0b1dde5349",+ "id": "0199b767-c816-43e5-ba5a-4bb7d4c25d23","name": "target"}},@@ -17662,192 +15893,29 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "03ed10d8-7d25-4aa1-9c86-0360eaaf2b0c",- "universalIdentifier": "776e5ff7-9445-49f0-9a21-4601071f99e3",- "type": "TEXT",- "name": "intro",- "label": "Intro",- "description": "Contact's Intro",- "icon": "IconNote",- "isCustom": true,- "isActive": true,- "isSystem": false,- "isUIReadOnly": false,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:59.653Z",- "updatedAt": "2026-04-10T08:55:59.653Z",- "defaultValue": null,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "7bcb361a-f094-434d-a504-0c9d421767d1",- "universalIdentifier": "2060b80e-d0cd-465c-b8a1-042580baeb84",- "type": "PHONES",- "name": "whatsapp",- "label": "Whatsapp",- "description": "Contact's Whatsapp Number",- "icon": "IconBrandWhatsapp",- "isCustom": true,- "isActive": true,- "isSystem": false,- "isUIReadOnly": false,- "isNullable": false,- "isUnique": false,- "createdAt": "2026-04-10T08:55:59.653Z",- "updatedAt": "2026-04-10T08:55:59.653Z",- "defaultValue": {- "additionalPhones": null,- "primaryPhoneNumber": "''",- "primaryPhoneCallingCode": "'+33'",- "primaryPhoneCountryCode": "'FR'"- },- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "f889bdd7-8423-4117-acc5-5e5a0791099e",- "universalIdentifier": "9da9f1e3-0a47-4cb2-b76a-989db09d094d",- "type": "MULTI_SELECT",- "name": "workPreference",- "label": "Work Preference",- "description": "Person's Work Preference",- "icon": "IconHome",- "isCustom": true,- "isActive": true,- "isSystem": false,- "isUIReadOnly": false,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:59.653Z",- "updatedAt": "2026-04-10T08:55:59.653Z",- "defaultValue": null,- "options": [- {- "id": "5403f83f-af16-436c-8f89-d907460b02b2",- "color": "green",- "label": "On-Site",- "value": "ON_SITE",- "position": 0- },- {- "id": "df93feaf-a55d-4398-a6f4-12ea08389dec",- "color": "turquoise",- "label": "Hybrid",- "value": "HYBRID",- "position": 1- },- {- "id": "930cac66-1e78-4ef6-9dca-bf59028672d5",- "color": "sky",- "label": "Remote Work",- "value": "REMOTE_WORK",- "position": 2- }- ],- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "46e9bdb0-7f67-4ba7-b2cd-85e254d9bdbe",- "universalIdentifier": "04209fc0-b488-4c4f-be88-7844b8f79215",- "type": "RATING",- "name": "performanceRating",- "label": "Performance Rating",- "description": "Person's Performance Rating",- "icon": "IconStars",- "isCustom": true,- "isActive": true,- "isSystem": false,- "isUIReadOnly": false,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:59.654Z",- "updatedAt": "2026-04-10T08:55:59.654Z",- "defaultValue": null,- "options": [- {- "id": "ab1076b3-68fd-47e9-b05d-636671d46ec8",- "label": "1",- "value": "RATING_1",- "position": 0- },- {- "id": "8cb71f44-12b8-4590-9b9b-d46cb4743ce2",- "label": "2",- "value": "RATING_2",- "position": 1- },- {- "id": "1699fcc5-d8de-44a1-a8b8-6ab4a794d36b",- "label": "3",- "value": "RATING_3",- "position": 2- },- {- "id": "31146a31-2445-4468-a1f0-0b896244315d",- "label": "4",- "value": "RATING_4",- "position": 3- },- {- "id": "c8f7140a-bb6b-4384-a897-d3e091e80620",- "label": "5",- "value": "RATING_5",- "position": 4- }- ],- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "66a76d17-14f3-4b98-b7bd-a880a5f1ad0c",- "universalIdentifier": "774e6aea-4a90-4edc-890c-e2b293cd00d1",+ "id": "cc8d8dcb-bd39-4d29-8c87-d161d818791d",+ "universalIdentifier": "20202020-911b-4a7d-b67b-918aa9a5b33a","type": "RELATION",- "name": "previousCompanies",- "label": "Previous Companies",- "description": "People tied to the Employment History",- "icon": "IconBuildingSkyscraper",- "isCustom": true,+ "name": "pointOfContactForOpportunities",+ "label": "Opportunities",+ "description": "List of opportunities for which that person is the point of contact",+ "icon": "IconTargetArrow",+ "isCustom": false,"isActive": true,"isSystem": false,"isUIReadOnly": false,"isNullable": true,"isUnique": false,- "createdAt": "2026-04-10T08:56:00.826Z",- "updatedAt": "2026-04-10T08:56:01.298Z",+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z","defaultValue": null,"options": null,"settings": {- "relationType": "ONE_TO_MANY",- "junctionTargetFieldId": "3884e8c9-4f36-4870-952d-f5c173b9f894"+ "relationType": "ONE_TO_MANY"},"isLabelSyncedWithName": false,"morphId": null,- "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18",+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec","relation": {"__typename": "Relation","type": "ONE_TO_MANY",@@ -17859,49 +15927,48 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},"targetObjectMetadata": {"__typename": "Object",- "id": "057951b6-46e0-4ae9-956a-b3b72f2cf800",- "nameSingular": "employmentHistory",- "namePlural": "employmentHistories"+ "id": "d493b617-19c8-4cbb-a50f-c084e4b9f276",+ "nameSingular": "opportunity",+ "namePlural": "opportunities"},"sourceFieldMetadata": {"__typename": "Field",- "id": "66a76d17-14f3-4b98-b7bd-a880a5f1ad0c",- "name": "previousCompanies"+ "id": "cc8d8dcb-bd39-4d29-8c87-d161d818791d",+ "name": "pointOfContactForOpportunities"},"targetFieldMetadata": {"__typename": "Field",- "id": "2b1d0803-6079-4337-ba07-03660a4f72ad",- "name": "person"+ "id": "6a300914-eab8-43a6-ac46-3745c0497de1",+ "name": "pointOfContact"}},"morphRelations": null},{"__typename": "Field",- "id": "296ea7c2-f126-4625-ae48-bd3df8df05a8",- "universalIdentifier": "be6f06b1-972e-45e4-ab71-9facae71ea4c",+ "id": "d97cf1e1-e92c-4ec0-b349-7a8a2efc4d83",+ "universalIdentifier": "20202020-584b-4d3e-88b6-53ab1fa03c3a","type": "RELATION",- "name": "caredForPets",- "label": "Cared For Pets",- "description": "People Pet Care Agreement",- "icon": "IconPaw",- "isCustom": true,+ "name": "taskTargets",+ "label": "Tasks",+ "description": "Tasks tied to the contact",+ "icon": "IconCheckbox",+ "isCustom": false,"isActive": true,"isSystem": false,- "isUIReadOnly": false,+ "isUIReadOnly": true,"isNullable": true,"isUnique": false,- "createdAt": "2026-04-10T08:56:00.629Z",- "updatedAt": "2026-04-10T08:56:01.738Z",+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z","defaultValue": null,"options": null,"settings": {- "relationType": "ONE_TO_MANY",- "junctionTargetFieldId": "f03b2e27-dd99-4eeb-9944-e3917244dfb5"+ "relationType": "ONE_TO_MANY"},"isLabelSyncedWithName": false,"morphId": null,- "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18",+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec","relation": {"__typename": "Relation","type": "ONE_TO_MANY",@@ -17913,213 +15980,36 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},"targetObjectMetadata": {"__typename": "Object",- "id": "4397cb61-4bcc-49f8-b024-739b74ed9928",- "nameSingular": "petCareAgreement",- "namePlural": "petCareAgreements"+ "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",+ "nameSingular": "taskTarget",+ "namePlural": "taskTargets"},"sourceFieldMetadata": {"__typename": "Field",- "id": "296ea7c2-f126-4625-ae48-bd3df8df05a8",- "name": "caredForPets"+ "id": "d97cf1e1-e92c-4ec0-b349-7a8a2efc4d83",+ "name": "taskTargets"},"targetFieldMetadata": {"__typename": "Field",- "id": "1b14d9b3-383c-41dc-afbd-8baf2a759c5b",- "name": "caretaker"- }- },- "morphRelations": null- }- ],- "indexMetadataList": [- {- "__typename": "Index",- "id": "490f0ad7-3245-455c-b293-57700c561863",- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "name": "IDX_ae09ff97967369e0644bacc0fce",- "indexWhereClause": null,- "indexType": "BTREE",- "isUnique": false,- "isCustom": false,- "indexFieldMetadataList": [- {- "__typename": "IndexField",- "id": "e62cab29-e6f1-4e4e-bd5f-1f776ede2857",- "fieldMetadataId": "289e5729-b5af-4371-8d6a-749c4418d10e",- "createdAt": "2026-04-10T08:55:56.612Z",- "updatedAt": "2026-04-10T08:55:56.612Z",- "order": 0- }- ]- },- {- "__typename": "Index",- "id": "f51c7e98-e04e-4590-8c43-787cdf1c1830",- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "name": "IDX_UNIQUE_87914cd3ce963115f8cb943e2ac",- "indexWhereClause": null,- "indexType": "BTREE",- "isUnique": true,- "isCustom": false,- "indexFieldMetadataList": [- {- "__typename": "IndexField",- "id": "c2df3e73-29f3-4821-b087-0b9c2eda308d",- "fieldMetadataId": "6da4fe6e-e6b2-4775-ba42-254ccde28e08",- "createdAt": "2026-04-10T08:55:56.613Z",- "updatedAt": "2026-04-10T08:55:56.613Z",- "order": 0- }- ]- },- {- "__typename": "Index",- "id": "b99b7fcb-7aae-4946-a03a-2c98a2812e87",- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "name": "IDX_bbd7aec1976fc684a0a5e4816c9",- "indexWhereClause": null,- "indexType": "GIN",- "isUnique": false,- "isCustom": false,- "indexFieldMetadataList": [- {- "__typename": "IndexField",- "id": "e2b4a8f1-26dc-4221-bcca-b39602459c40",- "fieldMetadataId": "9f9afa81-a70b-4c38-b332-a6b982a373bb",- "createdAt": "2026-04-10T08:55:56.614Z",- "updatedAt": "2026-04-10T08:55:56.614Z",- "order": 0+ "id": "02f05d27-8a15-4035-8bb3-8b6c7ee7b959",+ "name": "target"}- ]- }- ]- }- },- {- "__typename": "ObjectEdge",- "node": {- "__typename": "Object",- "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",- "universalIdentifier": "20202020-5a9a-44e8-95df-771cd06d0fb1",- "nameSingular": "taskTarget",- "namePlural": "taskTargets",- "isCustom": false,- "isRemote": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "labelIdentifierFieldMetadataId": "3c551b83-e8c0-4fd0-b43e-a51f0d3a408c",- "imageIdentifierFieldMetadataId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "shortcut": null,- "isLabelSyncedWithName": false,- "isSearchable": false,- "duplicateCriteria": null,- "labelSingular": "Task Target",- "labelPlural": "Task Targets",- "description": "A task target",- "icon": "IconCheckbox",- "fieldsList": [- {- "__typename": "Field",- "id": "3c551b83-e8c0-4fd0-b43e-a51f0d3a408c",- "universalIdentifier": "20202020-a03a-4161-8a61-cdefabcdefab",- "type": "UUID",- "name": "id",- "label": "Id",- "description": "Id",- "icon": "Icon123",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": false,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": "uuid",- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "8200c1bc-0935-42f7-979d-79631dc34170",- "universalIdentifier": "20202020-a03b-4162-9b62-defabcdefabc",- "type": "DATE_TIME",- "name": "createdAt",- "label": "Creation date",- "description": "Creation date",- "icon": "IconCalendar",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": false,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": "now",- "options": null,- "settings": {- "displayFormat": "RELATIVE"- },- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "abfed638-77b2-49aa-b66d-01e42e2c9096",- "universalIdentifier": "20202020-a03c-4163-8c63-efabcdefabcd",- "type": "DATE_TIME",- "name": "updatedAt",- "label": "Last update",- "description": "Last time the record was changed",- "icon": "IconCalendarClock",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": false,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": "now",- "options": null,- "settings": {- "displayFormat": "RELATIVE"},- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,"morphRelations": null},{"__typename": "Field",- "id": "60b3b1f0-b78e-4bbc-a253-7ba7d934a22d",- "universalIdentifier": "20202020-a03d-4164-9d64-fabcdefabcde",- "type": "DATE_TIME",- "name": "deletedAt",- "label": "Deleted at",- "description": "Date when the record was deleted",- "icon": "IconCalendarMinus",+ "id": "f2839b7a-3eae-4048-9b00-4a631f733e70",+ "universalIdentifier": "20202020-a43e-4873-9c23-e522de906ce5",+ "type": "RELATION",+ "name": "timelineActivities",+ "label": "Events",+ "description": "Events linked to the person",+ "icon": "IconTimelineEvent","isCustom": false,"isActive": true,- "isSystem": true,- "isUIReadOnly": true,+ "isSystem": false,+ "isUIReadOnly": false,"isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z",@@ -18127,452 +16017,317 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="defaultValue": null,"options": null,"settings": {- "displayFormat": "RELATIVE"+ "relationType": "ONE_TO_MANY"},"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,+ "relation": {+ "__typename": "Relation",+ "type": "ONE_TO_MANY",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "2e0d7477-8143-4d8f-bc36-2b4f92cbd101",+ "nameSingular": "person",+ "namePlural": "people"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "bcdaa361-9ee6-4c8e-81c2-711fd330e5b2",+ "nameSingular": "timelineActivity",+ "namePlural": "timelineActivities"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "f2839b7a-3eae-4048-9b00-4a631f733e70",+ "name": "timelineActivities"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "0419db16-5fd4-4306-bd1d-ea0b1dde5349",+ "name": "target"+ }+ },"morphRelations": null},{"__typename": "Field",- "id": "67fb599d-8519-4eba-aca7-4ae6b282479c",- "universalIdentifier": "65fe2a53-45e4-4225-9711-b827f55e51cc",- "type": "ACTOR",- "name": "createdBy",- "label": "Created by",- "description": "The creator of the record",- "icon": "IconCreativeCommonsSa",- "isCustom": false,+ "id": "03ed10d8-7d25-4aa1-9c86-0360eaaf2b0c",+ "universalIdentifier": "776e5ff7-9445-49f0-9a21-4601071f99e3",+ "type": "TEXT",+ "name": "intro",+ "label": "Intro",+ "description": "Contact's Intro",+ "icon": "IconNote",+ "isCustom": true,"isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": false,+ "isSystem": false,+ "isUIReadOnly": false,+ "isNullable": true,"isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": {- "name": "'System'",- "source": "'MANUAL'",- "workspaceMemberId": null- },+ "createdAt": "2026-04-10T08:55:59.653Z",+ "updatedAt": "2026-04-10T08:55:59.653Z",+ "defaultValue": null,"options": null,"settings": null,"isLabelSyncedWithName": false,"morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18","relation": null,"morphRelations": null},{"__typename": "Field",- "id": "6a1567fc-5a2f-43bd-840e-cd282ac65beb",- "universalIdentifier": "bea3734f-aff2-49ed-9dc9-d4666a2e2178",- "type": "ACTOR",- "name": "updatedBy",- "label": "Updated by",- "description": "The workspace member who last updated the record",- "icon": "IconUserCircle",- "isCustom": false,+ "id": "7bcb361a-f094-434d-a504-0c9d421767d1",+ "universalIdentifier": "2060b80e-d0cd-465c-b8a1-042580baeb84",+ "type": "PHONES",+ "name": "whatsapp",+ "label": "Whatsapp",+ "description": "Contact's Whatsapp Number",+ "icon": "IconBrandWhatsapp",+ "isCustom": true,"isActive": true,- "isSystem": true,- "isUIReadOnly": true,+ "isSystem": false,+ "isUIReadOnly": false,"isNullable": false,"isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",+ "createdAt": "2026-04-10T08:55:59.653Z",+ "updatedAt": "2026-04-10T08:55:59.653Z","defaultValue": {- "name": "'System'",- "source": "'MANUAL'",- "workspaceMemberId": null+ "additionalPhones": null,+ "primaryPhoneNumber": "''",+ "primaryPhoneCallingCode": "'+33'",+ "primaryPhoneCountryCode": "'FR'"},"options": null,"settings": null,"isLabelSyncedWithName": false,"morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18","relation": null,"morphRelations": null},{"__typename": "Field",- "id": "5e81ea74-6aef-4c9e-a3b6-e19f40588919",- "universalIdentifier": "4216c06a-498b-4111-9577-d9bcbccdda39",- "type": "POSITION",- "name": "position",- "label": "Position",- "description": "TaskTarget record position",- "icon": "IconHierarchy2",- "isCustom": false,+ "id": "f889bdd7-8423-4117-acc5-5e5a0791099e",+ "universalIdentifier": "9da9f1e3-0a47-4cb2-b76a-989db09d094d",+ "type": "MULTI_SELECT",+ "name": "workPreference",+ "label": "Work Preference",+ "description": "Person's Work Preference",+ "icon": "IconHome",+ "isCustom": true,"isActive": true,- "isSystem": true,+ "isSystem": false,"isUIReadOnly": false,- "isNullable": false,+ "isNullable": true,"isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": 0,- "options": null,+ "createdAt": "2026-04-10T08:55:59.653Z",+ "updatedAt": "2026-04-10T08:55:59.653Z",+ "defaultValue": null,+ "options": [+ {+ "id": "5403f83f-af16-436c-8f89-d907460b02b2",+ "color": "green",+ "label": "On-Site",+ "value": "ON_SITE",+ "position": 0+ },+ {+ "id": "df93feaf-a55d-4398-a6f4-12ea08389dec",+ "color": "turquoise",+ "label": "Hybrid",+ "value": "HYBRID",+ "position": 1+ },+ {+ "id": "930cac66-1e78-4ef6-9dca-bf59028672d5",+ "color": "sky",+ "label": "Remote Work",+ "value": "REMOTE_WORK",+ "position": 2+ }+ ],"settings": null,"isLabelSyncedWithName": false,"morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18","relation": null,"morphRelations": null},{"__typename": "Field",- "id": "a9c2b056-6456-4061-8bd8-721984d0db20",- "universalIdentifier": "8768a9c0-37c0-4465-b86d-c4c7f466ec23",- "type": "TS_VECTOR",- "name": "searchVector",- "label": "Search vector",- "description": "Field used for full-text search",- "icon": "IconUser",- "isCustom": false,+ "id": "46e9bdb0-7f67-4ba7-b2cd-85e254d9bdbe",+ "universalIdentifier": "04209fc0-b488-4c4f-be88-7844b8f79215",+ "type": "RATING",+ "name": "performanceRating",+ "label": "Performance Rating",+ "description": "Person's Performance Rating",+ "icon": "IconStars",+ "isCustom": true,"isActive": true,- "isSystem": true,+ "isSystem": false,"isUIReadOnly": false,"isNullable": true,"isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",+ "createdAt": "2026-04-10T08:55:59.654Z",+ "updatedAt": "2026-04-10T08:55:59.654Z","defaultValue": null,- "options": null,- "settings": {- "asExpression": "to_tsvector('simple', COALESCE(\"id\"::text, ''))",- "generatedType": "STORED"- },+ "options": [+ {+ "id": "ab1076b3-68fd-47e9-b05d-636671d46ec8",+ "label": "1",+ "value": "RATING_1",+ "position": 0+ },+ {+ "id": "8cb71f44-12b8-4590-9b9b-d46cb4743ce2",+ "label": "2",+ "value": "RATING_2",+ "position": 1+ },+ {+ "id": "1699fcc5-d8de-44a1-a8b8-6ab4a794d36b",+ "label": "3",+ "value": "RATING_3",+ "position": 2+ },+ {+ "id": "31146a31-2445-4468-a1f0-0b896244315d",+ "label": "4",+ "value": "RATING_4",+ "position": 3+ },+ {+ "id": "c8f7140a-bb6b-4384-a897-d3e091e80620",+ "label": "5",+ "value": "RATING_5",+ "position": 4+ }+ ],+ "settings": null,"isLabelSyncedWithName": false,"morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18","relation": null,"morphRelations": null},{"__typename": "Field",- "id": "cccd1738-3b69-4297-bfd2-741438ccc9ef",- "universalIdentifier": "20202020-e881-457a-8758-74aaef4ae78a",+ "id": "66a76d17-14f3-4b98-b7bd-a880a5f1ad0c",+ "universalIdentifier": "774e6aea-4a90-4edc-890c-e2b293cd00d1","type": "RELATION",- "name": "task",- "label": "Task",- "description": "TaskTarget task",- "icon": "IconCheckbox",- "isCustom": false,+ "name": "previousCompanies",+ "label": "Previous Companies",+ "description": "People tied to the Employment History",+ "icon": "IconBuildingSkyscraper",+ "isCustom": true,"isActive": true,"isSystem": false,- "isUIReadOnly": true,+ "isUIReadOnly": false,"isNullable": true,"isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",+ "createdAt": "2026-04-10T08:56:00.826Z",+ "updatedAt": "2026-04-10T08:56:01.298Z","defaultValue": null,"options": null,"settings": {- "onDelete": "CASCADE",- "relationType": "MANY_TO_ONE",- "joinColumnName": "taskId"+ "relationType": "ONE_TO_MANY",+ "junctionTargetFieldId": "3884e8c9-4f36-4870-952d-f5c173b9f894"},"isLabelSyncedWithName": false,"morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18","relation": {"__typename": "Relation",- "type": "MANY_TO_ONE",+ "type": "ONE_TO_MANY","sourceObjectMetadata": {"__typename": "Object",- "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",- "nameSingular": "taskTarget",- "namePlural": "taskTargets"+ "id": "2e0d7477-8143-4d8f-bc36-2b4f92cbd101",+ "nameSingular": "person",+ "namePlural": "people"},"targetObjectMetadata": {"__typename": "Object",- "id": "34ac72b8-0aaa-4c01-b8a8-8390415fdf8a",- "nameSingular": "task",- "namePlural": "tasks"+ "id": "057951b6-46e0-4ae9-956a-b3b72f2cf800",+ "nameSingular": "employmentHistory",+ "namePlural": "employmentHistories"},"sourceFieldMetadata": {"__typename": "Field",- "id": "cccd1738-3b69-4297-bfd2-741438ccc9ef",- "name": "task"+ "id": "66a76d17-14f3-4b98-b7bd-a880a5f1ad0c",+ "name": "previousCompanies"},"targetFieldMetadata": {"__typename": "Field",- "id": "fd453c2e-5802-44d0-9404-7d733f115477",- "name": "taskTargets"+ "id": "2b1d0803-6079-4337-ba07-03660a4f72ad",+ "name": "person"}},"morphRelations": null},{"__typename": "Field",- "id": "02f05d27-8a15-4035-8bb3-8b6c7ee7b959",- "universalIdentifier": "4e11388a-2750-48ce-a905-8b73e73ea5b0",- "type": "MORPH_RELATION",- "name": "target",- "label": "Pet",- "description": "TaskTargets Pet",- "icon": "IconCheckbox",+ "id": "296ea7c2-f126-4625-ae48-bd3df8df05a8",+ "universalIdentifier": "be6f06b1-972e-45e4-ab71-9facae71ea4c",+ "type": "RELATION",+ "name": "caredForPets",+ "label": "Cared For Pets",+ "description": "People Pet Care Agreement",+ "icon": "IconPaw","isCustom": true,"isActive": true,"isSystem": false,"isUIReadOnly": false,"isNullable": true,"isUnique": false,- "createdAt": "2026-04-10T08:55:58.075Z",- "updatedAt": "2026-04-10T08:55:58.075Z",+ "createdAt": "2026-04-10T08:56:00.629Z",+ "updatedAt": "2026-04-10T08:56:01.738Z","defaultValue": null,"options": null,"settings": {- "onDelete": "SET_NULL",- "relationType": "MANY_TO_ONE",- "joinColumnName": "targetPetId"+ "relationType": "ONE_TO_MANY",+ "junctionTargetFieldId": "f03b2e27-dd99-4eeb-9944-e3917244dfb5"},"isLabelSyncedWithName": false,- "morphId": "20202020-f636-435d-ab8d-e1168b375c71",+ "morphId": null,"applicationId": "029204a9-b419-41d8-a483-57690c3d1a18",- "relation": null,- "morphRelations": [- {- "__typename": "Relation",- "type": "MANY_TO_ONE",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",- "nameSingular": "taskTarget",- "namePlural": "taskTargets"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "4646d650-bc55-42f2-9544-4c804c6616a0",- "nameSingular": "pet",- "namePlural": "pets"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "02f05d27-8a15-4035-8bb3-8b6c7ee7b959",- "name": "target"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "975f51ee-baa7-4d70-b3cd-a66648fb4b1a",- "name": "taskTargets"- }- },- {- "__typename": "Relation",- "type": "MANY_TO_ONE",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",- "nameSingular": "taskTarget",- "namePlural": "taskTargets"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",- "nameSingular": "company",- "namePlural": "companies"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "d45c7be7-5da6-4d96-90c1-430ead90ef28",- "name": "target"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "ef490149-f4f3-437e-a40a-7b1528b6b09a",- "name": "taskTargets"- }- },- {- "__typename": "Relation",- "type": "MANY_TO_ONE",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",- "nameSingular": "taskTarget",- "namePlural": "taskTargets"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "d493b617-19c8-4cbb-a50f-c084e4b9f276",- "nameSingular": "opportunity",- "namePlural": "opportunities"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "37d2f96d-57a2-4a6e-b927-55ec410d38ed",- "name": "target"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "5925f4d7-f2ea-4f84-9fe8-8cf337b938d0",- "name": "taskTargets"- }- },- {- "__typename": "Relation",- "type": "MANY_TO_ONE",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",- "nameSingular": "taskTarget",- "namePlural": "taskTargets"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "2e0d7477-8143-4d8f-bc36-2b4f92cbd101",- "nameSingular": "person",- "namePlural": "people"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "9b6366e9-b9cf-484a-b2f6-c6d1fdbacba8",- "name": "target"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "d97cf1e1-e92c-4ec0-b349-7a8a2efc4d83",- "name": "taskTargets"- }- },- {- "__typename": "Relation",- "type": "MANY_TO_ONE",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",- "nameSingular": "taskTarget",- "namePlural": "taskTargets"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "6934bd29-d89d-479e-8b32-f4f3a9af19b6",- "nameSingular": "rocket",- "namePlural": "rockets"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "1c65e914-4808-4c50-ac15-05b3c99f40c2",- "name": "target"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "52fce2e0-9f58-454d-8e7e-5a9ad6a9e567",- "name": "taskTargets"- }+ "relation": {+ "__typename": "Relation",+ "type": "ONE_TO_MANY",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "2e0d7477-8143-4d8f-bc36-2b4f92cbd101",+ "nameSingular": "person",+ "namePlural": "people"},- {- "__typename": "Relation",- "type": "MANY_TO_ONE",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",- "nameSingular": "taskTarget",- "namePlural": "taskTargets"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "9b374f59-ccba-4cfe-8f1f-0725332c4a13",- "nameSingular": "surveyResult",- "namePlural": "surveyResults"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "8a37bd61-a156-424d-95ae-60fa02f70d1f",- "name": "target"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "95944780-af1a-4811-878f-d9248bc1cc5e",- "name": "taskTargets"- }+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "4397cb61-4bcc-49f8-b024-739b74ed9928",+ "nameSingular": "petCareAgreement",+ "namePlural": "petCareAgreements"},- {- "__typename": "Relation",- "type": "MANY_TO_ONE",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",- "nameSingular": "taskTarget",- "namePlural": "taskTargets"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "057951b6-46e0-4ae9-956a-b3b72f2cf800",- "nameSingular": "employmentHistory",- "namePlural": "employmentHistories"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "4c720ec5-a0b1-47b4-bdc0-a8b11be5a3ff",- "name": "target"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "0a270bd7-8003-42de-abff-ba3aa9d28dfc",- "name": "taskTargets"- }+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "296ea7c2-f126-4625-ae48-bd3df8df05a8",+ "name": "caredForPets"},- {- "__typename": "Relation",- "type": "MANY_TO_ONE",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",- "nameSingular": "taskTarget",- "namePlural": "taskTargets"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "4397cb61-4bcc-49f8-b024-739b74ed9928",- "nameSingular": "petCareAgreement",- "namePlural": "petCareAgreements"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "c73d24a6-258c-4587-9470-55285e47f6b1",- "name": "target"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "04b934ea-93e3-4a9f-83ea-d16f663647ef",- "name": "taskTargets"- }+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "1b14d9b3-383c-41dc-afbd-8baf2a759c5b",+ "name": "caretaker"}- ]+ },+ "morphRelations": null}],"indexMetadataList": [{"__typename": "Index",- "id": "1767560e-dcab-45d4-afb4-0b5ee9db39fa",- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "name": "IDX_74ad70941560ba6b2a179ad460c",- "indexWhereClause": null,- "indexType": "BTREE",- "isUnique": false,- "isCustom": false,- "indexFieldMetadataList": [- {- "__typename": "IndexField",- "id": "2cb8d56e-4583-4a6d-81ad-c593c8eae383",- "fieldMetadataId": "cccd1738-3b69-4297-bfd2-741438ccc9ef",- "createdAt": "2026-04-10T08:55:56.616Z",- "updatedAt": "2026-04-10T08:55:56.616Z",- "order": 0- }- ]- },- {- "__typename": "Index",- "id": "77e857ae-0aac-4610-8732-a89e1449f25b",+ "id": "490f0ad7-3245-455c-b293-57700c561863","createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "name": "IDX_f3d9b01b0d587804e7beeb2a534",+ "name": "IDX_ae09ff97967369e0644bacc0fce","indexWhereClause": null,"indexType": "BTREE","isUnique": false,@@ -18580,52 +16335,52 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="indexFieldMetadataList": [{"__typename": "IndexField",- "id": "767bc16f-5b54-47ff-8cd2-47a884c034d2",- "fieldMetadataId": "9b6366e9-b9cf-484a-b2f6-c6d1fdbacba8",- "createdAt": "2026-04-10T08:55:56.616Z",- "updatedAt": "2026-04-10T08:55:56.616Z",+ "id": "e62cab29-e6f1-4e4e-bd5f-1f776ede2857",+ "fieldMetadataId": "289e5729-b5af-4371-8d6a-749c4418d10e",+ "createdAt": "2026-04-10T08:55:56.612Z",+ "updatedAt": "2026-04-10T08:55:56.612Z","order": 0}]},{"__typename": "Index",- "id": "c2b2e02f-5010-49d5-9be1-62bbf0cd5d9b",+ "id": "f51c7e98-e04e-4590-8c43-787cdf1c1830","createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "name": "IDX_419778384cd97935db3e246f589",+ "name": "IDX_UNIQUE_87914cd3ce963115f8cb943e2ac","indexWhereClause": null,"indexType": "BTREE",- "isUnique": false,+ "isUnique": true,"isCustom": false,"indexFieldMetadataList": [{"__typename": "IndexField",- "id": "4828911b-c1c6-4fcb-a1c9-cb67f28d7885",- "fieldMetadataId": "d45c7be7-5da6-4d96-90c1-430ead90ef28",- "createdAt": "2026-04-10T08:55:56.617Z",- "updatedAt": "2026-04-10T08:55:56.617Z",+ "id": "c2df3e73-29f3-4821-b087-0b9c2eda308d",+ "fieldMetadataId": "6da4fe6e-e6b2-4775-ba42-254ccde28e08",+ "createdAt": "2026-04-10T08:55:56.613Z",+ "updatedAt": "2026-04-10T08:55:56.613Z","order": 0}]},{"__typename": "Index",- "id": "4d34322b-e0c7-4b1d-bc62-6d2b87dc3e81",+ "id": "b99b7fcb-7aae-4946-a03a-2c98a2812e87","createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "name": "IDX_f0e95ec5e72b91f28fffac1201b",+ "name": "IDX_bbd7aec1976fc684a0a5e4816c9","indexWhereClause": null,- "indexType": "BTREE",+ "indexType": "GIN","isUnique": false,"isCustom": false,"indexFieldMetadataList": [{"__typename": "IndexField",- "id": "2cdc73ee-7a84-4fb2-bd48-a72ea6ac0a5e",- "fieldMetadataId": "37d2f96d-57a2-4a6e-b927-55ec410d38ed",- "createdAt": "2026-04-10T08:55:56.618Z",- "updatedAt": "2026-04-10T08:55:56.618Z",+ "id": "e2b4a8f1-26dc-4221-bcca-b39602459c40",+ "fieldMetadataId": "9f9afa81-a70b-4c38-b332-a6b982a373bb",+ "createdAt": "2026-04-10T08:55:56.614Z",+ "updatedAt": "2026-04-10T08:55:56.614Z","order": 0}]@@ -18637,40 +16392,33 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="__typename": "ObjectEdge","node": {"__typename": "Object",- "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",- "universalIdentifier": "20202020-b374-4779-a561-80086cb2e17f",- "nameSingular": "company",- "namePlural": "companies",+ "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",+ "universalIdentifier": "20202020-5a9a-44e8-95df-771cd06d0fb1",+ "nameSingular": "taskTarget",+ "namePlural": "taskTargets","isCustom": false,"isRemote": false,"isActive": true,- "isSystem": false,+ "isSystem": true,"isUIReadOnly": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "labelIdentifierFieldMetadataId": "50c85704-9c8e-4e30-8a86-dc6adb756999",+ "labelIdentifierFieldMetadataId": "3c551b83-e8c0-4fd0-b43e-a51f0d3a408c","imageIdentifierFieldMetadataId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "shortcut": "C",+ "shortcut": null,"isLabelSyncedWithName": false,- "isSearchable": true,- "duplicateCriteria": [- [- "name"- ],- [- "domainNamePrimaryLinkUrl"- ]- ],- "labelSingular": "Company",- "labelPlural": "Companies",- "description": "A company",- "icon": "IconBuildingSkyscraper",+ "isSearchable": false,+ "duplicateCriteria": null,+ "labelSingular": "Task Target",+ "labelPlural": "Task Targets",+ "description": "A task target",+ "icon": "IconCheckbox","fieldsList": [{"__typename": "Field",- "id": "4c866912-8064-4fee-a080-6ba60b8e6bec",- "universalIdentifier": "20202020-c05a-4061-8a61-1e2f3a4b5c6d",+ "id": "3c551b83-e8c0-4fd0-b43e-a51f0d3a408c",+ "universalIdentifier": "20202020-a03a-4161-8a61-cdefabcdefab","type": "UUID","name": "id","label": "Id",@@ -18695,8 +16443,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "dda89c2c-0e5f-4974-ae06-30b27026d076",- "universalIdentifier": "20202020-c05b-4062-9b62-2f3a4b5c6d7e",+ "id": "8200c1bc-0935-42f7-979d-79631dc34170",+ "universalIdentifier": "20202020-a03b-4162-9b62-defabcdefabc","type": "DATE_TIME","name": "createdAt","label": "Creation date",@@ -18723,8 +16471,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "42522feb-3410-4ac5-8034-1ac988e1f8b5",- "universalIdentifier": "20202020-c05c-4063-8c63-3a4b5c6d7e8f",+ "id": "abfed638-77b2-49aa-b66d-01e42e2c9096",+ "universalIdentifier": "20202020-a03c-4163-8c63-efabcdefabcd","type": "DATE_TIME","name": "updatedAt","label": "Last update",@@ -18751,8 +16499,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "9583c7a8-5310-46ed-b33b-68681c487431",- "universalIdentifier": "20202020-c05d-4064-9d64-4b5c6d7e8f9a",+ "id": "60b3b1f0-b78e-4bbc-a253-7ba7d934a22d",+ "universalIdentifier": "20202020-a03d-4164-9d64-fabcdefabcde","type": "DATE_TIME","name": "deletedAt","label": "Deleted at",@@ -18779,16 +16527,102 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "50c85704-9c8e-4e30-8a86-dc6adb756999",- "universalIdentifier": "20202020-4d99-4e2e-a84c-4a27837b1ece",- "type": "TEXT",- "name": "name",- "label": "Name",- "description": "The company name",- "icon": "IconBuildingSkyscraper",+ "id": "67fb599d-8519-4eba-aca7-4ae6b282479c",+ "universalIdentifier": "65fe2a53-45e4-4225-9711-b827f55e51cc",+ "type": "ACTOR",+ "name": "createdBy",+ "label": "Created by",+ "description": "The creator of the record",+ "icon": "IconCreativeCommonsSa","isCustom": false,"isActive": true,- "isSystem": false,+ "isSystem": true,+ "isUIReadOnly": true,+ "isNullable": false,+ "isUnique": false,+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z",+ "defaultValue": {+ "name": "'System'",+ "source": "'MANUAL'",+ "workspaceMemberId": null+ },+ "options": null,+ "settings": null,+ "isLabelSyncedWithName": false,+ "morphId": null,+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "relation": null,+ "morphRelations": null+ },+ {+ "__typename": "Field",+ "id": "6a1567fc-5a2f-43bd-840e-cd282ac65beb",+ "universalIdentifier": "bea3734f-aff2-49ed-9dc9-d4666a2e2178",+ "type": "ACTOR",+ "name": "updatedBy",+ "label": "Updated by",+ "description": "The workspace member who last updated the record",+ "icon": "IconUserCircle",+ "isCustom": false,+ "isActive": true,+ "isSystem": true,+ "isUIReadOnly": true,+ "isNullable": false,+ "isUnique": false,+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z",+ "defaultValue": {+ "name": "'System'",+ "source": "'MANUAL'",+ "workspaceMemberId": null+ },+ "options": null,+ "settings": null,+ "isLabelSyncedWithName": false,+ "morphId": null,+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "relation": null,+ "morphRelations": null+ },+ {+ "__typename": "Field",+ "id": "5e81ea74-6aef-4c9e-a3b6-e19f40588919",+ "universalIdentifier": "4216c06a-498b-4111-9577-d9bcbccdda39",+ "type": "POSITION",+ "name": "position",+ "label": "Position",+ "description": "TaskTarget record position",+ "icon": "IconHierarchy2",+ "isCustom": false,+ "isActive": true,+ "isSystem": true,+ "isUIReadOnly": false,+ "isNullable": false,+ "isUnique": false,+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z",+ "defaultValue": 0,+ "options": null,+ "settings": null,+ "isLabelSyncedWithName": false,+ "morphId": null,+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "relation": null,+ "morphRelations": null+ },+ {+ "__typename": "Field",+ "id": "a9c2b056-6456-4061-8bd8-721984d0db20",+ "universalIdentifier": "8768a9c0-37c0-4465-b86d-c4c7f466ec23",+ "type": "TS_VECTOR",+ "name": "searchVector",+ "label": "Search vector",+ "description": "Field used for full-text search",+ "icon": "IconUser",+ "isCustom": false,+ "isActive": true,+ "isSystem": true,"isUIReadOnly": false,"isNullable": true,"isUnique": false,@@ -18796,7 +16630,10 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="updatedAt": "2026-04-10T08:55:56.200Z","defaultValue": null,"options": null,- "settings": null,+ "settings": {+ "asExpression": "to_tsvector('simple', COALESCE(\"id\"::text, ''))",+ "generatedType": "STORED"+ },"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",@@ -18805,223 +16642,430 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "be9fd5e1-ca36-4b91-ba14-22a5ab409e92",- "universalIdentifier": "20202020-0c28-43d8-8ba5-3659924d3489",- "type": "LINKS",- "name": "domainName",- "label": "Domain Name",- "description": "The company website URL. We use this url to fetch the company icon",- "icon": "IconLink",+ "id": "cccd1738-3b69-4297-bfd2-741438ccc9ef",+ "universalIdentifier": "20202020-e881-457a-8758-74aaef4ae78a",+ "type": "RELATION",+ "name": "task",+ "label": "Task",+ "description": "TaskTarget task",+ "icon": "IconCheckbox","isCustom": false,"isActive": true,"isSystem": false,- "isUIReadOnly": false,+ "isUIReadOnly": true,"isNullable": true,- "isUnique": true,+ "isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z","defaultValue": null,"options": null,"settings": {- "maxNumberOfValues": 1+ "onDelete": "CASCADE",+ "relationType": "MANY_TO_ONE",+ "joinColumnName": "taskId"+ },+ "isLabelSyncedWithName": false,+ "morphId": null,+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "relation": {+ "__typename": "Relation",+ "type": "MANY_TO_ONE",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",+ "nameSingular": "taskTarget",+ "namePlural": "taskTargets"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "34ac72b8-0aaa-4c01-b8a8-8390415fdf8a",+ "nameSingular": "task",+ "namePlural": "tasks"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "cccd1738-3b69-4297-bfd2-741438ccc9ef",+ "name": "task"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "fd453c2e-5802-44d0-9404-7d733f115477",+ "name": "taskTargets"+ }},- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,"morphRelations": null},{"__typename": "Field",- "id": "e99bcd0c-7523-4c18-b8cf-7d8aaba32b34",- "universalIdentifier": "20202020-c5ce-4adc-b7b6-9c0979fc55e7",- "type": "ADDRESS",- "name": "address",- "label": "Address",- "description": "Address of the company",- "icon": "IconMap",- "isCustom": false,+ "id": "02f05d27-8a15-4035-8bb3-8b6c7ee7b959",+ "universalIdentifier": "4e11388a-2750-48ce-a905-8b73e73ea5b0",+ "type": "MORPH_RELATION",+ "name": "target",+ "label": "Pet",+ "description": "TaskTargets Pet",+ "icon": "IconCheckbox",+ "isCustom": true,"isActive": true,"isSystem": false,"isUIReadOnly": false,"isNullable": true,"isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",+ "createdAt": "2026-04-10T08:55:58.075Z",+ "updatedAt": "2026-04-10T08:55:58.075Z","defaultValue": null,"options": null,- "settings": null,+ "settings": {+ "onDelete": "SET_NULL",+ "relationType": "MANY_TO_ONE",+ "joinColumnName": "targetPetId"+ },"isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "morphId": "20202020-f636-435d-ab8d-e1168b375c71",+ "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18","relation": null,- "morphRelations": null- },+ "morphRelations": [+ {+ "__typename": "Relation",+ "type": "MANY_TO_ONE",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",+ "nameSingular": "taskTarget",+ "namePlural": "taskTargets"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "4646d650-bc55-42f2-9544-4c804c6616a0",+ "nameSingular": "pet",+ "namePlural": "pets"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "02f05d27-8a15-4035-8bb3-8b6c7ee7b959",+ "name": "target"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "975f51ee-baa7-4d70-b3cd-a66648fb4b1a",+ "name": "taskTargets"+ }+ },+ {+ "__typename": "Relation",+ "type": "MANY_TO_ONE",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",+ "nameSingular": "taskTarget",+ "namePlural": "taskTargets"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",+ "nameSingular": "company",+ "namePlural": "companies"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "d45c7be7-5da6-4d96-90c1-430ead90ef28",+ "name": "target"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "ef490149-f4f3-437e-a40a-7b1528b6b09a",+ "name": "taskTargets"+ }+ },+ {+ "__typename": "Relation",+ "type": "MANY_TO_ONE",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",+ "nameSingular": "taskTarget",+ "namePlural": "taskTargets"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "d493b617-19c8-4cbb-a50f-c084e4b9f276",+ "nameSingular": "opportunity",+ "namePlural": "opportunities"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "37d2f96d-57a2-4a6e-b927-55ec410d38ed",+ "name": "target"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "5925f4d7-f2ea-4f84-9fe8-8cf337b938d0",+ "name": "taskTargets"+ }+ },+ {+ "__typename": "Relation",+ "type": "MANY_TO_ONE",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",+ "nameSingular": "taskTarget",+ "namePlural": "taskTargets"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "2e0d7477-8143-4d8f-bc36-2b4f92cbd101",+ "nameSingular": "person",+ "namePlural": "people"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "9b6366e9-b9cf-484a-b2f6-c6d1fdbacba8",+ "name": "target"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "d97cf1e1-e92c-4ec0-b349-7a8a2efc4d83",+ "name": "taskTargets"+ }+ },+ {+ "__typename": "Relation",+ "type": "MANY_TO_ONE",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",+ "nameSingular": "taskTarget",+ "namePlural": "taskTargets"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "6934bd29-d89d-479e-8b32-f4f3a9af19b6",+ "nameSingular": "rocket",+ "namePlural": "rockets"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "1c65e914-4808-4c50-ac15-05b3c99f40c2",+ "name": "target"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "52fce2e0-9f58-454d-8e7e-5a9ad6a9e567",+ "name": "taskTargets"+ }+ },+ {+ "__typename": "Relation",+ "type": "MANY_TO_ONE",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",+ "nameSingular": "taskTarget",+ "namePlural": "taskTargets"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "9b374f59-ccba-4cfe-8f1f-0725332c4a13",+ "nameSingular": "surveyResult",+ "namePlural": "surveyResults"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "8a37bd61-a156-424d-95ae-60fa02f70d1f",+ "name": "target"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "95944780-af1a-4811-878f-d9248bc1cc5e",+ "name": "taskTargets"+ }+ },+ {+ "__typename": "Relation",+ "type": "MANY_TO_ONE",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",+ "nameSingular": "taskTarget",+ "namePlural": "taskTargets"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "057951b6-46e0-4ae9-956a-b3b72f2cf800",+ "nameSingular": "employmentHistory",+ "namePlural": "employmentHistories"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "4c720ec5-a0b1-47b4-bdc0-a8b11be5a3ff",+ "name": "target"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "0a270bd7-8003-42de-abff-ba3aa9d28dfc",+ "name": "taskTargets"+ }+ },+ {+ "__typename": "Relation",+ "type": "MANY_TO_ONE",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",+ "nameSingular": "taskTarget",+ "namePlural": "taskTargets"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "4397cb61-4bcc-49f8-b024-739b74ed9928",+ "nameSingular": "petCareAgreement",+ "namePlural": "petCareAgreements"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "c73d24a6-258c-4587-9470-55285e47f6b1",+ "name": "target"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "04b934ea-93e3-4a9f-83ea-d16f663647ef",+ "name": "taskTargets"+ }+ }+ ]+ }+ ],+ "indexMetadataList": [{- "__typename": "Field",- "id": "ca4b3167-af54-47a8-a34b-928a27c1e7dc",- "universalIdentifier": "20202020-8965-464a-8a75-74bafc152a0b",- "type": "NUMBER",- "name": "employees",- "label": "Employees",- "description": "Number of employees in the company",- "icon": "IconUsers",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": false,- "isNullable": true,- "isUnique": false,+ "__typename": "Index",+ "id": "1767560e-dcab-45d4-afb4-0b5ee9db39fa","createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "6b924609-14c9-42ea-84c4-4168d7e0d7ea",- "universalIdentifier": "20202020-ebeb-4beb-b9ad-6848036fb451",- "type": "LINKS",- "name": "linkedinLink",- "label": "Linkedin",- "description": "The company Linkedin account",- "icon": "IconBrandLinkedin",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": false,- "isNullable": true,+ "name": "IDX_74ad70941560ba6b2a179ad460c",+ "indexWhereClause": null,+ "indexType": "BTREE","isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "264e784a-18b6-42e0-8523-1d87dec24944",- "universalIdentifier": "20202020-6f64-4fd9-9580-9c1991c7d8c3",- "type": "LINKS",- "name": "xLink",- "label": "X",- "description": "The company Twitter/X account",- "icon": "IconBrandX","isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": false,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null+ "indexFieldMetadataList": [+ {+ "__typename": "IndexField",+ "id": "2cb8d56e-4583-4a6d-81ad-c593c8eae383",+ "fieldMetadataId": "cccd1738-3b69-4297-bfd2-741438ccc9ef",+ "createdAt": "2026-04-10T08:55:56.616Z",+ "updatedAt": "2026-04-10T08:55:56.616Z",+ "order": 0+ }+ ]},{- "__typename": "Field",- "id": "046a62d6-3b87-4d76-bebb-782a2dfac082",- "universalIdentifier": "20202020-602a-495c-9776-f5d5b11d227b",- "type": "CURRENCY",- "name": "annualRecurringRevenue",- "label": "ARR",- "description": "Annual Recurring Revenue: The actual or estimated annual revenue of the company",- "icon": "IconMoneybag",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": false,- "isNullable": true,- "isUnique": false,+ "__typename": "Index",+ "id": "77e857ae-0aac-4610-8732-a89e1449f25b","createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null+ "name": "IDX_f3d9b01b0d587804e7beeb2a534",+ "indexWhereClause": null,+ "indexType": "BTREE",+ "isUnique": false,+ "isCustom": false,+ "indexFieldMetadataList": [+ {+ "__typename": "IndexField",+ "id": "767bc16f-5b54-47ff-8cd2-47a884c034d2",+ "fieldMetadataId": "9b6366e9-b9cf-484a-b2f6-c6d1fdbacba8",+ "createdAt": "2026-04-10T08:55:56.616Z",+ "updatedAt": "2026-04-10T08:55:56.616Z",+ "order": 0+ }+ ]},{- "__typename": "Field",- "id": "33f8b7b4-948e-4743-91d7-02f960c3c036",- "universalIdentifier": "20202020-ba6b-438a-8213-2c5ba28d76a2",- "type": "BOOLEAN",- "name": "idealCustomerProfile",- "label": "ICP",- "description": "Ideal Customer Profile: Indicates whether the company is the most suitable and valuable customer for you",- "icon": "IconTarget",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": false,- "isNullable": false,- "isUnique": false,+ "__typename": "Index",+ "id": "c2b2e02f-5010-49d5-9be1-62bbf0cd5d9b","createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": false,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null+ "name": "IDX_419778384cd97935db3e246f589",+ "indexWhereClause": null,+ "indexType": "BTREE",+ "isUnique": false,+ "isCustom": false,+ "indexFieldMetadataList": [+ {+ "__typename": "IndexField",+ "id": "4828911b-c1c6-4fcb-a1c9-cb67f28d7885",+ "fieldMetadataId": "d45c7be7-5da6-4d96-90c1-430ead90ef28",+ "createdAt": "2026-04-10T08:55:56.617Z",+ "updatedAt": "2026-04-10T08:55:56.617Z",+ "order": 0+ }+ ]},{- "__typename": "Field",- "id": "767af3fb-d01f-4259-b035-8fbc93d7d7c7",- "universalIdentifier": "20202020-9b4e-462b-991d-a0ee33326454",- "type": "POSITION",- "name": "position",- "label": "Position",- "description": "Company record position",- "icon": "IconHierarchy2",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": false,- "isNullable": false,- "isUnique": false,+ "__typename": "Index",+ "id": "4d34322b-e0c7-4b1d-bc62-6d2b87dc3e81","createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": 0,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "4dd7cdf7-d750-499b-97d6-7867f3e78522",- "universalIdentifier": "20202020-fabc-451d-ab7d-412170916baa",- "type": "ACTOR",- "name": "createdBy",- "label": "Created by",- "description": "The creator of the record",- "icon": "IconCreativeCommonsSa",+ "name": "IDX_f0e95ec5e72b91f28fffac1201b",+ "indexWhereClause": null,+ "indexType": "BTREE",+ "isUnique": false,+ "isCustom": false,+ "indexFieldMetadataList": [+ {+ "__typename": "IndexField",+ "id": "2cdc73ee-7a84-4fb2-bd48-a72ea6ac0a5e",+ "fieldMetadataId": "37d2f96d-57a2-4a6e-b927-55ec410d38ed",+ "createdAt": "2026-04-10T08:55:56.618Z",+ "updatedAt": "2026-04-10T08:55:56.618Z",+ "order": 0+ }+ ]+ }+ ]+ }+ },+ {+ "__typename": "ObjectEdge",+ "node": {+ "__typename": "Object",+ "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",+ "universalIdentifier": "20202020-b374-4779-a561-80086cb2e17f",+ "nameSingular": "company",+ "namePlural": "companies",+ "isCustom": false,+ "isRemote": false,+ "isActive": true,+ "isSystem": false,+ "isUIReadOnly": false,+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z",+ "labelIdentifierFieldMetadataId": "50c85704-9c8e-4e30-8a86-dc6adb756999",+ "imageIdentifierFieldMetadataId": null,+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "shortcut": "C",+ "isLabelSyncedWithName": false,+ "isSearchable": true,+ "duplicateCriteria": [+ [+ "name"+ ],+ [+ "domainNamePrimaryLinkUrl"+ ]+ ],+ "labelSingular": "Company",+ "labelPlural": "Companies",+ "description": "A company",+ "icon": "IconBuildingSkyscraper",+ "fieldsList": [+ {+ "__typename": "Field",+ "id": "4c866912-8064-4fee-a080-6ba60b8e6bec",+ "universalIdentifier": "20202020-c05a-4061-8a61-1e2f3a4b5c6d",+ "type": "UUID",+ "name": "id",+ "label": "Id",+ "description": "Id",+ "icon": "Icon123","isCustom": false,"isActive": true,"isSystem": true,@@ -19030,11 +17074,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": {- "name": "'System'",- "source": "'MANUAL'",- "workspaceMemberId": null- },+ "defaultValue": "uuid","options": null,"settings": null,"isLabelSyncedWithName": false,@@ -19045,13 +17085,13 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "fe895a8c-b8ee-484f-a7b3-e4d4039be544",- "universalIdentifier": "7444022e-b38f-4d4f-801b-cd664abc4834",- "type": "ACTOR",- "name": "updatedBy",- "label": "Updated by",- "description": "The workspace member who last updated the record",- "icon": "IconUserCircle",+ "id": "dda89c2c-0e5f-4974-ae06-30b27026d076",+ "universalIdentifier": "20202020-c05b-4062-9b62-2f3a4b5c6d7e",+ "type": "DATE_TIME",+ "name": "createdAt",+ "label": "Creation date",+ "description": "Creation date",+ "icon": "IconCalendar","isCustom": false,"isActive": true,"isSystem": true,@@ -19060,13 +17100,11 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": {- "name": "'System'",- "source": "'MANUAL'",- "workspaceMemberId": null- },+ "defaultValue": "now","options": null,- "settings": null,+ "settings": {+ "displayFormat": "RELATIVE"+ },"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",@@ -19075,26 +17113,25 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "ff595f93-c38c-41f5-ba91-7f22a5c63e9d",- "universalIdentifier": "85c71601-72f9-4b7b-b343-d46100b2c74d",- "type": "TS_VECTOR",- "name": "searchVector",- "label": "Search vector",- "description": "Field used for full-text search",- "icon": "IconUser",+ "id": "42522feb-3410-4ac5-8034-1ac988e1f8b5",+ "universalIdentifier": "20202020-c05c-4063-8c63-3a4b5c6d7e8f",+ "type": "DATE_TIME",+ "name": "updatedAt",+ "label": "Last update",+ "description": "Last time the record was changed",+ "icon": "IconCalendarClock","isCustom": false,"isActive": true,"isSystem": true,- "isUIReadOnly": false,- "isNullable": true,+ "isUIReadOnly": true,+ "isNullable": false,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,+ "defaultValue": "now","options": null,"settings": {- "asExpression": "to_tsvector('simple', COALESCE(public.unaccent_immutable(\"name\"), '') || ' ' || COALESCE(public.unaccent_immutable(\"domainNamePrimaryLinkLabel\"), '') || ' ' || COALESCE(public.unaccent_immutable(\"domainNamePrimaryLinkUrl\"), '') || ' ' || COALESCE(public.unaccent_immutable(TRANSLATE(regexp_replace(\"domainNameSecondaryLinks\"::text, '\"(label|url)\"\\s*:\\s*', '', 'g'), '[]{}\",:', ' ')), ''))",- "generatedType": "STORED"+ "displayFormat": "RELATIVE"},"isLabelSyncedWithName": false,"morphId": null,@@ -19104,17 +17141,17 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "7bea72b6-41ff-4012-83fe-df7fd52e5ffc",- "universalIdentifier": "20202020-c1b5-4120-b0f0-987ca401ed53",- "type": "RELATION",- "name": "attachments",- "label": "Attachments",- "description": "Attachments linked to the company",- "icon": "IconFileImport",+ "id": "9583c7a8-5310-46ed-b33b-68681c487431",+ "universalIdentifier": "20202020-c05d-4064-9d64-4b5c6d7e8f9a",+ "type": "DATE_TIME",+ "name": "deletedAt",+ "label": "Deleted at",+ "description": "Date when the record was deleted",+ "icon": "IconCalendarMinus","isCustom": false,"isActive": true,- "isSystem": false,- "isUIReadOnly": false,+ "isSystem": true,+ "isUIReadOnly": true,"isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z",@@ -19122,48 +17159,23 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="defaultValue": null,"options": null,"settings": {- "relationType": "ONE_TO_MANY"+ "displayFormat": "RELATIVE"},"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": {- "__typename": "Relation",- "type": "ONE_TO_MANY",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",- "nameSingular": "company",- "namePlural": "companies"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "713c3680-8982-49e3-b7dc-8d6002ac13aa",- "nameSingular": "attachment",- "namePlural": "attachments"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "7bea72b6-41ff-4012-83fe-df7fd52e5ffc",- "name": "attachments"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "107f1410-5f59-489b-92b7-25ab6d3c7e48",- "name": "target"- }- },+ "relation": null,"morphRelations": null},{"__typename": "Field",- "id": "103aa848-6570-4f53-bda6-80a21e4ead37",- "universalIdentifier": "20202020-3213-4ddf-9494-6422bcff8d7c",- "type": "RELATION",- "name": "people",- "label": "People",- "description": "People linked to the company.",- "icon": "IconUsers",+ "id": "50c85704-9c8e-4e30-8a86-dc6adb756999",+ "universalIdentifier": "20202020-4d99-4e2e-a84c-4a27837b1ece",+ "type": "TEXT",+ "name": "name",+ "label": "Name",+ "description": "The company name",+ "icon": "IconBuildingSkyscraper","isCustom": false,"isActive": true,"isSystem": false,@@ -19174,210 +17186,102 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="updatedAt": "2026-04-10T08:55:56.200Z","defaultValue": null,"options": null,- "settings": {- "relationType": "ONE_TO_MANY"- },+ "settings": null,"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": {- "__typename": "Relation",- "type": "ONE_TO_MANY",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",- "nameSingular": "company",- "namePlural": "companies"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "2e0d7477-8143-4d8f-bc36-2b4f92cbd101",- "nameSingular": "person",- "namePlural": "people"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "103aa848-6570-4f53-bda6-80a21e4ead37",- "name": "people"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "289e5729-b5af-4371-8d6a-749c4418d10e",- "name": "company"- }- },+ "relation": null,"morphRelations": null},{"__typename": "Field",- "id": "3360fc0b-4b0b-4bea-af03-4806838e6135",- "universalIdentifier": "20202020-95b8-4e10-9881-edb5d4765f9d",- "type": "RELATION",- "name": "accountOwner",- "label": "Account Owner",- "description": "Your team member responsible for managing the company account",- "icon": "IconUserCircle",+ "id": "be9fd5e1-ca36-4b91-ba14-22a5ab409e92",+ "universalIdentifier": "20202020-0c28-43d8-8ba5-3659924d3489",+ "type": "LINKS",+ "name": "domainName",+ "label": "Domain Name",+ "description": "The company website URL. We use this url to fetch the company icon",+ "icon": "IconLink","isCustom": false,"isActive": true,"isSystem": false,"isUIReadOnly": false,"isNullable": true,- "isUnique": false,+ "isUnique": true,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z","defaultValue": null,"options": null,"settings": {- "onDelete": "SET_NULL",- "relationType": "MANY_TO_ONE",- "joinColumnName": "accountOwnerId"+ "maxNumberOfValues": 1},"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": {- "__typename": "Relation",- "type": "MANY_TO_ONE",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",- "nameSingular": "company",- "namePlural": "companies"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "5fd99bf8-8a88-4bed-aa6c-8ff34e43b0d0",- "nameSingular": "workspaceMember",- "namePlural": "workspaceMembers"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "3360fc0b-4b0b-4bea-af03-4806838e6135",- "name": "accountOwner"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "f51fc0a0-1367-41e2-9b4c-6c5adb4117d3",- "name": "accountOwnerForCompanies"- }- },+ "relation": null,"morphRelations": null},{"__typename": "Field",- "id": "ef490149-f4f3-437e-a40a-7b1528b6b09a",- "universalIdentifier": "20202020-cb17-4a61-8f8f-3be6730480de",- "type": "RELATION",- "name": "taskTargets",- "label": "Tasks",- "description": "Tasks tied to the company",- "icon": "IconCheckbox",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": {- "relationType": "ONE_TO_MANY"- },- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": {- "__typename": "Relation",- "type": "ONE_TO_MANY",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",- "nameSingular": "company",- "namePlural": "companies"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",- "nameSingular": "taskTarget",- "namePlural": "taskTargets"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "ef490149-f4f3-437e-a40a-7b1528b6b09a",- "name": "taskTargets"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "02f05d27-8a15-4035-8bb3-8b6c7ee7b959",- "name": "target"- }- },+ "id": "e99bcd0c-7523-4c18-b8cf-7d8aaba32b34",+ "universalIdentifier": "20202020-c5ce-4adc-b7b6-9c0979fc55e7",+ "type": "ADDRESS",+ "name": "address",+ "label": "Address",+ "description": "Address of the company",+ "icon": "IconMap",+ "isCustom": false,+ "isActive": true,+ "isSystem": false,+ "isUIReadOnly": false,+ "isNullable": true,+ "isUnique": false,+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z",+ "defaultValue": null,+ "options": null,+ "settings": null,+ "isLabelSyncedWithName": false,+ "morphId": null,+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "relation": null,"morphRelations": null},{"__typename": "Field",- "id": "e34f74fc-3019-4c01-a23d-a9312444a7aa",- "universalIdentifier": "20202020-bae0-4556-a74a-a9c686f77a88",- "type": "RELATION",- "name": "noteTargets",- "label": "Notes",- "description": "Notes tied to the company",- "icon": "IconNotes",+ "id": "ca4b3167-af54-47a8-a34b-928a27c1e7dc",+ "universalIdentifier": "20202020-8965-464a-8a75-74bafc152a0b",+ "type": "NUMBER",+ "name": "employees",+ "label": "Employees",+ "description": "Number of employees in the company",+ "icon": "IconUsers","isCustom": false,"isActive": true,"isSystem": false,- "isUIReadOnly": true,+ "isUIReadOnly": false,"isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z","defaultValue": null,"options": null,- "settings": {- "relationType": "ONE_TO_MANY"- },+ "settings": null,"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": {- "__typename": "Relation",- "type": "ONE_TO_MANY",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",- "nameSingular": "company",- "namePlural": "companies"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "89c57180-083a-47b6-bfb7-ec51b3a87eae",- "nameSingular": "noteTarget",- "namePlural": "noteTargets"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "e34f74fc-3019-4c01-a23d-a9312444a7aa",- "name": "noteTargets"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "0199b767-c816-43e5-ba5a-4bb7d4c25d23",- "name": "target"- }- },+ "relation": null,"morphRelations": null},{"__typename": "Field",- "id": "d66f35e6-99c1-4dbc-9325-129172005bb9",- "universalIdentifier": "20202020-add3-4658-8e23-d70dccb6d0ec",- "type": "RELATION",- "name": "opportunities",- "label": "Opportunities",- "description": "Opportunities linked to the company.",- "icon": "IconTargetArrow",+ "id": "6b924609-14c9-42ea-84c4-4168d7e0d7ea",+ "universalIdentifier": "20202020-ebeb-4beb-b9ad-6848036fb451",+ "type": "LINKS",+ "name": "linkedinLink",+ "label": "Linkedin",+ "description": "The company Linkedin account",+ "icon": "IconBrandLinkedin","isCustom": false,"isActive": true,"isSystem": false,@@ -19388,49 +17292,22 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="updatedAt": "2026-04-10T08:55:56.200Z","defaultValue": null,"options": null,- "settings": {- "relationType": "ONE_TO_MANY"- },+ "settings": null,"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": {- "__typename": "Relation",- "type": "ONE_TO_MANY",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",- "nameSingular": "company",- "namePlural": "companies"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "d493b617-19c8-4cbb-a50f-c084e4b9f276",- "nameSingular": "opportunity",- "namePlural": "opportunities"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "d66f35e6-99c1-4dbc-9325-129172005bb9",- "name": "opportunities"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "4cafe09c-e246-4de8-a4f3-8c60e1186395",- "name": "company"- }- },+ "relation": null,"morphRelations": null},{"__typename": "Field",- "id": "3b6d99ee-d1f8-4011-b05e-9da8f1d21fe8",- "universalIdentifier": "20202020-0414-4daf-9c0d-64fe7b27f89f",- "type": "RELATION",- "name": "timelineActivities",- "label": "Timeline Activities",- "description": "Timeline Activities linked to the company",- "icon": "IconIconTimelineEvent",+ "id": "264e784a-18b6-42e0-8523-1d87dec24944",+ "universalIdentifier": "20202020-6f64-4fd9-9580-9c1991c7d8c3",+ "type": "LINKS",+ "name": "xLink",+ "label": "X",+ "description": "The company Twitter/X account",+ "icon": "IconBrandX","isCustom": false,"isActive": true,"isSystem": false,@@ -19441,246 +17318,205 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="updatedAt": "2026-04-10T08:55:56.200Z","defaultValue": null,"options": null,- "settings": {- "relationType": "ONE_TO_MANY"- },+ "settings": null,"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": {- "__typename": "Relation",- "type": "ONE_TO_MANY",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",- "nameSingular": "company",- "namePlural": "companies"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "bcdaa361-9ee6-4c8e-81c2-711fd330e5b2",- "nameSingular": "timelineActivity",- "namePlural": "timelineActivities"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "3b6d99ee-d1f8-4011-b05e-9da8f1d21fe8",- "name": "timelineActivities"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "0419db16-5fd4-4306-bd1d-ea0b1dde5349",- "name": "target"- }- },+ "relation": null,"morphRelations": null},{"__typename": "Field",- "id": "154ed8fa-7da2-4165-9a64-1d2e1552e8cb",- "universalIdentifier": "f1e718fb-b4b2-43cf-acae-28ef1fd00a58",- "type": "TEXT",- "name": "tagline",- "label": "Tagline",- "description": "Company's Tagline",- "icon": "IconAdCircle",- "isCustom": true,+ "id": "046a62d6-3b87-4d76-bebb-782a2dfac082",+ "universalIdentifier": "20202020-602a-495c-9776-f5d5b11d227b",+ "type": "CURRENCY",+ "name": "annualRecurringRevenue",+ "label": "ARR",+ "description": "Annual Recurring Revenue: The actual or estimated annual revenue of the company",+ "icon": "IconMoneybag",+ "isCustom": false,"isActive": true,"isSystem": false,"isUIReadOnly": false,- "isNullable": false,+ "isNullable": true,"isUnique": false,- "createdAt": "2026-04-10T08:55:59.536Z",- "updatedAt": "2026-04-10T08:55:59.536Z",- "defaultValue": "''",+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z",+ "defaultValue": null,"options": null,"settings": null,"isLabelSyncedWithName": false,"morphId": null,- "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18",+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec","relation": null,"morphRelations": null},{"__typename": "Field",- "id": "13aeddd2-b8bb-4e4b-b804-656c24b77447",- "universalIdentifier": "254654fa-c5b8-40f7-a56e-af5f0b6db457",- "type": "LINKS",- "name": "introVideo",- "label": "Intro Video",- "description": "Company's Intro Video",- "icon": "IconVideo",- "isCustom": true,+ "id": "33f8b7b4-948e-4743-91d7-02f960c3c036",+ "universalIdentifier": "20202020-ba6b-438a-8213-2c5ba28d76a2",+ "type": "BOOLEAN",+ "name": "idealCustomerProfile",+ "label": "ICP",+ "description": "Ideal Customer Profile: Indicates whether the company is the most suitable and valuable customer for you",+ "icon": "IconTarget",+ "isCustom": false,"isActive": true,"isSystem": false,"isUIReadOnly": false,- "isNullable": true,+ "isNullable": false,"isUnique": false,- "createdAt": "2026-04-10T08:55:59.536Z",- "updatedAt": "2026-04-10T08:55:59.536Z",- "defaultValue": null,+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z",+ "defaultValue": false,"options": null,"settings": null,"isLabelSyncedWithName": false,"morphId": null,- "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18",+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec","relation": null,"morphRelations": null},{"__typename": "Field",- "id": "f543d243-636a-42cc-98a8-2cbd01edae55",- "universalIdentifier": "c283cd75-90d9-4c77-a25d-ce2c5237d8b1",- "type": "MULTI_SELECT",- "name": "workPolicy",- "label": "Work Policy",- "description": "Company's Work Policy",- "icon": "IconHome",- "isCustom": true,+ "id": "767af3fb-d01f-4259-b035-8fbc93d7d7c7",+ "universalIdentifier": "20202020-9b4e-462b-991d-a0ee33326454",+ "type": "POSITION",+ "name": "position",+ "label": "Position",+ "description": "Company record position",+ "icon": "IconHierarchy2",+ "isCustom": false,"isActive": true,- "isSystem": false,+ "isSystem": true,"isUIReadOnly": false,- "isNullable": true,+ "isNullable": false,"isUnique": false,- "createdAt": "2026-04-10T08:55:59.536Z",- "updatedAt": "2026-04-10T08:55:59.536Z",- "defaultValue": null,- "options": [- {- "id": "0e79c0e9-ccef-4400-82a9-e4ade615acc1",- "color": "green",- "label": "On-Site",- "value": "ON_SITE",- "position": 0- },- {- "id": "78934026-d067-4bbc-a4fb-740dedf3ff73",- "color": "turquoise",- "label": "Hybrid",- "value": "HYBRID",- "position": 1- },- {- "id": "c2da6e28-58d0-4e05-a130-1fc2a7b9347f",- "color": "sky",- "label": "Remote Work",- "value": "REMOTE_WORK",- "position": 2- }- ],+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z",+ "defaultValue": 0,+ "options": null,"settings": null,"isLabelSyncedWithName": false,"morphId": null,- "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18",+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec","relation": null,"morphRelations": null},{"__typename": "Field",- "id": "2e784704-8f15-4552-b1c4-29de0a16bdd5",- "universalIdentifier": "3ff66bcf-bbc7-437d-a318-fe0b3532b721",- "type": "BOOLEAN",- "name": "visaSponsorship",- "label": "Visa Sponsorship",- "description": "Company's Visa Sponsorship Policy",- "icon": "IconBrandVisa",- "isCustom": true,+ "id": "4dd7cdf7-d750-499b-97d6-7867f3e78522",+ "universalIdentifier": "20202020-fabc-451d-ab7d-412170916baa",+ "type": "ACTOR",+ "name": "createdBy",+ "label": "Created by",+ "description": "The creator of the record",+ "icon": "IconCreativeCommonsSa",+ "isCustom": false,"isActive": true,- "isSystem": false,- "isUIReadOnly": false,- "isNullable": true,+ "isSystem": true,+ "isUIReadOnly": true,+ "isNullable": false,"isUnique": false,- "createdAt": "2026-04-10T08:55:59.536Z",- "updatedAt": "2026-04-10T08:55:59.536Z",- "defaultValue": false,+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z",+ "defaultValue": {+ "name": "'System'",+ "source": "'MANUAL'",+ "workspaceMemberId": null+ },"options": null,"settings": null,"isLabelSyncedWithName": false,"morphId": null,- "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18",+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec","relation": null,"morphRelations": null},{"__typename": "Field",- "id": "3bb24d6a-49d5-4a21-bfff-670fc8b930b5",- "universalIdentifier": "47729d7b-df63-46e2-a14e-3e3f31214be0",- "type": "RELATION",- "name": "caredForPets",- "label": "Cared For Pets",- "description": "Companies Pet Care Agreement",- "icon": "IconPaw",- "isCustom": true,+ "id": "fe895a8c-b8ee-484f-a7b3-e4d4039be544",+ "universalIdentifier": "7444022e-b38f-4d4f-801b-cd664abc4834",+ "type": "ACTOR",+ "name": "updatedBy",+ "label": "Updated by",+ "description": "The workspace member who last updated the record",+ "icon": "IconUserCircle",+ "isCustom": false,"isActive": true,- "isSystem": false,+ "isSystem": true,+ "isUIReadOnly": true,+ "isNullable": false,+ "isUnique": false,+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z",+ "defaultValue": {+ "name": "'System'",+ "source": "'MANUAL'",+ "workspaceMemberId": null+ },+ "options": null,+ "settings": null,+ "isLabelSyncedWithName": false,+ "morphId": null,+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "relation": null,+ "morphRelations": null+ },+ {+ "__typename": "Field",+ "id": "ff595f93-c38c-41f5-ba91-7f22a5c63e9d",+ "universalIdentifier": "85c71601-72f9-4b7b-b343-d46100b2c74d",+ "type": "TS_VECTOR",+ "name": "searchVector",+ "label": "Search vector",+ "description": "Field used for full-text search",+ "icon": "IconUser",+ "isCustom": false,+ "isActive": true,+ "isSystem": true,"isUIReadOnly": false,"isNullable": true,"isUnique": false,- "createdAt": "2026-04-10T08:56:00.629Z",- "updatedAt": "2026-04-10T08:56:01.638Z",+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z","defaultValue": null,"options": null,"settings": {- "relationType": "ONE_TO_MANY",- "junctionTargetFieldId": "f03b2e27-dd99-4eeb-9944-e3917244dfb5"+ "asExpression": "to_tsvector('simple', COALESCE(public.unaccent_immutable(\"name\"), '') || ' ' || COALESCE(public.unaccent_immutable(\"domainNamePrimaryLinkLabel\"), '') || ' ' || COALESCE(public.unaccent_immutable(\"domainNamePrimaryLinkUrl\"), '') || ' ' || COALESCE(public.unaccent_immutable(TRANSLATE(regexp_replace(\"domainNameSecondaryLinks\"::text, '\"(label|url)\"\\s*:\\s*', '', 'g'), '[]{}\",:', ' ')), ''))",+ "generatedType": "STORED"},"isLabelSyncedWithName": false,"morphId": null,- "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18",- "relation": {- "__typename": "Relation",- "type": "ONE_TO_MANY",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",- "nameSingular": "company",- "namePlural": "companies"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "4397cb61-4bcc-49f8-b024-739b74ed9928",- "nameSingular": "petCareAgreement",- "namePlural": "petCareAgreements"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "3bb24d6a-49d5-4a21-bfff-670fc8b930b5",- "name": "caredForPets"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "1b14d9b3-383c-41dc-afbd-8baf2a759c5b",- "name": "caretaker"- }- },+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "relation": null,"morphRelations": null},{"__typename": "Field",- "id": "517382cf-5b85-466f-99ed-488f09d13ae9",- "universalIdentifier": "4d13bfbb-ac77-45f9-a60f-f4f4493c746c",+ "id": "7bea72b6-41ff-4012-83fe-df7fd52e5ffc",+ "universalIdentifier": "20202020-c1b5-4120-b0f0-987ca401ed53","type": "RELATION",- "name": "previousEmployees",- "label": "Previous Employees",- "description": "Companies tied to the Employment History",- "icon": "IconUser",- "isCustom": true,+ "name": "attachments",+ "label": "Attachments",+ "description": "Attachments linked to the company",+ "icon": "IconFileImport",+ "isCustom": false,"isActive": true,"isSystem": false,"isUIReadOnly": false,"isNullable": true,"isUnique": false,- "createdAt": "2026-04-10T08:56:00.933Z",- "updatedAt": "2026-04-10T08:56:01.405Z",+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z","defaultValue": null,"options": null,"settings": {- "relationType": "ONE_TO_MANY",- "junctionTargetFieldId": "2b1d0803-6079-4337-ba07-03660a4f72ad"+ "relationType": "ONE_TO_MANY"},"isLabelSyncedWithName": false,"morphId": null,- "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18",+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec","relation": {"__typename": "Relation","type": "ONE_TO_MANY",@@ -19692,212 +17528,196 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},"targetObjectMetadata": {"__typename": "Object",- "id": "057951b6-46e0-4ae9-956a-b3b72f2cf800",- "nameSingular": "employmentHistory",- "namePlural": "employmentHistories"+ "id": "713c3680-8982-49e3-b7dc-8d6002ac13aa",+ "nameSingular": "attachment",+ "namePlural": "attachments"},"sourceFieldMetadata": {"__typename": "Field",- "id": "517382cf-5b85-466f-99ed-488f09d13ae9",- "name": "previousEmployees"+ "id": "7bea72b6-41ff-4012-83fe-df7fd52e5ffc",+ "name": "attachments"},"targetFieldMetadata": {"__typename": "Field",- "id": "3884e8c9-4f36-4870-952d-f5c173b9f894",- "name": "company"- }- },- "morphRelations": null- }- ],- "indexMetadataList": [- {- "__typename": "Index",- "id": "0ed713a8-22d5-49d8-915c-c9f4c52069b1",- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "name": "IDX_f719a95179070eac397ba18dc70",- "indexWhereClause": null,- "indexType": "BTREE",- "isUnique": false,- "isCustom": false,- "indexFieldMetadataList": [- {- "__typename": "IndexField",- "id": "c8b8ddb5-1643-475d-bb95-d4e48e4ee431",- "fieldMetadataId": "3360fc0b-4b0b-4bea-af03-4806838e6135",- "createdAt": "2026-04-10T08:55:56.595Z",- "updatedAt": "2026-04-10T08:55:56.595Z",- "order": 0- }- ]- },- {- "__typename": "Index",- "id": "73a4db25-8258-4e91-9991-39e5e00f0022",- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "name": "IDX_UNIQUE_2a32339058d0b6910b0834ddf81",- "indexWhereClause": null,- "indexType": "BTREE",- "isUnique": true,- "isCustom": false,- "indexFieldMetadataList": [- {- "__typename": "IndexField",- "id": "3dda1cd5-675e-473f-9804-c6849ccb9e4f",- "fieldMetadataId": "be9fd5e1-ca36-4b91-ba14-22a5ab409e92",- "createdAt": "2026-04-10T08:55:56.596Z",- "updatedAt": "2026-04-10T08:55:56.596Z",- "order": 0- }- ]- },- {- "__typename": "Index",- "id": "2aee2e70-66d1-4de1-a076-cb7b30bb6bb4",- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "name": "IDX_fb1f4905546cfc6d70a971c76f7",- "indexWhereClause": null,- "indexType": "GIN",- "isUnique": false,- "isCustom": false,- "indexFieldMetadataList": [- {- "__typename": "IndexField",- "id": "04c9f18b-055d-4d1e-813d-5f3259949a8f",- "fieldMetadataId": "ff595f93-c38c-41f5-ba91-7f22a5c63e9d",- "createdAt": "2026-04-10T08:55:56.597Z",- "updatedAt": "2026-04-10T08:55:56.597Z",- "order": 0- }- ]- }- ]- }- },- {- "__typename": "ObjectEdge",- "node": {- "__typename": "Object",- "id": "254e79a9-80e6-4841-b22c-2d67b04d97d6",- "universalIdentifier": "20202020-0b00-45cd-b6f6-6cd806fc6804",- "nameSingular": "note",- "namePlural": "notes",- "isCustom": false,- "isRemote": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "labelIdentifierFieldMetadataId": "a5f99b30-3b36-4fbb-935c-bcdf28183247",- "imageIdentifierFieldMetadataId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "shortcut": "N",- "isLabelSyncedWithName": false,- "isSearchable": true,- "duplicateCriteria": null,- "labelSingular": "Note",- "labelPlural": "Notes",- "description": "A note",- "icon": "IconNotes",- "fieldsList": [+ "id": "107f1410-5f59-489b-92b7-25ab6d3c7e48",+ "name": "target"+ }+ },+ "morphRelations": null+ },{"__typename": "Field",- "id": "fec8dfab-5738-4ed1-a160-e834abd33fab",- "universalIdentifier": "20202020-c01a-4111-8a11-dfabcddeef12",- "type": "UUID",- "name": "id",- "label": "Id",- "description": "Id",- "icon": "Icon123",+ "id": "103aa848-6570-4f53-bda6-80a21e4ead37",+ "universalIdentifier": "20202020-3213-4ddf-9494-6422bcff8d7c",+ "type": "RELATION",+ "name": "people",+ "label": "People",+ "description": "People linked to the company.",+ "icon": "IconUsers","isCustom": false,"isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": false,+ "isSystem": false,+ "isUIReadOnly": false,+ "isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": "uuid",+ "defaultValue": null,"options": null,- "settings": null,+ "settings": {+ "relationType": "ONE_TO_MANY"+ },"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,+ "relation": {+ "__typename": "Relation",+ "type": "ONE_TO_MANY",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",+ "nameSingular": "company",+ "namePlural": "companies"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "2e0d7477-8143-4d8f-bc36-2b4f92cbd101",+ "nameSingular": "person",+ "namePlural": "people"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "103aa848-6570-4f53-bda6-80a21e4ead37",+ "name": "people"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "289e5729-b5af-4371-8d6a-749c4418d10e",+ "name": "company"+ }+ },"morphRelations": null},{"__typename": "Field",- "id": "216e70d0-3b8c-43e7-bc25-7ff85da6399f",- "universalIdentifier": "20202020-c01b-4112-9b12-fabcddefe123",- "type": "DATE_TIME",- "name": "createdAt",- "label": "Creation date",- "description": "Creation date",- "icon": "IconCalendar",+ "id": "3360fc0b-4b0b-4bea-af03-4806838e6135",+ "universalIdentifier": "20202020-95b8-4e10-9881-edb5d4765f9d",+ "type": "RELATION",+ "name": "accountOwner",+ "label": "Account Owner",+ "description": "Your team member responsible for managing the company account",+ "icon": "IconUserCircle","isCustom": false,"isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": false,+ "isSystem": false,+ "isUIReadOnly": false,+ "isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": "now",+ "defaultValue": null,"options": null,"settings": {- "displayFormat": "RELATIVE"+ "onDelete": "SET_NULL",+ "relationType": "MANY_TO_ONE",+ "joinColumnName": "accountOwnerId"},"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,+ "relation": {+ "__typename": "Relation",+ "type": "MANY_TO_ONE",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",+ "nameSingular": "company",+ "namePlural": "companies"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "5fd99bf8-8a88-4bed-aa6c-8ff34e43b0d0",+ "nameSingular": "workspaceMember",+ "namePlural": "workspaceMembers"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "3360fc0b-4b0b-4bea-af03-4806838e6135",+ "name": "accountOwner"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "f51fc0a0-1367-41e2-9b4c-6c5adb4117d3",+ "name": "accountOwnerForCompanies"+ }+ },"morphRelations": null},{"__typename": "Field",- "id": "74d5bd3c-35bb-4552-b23f-5d4d59e8aefe",- "universalIdentifier": "20202020-c01c-4113-8c13-abcddeef1234",- "type": "DATE_TIME",- "name": "updatedAt",- "label": "Last update",- "description": "Last time the record was changed",- "icon": "IconCalendarClock",+ "id": "ef490149-f4f3-437e-a40a-7b1528b6b09a",+ "universalIdentifier": "20202020-cb17-4a61-8f8f-3be6730480de",+ "type": "RELATION",+ "name": "taskTargets",+ "label": "Tasks",+ "description": "Tasks tied to the company",+ "icon": "IconCheckbox","isCustom": false,"isActive": true,- "isSystem": true,+ "isSystem": false,"isUIReadOnly": true,- "isNullable": false,+ "isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": "now",+ "defaultValue": null,"options": null,"settings": {- "displayFormat": "RELATIVE"+ "relationType": "ONE_TO_MANY"},"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,+ "relation": {+ "__typename": "Relation",+ "type": "ONE_TO_MANY",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",+ "nameSingular": "company",+ "namePlural": "companies"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "2dfdc710-c2c7-4453-b4cc-c7bed9b49fb3",+ "nameSingular": "taskTarget",+ "namePlural": "taskTargets"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "ef490149-f4f3-437e-a40a-7b1528b6b09a",+ "name": "taskTargets"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "02f05d27-8a15-4035-8bb3-8b6c7ee7b959",+ "name": "target"+ }+ },"morphRelations": null},{"__typename": "Field",- "id": "944831f6-e31b-40ad-a934-7789ecb667f6",- "universalIdentifier": "20202020-c01d-4114-9d14-bcddeef12345",- "type": "DATE_TIME",- "name": "deletedAt",- "label": "Deleted at",- "description": "Date when the record was deleted",- "icon": "IconCalendarMinus",+ "id": "e34f74fc-3019-4c01-a23d-a9312444a7aa",+ "universalIdentifier": "20202020-bae0-4556-a74a-a9c686f77a88",+ "type": "RELATION",+ "name": "noteTargets",+ "label": "Notes",+ "description": "Notes tied to the company",+ "icon": "IconNotes","isCustom": false,"isActive": true,- "isSystem": true,+ "isSystem": false,"isUIReadOnly": true,"isNullable": true,"isUnique": false,@@ -19906,49 +17726,101 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="defaultValue": null,"options": null,"settings": {- "displayFormat": "RELATIVE"+ "relationType": "ONE_TO_MANY"},"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,+ "relation": {+ "__typename": "Relation",+ "type": "ONE_TO_MANY",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",+ "nameSingular": "company",+ "namePlural": "companies"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "89c57180-083a-47b6-bfb7-ec51b3a87eae",+ "nameSingular": "noteTarget",+ "namePlural": "noteTargets"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "e34f74fc-3019-4c01-a23d-a9312444a7aa",+ "name": "noteTargets"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "0199b767-c816-43e5-ba5a-4bb7d4c25d23",+ "name": "target"+ }+ },"morphRelations": null},{"__typename": "Field",- "id": "a9d7a58e-6d33-4a74-962b-deb94fc9167c",- "universalIdentifier": "20202020-368d-4dc2-943f-ed8a49c7fdfb",- "type": "POSITION",- "name": "position",- "label": "Position",- "description": "Note record position",- "icon": "IconHierarchy2",+ "id": "d66f35e6-99c1-4dbc-9325-129172005bb9",+ "universalIdentifier": "20202020-add3-4658-8e23-d70dccb6d0ec",+ "type": "RELATION",+ "name": "opportunities",+ "label": "Opportunities",+ "description": "Opportunities linked to the company.",+ "icon": "IconTargetArrow","isCustom": false,"isActive": true,- "isSystem": true,+ "isSystem": false,"isUIReadOnly": false,- "isNullable": false,+ "isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": 0,+ "defaultValue": null,"options": null,- "settings": null,+ "settings": {+ "relationType": "ONE_TO_MANY"+ },"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,+ "relation": {+ "__typename": "Relation",+ "type": "ONE_TO_MANY",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",+ "nameSingular": "company",+ "namePlural": "companies"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "d493b617-19c8-4cbb-a50f-c084e4b9f276",+ "nameSingular": "opportunity",+ "namePlural": "opportunities"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "d66f35e6-99c1-4dbc-9325-129172005bb9",+ "name": "opportunities"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "4cafe09c-e246-4de8-a4f3-8c60e1186395",+ "name": "company"+ }+ },"morphRelations": null},{"__typename": "Field",- "id": "a5f99b30-3b36-4fbb-935c-bcdf28183247",- "universalIdentifier": "20202020-faeb-4c76-8ba6-ccbb0b4a965f",- "type": "TEXT",- "name": "title",- "label": "Title",- "description": "Note title",- "icon": "IconNotes",+ "id": "3b6d99ee-d1f8-4011-b05e-9da8f1d21fe8",+ "universalIdentifier": "20202020-0414-4daf-9c0d-64fe7b27f89f",+ "type": "RELATION",+ "name": "timelineActivities",+ "label": "Timeline Activities",+ "description": "Timeline Activities linked to the company",+ "icon": "IconIconTimelineEvent","isCustom": false,"isActive": true,"isSystem": false,@@ -19959,283 +17831,270 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="updatedAt": "2026-04-10T08:55:56.200Z","defaultValue": null,"options": null,- "settings": null,+ "settings": {+ "relationType": "ONE_TO_MANY"+ },"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,+ "relation": {+ "__typename": "Relation",+ "type": "ONE_TO_MANY",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",+ "nameSingular": "company",+ "namePlural": "companies"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "bcdaa361-9ee6-4c8e-81c2-711fd330e5b2",+ "nameSingular": "timelineActivity",+ "namePlural": "timelineActivities"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "3b6d99ee-d1f8-4011-b05e-9da8f1d21fe8",+ "name": "timelineActivities"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "0419db16-5fd4-4306-bd1d-ea0b1dde5349",+ "name": "target"+ }+ },"morphRelations": null},{"__typename": "Field",- "id": "37141cc3-71e1-436f-9ae9-9375282aad2d",- "universalIdentifier": "20202020-a7bb-4d94-be51-8f25181502c8",- "type": "RICH_TEXT",- "name": "bodyV2",- "label": "Body",- "description": "Note body",- "icon": "IconFilePencil",- "isCustom": false,+ "id": "154ed8fa-7da2-4165-9a64-1d2e1552e8cb",+ "universalIdentifier": "f1e718fb-b4b2-43cf-acae-28ef1fd00a58",+ "type": "TEXT",+ "name": "tagline",+ "label": "Tagline",+ "description": "Company's Tagline",+ "icon": "IconAdCircle",+ "isCustom": true,"isActive": true,"isSystem": false,"isUIReadOnly": false,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "b57052bd-8f64-4b50-86cb-2426e5122b51",- "universalIdentifier": "20202020-0d79-4e21-ab77-5a394eff97be",- "type": "ACTOR",- "name": "createdBy",- "label": "Created by",- "description": "The creator of the record",- "icon": "IconCreativeCommonsSa",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,"isNullable": false,"isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": {- "name": "'System'",- "source": "'MANUAL'",- "workspaceMemberId": null- },+ "createdAt": "2026-04-10T08:55:59.536Z",+ "updatedAt": "2026-04-10T08:55:59.536Z",+ "defaultValue": "''","options": null,"settings": null,"isLabelSyncedWithName": false,"morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18","relation": null,"morphRelations": null},{"__typename": "Field",- "id": "f7d578d2-62d4-4b51-890f-5a634c949761",- "universalIdentifier": "9b446e89-2484-4044-a3b5-420f6b578c0c",- "type": "ACTOR",- "name": "updatedBy",- "label": "Updated by",- "description": "The workspace member who last updated the record",- "icon": "IconUserCircle",- "isCustom": false,+ "id": "13aeddd2-b8bb-4e4b-b804-656c24b77447",+ "universalIdentifier": "254654fa-c5b8-40f7-a56e-af5f0b6db457",+ "type": "LINKS",+ "name": "introVideo",+ "label": "Intro Video",+ "description": "Company's Intro Video",+ "icon": "IconVideo",+ "isCustom": true,"isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": false,+ "isSystem": false,+ "isUIReadOnly": false,+ "isNullable": true,"isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": {- "name": "'System'",- "source": "'MANUAL'",- "workspaceMemberId": null- },+ "createdAt": "2026-04-10T08:55:59.536Z",+ "updatedAt": "2026-04-10T08:55:59.536Z",+ "defaultValue": null,"options": null,"settings": null,"isLabelSyncedWithName": false,"morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18","relation": null,"morphRelations": null},{"__typename": "Field",- "id": "0200238f-39ae-4612-9550-beabdb9605c6",- "universalIdentifier": "20202020-7ea8-44d4-9d4c-51dd2a757950",- "type": "TS_VECTOR",- "name": "searchVector",- "label": "Search vector",- "description": "Field used for full-text search",- "icon": "IconUser",- "isCustom": false,+ "id": "f543d243-636a-42cc-98a8-2cbd01edae55",+ "universalIdentifier": "c283cd75-90d9-4c77-a25d-ce2c5237d8b1",+ "type": "MULTI_SELECT",+ "name": "workPolicy",+ "label": "Work Policy",+ "description": "Company's Work Policy",+ "icon": "IconHome",+ "isCustom": true,"isActive": true,- "isSystem": true,+ "isSystem": false,"isUIReadOnly": false,"isNullable": true,"isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",+ "createdAt": "2026-04-10T08:55:59.536Z",+ "updatedAt": "2026-04-10T08:55:59.536Z","defaultValue": null,- "options": null,- "settings": {- "asExpression": "to_tsvector('simple', COALESCE(public.unaccent_immutable(\"title\"), '') || ' ' || COALESCE(public.unaccent_immutable(\"bodyV2Markdown\"), ''))",- "generatedType": "STORED"- },+ "options": [+ {+ "id": "0e79c0e9-ccef-4400-82a9-e4ade615acc1",+ "color": "green",+ "label": "On-Site",+ "value": "ON_SITE",+ "position": 0+ },+ {+ "id": "78934026-d067-4bbc-a4fb-740dedf3ff73",+ "color": "turquoise",+ "label": "Hybrid",+ "value": "HYBRID",+ "position": 1+ },+ {+ "id": "c2da6e28-58d0-4e05-a130-1fc2a7b9347f",+ "color": "sky",+ "label": "Remote Work",+ "value": "REMOTE_WORK",+ "position": 2+ }+ ],+ "settings": null,"isLabelSyncedWithName": false,"morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18","relation": null,"morphRelations": null},{"__typename": "Field",- "id": "471b32ff-a033-4085-95c3-ef240b47f00e",- "universalIdentifier": "20202020-4986-4c92-bf19-39934b149b16",- "type": "RELATION",- "name": "attachments",- "label": "Attachments",- "description": "Note attachments",- "icon": "IconFileImport",- "isCustom": false,+ "id": "2e784704-8f15-4552-b1c4-29de0a16bdd5",+ "universalIdentifier": "3ff66bcf-bbc7-437d-a318-fe0b3532b721",+ "type": "BOOLEAN",+ "name": "visaSponsorship",+ "label": "Visa Sponsorship",+ "description": "Company's Visa Sponsorship Policy",+ "icon": "IconBrandVisa",+ "isCustom": true,"isActive": true,"isSystem": false,"isUIReadOnly": false,"isNullable": true,"isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,+ "createdAt": "2026-04-10T08:55:59.536Z",+ "updatedAt": "2026-04-10T08:55:59.536Z",+ "defaultValue": false,"options": null,- "settings": {- "relationType": "ONE_TO_MANY"- },+ "settings": null,"isLabelSyncedWithName": false,"morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": {- "__typename": "Relation",- "type": "ONE_TO_MANY",- "sourceObjectMetadata": {- "__typename": "Object",- "id": "254e79a9-80e6-4841-b22c-2d67b04d97d6",- "nameSingular": "note",- "namePlural": "notes"- },- "targetObjectMetadata": {- "__typename": "Object",- "id": "713c3680-8982-49e3-b7dc-8d6002ac13aa",- "nameSingular": "attachment",- "namePlural": "attachments"- },- "sourceFieldMetadata": {- "__typename": "Field",- "id": "471b32ff-a033-4085-95c3-ef240b47f00e",- "name": "attachments"- },- "targetFieldMetadata": {- "__typename": "Field",- "id": "107f1410-5f59-489b-92b7-25ab6d3c7e48",- "name": "target"- }- },+ "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18",+ "relation": null,"morphRelations": null},{"__typename": "Field",- "id": "479ffe1d-18e3-4a7d-a5b5-933a85d631c9",- "universalIdentifier": "20202020-1f25-43fe-8b00-af212fdde823",+ "id": "3bb24d6a-49d5-4a21-bfff-670fc8b930b5",+ "universalIdentifier": "47729d7b-df63-46e2-a14e-3e3f31214be0","type": "RELATION",- "name": "noteTargets",- "label": "Relations",- "description": "Note targets",- "icon": "IconArrowUpRight",- "isCustom": false,+ "name": "caredForPets",+ "label": "Cared For Pets",+ "description": "Companies Pet Care Agreement",+ "icon": "IconPaw",+ "isCustom": true,"isActive": true,"isSystem": false,"isUIReadOnly": false,"isNullable": true,"isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",+ "createdAt": "2026-04-10T08:56:00.629Z",+ "updatedAt": "2026-04-10T08:56:01.638Z","defaultValue": null,"options": null,"settings": {- "relationType": "ONE_TO_MANY"+ "relationType": "ONE_TO_MANY",+ "junctionTargetFieldId": "f03b2e27-dd99-4eeb-9944-e3917244dfb5"},"isLabelSyncedWithName": false,"morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18","relation": {"__typename": "Relation","type": "ONE_TO_MANY","sourceObjectMetadata": {"__typename": "Object",- "id": "254e79a9-80e6-4841-b22c-2d67b04d97d6",- "nameSingular": "note",- "namePlural": "notes"+ "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",+ "nameSingular": "company",+ "namePlural": "companies"},"targetObjectMetadata": {"__typename": "Object",- "id": "89c57180-083a-47b6-bfb7-ec51b3a87eae",- "nameSingular": "noteTarget",- "namePlural": "noteTargets"+ "id": "4397cb61-4bcc-49f8-b024-739b74ed9928",+ "nameSingular": "petCareAgreement",+ "namePlural": "petCareAgreements"},"sourceFieldMetadata": {"__typename": "Field",- "id": "479ffe1d-18e3-4a7d-a5b5-933a85d631c9",- "name": "noteTargets"+ "id": "3bb24d6a-49d5-4a21-bfff-670fc8b930b5",+ "name": "caredForPets"},"targetFieldMetadata": {"__typename": "Field",- "id": "12cfa04b-8aa5-442e-8148-757f7f90f578",- "name": "note"+ "id": "1b14d9b3-383c-41dc-afbd-8baf2a759c5b",+ "name": "caretaker"}},"morphRelations": null},{"__typename": "Field",- "id": "583a87e2-b8ea-4a7f-bbe0-deded7e5f3db",- "universalIdentifier": "20202020-7030-42f8-929c-1a57b25d6bce",+ "id": "517382cf-5b85-466f-99ed-488f09d13ae9",+ "universalIdentifier": "4d13bfbb-ac77-45f9-a60f-f4f4493c746c","type": "RELATION",- "name": "timelineActivities",- "label": "Timeline Activities",- "description": "Timeline Activities linked to the note.",- "icon": "IconTimelineEvent",- "isCustom": false,+ "name": "previousEmployees",+ "label": "Previous Employees",+ "description": "Companies tied to the Employment History",+ "icon": "IconUser",+ "isCustom": true,"isActive": true,"isSystem": false,"isUIReadOnly": false,"isNullable": true,"isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",+ "createdAt": "2026-04-10T08:56:00.933Z",+ "updatedAt": "2026-04-10T08:56:01.405Z","defaultValue": null,"options": null,"settings": {- "relationType": "ONE_TO_MANY"+ "relationType": "ONE_TO_MANY",+ "junctionTargetFieldId": "2b1d0803-6079-4337-ba07-03660a4f72ad"},"isLabelSyncedWithName": false,"morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "applicationId": "029204a9-b419-41d8-a483-57690c3d1a18","relation": {"__typename": "Relation","type": "ONE_TO_MANY","sourceObjectMetadata": {"__typename": "Object",- "id": "254e79a9-80e6-4841-b22c-2d67b04d97d6",- "nameSingular": "note",- "namePlural": "notes"+ "id": "29a80d39-c931-4ed2-8ae7-8eac638f7f95",+ "nameSingular": "company",+ "namePlural": "companies"},"targetObjectMetadata": {"__typename": "Object",- "id": "bcdaa361-9ee6-4c8e-81c2-711fd330e5b2",- "nameSingular": "timelineActivity",- "namePlural": "timelineActivities"+ "id": "057951b6-46e0-4ae9-956a-b3b72f2cf800",+ "nameSingular": "employmentHistory",+ "namePlural": "employmentHistories"},"sourceFieldMetadata": {"__typename": "Field",- "id": "583a87e2-b8ea-4a7f-bbe0-deded7e5f3db",- "name": "timelineActivities"+ "id": "517382cf-5b85-466f-99ed-488f09d13ae9",+ "name": "previousEmployees"},"targetFieldMetadata": {"__typename": "Field",- "id": "0419db16-5fd4-4306-bd1d-ea0b1dde5349",- "name": "target"+ "id": "3884e8c9-4f36-4870-952d-f5c173b9f894",+ "name": "company"}},"morphRelations": null@@ -20244,10 +18103,52 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="indexMetadataList": [{"__typename": "Index",- "id": "d9c1dedd-2494-4989-b5ab-defd907af9e4",+ "id": "0ed713a8-22d5-49d8-915c-c9f4c52069b1","createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "name": "IDX_f20de8d7fc74a405e4083051275",+ "name": "IDX_f719a95179070eac397ba18dc70",+ "indexWhereClause": null,+ "indexType": "BTREE",+ "isUnique": false,+ "isCustom": false,+ "indexFieldMetadataList": [+ {+ "__typename": "IndexField",+ "id": "c8b8ddb5-1643-475d-bb95-d4e48e4ee431",+ "fieldMetadataId": "3360fc0b-4b0b-4bea-af03-4806838e6135",+ "createdAt": "2026-04-10T08:55:56.595Z",+ "updatedAt": "2026-04-10T08:55:56.595Z",+ "order": 0+ }+ ]+ },+ {+ "__typename": "Index",+ "id": "73a4db25-8258-4e91-9991-39e5e00f0022",+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z",+ "name": "IDX_UNIQUE_2a32339058d0b6910b0834ddf81",+ "indexWhereClause": null,+ "indexType": "BTREE",+ "isUnique": true,+ "isCustom": false,+ "indexFieldMetadataList": [+ {+ "__typename": "IndexField",+ "id": "3dda1cd5-675e-473f-9804-c6849ccb9e4f",+ "fieldMetadataId": "be9fd5e1-ca36-4b91-ba14-22a5ab409e92",+ "createdAt": "2026-04-10T08:55:56.596Z",+ "updatedAt": "2026-04-10T08:55:56.596Z",+ "order": 0+ }+ ]+ },+ {+ "__typename": "Index",+ "id": "2aee2e70-66d1-4de1-a076-cb7b30bb6bb4",+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z",+ "name": "IDX_fb1f4905546cfc6d70a971c76f7","indexWhereClause": null,"indexType": "GIN","isUnique": false,@@ -20255,10 +18156,10 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="indexFieldMetadataList": [{"__typename": "IndexField",- "id": "838e5d63-a936-46f8-a8f1-930993791115",- "fieldMetadataId": "0200238f-39ae-4612-9550-beabdb9605c6",- "createdAt": "2026-04-10T08:55:56.606Z",- "updatedAt": "2026-04-10T08:55:56.606Z",+ "id": "04c9f18b-055d-4d1e-813d-5f3259949a8f",+ "fieldMetadataId": "ff595f93-c38c-41f5-ba91-7f22a5c63e9d",+ "createdAt": "2026-04-10T08:55:56.597Z",+ "updatedAt": "2026-04-10T08:55:56.597Z","order": 0}]@@ -20270,59 +18171,33 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="__typename": "ObjectEdge","node": {"__typename": "Object",- "id": "1365b607-7ba1-4a6a-9c32-3f284b77de7f",- "universalIdentifier": "20202020-3f6b-4425-80ab-e468899ab4b2",- "nameSingular": "message",- "namePlural": "messages",+ "id": "254e79a9-80e6-4841-b22c-2d67b04d97d6",+ "universalIdentifier": "20202020-0b00-45cd-b6f6-6cd806fc6804",+ "nameSingular": "note",+ "namePlural": "notes","isCustom": false,"isRemote": false,"isActive": true,- "isSystem": true,+ "isSystem": false,"isUIReadOnly": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "labelIdentifierFieldMetadataId": "d87675ee-1d19-4658-8037-daec3e00b718",+ "labelIdentifierFieldMetadataId": "a5f99b30-3b36-4fbb-935c-bcdf28183247","imageIdentifierFieldMetadataId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "shortcut": null,+ "shortcut": "N","isLabelSyncedWithName": false,- "isSearchable": false,+ "isSearchable": true,"duplicateCriteria": null,- "labelSingular": "Message",- "labelPlural": "Messages",- "description": "Message",- "icon": "IconMessage",+ "labelSingular": "Note",+ "labelPlural": "Notes",+ "description": "A note",+ "icon": "IconNotes","fieldsList": [{"__typename": "Field",- "id": "04280f71-884b-4104-a325-7850550a80b7",- "universalIdentifier": "20202020-d2ee-4e7e-89de-9a0a9044a143",- "type": "TEXT",- "name": "text",- "label": "Text",- "description": "Text",- "icon": "IconMessage",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "67db6e2b-86c5-4b85-86c2-71a82c5e5bda",- "universalIdentifier": "20202020-b06a-4101-8a01-9cadbedfaeb1",+ "id": "fec8dfab-5738-4ed1-a160-e834abd33fab",+ "universalIdentifier": "20202020-c01a-4111-8a11-dfabcddeef12","type": "UUID","name": "id","label": "Id",@@ -20347,8 +18222,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "a9f5f608-7ea0-4143-a146-d0594a22c068",- "universalIdentifier": "20202020-b06b-4102-9b02-adbecfeafbc2",+ "id": "216e70d0-3b8c-43e7-bc25-7ff85da6399f",+ "universalIdentifier": "20202020-c01b-4112-9b12-fabcddefe123","type": "DATE_TIME","name": "createdAt","label": "Creation date",@@ -20375,8 +18250,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "02f68a7c-fd82-43b8-9824-7b7f908e06b7",- "universalIdentifier": "20202020-b06c-4103-8c03-becfdfabfcd3",+ "id": "74d5bd3c-35bb-4552-b23f-5d4d59e8aefe",+ "universalIdentifier": "20202020-c01c-4113-8c13-abcddeef1234","type": "DATE_TIME","name": "updatedAt","label": "Last update",@@ -20403,8 +18278,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "b7f35f27-8aa1-4d73-8569-1fdb9daf535f",- "universalIdentifier": "20202020-b06d-4104-9d04-cfdfabecdde4",+ "id": "944831f6-e31b-40ad-a934-7789ecb667f6",+ "universalIdentifier": "20202020-c01d-4114-9d14-bcddeef12345","type": "DATE_TIME","name": "deletedAt","label": "Deleted at",@@ -20417,72 +18292,12 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": {- "displayFormat": "RELATIVE"- },- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "018ca79e-35e8-481f-922a-8366c796602d",- "universalIdentifier": "6e52bde4-ed41-4462-aa70-121e496270b4",- "type": "ACTOR",- "name": "createdBy",- "label": "Created by",- "description": "The creator of the record",- "icon": "IconCreativeCommonsSa",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": false,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": {- "name": "'System'",- "source": "'MANUAL'",- "workspaceMemberId": null- },- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "95c3d28e-7bca-4d93-a72a-4d58947f5589",- "universalIdentifier": "7822dcc0-ee40-4af0-a6fe-f10a14e72b24",- "type": "ACTOR",- "name": "updatedBy",- "label": "Updated by",- "description": "The workspace member who last updated the record",- "icon": "IconUserCircle",- "isCustom": false,- "isActive": true,- "isSystem": true,- "isUIReadOnly": true,- "isNullable": false,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": {- "name": "'System'",- "source": "'MANUAL'",- "workspaceMemberId": null- },+ "updatedAt": "2026-04-10T08:55:56.200Z",+ "defaultValue": null,"options": null,- "settings": null,+ "settings": {+ "displayFormat": "RELATIVE"+ },"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",@@ -20491,12 +18306,12 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "278cf422-b602-4550-ac8e-894e38f66d1f",- "universalIdentifier": "06c5052d-3369-4d6d-8eaa-f9780eddb1fd",+ "id": "a9d7a58e-6d33-4a74-962b-deb94fc9167c",+ "universalIdentifier": "20202020-368d-4dc2-943f-ed8a49c7fdfb","type": "POSITION","name": "position","label": "Position",- "description": "Message record position",+ "description": "Note record position","icon": "IconHierarchy2","isCustom": false,"isActive": true,@@ -20517,16 +18332,16 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "dba998de-a5ac-44a2-80d6-490afdd9659b",- "universalIdentifier": "529b6008-4a12-4d48-bbc3-26a3f199bafd",- "type": "TS_VECTOR",- "name": "searchVector",- "label": "Search vector",- "description": "Field used for full-text search",- "icon": "IconUser",+ "id": "a5f99b30-3b36-4fbb-935c-bcdf28183247",+ "universalIdentifier": "20202020-faeb-4c76-8ba6-ccbb0b4a965f",+ "type": "TEXT",+ "name": "title",+ "label": "Title",+ "description": "Note title",+ "icon": "IconNotes","isCustom": false,"isActive": true,- "isSystem": true,+ "isSystem": false,"isUIReadOnly": false,"isNullable": true,"isUnique": false,@@ -20534,10 +18349,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="updatedAt": "2026-04-10T08:55:56.200Z","defaultValue": null,"options": null,- "settings": {- "asExpression": "to_tsvector('simple', COALESCE(public.unaccent_immutable(\"subject\"), ''))",- "generatedType": "STORED"- },+ "settings": null,"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",@@ -20546,17 +18358,17 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "2d480e16-7c88-4b98-871b-5f5e585c11b7",- "universalIdentifier": "20202020-72b5-416d-aed8-b55609067d01",- "type": "TEXT",- "name": "headerMessageId",- "label": "Header message Id",- "description": "Message id from the message header",- "icon": "IconHash",+ "id": "37141cc3-71e1-436f-9ae9-9375282aad2d",+ "universalIdentifier": "20202020-a7bb-4d94-be51-8f25181502c8",+ "type": "RICH_TEXT",+ "name": "bodyV2",+ "label": "Body",+ "description": "Note body",+ "icon": "IconFilePencil","isCustom": false,"isActive": true,"isSystem": false,- "isUIReadOnly": true,+ "isUIReadOnly": false,"isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z",@@ -20572,22 +18384,26 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "d87675ee-1d19-4658-8037-daec3e00b718",- "universalIdentifier": "20202020-52d1-4036-b9ae-84bd722bb37a",- "type": "TEXT",- "name": "subject",- "label": "Subject",- "description": "Subject",- "icon": "IconMessage",+ "id": "b57052bd-8f64-4b50-86cb-2426e5122b51",+ "universalIdentifier": "20202020-0d79-4e21-ab77-5a394eff97be",+ "type": "ACTOR",+ "name": "createdBy",+ "label": "Created by",+ "description": "The creator of the record",+ "icon": "IconCreativeCommonsSa","isCustom": false,"isActive": true,- "isSystem": false,+ "isSystem": true,"isUIReadOnly": true,- "isNullable": true,+ "isNullable": false,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,+ "defaultValue": {+ "name": "'System'",+ "source": "'MANUAL'",+ "workspaceMemberId": null+ },"options": null,"settings": null,"isLabelSyncedWithName": false,@@ -20598,24 +18414,57 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "d4c2675c-b983-4703-9aaf-a6afc4e5d464",- "universalIdentifier": "20202020-140a-4a2a-9f86-f13b6a979afc",- "type": "DATE_TIME",- "name": "receivedAt",- "label": "Received At",- "description": "The date the message was received",- "icon": "IconCalendar",+ "id": "f7d578d2-62d4-4b51-890f-5a634c949761",+ "universalIdentifier": "9b446e89-2484-4044-a3b5-420f6b578c0c",+ "type": "ACTOR",+ "name": "updatedBy",+ "label": "Updated by",+ "description": "The workspace member who last updated the record",+ "icon": "IconUserCircle","isCustom": false,"isActive": true,- "isSystem": false,+ "isSystem": true,"isUIReadOnly": true,+ "isNullable": false,+ "isUnique": false,+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z",+ "defaultValue": {+ "name": "'System'",+ "source": "'MANUAL'",+ "workspaceMemberId": null+ },+ "options": null,+ "settings": null,+ "isLabelSyncedWithName": false,+ "morphId": null,+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "relation": null,+ "morphRelations": null+ },+ {+ "__typename": "Field",+ "id": "0200238f-39ae-4612-9550-beabdb9605c6",+ "universalIdentifier": "20202020-7ea8-44d4-9d4c-51dd2a757950",+ "type": "TS_VECTOR",+ "name": "searchVector",+ "label": "Search vector",+ "description": "Field used for full-text search",+ "icon": "IconUser",+ "isCustom": false,+ "isActive": true,+ "isSystem": true,+ "isUIReadOnly": false,"isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z","defaultValue": null,"options": null,- "settings": null,+ "settings": {+ "asExpression": "to_tsvector('simple', COALESCE(public.unaccent_immutable(\"title\"), '') || ' ' || COALESCE(public.unaccent_immutable(\"bodyV2Markdown\"), ''))",+ "generatedType": "STORED"+ },"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",@@ -20624,17 +18473,17 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "29300185-1d79-463d-a013-e37d3f4ff31b",- "universalIdentifier": "20202020-30f2-4ccd-9f5c-e41bb9d26214",+ "id": "471b32ff-a033-4085-95c3-ef240b47f00e",+ "universalIdentifier": "20202020-4986-4c92-bf19-39934b149b16","type": "RELATION",- "name": "messageThread",- "label": "Message Thread Id",- "description": "Message Thread Id",- "icon": "IconHash",+ "name": "attachments",+ "label": "Attachments",+ "description": "Note attachments",+ "icon": "IconFileImport","isCustom": false,"isActive": true,"isSystem": false,- "isUIReadOnly": true,+ "isUIReadOnly": false,"isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z",@@ -20642,54 +18491,52 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="defaultValue": null,"options": null,"settings": {- "onDelete": "CASCADE",- "relationType": "MANY_TO_ONE",- "joinColumnName": "messageThreadId"+ "relationType": "ONE_TO_MANY"},"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec","relation": {"__typename": "Relation",- "type": "MANY_TO_ONE",+ "type": "ONE_TO_MANY","sourceObjectMetadata": {"__typename": "Object",- "id": "1365b607-7ba1-4a6a-9c32-3f284b77de7f",- "nameSingular": "message",- "namePlural": "messages"+ "id": "254e79a9-80e6-4841-b22c-2d67b04d97d6",+ "nameSingular": "note",+ "namePlural": "notes"},"targetObjectMetadata": {"__typename": "Object",- "id": "cd9f8eee-25e6-497b-9dcc-29c5071d8493",- "nameSingular": "messageThread",- "namePlural": "messageThreads"+ "id": "713c3680-8982-49e3-b7dc-8d6002ac13aa",+ "nameSingular": "attachment",+ "namePlural": "attachments"},"sourceFieldMetadata": {"__typename": "Field",- "id": "29300185-1d79-463d-a013-e37d3f4ff31b",- "name": "messageThread"+ "id": "471b32ff-a033-4085-95c3-ef240b47f00e",+ "name": "attachments"},"targetFieldMetadata": {"__typename": "Field",- "id": "922255d0-f996-4cb4-87fc-963d90bc4839",- "name": "messages"+ "id": "107f1410-5f59-489b-92b7-25ab6d3c7e48",+ "name": "target"}},"morphRelations": null},{"__typename": "Field",- "id": "bc3e8a90-21c6-4828-9cac-60fa0677f469",- "universalIdentifier": "20202020-7cff-4a74-b63c-73228448cbd9",+ "id": "479ffe1d-18e3-4a7d-a5b5-933a85d631c9",+ "universalIdentifier": "20202020-1f25-43fe-8b00-af212fdde823","type": "RELATION",- "name": "messageParticipants",- "label": "Message Participants",- "description": "Message Participants",- "icon": "IconUserCircle",+ "name": "noteTargets",+ "label": "Relations",+ "description": "Note targets",+ "icon": "IconArrowUpRight","isCustom": false,"isActive": true,"isSystem": false,- "isUIReadOnly": true,+ "isUIReadOnly": false,"isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z",@@ -20707,42 +18554,42 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="type": "ONE_TO_MANY","sourceObjectMetadata": {"__typename": "Object",- "id": "1365b607-7ba1-4a6a-9c32-3f284b77de7f",- "nameSingular": "message",- "namePlural": "messages"+ "id": "254e79a9-80e6-4841-b22c-2d67b04d97d6",+ "nameSingular": "note",+ "namePlural": "notes"},"targetObjectMetadata": {"__typename": "Object",- "id": "7db07e5a-4476-4a4f-ba75-6de6597689aa",- "nameSingular": "messageParticipant",- "namePlural": "messageParticipants"+ "id": "89c57180-083a-47b6-bfb7-ec51b3a87eae",+ "nameSingular": "noteTarget",+ "namePlural": "noteTargets"},"sourceFieldMetadata": {"__typename": "Field",- "id": "bc3e8a90-21c6-4828-9cac-60fa0677f469",- "name": "messageParticipants"+ "id": "479ffe1d-18e3-4a7d-a5b5-933a85d631c9",+ "name": "noteTargets"},"targetFieldMetadata": {"__typename": "Field",- "id": "6d536522-f2b2-4a68-a81c-93169b1bd595",- "name": "message"+ "id": "12cfa04b-8aa5-442e-8148-757f7f90f578",+ "name": "note"}},"morphRelations": null},{"__typename": "Field",- "id": "00712157-bcd3-4412-ae41-f197c0165ee9",- "universalIdentifier": "20202020-3cef-43a3-82c6-50e7cfbc9ae4",+ "id": "583a87e2-b8ea-4a7f-bbe0-deded7e5f3db",+ "universalIdentifier": "20202020-7030-42f8-929c-1a57b25d6bce","type": "RELATION",- "name": "messageChannelMessageAssociations",- "label": "Message Channel Association",- "description": "Messages from the channel.",- "icon": "IconMessage",+ "name": "timelineActivities",+ "label": "Timeline Activities",+ "description": "Timeline Activities linked to the note.",+ "icon": "IconTimelineEvent","isCustom": false,"isActive": true,"isSystem": false,- "isUIReadOnly": true,+ "isUIReadOnly": false,"isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z",@@ -20760,25 +18607,25 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="type": "ONE_TO_MANY","sourceObjectMetadata": {"__typename": "Object",- "id": "1365b607-7ba1-4a6a-9c32-3f284b77de7f",- "nameSingular": "message",- "namePlural": "messages"+ "id": "254e79a9-80e6-4841-b22c-2d67b04d97d6",+ "nameSingular": "note",+ "namePlural": "notes"},"targetObjectMetadata": {"__typename": "Object",- "id": "6a48ae9e-2964-48b4-90cd-abef2f7eac30",- "nameSingular": "messageChannelMessageAssociation",- "namePlural": "messageChannelMessageAssociations"+ "id": "bcdaa361-9ee6-4c8e-81c2-711fd330e5b2",+ "nameSingular": "timelineActivity",+ "namePlural": "timelineActivities"},"sourceFieldMetadata": {"__typename": "Field",- "id": "00712157-bcd3-4412-ae41-f197c0165ee9",- "name": "messageChannelMessageAssociations"+ "id": "583a87e2-b8ea-4a7f-bbe0-deded7e5f3db",+ "name": "timelineActivities"},"targetFieldMetadata": {"__typename": "Field",- "id": "593de04f-d9f8-466e-8682-24a2121692f2",- "name": "message"+ "id": "0419db16-5fd4-4306-bd1d-ea0b1dde5349",+ "name": "target"}},"morphRelations": null@@ -20787,21 +18634,21 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="indexMetadataList": [{"__typename": "Index",- "id": "72ba6e42-6293-435f-bbad-a66b9bdcf88b",+ "id": "d9c1dedd-2494-4989-b5ab-defd907af9e4","createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "name": "IDX_5d002cd3b5be1cb05c0b7b28582",+ "name": "IDX_f20de8d7fc74a405e4083051275","indexWhereClause": null,- "indexType": "BTREE",+ "indexType": "GIN","isUnique": false,"isCustom": false,"indexFieldMetadataList": [{"__typename": "IndexField",- "id": "c5a127fc-3dda-4da1-8c03-5a02064323d5",- "fieldMetadataId": "29300185-1d79-463d-a013-e37d3f4ff31b",- "createdAt": "2026-04-10T08:55:56.599Z",- "updatedAt": "2026-04-10T08:55:56.599Z",+ "id": "838e5d63-a936-46f8-a8f1-930993791115",+ "fieldMetadataId": "0200238f-39ae-4612-9550-beabdb9605c6",+ "createdAt": "2026-04-10T08:55:56.606Z",+ "updatedAt": "2026-04-10T08:55:56.606Z","order": 0}]@@ -20813,10 +18660,10 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="__typename": "ObjectEdge","node": {"__typename": "Object",- "id": "0f6e48ff-3948-44f7-9b25-154899a9a684",- "universalIdentifier": "20202020-0408-4f38-b8a8-4d5e3e26e24d",- "nameSingular": "blocklist",- "namePlural": "blocklists",+ "id": "1365b607-7ba1-4a6a-9c32-3f284b77de7f",+ "universalIdentifier": "20202020-3f6b-4425-80ab-e468899ab4b2",+ "nameSingular": "message",+ "namePlural": "messages","isCustom": false,"isRemote": false,"isActive": true,@@ -20824,22 +18671,48 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="isUIReadOnly": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "labelIdentifierFieldMetadataId": "dfea27f1-41e8-431e-a78b-5f4960df5600",+ "labelIdentifierFieldMetadataId": "d87675ee-1d19-4658-8037-daec3e00b718","imageIdentifierFieldMetadataId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec","shortcut": null,"isLabelSyncedWithName": false,"isSearchable": false,"duplicateCriteria": null,- "labelSingular": "Blocklist",- "labelPlural": "Blocklists",- "description": "Blocklist",- "icon": "IconForbid2",+ "labelSingular": "Message",+ "labelPlural": "Messages",+ "description": "Message",+ "icon": "IconMessage","fieldsList": [{"__typename": "Field",- "id": "e1adfa84-48e4-45f4-bf7d-20d946d43b3a",- "universalIdentifier": "20202020-b01a-4011-8b11-5a9fc27fbf6e",+ "id": "04280f71-884b-4104-a325-7850550a80b7",+ "universalIdentifier": "20202020-d2ee-4e7e-89de-9a0a9044a143",+ "type": "TEXT",+ "name": "text",+ "label": "Text",+ "description": "Text",+ "icon": "IconMessage",+ "isCustom": false,+ "isActive": true,+ "isSystem": false,+ "isUIReadOnly": true,+ "isNullable": true,+ "isUnique": false,+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z",+ "defaultValue": null,+ "options": null,+ "settings": null,+ "isLabelSyncedWithName": false,+ "morphId": null,+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "relation": null,+ "morphRelations": null+ },+ {+ "__typename": "Field",+ "id": "67db6e2b-86c5-4b85-86c2-71a82c5e5bda",+ "universalIdentifier": "20202020-b06a-4101-8a01-9cadbedfaeb1","type": "UUID","name": "id","label": "Id",@@ -20864,8 +18737,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "c31b1429-154c-4ffb-bdd9-0db170150b22",- "universalIdentifier": "20202020-b01b-4012-9c12-6bafd38fcf7f",+ "id": "a9f5f608-7ea0-4143-a146-d0594a22c068",+ "universalIdentifier": "20202020-b06b-4102-9b02-adbecfeafbc2","type": "DATE_TIME","name": "createdAt","label": "Creation date",@@ -20892,8 +18765,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "c4e05402-dcb6-41ab-b065-12bac53387bd",- "universalIdentifier": "20202020-b01c-4013-8d13-7cbfe49fdf8f",+ "id": "02f68a7c-fd82-43b8-9824-7b7f908e06b7",+ "universalIdentifier": "20202020-b06c-4103-8c03-becfdfabfcd3","type": "DATE_TIME","name": "updatedAt","label": "Last update",@@ -20920,8 +18793,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "fe8ffaa9-03b4-4894-9bab-e812df16eda8",- "universalIdentifier": "20202020-b01d-4014-9e14-8dcff5affef9",+ "id": "b7f35f27-8aa1-4d73-8569-1fdb9daf535f",+ "universalIdentifier": "20202020-b06d-4104-9d04-cfdfabecdde4","type": "DATE_TIME","name": "deletedAt","label": "Deleted at",@@ -20948,8 +18821,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "c0ba0387-5e1a-46af-863f-241cc0ab792e",- "universalIdentifier": "b80db15d-8dc2-4f47-a072-15030941a9d1",+ "id": "018ca79e-35e8-481f-922a-8366c796602d",+ "universalIdentifier": "6e52bde4-ed41-4462-aa70-121e496270b4","type": "ACTOR","name": "createdBy","label": "Created by",@@ -20978,8 +18851,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "4337e0f6-572d-4214-85e4-dabab4fa88c3",- "universalIdentifier": "11aaa404-f04b-421d-a451-c453bf77cc78",+ "id": "95c3d28e-7bca-4d93-a72a-4d58947f5589",+ "universalIdentifier": "7822dcc0-ee40-4af0-a6fe-f10a14e72b24","type": "ACTOR","name": "updatedBy","label": "Updated by",@@ -21008,12 +18881,12 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "891c2994-b124-43d4-b0d9-9acd0bbd4179",- "universalIdentifier": "72a27e60-3542-46dc-90db-684d79bd7f11",+ "id": "278cf422-b602-4550-ac8e-894e38f66d1f",+ "universalIdentifier": "06c5052d-3369-4d6d-8eaa-f9780eddb1fd","type": "POSITION","name": "position","label": "Position",- "description": "Blocklist record position",+ "description": "Message record position","icon": "IconHierarchy2","isCustom": false,"isActive": true,@@ -21034,8 +18907,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "71c0e8fe-9014-414a-a62e-f06039030d39",- "universalIdentifier": "5fa758da-30b4-412e-8a4f-975f2848ce60",+ "id": "dba998de-a5ac-44a2-80d6-490afdd9659b",+ "universalIdentifier": "529b6008-4a12-4d48-bbc3-26a3f199bafd","type": "TS_VECTOR","name": "searchVector","label": "Search vector",@@ -21052,7 +18925,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="defaultValue": null,"options": null,"settings": {- "asExpression": "to_tsvector('simple', COALESCE(public.unaccent_immutable(\"handle\"), ''))",+ "asExpression": "to_tsvector('simple', COALESCE(public.unaccent_immutable(\"subject\"), ''))","generatedType": "STORED"},"isLabelSyncedWithName": false,@@ -21063,13 +18936,13 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "dfea27f1-41e8-431e-a78b-5f4960df5600",- "universalIdentifier": "20202020-eef3-44ed-aa32-4641d7fd4a3e",+ "id": "2d480e16-7c88-4b98-871b-5f5e585c11b7",+ "universalIdentifier": "20202020-72b5-416d-aed8-b55609067d01","type": "TEXT",- "name": "handle",- "label": "Handle",- "description": "Handle",- "icon": "IconAt",+ "name": "headerMessageId",+ "label": "Header message Id",+ "description": "Message id from the message header",+ "icon": "IconHash","isCustom": false,"isActive": true,"isSystem": false,@@ -21089,55 +18962,213 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "12888068-1b20-4422-8482-d2190e177c77",- "universalIdentifier": "20202020-548d-4084-a947-fa20a39f7c06",+ "id": "d87675ee-1d19-4658-8037-daec3e00b718",+ "universalIdentifier": "20202020-52d1-4036-b9ae-84bd722bb37a",+ "type": "TEXT",+ "name": "subject",+ "label": "Subject",+ "description": "Subject",+ "icon": "IconMessage",+ "isCustom": false,+ "isActive": true,+ "isSystem": false,+ "isUIReadOnly": true,+ "isNullable": true,+ "isUnique": false,+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z",+ "defaultValue": null,+ "options": null,+ "settings": null,+ "isLabelSyncedWithName": false,+ "morphId": null,+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "relation": null,+ "morphRelations": null+ },+ {+ "__typename": "Field",+ "id": "d4c2675c-b983-4703-9aaf-a6afc4e5d464",+ "universalIdentifier": "20202020-140a-4a2a-9f86-f13b6a979afc",+ "type": "DATE_TIME",+ "name": "receivedAt",+ "label": "Received At",+ "description": "The date the message was received",+ "icon": "IconCalendar",+ "isCustom": false,+ "isActive": true,+ "isSystem": false,+ "isUIReadOnly": true,+ "isNullable": true,+ "isUnique": false,+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z",+ "defaultValue": null,+ "options": null,+ "settings": null,+ "isLabelSyncedWithName": false,+ "morphId": null,+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "relation": null,+ "morphRelations": null+ },+ {+ "__typename": "Field",+ "id": "29300185-1d79-463d-a013-e37d3f4ff31b",+ "universalIdentifier": "20202020-30f2-4ccd-9f5c-e41bb9d26214","type": "RELATION",- "name": "workspaceMember",- "label": "WorkspaceMember",- "description": "WorkspaceMember",- "icon": "IconCircleUser",+ "name": "messageThread",+ "label": "Message Thread Id",+ "description": "Message Thread Id",+ "icon": "IconHash","isCustom": false,"isActive": true,"isSystem": false,"isUIReadOnly": true,- "isNullable": false,+ "isNullable": true,+ "isUnique": false,+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z",+ "defaultValue": null,+ "options": null,+ "settings": {+ "onDelete": "CASCADE",+ "relationType": "MANY_TO_ONE",+ "joinColumnName": "messageThreadId"+ },+ "isLabelSyncedWithName": false,+ "morphId": null,+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "relation": {+ "__typename": "Relation",+ "type": "MANY_TO_ONE",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "1365b607-7ba1-4a6a-9c32-3f284b77de7f",+ "nameSingular": "message",+ "namePlural": "messages"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "cd9f8eee-25e6-497b-9dcc-29c5071d8493",+ "nameSingular": "messageThread",+ "namePlural": "messageThreads"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "29300185-1d79-463d-a013-e37d3f4ff31b",+ "name": "messageThread"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "922255d0-f996-4cb4-87fc-963d90bc4839",+ "name": "messages"+ }+ },+ "morphRelations": null+ },+ {+ "__typename": "Field",+ "id": "bc3e8a90-21c6-4828-9cac-60fa0677f469",+ "universalIdentifier": "20202020-7cff-4a74-b63c-73228448cbd9",+ "type": "RELATION",+ "name": "messageParticipants",+ "label": "Message Participants",+ "description": "Message Participants",+ "icon": "IconUserCircle",+ "isCustom": false,+ "isActive": true,+ "isSystem": false,+ "isUIReadOnly": true,+ "isNullable": true,+ "isUnique": false,+ "createdAt": "2026-04-10T08:55:56.200Z",+ "updatedAt": "2026-04-10T08:55:56.200Z",+ "defaultValue": null,+ "options": null,+ "settings": {+ "relationType": "ONE_TO_MANY"+ },+ "isLabelSyncedWithName": false,+ "morphId": null,+ "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",+ "relation": {+ "__typename": "Relation",+ "type": "ONE_TO_MANY",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "1365b607-7ba1-4a6a-9c32-3f284b77de7f",+ "nameSingular": "message",+ "namePlural": "messages"+ },+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "7db07e5a-4476-4a4f-ba75-6de6597689aa",+ "nameSingular": "messageParticipant",+ "namePlural": "messageParticipants"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "bc3e8a90-21c6-4828-9cac-60fa0677f469",+ "name": "messageParticipants"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "6d536522-f2b2-4a68-a81c-93169b1bd595",+ "name": "message"+ }+ },+ "morphRelations": null+ },+ {+ "__typename": "Field",+ "id": "00712157-bcd3-4412-ae41-f197c0165ee9",+ "universalIdentifier": "20202020-3cef-43a3-82c6-50e7cfbc9ae4",+ "type": "RELATION",+ "name": "messageChannelMessageAssociations",+ "label": "Message Channel Association",+ "description": "Messages from the channel.",+ "icon": "IconMessage",+ "isCustom": false,+ "isActive": true,+ "isSystem": false,+ "isUIReadOnly": true,+ "isNullable": true,"isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z","defaultValue": null,"options": null,"settings": {- "onDelete": "SET_NULL",- "relationType": "MANY_TO_ONE",- "joinColumnName": "workspaceMemberId"+ "relationType": "ONE_TO_MANY"},"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec","relation": {"__typename": "Relation",- "type": "MANY_TO_ONE",+ "type": "ONE_TO_MANY","sourceObjectMetadata": {"__typename": "Object",- "id": "0f6e48ff-3948-44f7-9b25-154899a9a684",- "nameSingular": "blocklist",- "namePlural": "blocklists"+ "id": "1365b607-7ba1-4a6a-9c32-3f284b77de7f",+ "nameSingular": "message",+ "namePlural": "messages"},"targetObjectMetadata": {"__typename": "Object",- "id": "5fd99bf8-8a88-4bed-aa6c-8ff34e43b0d0",- "nameSingular": "workspaceMember",- "namePlural": "workspaceMembers"+ "id": "6a48ae9e-2964-48b4-90cd-abef2f7eac30",+ "nameSingular": "messageChannelMessageAssociation",+ "namePlural": "messageChannelMessageAssociations"},"sourceFieldMetadata": {"__typename": "Field",- "id": "12888068-1b20-4422-8482-d2190e177c77",- "name": "workspaceMember"+ "id": "00712157-bcd3-4412-ae41-f197c0165ee9",+ "name": "messageChannelMessageAssociations"},"targetFieldMetadata": {"__typename": "Field",- "id": "850c3f17-128d-489f-99b1-4a63965a8182",- "name": "blocklist"+ "id": "593de04f-d9f8-466e-8682-24a2121692f2",+ "name": "message"}},"morphRelations": null@@ -21146,10 +19177,10 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="indexMetadataList": [{"__typename": "Index",- "id": "e854752b-aa82-404a-93bf-17eedec9825e",+ "id": "72ba6e42-6293-435f-bbad-a66b9bdcf88b","createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "name": "IDX_9e247b4ab168100e4aa8fb6a853",+ "name": "IDX_5d002cd3b5be1cb05c0b7b28582","indexWhereClause": null,"indexType": "BTREE","isUnique": false,@@ -21157,10 +19188,10 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="indexFieldMetadataList": [{"__typename": "IndexField",- "id": "959cfb77-bc5a-4ce5-924d-301812a8ceab",- "fieldMetadataId": "12888068-1b20-4422-8482-d2190e177c77",- "createdAt": "2026-04-10T08:55:56.589Z",- "updatedAt": "2026-04-10T08:55:56.589Z",+ "id": "c5a127fc-3dda-4da1-8c03-5a02064323d5",+ "fieldMetadataId": "29300185-1d79-463d-a013-e37d3f4ff31b",+ "createdAt": "2026-04-10T08:55:56.599Z",+ "updatedAt": "2026-04-10T08:55:56.599Z","order": 0}]@@ -21172,10 +19203,10 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="__typename": "ObjectEdge","node": {"__typename": "Object",- "id": "06ac365e-28d1-4966-8b15-30f268468a19",- "universalIdentifier": "20202020-4955-4fd9-8e59-2dbd373f2a46",- "nameSingular": "messageFolder",- "namePlural": "messageFolders",+ "id": "0f6e48ff-3948-44f7-9b25-154899a9a684",+ "universalIdentifier": "20202020-0408-4f38-b8a8-4d5e3e26e24d",+ "nameSingular": "blocklist",+ "namePlural": "blocklists","isCustom": false,"isRemote": false,"isActive": true,@@ -21183,22 +19214,22 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="isUIReadOnly": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "labelIdentifierFieldMetadataId": "d8496000-f0cd-4b8a-8251-b81452d5001e",+ "labelIdentifierFieldMetadataId": "dfea27f1-41e8-431e-a78b-5f4960df5600","imageIdentifierFieldMetadataId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec","shortcut": null,"isLabelSyncedWithName": false,"isSearchable": false,"duplicateCriteria": null,- "labelSingular": "Message Folder",- "labelPlural": "Message Folders",- "description": "Message Folders",- "icon": "IconFolder",+ "labelSingular": "Blocklist",+ "labelPlural": "Blocklists",+ "description": "Blocklist",+ "icon": "IconForbid2","fieldsList": [{"__typename": "Field",- "id": "d8496000-f0cd-4b8a-8251-b81452d5001e",- "universalIdentifier": "20202020-b03a-40d1-8ad1-dcedfefaabbc",+ "id": "e1adfa84-48e4-45f4-bf7d-20d946d43b3a",+ "universalIdentifier": "20202020-b01a-4011-8b11-5a9fc27fbf6e","type": "UUID","name": "id","label": "Id",@@ -21223,8 +19254,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "79470c2f-2c5e-4a36-a578-3431f4dc5f2e",- "universalIdentifier": "20202020-b03b-40d2-9bd2-edfefaabbccd",+ "id": "c31b1429-154c-4ffb-bdd9-0db170150b22",+ "universalIdentifier": "20202020-b01b-4012-9c12-6bafd38fcf7f","type": "DATE_TIME","name": "createdAt","label": "Creation date",@@ -21251,8 +19282,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "c7e4ea02-5d45-4639-aceb-0ae5314e2ec0",- "universalIdentifier": "20202020-b03c-40d3-8cd3-fefaabbccdde",+ "id": "c4e05402-dcb6-41ab-b065-12bac53387bd",+ "universalIdentifier": "20202020-b01c-4013-8d13-7cbfe49fdf8f","type": "DATE_TIME","name": "updatedAt","label": "Last update",@@ -21279,8 +19310,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "706c2760-82bf-4090-bf1a-588ea0c2b564",- "universalIdentifier": "20202020-b03d-40d4-9dd4-faabbccddeef",+ "id": "fe8ffaa9-03b4-4894-9bab-e812df16eda8",+ "universalIdentifier": "20202020-b01d-4014-9e14-8dcff5affef9","type": "DATE_TIME","name": "deletedAt","label": "Deleted at",@@ -21307,8 +19338,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "6fa0d2a1-dc91-4568-876e-21fd8845b749",- "universalIdentifier": "bfe19f84-b640-4ce3-b771-4e7bf18bad14",+ "id": "c0ba0387-5e1a-46af-863f-241cc0ab792e",+ "universalIdentifier": "b80db15d-8dc2-4f47-a072-15030941a9d1","type": "ACTOR","name": "createdBy","label": "Created by",@@ -21337,8 +19368,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "8742cb30-42ff-4416-8323-4a84c007be81",- "universalIdentifier": "7ec7eea8-8715-4656-a602-3cb4256aaca1",+ "id": "4337e0f6-572d-4214-85e4-dabab4fa88c3",+ "universalIdentifier": "11aaa404-f04b-421d-a451-c453bf77cc78","type": "ACTOR","name": "updatedBy","label": "Updated by",@@ -21367,12 +19398,12 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "e144f995-ee97-499a-b176-28b6b07197cf",- "universalIdentifier": "5317d4f4-12c5-469d-8e47-0f3b2ffc95b4",+ "id": "891c2994-b124-43d4-b0d9-9acd0bbd4179",+ "universalIdentifier": "72a27e60-3542-46dc-90db-684d79bd7f11","type": "POSITION","name": "position","label": "Position",- "description": "Message Folder record position",+ "description": "Blocklist record position","icon": "IconHierarchy2","isCustom": false,"isActive": true,@@ -21393,8 +19424,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "689399ab-a724-4eb8-8e63-36bf9958d1e1",- "universalIdentifier": "5f2d3937-bafd-4d71-b4cb-b34037efd2e1",+ "id": "71c0e8fe-9014-414a-a62e-f06039030d39",+ "universalIdentifier": "5fa758da-30b4-412e-8a4f-975f2848ce60","type": "TS_VECTOR","name": "searchVector","label": "Search vector",@@ -21411,7 +19442,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="defaultValue": null,"options": null,"settings": {- "asExpression": "to_tsvector('simple', COALESCE(public.unaccent_immutable(\"name\"), ''))",+ "asExpression": "to_tsvector('simple', COALESCE(public.unaccent_immutable(\"handle\"), ''))","generatedType": "STORED"},"isLabelSyncedWithName": false,@@ -21422,39 +19453,13 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "805287dc-b483-4547-bf7b-37d6f4d57762",- "universalIdentifier": "20202020-7cf8-40bc-a681-b80b771449b7",- "type": "TEXT",- "name": "name",- "label": "Name",- "description": "Folder name",- "icon": "IconFolder",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "08e614d5-cbc5-4686-b1fb-611b05a19ab3",- "universalIdentifier": "20202020-98cd-49ed-8dfc-cb5796400e64",+ "id": "dfea27f1-41e8-431e-a78b-5f4960df5600",+ "universalIdentifier": "20202020-eef3-44ed-aa32-4641d7fd4a3e","type": "TEXT",- "name": "syncCursor",- "label": "Sync Cursor",- "description": "Sync Cursor",- "icon": "IconHash",+ "name": "handle",+ "label": "Handle",+ "description": "Handle",+ "icon": "IconAt","isCustom": false,"isActive": true,"isSystem": false,@@ -21474,39 +19479,13 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =},{"__typename": "Field",- "id": "9a867c58-4f79-4e11-a421-df39741981ab",- "universalIdentifier": "20202020-2af5-4a25-b2de-3c9386da941b",- "type": "BOOLEAN",- "name": "isSentFolder",- "label": "Is Sent Folder",- "description": "Is Sent Folder",- "icon": "IconCheck",- "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": false,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "b576fad5-752c-4d6a-a666-ccf5729c05ad",- "universalIdentifier": "20202020-764f-4e09-8f95-cd46b6bfe3c4",- "type": "BOOLEAN",- "name": "isSynced",- "label": "Is Synced",- "description": "Is Synced",- "icon": "IconCheck",+ "id": "12888068-1b20-4422-8482-d2190e177c77",+ "universalIdentifier": "20202020-548d-4084-a947-fa20a39f7c06",+ "type": "RELATION",+ "name": "workspaceMember",+ "label": "WorkspaceMember",+ "description": "WorkspaceMember",+ "icon": "IconCircleUser","isCustom": false,"isActive": true,"isSystem": false,@@ -21515,142 +19494,52 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="isUnique": false,"createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": false,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "2da76140-bb4a-4fb9-bac8-9a883379d41c",- "universalIdentifier": "20202020-e45d-49de-a4aa-587bbf9601f3",- "type": "TEXT",- "name": "parentFolderId",- "label": "Parent Folder ID",- "description": "Parent Folder ID",- "icon": "IconFolder",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z",- "defaultValue": null,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "94562510-a0c0-4940-a140-d4aebb3534b9",- "universalIdentifier": "20202020-f3a8-4d2b-9c7e-1b5f9a8e4c6d",- "type": "TEXT",- "name": "externalId",- "label": "External ID",- "description": "External ID",- "icon": "IconHash",- "isCustom": false,- "isActive": true,- "isSystem": false,- "isUIReadOnly": true,- "isNullable": true,- "isUnique": false,- "createdAt": "2026-04-10T08:55:56.200Z",- "updatedAt": "2026-04-10T08:55:56.200Z","defaultValue": null,"options": null,- "settings": null,+ "settings": {+ "onDelete": "SET_NULL",+ "relationType": "MANY_TO_ONE",+ "joinColumnName": "workspaceMemberId"+ },"isLabelSyncedWithName": false,"morphId": null,"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "4db54d45-6f99-4e17-ad43-6612f8b45d9e",- "universalIdentifier": "20202020-4f97-4c79-9517-16387fe237f7",- "type": "SELECT",- "name": "pendingSyncAction",- "label": "Pending Sync Action",- "description": "Pending action for folder sync",- "icon": "IconReload",- "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": "'NONE'",- "options": [- {- "id": "20202020-dc59-4dd3-92fe-f41c6491a588",- "color": "red",- "label": "Folder deletion",- "value": "FOLDER_DELETION",- "position": 0+ "relation": {+ "__typename": "Relation",+ "type": "MANY_TO_ONE",+ "sourceObjectMetadata": {+ "__typename": "Object",+ "id": "0f6e48ff-3948-44f7-9b25-154899a9a684",+ "nameSingular": "blocklist",+ "namePlural": "blocklists"},- {- "id": "20202020-aa29-41d3-872b-142174fe6595",- "color": "blue",- "label": "None",- "value": "NONE",- "position": 1+ "targetObjectMetadata": {+ "__typename": "Object",+ "id": "5fd99bf8-8a88-4bed-aa6c-8ff34e43b0d0",+ "nameSingular": "workspaceMember",+ "namePlural": "workspaceMembers"+ },+ "sourceFieldMetadata": {+ "__typename": "Field",+ "id": "12888068-1b20-4422-8482-d2190e177c77",+ "name": "workspaceMember"+ },+ "targetFieldMetadata": {+ "__typename": "Field",+ "id": "850c3f17-128d-489f-99b1-4a63965a8182",+ "name": "blocklist"}- ],- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,- "morphRelations": null- },- {- "__typename": "Field",- "id": "cdca7f13-b430-4780-8cb0-747cbd92ae7b",- "universalIdentifier": "20202020-c9f8-43db-a3e7-7f2e8b5d9c1a",- "type": "UUID",- "name": "messageChannelId",- "label": "Message Channel",- "description": "Message Channel",- "icon": "IconMessage",- "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": null,- "options": null,- "settings": null,- "isLabelSyncedWithName": false,- "morphId": null,- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",- "relation": null,+ },"morphRelations": null}],"indexMetadataList": [{"__typename": "Index",- "id": "396c419e-838b-4dab-9690-ac297a14b098",+ "id": "e854752b-aa82-404a-93bf-17eedec9825e","createdAt": "2026-04-10T08:55:56.200Z","updatedAt": "2026-04-10T08:55:56.200Z",- "name": "IDX_a1bbe482462d9f016582d99d4e6",+ "name": "IDX_9e247b4ab168100e4aa8fb6a853","indexWhereClause": null,"indexType": "BTREE","isUnique": false,@@ -21658,10 +19547,10 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery ="indexFieldMetadataList": [{"__typename": "IndexField",- "id": "b26ebc56-7b3e-409a-a4f1-1747ebfad2a1",- "fieldMetadataId": "cdca7f13-b430-4780-8cb0-747cbd92ae7b",- "createdAt": "2026-04-10T08:55:56.604Z",- "updatedAt": "2026-04-10T08:55:56.604Z",+ "id": "959cfb77-bc5a-4ce5-924d-301812a8ceab",+ "fieldMetadataId": "12888068-1b20-4422-8482-d2190e177c77",+ "createdAt": "2026-04-10T08:55:56.589Z",+ "updatedAt": "2026-04-10T08:55:56.589Z","order": 0}]diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-8/2-8-upgrade-version-command.module.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-8/2-8-upgrade-version-command.module.tsindex e464b224efd..6f998d8f53b 100644--- a/packages/twenty-server/src/database/commands/upgrade-version-command/2-8/2-8-upgrade-version-command.module.ts+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-8/2-8-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 { DropChannelStandardObjectsCommand } from 'src/database/commands/upgrade-version-command/2-8/2-8-workspace-command-1798000050000-drop-channel-standard-objects.command';import { BackfillRelationJoinColumnIndexesCommand } from 'src/database/commands/upgrade-version-command/2-8/2-8-workspace-command-1798100000000-backfill-relation-join-column-indexes.command';import { ApplicationModule } from 'src/engine/core-modules/application/application.module';import { WorkspaceSchemaManagerModule } from 'src/engine/twenty-orm/workspace-schema-manager/workspace-schema-manager.module';@@ -15,6 +16,9 @@ import { WorkspaceMigrationModule } from 'src/engine/workspace-manager/workspaceWorkspaceMigrationModule,WorkspaceSchemaManagerModule,],- providers: [BackfillRelationJoinColumnIndexesCommand],+ providers: [+ DropChannelStandardObjectsCommand,+ BackfillRelationJoinColumnIndexesCommand,+ ],})export class V2_8_UpgradeVersionCommandModule {}diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-8/2-8-workspace-command-1798000050000-drop-channel-standard-objects.command.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-8/2-8-workspace-command-1798000050000-drop-channel-standard-objects.command.tsnew file mode 100644index 00000000000..8192ce60435--- /dev/null+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-8/2-8-workspace-command-1798000050000-drop-channel-standard-objects.command.ts@@ -0,0 +1,119 @@+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 FlatObjectMetadata } from 'src/engine/metadata-modules/flat-object-metadata/types/flat-object-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 CALENDAR_CHANNEL_OBJECT_UNIVERSAL_IDENTIFIER =+ '20202020-e8f2-40e1-a39c-c0e0039c5034';++const MESSAGE_CHANNEL_OBJECT_UNIVERSAL_IDENTIFIER =+ '20202020-fe8c-40bc-a681-b80b771449b7';++const MESSAGE_FOLDER_OBJECT_UNIVERSAL_IDENTIFIER =+ '20202020-4955-4fd9-8e59-2dbd373f2a46';++const OBJECT_UNIVERSAL_IDENTIFIERS = [+ CALENDAR_CHANNEL_OBJECT_UNIVERSAL_IDENTIFIER,+ MESSAGE_CHANNEL_OBJECT_UNIVERSAL_IDENTIFIER,+ MESSAGE_FOLDER_OBJECT_UNIVERSAL_IDENTIFIER,+];++@RegisteredWorkspaceCommand('2.8.0', 1798000050000)+@Command({+ name: 'upgrade:2-8:drop-channel-standard-objects',+ description:+ 'Drop calendarChannel, messageChannel, messageFolder standard objects from workspace schemas (moved to core metadata)',+})+export class DropChannelStandardObjectsCommand 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<void> {+ const isDryRun = options.dryRun ?? false;++ this.logger.log(+ `${isDryRun ? '[DRY RUN] ' : ''}Starting channel standard objects removal for workspace ${workspaceId}`,+ );++ const { flatObjectMetadataMaps } =+ await this.workspaceCacheService.getOrRecompute(workspaceId, [+ 'flatObjectMetadataMaps',+ ]);++ const objectsToDelete = OBJECT_UNIVERSAL_IDENTIFIERS.map(+ (universalIdentifier) =>+ findFlatEntityByUniversalIdentifier<FlatObjectMetadata>({+ flatEntityMaps: flatObjectMetadataMaps,+ universalIdentifier,+ }),+ ).filter((object): object is FlatObjectMetadata => object !== undefined);++ if (objectsToDelete.length === 0) {+ this.logger.log(+ `Channel standard objects already absent for workspace ${workspaceId}`,+ );++ return;+ }++ if (isDryRun) {+ this.logger.log(+ `[DRY RUN] Would delete ${objectsToDelete.length} channel standard objects for workspace ${workspaceId}`,+ );++ return;+ }++ const { twentyStandardFlatApplication } =+ await this.applicationService.findWorkspaceTwentyStandardAndCustomApplicationOrThrow(+ { workspaceId },+ );++ const validateAndBuildResult =+ await this.workspaceMigrationValidateBuildAndRunService.validateBuildAndRunWorkspaceMigration(+ {+ isSystemBuild: true,+ allFlatEntityOperationByMetadataName: {+ objectMetadata: {+ flatEntityToCreate: [],+ flatEntityToDelete: objectsToDelete,+ flatEntityToUpdate: [],+ },+ },+ workspaceId,+ applicationUniversalIdentifier:+ twentyStandardFlatApplication.universalIdentifier,+ },+ );++ if (validateAndBuildResult.status === 'fail') {+ this.logger.error(+ `Failed to delete channel standard objects:\n${JSON.stringify(validateAndBuildResult, null, 2)}`,+ );++ throw new Error(+ `Failed to delete channel standard objects for workspace ${workspaceId}`,+ );+ }++ this.logger.log(+ `Deleted ${objectsToDelete.length} channel standard objects for workspace ${workspaceId}`,+ );+ }+}diff --git a/packages/twenty-server/src/engine/metadata-modules/connected-account/connected-account-metadata.service.ts b/packages/twenty-server/src/engine/metadata-modules/connected-account/connected-account-metadata.service.tsindex 2a413aea9ca..f3a229827f8 100644--- a/packages/twenty-server/src/engine/metadata-modules/connected-account/connected-account-metadata.service.ts+++ b/packages/twenty-server/src/engine/metadata-modules/connected-account/connected-account-metadata.service.ts@@ -1,10 +1,8 @@import { Injectable, Logger } from '@nestjs/common';import { InjectRepository } from '@nestjs/typeorm';-import { STANDARD_OBJECTS } from 'twenty-shared/metadata';import { Repository } from 'typeorm';-import { DatabaseEventAction } from 'src/engine/api/graphql/graphql-query-runner/enums/database-event-action';import { AppOAuthRevokeService } from 'src/engine/core-modules/application/connection-provider/refresh/services/app-oauth-revoke.service';import { CalendarChannelEntity } from 'src/engine/metadata-modules/calendar-channel/entities/calendar-channel.entity';import {@@ -12,12 +10,7 @@ import {ConnectedAccountExceptionCode,} from 'src/engine/metadata-modules/connected-account/connected-account.exception';import { ConnectedAccountEntity } from 'src/engine/metadata-modules/connected-account/entities/connected-account.entity';-import { WorkspaceManyOrAllFlatEntityMapsCacheService } from 'src/engine/metadata-modules/flat-entity/services/workspace-many-or-all-flat-entity-maps-cache.service';-import { findFlatEntityByUniversalIdentifierOrThrow } from 'src/engine/metadata-modules/flat-entity/utils/find-flat-entity-by-universal-identifier-or-throw.util';import { MessageChannelEntity } from 'src/engine/metadata-modules/message-channel/entities/message-channel.entity';-import { GlobalWorkspaceOrmManager } from 'src/engine/twenty-orm/global-workspace-datasource/global-workspace-orm.manager';-import { buildSystemAuthContext } from 'src/engine/twenty-orm/utils/build-system-auth-context.util';-import { WorkspaceEventEmitter } from 'src/engine/workspace-event-emitter/workspace-event-emitter';@Injectable()export class ConnectedAccountMetadataService {@@ -30,9 +23,6 @@ export class ConnectedAccountMetadataService {private readonly calendarChannelRepository: Repository<CalendarChannelEntity>,@InjectRepository(MessageChannelEntity)private readonly messageChannelRepository: Repository<MessageChannelEntity>,- private readonly globalWorkspaceOrmManager: GlobalWorkspaceOrmManager,- private readonly workspaceEventEmitter: WorkspaceEventEmitter,- private readonly workspaceManyOrAllFlatEntityMapsCacheService: WorkspaceManyOrAllFlatEntityMapsCacheService,private readonly appOAuthRevokeService: AppOAuthRevokeService,) {}@@ -158,93 +148,22 @@ export class ConnectedAccountMetadataService {where: { id, workspaceId },});- const authContext = buildSystemAuthContext(workspaceId);-- const [messageChannels, calendarChannels] = await Promise.all([- this.globalWorkspaceOrmManager.executeInWorkspaceContext(- async () =>- this.messageChannelRepository.find({- where: { connectedAccountId: id, workspaceId },- }),- authContext,- ),- this.globalWorkspaceOrmManager.executeInWorkspaceContext(- async () =>- this.calendarChannelRepository.find({- where: { connectedAccountId: id, workspaceId },- }),- authContext,- ),+ const [messageChannelCount, calendarChannelCount] = await Promise.all([+ this.messageChannelRepository.count({+ where: { connectedAccountId: id, workspaceId },+ }),+ this.calendarChannelRepository.count({+ where: { connectedAccountId: id, workspaceId },+ }),]);this.logger.log(- `WorkspaceId: ${workspaceId} Deleting connected account ${id} with ${messageChannels.length} message channel(s) and ${calendarChannels.length} calendar channel(s)`,+ `WorkspaceId: ${workspaceId} Deleting connected account ${id} with ${messageChannelCount} message channel(s) and ${calendarChannelCount} calendar channel(s)`,);- // Best-effort revocation against the provider's revokeEndpoint (no-op- // for non-app providers and for app providers without a revokeEndpoint- // declared). We don't want a slow or failing provider to block the- // local disconnect, so any error is swallowed inside the service.await this.appOAuthRevokeService.revokeIfApp(connectedAccount);- await this.globalWorkspaceOrmManager.executeInWorkspaceContext(async () => {- await this.repository.delete({- id,- workspaceId,- });- }, authContext);-- const { flatObjectMetadataMaps } =- await this.workspaceManyOrAllFlatEntityMapsCacheService.getOrRecomputeManyOrAllFlatEntityMaps(- {- workspaceId,- flatMapsKeys: ['flatObjectMetadataMaps'],- },- );-- if (messageChannels.length > 0) {- const flatMessageChannelMetadata =- findFlatEntityByUniversalIdentifierOrThrow({- flatEntityMaps: flatObjectMetadataMaps,- universalIdentifier:- STANDARD_OBJECTS.messageChannel.universalIdentifier,- });-- this.workspaceEventEmitter.emitDatabaseBatchEvent({- objectMetadataNameSingular: 'messageChannel',- action: DatabaseEventAction.DESTROYED,- objectMetadata: flatMessageChannelMetadata,- events: messageChannels.map((messageChannel) => ({- recordId: messageChannel.id,- properties: {- before: messageChannel,- },- })),- workspaceId,- });- }-- if (calendarChannels.length > 0) {- const flatCalendarChannelMetadata =- findFlatEntityByUniversalIdentifierOrThrow({- flatEntityMaps: flatObjectMetadataMaps,- universalIdentifier:- STANDARD_OBJECTS.calendarChannel.universalIdentifier,- });-- this.workspaceEventEmitter.emitDatabaseBatchEvent({- objectMetadataNameSingular: 'calendarChannel',- action: DatabaseEventAction.DESTROYED,- objectMetadata: flatCalendarChannelMetadata,- events: calendarChannels.map((calendarChannel) => ({- recordId: calendarChannel.id,- properties: {- before: calendarChannel,- },- })),- workspaceId,- });- }+ await this.repository.delete({ id, workspaceId });return connectedAccount;}diff --git a/packages/twenty-server/src/engine/metadata-modules/message-folder/entities/message-folder.entity.ts b/packages/twenty-server/src/engine/metadata-modules/message-folder/entities/message-folder.entity.tsindex 3588048ac81..727fe077a87 100644--- a/packages/twenty-server/src/engine/metadata-modules/message-folder/entities/message-folder.entity.ts+++ b/packages/twenty-server/src/engine/metadata-modules/message-folder/entities/message-folder.entity.ts@@ -1,3 +1,5 @@+import { registerEnumType } from '@nestjs/graphql';+import {Column,CreateDateColumn,@@ -14,6 +16,10 @@ import { MessageFolderPendingSyncAction } from 'twenty-shared/types';import { MessageChannelEntity } from 'src/engine/metadata-modules/message-channel/entities/message-channel.entity';import { WorkspaceRelatedEntity } from 'src/engine/workspace-manager/types/workspace-related-entity';+registerEnumType(MessageFolderPendingSyncAction, {+ name: 'MessageFolderPendingSyncAction',+});+@Entity({ name: 'messageFolder', schema: 'core' })export class MessageFolderEntity extends WorkspaceRelatedEntity {@PrimaryGeneratedColumn('uuid')diff --git a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/core/constants/calendar-channel-seed-ids.constant.ts b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/core/constants/calendar-channel-seed-ids.constant.tsnew file mode 100644index 00000000000..2fd273695ac--- /dev/null+++ b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/core/constants/calendar-channel-seed-ids.constant.ts@@ -0,0 +1,8 @@+export const CALENDAR_CHANNEL_DATA_SEED_IDS = {+ TIM: '20202020-a40f-4faf-bb9f-c6f9945b8203',+ JONY: '20202020-a40f-4faf-bb9f-c6f9945b8204',+ PHIL: '20202020-a40f-4faf-bb9f-c6f9945b8205',+ JANE: '20202020-a40f-4faf-bb9f-c6f9945b8208',+ COMPANY_MAIN: '20202020-a40f-4faf-bb9f-c6f9945b8206',+ TEAM_CALENDAR: '20202020-a40f-4faf-bb9f-c6f9945b8207',+} as const;diff --git a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/core/constants/message-channel-seed-ids.constant.ts b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/core/constants/message-channel-seed-ids.constant.tsnew file mode 100644index 00000000000..c5d67b4b120--- /dev/null+++ b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/core/constants/message-channel-seed-ids.constant.ts@@ -0,0 +1,8 @@+export const MESSAGE_CHANNEL_DATA_SEED_IDS = {+ TIM: '20202020-9b80-4c2c-a597-383db48de1d6',+ JONY: '20202020-5ffe-4b32-814a-983d5e4911cd',+ PHIL: '20202020-e2f1-49b5-85d2-5d3a3386990c',+ JANE: '20202020-8c4d-4e71-a672-2e6a8c9f1b3d',+ SUPPORT: '20202020-e2f1-49b5-85d2-5d3a3386990d',+ SALES: '20202020-e2f1-49b5-85d2-5d3a3386990e',+} as const;diff --git a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/core/constants/message-folder-seed-ids.constant.ts b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/core/constants/message-folder-seed-ids.constant.tsnew file mode 100644index 00000000000..cdf21795cd3--- /dev/null+++ b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/core/constants/message-folder-seed-ids.constant.ts@@ -0,0 +1,7 @@+export const MESSAGE_FOLDER_DATA_SEED_IDS = {+ TIM_INBOX: '20202020-f1a2-4b3c-8d4e-5f6a7b8c9d0e',+ TIM_SENT: '20202020-f1a2-4b3c-8d4e-5f6a7b8c9d1e',+ JONY_INBOX: '20202020-f1a2-4b3c-8d4e-5f6a7b8c9d2e',+ JANE_INBOX: '20202020-f1a2-4b3c-8d4e-5f6a7b8c9d3e',+ JANE_SENT: '20202020-f1a2-4b3c-8d4e-5f6a7b8c9d4e',+} as const;diff --git a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/core/utils/seed-metadata-entities.util.ts b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/core/utils/seed-metadata-entities.util.tsindex 076a4271ef9..f5dcb0a69c6 100644--- a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/core/utils/seed-metadata-entities.util.ts+++ b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/core/utils/seed-metadata-entities.util.ts@@ -13,10 +13,10 @@ import {SEED_YCOMBINATOR_WORKSPACE_ID,} from 'src/engine/workspace-manager/dev-seeder/core/constants/seeder-workspaces.constant';import { USER_WORKSPACE_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/core/utils/seed-user-workspaces.util';-import { CALENDAR_CHANNEL_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/data/constants/calendar-channel-data-seeds.constant';+import { CALENDAR_CHANNEL_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/core/constants/calendar-channel-seed-ids.constant';+import { MESSAGE_CHANNEL_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/core/constants/message-channel-seed-ids.constant';+import { MESSAGE_FOLDER_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/core/constants/message-folder-seed-ids.constant';import { CONNECTED_ACCOUNT_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/data/constants/connected-account-data-seeds.constant';-import { MESSAGE_CHANNEL_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/data/constants/message-channel-data-seeds.constant';-import { MESSAGE_FOLDER_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/data/constants/message-folder-data-seeds.constant';type SeedMetadataEntitiesArgs = {queryRunner: QueryRunner;@@ -40,7 +40,7 @@ const YC_MESSAGE_CHANNEL_IDS = {JANE: '30303030-8c4d-4e71-a672-2e6a8c9f1b3d',SUPPORT: '30303030-e2f1-49b5-85d2-5d3a3386990d',SALES: '30303030-e2f1-49b5-85d2-5d3a3386990e',-};+} as const;const YC_CALENDAR_CHANNEL_IDS = {TIM: '30303030-a40f-4faf-bb9f-c6f9945b8203',@@ -49,7 +49,7 @@ const YC_CALENDAR_CHANNEL_IDS = {JANE: '30303030-a40f-4faf-bb9f-c6f9945b8208',COMPANY_MAIN: '30303030-a40f-4faf-bb9f-c6f9945b8206',TEAM_CALENDAR: '30303030-a40f-4faf-bb9f-c6f9945b8207',-};+} as const;const YC_MESSAGE_FOLDER_IDS = {TIM_INBOX: '30303030-1234-4567-8901-abcdef012345',@@ -57,22 +57,9 @@ const YC_MESSAGE_FOLDER_IDS = {JONY_INBOX: '30303030-1234-4567-8901-abcdef012346',JANE_INBOX: '30303030-1234-4567-8901-abcdef012347',JANE_SENT: '30303030-1234-4567-8901-abcdef012348',-};--type WorkspaceSeedIds = {- userWorkspaceIds: {- TIM: string;- JONY: string;- PHIL: string;- JANE: string;- };- connectedAccountIds: typeof CONNECTED_ACCOUNT_DATA_SEED_IDS;- messageChannelIds: typeof MESSAGE_CHANNEL_DATA_SEED_IDS;- calendarChannelIds: typeof CALENDAR_CHANNEL_DATA_SEED_IDS;- messageFolderIds: typeof MESSAGE_FOLDER_DATA_SEED_IDS;-};+} as const;-const getSeedIds = (workspaceId: string): WorkspaceSeedIds => {+const getSeedIds = (workspaceId: string) => {if (workspaceId === SEED_YCOMBINATOR_WORKSPACE_ID) {return {userWorkspaceIds: {diff --git a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/constants/calendar-channel-data-seeds.constant.ts b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/constants/calendar-channel-data-seeds.constant.tsdeleted file mode 100644index 0d707430be0..00000000000--- a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/constants/calendar-channel-data-seeds.constant.ts+++ /dev/null@@ -1,78 +0,0 @@-import { CalendarChannelVisibility } from 'twenty-shared/types';--type CalendarChannelDataSeed = {- id: string;- handle: string;- visibility: CalendarChannelVisibility;- isContactAutoCreationEnabled: boolean;- isSyncEnabled: boolean;-};--export const CALENDAR_CHANNEL_DATA_SEED_COLUMNS: (keyof CalendarChannelDataSeed)[] =- [- 'id',- 'handle',- 'visibility',- 'isContactAutoCreationEnabled',- 'isSyncEnabled',- ];--const GENERATE_CALENDAR_CHANNEL_IDS = (): Record<string, string> => {- const CHANNEL_IDS: Record<string, string> = {};-- CHANNEL_IDS['TIM'] = '20202020-a40f-4faf-bb9f-c6f9945b8203';- CHANNEL_IDS['JONY'] = '20202020-a40f-4faf-bb9f-c6f9945b8204';- CHANNEL_IDS['PHIL'] = '20202020-a40f-4faf-bb9f-c6f9945b8205';- CHANNEL_IDS['JANE'] = '20202020-a40f-4faf-bb9f-c6f9945b8208';- CHANNEL_IDS['COMPANY_MAIN'] = '20202020-a40f-4faf-bb9f-c6f9945b8206';- CHANNEL_IDS['TEAM_CALENDAR'] = '20202020-a40f-4faf-bb9f-c6f9945b8207';-- return CHANNEL_IDS;-};--export const CALENDAR_CHANNEL_DATA_SEED_IDS = GENERATE_CALENDAR_CHANNEL_IDS();--export const CALENDAR_CHANNEL_DATA_SEEDS: CalendarChannelDataSeed[] = [- {- id: CALENDAR_CHANNEL_DATA_SEED_IDS.TIM,- handle: '[email protected]',- visibility: CalendarChannelVisibility.METADATA,- isContactAutoCreationEnabled: true,- isSyncEnabled: false,- },- {- id: CALENDAR_CHANNEL_DATA_SEED_IDS.JONY,- handle: '[email protected]',- visibility: CalendarChannelVisibility.SHARE_EVERYTHING,- isContactAutoCreationEnabled: true,- isSyncEnabled: false,- },- {- id: CALENDAR_CHANNEL_DATA_SEED_IDS.PHIL,- handle: '[email protected]',- visibility: CalendarChannelVisibility.METADATA,- isContactAutoCreationEnabled: true,- isSyncEnabled: false,- },- {- id: CALENDAR_CHANNEL_DATA_SEED_IDS.JANE,- handle: '[email protected]',- visibility: CalendarChannelVisibility.SHARE_EVERYTHING,- isContactAutoCreationEnabled: true,- isSyncEnabled: false,- },- {- id: CALENDAR_CHANNEL_DATA_SEED_IDS.COMPANY_MAIN,- handle: '[email protected]',- visibility: CalendarChannelVisibility.SHARE_EVERYTHING,- isContactAutoCreationEnabled: true,- isSyncEnabled: false,- },- {- id: CALENDAR_CHANNEL_DATA_SEED_IDS.TEAM_CALENDAR,- handle: '[email protected]',- visibility: CalendarChannelVisibility.SHARE_EVERYTHING,- isContactAutoCreationEnabled: true,- isSyncEnabled: false,- },-];diff --git a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/constants/calendar-channel-event-association-data-seeds.constant.ts b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/constants/calendar-channel-event-association-data-seeds.constant.tsindex e6696a5f5b5..01537310570 100644--- a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/constants/calendar-channel-event-association-data-seeds.constant.ts+++ b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/constants/calendar-channel-event-association-data-seeds.constant.ts@@ -1,4 +1,4 @@-import { CALENDAR_CHANNEL_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/data/constants/calendar-channel-data-seeds.constant';+import { CALENDAR_CHANNEL_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/core/constants/calendar-channel-seed-ids.constant';import { CALENDAR_EVENT_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/data/constants/calendar-event-data-seeds.constant';type CalendarChannelEventAssociationDataSeed = {diff --git a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/constants/message-channel-data-seeds.constant.ts b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/constants/message-channel-data-seeds.constant.tsdeleted file mode 100644index f4e14f1337e..00000000000--- a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/constants/message-channel-data-seeds.constant.ts+++ /dev/null@@ -1,122 +0,0 @@-import {- MessageChannelSyncStage,- MessageChannelType,- MessageChannelVisibility,-} from 'twenty-shared/types';--type MessageChannelDataSeed = {- id: string;- createdAt: Date;- updatedAt: Date;- deletedAt: Date | null;- isContactAutoCreationEnabled: boolean;- type: MessageChannelType;- handle: string;- isSyncEnabled: boolean;- visibility: MessageChannelVisibility;- syncStage: MessageChannelSyncStage;-};--export const MESSAGE_CHANNEL_DATA_SEED_COLUMNS: (keyof MessageChannelDataSeed)[] =- [- 'id',- 'createdAt',- 'updatedAt',- 'deletedAt',- 'isContactAutoCreationEnabled',- 'type',- 'handle',- 'isSyncEnabled',- 'visibility',- 'syncStage',- ];--const GENERATE_MESSAGE_CHANNEL_IDS = (): Record<string, string> => {- const CHANNEL_IDS: Record<string, string> = {};-- CHANNEL_IDS['TIM'] = '20202020-9b80-4c2c-a597-383db48de1d6';- CHANNEL_IDS['JONY'] = '20202020-5ffe-4b32-814a-983d5e4911cd';- CHANNEL_IDS['PHIL'] = '20202020-e2f1-49b5-85d2-5d3a3386990c';- CHANNEL_IDS['JANE'] = '20202020-8c4d-4e71-a672-2e6a8c9f1b3d';- CHANNEL_IDS['SUPPORT'] = '20202020-e2f1-49b5-85d2-5d3a3386990d';- CHANNEL_IDS['SALES'] = '20202020-e2f1-49b5-85d2-5d3a3386990e';-- return CHANNEL_IDS;-};--export const MESSAGE_CHANNEL_DATA_SEED_IDS = GENERATE_MESSAGE_CHANNEL_IDS();--export const MESSAGE_CHANNEL_DATA_SEEDS: MessageChannelDataSeed[] = [- {- id: MESSAGE_CHANNEL_DATA_SEED_IDS.TIM,- createdAt: new Date(),- updatedAt: new Date(),- deletedAt: null,- isContactAutoCreationEnabled: true,- type: MessageChannelType.EMAIL,- handle: '[email protected]',- isSyncEnabled: false,- visibility: MessageChannelVisibility.SHARE_EVERYTHING,- syncStage: MessageChannelSyncStage.MESSAGE_LIST_FETCH_PENDING,- },- {- id: MESSAGE_CHANNEL_DATA_SEED_IDS.JONY,- createdAt: new Date(),- updatedAt: new Date(),- deletedAt: null,- isContactAutoCreationEnabled: true,- type: MessageChannelType.EMAIL,- handle: '[email protected]',- isSyncEnabled: false,- visibility: MessageChannelVisibility.SHARE_EVERYTHING,- syncStage: MessageChannelSyncStage.MESSAGE_LIST_FETCH_PENDING,- },- {- id: MESSAGE_CHANNEL_DATA_SEED_IDS.PHIL,- createdAt: new Date(),- updatedAt: new Date(),- deletedAt: null,- isContactAutoCreationEnabled: true,- type: MessageChannelType.EMAIL,- handle: '[email protected]',- isSyncEnabled: false,- visibility: MessageChannelVisibility.SHARE_EVERYTHING,- syncStage: MessageChannelSyncStage.MESSAGE_LIST_FETCH_PENDING,- },- {- id: MESSAGE_CHANNEL_DATA_SEED_IDS.JANE,- createdAt: new Date(),- updatedAt: new Date(),- deletedAt: null,- isContactAutoCreationEnabled: true,- type: MessageChannelType.EMAIL,- handle: '[email protected]',- isSyncEnabled: false,- visibility: MessageChannelVisibility.SHARE_EVERYTHING,- syncStage: MessageChannelSyncStage.MESSAGE_LIST_FETCH_PENDING,- },- {- id: MESSAGE_CHANNEL_DATA_SEED_IDS.SUPPORT,- createdAt: new Date(),- updatedAt: new Date(),- deletedAt: null,- isContactAutoCreationEnabled: true,- type: MessageChannelType.EMAIL,- handle: '[email protected]',- isSyncEnabled: false,- visibility: MessageChannelVisibility.SHARE_EVERYTHING,- syncStage: MessageChannelSyncStage.MESSAGE_LIST_FETCH_PENDING,- },- {- id: MESSAGE_CHANNEL_DATA_SEED_IDS.SALES,- createdAt: new Date(),- updatedAt: new Date(),- deletedAt: null,- isContactAutoCreationEnabled: true,- type: MessageChannelType.EMAIL,- handle: '[email protected]',- isSyncEnabled: false,- visibility: MessageChannelVisibility.SHARE_EVERYTHING,- syncStage: MessageChannelSyncStage.MESSAGE_LIST_FETCH_PENDING,- },-];diff --git a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/constants/message-channel-message-association-data-seeds.constant.ts b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/constants/message-channel-message-association-data-seeds.constant.tsindex b927a4c40d0..137ae8c2b4c 100644--- a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/constants/message-channel-message-association-data-seeds.constant.ts+++ b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/constants/message-channel-message-association-data-seeds.constant.ts@@ -1,4 +1,4 @@-import { MESSAGE_CHANNEL_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/data/constants/message-channel-data-seeds.constant';+import { MESSAGE_CHANNEL_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/core/constants/message-channel-seed-ids.constant';import { MESSAGE_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/data/constants/message-data-seeds.constant';import { MessageDirection } from 'src/modules/messaging/common/enums/message-direction.enum';diff --git a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/constants/message-folder-data-seeds.constant.ts b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/constants/message-folder-data-seeds.constant.tsdeleted file mode 100644index 2a3ed2d35d1..00000000000--- a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/constants/message-folder-data-seeds.constant.ts+++ /dev/null@@ -1,94 +0,0 @@-import { MessageFolderPendingSyncAction } from 'twenty-shared/types';--import { MESSAGE_CHANNEL_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/data/constants/message-channel-data-seeds.constant';--type MessageFolderDataSeed = {- id: string;- createdAt: Date;- updatedAt: Date;- deletedAt: Date | null;- name: string;- isSynced: boolean;- isSentFolder: boolean;- messageChannelId: string;- pendingSyncAction: MessageFolderPendingSyncAction;-};--export const MESSAGE_FOLDER_DATA_SEED_COLUMNS: (keyof MessageFolderDataSeed)[] =- [- 'id',- 'createdAt',- 'updatedAt',- 'deletedAt',- 'name',- 'isSynced',- 'isSentFolder',- 'messageChannelId',- 'pendingSyncAction',- ];--export const MESSAGE_FOLDER_DATA_SEED_IDS = {- TIM_INBOX: '20202020-f1a2-4b3c-8d4e-5f6a7b8c9d0e',- TIM_SENT: '20202020-f1a2-4b3c-8d4e-5f6a7b8c9d1e',- JONY_INBOX: '20202020-f1a2-4b3c-8d4e-5f6a7b8c9d2e',- JANE_INBOX: '20202020-f1a2-4b3c-8d4e-5f6a7b8c9d3e',- JANE_SENT: '20202020-f1a2-4b3c-8d4e-5f6a7b8c9d4e',-};--export const MESSAGE_FOLDER_DATA_SEEDS: MessageFolderDataSeed[] = [- {- id: MESSAGE_FOLDER_DATA_SEED_IDS.TIM_INBOX,- createdAt: new Date(),- updatedAt: new Date(),- deletedAt: null,- name: 'INBOX',- isSynced: true,- isSentFolder: false,- messageChannelId: MESSAGE_CHANNEL_DATA_SEED_IDS.TIM,- pendingSyncAction: MessageFolderPendingSyncAction.NONE,- },- {- id: MESSAGE_FOLDER_DATA_SEED_IDS.TIM_SENT,- createdAt: new Date(),- updatedAt: new Date(),- deletedAt: null,- name: 'Sent',- isSynced: true,- isSentFolder: true,- messageChannelId: MESSAGE_CHANNEL_DATA_SEED_IDS.TIM,- pendingSyncAction: MessageFolderPendingSyncAction.NONE,- },- {- id: MESSAGE_FOLDER_DATA_SEED_IDS.JONY_INBOX,- createdAt: new Date(),- updatedAt: new Date(),- deletedAt: null,- name: 'INBOX',- isSynced: true,- isSentFolder: false,- messageChannelId: MESSAGE_CHANNEL_DATA_SEED_IDS.JONY,- pendingSyncAction: MessageFolderPendingSyncAction.NONE,- },- {- id: MESSAGE_FOLDER_DATA_SEED_IDS.JANE_INBOX,- createdAt: new Date(),- updatedAt: new Date(),- deletedAt: null,- name: 'INBOX',- isSynced: true,- isSentFolder: false,- messageChannelId: MESSAGE_CHANNEL_DATA_SEED_IDS.JANE,- pendingSyncAction: MessageFolderPendingSyncAction.NONE,- },- {- id: MESSAGE_FOLDER_DATA_SEED_IDS.JANE_SENT,- createdAt: new Date(),- updatedAt: new Date(),- deletedAt: null,- name: 'Sent',- isSynced: true,- isSentFolder: true,- messageChannelId: MESSAGE_CHANNEL_DATA_SEED_IDS.JANE,- pendingSyncAction: MessageFolderPendingSyncAction.NONE,- },-];diff --git a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/services/dev-seeder-data.service.ts b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/services/dev-seeder-data.service.tsindex cd6322cff73..71ef809376d 100644--- a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/services/dev-seeder-data.service.ts+++ b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/services/dev-seeder-data.service.ts@@ -45,10 +45,6 @@ import {EMPLOYMENT_HISTORY_DATA_SEED_COLUMNS,EMPLOYMENT_HISTORY_DATA_SEEDS,} from 'src/engine/workspace-manager/dev-seeder/data/constants/employment-history-data-seeds.constant';-import {- MESSAGE_CHANNEL_DATA_SEED_COLUMNS,- MESSAGE_CHANNEL_DATA_SEEDS,-} from 'src/engine/workspace-manager/dev-seeder/data/constants/message-channel-data-seeds.constant';import {MESSAGE_CHANNEL_MESSAGE_ASSOCIATION_DATA_SEED_COLUMNS,MESSAGE_CHANNEL_MESSAGE_ASSOCIATION_DATA_SEEDS,@@ -173,11 +169,6 @@ const getRecordSeedsBatches = (pgColumns: PET_DATA_SEED_COLUMNS,recordSeeds: PET_DATA_SEEDS,},- {- tableName: 'messageChannel',- pgColumns: MESSAGE_CHANNEL_DATA_SEED_COLUMNS,- recordSeeds: MESSAGE_CHANNEL_DATA_SEEDS,- },];// Batch 4: Depends on person/company/messageChannel or independentdiff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/standard-page-layout.constant.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/standard-page-layout.constant.tsindex 4d37e5616e2..35feded6cff 100644--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/standard-page-layout.constant.ts+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/standard-page-layout.constant.ts@@ -1,14 +1,11 @@import {STANDARD_BLOCKLIST_PAGE_LAYOUT_CONFIG,STANDARD_CALENDAR_CHANNEL_EVENT_ASSOCIATION_PAGE_LAYOUT_CONFIG,- STANDARD_CALENDAR_CHANNEL_PAGE_LAYOUT_CONFIG,STANDARD_CALENDAR_EVENT_PARTICIPANT_PAGE_LAYOUT_CONFIG,STANDARD_COMPANY_PAGE_LAYOUT_CONFIG,STANDARD_DASHBOARD_PAGE_LAYOUT_CONFIG,STANDARD_MESSAGE_CHANNEL_MESSAGE_ASSOCIATION_MESSAGE_FOLDER_PAGE_LAYOUT_CONFIG,STANDARD_MESSAGE_CHANNEL_MESSAGE_ASSOCIATION_PAGE_LAYOUT_CONFIG,- STANDARD_MESSAGE_CHANNEL_PAGE_LAYOUT_CONFIG,- STANDARD_MESSAGE_FOLDER_PAGE_LAYOUT_CONFIG,STANDARD_MESSAGE_PARTICIPANT_PAGE_LAYOUT_CONFIG,STANDARD_MESSAGE_THREAD_PAGE_LAYOUT_CONFIG,STANDARD_NOTE_PAGE_LAYOUT_CONFIG,@@ -25,18 +22,15 @@ import { type StandardRecordPageLayouts } from 'src/engine/workspace-manager/tweexport const STANDARD_PAGE_LAYOUTS = {myFirstDashboard: STANDARD_DASHBOARD_PAGE_LAYOUT_CONFIG,blocklistRecordPage: STANDARD_BLOCKLIST_PAGE_LAYOUT_CONFIG,- calendarChannelRecordPage: STANDARD_CALENDAR_CHANNEL_PAGE_LAYOUT_CONFIG,calendarChannelEventAssociationRecordPage:STANDARD_CALENDAR_CHANNEL_EVENT_ASSOCIATION_PAGE_LAYOUT_CONFIG,calendarEventParticipantRecordPage:STANDARD_CALENDAR_EVENT_PARTICIPANT_PAGE_LAYOUT_CONFIG,companyRecordPage: STANDARD_COMPANY_PAGE_LAYOUT_CONFIG,- messageChannelRecordPage: STANDARD_MESSAGE_CHANNEL_PAGE_LAYOUT_CONFIG,messageChannelMessageAssociationRecordPage:STANDARD_MESSAGE_CHANNEL_MESSAGE_ASSOCIATION_PAGE_LAYOUT_CONFIG,messageChannelMessageAssociationMessageFolderRecordPage:STANDARD_MESSAGE_CHANNEL_MESSAGE_ASSOCIATION_MESSAGE_FOLDER_PAGE_LAYOUT_CONFIG,- messageFolderRecordPage: STANDARD_MESSAGE_FOLDER_PAGE_LAYOUT_CONFIG,messageParticipantRecordPage: STANDARD_MESSAGE_PARTICIPANT_PAGE_LAYOUT_CONFIG,messageThreadRecordPage: STANDARD_MESSAGE_THREAD_PAGE_LAYOUT_CONFIG,noteRecordPage: STANDARD_NOTE_PAGE_LAYOUT_CONFIG,diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-object-metadata-related-entity-ids.util.spec.ts.snap b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-object-metadata-related-entity-ids.util.spec.ts.snapindex cb2f8b2bd61..fbacf7bcffd 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@@ -182,121 +182,6 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object},},},- "calendarChannel": {- "fields": {- "contactAutoCreationPolicy": {- "id": "00000000-0000-0000-0000-000000000087",- },- "createdAt": {- "id": "00000000-0000-0000-0000-000000000081",- },- "createdBy": {- "id": "00000000-0000-0000-0000-000000000095",- },- "deletedAt": {- "id": "00000000-0000-0000-0000-000000000083",- },- "handle": {- "id": "00000000-0000-0000-0000-000000000084",- },- "id": {- "id": "00000000-0000-0000-0000-000000000080",- },- "isContactAutoCreationEnabled": {- "id": "00000000-0000-0000-0000-000000000086",- },- "isSyncEnabled": {- "id": "00000000-0000-0000-0000-000000000088",- },- "position": {- "id": "00000000-0000-0000-0000-000000000097",- },- "searchVector": {- "id": "00000000-0000-0000-0000-000000000098",- },- "syncCursor": {- "id": "00000000-0000-0000-0000-000000000089",- },- "syncStage": {- "id": "00000000-0000-0000-0000-000000000092",- },- "syncStageStartedAt": {- "id": "00000000-0000-0000-0000-000000000093",- },- "syncStatus": {- "id": "00000000-0000-0000-0000-000000000091",- },- "syncedAt": {- "id": "00000000-0000-0000-0000-000000000094",- },- "throttleFailureCount": {- "id": "00000000-0000-0000-0000-000000000090",- },- "updatedAt": {- "id": "00000000-0000-0000-0000-000000000082",- },- "updatedBy": {- "id": "00000000-0000-0000-0000-000000000096",- },- "visibility": {- "id": "00000000-0000-0000-0000-000000000085",- },- },- "id": "00000000-0000-0000-0000-000000000113",- "views": {- "allCalendarChannels": {- "id": "00000000-0000-0000-0000-000000000104",- "viewFieldGroups": {},- "viewFields": {- "createdAt": {- "id": "00000000-0000-0000-0000-000000000103",- },- "handle": {- "id": "00000000-0000-0000-0000-000000000099",- },- "isSyncEnabled": {- "id": "00000000-0000-0000-0000-000000000101",- },- "syncStatus": {- "id": "00000000-0000-0000-0000-000000000102",- },- "visibility": {- "id": "00000000-0000-0000-0000-000000000100",- },- },- "viewGroups": {},- },- "calendarChannelRecordPageFields": {- "id": "00000000-0000-0000-0000-000000000112",- "viewFieldGroups": {- "general": {- "id": "00000000-0000-0000-0000-000000000110",- },- "system": {- "id": "00000000-0000-0000-0000-000000000111",- },- },- "viewFields": {- "createdAt": {- "id": "00000000-0000-0000-0000-000000000108",- },- "createdBy": {- "id": "00000000-0000-0000-0000-000000000109",- },- "isSyncEnabled": {- "id": "00000000-0000-0000-0000-000000000106",- },- "syncStatus": {- "id": "00000000-0000-0000-0000-000000000107",- },- "visibility": {- "id": "00000000-0000-0000-0000-000000000105",- },- },- "viewGroups": {},- },- },- },"calendarChannelEventAssociation": {"fields": {"calendarChannelId": {@@ -391,101 +276,101 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"calendarEvent": {"fields": {"calendarChannelEventAssociations": {- "id": "00000000-0000-0000-0000-000000000167",+ "id": "00000000-0000-0000-0000-000000000133",},"calendarEventParticipants": {- "id": "00000000-0000-0000-0000-000000000168",+ "id": "00000000-0000-0000-0000-000000000134",},"conferenceLink": {- "id": "00000000-0000-0000-0000-000000000166",+ "id": "00000000-0000-0000-0000-000000000132",},"conferenceSolution": {- "id": "00000000-0000-0000-0000-000000000165",+ "id": "00000000-0000-0000-0000-000000000131",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000152",+ "id": "00000000-0000-0000-0000-000000000118",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000169",+ "id": "00000000-0000-0000-0000-000000000135",},"deletedAt": {- "id": "00000000-0000-0000-0000-000000000154",+ "id": "00000000-0000-0000-0000-000000000120",},"description": {- "id": "00000000-0000-0000-0000-000000000162",+ "id": "00000000-0000-0000-0000-000000000128",},"endsAt": {- "id": "00000000-0000-0000-0000-000000000159",+ "id": "00000000-0000-0000-0000-000000000125",},"externalCreatedAt": {- "id": "00000000-0000-0000-0000-000000000160",+ "id": "00000000-0000-0000-0000-000000000126",},"externalUpdatedAt": {- "id": "00000000-0000-0000-0000-000000000161",+ "id": "00000000-0000-0000-0000-000000000127",},"iCalUid": {- "id": "00000000-0000-0000-0000-000000000164",+ "id": "00000000-0000-0000-0000-000000000130",},"id": {- "id": "00000000-0000-0000-0000-000000000151",+ "id": "00000000-0000-0000-0000-000000000117",},"isCanceled": {- "id": "00000000-0000-0000-0000-000000000156",+ "id": "00000000-0000-0000-0000-000000000122",},"isFullDay": {- "id": "00000000-0000-0000-0000-000000000157",+ "id": "00000000-0000-0000-0000-000000000123",},"location": {- "id": "00000000-0000-0000-0000-000000000163",+ "id": "00000000-0000-0000-0000-000000000129",},"position": {- "id": "00000000-0000-0000-0000-000000000171",+ "id": "00000000-0000-0000-0000-000000000137",},"searchVector": {- "id": "00000000-0000-0000-0000-000000000172",+ "id": "00000000-0000-0000-0000-000000000138",},"startsAt": {- "id": "00000000-0000-0000-0000-000000000158",+ "id": "00000000-0000-0000-0000-000000000124",},"title": {- "id": "00000000-0000-0000-0000-000000000155",+ "id": "00000000-0000-0000-0000-000000000121",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000153",+ "id": "00000000-0000-0000-0000-000000000119",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000170",+ "id": "00000000-0000-0000-0000-000000000136",},},- "id": "00000000-0000-0000-0000-000000000182",+ "id": "00000000-0000-0000-0000-000000000148","views": {"allCalendarEvents": {- "id": "00000000-0000-0000-0000-000000000181",+ "id": "00000000-0000-0000-0000-000000000147","viewFieldGroups": {},"viewFields": {"conferenceLink": {- "id": "00000000-0000-0000-0000-000000000178",+ "id": "00000000-0000-0000-0000-000000000144",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000180",+ "id": "00000000-0000-0000-0000-000000000146",},"endsAt": {- "id": "00000000-0000-0000-0000-000000000175",+ "id": "00000000-0000-0000-0000-000000000141",},"isCanceled": {- "id": "00000000-0000-0000-0000-000000000179",+ "id": "00000000-0000-0000-0000-000000000145",},"isFullDay": {- "id": "00000000-0000-0000-0000-000000000176",+ "id": "00000000-0000-0000-0000-000000000142",},"location": {- "id": "00000000-0000-0000-0000-000000000177",+ "id": "00000000-0000-0000-0000-000000000143",},"startsAt": {- "id": "00000000-0000-0000-0000-000000000174",+ "id": "00000000-0000-0000-0000-000000000140",},"title": {- "id": "00000000-0000-0000-0000-000000000173",+ "id": "00000000-0000-0000-0000-000000000139",},},"viewGroups": {},@@ -495,121 +380,121 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"calendarEventParticipant": {"fields": {"calendarEvent": {- "id": "00000000-0000-0000-0000-000000000118",+ "id": "00000000-0000-0000-0000-000000000084",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000115",+ "id": "00000000-0000-0000-0000-000000000081",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000125",+ "id": "00000000-0000-0000-0000-000000000091",},"deletedAt": {- "id": "00000000-0000-0000-0000-000000000117",+ "id": "00000000-0000-0000-0000-000000000083",},"displayName": {- "id": "00000000-0000-0000-0000-000000000120",+ "id": "00000000-0000-0000-0000-000000000086",},"handle": {- "id": "00000000-0000-0000-0000-000000000119",+ "id": "00000000-0000-0000-0000-000000000085",},"id": {- "id": "00000000-0000-0000-0000-000000000114",+ "id": "00000000-0000-0000-0000-000000000080",},"isOrganizer": {- "id": "00000000-0000-0000-0000-000000000121",+ "id": "00000000-0000-0000-0000-000000000087",},"person": {- "id": "00000000-0000-0000-0000-000000000123",+ "id": "00000000-0000-0000-0000-000000000089",},"position": {- "id": "00000000-0000-0000-0000-000000000127",+ "id": "00000000-0000-0000-0000-000000000093",},"responseStatus": {- "id": "00000000-0000-0000-0000-000000000122",+ "id": "00000000-0000-0000-0000-000000000088",},"searchVector": {- "id": "00000000-0000-0000-0000-000000000128",+ "id": "00000000-0000-0000-0000-000000000094",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000116",+ "id": "00000000-0000-0000-0000-000000000082",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000126",+ "id": "00000000-0000-0000-0000-000000000092",},"workspaceMember": {- "id": "00000000-0000-0000-0000-000000000124",+ "id": "00000000-0000-0000-0000-000000000090",},},- "id": "00000000-0000-0000-0000-000000000150",+ "id": "00000000-0000-0000-0000-000000000116","views": {"allCalendarEventParticipants": {- "id": "00000000-0000-0000-0000-000000000137",+ "id": "00000000-0000-0000-0000-000000000103","viewFieldGroups": {},"viewFields": {"calendarEvent": {- "id": "00000000-0000-0000-0000-000000000129",+ "id": "00000000-0000-0000-0000-000000000095",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000136",+ "id": "00000000-0000-0000-0000-000000000102",},"displayName": {- "id": "00000000-0000-0000-0000-000000000131",+ "id": "00000000-0000-0000-0000-000000000097",},"handle": {- "id": "00000000-0000-0000-0000-000000000130",+ "id": "00000000-0000-0000-0000-000000000096",},"isOrganizer": {- "id": "00000000-0000-0000-0000-000000000132",+ "id": "00000000-0000-0000-0000-000000000098",},"person": {- "id": "00000000-0000-0000-0000-000000000134",+ "id": "00000000-0000-0000-0000-000000000100",},"responseStatus": {- "id": "00000000-0000-0000-0000-000000000133",+ "id": "00000000-0000-0000-0000-000000000099",},"workspaceMember": {- "id": "00000000-0000-0000-0000-000000000135",+ "id": "00000000-0000-0000-0000-000000000101",},},"viewGroups": {},},"calendarEventParticipantRecordPageFields": {- "id": "00000000-0000-0000-0000-000000000149",+ "id": "00000000-0000-0000-0000-000000000115","viewFieldGroups": {"general": {- "id": "00000000-0000-0000-0000-000000000147",+ "id": "00000000-0000-0000-0000-000000000113",},"system": {- "id": "00000000-0000-0000-0000-000000000148",+ "id": "00000000-0000-0000-0000-000000000114",},},"viewFields": {"calendarEvent": {- "id": "00000000-0000-0000-0000-000000000138",+ "id": "00000000-0000-0000-0000-000000000104",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000145",+ "id": "00000000-0000-0000-0000-000000000111",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000146",+ "id": "00000000-0000-0000-0000-000000000112",},"displayName": {- "id": "00000000-0000-0000-0000-000000000140",+ "id": "00000000-0000-0000-0000-000000000106",},"handle": {- "id": "00000000-0000-0000-0000-000000000139",+ "id": "00000000-0000-0000-0000-000000000105",},"isOrganizer": {- "id": "00000000-0000-0000-0000-000000000141",+ "id": "00000000-0000-0000-0000-000000000107",},"person": {- "id": "00000000-0000-0000-0000-000000000143",+ "id": "00000000-0000-0000-0000-000000000109",},"responseStatus": {- "id": "00000000-0000-0000-0000-000000000142",+ "id": "00000000-0000-0000-0000-000000000108",},"workspaceMember": {- "id": "00000000-0000-0000-0000-000000000144",+ "id": "00000000-0000-0000-0000-000000000110",},},"viewGroups": {},@@ -619,178 +504,178 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"company": {"fields": {"accountOwner": {- "id": "00000000-0000-0000-0000-000000000199",+ "id": "00000000-0000-0000-0000-000000000165",},"address": {- "id": "00000000-0000-0000-0000-000000000189",+ "id": "00000000-0000-0000-0000-000000000155",},"annualRecurringRevenue": {- "id": "00000000-0000-0000-0000-000000000193",+ "id": "00000000-0000-0000-0000-000000000159",},"attachments": {- "id": "00000000-0000-0000-0000-000000000203",+ "id": "00000000-0000-0000-0000-000000000169",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000184",+ "id": "00000000-0000-0000-0000-000000000150",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000196",+ "id": "00000000-0000-0000-0000-000000000162",},"deletedAt": {- "id": "00000000-0000-0000-0000-000000000186",+ "id": "00000000-0000-0000-0000-000000000152",},"domainName": {- "id": "00000000-0000-0000-0000-000000000188",+ "id": "00000000-0000-0000-0000-000000000154",},"employees": {- "id": "00000000-0000-0000-0000-000000000190",+ "id": "00000000-0000-0000-0000-000000000156",},"id": {- "id": "00000000-0000-0000-0000-000000000183",+ "id": "00000000-0000-0000-0000-000000000149",},"idealCustomerProfile": {- "id": "00000000-0000-0000-0000-000000000194",+ "id": "00000000-0000-0000-0000-000000000160",},"linkedinLink": {- "id": "00000000-0000-0000-0000-000000000191",+ "id": "00000000-0000-0000-0000-000000000157",},"name": {- "id": "00000000-0000-0000-0000-000000000187",+ "id": "00000000-0000-0000-0000-000000000153",},"noteTargets": {- "id": "00000000-0000-0000-0000-000000000201",+ "id": "00000000-0000-0000-0000-000000000167",},"opportunities": {- "id": "00000000-0000-0000-0000-000000000202",+ "id": "00000000-0000-0000-0000-000000000168",},"people": {- "id": "00000000-0000-0000-0000-000000000198",+ "id": "00000000-0000-0000-0000-000000000164",},"position": {- "id": "00000000-0000-0000-0000-000000000195",+ "id": "00000000-0000-0000-0000-000000000161",},"searchVector": {- "id": "00000000-0000-0000-0000-000000000205",+ "id": "00000000-0000-0000-0000-000000000171",},"taskTargets": {- "id": "00000000-0000-0000-0000-000000000200",+ "id": "00000000-0000-0000-0000-000000000166",},"timelineActivities": {- "id": "00000000-0000-0000-0000-000000000204",+ "id": "00000000-0000-0000-0000-000000000170",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000185",+ "id": "00000000-0000-0000-0000-000000000151",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000197",+ "id": "00000000-0000-0000-0000-000000000163",},"xLink": {- "id": "00000000-0000-0000-0000-000000000192",+ "id": "00000000-0000-0000-0000-000000000158",},},- "id": "00000000-0000-0000-0000-000000000238",+ "id": "00000000-0000-0000-0000-000000000204","views": {"allCompanies": {- "id": "00000000-0000-0000-0000-000000000214",+ "id": "00000000-0000-0000-0000-000000000180","viewFieldGroups": {},"viewFields": {"accountOwner": {- "id": "00000000-0000-0000-0000-000000000209",+ "id": "00000000-0000-0000-0000-000000000175",},"address": {- "id": "00000000-0000-0000-0000-000000000213",+ "id": "00000000-0000-0000-0000-000000000179",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000210",+ "id": "00000000-0000-0000-0000-000000000176",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000208",+ "id": "00000000-0000-0000-0000-000000000174",},"domainName": {- "id": "00000000-0000-0000-0000-000000000207",+ "id": "00000000-0000-0000-0000-000000000173",},"employees": {- "id": "00000000-0000-0000-0000-000000000211",+ "id": "00000000-0000-0000-0000-000000000177",},"linkedinLink": {- "id": "00000000-0000-0000-0000-000000000212",+ "id": "00000000-0000-0000-0000-000000000178",},"name": {- "id": "00000000-0000-0000-0000-000000000206",+ "id": "00000000-0000-0000-0000-000000000172",},},"viewGroups": {},},"companyRecordPageFields": {- "id": "00000000-0000-0000-0000-000000000237",+ "id": "00000000-0000-0000-0000-000000000203","viewFieldGroups": {"business": {- "id": "00000000-0000-0000-0000-000000000234",+ "id": "00000000-0000-0000-0000-000000000200",},"contact": {- "id": "00000000-0000-0000-0000-000000000235",+ "id": "00000000-0000-0000-0000-000000000201",},"general": {- "id": "00000000-0000-0000-0000-000000000233",+ "id": "00000000-0000-0000-0000-000000000199",},"system": {- "id": "00000000-0000-0000-0000-000000000236",+ "id": "00000000-0000-0000-0000-000000000202",},},"viewFields": {"accountOwner": {- "id": "00000000-0000-0000-0000-000000000216",+ "id": "00000000-0000-0000-0000-000000000182",},"address": {- "id": "00000000-0000-0000-0000-000000000222",+ "id": "00000000-0000-0000-0000-000000000188",},"annualRecurringRevenue": {- "id": "00000000-0000-0000-0000-000000000217",+ "id": "00000000-0000-0000-0000-000000000183",},"attachments": {- "id": "00000000-0000-0000-0000-000000000231",+ "id": "00000000-0000-0000-0000-000000000197",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000223",+ "id": "00000000-0000-0000-0000-000000000189",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000224",+ "id": "00000000-0000-0000-0000-000000000190",},"domainName": {- "id": "00000000-0000-0000-0000-000000000215",+ "id": "00000000-0000-0000-0000-000000000181",},"employees": {- "id": "00000000-0000-0000-0000-000000000219",+ "id": "00000000-0000-0000-0000-000000000185",},"idealCustomerProfile": {- "id": "00000000-0000-0000-0000-000000000218",+ "id": "00000000-0000-0000-0000-000000000184",},"linkedinLink": {- "id": "00000000-0000-0000-0000-000000000220",+ "id": "00000000-0000-0000-0000-000000000186",},"noteTargets": {- "id": "00000000-0000-0000-0000-000000000229",+ "id": "00000000-0000-0000-0000-000000000195",},"opportunities": {- "id": "00000000-0000-0000-0000-000000000230",+ "id": "00000000-0000-0000-0000-000000000196",},"people": {- "id": "00000000-0000-0000-0000-000000000227",+ "id": "00000000-0000-0000-0000-000000000193",},"taskTargets": {- "id": "00000000-0000-0000-0000-000000000228",+ "id": "00000000-0000-0000-0000-000000000194",},"timelineActivities": {- "id": "00000000-0000-0000-0000-000000000232",+ "id": "00000000-0000-0000-0000-000000000198",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000225",+ "id": "00000000-0000-0000-0000-000000000191",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000226",+ "id": "00000000-0000-0000-0000-000000000192",},"xLink": {- "id": "00000000-0000-0000-0000-000000000221",+ "id": "00000000-0000-0000-0000-000000000187",},},"viewGroups": {},@@ -800,59 +685,59 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"dashboard": {"fields": {"attachments": {- "id": "00000000-0000-0000-0000-000000000249",+ "id": "00000000-0000-0000-0000-000000000215",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000240",+ "id": "00000000-0000-0000-0000-000000000206",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000246",+ "id": "00000000-0000-0000-0000-000000000212",},"deletedAt": {- "id": "00000000-0000-0000-0000-000000000242",+ "id": "00000000-0000-0000-0000-000000000208",},"id": {- "id": "00000000-0000-0000-0000-000000000239",+ "id": "00000000-0000-0000-0000-000000000205",},"pageLayoutId": {- "id": "00000000-0000-0000-0000-000000000245",+ "id": "00000000-0000-0000-0000-000000000211",},"position": {- "id": "00000000-0000-0000-0000-000000000244",+ "id": "00000000-0000-0000-0000-000000000210",},"searchVector": {- "id": "00000000-0000-0000-0000-000000000250",+ "id": "00000000-0000-0000-0000-000000000216",},"timelineActivities": {- "id": "00000000-0000-0000-0000-000000000248",+ "id": "00000000-0000-0000-0000-000000000214",},"title": {- "id": "00000000-0000-0000-0000-000000000243",+ "id": "00000000-0000-0000-0000-000000000209",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000241",+ "id": "00000000-0000-0000-0000-000000000207",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000247",+ "id": "00000000-0000-0000-0000-000000000213",},},- "id": "00000000-0000-0000-0000-000000000256",+ "id": "00000000-0000-0000-0000-000000000222","views": {"allDashboards": {- "id": "00000000-0000-0000-0000-000000000255",+ "id": "00000000-0000-0000-0000-000000000221","viewFieldGroups": {},"viewFields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000253",+ "id": "00000000-0000-0000-0000-000000000219",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000252",+ "id": "00000000-0000-0000-0000-000000000218",},"title": {- "id": "00000000-0000-0000-0000-000000000251",+ "id": "00000000-0000-0000-0000-000000000217",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000254",+ "id": "00000000-0000-0000-0000-000000000220",},},"viewGroups": {},@@ -862,217 +747,78 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"message": {"fields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000434",+ "id": "00000000-0000-0000-0000-000000000327",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000444",+ "id": "00000000-0000-0000-0000-000000000337",},"deletedAt": {- "id": "00000000-0000-0000-0000-000000000436",+ "id": "00000000-0000-0000-0000-000000000329",},"headerMessageId": {- "id": "00000000-0000-0000-0000-000000000437",+ "id": "00000000-0000-0000-0000-000000000330",},"id": {- "id": "00000000-0000-0000-0000-000000000433",+ "id": "00000000-0000-0000-0000-000000000326",},"messageChannelMessageAssociations": {- "id": "00000000-0000-0000-0000-000000000443",+ "id": "00000000-0000-0000-0000-000000000336",},"messageParticipants": {- "id": "00000000-0000-0000-0000-000000000442",+ "id": "00000000-0000-0000-0000-000000000335",},"messageThread": {- "id": "00000000-0000-0000-0000-000000000438",+ "id": "00000000-0000-0000-0000-000000000331",},"position": {- "id": "00000000-0000-0000-0000-000000000446",+ "id": "00000000-0000-0000-0000-000000000339",},"receivedAt": {- "id": "00000000-0000-0000-0000-000000000441",+ "id": "00000000-0000-0000-0000-000000000334",},"searchVector": {- "id": "00000000-0000-0000-0000-000000000447",+ "id": "00000000-0000-0000-0000-000000000340",},"subject": {- "id": "00000000-0000-0000-0000-000000000439",+ "id": "00000000-0000-0000-0000-000000000332",},"text": {- "id": "00000000-0000-0000-0000-000000000440",+ "id": "00000000-0000-0000-0000-000000000333",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000435",+ "id": "00000000-0000-0000-0000-000000000328",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000445",+ "id": "00000000-0000-0000-0000-000000000338",},},- "id": "00000000-0000-0000-0000-000000000456",+ "id": "00000000-0000-0000-0000-000000000349","views": {"allMessages": {- "id": "00000000-0000-0000-0000-000000000455",+ "id": "00000000-0000-0000-0000-000000000348","viewFieldGroups": {},"viewFields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000454",+ "id": "00000000-0000-0000-0000-000000000347",},"headerMessageId": {- "id": "00000000-0000-0000-0000-000000000452",+ "id": "00000000-0000-0000-0000-000000000345",},"messageParticipants": {- "id": "00000000-0000-0000-0000-000000000450",+ "id": "00000000-0000-0000-0000-000000000343",},"messageThread": {- "id": "00000000-0000-0000-0000-000000000449",+ "id": "00000000-0000-0000-0000-000000000342",},"receivedAt": {- "id": "00000000-0000-0000-0000-000000000451",+ "id": "00000000-0000-0000-0000-000000000344",},"subject": {- "id": "00000000-0000-0000-0000-000000000448",+ "id": "00000000-0000-0000-0000-000000000341",},"text": {- "id": "00000000-0000-0000-0000-000000000453",- },- },- "viewGroups": {},- },- },- },- "messageChannel": {- "fields": {- "contactAutoCreationPolicy": {- "id": "00000000-0000-0000-0000-000000000318",- },- "createdAt": {- "id": "00000000-0000-0000-0000-000000000311",- },- "createdBy": {- "id": "00000000-0000-0000-0000-000000000331",- },- "deletedAt": {- "id": "00000000-0000-0000-0000-000000000313",- },- "excludeGroupEmails": {- "id": "00000000-0000-0000-0000-000000000320",- },- "excludeNonProfessionalEmails": {- "id": "00000000-0000-0000-0000-000000000319",- },- "handle": {- "id": "00000000-0000-0000-0000-000000000315",- },- "id": {- "id": "00000000-0000-0000-0000-000000000310",- },- "isContactAutoCreationEnabled": {- "id": "00000000-0000-0000-0000-000000000317",- },- "isSyncEnabled": {- "id": "00000000-0000-0000-0000-000000000323",- },- "messageFolderImportPolicy": {- "id": "00000000-0000-0000-0000-000000000321",- },- "pendingGroupEmailsAction": {- "id": "00000000-0000-0000-0000-000000000322",- },- "position": {- "id": "00000000-0000-0000-0000-000000000333",- },- "searchVector": {- "id": "00000000-0000-0000-0000-000000000334",- },- "syncCursor": {- "id": "00000000-0000-0000-0000-000000000324",- },- "syncStage": {- "id": "00000000-0000-0000-0000-000000000327",- },- "syncStageStartedAt": {- "id": "00000000-0000-0000-0000-000000000328",- },- "syncStatus": {- "id": "00000000-0000-0000-0000-000000000326",- },- "syncedAt": {- "id": "00000000-0000-0000-0000-000000000325",- },- "throttleFailureCount": {- "id": "00000000-0000-0000-0000-000000000329",- },- "throttleRetryAfter": {- "id": "00000000-0000-0000-0000-000000000330",- },- "type": {- "id": "00000000-0000-0000-0000-000000000316",- },- "updatedAt": {- "id": "00000000-0000-0000-0000-000000000312",- },- "updatedBy": {- "id": "00000000-0000-0000-0000-000000000332",- },- "visibility": {- "id": "00000000-0000-0000-0000-000000000314",- },- },- "id": "00000000-0000-0000-0000-000000000351",- "views": {- "allMessageChannels": {- "id": "00000000-0000-0000-0000-000000000341",- "viewFieldGroups": {},- "viewFields": {- "createdAt": {- "id": "00000000-0000-0000-0000-000000000340",- },- "handle": {- "id": "00000000-0000-0000-0000-000000000335",- },- "isSyncEnabled": {- "id": "00000000-0000-0000-0000-000000000338",- },- "syncStatus": {- "id": "00000000-0000-0000-0000-000000000339",- },- "type": {- "id": "00000000-0000-0000-0000-000000000336",- },- "visibility": {- "id": "00000000-0000-0000-0000-000000000337",- },- },- "viewGroups": {},- },- "messageChannelRecordPageFields": {- "id": "00000000-0000-0000-0000-000000000350",- "viewFieldGroups": {- "general": {- "id": "00000000-0000-0000-0000-000000000348",- },- "system": {- "id": "00000000-0000-0000-0000-000000000349",- },- },- "viewFields": {- "createdAt": {"id": "00000000-0000-0000-0000-000000000346",},- "createdBy": {- "id": "00000000-0000-0000-0000-000000000347",- },- "isSyncEnabled": {- "id": "00000000-0000-0000-0000-000000000344",- },- "syncStatus": {- "id": "00000000-0000-0000-0000-000000000345",- },- "type": {- "id": "00000000-0000-0000-0000-000000000342",- },- "visibility": {- "id": "00000000-0000-0000-0000-000000000343",- },},"viewGroups": {},},@@ -1081,103 +827,103 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"messageChannelMessageAssociation": {"fields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000258",+ "id": "00000000-0000-0000-0000-000000000224",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000267",+ "id": "00000000-0000-0000-0000-000000000233",},"deletedAt": {- "id": "00000000-0000-0000-0000-000000000260",+ "id": "00000000-0000-0000-0000-000000000226",},"direction": {- "id": "00000000-0000-0000-0000-000000000266",+ "id": "00000000-0000-0000-0000-000000000232",},"id": {- "id": "00000000-0000-0000-0000-000000000257",+ "id": "00000000-0000-0000-0000-000000000223",},"message": {- "id": "00000000-0000-0000-0000-000000000262",+ "id": "00000000-0000-0000-0000-000000000228",},"messageChannelId": {- "id": "00000000-0000-0000-0000-000000000261",+ "id": "00000000-0000-0000-0000-000000000227",},"messageExternalId": {- "id": "00000000-0000-0000-0000-000000000263",+ "id": "00000000-0000-0000-0000-000000000229",},"messageFolders": {- "id": "00000000-0000-0000-0000-000000000271",+ "id": "00000000-0000-0000-0000-000000000237",},"messageThread": {- "id": "00000000-0000-0000-0000-000000000264",+ "id": "00000000-0000-0000-0000-000000000230",},"messageThreadExternalId": {- "id": "00000000-0000-0000-0000-000000000265",+ "id": "00000000-0000-0000-0000-000000000231",},"position": {- "id": "00000000-0000-0000-0000-000000000269",+ "id": "00000000-0000-0000-0000-000000000235",},"searchVector": {- "id": "00000000-0000-0000-0000-000000000270",+ "id": "00000000-0000-0000-0000-000000000236",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000259",+ "id": "00000000-0000-0000-0000-000000000225",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000268",+ "id": "00000000-0000-0000-0000-000000000234",},},- "id": "00000000-0000-0000-0000-000000000287",+ "id": "00000000-0000-0000-0000-000000000253","views": {"allMessageChannelMessageAssociations": {- "id": "00000000-0000-0000-0000-000000000277",+ "id": "00000000-0000-0000-0000-000000000243","viewFieldGroups": {},"viewFields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000276",+ "id": "00000000-0000-0000-0000-000000000242",},"direction": {- "id": "00000000-0000-0000-0000-000000000275",+ "id": "00000000-0000-0000-0000-000000000241",},"message": {- "id": "00000000-0000-0000-0000-000000000273",+ "id": "00000000-0000-0000-0000-000000000239",},"messageChannelId": {- "id": "00000000-0000-0000-0000-000000000272",+ "id": "00000000-0000-0000-0000-000000000238",},"messageExternalId": {- "id": "00000000-0000-0000-0000-000000000274",+ "id": "00000000-0000-0000-0000-000000000240",},},"viewGroups": {},},"messageChannelMessageAssociationRecordPageFields": {- "id": "00000000-0000-0000-0000-000000000286",+ "id": "00000000-0000-0000-0000-000000000252","viewFieldGroups": {"general": {- "id": "00000000-0000-0000-0000-000000000284",+ "id": "00000000-0000-0000-0000-000000000250",},"system": {- "id": "00000000-0000-0000-0000-000000000285",+ "id": "00000000-0000-0000-0000-000000000251",},},"viewFields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000282",+ "id": "00000000-0000-0000-0000-000000000248",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000283",+ "id": "00000000-0000-0000-0000-000000000249",},"direction": {- "id": "00000000-0000-0000-0000-000000000281",+ "id": "00000000-0000-0000-0000-000000000247",},"message": {- "id": "00000000-0000-0000-0000-000000000279",+ "id": "00000000-0000-0000-0000-000000000245",},"messageChannelId": {- "id": "00000000-0000-0000-0000-000000000278",+ "id": "00000000-0000-0000-0000-000000000244",},"messageExternalId": {- "id": "00000000-0000-0000-0000-000000000280",+ "id": "00000000-0000-0000-0000-000000000246",},},"viewGroups": {},@@ -1187,182 +933,76 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"messageChannelMessageAssociationMessageFolder": {"fields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000289",+ "id": "00000000-0000-0000-0000-000000000255",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000292",+ "id": "00000000-0000-0000-0000-000000000258",},"deletedAt": {- "id": "00000000-0000-0000-0000-000000000291",+ "id": "00000000-0000-0000-0000-000000000257",},"id": {- "id": "00000000-0000-0000-0000-000000000288",+ "id": "00000000-0000-0000-0000-000000000254",},"messageChannelMessageAssociation": {- "id": "00000000-0000-0000-0000-000000000296",+ "id": "00000000-0000-0000-0000-000000000262",},"messageFolderId": {- "id": "00000000-0000-0000-0000-000000000297",+ "id": "00000000-0000-0000-0000-000000000263",},"position": {- "id": "00000000-0000-0000-0000-000000000294",+ "id": "00000000-0000-0000-0000-000000000260",},"searchVector": {- "id": "00000000-0000-0000-0000-000000000295",+ "id": "00000000-0000-0000-0000-000000000261",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000290",+ "id": "00000000-0000-0000-0000-000000000256",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000293",+ "id": "00000000-0000-0000-0000-000000000259",},},- "id": "00000000-0000-0000-0000-000000000309",+ "id": "00000000-0000-0000-0000-000000000275","views": {"allMessageChannelMessageAssociationMessageFolders": {- "id": "00000000-0000-0000-0000-000000000301",+ "id": "00000000-0000-0000-0000-000000000267","viewFieldGroups": {},"viewFields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000300",+ "id": "00000000-0000-0000-0000-000000000266",},"messageChannelMessageAssociation": {- "id": "00000000-0000-0000-0000-000000000298",+ "id": "00000000-0000-0000-0000-000000000264",},"messageFolderId": {- "id": "00000000-0000-0000-0000-000000000299",+ "id": "00000000-0000-0000-0000-000000000265",},},"viewGroups": {},},"messageChannelMessageAssociationMessageFolderRecordPageFields": {- "id": "00000000-0000-0000-0000-000000000308",+ "id": "00000000-0000-0000-0000-000000000274","viewFieldGroups": {"general": {- "id": "00000000-0000-0000-0000-000000000306",+ "id": "00000000-0000-0000-0000-000000000272",},"system": {- "id": "00000000-0000-0000-0000-000000000307",+ "id": "00000000-0000-0000-0000-000000000273",},},"viewFields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000304",+ "id": "00000000-0000-0000-0000-000000000270",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000305",+ "id": "00000000-0000-0000-0000-000000000271",},"messageChannelMessageAssociation": {- "id": "00000000-0000-0000-0000-000000000302",+ "id": "00000000-0000-0000-0000-000000000268",},"messageFolderId": {- "id": "00000000-0000-0000-0000-000000000303",- },- },- "viewGroups": {},- },- },- },- "messageFolder": {- "fields": {- "createdAt": {- "id": "00000000-0000-0000-0000-000000000353",- },- "createdBy": {- "id": "00000000-0000-0000-0000-000000000364",- },- "deletedAt": {- "id": "00000000-0000-0000-0000-000000000355",- },- "externalId": {- "id": "00000000-0000-0000-0000-000000000362",- },- "id": {- "id": "00000000-0000-0000-0000-000000000352",- },- "isSentFolder": {- "id": "00000000-0000-0000-0000-000000000360",- },- "isSynced": {- "id": "00000000-0000-0000-0000-000000000361",- },- "messageChannelId": {- "id": "00000000-0000-0000-0000-000000000358",- },- "name": {- "id": "00000000-0000-0000-0000-000000000356",- },- "parentFolderId": {- "id": "00000000-0000-0000-0000-000000000357",- },- "pendingSyncAction": {- "id": "00000000-0000-0000-0000-000000000363",- },- "position": {- "id": "00000000-0000-0000-0000-000000000366",- },- "searchVector": {- "id": "00000000-0000-0000-0000-000000000367",- },- "syncCursor": {- "id": "00000000-0000-0000-0000-000000000359",- },- "updatedAt": {- "id": "00000000-0000-0000-0000-000000000354",- },- "updatedBy": {- "id": "00000000-0000-0000-0000-000000000365",- },- },- "id": "00000000-0000-0000-0000-000000000382",- "views": {- "allMessageFolders": {- "id": "00000000-0000-0000-0000-000000000373",- "viewFieldGroups": {},- "viewFields": {- "createdAt": {- "id": "00000000-0000-0000-0000-000000000372",- },- "isSentFolder": {- "id": "00000000-0000-0000-0000-000000000370",- },- "isSynced": {- "id": "00000000-0000-0000-0000-000000000371",- },- "messageChannelId": {- "id": "00000000-0000-0000-0000-000000000369",- },- "name": {- "id": "00000000-0000-0000-0000-000000000368",- },- },- "viewGroups": {},- },- "messageFolderRecordPageFields": {- "id": "00000000-0000-0000-0000-000000000381",- "viewFieldGroups": {- "general": {- "id": "00000000-0000-0000-0000-000000000379",- },- "system": {- "id": "00000000-0000-0000-0000-000000000380",- },- },- "viewFields": {- "createdAt": {- "id": "00000000-0000-0000-0000-000000000377",- },- "createdBy": {- "id": "00000000-0000-0000-0000-000000000378",- },- "isSentFolder": {- "id": "00000000-0000-0000-0000-000000000375",- },- "isSynced": {- "id": "00000000-0000-0000-0000-000000000376",- },- "messageChannelId": {- "id": "00000000-0000-0000-0000-000000000374",+ "id": "00000000-0000-0000-0000-000000000269",},},"viewGroups": {},@@ -1372,109 +1012,109 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"messageParticipant": {"fields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000384",+ "id": "00000000-0000-0000-0000-000000000277",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000393",+ "id": "00000000-0000-0000-0000-000000000286",},"deletedAt": {- "id": "00000000-0000-0000-0000-000000000386",+ "id": "00000000-0000-0000-0000-000000000279",},"displayName": {- "id": "00000000-0000-0000-0000-000000000390",+ "id": "00000000-0000-0000-0000-000000000283",},"handle": {- "id": "00000000-0000-0000-0000-000000000389",+ "id": "00000000-0000-0000-0000-000000000282",},"id": {- "id": "00000000-0000-0000-0000-000000000383",+ "id": "00000000-0000-0000-0000-000000000276",},"message": {- "id": "00000000-0000-0000-0000-000000000387",+ "id": "00000000-0000-0000-0000-000000000280",},"person": {- "id": "00000000-0000-0000-0000-000000000391",+ "id": "00000000-0000-0000-0000-000000000284",},"position": {- "id": "00000000-0000-0000-0000-000000000395",+ "id": "00000000-0000-0000-0000-000000000288",},"role": {- "id": "00000000-0000-0000-0000-000000000388",+ "id": "00000000-0000-0000-0000-000000000281",},"searchVector": {- "id": "00000000-0000-0000-0000-000000000396",+ "id": "00000000-0000-0000-0000-000000000289",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000385",+ "id": "00000000-0000-0000-0000-000000000278",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000394",+ "id": "00000000-0000-0000-0000-000000000287",},"workspaceMember": {- "id": "00000000-0000-0000-0000-000000000392",+ "id": "00000000-0000-0000-0000-000000000285",},},- "id": "00000000-0000-0000-0000-000000000415",+ "id": "00000000-0000-0000-0000-000000000308","views": {"allMessageParticipants": {- "id": "00000000-0000-0000-0000-000000000404",+ "id": "00000000-0000-0000-0000-000000000297","viewFieldGroups": {},"viewFields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000403",+ "id": "00000000-0000-0000-0000-000000000296",},"displayName": {- "id": "00000000-0000-0000-0000-000000000400",+ "id": "00000000-0000-0000-0000-000000000293",},"handle": {- "id": "00000000-0000-0000-0000-000000000399",+ "id": "00000000-0000-0000-0000-000000000292",},"message": {- "id": "00000000-0000-0000-0000-000000000397",+ "id": "00000000-0000-0000-0000-000000000290",},"person": {- "id": "00000000-0000-0000-0000-000000000401",+ "id": "00000000-0000-0000-0000-000000000294",},"role": {- "id": "00000000-0000-0000-0000-000000000398",+ "id": "00000000-0000-0000-0000-000000000291",},"workspaceMember": {- "id": "00000000-0000-0000-0000-000000000402",+ "id": "00000000-0000-0000-0000-000000000295",},},"viewGroups": {},},"messageParticipantRecordPageFields": {- "id": "00000000-0000-0000-0000-000000000414",+ "id": "00000000-0000-0000-0000-000000000307","viewFieldGroups": {"general": {- "id": "00000000-0000-0000-0000-000000000412",+ "id": "00000000-0000-0000-0000-000000000305",},"system": {- "id": "00000000-0000-0000-0000-000000000413",+ "id": "00000000-0000-0000-0000-000000000306",},},"viewFields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000410",+ "id": "00000000-0000-0000-0000-000000000303",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000411",+ "id": "00000000-0000-0000-0000-000000000304",},"displayName": {- "id": "00000000-0000-0000-0000-000000000407",+ "id": "00000000-0000-0000-0000-000000000300",},"message": {- "id": "00000000-0000-0000-0000-000000000405",+ "id": "00000000-0000-0000-0000-000000000298",},"person": {- "id": "00000000-0000-0000-0000-000000000408",+ "id": "00000000-0000-0000-0000-000000000301",},"role": {- "id": "00000000-0000-0000-0000-000000000406",+ "id": "00000000-0000-0000-0000-000000000299",},"workspaceMember": {- "id": "00000000-0000-0000-0000-000000000409",+ "id": "00000000-0000-0000-0000-000000000302",},},"viewGroups": {},@@ -1484,56 +1124,56 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"messageThread": {"fields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000417",+ "id": "00000000-0000-0000-0000-000000000310",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000422",+ "id": "00000000-0000-0000-0000-000000000315",},"deletedAt": {- "id": "00000000-0000-0000-0000-000000000419",+ "id": "00000000-0000-0000-0000-000000000312",},"id": {- "id": "00000000-0000-0000-0000-000000000416",+ "id": "00000000-0000-0000-0000-000000000309",},"messageChannelMessageAssociations": {- "id": "00000000-0000-0000-0000-000000000421",+ "id": "00000000-0000-0000-0000-000000000314",},"messages": {- "id": "00000000-0000-0000-0000-000000000420",+ "id": "00000000-0000-0000-0000-000000000313",},"position": {- "id": "00000000-0000-0000-0000-000000000424",+ "id": "00000000-0000-0000-0000-000000000317",},"searchVector": {- "id": "00000000-0000-0000-0000-000000000425",+ "id": "00000000-0000-0000-0000-000000000318",},"subject": {- "id": "00000000-0000-0000-0000-000000000426",+ "id": "00000000-0000-0000-0000-000000000319",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000418",+ "id": "00000000-0000-0000-0000-000000000311",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000423",+ "id": "00000000-0000-0000-0000-000000000316",},},- "id": "00000000-0000-0000-0000-000000000432",+ "id": "00000000-0000-0000-0000-000000000325","views": {"allMessageThreads": {- "id": "00000000-0000-0000-0000-000000000431",+ "id": "00000000-0000-0000-0000-000000000324","viewFieldGroups": {},"viewFields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000430",+ "id": "00000000-0000-0000-0000-000000000323",},"messages": {- "id": "00000000-0000-0000-0000-000000000428",+ "id": "00000000-0000-0000-0000-000000000321",},"subject": {- "id": "00000000-0000-0000-0000-000000000427",+ "id": "00000000-0000-0000-0000-000000000320",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000429",+ "id": "00000000-0000-0000-0000-000000000322",},},"viewGroups": {},@@ -1543,103 +1183,103 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"note": {"fields": {"attachments": {- "id": "00000000-0000-0000-0000-000000000467",+ "id": "00000000-0000-0000-0000-000000000360",},"bodyV2": {- "id": "00000000-0000-0000-0000-000000000463",+ "id": "00000000-0000-0000-0000-000000000356",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000458",+ "id": "00000000-0000-0000-0000-000000000351",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000464",+ "id": "00000000-0000-0000-0000-000000000357",},"deletedAt": {- "id": "00000000-0000-0000-0000-000000000460",+ "id": "00000000-0000-0000-0000-000000000353",},"id": {- "id": "00000000-0000-0000-0000-000000000457",+ "id": "00000000-0000-0000-0000-000000000350",},"noteTargets": {- "id": "00000000-0000-0000-0000-000000000466",+ "id": "00000000-0000-0000-0000-000000000359",},"position": {- "id": "00000000-0000-0000-0000-000000000461",+ "id": "00000000-0000-0000-0000-000000000354",},"searchVector": {- "id": "00000000-0000-0000-0000-000000000469",+ "id": "00000000-0000-0000-0000-000000000362",},"timelineActivities": {- "id": "00000000-0000-0000-0000-000000000468",+ "id": "00000000-0000-0000-0000-000000000361",},"title": {- "id": "00000000-0000-0000-0000-000000000462",+ "id": "00000000-0000-0000-0000-000000000355",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000459",+ "id": "00000000-0000-0000-0000-000000000352",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000465",+ "id": "00000000-0000-0000-0000-000000000358",},},- "id": "00000000-0000-0000-0000-000000000487",+ "id": "00000000-0000-0000-0000-000000000380","views": {"allNotes": {- "id": "00000000-0000-0000-0000-000000000475",+ "id": "00000000-0000-0000-0000-000000000368","viewFieldGroups": {},"viewFields": {"bodyV2": {- "id": "00000000-0000-0000-0000-000000000472",+ "id": "00000000-0000-0000-0000-000000000365",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000474",+ "id": "00000000-0000-0000-0000-000000000367",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000473",+ "id": "00000000-0000-0000-0000-000000000366",},"noteTargets": {- "id": "00000000-0000-0000-0000-000000000471",+ "id": "00000000-0000-0000-0000-000000000364",},"title": {- "id": "00000000-0000-0000-0000-000000000470",+ "id": "00000000-0000-0000-0000-000000000363",},},"viewGroups": {},},"noteRecordPageFields": {- "id": "00000000-0000-0000-0000-000000000486",+ "id": "00000000-0000-0000-0000-000000000379","viewFieldGroups": {"general": {- "id": "00000000-0000-0000-0000-000000000484",+ "id": "00000000-0000-0000-0000-000000000377",},"system": {- "id": "00000000-0000-0000-0000-000000000485",+ "id": "00000000-0000-0000-0000-000000000378",},},"viewFields": {"attachments": {- "id": "00000000-0000-0000-0000-000000000482",+ "id": "00000000-0000-0000-0000-000000000375",},"bodyV2": {- "id": "00000000-0000-0000-0000-000000000479",+ "id": "00000000-0000-0000-0000-000000000372",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000476",+ "id": "00000000-0000-0000-0000-000000000369",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000477",+ "id": "00000000-0000-0000-0000-000000000370",},"noteTargets": {- "id": "00000000-0000-0000-0000-000000000478",+ "id": "00000000-0000-0000-0000-000000000371",},"timelineActivities": {- "id": "00000000-0000-0000-0000-000000000483",+ "id": "00000000-0000-0000-0000-000000000376",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000480",+ "id": "00000000-0000-0000-0000-000000000373",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000481",+ "id": "00000000-0000-0000-0000-000000000374",},},"viewGroups": {},@@ -1649,62 +1289,62 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"noteTarget": {"fields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000489",+ "id": "00000000-0000-0000-0000-000000000382",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000496",+ "id": "00000000-0000-0000-0000-000000000389",},"deletedAt": {- "id": "00000000-0000-0000-0000-000000000491",+ "id": "00000000-0000-0000-0000-000000000384",},"id": {- "id": "00000000-0000-0000-0000-000000000488",+ "id": "00000000-0000-0000-0000-000000000381",},"note": {- "id": "00000000-0000-0000-0000-000000000492",+ "id": "00000000-0000-0000-0000-000000000385",},"position": {- "id": "00000000-0000-0000-0000-000000000498",+ "id": "00000000-0000-0000-0000-000000000391",},"searchVector": {- "id": "00000000-0000-0000-0000-000000000499",+ "id": "00000000-0000-0000-0000-000000000392",},"targetCompany": {- "id": "00000000-0000-0000-0000-000000000494",+ "id": "00000000-0000-0000-0000-000000000387",},"targetOpportunity": {- "id": "00000000-0000-0000-0000-000000000495",+ "id": "00000000-0000-0000-0000-000000000388",},"targetPerson": {- "id": "00000000-0000-0000-0000-000000000493",+ "id": "00000000-0000-0000-0000-000000000386",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000490",+ "id": "00000000-0000-0000-0000-000000000383",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000497",+ "id": "00000000-0000-0000-0000-000000000390",},},- "id": "00000000-0000-0000-0000-000000000506",+ "id": "00000000-0000-0000-0000-000000000399","views": {"allNoteTargets": {- "id": "00000000-0000-0000-0000-000000000505",+ "id": "00000000-0000-0000-0000-000000000398","viewFieldGroups": {},"viewFields": {"id": {- "id": "00000000-0000-0000-0000-000000000500",+ "id": "00000000-0000-0000-0000-000000000393",},"note": {- "id": "00000000-0000-0000-0000-000000000501",+ "id": "00000000-0000-0000-0000-000000000394",},"targetCompany": {- "id": "00000000-0000-0000-0000-000000000503",+ "id": "00000000-0000-0000-0000-000000000396",},"targetOpportunity": {- "id": "00000000-0000-0000-0000-000000000504",+ "id": "00000000-0000-0000-0000-000000000397",},"targetPerson": {- "id": "00000000-0000-0000-0000-000000000502",+ "id": "00000000-0000-0000-0000-000000000395",},},"viewGroups": {},@@ -1714,186 +1354,186 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"opportunity": {"fields": {"amount": {- "id": "00000000-0000-0000-0000-000000000512",+ "id": "00000000-0000-0000-0000-000000000405",},"attachments": {- "id": "00000000-0000-0000-0000-000000000523",+ "id": "00000000-0000-0000-0000-000000000416",},"closeDate": {- "id": "00000000-0000-0000-0000-000000000513",+ "id": "00000000-0000-0000-0000-000000000406",},"company": {- "id": "00000000-0000-0000-0000-000000000519",+ "id": "00000000-0000-0000-0000-000000000412",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000508",+ "id": "00000000-0000-0000-0000-000000000401",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000516",+ "id": "00000000-0000-0000-0000-000000000409",},"deletedAt": {- "id": "00000000-0000-0000-0000-000000000510",+ "id": "00000000-0000-0000-0000-000000000403",},"id": {- "id": "00000000-0000-0000-0000-000000000507",+ "id": "00000000-0000-0000-0000-000000000400",},"name": {- "id": "00000000-0000-0000-0000-000000000511",+ "id": "00000000-0000-0000-0000-000000000404",},"noteTargets": {- "id": "00000000-0000-0000-0000-000000000522",+ "id": "00000000-0000-0000-0000-000000000415",},"owner": {- "id": "00000000-0000-0000-0000-000000000520",+ "id": "00000000-0000-0000-0000-000000000413",},"pointOfContact": {- "id": "00000000-0000-0000-0000-000000000518",+ "id": "00000000-0000-0000-0000-000000000411",},"position": {- "id": "00000000-0000-0000-0000-000000000515",+ "id": "00000000-0000-0000-0000-000000000408",},"searchVector": {- "id": "00000000-0000-0000-0000-000000000525",+ "id": "00000000-0000-0000-0000-000000000418",},"stage": {- "id": "00000000-0000-0000-0000-000000000514",+ "id": "00000000-0000-0000-0000-000000000407",},"taskTargets": {- "id": "00000000-0000-0000-0000-000000000521",+ "id": "00000000-0000-0000-0000-000000000414",},"timelineActivities": {- "id": "00000000-0000-0000-0000-000000000524",+ "id": "00000000-0000-0000-0000-000000000417",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000509",+ "id": "00000000-0000-0000-0000-000000000402",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000517",+ "id": "00000000-0000-0000-0000-000000000410",},},- "id": "00000000-0000-0000-0000-000000000563",+ "id": "00000000-0000-0000-0000-000000000456","views": {"allOpportunities": {- "id": "00000000-0000-0000-0000-000000000532",+ "id": "00000000-0000-0000-0000-000000000425","viewFieldGroups": {},"viewFields": {"amount": {- "id": "00000000-0000-0000-0000-000000000527",+ "id": "00000000-0000-0000-0000-000000000420",},"closeDate": {- "id": "00000000-0000-0000-0000-000000000529",+ "id": "00000000-0000-0000-0000-000000000422",},"company": {- "id": "00000000-0000-0000-0000-000000000530",+ "id": "00000000-0000-0000-0000-000000000423",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000528",+ "id": "00000000-0000-0000-0000-000000000421",},"name": {- "id": "00000000-0000-0000-0000-000000000526",+ "id": "00000000-0000-0000-0000-000000000419",},"pointOfContact": {- "id": "00000000-0000-0000-0000-000000000531",+ "id": "00000000-0000-0000-0000-000000000424",},},"viewGroups": {},},"byStage": {- "id": "00000000-0000-0000-0000-000000000544",+ "id": "00000000-0000-0000-0000-000000000437","viewFieldGroups": {},"viewFields": {"amount": {- "id": "00000000-0000-0000-0000-000000000534",+ "id": "00000000-0000-0000-0000-000000000427",},"closeDate": {- "id": "00000000-0000-0000-0000-000000000536",+ "id": "00000000-0000-0000-0000-000000000429",},"company": {- "id": "00000000-0000-0000-0000-000000000537",+ "id": "00000000-0000-0000-0000-000000000430",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000535",+ "id": "00000000-0000-0000-0000-000000000428",},"name": {- "id": "00000000-0000-0000-0000-000000000533",+ "id": "00000000-0000-0000-0000-000000000426",},"pointOfContact": {- "id": "00000000-0000-0000-0000-000000000538",+ "id": "00000000-0000-0000-0000-000000000431",},},"viewGroups": {"customer": {- "id": "00000000-0000-0000-0000-000000000543",+ "id": "00000000-0000-0000-0000-000000000436",},"meeting": {- "id": "00000000-0000-0000-0000-000000000541",+ "id": "00000000-0000-0000-0000-000000000434",},"new": {- "id": "00000000-0000-0000-0000-000000000539",+ "id": "00000000-0000-0000-0000-000000000432",},"proposal": {- "id": "00000000-0000-0000-0000-000000000542",+ "id": "00000000-0000-0000-0000-000000000435",},"screening": {- "id": "00000000-0000-0000-0000-000000000540",+ "id": "00000000-0000-0000-0000-000000000433",},},},"opportunityRecordPageFields": {- "id": "00000000-0000-0000-0000-000000000562",+ "id": "00000000-0000-0000-0000-000000000455","viewFieldGroups": {"deal": {- "id": "00000000-0000-0000-0000-000000000559",+ "id": "00000000-0000-0000-0000-000000000452",},"relations": {- "id": "00000000-0000-0000-0000-000000000560",+ "id": "00000000-0000-0000-0000-000000000453",},"system": {- "id": "00000000-0000-0000-0000-000000000561",+ "id": "00000000-0000-0000-0000-000000000454",},},"viewFields": {"amount": {- "id": "00000000-0000-0000-0000-000000000545",+ "id": "00000000-0000-0000-0000-000000000438",},"attachments": {- "id": "00000000-0000-0000-0000-000000000557",+ "id": "00000000-0000-0000-0000-000000000450",},"closeDate": {- "id": "00000000-0000-0000-0000-000000000546",+ "id": "00000000-0000-0000-0000-000000000439",},"company": {- "id": "00000000-0000-0000-0000-000000000548",+ "id": "00000000-0000-0000-0000-000000000441",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000551",+ "id": "00000000-0000-0000-0000-000000000444",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000552",+ "id": "00000000-0000-0000-0000-000000000445",},"noteTargets": {- "id": "00000000-0000-0000-0000-000000000556",+ "id": "00000000-0000-0000-0000-000000000449",},"owner": {- "id": "00000000-0000-0000-0000-000000000550",+ "id": "00000000-0000-0000-0000-000000000443",},"pointOfContact": {- "id": "00000000-0000-0000-0000-000000000549",+ "id": "00000000-0000-0000-0000-000000000442",},"stage": {- "id": "00000000-0000-0000-0000-000000000547",+ "id": "00000000-0000-0000-0000-000000000440",},"taskTargets": {- "id": "00000000-0000-0000-0000-000000000555",+ "id": "00000000-0000-0000-0000-000000000448",},"timelineActivities": {- "id": "00000000-0000-0000-0000-000000000558",+ "id": "00000000-0000-0000-0000-000000000451",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000553",+ "id": "00000000-0000-0000-0000-000000000446",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000554",+ "id": "00000000-0000-0000-0000-000000000447",},},"viewGroups": {},@@ -1903,196 +1543,196 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"person": {"fields": {"attachments": {- "id": "00000000-0000-0000-0000-000000000584",+ "id": "00000000-0000-0000-0000-000000000477",},"avatarFile": {- "id": "00000000-0000-0000-0000-000000000576",+ "id": "00000000-0000-0000-0000-000000000469",},"avatarUrl": {- "id": "00000000-0000-0000-0000-000000000575",+ "id": "00000000-0000-0000-0000-000000000468",},"calendarEventParticipants": {- "id": "00000000-0000-0000-0000-000000000586",+ "id": "00000000-0000-0000-0000-000000000479",},"city": {- "id": "00000000-0000-0000-0000-000000000574",+ "id": "00000000-0000-0000-0000-000000000467",},"company": {- "id": "00000000-0000-0000-0000-000000000580",+ "id": "00000000-0000-0000-0000-000000000473",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000565",+ "id": "00000000-0000-0000-0000-000000000458",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000578",+ "id": "00000000-0000-0000-0000-000000000471",},"deletedAt": {- "id": "00000000-0000-0000-0000-000000000567",+ "id": "00000000-0000-0000-0000-000000000460",},"emails": {- "id": "00000000-0000-0000-0000-000000000569",+ "id": "00000000-0000-0000-0000-000000000462",},"id": {- "id": "00000000-0000-0000-0000-000000000564",+ "id": "00000000-0000-0000-0000-000000000457",},"jobTitle": {- "id": "00000000-0000-0000-0000-000000000572",+ "id": "00000000-0000-0000-0000-000000000465",},"linkedinLink": {- "id": "00000000-0000-0000-0000-000000000570",+ "id": "00000000-0000-0000-0000-000000000463",},"messageParticipants": {- "id": "00000000-0000-0000-0000-000000000585",+ "id": "00000000-0000-0000-0000-000000000478",},"name": {- "id": "00000000-0000-0000-0000-000000000568",+ "id": "00000000-0000-0000-0000-000000000461",},"noteTargets": {- "id": "00000000-0000-0000-0000-000000000583",+ "id": "00000000-0000-0000-0000-000000000476",},"phones": {- "id": "00000000-0000-0000-0000-000000000573",+ "id": "00000000-0000-0000-0000-000000000466",},"pointOfContactForOpportunities": {- "id": "00000000-0000-0000-0000-000000000581",+ "id": "00000000-0000-0000-0000-000000000474",},"position": {- "id": "00000000-0000-0000-0000-000000000577",+ "id": "00000000-0000-0000-0000-000000000470",},"searchVector": {- "id": "00000000-0000-0000-0000-000000000588",+ "id": "00000000-0000-0000-0000-000000000481",},"taskTargets": {- "id": "00000000-0000-0000-0000-000000000582",+ "id": "00000000-0000-0000-0000-000000000475",},"timelineActivities": {- "id": "00000000-0000-0000-0000-000000000587",+ "id": "00000000-0000-0000-0000-000000000480",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000566",+ "id": "00000000-0000-0000-0000-000000000459",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000579",+ "id": "00000000-0000-0000-0000-000000000472",},"xLink": {- "id": "00000000-0000-0000-0000-000000000571",+ "id": "00000000-0000-0000-0000-000000000464",},},- "id": "00000000-0000-0000-0000-000000000625",+ "id": "00000000-0000-0000-0000-000000000518","views": {"allPeople": {- "id": "00000000-0000-0000-0000-000000000599",+ "id": "00000000-0000-0000-0000-000000000492","viewFieldGroups": {},"viewFields": {"city": {- "id": "00000000-0000-0000-0000-000000000595",+ "id": "00000000-0000-0000-0000-000000000488",},"company": {- "id": "00000000-0000-0000-0000-000000000592",+ "id": "00000000-0000-0000-0000-000000000485",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000594",+ "id": "00000000-0000-0000-0000-000000000487",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000591",+ "id": "00000000-0000-0000-0000-000000000484",},"emails": {- "id": "00000000-0000-0000-0000-000000000590",+ "id": "00000000-0000-0000-0000-000000000483",},"jobTitle": {- "id": "00000000-0000-0000-0000-000000000596",+ "id": "00000000-0000-0000-0000-000000000489",},"linkedinLink": {- "id": "00000000-0000-0000-0000-000000000597",+ "id": "00000000-0000-0000-0000-000000000490",},"name": {- "id": "00000000-0000-0000-0000-000000000589",+ "id": "00000000-0000-0000-0000-000000000482",},"phones": {- "id": "00000000-0000-0000-0000-000000000593",+ "id": "00000000-0000-0000-0000-000000000486",},"xLink": {- "id": "00000000-0000-0000-0000-000000000598",+ "id": "00000000-0000-0000-0000-000000000491",},},"viewGroups": {},},"personRecordPageFields": {- "id": "00000000-0000-0000-0000-000000000624",+ "id": "00000000-0000-0000-0000-000000000517","viewFieldGroups": {"general": {- "id": "00000000-0000-0000-0000-000000000620",+ "id": "00000000-0000-0000-0000-000000000513",},"social": {- "id": "00000000-0000-0000-0000-000000000622",+ "id": "00000000-0000-0000-0000-000000000515",},"system": {- "id": "00000000-0000-0000-0000-000000000623",+ "id": "00000000-0000-0000-0000-000000000516",},"work": {- "id": "00000000-0000-0000-0000-000000000621",+ "id": "00000000-0000-0000-0000-000000000514",},},"viewFields": {"attachments": {- "id": "00000000-0000-0000-0000-000000000616",+ "id": "00000000-0000-0000-0000-000000000509",},"avatarFile": {- "id": "00000000-0000-0000-0000-000000000612",+ "id": "00000000-0000-0000-0000-000000000505",},"avatarUrl": {- "id": "00000000-0000-0000-0000-000000000607",+ "id": "00000000-0000-0000-0000-000000000500",},"calendarEventParticipants": {- "id": "00000000-0000-0000-0000-000000000618",+ "id": "00000000-0000-0000-0000-000000000511",},"city": {- "id": "00000000-0000-0000-0000-000000000606",+ "id": "00000000-0000-0000-0000-000000000499",},"company": {- "id": "00000000-0000-0000-0000-000000000602",+ "id": "00000000-0000-0000-0000-000000000495",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000608",+ "id": "00000000-0000-0000-0000-000000000501",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000609",+ "id": "00000000-0000-0000-0000-000000000502",},"emails": {- "id": "00000000-0000-0000-0000-000000000600",+ "id": "00000000-0000-0000-0000-000000000493",},"jobTitle": {- "id": "00000000-0000-0000-0000-000000000603",+ "id": "00000000-0000-0000-0000-000000000496",},"linkedinLink": {- "id": "00000000-0000-0000-0000-000000000604",+ "id": "00000000-0000-0000-0000-000000000497",},"messageParticipants": {- "id": "00000000-0000-0000-0000-000000000617",+ "id": "00000000-0000-0000-0000-000000000510",},"noteTargets": {- "id": "00000000-0000-0000-0000-000000000615",+ "id": "00000000-0000-0000-0000-000000000508",},"phones": {- "id": "00000000-0000-0000-0000-000000000601",+ "id": "00000000-0000-0000-0000-000000000494",},"pointOfContactForOpportunities": {- "id": "00000000-0000-0000-0000-000000000613",+ "id": "00000000-0000-0000-0000-000000000506",},"taskTargets": {- "id": "00000000-0000-0000-0000-000000000614",+ "id": "00000000-0000-0000-0000-000000000507",},"timelineActivities": {- "id": "00000000-0000-0000-0000-000000000619",+ "id": "00000000-0000-0000-0000-000000000512",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000610",+ "id": "00000000-0000-0000-0000-000000000503",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000611",+ "id": "00000000-0000-0000-0000-000000000504",},"xLink": {- "id": "00000000-0000-0000-0000-000000000605",+ "id": "00000000-0000-0000-0000-000000000498",},},"viewGroups": {},@@ -2102,203 +1742,203 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"task": {"fields": {"assignee": {- "id": "00000000-0000-0000-0000-000000000639",+ "id": "00000000-0000-0000-0000-000000000532",},"attachments": {- "id": "00000000-0000-0000-0000-000000000638",+ "id": "00000000-0000-0000-0000-000000000531",},"bodyV2": {- "id": "00000000-0000-0000-0000-000000000632",+ "id": "00000000-0000-0000-0000-000000000525",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000627",+ "id": "00000000-0000-0000-0000-000000000520",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000635",+ "id": "00000000-0000-0000-0000-000000000528",},"deletedAt": {- "id": "00000000-0000-0000-0000-000000000629",+ "id": "00000000-0000-0000-0000-000000000522",},"dueAt": {- "id": "00000000-0000-0000-0000-000000000633",+ "id": "00000000-0000-0000-0000-000000000526",},"id": {- "id": "00000000-0000-0000-0000-000000000626",+ "id": "00000000-0000-0000-0000-000000000519",},"position": {- "id": "00000000-0000-0000-0000-000000000630",+ "id": "00000000-0000-0000-0000-000000000523",},"searchVector": {- "id": "00000000-0000-0000-0000-000000000641",+ "id": "00000000-0000-0000-0000-000000000534",},"status": {- "id": "00000000-0000-0000-0000-000000000634",+ "id": "00000000-0000-0000-0000-000000000527",},"taskTargets": {- "id": "00000000-0000-0000-0000-000000000637",+ "id": "00000000-0000-0000-0000-000000000530",},"timelineActivities": {- "id": "00000000-0000-0000-0000-000000000640",+ "id": "00000000-0000-0000-0000-000000000533",},"title": {- "id": "00000000-0000-0000-0000-000000000631",+ "id": "00000000-0000-0000-0000-000000000524",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000628",+ "id": "00000000-0000-0000-0000-000000000521",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000636",+ "id": "00000000-0000-0000-0000-000000000529",},},- "id": "00000000-0000-0000-0000-000000000686",+ "id": "00000000-0000-0000-0000-000000000579","views": {"allTasks": {- "id": "00000000-0000-0000-0000-000000000650",+ "id": "00000000-0000-0000-0000-000000000543","viewFieldGroups": {},"viewFields": {"assignee": {- "id": "00000000-0000-0000-0000-000000000647",+ "id": "00000000-0000-0000-0000-000000000540",},"bodyV2": {- "id": "00000000-0000-0000-0000-000000000648",+ "id": "00000000-0000-0000-0000-000000000541",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000649",+ "id": "00000000-0000-0000-0000-000000000542",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000645",+ "id": "00000000-0000-0000-0000-000000000538",},"dueAt": {- "id": "00000000-0000-0000-0000-000000000646",+ "id": "00000000-0000-0000-0000-000000000539",},"status": {- "id": "00000000-0000-0000-0000-000000000643",+ "id": "00000000-0000-0000-0000-000000000536",},"taskTargets": {- "id": "00000000-0000-0000-0000-000000000644",+ "id": "00000000-0000-0000-0000-000000000537",},"title": {- "id": "00000000-0000-0000-0000-000000000642",+ "id": "00000000-0000-0000-0000-000000000535",},},"viewGroups": {},},"assignedToMe": {- "id": "00000000-0000-0000-0000-000000000662",+ "id": "00000000-0000-0000-0000-000000000555","viewFieldGroups": {},"viewFields": {"assignee": {- "id": "00000000-0000-0000-0000-000000000655",+ "id": "00000000-0000-0000-0000-000000000548",},"bodyV2": {- "id": "00000000-0000-0000-0000-000000000656",+ "id": "00000000-0000-0000-0000-000000000549",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000657",+ "id": "00000000-0000-0000-0000-000000000550",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000653",+ "id": "00000000-0000-0000-0000-000000000546",},"dueAt": {- "id": "00000000-0000-0000-0000-000000000654",+ "id": "00000000-0000-0000-0000-000000000547",},"taskTargets": {- "id": "00000000-0000-0000-0000-000000000652",+ "id": "00000000-0000-0000-0000-000000000545",},"title": {- "id": "00000000-0000-0000-0000-000000000651",+ "id": "00000000-0000-0000-0000-000000000544",},},"viewGroups": {"done": {- "id": "00000000-0000-0000-0000-000000000660",+ "id": "00000000-0000-0000-0000-000000000553",},"empty": {- "id": "00000000-0000-0000-0000-000000000661",+ "id": "00000000-0000-0000-0000-000000000554",},"inProgress": {- "id": "00000000-0000-0000-0000-000000000659",+ "id": "00000000-0000-0000-0000-000000000552",},"todo": {- "id": "00000000-0000-0000-0000-000000000658",+ "id": "00000000-0000-0000-0000-000000000551",},},},"byStatus": {- "id": "00000000-0000-0000-0000-000000000671",+ "id": "00000000-0000-0000-0000-000000000564","viewFieldGroups": {},"viewFields": {"assignee": {- "id": "00000000-0000-0000-0000-000000000666",+ "id": "00000000-0000-0000-0000-000000000559",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000667",+ "id": "00000000-0000-0000-0000-000000000560",},"dueAt": {- "id": "00000000-0000-0000-0000-000000000665",+ "id": "00000000-0000-0000-0000-000000000558",},"status": {- "id": "00000000-0000-0000-0000-000000000664",+ "id": "00000000-0000-0000-0000-000000000557",},"title": {- "id": "00000000-0000-0000-0000-000000000663",+ "id": "00000000-0000-0000-0000-000000000556",},},"viewGroups": {"done": {- "id": "00000000-0000-0000-0000-000000000670",+ "id": "00000000-0000-0000-0000-000000000563",},"inProgress": {- "id": "00000000-0000-0000-0000-000000000669",+ "id": "00000000-0000-0000-0000-000000000562",},"todo": {- "id": "00000000-0000-0000-0000-000000000668",+ "id": "00000000-0000-0000-0000-000000000561",},},},"taskRecordPageFields": {- "id": "00000000-0000-0000-0000-000000000685",+ "id": "00000000-0000-0000-0000-000000000578","viewFieldGroups": {"general": {- "id": "00000000-0000-0000-0000-000000000683",+ "id": "00000000-0000-0000-0000-000000000576",},"system": {- "id": "00000000-0000-0000-0000-000000000684",+ "id": "00000000-0000-0000-0000-000000000577",},},"viewFields": {"assignee": {- "id": "00000000-0000-0000-0000-000000000674",+ "id": "00000000-0000-0000-0000-000000000567",},"attachments": {- "id": "00000000-0000-0000-0000-000000000681",+ "id": "00000000-0000-0000-0000-000000000574",},"bodyV2": {- "id": "00000000-0000-0000-0000-000000000678",+ "id": "00000000-0000-0000-0000-000000000571",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000675",+ "id": "00000000-0000-0000-0000-000000000568",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000676",+ "id": "00000000-0000-0000-0000-000000000569",},"dueAt": {- "id": "00000000-0000-0000-0000-000000000672",+ "id": "00000000-0000-0000-0000-000000000565",},"status": {- "id": "00000000-0000-0000-0000-000000000673",+ "id": "00000000-0000-0000-0000-000000000566",},"taskTargets": {- "id": "00000000-0000-0000-0000-000000000677",+ "id": "00000000-0000-0000-0000-000000000570",},"timelineActivities": {- "id": "00000000-0000-0000-0000-000000000682",+ "id": "00000000-0000-0000-0000-000000000575",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000679",+ "id": "00000000-0000-0000-0000-000000000572",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000680",+ "id": "00000000-0000-0000-0000-000000000573",},},"viewGroups": {},@@ -2308,62 +1948,62 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"taskTarget": {"fields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000688",+ "id": "00000000-0000-0000-0000-000000000581",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000695",+ "id": "00000000-0000-0000-0000-000000000588",},"deletedAt": {- "id": "00000000-0000-0000-0000-000000000690",+ "id": "00000000-0000-0000-0000-000000000583",},"id": {- "id": "00000000-0000-0000-0000-000000000687",+ "id": "00000000-0000-0000-0000-000000000580",},"position": {- "id": "00000000-0000-0000-0000-000000000697",+ "id": "00000000-0000-0000-0000-000000000590",},"searchVector": {- "id": "00000000-0000-0000-0000-000000000698",+ "id": "00000000-0000-0000-0000-000000000591",},"targetCompany": {- "id": "00000000-0000-0000-0000-000000000693",+ "id": "00000000-0000-0000-0000-000000000586",},"targetOpportunity": {- "id": "00000000-0000-0000-0000-000000000694",+ "id": "00000000-0000-0000-0000-000000000587",},"targetPerson": {- "id": "00000000-0000-0000-0000-000000000692",+ "id": "00000000-0000-0000-0000-000000000585",},"task": {- "id": "00000000-0000-0000-0000-000000000691",+ "id": "00000000-0000-0000-0000-000000000584",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000689",+ "id": "00000000-0000-0000-0000-000000000582",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000696",+ "id": "00000000-0000-0000-0000-000000000589",},},- "id": "00000000-0000-0000-0000-000000000705",+ "id": "00000000-0000-0000-0000-000000000598","views": {"allTaskTargets": {- "id": "00000000-0000-0000-0000-000000000704",+ "id": "00000000-0000-0000-0000-000000000597","viewFieldGroups": {},"viewFields": {"id": {- "id": "00000000-0000-0000-0000-000000000699",+ "id": "00000000-0000-0000-0000-000000000592",},"targetCompany": {- "id": "00000000-0000-0000-0000-000000000702",+ "id": "00000000-0000-0000-0000-000000000595",},"targetOpportunity": {- "id": "00000000-0000-0000-0000-000000000703",+ "id": "00000000-0000-0000-0000-000000000596",},"targetPerson": {- "id": "00000000-0000-0000-0000-000000000701",+ "id": "00000000-0000-0000-0000-000000000594",},"task": {- "id": "00000000-0000-0000-0000-000000000700",+ "id": "00000000-0000-0000-0000-000000000593",},},"viewGroups": {},@@ -2373,125 +2013,125 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"timelineActivity": {"fields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000707",+ "id": "00000000-0000-0000-0000-000000000600",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000726",+ "id": "00000000-0000-0000-0000-000000000619",},"deletedAt": {- "id": "00000000-0000-0000-0000-000000000709",+ "id": "00000000-0000-0000-0000-000000000602",},"happensAt": {- "id": "00000000-0000-0000-0000-000000000710",+ "id": "00000000-0000-0000-0000-000000000603",},"id": {- "id": "00000000-0000-0000-0000-000000000706",+ "id": "00000000-0000-0000-0000-000000000599",},"linkedObjectMetadataId": {- "id": "00000000-0000-0000-0000-000000000725",+ "id": "00000000-0000-0000-0000-000000000618",},"linkedRecordCachedName": {- "id": "00000000-0000-0000-0000-000000000723",+ "id": "00000000-0000-0000-0000-000000000616",},"linkedRecordId": {- "id": "00000000-0000-0000-0000-000000000724",+ "id": "00000000-0000-0000-0000-000000000617",},"name": {- "id": "00000000-0000-0000-0000-000000000711",+ "id": "00000000-0000-0000-0000-000000000604",},"position": {- "id": "00000000-0000-0000-0000-000000000728",+ "id": "00000000-0000-0000-0000-000000000621",},"properties": {- "id": "00000000-0000-0000-0000-000000000712",+ "id": "00000000-0000-0000-0000-000000000605",},"searchVector": {- "id": "00000000-0000-0000-0000-000000000729",+ "id": "00000000-0000-0000-0000-000000000622",},"targetCompany": {- "id": "00000000-0000-0000-0000-000000000715",+ "id": "00000000-0000-0000-0000-000000000608",},"targetDashboard": {- "id": "00000000-0000-0000-0000-000000000722",+ "id": "00000000-0000-0000-0000-000000000615",},"targetNote": {- "id": "00000000-0000-0000-0000-000000000718",+ "id": "00000000-0000-0000-0000-000000000611",},"targetOpportunity": {- "id": "00000000-0000-0000-0000-000000000716",+ "id": "00000000-0000-0000-0000-000000000609",},"targetPerson": {- "id": "00000000-0000-0000-0000-000000000714",+ "id": "00000000-0000-0000-0000-000000000607",},"targetTask": {- "id": "00000000-0000-0000-0000-000000000717",+ "id": "00000000-0000-0000-0000-000000000610",},"targetWorkflow": {- "id": "00000000-0000-0000-0000-000000000719",+ "id": "00000000-0000-0000-0000-000000000612",},"targetWorkflowRun": {- "id": "00000000-0000-0000-0000-000000000721",+ "id": "00000000-0000-0000-0000-000000000614",},"targetWorkflowVersion": {- "id": "00000000-0000-0000-0000-000000000720",+ "id": "00000000-0000-0000-0000-000000000613",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000708",+ "id": "00000000-0000-0000-0000-000000000601",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000727",+ "id": "00000000-0000-0000-0000-000000000620",},"workspaceMember": {- "id": "00000000-0000-0000-0000-000000000713",+ "id": "00000000-0000-0000-0000-000000000606",},},- "id": "00000000-0000-0000-0000-000000000745",+ "id": "00000000-0000-0000-0000-000000000638","views": {"allTimelineActivities": {- "id": "00000000-0000-0000-0000-000000000744",+ "id": "00000000-0000-0000-0000-000000000637","viewFieldGroups": {},"viewFields": {"happensAt": {- "id": "00000000-0000-0000-0000-000000000731",+ "id": "00000000-0000-0000-0000-000000000624",},"linkedRecordCachedName": {- "id": "00000000-0000-0000-0000-000000000734",+ "id": "00000000-0000-0000-0000-000000000627",},"name": {- "id": "00000000-0000-0000-0000-000000000730",+ "id": "00000000-0000-0000-0000-000000000623",},"properties": {- "id": "00000000-0000-0000-0000-000000000732",+ "id": "00000000-0000-0000-0000-000000000625",},"targetCompany": {- "id": "00000000-0000-0000-0000-000000000736",+ "id": "00000000-0000-0000-0000-000000000629",},"targetDashboard": {- "id": "00000000-0000-0000-0000-000000000743",+ "id": "00000000-0000-0000-0000-000000000636",},"targetNote": {- "id": "00000000-0000-0000-0000-000000000739",+ "id": "00000000-0000-0000-0000-000000000632",},"targetOpportunity": {- "id": "00000000-0000-0000-0000-000000000737",+ "id": "00000000-0000-0000-0000-000000000630",},"targetPerson": {- "id": "00000000-0000-0000-0000-000000000735",+ "id": "00000000-0000-0000-0000-000000000628",},"targetTask": {- "id": "00000000-0000-0000-0000-000000000738",+ "id": "00000000-0000-0000-0000-000000000631",},"targetWorkflow": {- "id": "00000000-0000-0000-0000-000000000740",+ "id": "00000000-0000-0000-0000-000000000633",},"targetWorkflowRun": {- "id": "00000000-0000-0000-0000-000000000742",+ "id": "00000000-0000-0000-0000-000000000635",},"targetWorkflowVersion": {- "id": "00000000-0000-0000-0000-000000000741",+ "id": "00000000-0000-0000-0000-000000000634",},"workspaceMember": {- "id": "00000000-0000-0000-0000-000000000733",+ "id": "00000000-0000-0000-0000-000000000626",},},"viewGroups": {},@@ -2501,77 +2141,77 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"workflow": {"fields": {"attachments": {- "id": "00000000-0000-0000-0000-000000000758",+ "id": "00000000-0000-0000-0000-000000000651",},"automatedTriggers": {- "id": "00000000-0000-0000-0000-000000000756",+ "id": "00000000-0000-0000-0000-000000000649",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000747",+ "id": "00000000-0000-0000-0000-000000000640",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000759",+ "id": "00000000-0000-0000-0000-000000000652",},"deletedAt": {- "id": "00000000-0000-0000-0000-000000000749",+ "id": "00000000-0000-0000-0000-000000000642",},"id": {- "id": "00000000-0000-0000-0000-000000000746",+ "id": "00000000-0000-0000-0000-000000000639",},"lastPublishedVersionId": {- "id": "00000000-0000-0000-0000-000000000751",+ "id": "00000000-0000-0000-0000-000000000644",},"name": {- "id": "00000000-0000-0000-0000-000000000750",+ "id": "00000000-0000-0000-0000-000000000643",},"position": {- "id": "00000000-0000-0000-0000-000000000753",+ "id": "00000000-0000-0000-0000-000000000646",},"runs": {- "id": "00000000-0000-0000-0000-000000000755",+ "id": "00000000-0000-0000-0000-000000000648",},"searchVector": {- "id": "00000000-0000-0000-0000-000000000761",+ "id": "00000000-0000-0000-0000-000000000654",},"statuses": {- "id": "00000000-0000-0000-0000-000000000752",+ "id": "00000000-0000-0000-0000-000000000645",},"timelineActivities": {- "id": "00000000-0000-0000-0000-000000000757",+ "id": "00000000-0000-0000-0000-000000000650",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000748",+ "id": "00000000-0000-0000-0000-000000000641",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000760",+ "id": "00000000-0000-0000-0000-000000000653",},"versions": {- "id": "00000000-0000-0000-0000-000000000754",+ "id": "00000000-0000-0000-0000-000000000647",},},- "id": "00000000-0000-0000-0000-000000000769",+ "id": "00000000-0000-0000-0000-000000000662","views": {"allWorkflows": {- "id": "00000000-0000-0000-0000-000000000768",+ "id": "00000000-0000-0000-0000-000000000661","viewFieldGroups": {},"viewFields": {"createdBy": {- "id": "00000000-0000-0000-0000-000000000765",+ "id": "00000000-0000-0000-0000-000000000658",},"name": {- "id": "00000000-0000-0000-0000-000000000762",+ "id": "00000000-0000-0000-0000-000000000655",},"runs": {- "id": "00000000-0000-0000-0000-000000000767",+ "id": "00000000-0000-0000-0000-000000000660",},"statuses": {- "id": "00000000-0000-0000-0000-000000000763",+ "id": "00000000-0000-0000-0000-000000000656",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000764",+ "id": "00000000-0000-0000-0000-000000000657",},"versions": {- "id": "00000000-0000-0000-0000-000000000766",+ "id": "00000000-0000-0000-0000-000000000659",},},"viewGroups": {},@@ -2581,79 +2221,79 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"workflowAutomatedTrigger": {"fields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000771",+ "id": "00000000-0000-0000-0000-000000000664",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000777",+ "id": "00000000-0000-0000-0000-000000000670",},"deletedAt": {- "id": "00000000-0000-0000-0000-000000000773",+ "id": "00000000-0000-0000-0000-000000000666",},"id": {- "id": "00000000-0000-0000-0000-000000000770",+ "id": "00000000-0000-0000-0000-000000000663",},"position": {- "id": "00000000-0000-0000-0000-000000000779",+ "id": "00000000-0000-0000-0000-000000000672",},"searchVector": {- "id": "00000000-0000-0000-0000-000000000780",+ "id": "00000000-0000-0000-0000-000000000673",},"settings": {- "id": "00000000-0000-0000-0000-000000000775",+ "id": "00000000-0000-0000-0000-000000000668",},"type": {- "id": "00000000-0000-0000-0000-000000000774",+ "id": "00000000-0000-0000-0000-000000000667",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000772",+ "id": "00000000-0000-0000-0000-000000000665",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000778",+ "id": "00000000-0000-0000-0000-000000000671",},"workflow": {- "id": "00000000-0000-0000-0000-000000000776",+ "id": "00000000-0000-0000-0000-000000000669",},},- "id": "00000000-0000-0000-0000-000000000792",+ "id": "00000000-0000-0000-0000-000000000685","views": {"allWorkflowAutomatedTriggers": {- "id": "00000000-0000-0000-0000-000000000784",+ "id": "00000000-0000-0000-0000-000000000677","viewFieldGroups": {},"viewFields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000783",+ "id": "00000000-0000-0000-0000-000000000676",},"type": {- "id": "00000000-0000-0000-0000-000000000781",+ "id": "00000000-0000-0000-0000-000000000674",},"workflow": {- "id": "00000000-0000-0000-0000-000000000782",+ "id": "00000000-0000-0000-0000-000000000675",},},"viewGroups": {},},"workflowAutomatedTriggerRecordPageFields": {- "id": "00000000-0000-0000-0000-000000000791",+ "id": "00000000-0000-0000-0000-000000000684","viewFieldGroups": {"general": {- "id": "00000000-0000-0000-0000-000000000789",+ "id": "00000000-0000-0000-0000-000000000682",},"system": {- "id": "00000000-0000-0000-0000-000000000790",+ "id": "00000000-0000-0000-0000-000000000683",},},"viewFields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000787",+ "id": "00000000-0000-0000-0000-000000000680",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000788",+ "id": "00000000-0000-0000-0000-000000000681",},"type": {- "id": "00000000-0000-0000-0000-000000000785",+ "id": "00000000-0000-0000-0000-000000000678",},"workflow": {- "id": "00000000-0000-0000-0000-000000000786",+ "id": "00000000-0000-0000-0000-000000000679",},},"viewGroups": {},@@ -2663,130 +2303,130 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"workflowRun": {"fields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000794",+ "id": "00000000-0000-0000-0000-000000000687",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000805",+ "id": "00000000-0000-0000-0000-000000000698",},"deletedAt": {- "id": "00000000-0000-0000-0000-000000000796",+ "id": "00000000-0000-0000-0000-000000000689",},"endedAt": {- "id": "00000000-0000-0000-0000-000000000802",+ "id": "00000000-0000-0000-0000-000000000695",},"enqueuedAt": {- "id": "00000000-0000-0000-0000-000000000800",+ "id": "00000000-0000-0000-0000-000000000693",},"id": {- "id": "00000000-0000-0000-0000-000000000793",+ "id": "00000000-0000-0000-0000-000000000686",},"name": {- "id": "00000000-0000-0000-0000-000000000797",+ "id": "00000000-0000-0000-0000-000000000690",},"position": {- "id": "00000000-0000-0000-0000-000000000804",+ "id": "00000000-0000-0000-0000-000000000697",},"searchVector": {- "id": "00000000-0000-0000-0000-000000000809",+ "id": "00000000-0000-0000-0000-000000000702",},"startedAt": {- "id": "00000000-0000-0000-0000-000000000801",+ "id": "00000000-0000-0000-0000-000000000694",},"state": {- "id": "00000000-0000-0000-0000-000000000807",+ "id": "00000000-0000-0000-0000-000000000700",},"status": {- "id": "00000000-0000-0000-0000-000000000803",+ "id": "00000000-0000-0000-0000-000000000696",},"timelineActivities": {- "id": "00000000-0000-0000-0000-000000000808",+ "id": "00000000-0000-0000-0000-000000000701",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000795",+ "id": "00000000-0000-0000-0000-000000000688",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000806",+ "id": "00000000-0000-0000-0000-000000000699",},"workflow": {- "id": "00000000-0000-0000-0000-000000000799",+ "id": "00000000-0000-0000-0000-000000000692",},"workflowVersion": {- "id": "00000000-0000-0000-0000-000000000798",+ "id": "00000000-0000-0000-0000-000000000691",},},- "id": "00000000-0000-0000-0000-000000000832",+ "id": "00000000-0000-0000-0000-000000000725","views": {"allWorkflowRuns": {- "id": "00000000-0000-0000-0000-000000000816",+ "id": "00000000-0000-0000-0000-000000000709","viewFieldGroups": {},"viewFields": {"createdBy": {- "id": "00000000-0000-0000-0000-000000000814",+ "id": "00000000-0000-0000-0000-000000000707",},"name": {- "id": "00000000-0000-0000-0000-000000000810",+ "id": "00000000-0000-0000-0000-000000000703",},"startedAt": {- "id": "00000000-0000-0000-0000-000000000813",+ "id": "00000000-0000-0000-0000-000000000706",},"status": {- "id": "00000000-0000-0000-0000-000000000812",+ "id": "00000000-0000-0000-0000-000000000705",},"workflow": {- "id": "00000000-0000-0000-0000-000000000811",+ "id": "00000000-0000-0000-0000-000000000704",},"workflowVersion": {- "id": "00000000-0000-0000-0000-000000000815",+ "id": "00000000-0000-0000-0000-000000000708",},},"viewGroups": {},},"workflowRunRecordPageFields": {- "id": "00000000-0000-0000-0000-000000000831",+ "id": "00000000-0000-0000-0000-000000000724","viewFieldGroups": {"general": {- "id": "00000000-0000-0000-0000-000000000829",+ "id": "00000000-0000-0000-0000-000000000722",},"system": {- "id": "00000000-0000-0000-0000-000000000830",+ "id": "00000000-0000-0000-0000-000000000723",},},"viewFields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000822",+ "id": "00000000-0000-0000-0000-000000000715",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000823",+ "id": "00000000-0000-0000-0000-000000000716",},"endedAt": {- "id": "00000000-0000-0000-0000-000000000821",+ "id": "00000000-0000-0000-0000-000000000714",},"enqueuedAt": {- "id": "00000000-0000-0000-0000-000000000824",+ "id": "00000000-0000-0000-0000-000000000717",},"startedAt": {- "id": "00000000-0000-0000-0000-000000000820",+ "id": "00000000-0000-0000-0000-000000000713",},"state": {- "id": "00000000-0000-0000-0000-000000000825",+ "id": "00000000-0000-0000-0000-000000000718",},"status": {- "id": "00000000-0000-0000-0000-000000000817",+ "id": "00000000-0000-0000-0000-000000000710",},"timelineActivities": {- "id": "00000000-0000-0000-0000-000000000828",+ "id": "00000000-0000-0000-0000-000000000721",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000826",+ "id": "00000000-0000-0000-0000-000000000719",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000827",+ "id": "00000000-0000-0000-0000-000000000720",},"workflow": {- "id": "00000000-0000-0000-0000-000000000818",+ "id": "00000000-0000-0000-0000-000000000711",},"workflowVersion": {- "id": "00000000-0000-0000-0000-000000000819",+ "id": "00000000-0000-0000-0000-000000000712",},},"viewGroups": {},@@ -2796,115 +2436,115 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"workflowVersion": {"fields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000834",+ "id": "00000000-0000-0000-0000-000000000727",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000846",+ "id": "00000000-0000-0000-0000-000000000739",},"deletedAt": {- "id": "00000000-0000-0000-0000-000000000836",+ "id": "00000000-0000-0000-0000-000000000729",},"id": {- "id": "00000000-0000-0000-0000-000000000833",+ "id": "00000000-0000-0000-0000-000000000726",},"name": {- "id": "00000000-0000-0000-0000-000000000837",+ "id": "00000000-0000-0000-0000-000000000730",},"position": {- "id": "00000000-0000-0000-0000-000000000841",+ "id": "00000000-0000-0000-0000-000000000734",},"runs": {- "id": "00000000-0000-0000-0000-000000000842",+ "id": "00000000-0000-0000-0000-000000000735",},"searchVector": {- "id": "00000000-0000-0000-0000-000000000845",+ "id": "00000000-0000-0000-0000-000000000738",},"status": {- "id": "00000000-0000-0000-0000-000000000840",+ "id": "00000000-0000-0000-0000-000000000733",},"steps": {- "id": "00000000-0000-0000-0000-000000000843",+ "id": "00000000-0000-0000-0000-000000000736",},"timelineActivities": {- "id": "00000000-0000-0000-0000-000000000844",+ "id": "00000000-0000-0000-0000-000000000737",},"trigger": {- "id": "00000000-0000-0000-0000-000000000839",+ "id": "00000000-0000-0000-0000-000000000732",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000835",+ "id": "00000000-0000-0000-0000-000000000728",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000847",+ "id": "00000000-0000-0000-0000-000000000740",},"workflow": {- "id": "00000000-0000-0000-0000-000000000838",+ "id": "00000000-0000-0000-0000-000000000731",},},- "id": "00000000-0000-0000-0000-000000000867",+ "id": "00000000-0000-0000-0000-000000000760","views": {"allWorkflowVersions": {- "id": "00000000-0000-0000-0000-000000000853",+ "id": "00000000-0000-0000-0000-000000000746","viewFieldGroups": {},"viewFields": {"name": {- "id": "00000000-0000-0000-0000-000000000848",+ "id": "00000000-0000-0000-0000-000000000741",},"runs": {- "id": "00000000-0000-0000-0000-000000000852",+ "id": "00000000-0000-0000-0000-000000000745",},"status": {- "id": "00000000-0000-0000-0000-000000000850",+ "id": "00000000-0000-0000-0000-000000000743",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000851",+ "id": "00000000-0000-0000-0000-000000000744",},"workflow": {- "id": "00000000-0000-0000-0000-000000000849",+ "id": "00000000-0000-0000-0000-000000000742",},},"viewGroups": {},},"workflowVersionRecordPageFields": {- "id": "00000000-0000-0000-0000-000000000866",+ "id": "00000000-0000-0000-0000-000000000759","viewFieldGroups": {"general": {- "id": "00000000-0000-0000-0000-000000000864",+ "id": "00000000-0000-0000-0000-000000000757",},"system": {- "id": "00000000-0000-0000-0000-000000000865",+ "id": "00000000-0000-0000-0000-000000000758",},},"viewFields": {"createdAt": {- "id": "00000000-0000-0000-0000-000000000857",+ "id": "00000000-0000-0000-0000-000000000750",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000859",+ "id": "00000000-0000-0000-0000-000000000752",},"runs": {- "id": "00000000-0000-0000-0000-000000000862",+ "id": "00000000-0000-0000-0000-000000000755",},"status": {- "id": "00000000-0000-0000-0000-000000000854",+ "id": "00000000-0000-0000-0000-000000000747",},"steps": {- "id": "00000000-0000-0000-0000-000000000858",+ "id": "00000000-0000-0000-0000-000000000751",},"timelineActivities": {- "id": "00000000-0000-0000-0000-000000000863",+ "id": "00000000-0000-0000-0000-000000000756",},"trigger": {- "id": "00000000-0000-0000-0000-000000000856",+ "id": "00000000-0000-0000-0000-000000000749",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000860",+ "id": "00000000-0000-0000-0000-000000000753",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000861",+ "id": "00000000-0000-0000-0000-000000000754",},"workflow": {- "id": "00000000-0000-0000-0000-000000000855",+ "id": "00000000-0000-0000-0000-000000000748",},},"viewGroups": {},@@ -2914,122 +2554,122 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"workspaceMember": {"fields": {"accountOwnerForCompanies": {- "id": "00000000-0000-0000-0000-000000000881",+ "id": "00000000-0000-0000-0000-000000000774",},"assignedTasks": {- "id": "00000000-0000-0000-0000-000000000879",+ "id": "00000000-0000-0000-0000-000000000772",},"avatarUrl": {- "id": "00000000-0000-0000-0000-000000000876",+ "id": "00000000-0000-0000-0000-000000000769",},"blocklist": {- "id": "00000000-0000-0000-0000-000000000883",+ "id": "00000000-0000-0000-0000-000000000776",},"calendarEventParticipants": {- "id": "00000000-0000-0000-0000-000000000884",+ "id": "00000000-0000-0000-0000-000000000777",},"calendarStartDay": {- "id": "00000000-0000-0000-0000-000000000890",+ "id": "00000000-0000-0000-0000-000000000783",},"colorScheme": {- "id": "00000000-0000-0000-0000-000000000874",+ "id": "00000000-0000-0000-0000-000000000767",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000869",+ "id": "00000000-0000-0000-0000-000000000762",},"createdBy": {- "id": "00000000-0000-0000-0000-000000000892",+ "id": "00000000-0000-0000-0000-000000000785",},"dateFormat": {- "id": "00000000-0000-0000-0000-000000000887",+ "id": "00000000-0000-0000-0000-000000000780",},"deletedAt": {- "id": "00000000-0000-0000-0000-000000000871",+ "id": "00000000-0000-0000-0000-000000000764",},"id": {- "id": "00000000-0000-0000-0000-000000000868",+ "id": "00000000-0000-0000-0000-000000000761",},"locale": {- "id": "00000000-0000-0000-0000-000000000875",+ "id": "00000000-0000-0000-0000-000000000768",},"messageParticipants": {- "id": "00000000-0000-0000-0000-000000000882",+ "id": "00000000-0000-0000-0000-000000000775",},"name": {- "id": "00000000-0000-0000-0000-000000000873",+ "id": "00000000-0000-0000-0000-000000000766",},"numberFormat": {- "id": "00000000-0000-0000-0000-000000000891",+ "id": "00000000-0000-0000-0000-000000000784",},"ownedOpportunities": {- "id": "00000000-0000-0000-0000-000000000880",+ "id": "00000000-0000-0000-0000-000000000773",},"position": {- "id": "00000000-0000-0000-0000-000000000872",+ "id": "00000000-0000-0000-0000-000000000765",},"searchVector": {- "id": "00000000-0000-0000-0000-000000000889",+ "id": "00000000-0000-0000-0000-000000000782",},"timeFormat": {- "id": "00000000-0000-0000-0000-000000000888",+ "id": "00000000-0000-0000-0000-000000000781",},"timeZone": {- "id": "00000000-0000-0000-0000-000000000886",+ "id": "00000000-0000-0000-0000-000000000779",},"timelineActivities": {- "id": "00000000-0000-0000-0000-000000000885",+ "id": "00000000-0000-0000-0000-000000000778",},"updatedAt": {- "id": "00000000-0000-0000-0000-000000000870",+ "id": "00000000-0000-0000-0000-000000000763",},"updatedBy": {- "id": "00000000-0000-0000-0000-000000000893",+ "id": "00000000-0000-0000-0000-000000000786",},"userEmail": {- "id": "00000000-0000-0000-0000-000000000877",+ "id": "00000000-0000-0000-0000-000000000770",},"userId": {- "id": "00000000-0000-0000-0000-000000000878",+ "id": "00000000-0000-0000-0000-000000000771",},},- "id": "00000000-0000-0000-0000-000000000906",+ "id": "00000000-0000-0000-0000-000000000799","views": {"allWorkspaceMembers": {- "id": "00000000-0000-0000-0000-000000000905",+ "id": "00000000-0000-0000-0000-000000000798","viewFieldGroups": {},"viewFields": {"assignedTasks": {- "id": "00000000-0000-0000-0000-000000000904",+ "id": "00000000-0000-0000-0000-000000000797",},"avatarUrl": {- "id": "00000000-0000-0000-0000-000000000896",+ "id": "00000000-0000-0000-0000-000000000789",},"colorScheme": {- "id": "00000000-0000-0000-0000-000000000897",+ "id": "00000000-0000-0000-0000-000000000790",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000902",+ "id": "00000000-0000-0000-0000-000000000795",},"dateFormat": {- "id": "00000000-0000-0000-0000-000000000900",+ "id": "00000000-0000-0000-0000-000000000793",},"locale": {- "id": "00000000-0000-0000-0000-000000000898",+ "id": "00000000-0000-0000-0000-000000000791",},"name": {- "id": "00000000-0000-0000-0000-000000000894",+ "id": "00000000-0000-0000-0000-000000000787",},"ownedOpportunities": {- "id": "00000000-0000-0000-0000-000000000903",+ "id": "00000000-0000-0000-0000-000000000796",},"timeFormat": {- "id": "00000000-0000-0000-0000-000000000901",+ "id": "00000000-0000-0000-0000-000000000794",},"timeZone": {- "id": "00000000-0000-0000-0000-000000000899",+ "id": "00000000-0000-0000-0000-000000000792",},"userEmail": {- "id": "00000000-0000-0000-0000-000000000895",+ "id": "00000000-0000-0000-0000-000000000788",},},"viewGroups": {},diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-page-layout-metadata-related-entity-ids.util.spec.ts.snap b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-page-layout-metadata-related-entity-ids.util.spec.ts.snapindex 40ab2388f52..f39aa81370c 100644--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-page-layout-metadata-related-entity-ids.util.spec.ts.snap+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-page-layout-metadata-related-entity-ids.util.spec.ts.snap@@ -24,27 +24,6 @@ exports[`getStandardPageLayoutMetadataRelatedEntityIds should return standard pa},},"calendarChannelEventAssociationRecordPage": {- "id": "00000000-0000-0000-0000-000000000021",- "tabs": {- "home": {- "id": "00000000-0000-0000-0000-000000000022",- "widgets": {- "fields": {- "id": "00000000-0000-0000-0000-000000000023",- },- },- },- "timeline": {- "id": "00000000-0000-0000-0000-000000000024",- "widgets": {- "timeline": {- "id": "00000000-0000-0000-0000-000000000025",- },- },- },- },- },- "calendarChannelRecordPage": {"id": "00000000-0000-0000-0000-000000000016","tabs": {"home": {@@ -66,136 +45,94 @@ exports[`getStandardPageLayoutMetadataRelatedEntityIds should return standard pa},},"calendarEventParticipantRecordPage": {- "id": "00000000-0000-0000-0000-000000000026",+ "id": "00000000-0000-0000-0000-000000000021","tabs": {"home": {- "id": "00000000-0000-0000-0000-000000000027",+ "id": "00000000-0000-0000-0000-000000000022","widgets": {"fields": {- "id": "00000000-0000-0000-0000-000000000028",+ "id": "00000000-0000-0000-0000-000000000023",},},},"timeline": {- "id": "00000000-0000-0000-0000-000000000029",+ "id": "00000000-0000-0000-0000-000000000024","widgets": {"timeline": {- "id": "00000000-0000-0000-0000-000000000030",+ "id": "00000000-0000-0000-0000-000000000025",},},},},},"companyRecordPage": {- "id": "00000000-0000-0000-0000-000000000031",+ "id": "00000000-0000-0000-0000-000000000026","tabs": {"calendar": {- "id": "00000000-0000-0000-0000-000000000046",+ "id": "00000000-0000-0000-0000-000000000041","widgets": {"calendar": {- "id": "00000000-0000-0000-0000-000000000047",+ "id": "00000000-0000-0000-0000-000000000042",},},},"emails": {- "id": "00000000-0000-0000-0000-000000000044",+ "id": "00000000-0000-0000-0000-000000000039","widgets": {"emails": {- "id": "00000000-0000-0000-0000-000000000045",+ "id": "00000000-0000-0000-0000-000000000040",},},},"files": {- "id": "00000000-0000-0000-0000-000000000042",+ "id": "00000000-0000-0000-0000-000000000037","widgets": {"files": {- "id": "00000000-0000-0000-0000-000000000043",+ "id": "00000000-0000-0000-0000-000000000038",},},},"home": {- "id": "00000000-0000-0000-0000-000000000032",+ "id": "00000000-0000-0000-0000-000000000027","widgets": {"fields": {- "id": "00000000-0000-0000-0000-000000000033",+ "id": "00000000-0000-0000-0000-000000000028",},"opportunities": {- "id": "00000000-0000-0000-0000-000000000035",+ "id": "00000000-0000-0000-0000-000000000030",},"people": {- "id": "00000000-0000-0000-0000-000000000034",+ "id": "00000000-0000-0000-0000-000000000029",},},},"notes": {- "id": "00000000-0000-0000-0000-000000000040",+ "id": "00000000-0000-0000-0000-000000000035","widgets": {"notes": {- "id": "00000000-0000-0000-0000-000000000041",+ "id": "00000000-0000-0000-0000-000000000036",},},},"tasks": {- "id": "00000000-0000-0000-0000-000000000038",+ "id": "00000000-0000-0000-0000-000000000033","widgets": {"tasks": {- "id": "00000000-0000-0000-0000-000000000039",+ "id": "00000000-0000-0000-0000-000000000034",},},},"timeline": {- "id": "00000000-0000-0000-0000-000000000036",+ "id": "00000000-0000-0000-0000-000000000031","widgets": {"timeline": {- "id": "00000000-0000-0000-0000-000000000037",+ "id": "00000000-0000-0000-0000-000000000032",},},},},},"messageChannelMessageAssociationMessageFolderRecordPage": {- "id": "00000000-0000-0000-0000-000000000058",- "tabs": {- "home": {- "id": "00000000-0000-0000-0000-000000000059",- "widgets": {- "fields": {- "id": "00000000-0000-0000-0000-000000000060",- },- },- },- "timeline": {- "id": "00000000-0000-0000-0000-000000000061",- "widgets": {- "timeline": {- "id": "00000000-0000-0000-0000-000000000062",- },- },- },- },- },- "messageChannelMessageAssociationRecordPage": {- "id": "00000000-0000-0000-0000-000000000053",- "tabs": {- "home": {- "id": "00000000-0000-0000-0000-000000000054",- "widgets": {- "fields": {- "id": "00000000-0000-0000-0000-000000000055",- },- },- },- "timeline": {- "id": "00000000-0000-0000-0000-000000000056",- "widgets": {- "timeline": {- "id": "00000000-0000-0000-0000-000000000057",- },- },- },- },- },- "messageChannelRecordPage": {"id": "00000000-0000-0000-0000-000000000048","tabs": {"home": {@@ -216,56 +153,56 @@ exports[`getStandardPageLayoutMetadataRelatedEntityIds should return standard pa},},},- "messageFolderRecordPage": {- "id": "00000000-0000-0000-0000-000000000063",+ "messageChannelMessageAssociationRecordPage": {+ "id": "00000000-0000-0000-0000-000000000043","tabs": {"home": {- "id": "00000000-0000-0000-0000-000000000064",+ "id": "00000000-0000-0000-0000-000000000044","widgets": {"fields": {- "id": "00000000-0000-0000-0000-000000000065",+ "id": "00000000-0000-0000-0000-000000000045",},},},"timeline": {- "id": "00000000-0000-0000-0000-000000000066",+ "id": "00000000-0000-0000-0000-000000000046","widgets": {"timeline": {- "id": "00000000-0000-0000-0000-000000000067",+ "id": "00000000-0000-0000-0000-000000000047",},},},},},"messageParticipantRecordPage": {- "id": "00000000-0000-0000-0000-000000000068",+ "id": "00000000-0000-0000-0000-000000000053","tabs": {"home": {- "id": "00000000-0000-0000-0000-000000000069",+ "id": "00000000-0000-0000-0000-000000000054","widgets": {"fields": {- "id": "00000000-0000-0000-0000-000000000070",+ "id": "00000000-0000-0000-0000-000000000055",},},},"timeline": {- "id": "00000000-0000-0000-0000-000000000071",+ "id": "00000000-0000-0000-0000-000000000056","widgets": {"timeline": {- "id": "00000000-0000-0000-0000-000000000072",+ "id": "00000000-0000-0000-0000-000000000057",},},},},},"messageThreadRecordPage": {- "id": "00000000-0000-0000-0000-000000000073",+ "id": "00000000-0000-0000-0000-000000000058","tabs": {"home": {- "id": "00000000-0000-0000-0000-000000000074",+ "id": "00000000-0000-0000-0000-000000000059","widgets": {"emailThread": {- "id": "00000000-0000-0000-0000-000000000075",+ "id": "00000000-0000-0000-0000-000000000060",},},},@@ -306,299 +243,299 @@ exports[`getStandardPageLayoutMetadataRelatedEntityIds should return standard pa},},"noteRecordPage": {- "id": "00000000-0000-0000-0000-000000000076",+ "id": "00000000-0000-0000-0000-000000000061","tabs": {"files": {- "id": "00000000-0000-0000-0000-000000000084",+ "id": "00000000-0000-0000-0000-000000000069","widgets": {"files": {- "id": "00000000-0000-0000-0000-000000000085",+ "id": "00000000-0000-0000-0000-000000000070",},},},"home": {- "id": "00000000-0000-0000-0000-000000000077",+ "id": "00000000-0000-0000-0000-000000000062","widgets": {"fields": {- "id": "00000000-0000-0000-0000-000000000078",+ "id": "00000000-0000-0000-0000-000000000063",},"noteRichText": {- "id": "00000000-0000-0000-0000-000000000079",+ "id": "00000000-0000-0000-0000-000000000064",},},},"note": {- "id": "00000000-0000-0000-0000-000000000080",+ "id": "00000000-0000-0000-0000-000000000065","widgets": {"noteRichText": {- "id": "00000000-0000-0000-0000-000000000081",+ "id": "00000000-0000-0000-0000-000000000066",},},},"timeline": {- "id": "00000000-0000-0000-0000-000000000082",+ "id": "00000000-0000-0000-0000-000000000067","widgets": {"timeline": {- "id": "00000000-0000-0000-0000-000000000083",+ "id": "00000000-0000-0000-0000-000000000068",},},},},},"opportunityRecordPage": {- "id": "00000000-0000-0000-0000-000000000086",+ "id": "00000000-0000-0000-0000-000000000071","tabs": {"calendar": {- "id": "00000000-0000-0000-0000-000000000102",+ "id": "00000000-0000-0000-0000-000000000087","widgets": {"calendar": {- "id": "00000000-0000-0000-0000-000000000103",+ "id": "00000000-0000-0000-0000-000000000088",},},},"emails": {- "id": "00000000-0000-0000-0000-000000000100",+ "id": "00000000-0000-0000-0000-000000000085","widgets": {"emails": {- "id": "00000000-0000-0000-0000-000000000101",+ "id": "00000000-0000-0000-0000-000000000086",},},},"files": {- "id": "00000000-0000-0000-0000-000000000098",+ "id": "00000000-0000-0000-0000-000000000083","widgets": {"files": {- "id": "00000000-0000-0000-0000-000000000099",+ "id": "00000000-0000-0000-0000-000000000084",},},},"home": {- "id": "00000000-0000-0000-0000-000000000087",+ "id": "00000000-0000-0000-0000-000000000072","widgets": {"company": {- "id": "00000000-0000-0000-0000-000000000090",+ "id": "00000000-0000-0000-0000-000000000075",},"fields": {- "id": "00000000-0000-0000-0000-000000000088",+ "id": "00000000-0000-0000-0000-000000000073",},"owner": {- "id": "00000000-0000-0000-0000-000000000091",+ "id": "00000000-0000-0000-0000-000000000076",},"pointOfContact": {- "id": "00000000-0000-0000-0000-000000000089",+ "id": "00000000-0000-0000-0000-000000000074",},},},"notes": {- "id": "00000000-0000-0000-0000-000000000096",+ "id": "00000000-0000-0000-0000-000000000081","widgets": {"notes": {- "id": "00000000-0000-0000-0000-000000000097",+ "id": "00000000-0000-0000-0000-000000000082",},},},"tasks": {- "id": "00000000-0000-0000-0000-000000000094",+ "id": "00000000-0000-0000-0000-000000000079","widgets": {"tasks": {- "id": "00000000-0000-0000-0000-000000000095",+ "id": "00000000-0000-0000-0000-000000000080",},},},"timeline": {- "id": "00000000-0000-0000-0000-000000000092",+ "id": "00000000-0000-0000-0000-000000000077","widgets": {"timeline": {- "id": "00000000-0000-0000-0000-000000000093",+ "id": "00000000-0000-0000-0000-000000000078",},},},},},"personRecordPage": {- "id": "00000000-0000-0000-0000-000000000104",+ "id": "00000000-0000-0000-0000-000000000089","tabs": {"calendar": {- "id": "00000000-0000-0000-0000-000000000119",+ "id": "00000000-0000-0000-0000-000000000104","widgets": {"calendar": {- "id": "00000000-0000-0000-0000-000000000120",+ "id": "00000000-0000-0000-0000-000000000105",},},},"emails": {- "id": "00000000-0000-0000-0000-000000000117",+ "id": "00000000-0000-0000-0000-000000000102","widgets": {"emails": {- "id": "00000000-0000-0000-0000-000000000118",+ "id": "00000000-0000-0000-0000-000000000103",},},},"files": {- "id": "00000000-0000-0000-0000-000000000115",+ "id": "00000000-0000-0000-0000-000000000100","widgets": {"files": {- "id": "00000000-0000-0000-0000-000000000116",+ "id": "00000000-0000-0000-0000-000000000101",},},},"home": {- "id": "00000000-0000-0000-0000-000000000105",+ "id": "00000000-0000-0000-0000-000000000090","widgets": {"company": {- "id": "00000000-0000-0000-0000-000000000107",+ "id": "00000000-0000-0000-0000-000000000092",},"fields": {- "id": "00000000-0000-0000-0000-000000000106",+ "id": "00000000-0000-0000-0000-000000000091",},"pointOfContactForOpportunities": {- "id": "00000000-0000-0000-0000-000000000108",+ "id": "00000000-0000-0000-0000-000000000093",},},},"notes": {- "id": "00000000-0000-0000-0000-000000000113",+ "id": "00000000-0000-0000-0000-000000000098","widgets": {"notes": {- "id": "00000000-0000-0000-0000-000000000114",+ "id": "00000000-0000-0000-0000-000000000099",},},},"tasks": {- "id": "00000000-0000-0000-0000-000000000111",+ "id": "00000000-0000-0000-0000-000000000096","widgets": {"tasks": {- "id": "00000000-0000-0000-0000-000000000112",+ "id": "00000000-0000-0000-0000-000000000097",},},},"timeline": {- "id": "00000000-0000-0000-0000-000000000109",+ "id": "00000000-0000-0000-0000-000000000094","widgets": {"timeline": {- "id": "00000000-0000-0000-0000-000000000110",+ "id": "00000000-0000-0000-0000-000000000095",},},},},},"taskRecordPage": {- "id": "00000000-0000-0000-0000-000000000121",+ "id": "00000000-0000-0000-0000-000000000106","tabs": {"files": {- "id": "00000000-0000-0000-0000-000000000129",+ "id": "00000000-0000-0000-0000-000000000114","widgets": {"files": {- "id": "00000000-0000-0000-0000-000000000130",+ "id": "00000000-0000-0000-0000-000000000115",},},},"home": {- "id": "00000000-0000-0000-0000-000000000122",+ "id": "00000000-0000-0000-0000-000000000107","widgets": {"fields": {- "id": "00000000-0000-0000-0000-000000000123",+ "id": "00000000-0000-0000-0000-000000000108",},"taskRichText": {- "id": "00000000-0000-0000-0000-000000000124",+ "id": "00000000-0000-0000-0000-000000000109",},},},"note": {- "id": "00000000-0000-0000-0000-000000000125",+ "id": "00000000-0000-0000-0000-000000000110","widgets": {"taskRichText": {- "id": "00000000-0000-0000-0000-000000000126",+ "id": "00000000-0000-0000-0000-000000000111",},},},"timeline": {- "id": "00000000-0000-0000-0000-000000000127",+ "id": "00000000-0000-0000-0000-000000000112","widgets": {"timeline": {- "id": "00000000-0000-0000-0000-000000000128",+ "id": "00000000-0000-0000-0000-000000000113",},},},},},"workflowAutomatedTriggerRecordPage": {- "id": "00000000-0000-0000-0000-000000000134",+ "id": "00000000-0000-0000-0000-000000000119","tabs": {"home": {- "id": "00000000-0000-0000-0000-000000000135",+ "id": "00000000-0000-0000-0000-000000000120","widgets": {"fields": {- "id": "00000000-0000-0000-0000-000000000136",+ "id": "00000000-0000-0000-0000-000000000121",},},},"timeline": {- "id": "00000000-0000-0000-0000-000000000137",+ "id": "00000000-0000-0000-0000-000000000122","widgets": {"timeline": {- "id": "00000000-0000-0000-0000-000000000138",+ "id": "00000000-0000-0000-0000-000000000123",},},},},},"workflowRecordPage": {- "id": "00000000-0000-0000-0000-000000000131",+ "id": "00000000-0000-0000-0000-000000000116","tabs": {"flow": {- "id": "00000000-0000-0000-0000-000000000132",+ "id": "00000000-0000-0000-0000-000000000117","widgets": {"workflow": {- "id": "00000000-0000-0000-0000-000000000133",+ "id": "00000000-0000-0000-0000-000000000118",},},},},},"workflowRunRecordPage": {- "id": "00000000-0000-0000-0000-000000000145",+ "id": "00000000-0000-0000-0000-000000000130","tabs": {"flow": {- "id": "00000000-0000-0000-0000-000000000149",+ "id": "00000000-0000-0000-0000-000000000134","widgets": {"workflowRun": {- "id": "00000000-0000-0000-0000-000000000150",+ "id": "00000000-0000-0000-0000-000000000135",},},},"home": {- "id": "00000000-0000-0000-0000-000000000146",+ "id": "00000000-0000-0000-0000-000000000131","widgets": {"fields": {- "id": "00000000-0000-0000-0000-000000000147",+ "id": "00000000-0000-0000-0000-000000000132",},"workflow": {- "id": "00000000-0000-0000-0000-000000000148",+ "id": "00000000-0000-0000-0000-000000000133",},},},},},"workflowVersionRecordPage": {- "id": "00000000-0000-0000-0000-000000000139",+ "id": "00000000-0000-0000-0000-000000000124","tabs": {"flow": {- "id": "00000000-0000-0000-0000-000000000143",+ "id": "00000000-0000-0000-0000-000000000128","widgets": {"workflowVersion": {- "id": "00000000-0000-0000-0000-000000000144",+ "id": "00000000-0000-0000-0000-000000000129",},},},"home": {- "id": "00000000-0000-0000-0000-000000000140",+ "id": "00000000-0000-0000-0000-000000000125","widgets": {"fields": {- "id": "00000000-0000-0000-0000-000000000141",+ "id": "00000000-0000-0000-0000-000000000126",},"workflow": {- "id": "00000000-0000-0000-0000-000000000142",+ "id": "00000000-0000-0000-0000-000000000127",},},},diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/build-standard-flat-field-metadata-maps.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/build-standard-flat-field-metadata-maps.util.tsindex 7676cb3b0fc..5e1f21ad29c 100644--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/build-standard-flat-field-metadata-maps.util.ts+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/build-standard-flat-field-metadata-maps.util.ts@@ -8,15 +8,12 @@ import { type AllStandardObjectName } from 'src/engine/workspace-manager/twenty-import { buildAttachmentStandardFlatFieldMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-attachment-standard-flat-field-metadata.util';import { buildBlocklistStandardFlatFieldMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-blocklist-standard-flat-field-metadata.util';import { buildCalendarChannelEventAssociationStandardFlatFieldMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-calendar-channel-event-association-standard-flat-field-metadata.util';-import { buildCalendarChannelStandardFlatFieldMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-calendar-channel-standard-flat-field-metadata.util';import { buildCalendarEventParticipantStandardFlatFieldMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-calendar-event-participant-standard-flat-field-metadata.util';import { buildCalendarEventStandardFlatFieldMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-calendar-event-standard-flat-field-metadata.util';import { buildCompanyStandardFlatFieldMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-company-standard-flat-field-metadata.util';import { buildDashboardStandardFlatFieldMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-dashboard-standard-flat-field-metadata.util';import { buildMessageChannelMessageAssociationMessageFolderStandardFlatFieldMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-channel-message-association-message-folder-standard-flat-field-metadata.util';-import { buildMessageChannelStandardFlatFieldMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-channel-standard-flat-field-metadata.util';import { buildMessageChannelMessageAssociationStandardFlatFieldMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-channel-message-association-standard-flat-field-metadata.util';-import { buildMessageFolderStandardFlatFieldMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-folder-standard-flat-field-metadata.util';import { buildMessageParticipantStandardFlatFieldMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-participant-standard-flat-field-metadata.util';import { buildMessageStandardFlatFieldMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-standard-flat-field-metadata.util';import { buildMessageThreadStandardFlatFieldMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-thread-standard-flat-field-metadata.util';@@ -41,7 +38,6 @@ type StandardFieldBuilder<P extends AllStandardObjectName> = (const STANDARD_FLAT_FIELD_METADATA_BUILDERS_BY_OBJECT_NAME = {attachment: buildAttachmentStandardFlatFieldMetadatas,blocklist: buildBlocklistStandardFlatFieldMetadatas,- calendarChannel: buildCalendarChannelStandardFlatFieldMetadatas,calendarChannelEventAssociation:buildCalendarChannelEventAssociationStandardFlatFieldMetadatas,calendarEventParticipant:@@ -50,12 +46,10 @@ const STANDARD_FLAT_FIELD_METADATA_BUILDERS_BY_OBJECT_NAME = {company: buildCompanyStandardFlatFieldMetadatas,dashboard: buildDashboardStandardFlatFieldMetadatas,message: buildMessageStandardFlatFieldMetadatas,- messageChannel: buildMessageChannelStandardFlatFieldMetadatas,messageChannelMessageAssociation:buildMessageChannelMessageAssociationStandardFlatFieldMetadatas,messageChannelMessageAssociationMessageFolder:buildMessageChannelMessageAssociationMessageFolderStandardFlatFieldMetadatas,- messageFolder: buildMessageFolderStandardFlatFieldMetadatas,messageParticipant: buildMessageParticipantStandardFlatFieldMetadatas,messageThread: buildMessageThreadStandardFlatFieldMetadatas,note: buildNoteStandardFlatFieldMetadatas,diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-calendar-channel-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-calendar-channel-standard-flat-field-metadata.util.tsdeleted file mode 100644index 2c3c002022b..00000000000--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-calendar-channel-standard-flat-field-metadata.util.ts+++ /dev/null@@ -1,533 +0,0 @@-import { msg } from '@lingui/core/macro';-import { i18nLabel } from 'src/engine/workspace-manager/twenty-standard-application/utils/i18n-label.util';-import { DateDisplayFormat, FieldMetadataType } from 'twenty-shared/types';--import { type FlatFieldMetadata } from 'src/engine/metadata-modules/flat-field-metadata/types/flat-field-metadata.type';-import { type AllStandardObjectFieldName } from 'src/engine/workspace-manager/twenty-standard-application/types/all-standard-object-field-name.type';-import {- type CreateStandardFieldArgs,- createStandardFieldFlatMetadata,-} from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/create-standard-field-flat-metadata.util';-import { getTsVectorColumnExpressionFromFields } from 'src/engine/workspace-manager/utils/get-ts-vector-column-expression.util';-import { SEARCH_FIELDS_FOR_CALENDAR_CHANNEL } from 'src/modules/calendar/common/standard-objects/calendar-channel.workspace-entity';--export const buildCalendarChannelStandardFlatFieldMetadatas = ({- now,- objectName,- workspaceId,- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,-}: Omit<- CreateStandardFieldArgs<'calendarChannel', FieldMetadataType>,- 'context'->): Record<- AllStandardObjectFieldName<'calendarChannel'>,- FlatFieldMetadata-> => ({- id: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'id',- type: FieldMetadataType.UUID,- label: i18nLabel(msg`Id`),- description: i18nLabel(msg`Id`),- icon: 'Icon123',- isSystem: true,- isNullable: false,- isUIReadOnly: true,- defaultValue: 'uuid',- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- createdAt: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'createdAt',- type: FieldMetadataType.DATE_TIME,- label: i18nLabel(msg`Creation date`),- description: i18nLabel(msg`Creation date`),- icon: 'IconCalendar',- isSystem: true,- isNullable: false,- isUIReadOnly: true,- defaultValue: 'now',- settings: { displayFormat: DateDisplayFormat.RELATIVE },- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- updatedAt: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'updatedAt',- type: FieldMetadataType.DATE_TIME,- label: i18nLabel(msg`Last update`),- description: i18nLabel(msg`Last time the record was changed`),- icon: 'IconCalendarClock',- isSystem: true,- isNullable: false,- isUIReadOnly: true,- defaultValue: 'now',- settings: { displayFormat: DateDisplayFormat.RELATIVE },- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- deletedAt: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'deletedAt',- type: FieldMetadataType.DATE_TIME,- label: i18nLabel(msg`Deleted at`),- description: i18nLabel(msg`Date when the record was deleted`),- icon: 'IconCalendarMinus',- isSystem: true,- isNullable: true,- isUIReadOnly: true,- settings: { displayFormat: DateDisplayFormat.RELATIVE },- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- createdBy: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'createdBy',- type: FieldMetadataType.ACTOR,- label: i18nLabel(msg`Created by`),- description: i18nLabel(msg`The creator of the record`),- icon: 'IconCreativeCommonsSa',- isSystem: true,- isUIReadOnly: true,- isNullable: false,- defaultValue: {- source: "'MANUAL'",- name: "'System'",- workspaceMemberId: null,- },- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- updatedBy: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'updatedBy',- type: FieldMetadataType.ACTOR,- label: i18nLabel(msg`Updated by`),- description: i18nLabel(- msg`The workspace member who last updated the record`,- ),- icon: 'IconUserCircle',- isSystem: true,- isUIReadOnly: true,- isNullable: false,- defaultValue: {- source: "'MANUAL'",- name: "'System'",- workspaceMemberId: null,- },- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- position: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'position',- type: FieldMetadataType.POSITION,- label: i18nLabel(msg`Position`),- description: i18nLabel(msg`Calendar channel record position`),- icon: 'IconHierarchy2',- isSystem: true,- isNullable: false,- defaultValue: 0,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- searchVector: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'searchVector',- type: FieldMetadataType.TS_VECTOR,- label: i18nLabel(msg`Search vector`),- description: i18nLabel(msg`Field used for full-text search`),- icon: 'IconUser',- isSystem: true,- isNullable: true,- settings: {- generatedType: 'STORED',- asExpression: getTsVectorColumnExpressionFromFields(- SEARCH_FIELDS_FOR_CALENDAR_CHANNEL,- ),- },- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- handle: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'handle',- type: FieldMetadataType.TEXT,- label: i18nLabel(msg`Handle`),- description: i18nLabel(msg`Handle`),- icon: 'IconAt',- isNullable: true,- isUIReadOnly: true,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- visibility: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'visibility',- type: FieldMetadataType.SELECT,- label: i18nLabel(msg`Visibility`),- description: i18nLabel(msg`Visibility`),- icon: 'IconEyeglass',- isNullable: false,- isUIReadOnly: true,- defaultValue: "'SHARE_EVERYTHING'",- options: [- {- id: '20202020-82a0-4859-b356-f5a1d6e3e53d',- value: 'METADATA',- label: i18nLabel(msg`Metadata`),- position: 0,- color: 'green',- },- {- id: '20202020-e5ec-4df5-ba3f-66ca2a79c283',- value: 'SHARE_EVERYTHING',- label: i18nLabel(msg`Share Everything`),- position: 1,- color: 'orange',- },- ],- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- isContactAutoCreationEnabled: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'isContactAutoCreationEnabled',- type: FieldMetadataType.BOOLEAN,- label: i18nLabel(msg`Is Contact Auto Creation Enabled`),- description: i18nLabel(msg`Is Contact Auto Creation Enabled`),- icon: 'IconUserCircle',- isNullable: false,- isUIReadOnly: true,- defaultValue: true,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- contactAutoCreationPolicy: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'contactAutoCreationPolicy',- type: FieldMetadataType.SELECT,- label: i18nLabel(msg`Contact auto creation policy`),- description: i18nLabel(- msg`Automatically create records for people you participated with in an event.`,- ),- icon: 'IconUserCircle',- isNullable: false,- isUIReadOnly: true,- defaultValue: "'AS_PARTICIPANT_AND_ORGANIZER'",- options: [- {- id: '20202020-47c1-4af1-a8a6-540edeafc55e',- value: 'AS_PARTICIPANT_AND_ORGANIZER',- label: i18nLabel(msg`As Participant and Organizer`),- color: 'green',- position: 0,- },- {- id: '20202020-b3cc-4248-b0d1-c8d45c2418b3',- value: 'AS_PARTICIPANT',- label: i18nLabel(msg`As Participant`),- color: 'orange',- position: 1,- },- {- id: '20202020-84ef-4061-9c22-db596e237ddc',- value: 'AS_ORGANIZER',- label: i18nLabel(msg`As Organizer`),- color: 'blue',- position: 2,- },- {- id: '20202020-f170-491f-9597-0e5817e46c17',- value: 'NONE',- label: i18nLabel(msg`None`),- color: 'red',- position: 3,- },- ],- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- isSyncEnabled: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'isSyncEnabled',- type: FieldMetadataType.BOOLEAN,- label: i18nLabel(msg`Is Sync Enabled`),- description: i18nLabel(msg`Is Sync Enabled`),- icon: 'IconRefresh',- isNullable: false,- isUIReadOnly: true,- defaultValue: true,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- syncCursor: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'syncCursor',- type: FieldMetadataType.TEXT,- label: i18nLabel(msg`Sync Cursor`),- description: i18nLabel(- msg`Sync Cursor. Used for syncing events from the calendar provider`,- ),- icon: 'IconReload',- isNullable: true,- isUIReadOnly: true,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- syncStatus: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'syncStatus',- type: FieldMetadataType.SELECT,- label: i18nLabel(msg`Sync status`),- description: i18nLabel(msg`Sync status`),- icon: 'IconStatusChange',- isNullable: true,- isUIReadOnly: true,- options: [- {- id: '20202020-ebdc-4fc8-a5c1-4bc6a90fdc3c',- value: 'ONGOING',- label: i18nLabel(msg`Ongoing`),- position: 1,- color: 'yellow',- },- {- id: '20202020-7126-4c26-9940-f5807ed87266',- value: 'NOT_SYNCED',- label: i18nLabel(msg`Not Synced`),- position: 2,- color: 'blue',- },- {- id: '20202020-0302-4201-bf84-aaa26b7ca94e',- value: 'ACTIVE',- label: i18nLabel(msg`Active`),- position: 3,- color: 'green',- },- {- id: '20202020-6dbb-449d-96b0-092189010f42',- value: 'FAILED_INSUFFICIENT_PERMISSIONS',- label: i18nLabel(msg`Failed Insufficient Permissions`),- position: 4,- color: 'red',- },- {- id: '20202020-935c-4333-a614-f49ee2ec6aa7',- value: 'FAILED_UNKNOWN',- label: i18nLabel(msg`Failed Unknown`),- position: 5,- color: 'red',- },- ],- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- syncStage: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'syncStage',- type: FieldMetadataType.SELECT,- label: i18nLabel(msg`Sync stage`),- description: i18nLabel(msg`Sync stage`),- icon: 'IconStatusChange',- isNullable: false,- isUIReadOnly: true,- defaultValue: "'PENDING_CONFIGURATION'",- options: [- {- id: '20202020-60c1-40a3-90ae-61d9ee1083c1',- value: 'CALENDAR_EVENT_LIST_FETCH_PENDING',- label: i18nLabel(msg`Calendar event list fetch pending`),- position: 0,- color: 'blue',- },- {- id: '20202020-8652-444a-b72e-d4b7112179ca',- value: 'CALENDAR_EVENT_LIST_FETCH_SCHEDULED',- label: i18nLabel(msg`Calendar event list fetch scheduled`),- position: 1,- color: 'green',- },- {- id: '20202020-e87c-4cfe-aefc-635ad34ef223',- value: 'CALENDAR_EVENT_LIST_FETCH_ONGOING',- label: i18nLabel(msg`Calendar event list fetch ongoing`),- position: 2,- color: 'orange',- },- {- id: '20202020-876f-449d-9f09-de5c369ff95f',- value: 'CALENDAR_EVENTS_IMPORT_PENDING',- label: i18nLabel(msg`Calendar events import pending`),- position: 3,- color: 'blue',- },- {- id: '20202020-3d2a-4acd-a0ed-197343b3bf60',- value: 'CALENDAR_EVENTS_IMPORT_SCHEDULED',- label: i18nLabel(msg`Calendar events import scheduled`),- position: 4,- color: 'green',- },- {- id: '20202020-e762-4152-bb20-29fdd49e1dff',- value: 'CALENDAR_EVENTS_IMPORT_ONGOING',- label: i18nLabel(msg`Calendar events import ongoing`),- position: 5,- color: 'orange',- },- {- id: '20202020-487c-464f-8caa-c6393b82b17c',- value: 'FAILED',- label: i18nLabel(msg`Failed`),- position: 6,- color: 'red',- },- {- id: '20202020-ba03-4221-b186-402662b68493',- value: 'PENDING_CONFIGURATION',- label: i18nLabel(msg`Pending configuration`),- position: 9,- color: 'gray',- },- ],- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- syncStageStartedAt: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'syncStageStartedAt',- type: FieldMetadataType.DATE_TIME,- label: i18nLabel(msg`Sync stage started at`),- description: i18nLabel(msg`Sync stage started at`),- icon: 'IconHistory',- isNullable: true,- isUIReadOnly: true,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- syncedAt: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'syncedAt',- type: FieldMetadataType.DATE_TIME,- label: i18nLabel(msg`Last sync date`),- description: i18nLabel(msg`Last sync date`),- icon: 'IconHistory',- isNullable: true,- isUIReadOnly: true,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- throttleFailureCount: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'throttleFailureCount',- type: FieldMetadataType.NUMBER,- label: i18nLabel(msg`Throttle Failure Count`),- description: i18nLabel(msg`Throttle Failure Count`),- icon: 'IconX',- isNullable: false,- isUIReadOnly: true,- defaultValue: 0,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),-});diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-channel-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-channel-standard-flat-field-metadata.util.tsdeleted file mode 100644index bd944b047a8..00000000000--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-channel-standard-flat-field-metadata.util.ts+++ /dev/null@@ -1,703 +0,0 @@-import { msg } from '@lingui/core/macro';-import { i18nLabel } from 'src/engine/workspace-manager/twenty-standard-application/utils/i18n-label.util';-import { DateDisplayFormat, FieldMetadataType } from 'twenty-shared/types';--import { type FlatFieldMetadata } from 'src/engine/metadata-modules/flat-field-metadata/types/flat-field-metadata.type';-import { type AllStandardObjectFieldName } from 'src/engine/workspace-manager/twenty-standard-application/types/all-standard-object-field-name.type';-import {- type CreateStandardFieldArgs,- createStandardFieldFlatMetadata,-} from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/create-standard-field-flat-metadata.util';-import { getTsVectorColumnExpressionFromFields } from 'src/engine/workspace-manager/utils/get-ts-vector-column-expression.util';-import {- MessageChannelType,- SEARCH_FIELDS_FOR_MESSAGE_CHANNEL,-} from 'src/modules/messaging/common/standard-objects/message-channel.workspace-entity';--export const buildMessageChannelStandardFlatFieldMetadatas = ({- now,- objectName,- workspaceId,- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,-}: Omit<- CreateStandardFieldArgs<'messageChannel', FieldMetadataType>,- 'context'->): Record<- AllStandardObjectFieldName<'messageChannel'>,- FlatFieldMetadata-> => ({- id: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'id',- type: FieldMetadataType.UUID,- label: i18nLabel(msg`Id`),- description: i18nLabel(msg`Id`),- icon: 'Icon123',- isSystem: true,- isNullable: false,- isUIReadOnly: true,- defaultValue: 'uuid',- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- createdAt: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'createdAt',- type: FieldMetadataType.DATE_TIME,- label: i18nLabel(msg`Creation date`),- description: i18nLabel(msg`Creation date`),- icon: 'IconCalendar',- isSystem: true,- isNullable: false,- isUIReadOnly: true,- defaultValue: 'now',- settings: { displayFormat: DateDisplayFormat.RELATIVE },- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- updatedAt: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'updatedAt',- type: FieldMetadataType.DATE_TIME,- label: i18nLabel(msg`Last update`),- description: i18nLabel(msg`Last time the record was changed`),- icon: 'IconCalendarClock',- isSystem: true,- isNullable: false,- isUIReadOnly: true,- defaultValue: 'now',- settings: { displayFormat: DateDisplayFormat.RELATIVE },- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- deletedAt: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'deletedAt',- type: FieldMetadataType.DATE_TIME,- label: i18nLabel(msg`Deleted at`),- description: i18nLabel(msg`Date when the record was deleted`),- icon: 'IconCalendarMinus',- isSystem: true,- isNullable: true,- isUIReadOnly: true,- settings: { displayFormat: DateDisplayFormat.RELATIVE },- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- createdBy: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'createdBy',- type: FieldMetadataType.ACTOR,- label: i18nLabel(msg`Created by`),- description: i18nLabel(msg`The creator of the record`),- icon: 'IconCreativeCommonsSa',- isSystem: true,- isUIReadOnly: true,- isNullable: false,- defaultValue: {- source: "'MANUAL'",- name: "'System'",- workspaceMemberId: null,- },- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- updatedBy: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'updatedBy',- type: FieldMetadataType.ACTOR,- label: i18nLabel(msg`Updated by`),- description: i18nLabel(- msg`The workspace member who last updated the record`,- ),- icon: 'IconUserCircle',- isSystem: true,- isUIReadOnly: true,- isNullable: false,- defaultValue: {- source: "'MANUAL'",- name: "'System'",- workspaceMemberId: null,- },- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- position: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'position',- type: FieldMetadataType.POSITION,- label: i18nLabel(msg`Position`),- description: i18nLabel(msg`Message Channel record position`),- icon: 'IconHierarchy2',- isSystem: true,- isNullable: false,- defaultValue: 0,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- searchVector: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'searchVector',- type: FieldMetadataType.TS_VECTOR,- label: i18nLabel(msg`Search vector`),- description: i18nLabel(msg`Field used for full-text search`),- icon: 'IconUser',- isSystem: true,- isNullable: true,- settings: {- generatedType: 'STORED',- asExpression: getTsVectorColumnExpressionFromFields(- SEARCH_FIELDS_FOR_MESSAGE_CHANNEL,- ),- },- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- visibility: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'visibility',- type: FieldMetadataType.SELECT,- label: i18nLabel(msg`Visibility`),- description: i18nLabel(msg`Visibility`),- icon: 'IconEyeglass',- isNullable: false,- isUIReadOnly: true,- defaultValue: "'SHARE_EVERYTHING'",- options: [- {- id: '20202020-4548-4830-b3f8-221fd082ebc0',- value: 'METADATA',- label: i18nLabel(msg`Metadata`),- position: 0,- color: 'green',- },- {- id: '20202020-6a42-40a8-b81e-28b7e591c598',- value: 'SUBJECT',- label: i18nLabel(msg`Subject`),- position: 1,- color: 'blue',- },- {- id: '20202020-d520-4cba-8832-5bca315b64f3',- value: 'SHARE_EVERYTHING',- label: i18nLabel(msg`Share Everything`),- position: 2,- color: 'orange',- },- ],- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- handle: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'handle',- type: FieldMetadataType.TEXT,- label: i18nLabel(msg`Handle`),- description: i18nLabel(msg`Handle`),- icon: 'IconAt',- isNullable: true,- isUIReadOnly: true,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- type: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'type',- type: FieldMetadataType.SELECT,- label: i18nLabel(msg`Type`),- description: i18nLabel(msg`Channel Type`),- icon: 'IconMessage',- isNullable: false,- isUIReadOnly: true,- defaultValue: `'${MessageChannelType.EMAIL}'`,- options: [- {- id: '20202020-1628-4bc0-aae1-1a46c648cf90',- value: MessageChannelType.EMAIL,- label: i18nLabel(msg`Email`),- position: 0,- color: 'green',- },- {- id: '20202020-fb11-4da3-80fd-b291cda8deb1',- value: MessageChannelType.SMS,- label: i18nLabel(msg`SMS`),- position: 1,- color: 'blue',- },- {- id: '20202020-7f22-4e58-aa33-9c3e2c72ab10',- value: MessageChannelType.EMAIL_GROUP,- label: i18nLabel(msg`Email group`),- position: 2,- color: 'turquoise',- },- ],- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- isContactAutoCreationEnabled: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'isContactAutoCreationEnabled',- type: FieldMetadataType.BOOLEAN,- label: i18nLabel(msg`Is Contact Auto Creation Enabled`),- description: i18nLabel(msg`Is Contact Auto Creation Enabled`),- icon: 'IconUserCircle',- isNullable: false,- isUIReadOnly: true,- defaultValue: true,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- contactAutoCreationPolicy: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'contactAutoCreationPolicy',- type: FieldMetadataType.SELECT,- label: i18nLabel(msg`Contact auto creation policy`),- description: i18nLabel(- msg`Automatically create People records when receiving or sending emails`,- ),- icon: 'IconUserCircle',- isNullable: false,- isUIReadOnly: true,- defaultValue: "'SENT'",- options: [- {- id: '20202020-1923-4ffd-907d-be8cc37ecee5',- value: 'SENT_AND_RECEIVED',- label: i18nLabel(msg`Sent and Received`),- position: 0,- color: 'green',- },- {- id: '20202020-8f6a-44d8-bdbb-90cf8b919467',- value: 'SENT',- label: i18nLabel(msg`Sent`),- position: 1,- color: 'blue',- },- {- id: '20202020-b43e-4bc4-840e-d903a69e2ffc',- value: 'NONE',- label: i18nLabel(msg`None`),- position: 2,- color: 'red',- },- ],- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- messageFolderImportPolicy: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'messageFolderImportPolicy',- type: FieldMetadataType.SELECT,- label: i18nLabel(msg`Message folder import policy`),- description: i18nLabel(msg`Message folder import policy`),- icon: 'IconFolder',- isNullable: false,- isUIReadOnly: true,- defaultValue: "'ALL_FOLDERS'",- options: [- {- id: '20202020-140d-4326-978c-83ca0e9a4d8f',- value: 'ALL_FOLDERS',- label: i18nLabel(msg`All folders`),- position: 0,- color: 'green',- },- {- id: '20202020-513a-4b91-9033-5b74b404e2cb',- value: 'SELECTED_FOLDERS',- label: i18nLabel(msg`Selected folders`),- position: 1,- color: 'blue',- },- ],- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- excludeNonProfessionalEmails: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'excludeNonProfessionalEmails',- type: FieldMetadataType.BOOLEAN,- label: i18nLabel(msg`Exclude non professional emails`),- description: i18nLabel(msg`Exclude non professional emails`),- icon: 'IconBriefcase',- isNullable: false,- isUIReadOnly: true,- defaultValue: true,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- excludeGroupEmails: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'excludeGroupEmails',- type: FieldMetadataType.BOOLEAN,- label: i18nLabel(msg`Exclude group emails`),- description: i18nLabel(msg`Exclude group emails`),- icon: 'IconUsersGroup',- isNullable: false,- isUIReadOnly: true,- defaultValue: true,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- pendingGroupEmailsAction: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'pendingGroupEmailsAction',- type: FieldMetadataType.SELECT,- label: i18nLabel(msg`Pending group emails action`),- description: i18nLabel(msg`Pending action for group emails`),- icon: 'IconUsersGroup',- isNullable: false,- isUIReadOnly: true,- defaultValue: "'NONE'",- options: [- {- id: '20202020-2ead-4bd1-aa5d-5005c7a956b4',- value: 'GROUP_EMAILS_DELETION',- label: i18nLabel(msg`Group emails deletion`),- position: 0,- color: 'red',- },- {- id: '20202020-155d-447d-a36e-6ecbb30fc37c',- value: 'GROUP_EMAILS_IMPORT',- label: i18nLabel(msg`Group emails import`),- position: 1,- color: 'green',- },- {- id: '20202020-fe98-4018-9f94-f878c22b8ece',- value: 'NONE',- label: i18nLabel(msg`None`),- position: 2,- color: 'blue',- },- ],- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- isSyncEnabled: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'isSyncEnabled',- type: FieldMetadataType.BOOLEAN,- label: i18nLabel(msg`Is Sync Enabled`),- description: i18nLabel(msg`Is Sync Enabled`),- icon: 'IconRefresh',- isNullable: false,- isUIReadOnly: true,- defaultValue: true,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- syncCursor: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'syncCursor',- type: FieldMetadataType.TEXT,- label: i18nLabel(msg`Last sync cursor`),- description: i18nLabel(msg`Last sync cursor`),- icon: 'IconHistory',- isNullable: true,- isUIReadOnly: true,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- syncedAt: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'syncedAt',- type: FieldMetadataType.DATE_TIME,- label: i18nLabel(msg`Last sync date`),- description: i18nLabel(msg`Last sync date`),- icon: 'IconHistory',- isNullable: true,- isUIReadOnly: true,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- syncStatus: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'syncStatus',- type: FieldMetadataType.SELECT,- label: i18nLabel(msg`Sync status`),- description: i18nLabel(msg`Sync status`),- icon: 'IconStatusChange',- isNullable: true,- isUIReadOnly: true,- options: [- {- id: '20202020-046b-4bc2-b085-bd69aaa8e577',- value: 'ONGOING',- label: i18nLabel(msg`Ongoing`),- position: 1,- color: 'yellow',- },- {- id: '20202020-09ec-4ea6-9a8a-bf48211b67e2',- value: 'NOT_SYNCED',- label: i18nLabel(msg`Not Synced`),- position: 2,- color: 'blue',- },- {- id: '20202020-2d1b-4d74-9689-9bd28fd3c3f9',- value: 'ACTIVE',- label: i18nLabel(msg`Active`),- position: 3,- color: 'green',- },- {- id: '20202020-0fb2-4a8b-9f9b-569144a45193',- value: 'FAILED_INSUFFICIENT_PERMISSIONS',- label: i18nLabel(msg`Failed Insufficient Permissions`),- position: 4,- color: 'red',- },- {- id: '20202020-bde3-415a-a8ac-55ced6014364',- value: 'FAILED_UNKNOWN',- label: i18nLabel(msg`Failed Unknown`),- position: 5,- color: 'red',- },- ],- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- syncStage: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'syncStage',- type: FieldMetadataType.SELECT,- label: i18nLabel(msg`Sync stage`),- description: i18nLabel(msg`Sync stage`),- icon: 'IconStatusChange',- isNullable: false,- isUIReadOnly: true,- defaultValue: "'PENDING_CONFIGURATION'",- options: [- {- id: '20202020-1f62-4d79-a633-33a0e4fce9a6',- value: 'MESSAGE_LIST_FETCH_PENDING',- label: i18nLabel(msg`Messages list fetch pending`),- position: 0,- color: 'blue',- },- {- id: '20202020-d24f-4c3d-94a6-86c42e0f51d7',- value: 'MESSAGE_LIST_FETCH_SCHEDULED',- label: i18nLabel(msg`Messages list fetch scheduled`),- position: 1,- color: 'green',- },- {- id: '20202020-8751-408a-ae46-21a51b76be28',- value: 'MESSAGE_LIST_FETCH_ONGOING',- label: i18nLabel(msg`Messages list fetch ongoing`),- position: 2,- color: 'orange',- },- {- id: '20202020-1cfa-4a7d-a82d-93c8e29d0671',- value: 'MESSAGES_IMPORT_PENDING',- label: i18nLabel(msg`Messages import pending`),- position: 3,- color: 'blue',- },- {- id: '20202020-341e-4fbd-9dbf-30a70828ca69',- value: 'MESSAGES_IMPORT_SCHEDULED',- label: i18nLabel(msg`Messages import scheduled`),- position: 4,- color: 'green',- },- {- id: '20202020-e944-4594-ab81-fdbc53a85026',- value: 'MESSAGES_IMPORT_ONGOING',- label: i18nLabel(msg`Messages import ongoing`),- position: 5,- color: 'orange',- },- {- id: '20202020-f7c5-4756-9084-02f6a0b1a5f8',- value: 'FAILED',- label: i18nLabel(msg`Failed`),- position: 6,- color: 'red',- },- {- id: '20202020-0ede-4c75-84f1-29c8309829ec',- value: 'PENDING_CONFIGURATION',- label: i18nLabel(msg`Pending configuration`),- position: 7,- color: 'gray',- },- ],- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- syncStageStartedAt: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'syncStageStartedAt',- type: FieldMetadataType.DATE_TIME,- label: i18nLabel(msg`Sync stage started at`),- description: i18nLabel(msg`Sync stage started at`),- icon: 'IconHistory',- isNullable: true,- isUIReadOnly: true,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- throttleFailureCount: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'throttleFailureCount',- type: FieldMetadataType.NUMBER,- label: i18nLabel(msg`Throttle Failure Count`),- description: i18nLabel(msg`Throttle Failure Count`),- icon: 'IconX',- isNullable: false,- isUIReadOnly: true,- defaultValue: 0,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- throttleRetryAfter: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'throttleRetryAfter',- type: FieldMetadataType.DATE_TIME,- label: i18nLabel(msg`Throttle Retry After`),- description: i18nLabel(msg`Throttle Retry After`),- icon: 'IconClock',- isNullable: true,- isUIReadOnly: true,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),-});diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-folder-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-folder-standard-flat-field-metadata.util.tsdeleted file mode 100644index 1e3eeb89228..00000000000--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-folder-standard-flat-field-metadata.util.ts+++ /dev/null@@ -1,347 +0,0 @@-import { msg } from '@lingui/core/macro';-import { i18nLabel } from 'src/engine/workspace-manager/twenty-standard-application/utils/i18n-label.util';-import { DateDisplayFormat, FieldMetadataType } from 'twenty-shared/types';--import { type FlatFieldMetadata } from 'src/engine/metadata-modules/flat-field-metadata/types/flat-field-metadata.type';-import { type AllStandardObjectFieldName } from 'src/engine/workspace-manager/twenty-standard-application/types/all-standard-object-field-name.type';-import {- type CreateStandardFieldArgs,- createStandardFieldFlatMetadata,-} from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/create-standard-field-flat-metadata.util';-import { getTsVectorColumnExpressionFromFields } from 'src/engine/workspace-manager/utils/get-ts-vector-column-expression.util';-import { SEARCH_FIELDS_FOR_MESSAGE_FOLDER } from 'src/modules/messaging/common/standard-objects/message-folder.workspace-entity';--export const buildMessageFolderStandardFlatFieldMetadatas = ({- now,- objectName,- workspaceId,- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,-}: Omit<- CreateStandardFieldArgs<'messageFolder', FieldMetadataType>,- 'context'->): Record<AllStandardObjectFieldName<'messageFolder'>, FlatFieldMetadata> => ({- id: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'id',- type: FieldMetadataType.UUID,- label: i18nLabel(msg`Id`),- description: i18nLabel(msg`Id`),- icon: 'Icon123',- isSystem: true,- isNullable: false,- isUIReadOnly: true,- defaultValue: 'uuid',- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- createdAt: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'createdAt',- type: FieldMetadataType.DATE_TIME,- label: i18nLabel(msg`Creation date`),- description: i18nLabel(msg`Creation date`),- icon: 'IconCalendar',- isSystem: true,- isNullable: false,- isUIReadOnly: true,- defaultValue: 'now',- settings: { displayFormat: DateDisplayFormat.RELATIVE },- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- updatedAt: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'updatedAt',- type: FieldMetadataType.DATE_TIME,- label: i18nLabel(msg`Last update`),- description: i18nLabel(msg`Last time the record was changed`),- icon: 'IconCalendarClock',- isSystem: true,- isNullable: false,- isUIReadOnly: true,- defaultValue: 'now',- settings: { displayFormat: DateDisplayFormat.RELATIVE },- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- deletedAt: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'deletedAt',- type: FieldMetadataType.DATE_TIME,- label: i18nLabel(msg`Deleted at`),- description: i18nLabel(msg`Date when the record was deleted`),- icon: 'IconCalendarMinus',- isSystem: true,- isNullable: true,- isUIReadOnly: true,- settings: { displayFormat: DateDisplayFormat.RELATIVE },- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- createdBy: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'createdBy',- type: FieldMetadataType.ACTOR,- label: i18nLabel(msg`Created by`),- description: i18nLabel(msg`The creator of the record`),- icon: 'IconCreativeCommonsSa',- isSystem: true,- isUIReadOnly: true,- isNullable: false,- defaultValue: {- source: "'MANUAL'",- name: "'System'",- workspaceMemberId: null,- },- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- updatedBy: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'updatedBy',- type: FieldMetadataType.ACTOR,- label: i18nLabel(msg`Updated by`),- description: i18nLabel(- msg`The workspace member who last updated the record`,- ),- icon: 'IconUserCircle',- isSystem: true,- isUIReadOnly: true,- isNullable: false,- defaultValue: {- source: "'MANUAL'",- name: "'System'",- workspaceMemberId: null,- },- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- position: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'position',- type: FieldMetadataType.POSITION,- label: i18nLabel(msg`Position`),- description: i18nLabel(msg`Message Folder record position`),- icon: 'IconHierarchy2',- isSystem: true,- isNullable: false,- defaultValue: 0,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- searchVector: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'searchVector',- type: FieldMetadataType.TS_VECTOR,- label: i18nLabel(msg`Search vector`),- description: i18nLabel(msg`Field used for full-text search`),- icon: 'IconUser',- isSystem: true,- isNullable: true,- settings: {- generatedType: 'STORED',- asExpression: getTsVectorColumnExpressionFromFields(- SEARCH_FIELDS_FOR_MESSAGE_FOLDER,- ),- },- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- name: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'name',- type: FieldMetadataType.TEXT,- label: i18nLabel(msg`Name`),- description: i18nLabel(msg`Folder name`),- icon: 'IconFolder',- isNullable: true,- isUIReadOnly: true,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- syncCursor: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'syncCursor',- type: FieldMetadataType.TEXT,- label: i18nLabel(msg`Sync Cursor`),- description: i18nLabel(msg`Sync Cursor`),- icon: 'IconHash',- isNullable: true,- isUIReadOnly: true,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- isSentFolder: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'isSentFolder',- type: FieldMetadataType.BOOLEAN,- label: i18nLabel(msg`Is Sent Folder`),- description: i18nLabel(msg`Is Sent Folder`),- icon: 'IconCheck',- isNullable: false,- isUIReadOnly: true,- defaultValue: false,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- isSynced: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'isSynced',- type: FieldMetadataType.BOOLEAN,- label: i18nLabel(msg`Is Synced`),- description: i18nLabel(msg`Is Synced`),- icon: 'IconCheck',- isNullable: false,- isUIReadOnly: true,- defaultValue: false,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- parentFolderId: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'parentFolderId',- type: FieldMetadataType.TEXT,- label: i18nLabel(msg`Parent Folder ID`),- description: i18nLabel(msg`Parent Folder ID`),- icon: 'IconFolder',- isNullable: true,- isUIReadOnly: true,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- externalId: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'externalId',- type: FieldMetadataType.TEXT,- label: i18nLabel(msg`External ID`),- description: i18nLabel(msg`External ID`),- icon: 'IconHash',- isNullable: true,- isUIReadOnly: true,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- pendingSyncAction: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'pendingSyncAction',- type: FieldMetadataType.SELECT,- label: i18nLabel(msg`Pending Sync Action`),- description: i18nLabel(msg`Pending action for folder sync`),- icon: 'IconReload',- isNullable: false,- isUIReadOnly: true,- defaultValue: "'NONE'",- options: [- {- id: '20202020-dc59-4dd3-92fe-f41c6491a588',- value: 'FOLDER_DELETION',- label: i18nLabel(msg`Folder deletion`),- position: 0,- color: 'red',- },- {- id: '20202020-aa29-41d3-872b-142174fe6595',- value: 'NONE',- label: i18nLabel(msg`None`),- position: 1,- color: 'blue',- },- ],- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),- messageChannelId: createStandardFieldFlatMetadata({- objectName,- workspaceId,- context: {- fieldName: 'messageChannelId',- type: FieldMetadataType.UUID,- label: i18nLabel(msg`Message Channel`),- description: i18nLabel(msg`Message Channel`),- icon: 'IconMessage',- isNullable: false,- isUIReadOnly: true,- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),-});diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/index/build-standard-flat-index-metadata-maps.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/index/build-standard-flat-index-metadata-maps.util.tsindex 7e16e351a84..6ddd61865c0 100644--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/index/build-standard-flat-index-metadata-maps.util.ts+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/index/build-standard-flat-index-metadata-maps.util.ts@@ -11,7 +11,6 @@ import { buildCompanyStandardFlatIndexMetadatas } from 'src/engine/workspace-manimport { buildDashboardStandardFlatIndexMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/index/compute-dashboard-standard-flat-index-metadata.util';import { buildMessageChannelMessageAssociationMessageFolderStandardFlatIndexMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/index/compute-message-channel-message-association-message-folder-standard-flat-index-metadata.util';import { buildMessageChannelMessageAssociationStandardFlatIndexMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/index/compute-message-channel-message-association-standard-flat-index-metadata.util';-import { buildMessageFolderStandardFlatIndexMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/index/compute-message-folder-standard-flat-index-metadata.util';import { buildMessageParticipantStandardFlatIndexMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/index/compute-message-participant-standard-flat-index-metadata.util';import { buildMessageStandardFlatIndexMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/index/compute-message-standard-flat-index-metadata.util';import { buildNoteStandardFlatIndexMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/index/compute-note-standard-flat-index-metadata.util';@@ -46,7 +45,6 @@ const STANDARD_FLAT_INDEX_METADATA_BUILDERS_BY_OBJECT_NAME = {buildMessageChannelMessageAssociationStandardFlatIndexMetadatas,messageChannelMessageAssociationMessageFolder:buildMessageChannelMessageAssociationMessageFolderStandardFlatIndexMetadatas,- messageFolder: buildMessageFolderStandardFlatIndexMetadatas,messageParticipant: buildMessageParticipantStandardFlatIndexMetadatas,note: buildNoteStandardFlatIndexMetadatas,noteTarget: buildNoteTargetStandardFlatIndexMetadatas,diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/index/compute-message-folder-standard-flat-index-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/index/compute-message-folder-standard-flat-index-metadata.util.tsdeleted file mode 100644index 53116dd88d7..00000000000--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/index/compute-message-folder-standard-flat-index-metadata.util.ts+++ /dev/null@@ -1,31 +0,0 @@-import { type FlatIndexMetadata } from 'src/engine/metadata-modules/flat-index-metadata/types/flat-index-metadata.type';-import { type AllStandardObjectIndexName } from 'src/engine/workspace-manager/twenty-standard-application/types/all-standard-object-index-name.type';-import {- type CreateStandardIndexArgs,- createStandardIndexFlatMetadata,-} from 'src/engine/workspace-manager/twenty-standard-application/utils/index/create-standard-index-flat-metadata.util';--export const buildMessageFolderStandardFlatIndexMetadatas = ({- now,- objectName,- workspaceId,- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,-}: Omit<CreateStandardIndexArgs<'messageFolder'>, 'context'>): Record<- AllStandardObjectIndexName<'messageFolder'>,- FlatIndexMetadata-> => ({- messageChannelIdIndex: createStandardIndexFlatMetadata({- objectName,- workspaceId,- context: {- indexName: 'messageChannelIdIndex',- relatedFieldNames: ['messageChannelId'],- },- standardObjectMetadataRelatedEntityIds,- dependencyFlatEntityMaps,- twentyStandardApplicationId,- now,- }),-});diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-flat-object-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-flat-object-metadata.util.tsindex f1e7604e6a1..ef1e04f8a5a 100644--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-flat-object-metadata.util.ts+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-flat-object-metadata.util.ts@@ -93,37 +93,6 @@ export const STANDARD_FLAT_OBJECT_METADATA_BUILDERS_BY_OBJECT_NAME = {twentyStandardApplicationId,now,}),- calendarChannel: ({- now,- workspaceId,- standardObjectMetadataRelatedEntityIds,- twentyStandardApplicationId,- dependencyFlatEntityMaps,- }: Omit<- CreateStandardObjectArgs<'calendarChannel'>,- 'context' | 'objectName'- >) =>- createStandardObjectFlatMetadata({- objectName: 'calendarChannel',- dependencyFlatEntityMaps,- context: {- universalIdentifier:- STANDARD_OBJECTS.calendarChannel.universalIdentifier,- nameSingular: 'calendarChannel',- namePlural: 'calendarChannels',- labelSingular: i18nLabel(msg`Calendar Channel`),- labelPlural: i18nLabel(msg`Calendar Channels`),- description: i18nLabel(msg`Calendar Channels`),- icon: 'IconCalendar',- isSystem: true,- isAuditLogged: false,- labelIdentifierFieldMetadataName: 'handle',- },- workspaceId,- standardObjectMetadataRelatedEntityIds,- twentyStandardApplicationId,- now,- }),calendarEventParticipant: ({now,workspaceId,@@ -271,67 +240,6 @@ export const STANDARD_FLAT_OBJECT_METADATA_BUILDERS_BY_OBJECT_NAME = {twentyStandardApplicationId,now,}),- messageChannel: ({- now,- workspaceId,- standardObjectMetadataRelatedEntityIds,- twentyStandardApplicationId,- dependencyFlatEntityMaps,- }: Omit<- CreateStandardObjectArgs<'messageChannel'>,- 'context' | 'objectName'- >) =>- createStandardObjectFlatMetadata({- objectName: 'messageChannel',- dependencyFlatEntityMaps,- context: {- universalIdentifier:- STANDARD_OBJECTS.messageChannel.universalIdentifier,- nameSingular: 'messageChannel',- namePlural: 'messageChannels',- labelSingular: i18nLabel(msg`Message Channel`),- labelPlural: i18nLabel(msg`Message Channels`),- description: i18nLabel(msg`Message Channels`),- icon: 'IconMessage',- isSystem: true,- isAuditLogged: false,- labelIdentifierFieldMetadataName: 'handle',- },- workspaceId,- standardObjectMetadataRelatedEntityIds,- twentyStandardApplicationId,- now,- }),- messageFolder: ({- now,- workspaceId,- standardObjectMetadataRelatedEntityIds,- twentyStandardApplicationId,- dependencyFlatEntityMaps,- }: Omit<- CreateStandardObjectArgs<'messageFolder'>,- 'context' | 'objectName'- >) =>- createStandardObjectFlatMetadata({- objectName: 'messageFolder',- dependencyFlatEntityMaps,- context: {- universalIdentifier: STANDARD_OBJECTS.messageFolder.universalIdentifier,- nameSingular: 'messageFolder',- namePlural: 'messageFolders',- labelSingular: i18nLabel(msg`Message Folder`),- labelPlural: i18nLabel(msg`Message Folders`),- description: i18nLabel(msg`Message Folders`),- icon: 'IconFolder',- isSystem: true,- isAuditLogged: false,- labelIdentifierFieldMetadataName: 'id',- },- workspaceId,- standardObjectMetadataRelatedEntityIds,- twentyStandardApplicationId,- now,- }),messageChannelMessageAssociationMessageFolder: ({now,workspaceId,diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/index.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/index.tsindex b5292a58c69..66188acbbcd 100644--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/index.ts+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/index.ts@@ -1,13 +1,10 @@export { STANDARD_BLOCKLIST_PAGE_LAYOUT_CONFIG } from './standard-blocklist-page-layout.config';export { STANDARD_CALENDAR_CHANNEL_EVENT_ASSOCIATION_PAGE_LAYOUT_CONFIG } from './standard-calendar-channel-event-association-page-layout.config';-export { STANDARD_CALENDAR_CHANNEL_PAGE_LAYOUT_CONFIG } from './standard-calendar-channel-page-layout.config';export { STANDARD_CALENDAR_EVENT_PARTICIPANT_PAGE_LAYOUT_CONFIG } from './standard-calendar-event-participant-page-layout.config';export { STANDARD_COMPANY_PAGE_LAYOUT_CONFIG } from './standard-company-page-layout.config';export { STANDARD_DASHBOARD_PAGE_LAYOUT_CONFIG } from './standard-dashboard-page-layout.config';export { STANDARD_MESSAGE_CHANNEL_MESSAGE_ASSOCIATION_MESSAGE_FOLDER_PAGE_LAYOUT_CONFIG } from './standard-message-channel-message-association-message-folder-page-layout.config';export { STANDARD_MESSAGE_CHANNEL_MESSAGE_ASSOCIATION_PAGE_LAYOUT_CONFIG } from './standard-message-channel-message-association-page-layout.config';-export { STANDARD_MESSAGE_CHANNEL_PAGE_LAYOUT_CONFIG } from './standard-message-channel-page-layout.config';-export { STANDARD_MESSAGE_FOLDER_PAGE_LAYOUT_CONFIG } from './standard-message-folder-page-layout.config';export { STANDARD_MESSAGE_PARTICIPANT_PAGE_LAYOUT_CONFIG } from './standard-message-participant-page-layout.config';export { STANDARD_MESSAGE_THREAD_PAGE_LAYOUT_CONFIG } from './standard-message-thread-page-layout.config';export { STANDARD_NOTE_PAGE_LAYOUT_CONFIG } from './standard-note-page-layout.config';diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/standard-calendar-channel-page-layout.config.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/standard-calendar-channel-page-layout.config.tsdeleted file mode 100644index df5477d71f5..00000000000--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/standard-calendar-channel-page-layout.config.ts+++ /dev/null@@ -1,44 +0,0 @@-import { STANDARD_OBJECTS } from 'twenty-shared/metadata';--import { PageLayoutType } from 'src/engine/metadata-modules/page-layout/enums/page-layout-type.enum';-import {- TAB_PROPS,- WIDGET_PROPS,-} from 'src/engine/workspace-manager/twenty-standard-application/constants/standard-page-layout-tabs.template';-import {- type StandardPageLayoutConfig,- type StandardPageLayoutTabConfig,-} from 'src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/standard-page-layout-config.type';--const CALENDAR_CHANNEL_PAGE_TABS = {- home: {- universalIdentifier: '20202020-ab0a-400a-800a-ca1c4a0a0a01',- ...TAB_PROPS.home,- widgets: {- fields: {- universalIdentifier: '20202020-ac0a-400a-800a-ca1c4a0a0a11',- ...WIDGET_PROPS.fields,- },- },- },- timeline: {- universalIdentifier: '20202020-ab0a-400a-800a-ca1c4a0a0a02',- ...TAB_PROPS.timeline,- widgets: {- timeline: {- universalIdentifier: '20202020-ac0a-400a-800a-ca1c4a0a0a21',- ...WIDGET_PROPS.timeline,- },- },- },-} as const satisfies Record<string, StandardPageLayoutTabConfig>;--export const STANDARD_CALENDAR_CHANNEL_PAGE_LAYOUT_CONFIG = {- name: 'Default Calendar Channel Layout',- type: PageLayoutType.RECORD_PAGE,- objectUniversalIdentifier:- STANDARD_OBJECTS.calendarChannel.universalIdentifier,- universalIdentifier: '20202020-a10a-400a-800a-ca1c4a0a0001',- defaultTabUniversalIdentifier: null,- tabs: CALENDAR_CHANNEL_PAGE_TABS,-} as const satisfies StandardPageLayoutConfig;diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/standard-message-channel-page-layout.config.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/standard-message-channel-page-layout.config.tsdeleted file mode 100644index 50b4d0f47af..00000000000--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/standard-message-channel-page-layout.config.ts+++ /dev/null@@ -1,44 +0,0 @@-import { STANDARD_OBJECTS } from 'twenty-shared/metadata';--import { PageLayoutType } from 'src/engine/metadata-modules/page-layout/enums/page-layout-type.enum';-import {- TAB_PROPS,- WIDGET_PROPS,-} from 'src/engine/workspace-manager/twenty-standard-application/constants/standard-page-layout-tabs.template';-import {- type StandardPageLayoutConfig,- type StandardPageLayoutTabConfig,-} from 'src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/standard-page-layout-config.type';--const MESSAGE_CHANNEL_PAGE_TABS = {- home: {- universalIdentifier: '20202020-ab10-4010-8010-a5c4a1101001',- ...TAB_PROPS.home,- widgets: {- fields: {- universalIdentifier: '20202020-ac10-4010-8010-a5c4a1101011',- ...WIDGET_PROPS.fields,- },- },- },- timeline: {- universalIdentifier: '20202020-ab10-4010-8010-a5c4a1101002',- ...TAB_PROPS.timeline,- widgets: {- timeline: {- universalIdentifier: '20202020-ac10-4010-8010-a5c4a1101021',- ...WIDGET_PROPS.timeline,- },- },- },-} as const satisfies Record<string, StandardPageLayoutTabConfig>;--export const STANDARD_MESSAGE_CHANNEL_PAGE_LAYOUT_CONFIG = {- name: 'Default Message Channel Layout',- type: PageLayoutType.RECORD_PAGE,- objectUniversalIdentifier:- STANDARD_OBJECTS.messageChannel.universalIdentifier,- universalIdentifier: '20202020-a110-4010-8010-a5c4a1100001',- defaultTabUniversalIdentifier: null,- tabs: MESSAGE_CHANNEL_PAGE_TABS,-} as const satisfies StandardPageLayoutConfig;diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/standard-message-folder-page-layout.config.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/standard-message-folder-page-layout.config.tsdeleted file mode 100644index f289989f9e2..00000000000--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/standard-message-folder-page-layout.config.ts+++ /dev/null@@ -1,43 +0,0 @@-import { STANDARD_OBJECTS } from 'twenty-shared/metadata';--import { PageLayoutType } from 'src/engine/metadata-modules/page-layout/enums/page-layout-type.enum';-import {- TAB_PROPS,- WIDGET_PROPS,-} from 'src/engine/workspace-manager/twenty-standard-application/constants/standard-page-layout-tabs.template';-import {- type StandardPageLayoutConfig,- type StandardPageLayoutTabConfig,-} from 'src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/standard-page-layout-config.type';--const MESSAGE_FOLDER_PAGE_TABS = {- home: {- universalIdentifier: '20202020-ab13-4013-8013-a5efd1131301',- ...TAB_PROPS.home,- widgets: {- fields: {- universalIdentifier: '20202020-ac13-4013-8013-a5efd1131311',- ...WIDGET_PROPS.fields,- },- },- },- timeline: {- universalIdentifier: '20202020-ab13-4013-8013-a5efd1131302',- ...TAB_PROPS.timeline,- widgets: {- timeline: {- universalIdentifier: '20202020-ac13-4013-8013-a5efd1131321',- ...WIDGET_PROPS.timeline,- },- },- },-} as const satisfies Record<string, StandardPageLayoutTabConfig>;--export const STANDARD_MESSAGE_FOLDER_PAGE_LAYOUT_CONFIG = {- name: 'Default Message Folder Layout',- type: PageLayoutType.RECORD_PAGE,- objectUniversalIdentifier: STANDARD_OBJECTS.messageFolder.universalIdentifier,- universalIdentifier: '20202020-a113-4013-8013-a5efd1130001',- defaultTabUniversalIdentifier: null,- tabs: MESSAGE_FOLDER_PAGE_TABS,-} as const satisfies StandardPageLayoutConfig;diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-widget/build-standard-flat-page-layout-widget-metadata-maps.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-widget/build-standard-flat-page-layout-widget-metadata-maps.util.tsindex 0a3705cda21..3379a86e79b 100644--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-widget/build-standard-flat-page-layout-widget-metadata-maps.util.ts+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-widget/build-standard-flat-page-layout-widget-metadata-maps.util.ts@@ -66,17 +66,14 @@ const RECORD_PAGE_FIELDS_VIEW_NAME_BY_OBJECT: Partial<Record<AllStandardObjectName, string>> = {blocklist: 'blocklistRecordPageFields',- calendarChannel: 'calendarChannelRecordPageFields',calendarChannelEventAssociation:'calendarChannelEventAssociationRecordPageFields',calendarEventParticipant: 'calendarEventParticipantRecordPageFields',company: 'companyRecordPageFields',- messageChannel: 'messageChannelRecordPageFields',messageChannelMessageAssociation:'messageChannelMessageAssociationRecordPageFields',messageChannelMessageAssociationMessageFolder:'messageChannelMessageAssociationMessageFolderRecordPageFields',- messageFolder: 'messageFolderRecordPageFields',messageParticipant: 'messageParticipantRecordPageFields',note: 'noteRecordPageFields',opportunity: 'opportunityRecordPageFields',diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/build-standard-flat-view-field-group-metadata-maps.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/build-standard-flat-view-field-group-metadata-maps.util.tsindex 67b768196aa..7d1b2652fa0 100644--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/build-standard-flat-view-field-group-metadata-maps.util.ts+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/build-standard-flat-view-field-group-metadata-maps.util.ts@@ -4,14 +4,11 @@ import { addFlatEntityToFlatEntityMapsOrThrow } from 'src/engine/metadata-moduleimport { type FlatViewFieldGroup } from 'src/engine/metadata-modules/flat-view-field-group/types/flat-view-field-group.type';import { type AllStandardObjectName } from 'src/engine/workspace-manager/twenty-standard-application/types/all-standard-object-name.type';import { computeStandardBlocklistViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-blocklist-view-field-groups.util';-import { computeStandardCalendarChannelViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-calendar-channel-view-field-groups.util';import { computeStandardCalendarChannelEventAssociationViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-calendar-channel-event-association-view-field-groups.util';import { computeStandardCalendarEventParticipantViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-calendar-event-participant-view-field-groups.util';import { computeStandardCompanyViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-company-view-field-groups.util';-import { computeStandardMessageChannelViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-channel-view-field-groups.util';import { computeStandardMessageChannelMessageAssociationViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-channel-message-association-view-field-groups.util';import { computeStandardMessageChannelMessageAssociationMessageFolderViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-channel-message-association-message-folder-view-field-groups.util';-import { computeStandardMessageFolderViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-folder-view-field-groups.util';import { computeStandardMessageParticipantViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-participant-view-field-groups.util';import { computeStandardNoteViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-note-view-field-groups.util';import { computeStandardOpportunityViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-opportunity-view-field-groups.util';@@ -28,18 +25,15 @@ type StandardViewFieldGroupBuilder<P extends AllStandardObjectName> = (const STANDARD_FLAT_VIEW_FIELD_GROUP_METADATA_BUILDERS_BY_OBJECT_NAME = {blocklist: computeStandardBlocklistViewFieldGroups,- calendarChannel: computeStandardCalendarChannelViewFieldGroups,calendarChannelEventAssociation:computeStandardCalendarChannelEventAssociationViewFieldGroups,calendarEventParticipant:computeStandardCalendarEventParticipantViewFieldGroups,company: computeStandardCompanyViewFieldGroups,- messageChannel: computeStandardMessageChannelViewFieldGroups,messageChannelMessageAssociation:computeStandardMessageChannelMessageAssociationViewFieldGroups,messageChannelMessageAssociationMessageFolder:computeStandardMessageChannelMessageAssociationMessageFolderViewFieldGroups,- messageFolder: computeStandardMessageFolderViewFieldGroups,messageParticipant: computeStandardMessageParticipantViewFieldGroups,note: computeStandardNoteViewFieldGroups,opportunity: computeStandardOpportunityViewFieldGroups,diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-calendar-channel-view-field-groups.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-calendar-channel-view-field-groups.util.tsdeleted file mode 100644index fe83f5ea5c6..00000000000--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-calendar-channel-view-field-groups.util.ts+++ /dev/null@@ -1,36 +0,0 @@-import { type FlatViewFieldGroup } from 'src/engine/metadata-modules/flat-view-field-group/types/flat-view-field-group.type';-import {- createStandardViewFieldGroupFlatMetadata,- type CreateStandardViewFieldGroupArgs,-} from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/create-standard-view-field-group-flat-metadata.util';--export const computeStandardCalendarChannelViewFieldGroups = (- args: Omit<CreateStandardViewFieldGroupArgs<'calendarChannel'>, 'context'>,-): Record<string, FlatViewFieldGroup> => {- return {- calendarChannelRecordPageFieldsGeneral:- createStandardViewFieldGroupFlatMetadata({- ...args,- objectName: 'calendarChannel',- context: {- viewName: 'calendarChannelRecordPageFields',- viewFieldGroupName: 'general',- name: 'General',- position: 0,- isVisible: true,- },- }),- calendarChannelRecordPageFieldsSystem:- createStandardViewFieldGroupFlatMetadata({- ...args,- objectName: 'calendarChannel',- context: {- viewName: 'calendarChannelRecordPageFields',- viewFieldGroupName: 'system',- name: 'System',- position: 1,- isVisible: true,- },- }),- };-};diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-channel-view-field-groups.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-channel-view-field-groups.util.tsdeleted file mode 100644index 4ee77fee67d..00000000000--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-channel-view-field-groups.util.ts+++ /dev/null@@ -1,36 +0,0 @@-import { type FlatViewFieldGroup } from 'src/engine/metadata-modules/flat-view-field-group/types/flat-view-field-group.type';-import {- createStandardViewFieldGroupFlatMetadata,- type CreateStandardViewFieldGroupArgs,-} from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/create-standard-view-field-group-flat-metadata.util';--export const computeStandardMessageChannelViewFieldGroups = (- args: Omit<CreateStandardViewFieldGroupArgs<'messageChannel'>, 'context'>,-): Record<string, FlatViewFieldGroup> => {- return {- messageChannelRecordPageFieldsGeneral:- createStandardViewFieldGroupFlatMetadata({- ...args,- objectName: 'messageChannel',- context: {- viewName: 'messageChannelRecordPageFields',- viewFieldGroupName: 'general',- name: 'General',- position: 0,- isVisible: true,- },- }),- messageChannelRecordPageFieldsSystem:- createStandardViewFieldGroupFlatMetadata({- ...args,- objectName: 'messageChannel',- context: {- viewName: 'messageChannelRecordPageFields',- viewFieldGroupName: 'system',- name: 'System',- position: 1,- isVisible: true,- },- }),- };-};diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-folder-view-field-groups.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-folder-view-field-groups.util.tsdeleted file mode 100644index fc4d12aa7a3..00000000000--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-folder-view-field-groups.util.ts+++ /dev/null@@ -1,36 +0,0 @@-import { type FlatViewFieldGroup } from 'src/engine/metadata-modules/flat-view-field-group/types/flat-view-field-group.type';-import {- createStandardViewFieldGroupFlatMetadata,- type CreateStandardViewFieldGroupArgs,-} from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/create-standard-view-field-group-flat-metadata.util';--export const computeStandardMessageFolderViewFieldGroups = (- args: Omit<CreateStandardViewFieldGroupArgs<'messageFolder'>, 'context'>,-): Record<string, FlatViewFieldGroup> => {- return {- messageFolderRecordPageFieldsGeneral:- createStandardViewFieldGroupFlatMetadata({- ...args,- objectName: 'messageFolder',- context: {- viewName: 'messageFolderRecordPageFields',- viewFieldGroupName: 'general',- name: 'General',- position: 0,- isVisible: true,- },- }),- messageFolderRecordPageFieldsSystem:- createStandardViewFieldGroupFlatMetadata({- ...args,- objectName: 'messageFolder',- context: {- viewName: 'messageFolderRecordPageFields',- viewFieldGroupName: 'system',- name: 'System',- position: 1,- isVisible: true,- },- }),- };-};diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/build-standard-flat-view-field-metadata-maps.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/build-standard-flat-view-field-metadata-maps.util.tsindex 2eb4233e973..6376a9af8bd 100644--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/build-standard-flat-view-field-metadata-maps.util.ts+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/build-standard-flat-view-field-metadata-maps.util.ts@@ -6,15 +6,12 @@ import { type AllStandardObjectName } from 'src/engine/workspace-manager/twenty-import { computeStandardAttachmentViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-attachment-view-fields.util';import { computeStandardBlocklistViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-blocklist-view-fields.util';import { computeStandardCalendarChannelEventAssociationViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-calendar-channel-event-association-view-fields.util';-import { computeStandardCalendarChannelViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-calendar-channel-view-fields.util';import { computeStandardCalendarEventParticipantViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-calendar-event-participant-view-fields.util';import { computeStandardCalendarEventViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-calendar-event-view-fields.util';import { computeStandardCompanyViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-company-view-fields.util';import { computeStandardDashboardViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-dashboard-view-fields.util';import { computeStandardMessageChannelMessageAssociationMessageFolderViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-channel-message-association-message-folder-view-fields.util';import { computeStandardMessageChannelMessageAssociationViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-channel-message-association-view-fields.util';-import { computeStandardMessageChannelViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-channel-view-fields.util';-import { computeStandardMessageFolderViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-folder-view-fields.util';import { computeStandardMessageParticipantViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-participant-view-fields.util';import { computeStandardMessageThreadViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-thread-view-fields.util';import { computeStandardMessageViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-view-fields.util';@@ -39,7 +36,6 @@ type StandardViewFieldBuilder<P extends AllStandardObjectName> = (const STANDARD_FLAT_VIEW_FIELD_METADATA_BUILDERS_BY_OBJECT_NAME = {attachment: computeStandardAttachmentViewFields,blocklist: computeStandardBlocklistViewFields,- calendarChannel: computeStandardCalendarChannelViewFields,calendarChannelEventAssociation:computeStandardCalendarChannelEventAssociationViewFields,calendarEvent: computeStandardCalendarEventViewFields,@@ -47,12 +43,10 @@ const STANDARD_FLAT_VIEW_FIELD_METADATA_BUILDERS_BY_OBJECT_NAME = {company: computeStandardCompanyViewFields,dashboard: computeStandardDashboardViewFields,message: computeStandardMessageViewFields,- messageChannel: computeStandardMessageChannelViewFields,messageChannelMessageAssociation:computeStandardMessageChannelMessageAssociationViewFields,messageChannelMessageAssociationMessageFolder:computeStandardMessageChannelMessageAssociationMessageFolderViewFields,- messageFolder: computeStandardMessageFolderViewFields,messageParticipant: computeStandardMessageParticipantViewFields,messageThread: computeStandardMessageThreadViewFields,note: computeStandardNoteViewFields,diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-calendar-channel-view-fields.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-calendar-channel-view-fields.util.tsdeleted file mode 100644index 4c5c25edd09..00000000000--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-calendar-channel-view-fields.util.ts+++ /dev/null@@ -1,143 +0,0 @@-import { type FlatViewField } from 'src/engine/metadata-modules/flat-view-field/types/flat-view-field.type';-import {- createStandardViewFieldFlatMetadata,- type CreateStandardViewFieldArgs,-} from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/create-standard-view-field-flat-metadata.util';--export const computeStandardCalendarChannelViewFields = (- args: Omit<CreateStandardViewFieldArgs<'calendarChannel'>, 'context'>,-): Record<string, FlatViewField> => {- return {- allCalendarChannelsHandle: createStandardViewFieldFlatMetadata({- ...args,- objectName: 'calendarChannel',- context: {- viewName: 'allCalendarChannels',- viewFieldName: 'handle',- fieldName: 'handle',- position: 0,- isVisible: true,- size: 150,- },- }),- allCalendarChannelsVisibility: createStandardViewFieldFlatMetadata({- ...args,- objectName: 'calendarChannel',- context: {- viewName: 'allCalendarChannels',- viewFieldName: 'visibility',- fieldName: 'visibility',- position: 2,- isVisible: true,- size: 150,- },- }),- allCalendarChannelsIsSyncEnabled: createStandardViewFieldFlatMetadata({- ...args,- objectName: 'calendarChannel',- context: {- viewName: 'allCalendarChannels',- viewFieldName: 'isSyncEnabled',- fieldName: 'isSyncEnabled',- position: 3,- isVisible: true,- size: 150,- },- }),- allCalendarChannelsSyncStatus: createStandardViewFieldFlatMetadata({- ...args,- objectName: 'calendarChannel',- context: {- viewName: 'allCalendarChannels',- viewFieldName: 'syncStatus',- fieldName: 'syncStatus',- position: 4,- isVisible: true,- size: 150,- },- }),- allCalendarChannelsCreatedAt: createStandardViewFieldFlatMetadata({- ...args,- objectName: 'calendarChannel',- context: {- viewName: 'allCalendarChannels',- viewFieldName: 'createdAt',- fieldName: 'createdAt',- position: 5,- isVisible: true,- size: 150,- },- }),-- calendarChannelRecordPageFieldsVisibility:- createStandardViewFieldFlatMetadata({- ...args,- objectName: 'calendarChannel',- context: {- viewName: 'calendarChannelRecordPageFields',- viewFieldName: 'visibility',- fieldName: 'visibility',- position: 2,- isVisible: true,- size: 150,- viewFieldGroupName: 'general',- },- }),- calendarChannelRecordPageFieldsIsSyncEnabled:- createStandardViewFieldFlatMetadata({- ...args,- objectName: 'calendarChannel',- context: {- viewName: 'calendarChannelRecordPageFields',- viewFieldName: 'isSyncEnabled',- fieldName: 'isSyncEnabled',- position: 3,- isVisible: true,- size: 150,- viewFieldGroupName: 'general',- },- }),- calendarChannelRecordPageFieldsSyncStatus:- createStandardViewFieldFlatMetadata({- ...args,- objectName: 'calendarChannel',- context: {- viewName: 'calendarChannelRecordPageFields',- viewFieldName: 'syncStatus',- fieldName: 'syncStatus',- position: 4,- isVisible: true,- size: 150,- viewFieldGroupName: 'general',- },- }),- calendarChannelRecordPageFieldsCreatedAt:- createStandardViewFieldFlatMetadata({- ...args,- objectName: 'calendarChannel',- context: {- viewName: 'calendarChannelRecordPageFields',- viewFieldName: 'createdAt',- fieldName: 'createdAt',- position: 0,- isVisible: true,- size: 150,- viewFieldGroupName: 'system',- },- }),- calendarChannelRecordPageFieldsCreatedBy:- createStandardViewFieldFlatMetadata({- ...args,- objectName: 'calendarChannel',- context: {- viewName: 'calendarChannelRecordPageFields',- viewFieldName: 'createdBy',- fieldName: 'createdBy',- position: 1,- isVisible: true,- size: 150,- viewFieldGroupName: 'system',- },- }),- };-};diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-channel-view-fields.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-channel-view-fields.util.tsdeleted file mode 100644index 00b8f1fc6a0..00000000000--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-channel-view-fields.util.ts+++ /dev/null@@ -1,168 +0,0 @@-import { type FlatViewField } from 'src/engine/metadata-modules/flat-view-field/types/flat-view-field.type';-import {- createStandardViewFieldFlatMetadata,- type CreateStandardViewFieldArgs,-} from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/create-standard-view-field-flat-metadata.util';--export const computeStandardMessageChannelViewFields = (- args: Omit<CreateStandardViewFieldArgs<'messageChannel'>, 'context'>,-): Record<string, FlatViewField> => {- return {- allMessageChannelsHandle: createStandardViewFieldFlatMetadata({- ...args,- objectName: 'messageChannel',- context: {- viewName: 'allMessageChannels',- viewFieldName: 'handle',- fieldName: 'handle',- position: 0,- isVisible: true,- size: 150,- },- }),- allMessageChannelsType: createStandardViewFieldFlatMetadata({- ...args,- objectName: 'messageChannel',- context: {- viewName: 'allMessageChannels',- viewFieldName: 'type',- fieldName: 'type',- position: 2,- isVisible: true,- size: 150,- },- }),- allMessageChannelsVisibility: createStandardViewFieldFlatMetadata({- ...args,- objectName: 'messageChannel',- context: {- viewName: 'allMessageChannels',- viewFieldName: 'visibility',- fieldName: 'visibility',- position: 3,- isVisible: true,- size: 150,- },- }),- allMessageChannelsIsSyncEnabled: createStandardViewFieldFlatMetadata({- ...args,- objectName: 'messageChannel',- context: {- viewName: 'allMessageChannels',- viewFieldName: 'isSyncEnabled',- fieldName: 'isSyncEnabled',- position: 4,- isVisible: true,- size: 150,- },- }),- allMessageChannelsSyncStatus: createStandardViewFieldFlatMetadata({- ...args,- objectName: 'messageChannel',- context: {- viewName: 'allMessageChannels',- viewFieldName: 'syncStatus',- fieldName: 'syncStatus',- position: 5,- isVisible: true,- size: 150,- },- }),- allMessageChannelsCreatedAt: createStandardViewFieldFlatMetadata({- ...args,- objectName: 'messageChannel',- context: {- viewName: 'allMessageChannels',- viewFieldName: 'createdAt',- fieldName: 'createdAt',- position: 6,- isVisible: true,- size: 150,- },- }),-- messageChannelRecordPageFieldsType: createStandardViewFieldFlatMetadata({- ...args,- objectName: 'messageChannel',- context: {- viewName: 'messageChannelRecordPageFields',- viewFieldName: 'type',- fieldName: 'type',- position: 2,- isVisible: true,- size: 150,- viewFieldGroupName: 'general',- },- }),- messageChannelRecordPageFieldsVisibility:- createStandardViewFieldFlatMetadata({- ...args,- objectName: 'messageChannel',- context: {- viewName: 'messageChannelRecordPageFields',- viewFieldName: 'visibility',- fieldName: 'visibility',- position: 3,- isVisible: true,- size: 150,- viewFieldGroupName: 'general',- },- }),- messageChannelRecordPageFieldsIsSyncEnabled:- createStandardViewFieldFlatMetadata({- ...args,- objectName: 'messageChannel',- context: {- viewName: 'messageChannelRecordPageFields',- viewFieldName: 'isSyncEnabled',- fieldName: 'isSyncEnabled',- position: 4,- isVisible: true,- size: 150,- viewFieldGroupName: 'general',- },- }),- messageChannelRecordPageFieldsSyncStatus:- createStandardViewFieldFlatMetadata({- ...args,- objectName: 'messageChannel',- context: {- viewName: 'messageChannelRecordPageFields',- viewFieldName: 'syncStatus',- fieldName: 'syncStatus',- position: 5,- isVisible: true,- size: 150,- viewFieldGroupName: 'general',- },- }),- messageChannelRecordPageFieldsCreatedAt:- createStandardViewFieldFlatMetadata({- ...args,- objectName: 'messageChannel',- context: {- viewName: 'messageChannelRecordPageFields',- viewFieldName: 'createdAt',- fieldName: 'createdAt',- position: 0,- isVisible: true,- size: 150,- viewFieldGroupName: 'system',- },- }),- messageChannelRecordPageFieldsCreatedBy:- createStandardViewFieldFlatMetadata({- ...args,- objectName: 'messageChannel',- context: {- viewName: 'messageChannelRecordPageFields',- viewFieldName: 'createdBy',- fieldName: 'createdBy',- position: 1,- isVisible: true,- size: 150,- viewFieldGroupName: 'system',- },- }),- };-};diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-folder-view-fields.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-folder-view-fields.util.tsdeleted file mode 100644index 0f2a3ab3599..00000000000--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-folder-view-fields.util.ts+++ /dev/null@@ -1,144 +0,0 @@-import { type FlatViewField } from 'src/engine/metadata-modules/flat-view-field/types/flat-view-field.type';-import {- createStandardViewFieldFlatMetadata,- type CreateStandardViewFieldArgs,-} from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/create-standard-view-field-flat-metadata.util';--export const computeStandardMessageFolderViewFields = (- args: Omit<CreateStandardViewFieldArgs<'messageFolder'>, 'context'>,-): Record<string, FlatViewField> => {- return {- allMessageFoldersName: createStandardViewFieldFlatMetadata({- ...args,- objectName: 'messageFolder',- context: {- viewName: 'allMessageFolders',- viewFieldName: 'name',- fieldName: 'name',- position: 0,- isVisible: true,- size: 150,- },- }),- allMessageFoldersMessageChannel: createStandardViewFieldFlatMetadata({- ...args,- objectName: 'messageFolder',- context: {- viewName: 'allMessageFolders',- viewFieldName: 'messageChannelId',- fieldName: 'messageChannelId',- position: 1,- isVisible: true,- size: 150,- },- }),- allMessageFoldersIsSentFolder: createStandardViewFieldFlatMetadata({- ...args,- objectName: 'messageFolder',- context: {- viewName: 'allMessageFolders',- viewFieldName: 'isSentFolder',- fieldName: 'isSentFolder',- position: 2,- isVisible: true,- size: 150,- },- }),- allMessageFoldersIsSynced: createStandardViewFieldFlatMetadata({- ...args,- objectName: 'messageFolder',- context: {- viewName: 'allMessageFolders',- viewFieldName: 'isSynced',- fieldName: 'isSynced',- position: 3,- isVisible: true,- size: 150,- },- }),- allMessageFoldersCreatedAt: createStandardViewFieldFlatMetadata({- ...args,- objectName: 'messageFolder',- context: {- viewName: 'allMessageFolders',- viewFieldName: 'createdAt',- fieldName: 'createdAt',- position: 4,- isVisible: true,- size: 150,- },- }),-- messageFolderRecordPageFieldsMessageChannel:- createStandardViewFieldFlatMetadata({- ...args,- objectName: 'messageFolder',- context: {- viewName: 'messageFolderRecordPageFields',- viewFieldName: 'messageChannelId',- fieldName: 'messageChannelId',- position: 1,- isVisible: true,- size: 150,- viewFieldGroupName: 'general',- },- }),- messageFolderRecordPageFieldsIsSentFolder:- createStandardViewFieldFlatMetadata({- ...args,- objectName: 'messageFolder',- context: {- viewName: 'messageFolderRecordPageFields',- viewFieldName: 'isSentFolder',- fieldName: 'isSentFolder',- position: 2,- isVisible: true,- size: 150,- viewFieldGroupName: 'general',- },- }),- messageFolderRecordPageFieldsIsSynced: createStandardViewFieldFlatMetadata({- ...args,- objectName: 'messageFolder',- context: {- viewName: 'messageFolderRecordPageFields',- viewFieldName: 'isSynced',- fieldName: 'isSynced',- position: 3,- isVisible: true,- size: 150,- viewFieldGroupName: 'general',- },- }),- messageFolderRecordPageFieldsCreatedAt: createStandardViewFieldFlatMetadata(- {- ...args,- objectName: 'messageFolder',- context: {- viewName: 'messageFolderRecordPageFields',- viewFieldName: 'createdAt',- fieldName: 'createdAt',- position: 0,- isVisible: true,- size: 150,- viewFieldGroupName: 'system',- },- },- ),- messageFolderRecordPageFieldsCreatedBy: createStandardViewFieldFlatMetadata(- {- ...args,- objectName: 'messageFolder',- context: {- viewName: 'messageFolderRecordPageFields',- viewFieldName: 'createdBy',- fieldName: 'createdBy',- position: 1,- isVisible: true,- size: 150,- viewFieldGroupName: 'system',- },- },- ),- };-};diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/build-standard-flat-view-metadata-maps.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/build-standard-flat-view-metadata-maps.util.tsindex be3c4d5768e..d8520c05143 100644--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/build-standard-flat-view-metadata-maps.util.ts+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/build-standard-flat-view-metadata-maps.util.ts@@ -5,7 +5,6 @@ import { type FlatView } from 'src/engine/metadata-modules/flat-view/types/flat-import { type AllStandardObjectName } from 'src/engine/workspace-manager/twenty-standard-application/types/all-standard-object-name.type';import { computeStandardAttachmentViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-attachment-views.util';import { computeStandardBlocklistViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-blocklist-views.util';-import { computeStandardCalendarChannelViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-calendar-channel-views.util';import { computeStandardCalendarChannelEventAssociationViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-calendar-channel-event-association-views.util';import { computeStandardCalendarEventParticipantViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-calendar-event-participant-views.util';import { computeStandardCalendarEventViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-calendar-event-views.util';@@ -13,8 +12,6 @@ import { computeStandardCompanyViews } from 'src/engine/workspace-manager/twentyimport { computeStandardDashboardViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-dashboard-views.util';import { computeStandardMessageChannelMessageAssociationMessageFolderViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-channel-message-association-message-folder-views.util';import { computeStandardMessageChannelMessageAssociationViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-channel-message-association-views.util';-import { computeStandardMessageChannelViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-channel-views.util';-import { computeStandardMessageFolderViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-folder-views.util';import { computeStandardMessageParticipantViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-participant-views.util';import { computeStandardMessageThreadViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-thread-views.util';import { computeStandardMessageViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-views.util';@@ -39,7 +36,6 @@ type StandardViewBuilder<P extends AllStandardObjectName> = (const STANDARD_FLAT_VIEW_METADATA_BUILDERS_BY_OBJECT_NAME = {attachment: computeStandardAttachmentViews,blocklist: computeStandardBlocklistViews,- calendarChannel: computeStandardCalendarChannelViews,calendarChannelEventAssociation:computeStandardCalendarChannelEventAssociationViews,calendarEvent: computeStandardCalendarEventViews,@@ -47,12 +43,10 @@ const STANDARD_FLAT_VIEW_METADATA_BUILDERS_BY_OBJECT_NAME = {company: computeStandardCompanyViews,dashboard: computeStandardDashboardViews,message: computeStandardMessageViews,- messageChannel: computeStandardMessageChannelViews,messageChannelMessageAssociation:computeStandardMessageChannelMessageAssociationViews,messageChannelMessageAssociationMessageFolder:computeStandardMessageChannelMessageAssociationMessageFolderViews,- messageFolder: computeStandardMessageFolderViews,messageParticipant: computeStandardMessageParticipantViews,messageThread: computeStandardMessageThreadViews,note: computeStandardNoteViews,diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-calendar-channel-views.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-calendar-channel-views.util.tsdeleted file mode 100644index d41962980cb..00000000000--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-calendar-channel-views.util.ts+++ /dev/null@@ -1,38 +0,0 @@-import { ViewType, ViewKey } from 'twenty-shared/types';--import { type FlatView } from 'src/engine/metadata-modules/flat-view/types/flat-view.type';-import {- createStandardViewFlatMetadata,- type CreateStandardViewArgs,-} from 'src/engine/workspace-manager/twenty-standard-application/utils/view/create-standard-view-flat-metadata.util';--export const computeStandardCalendarChannelViews = (- args: Omit<CreateStandardViewArgs<'calendarChannel'>, 'context'>,-): Record<string, FlatView> => {- return {- allCalendarChannels: createStandardViewFlatMetadata({- ...args,- objectName: 'calendarChannel',- context: {- viewName: 'allCalendarChannels',- name: 'All {objectLabelPlural}',- type: ViewType.TABLE,- key: ViewKey.INDEX,- position: 0,- icon: 'IconList',- },- }),- calendarChannelRecordPageFields: createStandardViewFlatMetadata({- ...args,- objectName: 'calendarChannel',- context: {- viewName: 'calendarChannelRecordPageFields',- name: 'Calendar Channel Record Page Fields',- type: ViewType.FIELDS_WIDGET,- key: null,- position: 0,- icon: 'IconList',- },- }),- };-};diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-channel-views.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-channel-views.util.tsdeleted file mode 100644index ae42de6a68d..00000000000--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-channel-views.util.ts+++ /dev/null@@ -1,38 +0,0 @@-import { ViewType, ViewKey } from 'twenty-shared/types';--import { type FlatView } from 'src/engine/metadata-modules/flat-view/types/flat-view.type';-import {- createStandardViewFlatMetadata,- type CreateStandardViewArgs,-} from 'src/engine/workspace-manager/twenty-standard-application/utils/view/create-standard-view-flat-metadata.util';--export const computeStandardMessageChannelViews = (- args: Omit<CreateStandardViewArgs<'messageChannel'>, 'context'>,-): Record<string, FlatView> => {- return {- allMessageChannels: createStandardViewFlatMetadata({- ...args,- objectName: 'messageChannel',- context: {- viewName: 'allMessageChannels',- name: 'All {objectLabelPlural}',- type: ViewType.TABLE,- key: ViewKey.INDEX,- position: 0,- icon: 'IconList',- },- }),- messageChannelRecordPageFields: createStandardViewFlatMetadata({- ...args,- objectName: 'messageChannel',- context: {- viewName: 'messageChannelRecordPageFields',- name: 'Message Channel Record Page Fields',- type: ViewType.FIELDS_WIDGET,- key: null,- position: 0,- icon: 'IconList',- },- }),- };-};diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-folder-views.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-folder-views.util.tsdeleted file mode 100644index a3b3102b205..00000000000--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-folder-views.util.ts+++ /dev/null@@ -1,38 +0,0 @@-import { ViewType, ViewKey } from 'twenty-shared/types';--import { type FlatView } from 'src/engine/metadata-modules/flat-view/types/flat-view.type';-import {- createStandardViewFlatMetadata,- type CreateStandardViewArgs,-} from 'src/engine/workspace-manager/twenty-standard-application/utils/view/create-standard-view-flat-metadata.util';--export const computeStandardMessageFolderViews = (- args: Omit<CreateStandardViewArgs<'messageFolder'>, 'context'>,-): Record<string, FlatView> => {- return {- allMessageFolders: createStandardViewFlatMetadata({- ...args,- objectName: 'messageFolder',- context: {- viewName: 'allMessageFolders',- name: 'All {objectLabelPlural}',- type: ViewType.TABLE,- key: ViewKey.INDEX,- position: 0,- icon: 'IconList',- },- }),- messageFolderRecordPageFields: createStandardViewFlatMetadata({- ...args,- objectName: 'messageFolder',- context: {- viewName: 'messageFolderRecordPageFields',- name: 'Message Folder Record Page Fields',- type: ViewType.FIELDS_WIDGET,- key: null,- position: 0,- icon: 'IconList',- },- }),- };-};diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/constant/standard-object-icons.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/constant/standard-object-icons.tsindex 7464654c400..274372dc623 100644--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/constant/standard-object-icons.ts+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/constant/standard-object-icons.ts@@ -6,7 +6,6 @@ export const STANDARD_OBJECT_ICONS = {blocklist: 'IconForbid2',behavioralEvent: 'IconTimelineEvent',calendarChannelEventAssociation: 'IconCalendar',- calendarChannel: 'IconCalendar',calendarEventParticipant: 'IconCalendar',calendarEvent: 'IconCalendar',comment: 'IconMessageCircle',@@ -14,8 +13,6 @@ export const STANDARD_OBJECT_ICONS = {dashboard: 'IconLayoutDashboard',auditLog: 'IconTimelineEvent',messageChannelMessageAssociation: 'IconMessage',- messageChannel: 'IconMessage',- messageFolder: 'IconFolder',messageParticipant: 'IconUserCircle',messageThread: 'IconMessage',messageThreadSubscriber: 'IconPerson',diff --git a/packages/twenty-server/src/modules/messaging/message-import-manager/utils/safe-parse-email-addresses.util.ts b/packages/twenty-server/src/modules/messaging/message-import-manager/utils/safe-parse-email-addresses.util.tsindex e0fbd4c6a84..2eda05bde9a 100644--- a/packages/twenty-server/src/modules/messaging/message-import-manager/utils/safe-parse-email-addresses.util.ts+++ b/packages/twenty-server/src/modules/messaging/message-import-manager/utils/safe-parse-email-addresses.util.ts@@ -10,7 +10,7 @@ export const safeParseEmailAddresses = (header: string): EmailAddress[] => {address: parsed.address,name: parsed.name ?? '',}));- } catch (error) {+ } catch {return [];}};diff --git a/packages/twenty-server/test/integration/graphql/suites/object-generated/calendar-channels.integration-spec.ts b/packages/twenty-server/test/integration/graphql/suites/object-generated/calendar-channels.integration-spec.tsdeleted file mode 100644index 7edf87b533b..00000000000--- a/packages/twenty-server/test/integration/graphql/suites/object-generated/calendar-channels.integration-spec.ts+++ /dev/null@@ -1,77 +0,0 @@-import request from 'supertest';--const client = request(`http://localhost:${APP_PORT}`);--describe('calendarChannelsResolver (e2e)', () => {- it('should find many calendarChannels', () => {- const queryData = {- query: `- query calendarChannels {- calendarChannels {- edges {- node {- handle- syncStatus- syncStage- visibility- isContactAutoCreationEnabled- contactAutoCreationPolicy- isSyncEnabled- syncCursor- syncedAt- syncStageStartedAt- throttleFailureCount- id- createdAt- updatedAt- deletedAt- connectedAccountId- }- }- }- }- `,- };-- return client- .post('/graphql')- .set('Authorization', `Bearer ${APPLE_JANE_ADMIN_ACCESS_TOKEN}`)- .send(queryData)- .expect(200)- .expect((res) => {- expect(res.body.data).toBeDefined();- expect(res.body.errors).toBeUndefined();- })- .expect((res) => {- const data = res.body.data.calendarChannels;-- expect(data).toBeDefined();- expect(Array.isArray(data.edges)).toBe(true);-- const edges = data.edges;-- if (edges.length > 0) {- const calendarChannels = edges[0].node;-- expect(calendarChannels).toHaveProperty('handle');- expect(calendarChannels).toHaveProperty('syncStatus');- expect(calendarChannels).toHaveProperty('syncStage');- expect(calendarChannels).toHaveProperty('visibility');- expect(calendarChannels).toHaveProperty(- 'isContactAutoCreationEnabled',- );- expect(calendarChannels).toHaveProperty('contactAutoCreationPolicy');- expect(calendarChannels).toHaveProperty('isSyncEnabled');- expect(calendarChannels).toHaveProperty('syncCursor');- expect(calendarChannels).toHaveProperty('syncedAt');- expect(calendarChannels).toHaveProperty('syncStageStartedAt');- expect(calendarChannels).toHaveProperty('throttleFailureCount');- expect(calendarChannels).toHaveProperty('id');- expect(calendarChannels).toHaveProperty('createdAt');- expect(calendarChannels).toHaveProperty('updatedAt');- expect(calendarChannels).toHaveProperty('deletedAt');- expect(calendarChannels).toHaveProperty('connectedAccountId');- }- });- });-});diff --git a/packages/twenty-server/test/integration/graphql/suites/object-generated/message-channels.integration-spec.ts b/packages/twenty-server/test/integration/graphql/suites/object-generated/message-channels.integration-spec.tsdeleted file mode 100644index f03a27eac61..00000000000--- a/packages/twenty-server/test/integration/graphql/suites/object-generated/message-channels.integration-spec.ts+++ /dev/null@@ -1,85 +0,0 @@-import request from 'supertest';--const client = request(`http://localhost:${APP_PORT}`);--describe('messageChannelsResolver (e2e)', () => {- it('should find many messageChannels', () => {- const queryData = {- query: `- query messageChannels {- messageChannels {- edges {- node {- visibility- handle- type- isContactAutoCreationEnabled- contactAutoCreationPolicy- excludeNonProfessionalEmails- excludeGroupEmails- isSyncEnabled- syncCursor- syncedAt- syncStatus- syncStage- syncStageStartedAt- throttleFailureCount- id- createdAt- updatedAt- deletedAt- connectedAccountId- }- }- }- }- `,- };-- return client- .post('/graphql')- .set('Authorization', `Bearer ${APPLE_JANE_ADMIN_ACCESS_TOKEN}`)- .send(queryData)- .expect(200)- .expect((res) => {- expect(res.body.data).toBeDefined();- expect(res.body.errors).toBeUndefined();- })- .expect((res) => {- const data = res.body.data.messageChannels;-- expect(data).toBeDefined();- expect(Array.isArray(data.edges)).toBe(true);-- const edges = data.edges;-- if (edges.length > 0) {- const messageChannels = edges[0].node;-- expect(messageChannels).toHaveProperty('visibility');- expect(messageChannels).toHaveProperty('handle');- expect(messageChannels).toHaveProperty('type');- expect(messageChannels).toHaveProperty(- 'isContactAutoCreationEnabled',- );- expect(messageChannels).toHaveProperty('contactAutoCreationPolicy');- expect(messageChannels).toHaveProperty(- 'excludeNonProfessionalEmails',- );- expect(messageChannels).toHaveProperty('excludeGroupEmails');- expect(messageChannels).toHaveProperty('isSyncEnabled');- expect(messageChannels).toHaveProperty('syncCursor');- expect(messageChannels).toHaveProperty('syncedAt');- expect(messageChannels).toHaveProperty('syncStatus');- expect(messageChannels).toHaveProperty('syncStage');- expect(messageChannels).toHaveProperty('syncStageStartedAt');- expect(messageChannels).toHaveProperty('throttleFailureCount');- expect(messageChannels).toHaveProperty('id');- expect(messageChannels).toHaveProperty('createdAt');- expect(messageChannels).toHaveProperty('updatedAt');- expect(messageChannels).toHaveProperty('deletedAt');- expect(messageChannels).toHaveProperty('connectedAccountId');- }- });- });-});diff --git a/packages/twenty-server/test/integration/graphql/suites/query-complexity/__snapshots__/query-complexity.integration-spec.ts.snap b/packages/twenty-server/test/integration/graphql/suites/query-complexity/__snapshots__/query-complexity.integration-spec.ts.snapindex 9c60be32562..9bf3fd23191 100644--- a/packages/twenty-server/test/integration/graphql/suites/query-complexity/__snapshots__/query-complexity.integration-spec.ts.snap+++ b/packages/twenty-server/test/integration/graphql/suites/query-complexity/__snapshots__/query-complexity.integration-spec.ts.snap@@ -1,3 +1,3 @@// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing-exports[`Query Complexity should fail to execute a query with too many root resolvers 1`] = `"Query too complex - Too many root resolvers requested: 22 - Maximum allowed root resolvers: 20"`;+exports[`Query Complexity should fail to execute a query with too many root resolvers 1`] = `"Query too complex - Too many root resolvers requested: 23 - Maximum allowed root resolvers: 20"`;diff --git a/packages/twenty-server/test/integration/graphql/suites/query-complexity/constants/tooManyRootResolversQueryGqlFields.constant.ts b/packages/twenty-server/test/integration/graphql/suites/query-complexity/constants/tooManyRootResolversQueryGqlFields.constant.tsindex f429d023380..a22083b558f 100644--- a/packages/twenty-server/test/integration/graphql/suites/query-complexity/constants/tooManyRootResolversQueryGqlFields.constant.ts+++ b/packages/twenty-server/test/integration/graphql/suites/query-complexity/constants/tooManyRootResolversQueryGqlFields.constant.ts@@ -79,77 +79,84 @@ export const TOO_MANY_ROOT_RESOLVERS_QUERY_GQL_FIELDS = gql`}}}- calendarChannels {+ calendarChannelEventAssociations {edges {node {id}}}- calendarChannelEventAssociations {+ messageThreads {edges {node {id}}}- messageThreads {+ messageChannelMessageAssociations {edges {node {id}}}- messageChannels {+ timelineActivities {edges {node {id}}}- messageChannelMessageAssociations {+ workflowRuns {edges {node {id}}}- timelineActivities {+ workflowVersions {edges {node {id}}}- workflowRuns {+ workflowAutomatedTriggers {edges {node {id}}}- workflowVersions {+ workflows {edges {node {id}}}- workflowAutomatedTriggers {+ dashboards {edges {node {id}}}- workflows {+ messages {edges {node {id}}}- dashboards {+ messageParticipants {+ edges {+ node {+ id+ }+ }+ }+ workspaceMembers {edges {node {iddiff --git a/packages/twenty-server/test/integration/metadata/suites/calendar-channel/calendar-channel-resolver.integration-spec.ts b/packages/twenty-server/test/integration/metadata/suites/calendar-channel/calendar-channel-resolver.integration-spec.tsindex 85aafe23980..76d78e126c2 100644--- a/packages/twenty-server/test/integration/metadata/suites/calendar-channel/calendar-channel-resolver.integration-spec.ts+++ b/packages/twenty-server/test/integration/metadata/suites/calendar-channel/calendar-channel-resolver.integration-spec.ts@@ -1,7 +1,7 @@import { gql } from 'graphql-tag';import { makeMetadataAPIRequest } from 'test/integration/metadata/suites/utils/make-metadata-api-request.util';-import { CALENDAR_CHANNEL_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/data/constants/calendar-channel-data-seeds.constant';+import { CALENDAR_CHANNEL_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/core/constants/calendar-channel-seed-ids.constant';import { CONNECTED_ACCOUNT_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/data/constants/connected-account-data-seeds.constant';describe('calendarChannelResolver (e2e)', () => {diff --git a/packages/twenty-server/test/integration/metadata/suites/message-channel/message-channel-resolver.integration-spec.ts b/packages/twenty-server/test/integration/metadata/suites/message-channel/message-channel-resolver.integration-spec.tsindex bc2b21bda06..b38a210015f 100644--- a/packages/twenty-server/test/integration/metadata/suites/message-channel/message-channel-resolver.integration-spec.ts+++ b/packages/twenty-server/test/integration/metadata/suites/message-channel/message-channel-resolver.integration-spec.ts@@ -2,7 +2,7 @@ import { gql } from 'graphql-tag';import { makeMetadataAPIRequest } from 'test/integration/metadata/suites/utils/make-metadata-api-request.util';import { CONNECTED_ACCOUNT_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/data/constants/connected-account-data-seeds.constant';-import { MESSAGE_CHANNEL_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/data/constants/message-channel-data-seeds.constant';+import { MESSAGE_CHANNEL_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/core/constants/message-channel-seed-ids.constant';describe('messageChannelResolver (e2e)', () => {describe('myMessageChannels', () => {diff --git a/packages/twenty-server/test/integration/metadata/suites/message-folder/message-folder-resolver.integration-spec.ts b/packages/twenty-server/test/integration/metadata/suites/message-folder/message-folder-resolver.integration-spec.tsindex 3ade48154a5..692098be5c0 100644--- a/packages/twenty-server/test/integration/metadata/suites/message-folder/message-folder-resolver.integration-spec.ts+++ b/packages/twenty-server/test/integration/metadata/suites/message-folder/message-folder-resolver.integration-spec.ts@@ -1,8 +1,8 @@import { gql } from 'graphql-tag';import { makeMetadataAPIRequest } from 'test/integration/metadata/suites/utils/make-metadata-api-request.util';-import { MESSAGE_CHANNEL_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/data/constants/message-channel-data-seeds.constant';-import { MESSAGE_FOLDER_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/data/constants/message-folder-data-seeds.constant';+import { MESSAGE_CHANNEL_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/core/constants/message-channel-seed-ids.constant';+import { MESSAGE_FOLDER_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/core/constants/message-folder-seed-ids.constant';describe('messageFolderResolver (e2e)', () => {describe('myMessageFolders', () => {diff --git a/packages/twenty-shared/src/constants/ObjectsWithChannelVisibilityConstraints.ts b/packages/twenty-shared/src/constants/ObjectsWithChannelVisibilityConstraints.tsindex 5899b03bb3e..8319b4f4c3a 100644--- a/packages/twenty-shared/src/constants/ObjectsWithChannelVisibilityConstraints.ts+++ b/packages/twenty-shared/src/constants/ObjectsWithChannelVisibilityConstraints.ts@@ -9,14 +9,11 @@ export const OBJECTS_WITH_CHANNEL_VISIBILITY_CONSTRAINTS = ['blocklist','message','messageThread',- 'messageChannel','messageParticipant',- 'messageFolder','messageChannelMessageAssociation','messageChannelMessageAssociationMessageFolder','messageThreadSubscriber','calendarEvent',- 'calendarChannel','calendarChannelEventAssociation','calendarEventParticipant',] as const;diff --git a/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts b/packages/twenty-shared/src/metadata/constants/standard-object.constant.tsindex fc792a56bde..4600d967cef 100644--- a/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts+++ b/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts@@ -297,117 +297,6 @@ export const STANDARD_OBJECTS = {},},},- calendarChannel: {- universalIdentifier: '20202020-e8f2-40e1-a39c-c0e0039c5034',- fields: {- id: { universalIdentifier: '20202020-c02a-4031-8a31-1a2f3b4c5d6e' },- createdAt: {- universalIdentifier: '20202020-c02b-4032-9b32-2b3f4c5d6e7f',- },- updatedAt: {- universalIdentifier: '20202020-c02c-4033-8c33-3c4f5d6e7f8a',- },- deletedAt: {- universalIdentifier: '20202020-c02d-4034-9d34-4d5f6e7f8a9b',- },- handle: {- universalIdentifier: '20202020-1d08-420a-9aa7-22e0f298232d',- },- visibility: {- universalIdentifier: '20202020-1b07-4796-9f01-d626bab7ca4d',- },- isContactAutoCreationEnabled: {- universalIdentifier: '20202020-50fb-404b-ba28-369911a3793a',- },- contactAutoCreationPolicy: {- universalIdentifier: '20202020-b55d-447d-b4df-226319058775',- },- isSyncEnabled: {- universalIdentifier: '20202020-fe19-4818-8854-21f7b1b43395',- },- syncCursor: {- universalIdentifier: '20202020-bac2-4852-a5cb-7a7898992b70',- },- throttleFailureCount: {- universalIdentifier: '20202020-525c-4b76-b9bd-0dd57fd11d61',- },- syncStatus: {- universalIdentifier: '20202020-7116-41da-8b4b-035975c4eb6a',- },- syncStage: {- universalIdentifier: '20202020-6246-42e6-b5cd-003bd921782c',- },- syncStageStartedAt: {- universalIdentifier: '20202020-a934-46f1-a8e7-9568b1e3a53e',- },- syncedAt: {- universalIdentifier: '20202020-2ff5-4f70-953a-3d0d36357576',- },- createdBy: {- universalIdentifier: '664db1a0-76f4-4429-8452-f8e250ab7545',- },- updatedBy: {- universalIdentifier: '6a397eab-3700-4b08-9eb9-d16b61876193',- },- position: {- universalIdentifier: '566609c9-1c8b-4899-91bb-0af140a89004',- },- searchVector: {- universalIdentifier: 'bc9a982c-c314-49d6-818a-2661ce7e918f',- },- },- indexes: {},- views: {- allCalendarChannels: {- universalIdentifier: '2d11659c-68ae-4ff2-882f-f1cccde372d0',- viewFields: {- handle: {- universalIdentifier: 'dc7ea888-79d6-4b8c-acdd-a72abe8e6326',- },- visibility: {- universalIdentifier: 'a308409d-ee09-4588-b3b2-31b71bced64d',- },- isSyncEnabled: {- universalIdentifier: '120065b8-bcba-4088-b3a8-8ae66def4219',- },- syncStatus: {- universalIdentifier: 'ee3bafb8-6374-44f3-b328-c705c16220ac',- },- createdAt: {- universalIdentifier: 'b2ef299a-b996-4f44-8c75-fad854d7df7f',- },- },- },- calendarChannelRecordPageFields: {- universalIdentifier: '74813eac-7b7e-4483-9d2c-6e14cdc2eeee',- viewFieldGroups: {- general: {- universalIdentifier: 'e015afb4-bb6b-44ab-8077-01196c70bd1b',- },- system: {- universalIdentifier: 'a7e61a73-68b3-46a2-8624-54a4f0a81710',- },- },- viewFields: {- visibility: {- universalIdentifier: '2d9f8c64-12be-4bb1-b0d4-977d89853498',- },- isSyncEnabled: {- universalIdentifier: '819312c0-3441-42a2-a638-8800e353b72f',- },- syncStatus: {- universalIdentifier: 'b95949f7-e4f7-4708-bfd5-6ec66d772465',- },- createdAt: {- universalIdentifier: '8c0e4a82-9846-46b2-988b-8b651395fc52',- },- createdBy: {- universalIdentifier: '35af4126-06bd-43a1-88cb-b1e2a170ccd2',- },- },- },- },- },calendarEventParticipant: {universalIdentifier: '20202020-a1c3-47a6-9732-27e5b1e8436d',fields: {@@ -1074,243 +963,6 @@ export const STANDARD_OBJECTS = {},},},- messageChannel: {- universalIdentifier: '20202020-fe8c-40bc-a681-b80b771449b7',- fields: {- id: { universalIdentifier: '20202020-b02a-40c1-8ac1-9eafbacbdced' },- createdAt: {- universalIdentifier: '20202020-b02b-40c2-9bc2-afbacbdcedfe',- },- updatedAt: {- universalIdentifier: '20202020-b02c-40c3-8cc3-bacbdcedfefa',- },- deletedAt: {- universalIdentifier: '20202020-b02d-40c4-9dc4-cbdcedfefaab',- },- visibility: {- universalIdentifier: '20202020-6a6b-4532-9767-cbc61b469453',- },- handle: {- universalIdentifier: '20202020-2c96-43c3-93e3-ed6b1acb69bc',- },- type: { universalIdentifier: '20202020-ae95-42d9-a3f1-797a2ea22122' },- isContactAutoCreationEnabled: {- universalIdentifier: '20202020-fabd-4f14-b7c6-3310f6d132c6',- },- contactAutoCreationPolicy: {- universalIdentifier: '20202020-fc0e-4ba6-b259-a66ca89cfa38',- },- excludeNonProfessionalEmails: {- universalIdentifier: '20202020-1df5-445d-b4f3-2413ad178431',- },- excludeGroupEmails: {- universalIdentifier: '20202020-45a0-4be4-9164-5820a6a109fb',- },- messageFolderImportPolicy: {- universalIdentifier: '20202020-cc39-4432-9fe8-ec8ab8bbed95',- },- pendingGroupEmailsAction: {- universalIdentifier: '20202020-17c5-4e9f-bc50-af46a89fdd42',- },- isSyncEnabled: {- universalIdentifier: '20202020-d9a6-48e9-990b-b97fdf22e8dd',- },- syncCursor: {- universalIdentifier: '20202020-79d1-41cf-b738-bcf5ed61e256',- },- syncedAt: {- universalIdentifier: '20202020-263d-4c6b-ad51-137ada56f7d4',- },- syncStatus: {- universalIdentifier: '20202020-56a1-4f7e-9880-a8493bb899cc',- },- syncStage: {- universalIdentifier: '20202020-7979-4b08-89fe-99cb5e698767',- },- syncStageStartedAt: {- universalIdentifier: '20202020-8c61-4a42-ae63-73c1c3c52e06',- },- throttleFailureCount: {- universalIdentifier: '20202020-0291-42be-9ad0-d578a51684ab',- },- throttleRetryAfter: {- universalIdentifier: '20202020-a1e3-4d7f-b5c2-9f8e6d4c3b2a',- },- createdBy: {- universalIdentifier: 'b7de8fcc-a7c6-4122-b3fa-1fcf8f30931c',- },- updatedBy: {- universalIdentifier: '88bb6ff1-b8a1-4313-95d4-7879acca0b93',- },- position: {- universalIdentifier: 'bc8a36af-8b9c-4548-a0da-c90e899e7243',- },- searchVector: {- universalIdentifier: '5e84794c-6f14-4bdf-81a6-76ee11cda51f',- },- },- indexes: {},- views: {- allMessageChannels: {- universalIdentifier: '95f57f8e-eaac-46f7-b364-4ef8208f165f',- viewFields: {- handle: {- universalIdentifier: 'f71a30b0-ee4a-4d36-847a-d0c99134fbb8',- },- type: {- universalIdentifier: 'fa480cec-938c-4216-95fe-ba4335e20a41',- },- visibility: {- universalIdentifier: '2c43e4f6-7024-47a0-a91a-7d491b1fac84',- },- isSyncEnabled: {- universalIdentifier: '69884c47-0c2e-4988-bbc1-23242993634e',- },- syncStatus: {- universalIdentifier: '6189c285-d390-4fd9-ae7a-ca011d8ad98f',- },- createdAt: {- universalIdentifier: '45044b65-b17b-468d-a23d-075733c6b631',- },- },- },- messageChannelRecordPageFields: {- universalIdentifier: '1350eb34-7ef0-4b25-8a3e-23b4a959c3a2',- viewFieldGroups: {- general: {- universalIdentifier: '96113215-6bf2-476c-ae69-c70274257913',- },- system: {- universalIdentifier: '2f08a624-e1a7-4f79-b5f7-1a8e92f4c07e',- },- },- viewFields: {- type: {- universalIdentifier: '280b9097-0bcf-4389-9ee7-fa89990d1369',- },- visibility: {- universalIdentifier: '8dd39475-f109-4117-bce4-9e183382b475',- },- isSyncEnabled: {- universalIdentifier: '5136d071-3b11-48cd-b7be-4910bd6264f9',- },- syncStatus: {- universalIdentifier: '76db0713-06d3-4133-9144-9d0300a2824e',- },- createdAt: {- universalIdentifier: '8636c740-3282-4a6b-99f6-f3f48e59b0af',- },- createdBy: {- universalIdentifier: 'cdf294ce-4c52-4987-a301-8219fa81ab2e',- },- },- },- },- },- messageFolder: {- universalIdentifier: '20202020-4955-4fd9-8e59-2dbd373f2a46',- fields: {- id: { universalIdentifier: '20202020-b03a-40d1-8ad1-dcedfefaabbc' },- createdAt: {- universalIdentifier: '20202020-b03b-40d2-9bd2-edfefaabbccd',- },- updatedAt: {- universalIdentifier: '20202020-b03c-40d3-8cd3-fefaabbccdde',- },- deletedAt: {- universalIdentifier: '20202020-b03d-40d4-9dd4-faabbccddeef',- },- name: { universalIdentifier: '20202020-7cf8-40bc-a681-b80b771449b7' },- parentFolderId: {- universalIdentifier: '20202020-e45d-49de-a4aa-587bbf9601f3',- },- messageChannelId: {- universalIdentifier: '20202020-c9f8-43db-a3e7-7f2e8b5d9c1a',- },- syncCursor: {- universalIdentifier: '20202020-98cd-49ed-8dfc-cb5796400e64',- },- isSentFolder: {- universalIdentifier: '20202020-2af5-4a25-b2de-3c9386da941b',- },- isSynced: {- universalIdentifier: '20202020-764f-4e09-8f95-cd46b6bfe3c4',- },- externalId: {- universalIdentifier: '20202020-f3a8-4d2b-9c7e-1b5f9a8e4c6d',- },- pendingSyncAction: {- universalIdentifier: '20202020-4f97-4c79-9517-16387fe237f7',- },- createdBy: {- universalIdentifier: 'bfe19f84-b640-4ce3-b771-4e7bf18bad14',- },- updatedBy: {- universalIdentifier: '7ec7eea8-8715-4656-a602-3cb4256aaca1',- },- position: {- universalIdentifier: '5317d4f4-12c5-469d-8e47-0f3b2ffc95b4',- },- searchVector: {- universalIdentifier: '5f2d3937-bafd-4d71-b4cb-b34037efd2e1',- },- },- indexes: {- messageChannelIdIndex: {- universalIdentifier: '6217f2a5-28ac-4b88-8a2a-45eee4580e57',- },- },- views: {- allMessageFolders: {- universalIdentifier: '6774ebf5-a300-4bcc-8f22-f5e7c58bfccf',- viewFields: {- name: {- universalIdentifier: '72b2d56f-5245-4cb6-933c-3d5031de0778',- },- messageChannelId: {- universalIdentifier: '121abdf0-c89f-4313-b156-e8a3c0cb77ec',- },- isSentFolder: {- universalIdentifier: 'e884a006-e166-434d-82aa-247052165e4d',- },- isSynced: {- universalIdentifier: 'd7e705f4-c2be-4f4e-bcc3-1cdc9e07990b',- },- createdAt: {- universalIdentifier: 'afd4f595-c1a7-4afd-b0fd-b2f0b59203c6',- },- },- },- messageFolderRecordPageFields: {- universalIdentifier: '82dc204f-a48d-4985-9259-a79b3a1b230f',- viewFieldGroups: {- general: {- universalIdentifier: 'c55a9366-bb2c-4ae7-8345-115c790f56b1',- },- system: {- universalIdentifier: '51b6af5e-9f76-4fb2-811b-6193761d7702',- },- },- viewFields: {- messageChannelId: {- universalIdentifier: '2fb6ff09-bed5-4b31-af0f-7fa3df5612da',- },- isSentFolder: {- universalIdentifier: 'ec8a2e3e-0736-41f5-8c8b-d36778d52a94',- },- isSynced: {- universalIdentifier: 'a68f286c-5d13-4794-9354-e282913930f5',- },- createdAt: {- universalIdentifier: '8b63749b-922d-4164-b0f4-65d716b3d75d',- },- createdBy: {- universalIdentifier: '2a93e132-3c92-4b94-acf0-076e4af75df2',- },- },- },- },- },messageParticipant: {universalIdentifier: '20202020-a433-4456-aa2d-fd9cb26b774a',fields: {