Skip to content

The open alternative to Salesforce, designed for AI.

Deprecate and backfill delete `ConnectedAccount` twenty standard object (#20752)

Paul Rastoin9b9c97a049f1
diff --git a/packages/twenty-front/src/modules/object-metadata/types/CoreObjectNamePlural.ts b/packages/twenty-front/src/modules/object-metadata/types/CoreObjectNamePlural.ts
index ebb141b0632..2e2219a9d4a 100644
--- a/packages/twenty-front/src/modules/object-metadata/types/CoreObjectNamePlural.ts
+++ b/packages/twenty-front/src/modules/object-metadata/types/CoreObjectNamePlural.ts
@@ -8,7 +8,6 @@ export enum CoreObjectNamePlural {
CalendarEvent = 'calendarEvents',
Comment = 'comments',
Company = 'companies',
- ConnectedAccount = 'connectedAccounts',
Dashboard = 'dashboards',
TimelineActivity = 'timelineActivities',
Message = 'messages',
diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/__stories__/WorkflowEditActionEmailBase.stories.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/__stories__/WorkflowEditActionEmailBase.stories.tsx
index 03e4a712319..7424a41643b 100644
--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/__stories__/WorkflowEditActionEmailBase.stories.tsx
+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/__stories__/WorkflowEditActionEmailBase.stories.tsx
@@ -13,9 +13,30 @@ import { WorkflowStepActionDrawerDecorator } from '~/testing/decorators/Workflow
import { WorkflowStepDecorator } from '~/testing/decorators/WorkflowStepDecorator';
import { WorkspaceDecorator } from '~/testing/decorators/WorkspaceDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
-import { mockedConnectedAccountRecords } from '~/testing/mock-data/generated/data/connectedAccounts/mock-connectedAccounts-data';
import { getWorkflowNodeIdMock } from '~/testing/mock-data/workflow';
+const MOCK_CONNECTED_ACCOUNT_ID = '20202020-9ac0-4390-9a1a-ab4d2c4e1bb7';
+
+const mockedConnectedAccounts = [
+ {
+ id: MOCK_CONNECTED_ACCOUNT_ID,
+ handle: '[email protected]',
+ provider: 'google',
+ authFailedAt: null,
+ scopes: ['email', 'calendar'],
+ handleAliases: '',
+ lastSignedInAt: null,
+ userWorkspaceId: '20202020-0687-4c41-b707-ed1bfca972a7',
+ connectionProviderId: null,
+ name: 'Tim Apple',
+ visibility: 'SHARE_EVERYTHING',
+ lastCredentialsRefreshedAt: null,
+ connectionParameters: null,
+ createdAt: '2026-02-27T01:17:25.392Z',
+ updatedAt: '2026-02-27T01:17:25.392Z',
+ },
+];
+
const DEFAULT_SEND_EMAIL_ACTION: WorkflowSendEmailAction = {
id: getWorkflowNodeIdMock(),
name: 'Send Email',
@@ -53,7 +74,7 @@ const CONFIGURED_SEND_EMAIL_ACTION: WorkflowSendEmailAction = {
valid: true,
settings: {
input: {
- connectedAccountId: mockedConnectedAccountRecords[0].id as string,
+ connectedAccountId: MOCK_CONNECTED_ACCOUNT_ID,
recipients: {
cc: '',
@@ -113,21 +134,24 @@ const meta: Meta<typeof WorkflowEditActionEmailBase> = {
msw: {
handlers: [
...graphqlMocks.handlers,
- graphql.query('FindManyConnectedAccounts', () => {
+ graphql.query('MyConnectedAccounts', () => {
+ return HttpResponse.json({
+ data: {
+ myConnectedAccounts: mockedConnectedAccounts,
+ },
+ });
+ }),
+ graphql.query('MyMessageChannels', () => {
+ return HttpResponse.json({
+ data: {
+ myMessageChannels: [],
+ },
+ });
+ }),
+ graphql.query('MyCalendarChannels', () => {
return HttpResponse.json({
data: {
- connectedAccounts: {
- edges: mockedConnectedAccountRecords.map((record) => ({
- node: record,
- cursor: record.id,
- })),
- pageInfo: {
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: null,
- endCursor: null,
- },
- },
+ myCalendarChannels: [],
},
});
}),
diff --git a/packages/twenty-front/src/pages/settings/accounts/__stories__/SettingsAccountsCalendars.stories.tsx b/packages/twenty-front/src/pages/settings/accounts/__stories__/SettingsAccountsCalendars.stories.tsx
index 40cfd9cc0e7..209cb396d9f 100644
--- a/packages/twenty-front/src/pages/settings/accounts/__stories__/SettingsAccountsCalendars.stories.tsx
+++ b/packages/twenty-front/src/pages/settings/accounts/__stories__/SettingsAccountsCalendars.stories.tsx
@@ -32,109 +32,69 @@ export const TwoConnectedAccounts: Story = {
msw: {
handlers: [
...graphqlMocks.handlers,
- graphql.query('FindManyConnectedAccounts', () => {
+ graphql.query('MyConnectedAccounts', () => {
return HttpResponse.json({
data: {
- connectedAccounts: {
- __typename: 'ConnectedAccountConnection',
- totalCount: 1,
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- startCursor: '',
- endCursor: '',
+ myConnectedAccounts: [
+ {
+ id: '20202020-954c-4d76-9a87-e5f072d4b7ef',
+ handle: '[email protected]',
+ provider: 'google',
+ authFailedAt: null,
+ scopes: ['calendar'],
+ handleAliases: '',
+ lastSignedInAt: null,
+ userWorkspaceId: '20202020-03f2-4d83-b0d5-2ec2bcee72d4',
+ connectionProviderId: null,
+ name: 'Test User',
+ visibility: 'SHARE_EVERYTHING',
+ lastCredentialsRefreshedAt: null,
+ connectionParameters: null,
+ createdAt: '2024-07-03T20:03:35.064Z',
+ updatedAt: '2024-07-03T20:03:35.064Z',
},
- edges: [
- {
- __typename: 'ConnectedAccountEdge',
- cursor: '',
- node: {
- __typename: 'ConnectedAccount',
- accessToken: '',
- refreshToken: '',
- updatedAt: '2024-07-03T20:03:35.064Z',
- createdAt: '2024-07-03T20:03:35.064Z',
- id: '20202020-954c-4d76-9a87-e5f072d4b7ef',
- provider: 'google',
- accountOwnerId: '20202020-03f2-4d83-b0d5-2ec2bcee72d4',
- lastSyncHistoryId: '',
- handleAliases: '',
- handle: '[email protected]',
- authFailedAt: null,
- },
- },
- ],
- },
+ ],
},
});
}),
- graphql.query('FindManyCalendarChannels', () => {
+ graphql.query('MyCalendarChannels', () => {
return HttpResponse.json({
data: {
- calendarChannels: {
- __typename: 'CalendarChannelConnection',
- totalCount: 2,
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- startCursor: '',
- endCursor: '',
+ myCalendarChannels: [
+ {
+ id: '20202020-ef5a-4822-9e08-ce6e6a4dcb6f',
+ handle: '[email protected]',
+ connectedAccountId: '20202020-954c-4d76-9a87-e5f072d4b7ef',
+ isSyncEnabled: true,
+ syncStage: 'CALENDAR_EVENT_LIST_FETCH_PENDING',
+ syncStatus: 'COMPLETED',
+ visibility: 'SHARE_EVERYTHING',
+ contactAutoCreationPolicy: 'SENT',
+ isContactAutoCreationEnabled: true,
+ createdAt: '2024-07-03T20:03:11.903Z',
+ updatedAt: '2024-07-03T20:03:11.903Z',
},
- edges: [
- {
- __typename: 'CalendarChannelEdge',
- cursor: '',
- node: {
- __typename: 'CalendarChannel',
- handle: '[email protected]',
- excludeNonProfessionalEmails: true,
- syncStageStartedAt: null,
- id: '20202020-ef5a-4822-9e08-ce6e6a4dcb6f',
- updatedAt: '2024-07-03T20:03:11.903Z',
- createdAt: '2024-07-03T20:03:11.903Z',
- connectedAccountId:
- '20202020-954c-4d76-9a87-e5f072d4b7ef',
- contactAutoCreationPolicy: 'SENT',
- syncStage: 'CALENDAR_EVENT_LIST_FETCH_PENDING',
- type: 'email',
- isContactAutoCreationEnabled: true,
- syncCursor: '1562764',
- excludeGroupEmails: true,
- throttleFailureCount: 0,
- isSyncEnabled: true,
- visibility: 'SHARE_EVERYTHING',
- syncStatus: 'COMPLETED',
- syncedAt: '2024-07-04T16:25:04.960Z',
- },
- },
- {
- __typename: 'CalendarChannelEdge',
- cursor: '',
- node: {
- __typename: 'CalendarChannel',
- handle: '[email protected]',
- excludeNonProfessionalEmails: true,
- syncStageStartedAt: null,
- id: '20202020-ef5a-4822-9e08-ce6e6a4dcb6a',
- updatedAt: '2024-07-03T20:03:11.903Z',
- createdAt: '2024-07-03T20:03:11.903Z',
- connectedAccountId:
- '20202020-954c-4d76-9a87-e5f072d4b7ef',
- contactAutoCreationPolicy: 'SENT',
- syncStage: 'PARTIAL_CALENDAR_EVENT_LIST_FETCH_PENDING',
- type: 'email',
- isContactAutoCreationEnabled: true,
- syncCursor: '1562764',
- excludeGroupEmails: true,
- throttleFailureCount: 0,
- isSyncEnabled: true,
- visibility: 'SHARE_EVERYTHING',
- syncStatus: 'COMPLETED',
- syncedAt: '2024-07-04T16:25:04.960Z',
- },
- },
- ],
- },
+ {
+ id: '20202020-ef5a-4822-9e08-ce6e6a4dcb6a',
+ handle: '[email protected]',
+ connectedAccountId: '20202020-954c-4d76-9a87-e5f072d4b7ef',
+ isSyncEnabled: true,
+ syncStage: 'PARTIAL_CALENDAR_EVENT_LIST_FETCH_PENDING',
+ syncStatus: 'COMPLETED',
+ visibility: 'SHARE_EVERYTHING',
+ contactAutoCreationPolicy: 'SENT',
+ isContactAutoCreationEnabled: true,
+ createdAt: '2024-07-03T20:03:11.903Z',
+ updatedAt: '2024-07-03T20:03:11.903Z',
+ },
+ ],
+ },
+ });
+ }),
+ graphql.query('MyMessageChannels', () => {
+ return HttpResponse.json({
+ data: {
+ myMessageChannels: [],
},
});
}),
diff --git a/packages/twenty-front/src/pages/settings/accounts/__stories__/SettingsAccountsEmails.stories.tsx b/packages/twenty-front/src/pages/settings/accounts/__stories__/SettingsAccountsEmails.stories.tsx
index fb75e276a8e..e34f9581d0c 100644
--- a/packages/twenty-front/src/pages/settings/accounts/__stories__/SettingsAccountsEmails.stories.tsx
+++ b/packages/twenty-front/src/pages/settings/accounts/__stories__/SettingsAccountsEmails.stories.tsx
@@ -33,109 +33,75 @@ export const TwoConnectedAccounts: Story = {
msw: {
handlers: [
...graphqlMocks.handlers,
- graphql.query('FindManyConnectedAccounts', () => {
+ graphql.query('MyConnectedAccounts', () => {
return HttpResponse.json({
data: {
- connectedAccounts: {
- __typename: 'ConnectedAccountConnection',
- totalCount: 1,
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- startCursor: '',
- endCursor: '',
+ myConnectedAccounts: [
+ {
+ id: '20202020-954c-4d76-9a87-e5f072d4b7ef',
+ handle: '[email protected]',
+ provider: 'google',
+ authFailedAt: null,
+ scopes: ['email'],
+ handleAliases: '',
+ lastSignedInAt: null,
+ userWorkspaceId: '20202020-03f2-4d83-b0d5-2ec2bcee72d4',
+ connectionProviderId: null,
+ name: 'Test User',
+ visibility: 'SHARE_EVERYTHING',
+ lastCredentialsRefreshedAt: null,
+ connectionParameters: null,
+ createdAt: '2024-07-03T20:03:35.064Z',
+ updatedAt: '2024-07-03T20:03:35.064Z',
},
- edges: [
- {
- __typename: 'ConnectedAccountEdge',
- cursor: '',
- node: {
- __typename: 'ConnectedAccount',
- accessToken: '',
- refreshToken: '',
- updatedAt: '2024-07-03T20:03:35.064Z',
- createdAt: '2024-07-03T20:03:35.064Z',
- id: '20202020-954c-4d76-9a87-e5f072d4b7ef',
- provider: 'google',
- accountOwnerId: '20202020-03f2-4d83-b0d5-2ec2bcee72d4',
- lastSyncHistoryId: '',
- handleAliases: '',
- handle: '[email protected]',
- authFailedAt: null,
- },
- },
- ],
- },
+ ],
},
});
}),
- graphql.query('FindManyMessageChannels', () => {
+ graphql.query('MyMessageChannels', () => {
return HttpResponse.json({
data: {
- messageChannels: {
- __typename: 'MessageChannelConnection',
- totalCount: 2,
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- startCursor: '',
- endCursor: '',
+ myMessageChannels: [
+ {
+ id: '20202020-ef5a-4822-9e08-ce6e6a4dcb6f',
+ handle: '[email protected]',
+ connectedAccountId: '20202020-954c-4d76-9a87-e5f072d4b7ef',
+ type: 'email',
+ isSyncEnabled: true,
+ syncStage: 'MESSAGE_LIST_FETCH_PENDING',
+ syncStatus: 'COMPLETED',
+ visibility: 'SHARE_EVERYTHING',
+ contactAutoCreationPolicy: 'SENT',
+ isContactAutoCreationEnabled: true,
+ excludeNonProfessionalEmails: true,
+ excludeGroupEmails: true,
+ createdAt: '2024-07-03T20:03:11.903Z',
+ updatedAt: '2024-07-03T20:03:11.903Z',
},
- edges: [
- {
- __typename: 'MessageChannelEdge',
- cursor: '',
- node: {
- __typename: 'MessageChannel',
- handle: '[email protected]',
- excludeNonProfessionalEmails: true,
- syncStageStartedAt: null,
- id: '20202020-ef5a-4822-9e08-ce6e6a4dcb6f',
- updatedAt: '2024-07-03T20:03:11.903Z',
- createdAt: '2024-07-03T20:03:11.903Z',
- connectedAccountId:
- '20202020-954c-4d76-9a87-e5f072d4b7ef',
- contactAutoCreationPolicy: 'SENT',
- syncStage: 'MESSAGE_LIST_FETCH_PENDING',
- type: 'email',
- isContactAutoCreationEnabled: true,
- syncCursor: '1562764',
- excludeGroupEmails: true,
- throttleFailureCount: 0,
- isSyncEnabled: true,
- visibility: 'SHARE_EVERYTHING',
- syncStatus: 'COMPLETED',
- syncedAt: '2024-07-04T16:25:04.960Z',
- },
- },
- {
- __typename: 'MessageChannelEdge',
- cursor: '',
- node: {
- __typename: 'MessageChannel',
- handle: '[email protected]',
- excludeNonProfessionalEmails: true,
- syncStageStartedAt: null,
- id: '20202020-ef5a-4822-9e08-ce6e6a4dcb6a',
- updatedAt: '2024-07-03T20:03:11.903Z',
- createdAt: '2024-07-03T20:03:11.903Z',
- connectedAccountId:
- '20202020-954c-4d76-9a87-e5f072d4b7ef',
- contactAutoCreationPolicy: 'SENT',
- syncStage: 'MESSAGE_LIST_FETCH_PENDING',
- type: 'email',
- isContactAutoCreationEnabled: true,
- syncCursor: '1562764',
- excludeGroupEmails: true,
- throttleFailureCount: 0,
- isSyncEnabled: true,
- visibility: 'SHARE_EVERYTHING',
- syncStatus: 'COMPLETED',
- syncedAt: '2024-07-04T16:25:04.960Z',
- },
- },
- ],
- },
+ {
+ id: '20202020-ef5a-4822-9e08-ce6e6a4dcb6a',
+ handle: '[email protected]',
+ connectedAccountId: '20202020-954c-4d76-9a87-e5f072d4b7ef',
+ type: 'email',
+ isSyncEnabled: true,
+ syncStage: 'MESSAGE_LIST_FETCH_PENDING',
+ syncStatus: 'COMPLETED',
+ visibility: 'SHARE_EVERYTHING',
+ contactAutoCreationPolicy: 'SENT',
+ isContactAutoCreationEnabled: true,
+ excludeNonProfessionalEmails: true,
+ excludeGroupEmails: true,
+ createdAt: '2024-07-03T20:03:11.903Z',
+ updatedAt: '2024-07-03T20:03:11.903Z',
+ },
+ ],
+ },
+ });
+ }),
+ graphql.query('MyCalendarChannels', () => {
+ return HttpResponse.json({
+ data: {
+ myCalendarChannels: [],
},
});
}),
diff --git a/packages/twenty-front/src/testing/mock-data/generated/data/connectedAccounts/mock-connectedAccounts-data.ts b/packages/twenty-front/src/testing/mock-data/generated/data/connectedAccounts/mock-connectedAccounts-data.ts
deleted file mode 100644
index 1ff7e5ec40f..00000000000
--- a/packages/twenty-front/src/testing/mock-data/generated/data/connectedAccounts/mock-connectedAccounts-data.ts
+++ /dev/null
@@ -1,246 +0,0 @@
-/* oxlint-disable */
-// @ts-nocheck
-import { type ObjectRecord } from '@/object-record/types/ObjectRecord';
-
-// This file was automatically generated — do not edit manually.
-
-// prettier-ignore
-export const mockedConnectedAccountRecords: ObjectRecord[] =
-[
- {
- "__typename": "ConnectedAccount",
- "accessToken": "exampleAccessToken",
- "accountOwner": {
- "__typename": "WorkspaceMember",
- "id": "20202020-77d5-4cb6-b60a-f4a835a85d61",
- "name": {
- "__typename": "FullName",
- "firstName": "Jony",
- "lastName": "Ive"
- }
- },
- "accountOwnerId": "20202020-77d5-4cb6-b60a-f4a835a85d61",
- "authFailedAt": null,
- "calendarChannels": {
- "__typename": "CalendarChannelConnection",
- "edges": [
- {
- "__typename": "CalendarChannelEdge",
- "node": {
- "__typename": "CalendarChannel",
- "handle": "[email protected]",
- "id": "20202020-a40f-4faf-bb9f-c6f9945b8204"
- }
- }
- ]
- },
- "connectionParameters": null,
- "createdAt": "2026-02-27T01:17:25.392Z",
- "createdBy": {
- "__typename": "Actor",
- "source": "MANUAL",
- "workspaceMemberId": null,
- "name": "System",
- "context": null
- },
- "deletedAt": null,
- "handle": "[email protected]",
- "handleAliases": "",
- "id": "20202020-0cc8-4d60-a3a4-803245698908",
- "lastCredentialsRefreshedAt": null,
- "lastSyncHistoryId": "exampleLastSyncHistory",
- "messageChannels": {
- "__typename": "MessageChannelConnection",
- "edges": [
- {
- "__typename": "MessageChannelEdge",
- "node": {
- "__typename": "MessageChannel",
- "handle": "[email protected]",
- "id": "20202020-5ffe-4b32-814a-983d5e4911cd"
- }
- }
- ]
- },
- "position": 0,
- "provider": "google",
- "refreshToken": "exampleRefreshToken",
- "scopes": [],
- "updatedAt": "2026-02-27T01:17:25.392Z",
- "updatedBy": {
- "__typename": "Actor",
- "source": "MANUAL",
- "workspaceMemberId": null,
- "name": "System",
- "context": null
- }
- },
- {
- "__typename": "ConnectedAccount",
- "accessToken": "exampleAccessToken",
- "accountOwner": {
- "__typename": "WorkspaceMember",
- "id": "20202020-0687-4c41-b707-ed1bfca972a7",
- "name": {
- "__typename": "FullName",
- "firstName": "Tim",
- "lastName": "Apple"
- }
- },
- "accountOwnerId": "20202020-0687-4c41-b707-ed1bfca972a7",
- "authFailedAt": null,
- "calendarChannels": {
- "__typename": "CalendarChannelConnection",
- "edges": [
- {
- "__typename": "CalendarChannelEdge",
- "node": {
- "__typename": "CalendarChannel",
- "handle": "[email protected]",
- "id": "20202020-a40f-4faf-bb9f-c6f9945b8203"
- }
- },
- {
- "__typename": "CalendarChannelEdge",
- "node": {
- "__typename": "CalendarChannel",
- "handle": "[email protected]",
- "id": "20202020-a40f-4faf-bb9f-c6f9945b8206"
- }
- },
- {
- "__typename": "CalendarChannelEdge",
- "node": {
- "__typename": "CalendarChannel",
- "handle": "[email protected]",
- "id": "20202020-a40f-4faf-bb9f-c6f9945b8207"
- }
- }
- ]
- },
- "connectionParameters": null,
- "createdAt": "2026-02-27T01:17:25.392Z",
- "createdBy": {
- "__typename": "Actor",
- "source": "MANUAL",
- "workspaceMemberId": null,
- "name": "System",
- "context": null
- },
- "deletedAt": null,
- "handle": "[email protected]",
- "handleAliases": "",
- "id": "20202020-9ac0-4390-9a1a-ab4d2c4e1bb7",
- "lastCredentialsRefreshedAt": null,
- "lastSyncHistoryId": "exampleLastSyncHistory",
- "messageChannels": {
- "__typename": "MessageChannelConnection",
- "edges": [
- {
- "__typename": "MessageChannelEdge",
- "node": {
- "__typename": "MessageChannel",
- "handle": "[email protected]",
- "id": "20202020-9b80-4c2c-a597-383db48de1d6"
- }
- },
- {
- "__typename": "MessageChannelEdge",
- "node": {
- "__typename": "MessageChannel",
- "handle": "[email protected]",
- "id": "20202020-e2f1-49b5-85d2-5d3a3386990d"
- }
- },
- {
- "__typename": "MessageChannelEdge",
- "node": {
- "__typename": "MessageChannel",
- "handle": "[email protected]",
- "id": "20202020-e2f1-49b5-85d2-5d3a3386990e"
- }
- }
- ]
- },
- "position": 0,
- "provider": "google",
- "refreshToken": "exampleRefreshToken",
- "scopes": [],
- "updatedAt": "2026-02-27T01:17:25.392Z",
- "updatedBy": {
- "__typename": "Actor",
- "source": "MANUAL",
- "workspaceMemberId": null,
- "name": "System",
- "context": null
- }
- },
- {
- "__typename": "ConnectedAccount",
- "accessToken": "exampleAccessToken",
- "accountOwner": {
- "__typename": "WorkspaceMember",
- "id": "20202020-1553-45c6-a028-5a9064cce07f",
- "name": {
- "__typename": "FullName",
- "firstName": "Phil",
- "lastName": "Schiler"
- }
- },
- "accountOwnerId": "20202020-1553-45c6-a028-5a9064cce07f",
- "authFailedAt": null,
- "calendarChannels": {
- "__typename": "CalendarChannelConnection",
- "edges": [
- {
- "__typename": "CalendarChannelEdge",
- "node": {
- "__typename": "CalendarChannel",
- "handle": "[email protected]",
- "id": "20202020-a40f-4faf-bb9f-c6f9945b8205"
- }
- }
- ]
- },
- "connectionParameters": null,
- "createdAt": "2026-02-27T01:17:25.392Z",
- "createdBy": {
- "__typename": "Actor",
- "source": "MANUAL",
- "workspaceMemberId": null,
- "name": "System",
- "context": null
- },
- "deletedAt": null,
- "handle": "[email protected]",
- "handleAliases": "",
- "id": "20202020-cafc-4323-908d-e5b42ad69fdf",
- "lastCredentialsRefreshedAt": null,
- "lastSyncHistoryId": "exampleLastSyncHistory",
- "messageChannels": {
- "__typename": "MessageChannelConnection",
- "edges": [
- {
- "__typename": "MessageChannelEdge",
- "node": {
- "__typename": "MessageChannel",
- "handle": "[email protected]",
- "id": "20202020-e2f1-49b5-85d2-5d3a3386990c"
- }
- }
- ]
- },
- "position": 0,
- "provider": "google",
- "refreshToken": "exampleRefreshToken",
- "scopes": [],
- "updatedAt": "2026-02-27T01:17:25.392Z",
- "updatedBy": {
- "__typename": "Actor",
- "source": "MANUAL",
- "workspaceMemberId": null,
- "name": "System",
- "context": null
- }
- }
-];
diff --git a/packages/twenty-front/src/testing/mock-data/generated/data/workspaceMembers/mock-workspaceMembers-data.ts b/packages/twenty-front/src/testing/mock-data/generated/data/workspaceMembers/mock-workspaceMembers-data.ts
index ff1b7952120..0e16c35879a 100644
--- a/packages/twenty-front/src/testing/mock-data/generated/data/workspaceMembers/mock-workspaceMembers-data.ts
+++ b/packages/twenty-front/src/testing/mock-data/generated/data/workspaceMembers/mock-workspaceMembers-data.ts
@@ -4300,19 +4300,6 @@ export const mockedWorkspaceMemberRecords: ObjectRecord[] =
},
"calendarStartDay": 7,
"colorScheme": "Light",
- "connectedAccounts": {
- "__typename": "ConnectedAccountConnection",
- "edges": [
- {
- "__typename": "ConnectedAccountEdge",
- "node": {
- "__typename": "ConnectedAccount",
- "handle": "[email protected]",
- "id": "20202020-9ac0-4390-9a1a-ab4d2c4e1bb7"
- }
- }
- ]
- },
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
@@ -18603,19 +18590,6 @@ export const mockedWorkspaceMemberRecords: ObjectRecord[] =
},
"calendarStartDay": 7,
"colorScheme": "Light",
- "connectedAccounts": {
- "__typename": "ConnectedAccountConnection",
- "edges": [
- {
- "__typename": "ConnectedAccountEdge",
- "node": {
- "__typename": "ConnectedAccount",
- "handle": "[email protected]",
- "id": "20202020-cafc-4323-908d-e5b42ad69fdf"
- }
- }
- ]
- },
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
@@ -18690,10 +18664,6 @@ export const mockedWorkspaceMemberRecords: ObjectRecord[] =
},
"calendarStartDay": 7,
"colorScheme": "Light",
- "connectedAccounts": {
- "__typename": "ConnectedAccountConnection",
- "edges": []
- },
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
@@ -23450,19 +23420,6 @@ export const mockedWorkspaceMemberRecords: ObjectRecord[] =
},
"calendarStartDay": 7,
"colorScheme": "Light",
- "connectedAccounts": {
- "__typename": "ConnectedAccountConnection",
- "edges": [
- {
- "__typename": "ConnectedAccountEdge",
- "node": {
- "__typename": "ConnectedAccount",
- "handle": "[email protected]",
- "id": "20202020-0cc8-4d60-a3a4-803245698908"
- }
- }
- ]
- },
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
@@ -23528,10 +23485,6 @@ export const mockedWorkspaceMemberRecords: ObjectRecord[] =
},
"calendarStartDay": 7,
"colorScheme": "System",
- "connectedAccounts": {
- "__typename": "ConnectedAccountConnection",
- "edges": []
- },
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
@@ -23614,10 +23567,6 @@ export const mockedWorkspaceMemberRecords: ObjectRecord[] =
},
"calendarStartDay": 7,
"colorScheme": "System",
- "connectedAccounts": {
- "__typename": "ConnectedAccountConnection",
- "edges": []
- },
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
@@ -23692,10 +23641,6 @@ export const mockedWorkspaceMemberRecords: ObjectRecord[] =
},
"calendarStartDay": 7,
"colorScheme": "Dark",
- "connectedAccounts": {
- "__typename": "ConnectedAccountConnection",
- "edges": []
- },
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
@@ -23770,10 +23715,6 @@ export const mockedWorkspaceMemberRecords: ObjectRecord[] =
},
"calendarStartDay": 7,
"colorScheme": "Dark",
- "connectedAccounts": {
- "__typename": "ConnectedAccountConnection",
- "edges": []
- },
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
@@ -23839,10 +23780,6 @@ export const mockedWorkspaceMemberRecords: ObjectRecord[] =
},
"calendarStartDay": 7,
"colorScheme": "Light",
- "connectedAccounts": {
- "__typename": "ConnectedAccountConnection",
- "edges": []
- },
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
@@ -23908,10 +23845,6 @@ export const mockedWorkspaceMemberRecords: ObjectRecord[] =
},
"calendarStartDay": 7,
"colorScheme": "Dark",
- "connectedAccounts": {
- "__typename": "ConnectedAccountConnection",
- "edges": []
- },
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
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.ts
index 6c338bfc2ed..66cad9d5cee 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
@@ -200,18 +200,6 @@ export const mockedMinimalMetadata: MinimalMetadata =
"isSystem": false,
"isRemote": false
},
- {
- "id": "adbffcd0-bb69-408a-bbd1-1ee7264689d5",
- "nameSingular": "connectedAccount",
- "namePlural": "connectedAccounts",
- "labelSingular": "Connected Account",
- "labelPlural": "Connected Accounts",
- "icon": "IconAt",
- "isCustom": false,
- "isActive": true,
- "isSystem": true,
- "isRemote": false
- },
{
"id": "3d3605e7-f61c-4abe-9886-a485b4450bf9",
"nameSingular": "messageChannelMessageAssociationMessageFolder",
diff --git a/packages/twenty-front/src/testing/mock-data/generated/metadata/objects/mock-objects-metadata.ts b/packages/twenty-front/src/testing/mock-data/generated/metadata/objects/mock-objects-metadata.ts
index 48e0060a8c3..300125bb5de 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
@@ -3091,61 +3091,6 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",
"relation": null,
"morphRelations": null
- },
- {
- "__typename": "Field",
- "id": "5d7b0dea-da5e-4d91-9386-51736d9376f7",
- "universalIdentifier": "20202020-95b1-4f44-82dc-61b042ae2414",
- "type": "RELATION",
- "name": "connectedAccount",
- "label": "Connected Account",
- "description": "Connected Account",
- "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": null,
- "options": null,
- "settings": {
- "onDelete": "CASCADE",
- "relationType": "MANY_TO_ONE",
- "joinColumnName": "connectedAccountId"
- },
- "isLabelSyncedWithName": false,
- "morphId": null,
- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",
- "relation": {
- "__typename": "Relation",
- "type": "MANY_TO_ONE",
- "sourceObjectMetadata": {
- "__typename": "Object",
- "id": "ce1549f6-1cb8-4f47-ba55-16d5a399a235",
- "nameSingular": "calendarChannel",
- "namePlural": "calendarChannels"
- },
- "targetObjectMetadata": {
- "__typename": "Object",
- "id": "adbffcd0-bb69-408a-bbd1-1ee7264689d5",
- "nameSingular": "connectedAccount",
- "namePlural": "connectedAccounts"
- },
- "sourceFieldMetadata": {
- "__typename": "Field",
- "id": "5d7b0dea-da5e-4d91-9386-51736d9376f7",
- "name": "connectedAccount"
- },
- "targetFieldMetadata": {
- "__typename": "Field",
- "id": "5a7fc72b-3fd9-4421-8268-6505c54fa6ad",
- "name": "calendarChannels"
- }
- },
- "morphRelations": null
}
],
"indexMetadataList": [
@@ -4443,61 +4388,6 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",
"relation": null,
"morphRelations": null
- },
- {
- "__typename": "Field",
- "id": "a15ef99d-5f07-4849-81f4-2cfa1adfbb36",
- "universalIdentifier": "20202020-49a2-44a4-b470-282c0440d15d",
- "type": "RELATION",
- "name": "connectedAccount",
- "label": "Connected Account",
- "description": "Connected Account",
- "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": null,
- "options": null,
- "settings": {
- "onDelete": "CASCADE",
- "relationType": "MANY_TO_ONE",
- "joinColumnName": "connectedAccountId"
- },
- "isLabelSyncedWithName": false,
- "morphId": null,
- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",
- "relation": {
- "__typename": "Relation",
- "type": "MANY_TO_ONE",
- "sourceObjectMetadata": {
- "__typename": "Object",
- "id": "c48ce4de-a73c-4b94-ba79-123559a8b299",
- "nameSingular": "messageChannel",
- "namePlural": "messageChannels"
- },
- "targetObjectMetadata": {
- "__typename": "Object",
- "id": "adbffcd0-bb69-408a-bbd1-1ee7264689d5",
- "nameSingular": "connectedAccount",
- "namePlural": "connectedAccounts"
- },
- "sourceFieldMetadata": {
- "__typename": "Field",
- "id": "a15ef99d-5f07-4849-81f4-2cfa1adfbb36",
- "name": "connectedAccount"
- },
- "targetFieldMetadata": {
- "__typename": "Field",
- "id": "96054ea4-4d5e-4d0d-aa35-1b304e1529ba",
- "name": "messageChannels"
- }
- },
- "morphRelations": null
}
],
"indexMetadataList": [
@@ -5476,809 +5366,110 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"updatedAt": "2026-04-10T08:55:56.200Z",
"name": "IDX_26a021921ba73b428be8f244ded",
"indexWhereClause": null,
- "indexType": "BTREE",
- "isUnique": false,
- "isCustom": false,
- "indexFieldMetadataList": [
- {
- "__typename": "IndexField",
- "id": "c69b7971-3c72-46e8-a79b-74393982f473",
- "fieldMetadataId": "a19cc27a-f3aa-453e-8a98-c74cc5e7a909",
- "createdAt": "2026-04-10T08:55:56.621Z",
- "updatedAt": "2026-04-10T08:55:56.621Z",
- "order": 0
- }
- ]
- },
- {
- "__typename": "Index",
- "id": "f8eef31a-6c1f-4a94-a90c-9a3c5437b8ca",
- "createdAt": "2026-04-10T08:55:56.200Z",
- "updatedAt": "2026-04-10T08:55:56.200Z",
- "name": "IDX_1ff229b8237e8368a92c08d11f0",
- "indexWhereClause": null,
- "indexType": "BTREE",
- "isUnique": false,
- "isCustom": false,
- "indexFieldMetadataList": [
- {
- "__typename": "IndexField",
- "id": "da0d950a-fccd-4451-a243-23faf38d9b9f",
- "fieldMetadataId": "4bdf6505-6c16-4c96-833c-2f9c8ef0f226",
- "createdAt": "2026-04-10T08:55:56.621Z",
- "updatedAt": "2026-04-10T08:55:56.621Z",
- "order": 0
- }
- ]
- },
- {
- "__typename": "Index",
- "id": "81cbb6a1-0f1c-4c0c-af7d-30843f764378",
- "createdAt": "2026-04-10T08:55:56.200Z",
- "updatedAt": "2026-04-10T08:55:56.200Z",
- "name": "IDX_9a2065c2b56ffe8b74d1a12705f",
- "indexWhereClause": null,
- "indexType": "BTREE",
- "isUnique": false,
- "isCustom": false,
- "indexFieldMetadataList": [
- {
- "__typename": "IndexField",
- "id": "dae760a3-01cc-49c7-afa6-7743953959a6",
- "fieldMetadataId": "d88ca30e-2d50-4a21-9146-775ac32adbe2",
- "createdAt": "2026-04-10T08:55:56.622Z",
- "updatedAt": "2026-04-10T08:55:56.622Z",
- "order": 0
- }
- ]
- },
- {
- "__typename": "Index",
- "id": "97326e7b-1bcb-4089-af4f-0aa65e3dd658",
- "createdAt": "2026-04-10T08:55:56.200Z",
- "updatedAt": "2026-04-10T08:55:56.200Z",
- "name": "IDX_953cb9c73db904f98697f4867b2",
- "indexWhereClause": null,
- "indexType": "BTREE",
- "isUnique": false,
- "isCustom": false,
- "indexFieldMetadataList": [
- {
- "__typename": "IndexField",
- "id": "5b2b3a8e-77ab-41be-8ae8-359a43c90e0e",
- "fieldMetadataId": "b01af7d6-a3b3-45a3-a7cc-d4c491586227",
- "createdAt": "2026-04-10T08:55:56.622Z",
- "updatedAt": "2026-04-10T08:55:56.622Z",
- "order": 0
- }
- ]
- },
- {
- "__typename": "Index",
- "id": "b0c465b0-6d37-42b3-af5d-6bad2bde09f8",
- "createdAt": "2026-04-10T08:55:56.200Z",
- "updatedAt": "2026-04-10T08:55:56.200Z",
- "name": "IDX_58b130a455b1451066c84dc63e2",
- "indexWhereClause": null,
- "indexType": "BTREE",
- "isUnique": false,
- "isCustom": false,
- "indexFieldMetadataList": [
- {
- "__typename": "IndexField",
- "id": "9b52498f-113e-4d39-809f-11d0de0e3e48",
- "fieldMetadataId": "be701e56-6716-4254-a8b3-a2c3cf2a7ec9",
- "createdAt": "2026-04-10T08:55:56.623Z",
- "updatedAt": "2026-04-10T08:55:56.623Z",
- "order": 0
- }
- ]
- },
- {
- "__typename": "Index",
- "id": "b88326fb-52ad-4250-a2e7-0ec628381bf9",
- "createdAt": "2026-04-10T08:55:56.200Z",
- "updatedAt": "2026-04-10T08:55:56.200Z",
- "name": "IDX_6b2a27852dd0e0846577662a33a",
- "indexWhereClause": null,
- "indexType": "BTREE",
- "isUnique": false,
- "isCustom": false,
- "indexFieldMetadataList": [
- {
- "__typename": "IndexField",
- "id": "781fdb5b-05c6-45f2-98e1-873d29f0dc5b",
- "fieldMetadataId": "a1cc36c1-9dfb-4e35-b843-84b86a511602",
- "createdAt": "2026-04-10T08:55:56.624Z",
- "updatedAt": "2026-04-10T08:55:56.624Z",
- "order": 0
- }
- ]
- }
- ]
- }
- },
- {
- "__typename": "ObjectEdge",
- "node": {
- "__typename": "Object",
- "id": "adbffcd0-bb69-408a-bbd1-1ee7264689d5",
- "universalIdentifier": "20202020-977e-46b2-890b-c3002ddfd5c5",
- "nameSingular": "connectedAccount",
- "namePlural": "connectedAccounts",
- "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": "85f2cac1-498d-4edd-99fc-3b75c0a74acd",
- "imageIdentifierFieldMetadataId": null,
- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",
- "shortcut": null,
- "isLabelSyncedWithName": false,
- "isSearchable": false,
- "duplicateCriteria": null,
- "labelSingular": "Connected Account",
- "labelPlural": "Connected Accounts",
- "description": "A connected account",
- "icon": "IconAt",
- "fieldsList": [
- {
- "__typename": "Field",
- "id": "b057c123-ebb0-4295-88b1-db1a4b7deba1",
- "universalIdentifier": "20202020-c06a-4071-8a71-5c6d7e8f9aab",
- "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": "384b095a-baf6-44ad-8aa8-5688b17a9d12",
- "universalIdentifier": "20202020-c06b-4072-9b72-6d7e8f9aabbc",
- "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": "1a40209a-d8f3-44dc-96b8-df09e5f5e500",
- "universalIdentifier": "20202020-c06c-4073-8c73-7e8f9aabbccd",
- "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": "a11e0a22-9c0a-4ad6-a31e-2c0d67a74fa4",
- "universalIdentifier": "20202020-c06d-4074-9d74-8f9aabbccdde",
- "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": "bd57a595-0d74-42a9-8b17-5617028dda6a",
- "universalIdentifier": "e09c2463-9ca6-4004-97ce-6039e3161a5d",
- "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": "26b03bc9-e9fc-4ce6-979b-c04ed9265034",
- "universalIdentifier": "0a84c0e1-f9fc-47d5-8ac9-58538e50a9f9",
- "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": "8d75cd81-e67b-4b27-b32a-29bee6a79898",
- "universalIdentifier": "66b7bc3e-c99e-42b6-82e6-6f43142c0f2f",
- "type": "POSITION",
- "name": "position",
- "label": "Position",
- "description": "Connected account 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": "7de5c016-253a-4938-b6dc-f5ed9c684a3e",
- "universalIdentifier": "140767fe-0aa4-4573-a0bd-67cb657c9452",
- "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": "85f2cac1-498d-4edd-99fc-3b75c0a74acd",
- "universalIdentifier": "20202020-c804-4a50-bb05-b3a9e24f1dec",
- "type": "TEXT",
- "name": "handle",
- "label": "handle",
- "description": "The account handle (email, username, phone number, etc.)",
- "icon": "IconMail",
- "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": "bb3d6543-a93c-4690-b67d-bc59176d15fd",
- "universalIdentifier": "20202020-ebb0-4516-befc-a9e95935efd5",
- "type": "TEXT",
- "name": "provider",
- "label": "provider",
- "description": "The account provider",
- "icon": "IconSettings",
- "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": "'google'",
- "options": null,
- "settings": null,
- "isLabelSyncedWithName": false,
- "morphId": null,
- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",
- "relation": null,
- "morphRelations": null
- },
- {
- "__typename": "Field",
- "id": "4f199f06-3419-4344-bc43-158305d0e4fa",
- "universalIdentifier": "20202020-707b-4a0a-8753-2ad42efe1e29",
- "type": "TEXT",
- "name": "accessToken",
- "label": "Access Token",
- "description": "Messaging provider access token",
- "icon": "IconKey",
- "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": "7b70fc5b-0a84-4962-af03-aa692ef0f64f",
- "universalIdentifier": "20202020-532d-48bd-80a5-c4be6e7f6e49",
- "type": "TEXT",
- "name": "refreshToken",
- "label": "Refresh Token",
- "description": "Messaging provider refresh token",
- "icon": "IconKey",
- "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": "6259a7fe-dbb7-4aed-996f-b3bcc1f1b293",
- "universalIdentifier": "20202020-115c-4a87-b50f-ac4367a971b9",
- "type": "TEXT",
- "name": "lastSyncHistoryId",
- "label": "Last sync history ID",
- "description": "Last sync history ID",
- "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": "c1be085b-57ff-4845-b5ee-3360bc610ff5",
- "universalIdentifier": "20202020-d268-4c6b-baff-400d402b430a",
- "type": "DATE_TIME",
- "name": "authFailedAt",
- "label": "Auth failed at",
- "description": "Auth failed at",
- "icon": "IconX",
- "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": "dc21efad-d0da-4b72-a0c6-a1d34755d6b3",
- "universalIdentifier": "20202020-aa5e-4e85-903b-fdf90a941941",
- "type": "DATE_TIME",
- "name": "lastCredentialsRefreshedAt",
- "label": "Last credentials refreshed at",
- "description": "Last credentials refreshed 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": "f866d30b-e706-4f0b-a2c5-0deac1dea5d5",
- "universalIdentifier": "20202020-8a3d-46be-814f-6228af16c47b",
- "type": "TEXT",
- "name": "handleAliases",
- "label": "Handle Aliases",
- "description": "Handle Aliases",
- "icon": "IconMail",
- "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": "7d717cb1-0aef-43cf-8b60-aa5ac8042e93",
- "universalIdentifier": "20202020-8a3d-46be-814f-6228af16c47c",
- "type": "ARRAY",
- "name": "scopes",
- "label": "Scopes",
- "description": "Scopes",
- "icon": "IconSettings",
- "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
+ "indexType": "BTREE",
+ "isUnique": false,
+ "isCustom": false,
+ "indexFieldMetadataList": [
+ {
+ "__typename": "IndexField",
+ "id": "c69b7971-3c72-46e8-a79b-74393982f473",
+ "fieldMetadataId": "a19cc27a-f3aa-453e-8a98-c74cc5e7a909",
+ "createdAt": "2026-04-10T08:55:56.621Z",
+ "updatedAt": "2026-04-10T08:55:56.621Z",
+ "order": 0
+ }
+ ]
},
{
- "__typename": "Field",
- "id": "530bac3f-fbc2-4b8a-a98f-48ce5b85b165",
- "universalIdentifier": "20202020-a1b2-46be-814f-6228af16c481",
- "type": "RAW_JSON",
- "name": "connectionParameters",
- "label": "Custom Connection Parameters",
- "description": "JSON object containing custom connection parameters",
- "icon": "IconSettings",
- "isCustom": false,
- "isActive": true,
- "isSystem": false,
- "isUIReadOnly": true,
- "isNullable": true,
- "isUnique": false,
+ "__typename": "Index",
+ "id": "f8eef31a-6c1f-4a94-a90c-9a3c5437b8ca",
"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_1ff229b8237e8368a92c08d11f0",
+ "indexWhereClause": null,
+ "indexType": "BTREE",
+ "isUnique": false,
+ "isCustom": false,
+ "indexFieldMetadataList": [
+ {
+ "__typename": "IndexField",
+ "id": "da0d950a-fccd-4451-a243-23faf38d9b9f",
+ "fieldMetadataId": "4bdf6505-6c16-4c96-833c-2f9c8ef0f226",
+ "createdAt": "2026-04-10T08:55:56.621Z",
+ "updatedAt": "2026-04-10T08:55:56.621Z",
+ "order": 0
+ }
+ ]
},
{
- "__typename": "Field",
- "id": "5a7fc72b-3fd9-4421-8268-6505c54fa6ad",
- "universalIdentifier": "20202020-af4a-47bb-99ec-51911c1d3977",
- "type": "RELATION",
- "name": "calendarChannels",
- "label": "Calendar Channels",
- "description": "Calendar Channels",
- "icon": "IconCalendar",
- "isCustom": false,
- "isActive": true,
- "isSystem": false,
- "isUIReadOnly": true,
- "isNullable": false,
- "isUnique": false,
+ "__typename": "Index",
+ "id": "81cbb6a1-0f1c-4c0c-af7d-30843f764378",
"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": "adbffcd0-bb69-408a-bbd1-1ee7264689d5",
- "nameSingular": "connectedAccount",
- "namePlural": "connectedAccounts"
- },
- "targetObjectMetadata": {
- "__typename": "Object",
- "id": "ce1549f6-1cb8-4f47-ba55-16d5a399a235",
- "nameSingular": "calendarChannel",
- "namePlural": "calendarChannels"
- },
- "sourceFieldMetadata": {
- "__typename": "Field",
- "id": "5a7fc72b-3fd9-4421-8268-6505c54fa6ad",
- "name": "calendarChannels"
- },
- "targetFieldMetadata": {
- "__typename": "Field",
- "id": "5d7b0dea-da5e-4d91-9386-51736d9376f7",
- "name": "connectedAccount"
+ "name": "IDX_9a2065c2b56ffe8b74d1a12705f",
+ "indexWhereClause": null,
+ "indexType": "BTREE",
+ "isUnique": false,
+ "isCustom": false,
+ "indexFieldMetadataList": [
+ {
+ "__typename": "IndexField",
+ "id": "dae760a3-01cc-49c7-afa6-7743953959a6",
+ "fieldMetadataId": "d88ca30e-2d50-4a21-9146-775ac32adbe2",
+ "createdAt": "2026-04-10T08:55:56.622Z",
+ "updatedAt": "2026-04-10T08:55:56.622Z",
+ "order": 0
}
- },
- "morphRelations": null
+ ]
},
{
- "__typename": "Field",
- "id": "79c19070-8786-4d4f-83cd-d20699bce82d",
- "universalIdentifier": "20202020-3517-4896-afac-b1d0aa362af6",
- "type": "RELATION",
- "name": "accountOwner",
- "label": "Account Owner",
- "description": "Account Owner",
- "icon": "IconUserCircle",
- "isCustom": false,
- "isActive": true,
- "isSystem": false,
- "isUIReadOnly": true,
- "isNullable": false,
- "isUnique": false,
+ "__typename": "Index",
+ "id": "97326e7b-1bcb-4089-af4f-0aa65e3dd658",
"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": "accountOwnerId"
- },
- "isLabelSyncedWithName": false,
- "morphId": null,
- "applicationId": "dd6a5463-023d-4a10-855f-a4abaf32c1ec",
- "relation": {
- "__typename": "Relation",
- "type": "MANY_TO_ONE",
- "sourceObjectMetadata": {
- "__typename": "Object",
- "id": "adbffcd0-bb69-408a-bbd1-1ee7264689d5",
- "nameSingular": "connectedAccount",
- "namePlural": "connectedAccounts"
- },
- "targetObjectMetadata": {
- "__typename": "Object",
- "id": "5fd99bf8-8a88-4bed-aa6c-8ff34e43b0d0",
- "nameSingular": "workspaceMember",
- "namePlural": "workspaceMembers"
- },
- "sourceFieldMetadata": {
- "__typename": "Field",
- "id": "79c19070-8786-4d4f-83cd-d20699bce82d",
- "name": "accountOwner"
- },
- "targetFieldMetadata": {
- "__typename": "Field",
- "id": "ae633a94-b92c-44d0-b1bd-993a5d18b5f9",
- "name": "connectedAccounts"
+ "name": "IDX_953cb9c73db904f98697f4867b2",
+ "indexWhereClause": null,
+ "indexType": "BTREE",
+ "isUnique": false,
+ "isCustom": false,
+ "indexFieldMetadataList": [
+ {
+ "__typename": "IndexField",
+ "id": "5b2b3a8e-77ab-41be-8ae8-359a43c90e0e",
+ "fieldMetadataId": "b01af7d6-a3b3-45a3-a7cc-d4c491586227",
+ "createdAt": "2026-04-10T08:55:56.622Z",
+ "updatedAt": "2026-04-10T08:55:56.622Z",
+ "order": 0
}
- },
- "morphRelations": null
+ ]
},
{
- "__typename": "Field",
- "id": "96054ea4-4d5e-4d0d-aa35-1b304e1529ba",
- "universalIdentifier": "20202020-24f7-4362-8468-042204d1e445",
- "type": "RELATION",
- "name": "messageChannels",
- "label": "Message Channels",
- "description": "Message Channels",
- "icon": "IconMessage",
- "isCustom": false,
- "isActive": true,
- "isSystem": false,
- "isUIReadOnly": true,
- "isNullable": false,
- "isUnique": false,
+ "__typename": "Index",
+ "id": "b0c465b0-6d37-42b3-af5d-6bad2bde09f8",
"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": "adbffcd0-bb69-408a-bbd1-1ee7264689d5",
- "nameSingular": "connectedAccount",
- "namePlural": "connectedAccounts"
- },
- "targetObjectMetadata": {
- "__typename": "Object",
- "id": "c48ce4de-a73c-4b94-ba79-123559a8b299",
- "nameSingular": "messageChannel",
- "namePlural": "messageChannels"
- },
- "sourceFieldMetadata": {
- "__typename": "Field",
- "id": "96054ea4-4d5e-4d0d-aa35-1b304e1529ba",
- "name": "messageChannels"
- },
- "targetFieldMetadata": {
- "__typename": "Field",
- "id": "a15ef99d-5f07-4849-81f4-2cfa1adfbb36",
- "name": "connectedAccount"
+ "name": "IDX_58b130a455b1451066c84dc63e2",
+ "indexWhereClause": null,
+ "indexType": "BTREE",
+ "isUnique": false,
+ "isCustom": false,
+ "indexFieldMetadataList": [
+ {
+ "__typename": "IndexField",
+ "id": "9b52498f-113e-4d39-809f-11d0de0e3e48",
+ "fieldMetadataId": "be701e56-6716-4254-a8b3-a2c3cf2a7ec9",
+ "createdAt": "2026-04-10T08:55:56.623Z",
+ "updatedAt": "2026-04-10T08:55:56.623Z",
+ "order": 0
}
- },
- "morphRelations": null
- }
- ],
- "indexMetadataList": [
+ ]
+ },
{
"__typename": "Index",
- "id": "6b5f340c-5e91-4eb6-9bed-b5cce44a820b",
+ "id": "b88326fb-52ad-4250-a2e7-0ec628381bf9",
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
- "name": "IDX_3c8bbe54bd34f40dfe2d05ac964",
+ "name": "IDX_6b2a27852dd0e0846577662a33a",
"indexWhereClause": null,
"indexType": "BTREE",
"isUnique": false,
@@ -6286,10 +5477,10 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"indexFieldMetadataList": [
{
"__typename": "IndexField",
- "id": "29dea5aa-81b8-46b2-8c3b-9deddd35c999",
- "fieldMetadataId": "79c19070-8786-4d4f-83cd-d20699bce82d",
- "createdAt": "2026-04-10T08:55:56.597Z",
- "updatedAt": "2026-04-10T08:55:56.597Z",
+ "id": "781fdb5b-05c6-45f2-98e1-873d29f0dc5b",
+ "fieldMetadataId": "a1cc36c1-9dfb-4e35-b843-84b86a511602",
+ "createdAt": "2026-04-10T08:55:56.624Z",
+ "updatedAt": "2026-04-10T08:55:56.624Z",
"order": 0
}
]
@@ -13656,59 +12847,6 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
},
"morphRelations": null
},
- {
- "__typename": "Field",
- "id": "ae633a94-b92c-44d0-b1bd-993a5d18b5f9",
- "universalIdentifier": "20202020-e322-4bde-a525-727079b4a100",
- "type": "RELATION",
- "name": "connectedAccounts",
- "label": "Connected accounts",
- "description": "Connected accounts",
- "icon": "IconAt",
- "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": {
- "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": "5fd99bf8-8a88-4bed-aa6c-8ff34e43b0d0",
- "nameSingular": "workspaceMember",
- "namePlural": "workspaceMembers"
- },
- "targetObjectMetadata": {
- "__typename": "Object",
- "id": "adbffcd0-bb69-408a-bbd1-1ee7264689d5",
- "nameSingular": "connectedAccount",
- "namePlural": "connectedAccounts"
- },
- "sourceFieldMetadata": {
- "__typename": "Field",
- "id": "ae633a94-b92c-44d0-b1bd-993a5d18b5f9",
- "name": "connectedAccounts"
- },
- "targetFieldMetadata": {
- "__typename": "Field",
- "id": "79c19070-8786-4d4f-83cd-d20699bce82d",
- "name": "accountOwner"
- }
- },
- "morphRelations": null
- },
{
"__typename": "Field",
"id": "eb111691-d6b2-459f-a3c6-6099f0bf82a3",
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/1-21/1-21-workspace-command-1775500012000-migrate-messaging-infrastructure-to-metadata.command.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/1-21/1-21-workspace-command-1775500012000-migrate-messaging-infrastructure-to-metadata.command.ts
index e1a75ec2650..0161f2b1398 100644
--- a/packages/twenty-server/src/database/commands/upgrade-version-command/1-21/1-21-workspace-command-1775500012000-migrate-messaging-infrastructure-to-metadata.command.ts
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/1-21/1-21-workspace-command-1775500012000-migrate-messaging-infrastructure-to-metadata.command.ts
@@ -3,7 +3,7 @@ import { InjectRepository } from '@nestjs/typeorm';
import { isNonEmptyString } from '@sniptt/guards';
import { Command } from 'nest-commander';
import { type FeatureFlagKey } from 'twenty-shared/types';
-import { Repository } from 'typeorm';
+import { type DeepPartial, Repository } from 'typeorm';
import { ActiveOrSuspendedWorkspaceCommandRunner } from 'src/database/commands/command-runners/active-or-suspended-workspace.command-runner';
import { type RunOnWorkspaceArgs } from 'src/database/commands/command-runners/workspace.command-runner';
@@ -16,10 +16,26 @@ import { ConnectedAccountEntity } from 'src/engine/metadata-modules/connected-ac
import { MessageChannelEntity } from 'src/engine/metadata-modules/message-channel/entities/message-channel.entity';
import { MessageFolderEntity } from 'src/engine/metadata-modules/message-folder/entities/message-folder.entity';
import { GlobalWorkspaceOrmManager } from 'src/engine/twenty-orm/global-workspace-datasource/global-workspace-orm.manager';
-import { type ConnectedAccountWorkspaceEntity } from 'src/modules/connected-account/standard-objects/connected-account.workspace-entity';
import { type MessageFolderWorkspaceEntity } from 'src/modules/messaging/common/standard-objects/message-folder.workspace-entity';
import { type WorkspaceMemberWorkspaceEntity } from 'src/modules/workspace-member/standard-objects/workspace-member.workspace-entity';
+type LegacyConnectedAccountWorkspaceEntity = {
+ id: string;
+ createdAt: Date;
+ updatedAt: Date;
+ handle: string | null;
+ provider: string;
+ accessToken: string | null;
+ refreshToken: string | null;
+ lastSyncHistoryId: string | null;
+ lastCredentialsRefreshedAt: Date | null;
+ authFailedAt: Date | null;
+ accountOwnerId: string;
+ handleAliases: string | null;
+ scopes: string[] | null;
+ connectionParameters: Record<string, unknown> | null;
+};
+
@RegisteredWorkspaceCommand('1.21.0', 1775500012000)
@Command({
name: 'upgrade:1-21:migrate-messaging-infrastructure-to-metadata',
@@ -65,7 +81,7 @@ export class MigrateMessagingInfrastructureToMetadataCommand extends ActiveOrSus
const isDryRun = options.dryRun ?? false;
const connectedAccountWorkspaceRepository =
- await this.twentyORMGlobalManager.getRepository<ConnectedAccountWorkspaceEntity>(
+ await this.twentyORMGlobalManager.getRepository<LegacyConnectedAccountWorkspaceEntity>(
workspaceId,
'connectedAccount',
);
@@ -203,7 +219,9 @@ export class MigrateMessagingInfrastructureToMetadataCommand extends ActiveOrSus
});
if (coreConnectedAccounts.length > 0) {
- await this.connectedAccountRepository.save(coreConnectedAccounts);
+ await this.connectedAccountRepository.save(
+ coreConnectedAccounts as DeepPartial<ConnectedAccountEntity>[],
+ );
this.logger.log(
`Migrated ${coreConnectedAccounts.length} connected accounts for workspace ${workspaceId}`,
);
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-7/2-7-upgrade-version-command.module.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-7/2-7-upgrade-version-command.module.ts
index bdb9e6d6ac8..a2549bf38d2 100644
--- a/packages/twenty-server/src/database/commands/upgrade-version-command/2-7/2-7-upgrade-version-command.module.ts
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-7/2-7-upgrade-version-command.module.ts
@@ -1,8 +1,9 @@
import { Module } from '@nestjs/common';
import { WorkspaceIteratorModule } from 'src/database/commands/command-runners/workspace-iterator.module';
-import { DropFavoriteObjectsCommand } from 'src/database/commands/upgrade-version-command/2-7/2-7-workspace-command-1798000030000-drop-favorite-objects.command';
import { SyncCommandMenuItemAvailabilityExpressionsCommand } from 'src/database/commands/upgrade-version-command/2-7/2-7-workspace-command-1798000020000-sync-command-menu-item-availability-expressions.command';
+import { DropFavoriteObjectsCommand } from 'src/database/commands/upgrade-version-command/2-7/2-7-workspace-command-1798000030000-drop-favorite-objects.command';
+import { DropConnectedAccountStandardObjectCommand } from 'src/database/commands/upgrade-version-command/2-7/2-7-workspace-command-1798000040000-drop-connected-account-standard-object.command';
import { ApplicationModule } from 'src/engine/core-modules/application/application.module';
import { ObjectMetadataModule } from 'src/engine/metadata-modules/object-metadata/object-metadata.module';
import { WorkspaceCacheModule } from 'src/engine/workspace-cache/workspace-cache.module';
@@ -19,6 +20,7 @@ import { WorkspaceMigrationModule } from 'src/engine/workspace-manager/workspace
providers: [
DropFavoriteObjectsCommand,
SyncCommandMenuItemAvailabilityExpressionsCommand,
+ DropConnectedAccountStandardObjectCommand,
],
})
export class V2_7_UpgradeVersionCommandModule {}
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-7/2-7-workspace-command-1798000040000-drop-connected-account-standard-object.command.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-7/2-7-workspace-command-1798000040000-drop-connected-account-standard-object.command.ts
new file mode 100644
index 00000000000..f532b3dfd55
--- /dev/null
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-7/2-7-workspace-command-1798000040000-drop-connected-account-standard-object.command.ts
@@ -0,0 +1,144 @@
+import { Command } from 'nest-commander';
+
+import { ActiveOrSuspendedWorkspaceCommandRunner } from 'src/database/commands/command-runners/active-or-suspended-workspace.command-runner';
+import { WorkspaceIteratorService } from 'src/database/commands/command-runners/workspace-iterator.service';
+import { type RunOnWorkspaceArgs } from 'src/database/commands/command-runners/workspace.command-runner';
+import { ApplicationService } from 'src/engine/core-modules/application/application.service';
+import { RegisteredWorkspaceCommand } from 'src/engine/core-modules/upgrade/decorators/registered-workspace-command.decorator';
+import { findFlatEntityByUniversalIdentifier } from 'src/engine/metadata-modules/flat-entity/utils/find-flat-entity-by-universal-identifier.util';
+import { type FlatFieldMetadata } from 'src/engine/metadata-modules/flat-field-metadata/types/flat-field-metadata.type';
+import { 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 CONNECTED_ACCOUNT_OBJECT_UNIVERSAL_IDENTIFIER =
+ '20202020-977e-46b2-890b-c3002ddfd5c5';
+
+const WORKSPACE_MEMBER_CONNECTED_ACCOUNTS_FIELD_UNIVERSAL_IDENTIFIER =
+ '20202020-e322-4bde-a525-727079b4a100';
+
+const MESSAGE_CHANNEL_CONNECTED_ACCOUNT_FIELD_UNIVERSAL_IDENTIFIER =
+ '20202020-49a2-44a4-b470-282c0440d15d';
+
+const CALENDAR_CHANNEL_CONNECTED_ACCOUNT_FIELD_UNIVERSAL_IDENTIFIER =
+ '20202020-95b1-4f44-82dc-61b042ae2414';
+
+@RegisteredWorkspaceCommand('2.7.0', 1798000040000)
+@Command({
+ name: 'upgrade:2-7:drop-connected-account-standard-object',
+ description:
+ 'Drop the connectedAccount standard object from workspace schemas (moved to core metadata)',
+})
+export class DropConnectedAccountStandardObjectCommand 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 connectedAccount standard object removal for workspace ${workspaceId}`,
+ );
+
+ const { flatObjectMetadataMaps, flatFieldMetadataMaps } =
+ await this.workspaceCacheService.getOrRecompute(workspaceId, [
+ 'flatObjectMetadataMaps',
+ 'flatFieldMetadataMaps',
+ ]);
+
+ const connectedAccountObjectMetadata =
+ findFlatEntityByUniversalIdentifier<FlatObjectMetadata>({
+ flatEntityMaps: flatObjectMetadataMaps,
+ universalIdentifier: CONNECTED_ACCOUNT_OBJECT_UNIVERSAL_IDENTIFIER,
+ });
+
+ const relationFieldsToDelete = [
+ WORKSPACE_MEMBER_CONNECTED_ACCOUNTS_FIELD_UNIVERSAL_IDENTIFIER,
+ MESSAGE_CHANNEL_CONNECTED_ACCOUNT_FIELD_UNIVERSAL_IDENTIFIER,
+ CALENDAR_CHANNEL_CONNECTED_ACCOUNT_FIELD_UNIVERSAL_IDENTIFIER,
+ ]
+ .map((universalIdentifier) =>
+ findFlatEntityByUniversalIdentifier<FlatFieldMetadata>({
+ flatEntityMaps: flatFieldMetadataMaps,
+ universalIdentifier,
+ }),
+ )
+ .filter((field): field is FlatFieldMetadata => field !== undefined);
+
+ if (
+ !connectedAccountObjectMetadata &&
+ relationFieldsToDelete.length === 0
+ ) {
+ this.logger.log(
+ `connectedAccount standard object already absent for workspace ${workspaceId}`,
+ );
+
+ return;
+ }
+
+ if (isDryRun) {
+ this.logger.log(
+ `[DRY RUN] Would delete connectedAccount standard object and ${relationFieldsToDelete.length} relation fields for workspace ${workspaceId}`,
+ );
+
+ return;
+ }
+
+ const { twentyStandardFlatApplication } =
+ await this.applicationService.findWorkspaceTwentyStandardAndCustomApplicationOrThrow(
+ { workspaceId },
+ );
+
+ const validateAndBuildResult =
+ await this.workspaceMigrationValidateBuildAndRunService.validateBuildAndRunWorkspaceMigration(
+ {
+ allFlatEntityOperationByMetadataName: {
+ ...(connectedAccountObjectMetadata
+ ? {
+ objectMetadata: {
+ flatEntityToCreate: [],
+ flatEntityToDelete: [connectedAccountObjectMetadata],
+ flatEntityToUpdate: [],
+ },
+ }
+ : {}),
+ ...(relationFieldsToDelete.length > 0
+ ? {
+ fieldMetadata: {
+ flatEntityToCreate: [],
+ flatEntityToDelete: relationFieldsToDelete,
+ flatEntityToUpdate: [],
+ },
+ }
+ : {}),
+ },
+ workspaceId,
+ applicationUniversalIdentifier:
+ twentyStandardFlatApplication.universalIdentifier,
+ },
+ );
+
+ if (validateAndBuildResult.status === 'fail') {
+ this.logger.error(
+ `Failed to delete connectedAccount standard object:\n${JSON.stringify(validateAndBuildResult, null, 2)}`,
+ );
+
+ throw new Error(
+ `Failed to delete connectedAccount standard object for workspace ${workspaceId}`,
+ );
+ }
+
+ this.logger.log(
+ `Deleted connectedAccount standard object and relation fields for workspace ${workspaceId}`,
+ );
+ }
+}
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.ts
index c0df03b973d..0d707430be0 100644
--- 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.ts
@@ -1,9 +1,7 @@
import { CalendarChannelVisibility } from 'twenty-shared/types';
-import { CONNECTED_ACCOUNT_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/data/constants/connected-account-data-seeds.constant';
type CalendarChannelDataSeed = {
id: string;
- connectedAccountId: string;
handle: string;
visibility: CalendarChannelVisibility;
isContactAutoCreationEnabled: boolean;
@@ -13,7 +11,6 @@ type CalendarChannelDataSeed = {
export const CALENDAR_CHANNEL_DATA_SEED_COLUMNS: (keyof CalendarChannelDataSeed)[] =
[
'id',
- 'connectedAccountId',
'handle',
'visibility',
'isContactAutoCreationEnabled',
@@ -38,7 +35,6 @@ 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,
- connectedAccountId: CONNECTED_ACCOUNT_DATA_SEED_IDS.TIM,
handle: '[email protected]',
visibility: CalendarChannelVisibility.METADATA,
isContactAutoCreationEnabled: true,
@@ -46,7 +42,6 @@ export const CALENDAR_CHANNEL_DATA_SEEDS: CalendarChannelDataSeed[] = [
},
{
id: CALENDAR_CHANNEL_DATA_SEED_IDS.JONY,
- connectedAccountId: CONNECTED_ACCOUNT_DATA_SEED_IDS.JONY,
handle: '[email protected]',
visibility: CalendarChannelVisibility.SHARE_EVERYTHING,
isContactAutoCreationEnabled: true,
@@ -54,7 +49,6 @@ export const CALENDAR_CHANNEL_DATA_SEEDS: CalendarChannelDataSeed[] = [
},
{
id: CALENDAR_CHANNEL_DATA_SEED_IDS.PHIL,
- connectedAccountId: CONNECTED_ACCOUNT_DATA_SEED_IDS.PHIL,
handle: '[email protected]',
visibility: CalendarChannelVisibility.METADATA,
isContactAutoCreationEnabled: true,
@@ -62,7 +56,6 @@ export const CALENDAR_CHANNEL_DATA_SEEDS: CalendarChannelDataSeed[] = [
},
{
id: CALENDAR_CHANNEL_DATA_SEED_IDS.JANE,
- connectedAccountId: CONNECTED_ACCOUNT_DATA_SEED_IDS.JANE,
handle: '[email protected]',
visibility: CalendarChannelVisibility.SHARE_EVERYTHING,
isContactAutoCreationEnabled: true,
@@ -70,7 +63,6 @@ export const CALENDAR_CHANNEL_DATA_SEEDS: CalendarChannelDataSeed[] = [
},
{
id: CALENDAR_CHANNEL_DATA_SEED_IDS.COMPANY_MAIN,
- connectedAccountId: CONNECTED_ACCOUNT_DATA_SEED_IDS.TIM,
handle: '[email protected]',
visibility: CalendarChannelVisibility.SHARE_EVERYTHING,
isContactAutoCreationEnabled: true,
@@ -78,7 +70,6 @@ export const CALENDAR_CHANNEL_DATA_SEEDS: CalendarChannelDataSeed[] = [
},
{
id: CALENDAR_CHANNEL_DATA_SEED_IDS.TEAM_CALENDAR,
- connectedAccountId: CONNECTED_ACCOUNT_DATA_SEED_IDS.TIM,
handle: '[email protected]',
visibility: CalendarChannelVisibility.SHARE_EVERYTHING,
isContactAutoCreationEnabled: true,
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.ts
index f7cdcd66977..f4e14f1337e 100644
--- 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.ts
@@ -3,7 +3,6 @@ import {
MessageChannelType,
MessageChannelVisibility,
} from 'twenty-shared/types';
-import { CONNECTED_ACCOUNT_DATA_SEED_IDS } from 'src/engine/workspace-manager/dev-seeder/data/constants/connected-account-data-seeds.constant';
type MessageChannelDataSeed = {
id: string;
@@ -12,7 +11,6 @@ type MessageChannelDataSeed = {
deletedAt: Date | null;
isContactAutoCreationEnabled: boolean;
type: MessageChannelType;
- connectedAccountId: string;
handle: string;
isSyncEnabled: boolean;
visibility: MessageChannelVisibility;
@@ -27,7 +25,6 @@ export const MESSAGE_CHANNEL_DATA_SEED_COLUMNS: (keyof MessageChannelDataSeed)[]
'deletedAt',
'isContactAutoCreationEnabled',
'type',
- 'connectedAccountId',
'handle',
'isSyncEnabled',
'visibility',
@@ -57,7 +54,6 @@ export const MESSAGE_CHANNEL_DATA_SEEDS: MessageChannelDataSeed[] = [
deletedAt: null,
isContactAutoCreationEnabled: true,
type: MessageChannelType.EMAIL,
- connectedAccountId: CONNECTED_ACCOUNT_DATA_SEED_IDS.TIM,
handle: '[email protected]',
isSyncEnabled: false,
visibility: MessageChannelVisibility.SHARE_EVERYTHING,
@@ -70,7 +66,6 @@ export const MESSAGE_CHANNEL_DATA_SEEDS: MessageChannelDataSeed[] = [
deletedAt: null,
isContactAutoCreationEnabled: true,
type: MessageChannelType.EMAIL,
- connectedAccountId: CONNECTED_ACCOUNT_DATA_SEED_IDS.JONY,
handle: '[email protected]',
isSyncEnabled: false,
visibility: MessageChannelVisibility.SHARE_EVERYTHING,
@@ -83,7 +78,6 @@ export const MESSAGE_CHANNEL_DATA_SEEDS: MessageChannelDataSeed[] = [
deletedAt: null,
isContactAutoCreationEnabled: true,
type: MessageChannelType.EMAIL,
- connectedAccountId: CONNECTED_ACCOUNT_DATA_SEED_IDS.PHIL,
handle: '[email protected]',
isSyncEnabled: false,
visibility: MessageChannelVisibility.SHARE_EVERYTHING,
@@ -96,7 +90,6 @@ export const MESSAGE_CHANNEL_DATA_SEEDS: MessageChannelDataSeed[] = [
deletedAt: null,
isContactAutoCreationEnabled: true,
type: MessageChannelType.EMAIL,
- connectedAccountId: CONNECTED_ACCOUNT_DATA_SEED_IDS.JANE,
handle: '[email protected]',
isSyncEnabled: false,
visibility: MessageChannelVisibility.SHARE_EVERYTHING,
@@ -109,7 +102,6 @@ export const MESSAGE_CHANNEL_DATA_SEEDS: MessageChannelDataSeed[] = [
deletedAt: null,
isContactAutoCreationEnabled: true,
type: MessageChannelType.EMAIL,
- connectedAccountId: CONNECTED_ACCOUNT_DATA_SEED_IDS.TIM, // Use TIM's connected account for shared inbox
handle: '[email protected]',
isSyncEnabled: false,
visibility: MessageChannelVisibility.SHARE_EVERYTHING,
@@ -122,7 +114,6 @@ export const MESSAGE_CHANNEL_DATA_SEEDS: MessageChannelDataSeed[] = [
deletedAt: null,
isContactAutoCreationEnabled: true,
type: MessageChannelType.EMAIL,
- connectedAccountId: CONNECTED_ACCOUNT_DATA_SEED_IDS.TIM, // Use TIM's connected account for shared inbox
handle: '[email protected]',
isSyncEnabled: false,
visibility: MessageChannelVisibility.SHARE_EVERYTHING,
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.ts
index 7a26cb80f36..cd6322cff73 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
@@ -37,10 +37,6 @@ import {
COMPANY_DATA_SEED_COLUMNS,
COMPANY_DATA_SEEDS,
} from 'src/engine/workspace-manager/dev-seeder/data/constants/company-data-seeds.constant';
-import {
- CONNECTED_ACCOUNT_DATA_SEED_COLUMNS,
- CONNECTED_ACCOUNT_DATA_SEEDS,
-} from 'src/engine/workspace-manager/dev-seeder/data/constants/connected-account-data-seeds.constant';
import {
DASHBOARD_DATA_SEED_COLUMNS,
getDashboardDataSeeds,
@@ -163,14 +159,9 @@ const getRecordSeedsBatches = (
pgColumns: DASHBOARD_DATA_SEED_COLUMNS,
recordSeeds: getDashboardDataSeeds(workspaceId),
},
- {
- tableName: 'connectedAccount',
- pgColumns: CONNECTED_ACCOUNT_DATA_SEED_COLUMNS,
- recordSeeds: CONNECTED_ACCOUNT_DATA_SEEDS,
- },
];
- // Batch 3: Depends on company, connectedAccount
+ // Batch 3: Depends on company
const batch3: RecordSeedConfig[] = [
{
tableName: 'person',
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/standard-page-layout.constant.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/standard-page-layout.constant.ts
index c25d774aecc..4d37e5616e2 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
@@ -4,7 +4,6 @@ import {
STANDARD_CALENDAR_CHANNEL_PAGE_LAYOUT_CONFIG,
STANDARD_CALENDAR_EVENT_PARTICIPANT_PAGE_LAYOUT_CONFIG,
STANDARD_COMPANY_PAGE_LAYOUT_CONFIG,
- STANDARD_CONNECTED_ACCOUNT_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,
@@ -32,7 +31,6 @@ export const STANDARD_PAGE_LAYOUTS = {
calendarEventParticipantRecordPage:
STANDARD_CALENDAR_EVENT_PARTICIPANT_PAGE_LAYOUT_CONFIG,
companyRecordPage: STANDARD_COMPANY_PAGE_LAYOUT_CONFIG,
- connectedAccountRecordPage: STANDARD_CONNECTED_ACCOUNT_PAGE_LAYOUT_CONFIG,
messageChannelRecordPage: STANDARD_MESSAGE_CHANNEL_PAGE_LAYOUT_CONFIG,
messageChannelMessageAssociationRecordPage:
STANDARD_MESSAGE_CHANNEL_MESSAGE_ASSOCIATION_PAGE_LAYOUT_CONFIG,
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-object-metadata-related-entity-ids.util.spec.ts.snap b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-object-metadata-related-entity-ids.util.spec.ts.snap
index f7b122e58cf..cb2f8b2bd61 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
@@ -1,4 +1,4 @@
-// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
+// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`getStandardObjectMetadataRelatedEntityIds should return standard object metadata related entity ids 1`] = `
{
@@ -184,122 +184,113 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
},
"calendarChannel": {
"fields": {
- "connectedAccount": {
- "id": "00000000-0000-0000-0000-000000000084",
- },
"contactAutoCreationPolicy": {
- "id": "00000000-0000-0000-0000-000000000088",
+ "id": "00000000-0000-0000-0000-000000000087",
},
"createdAt": {
"id": "00000000-0000-0000-0000-000000000081",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000096",
+ "id": "00000000-0000-0000-0000-000000000095",
},
"deletedAt": {
"id": "00000000-0000-0000-0000-000000000083",
},
"handle": {
- "id": "00000000-0000-0000-0000-000000000085",
+ "id": "00000000-0000-0000-0000-000000000084",
},
"id": {
"id": "00000000-0000-0000-0000-000000000080",
},
"isContactAutoCreationEnabled": {
- "id": "00000000-0000-0000-0000-000000000087",
+ "id": "00000000-0000-0000-0000-000000000086",
},
"isSyncEnabled": {
- "id": "00000000-0000-0000-0000-000000000089",
+ "id": "00000000-0000-0000-0000-000000000088",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000098",
+ "id": "00000000-0000-0000-0000-000000000097",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000099",
+ "id": "00000000-0000-0000-0000-000000000098",
},
"syncCursor": {
- "id": "00000000-0000-0000-0000-000000000090",
+ "id": "00000000-0000-0000-0000-000000000089",
},
"syncStage": {
- "id": "00000000-0000-0000-0000-000000000093",
+ "id": "00000000-0000-0000-0000-000000000092",
},
"syncStageStartedAt": {
- "id": "00000000-0000-0000-0000-000000000094",
+ "id": "00000000-0000-0000-0000-000000000093",
},
"syncStatus": {
- "id": "00000000-0000-0000-0000-000000000092",
+ "id": "00000000-0000-0000-0000-000000000091",
},
"syncedAt": {
- "id": "00000000-0000-0000-0000-000000000095",
+ "id": "00000000-0000-0000-0000-000000000094",
},
"throttleFailureCount": {
- "id": "00000000-0000-0000-0000-000000000091",
+ "id": "00000000-0000-0000-0000-000000000090",
},
"updatedAt": {
"id": "00000000-0000-0000-0000-000000000082",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000097",
+ "id": "00000000-0000-0000-0000-000000000096",
},
"visibility": {
- "id": "00000000-0000-0000-0000-000000000086",
+ "id": "00000000-0000-0000-0000-000000000085",
},
},
- "id": "00000000-0000-0000-0000-000000000116",
+ "id": "00000000-0000-0000-0000-000000000113",
"views": {
"allCalendarChannels": {
- "id": "00000000-0000-0000-0000-000000000106",
+ "id": "00000000-0000-0000-0000-000000000104",
"viewFieldGroups": {},
"viewFields": {
- "connectedAccount": {
- "id": "00000000-0000-0000-0000-000000000101",
- },
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000105",
+ "id": "00000000-0000-0000-0000-000000000103",
},
"handle": {
- "id": "00000000-0000-0000-0000-000000000100",
+ "id": "00000000-0000-0000-0000-000000000099",
},
"isSyncEnabled": {
- "id": "00000000-0000-0000-0000-000000000103",
+ "id": "00000000-0000-0000-0000-000000000101",
},
"syncStatus": {
- "id": "00000000-0000-0000-0000-000000000104",
+ "id": "00000000-0000-0000-0000-000000000102",
},
"visibility": {
- "id": "00000000-0000-0000-0000-000000000102",
+ "id": "00000000-0000-0000-0000-000000000100",
},
},
"viewGroups": {},
},
"calendarChannelRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000115",
+ "id": "00000000-0000-0000-0000-000000000112",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000113",
+ "id": "00000000-0000-0000-0000-000000000110",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000114",
+ "id": "00000000-0000-0000-0000-000000000111",
},
},
"viewFields": {
- "connectedAccount": {
- "id": "00000000-0000-0000-0000-000000000107",
- },
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000111",
+ "id": "00000000-0000-0000-0000-000000000108",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000112",
+ "id": "00000000-0000-0000-0000-000000000109",
},
"isSyncEnabled": {
- "id": "00000000-0000-0000-0000-000000000109",
+ "id": "00000000-0000-0000-0000-000000000106",
},
"syncStatus": {
- "id": "00000000-0000-0000-0000-000000000110",
+ "id": "00000000-0000-0000-0000-000000000107",
},
"visibility": {
- "id": "00000000-0000-0000-0000-000000000108",
+ "id": "00000000-0000-0000-0000-000000000105",
},
},
"viewGroups": {},
@@ -400,101 +391,101 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"calendarEvent": {
"fields": {
"calendarChannelEventAssociations": {
- "id": "00000000-0000-0000-0000-000000000170",
+ "id": "00000000-0000-0000-0000-000000000167",
},
"calendarEventParticipants": {
- "id": "00000000-0000-0000-0000-000000000171",
+ "id": "00000000-0000-0000-0000-000000000168",
},
"conferenceLink": {
- "id": "00000000-0000-0000-0000-000000000169",
+ "id": "00000000-0000-0000-0000-000000000166",
},
"conferenceSolution": {
- "id": "00000000-0000-0000-0000-000000000168",
+ "id": "00000000-0000-0000-0000-000000000165",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000155",
+ "id": "00000000-0000-0000-0000-000000000152",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000172",
+ "id": "00000000-0000-0000-0000-000000000169",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000157",
+ "id": "00000000-0000-0000-0000-000000000154",
},
"description": {
- "id": "00000000-0000-0000-0000-000000000165",
+ "id": "00000000-0000-0000-0000-000000000162",
},
"endsAt": {
- "id": "00000000-0000-0000-0000-000000000162",
+ "id": "00000000-0000-0000-0000-000000000159",
},
"externalCreatedAt": {
- "id": "00000000-0000-0000-0000-000000000163",
+ "id": "00000000-0000-0000-0000-000000000160",
},
"externalUpdatedAt": {
- "id": "00000000-0000-0000-0000-000000000164",
+ "id": "00000000-0000-0000-0000-000000000161",
},
"iCalUid": {
- "id": "00000000-0000-0000-0000-000000000167",
+ "id": "00000000-0000-0000-0000-000000000164",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000154",
+ "id": "00000000-0000-0000-0000-000000000151",
},
"isCanceled": {
- "id": "00000000-0000-0000-0000-000000000159",
+ "id": "00000000-0000-0000-0000-000000000156",
},
"isFullDay": {
- "id": "00000000-0000-0000-0000-000000000160",
+ "id": "00000000-0000-0000-0000-000000000157",
},
"location": {
- "id": "00000000-0000-0000-0000-000000000166",
+ "id": "00000000-0000-0000-0000-000000000163",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000174",
+ "id": "00000000-0000-0000-0000-000000000171",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000175",
+ "id": "00000000-0000-0000-0000-000000000172",
},
"startsAt": {
- "id": "00000000-0000-0000-0000-000000000161",
+ "id": "00000000-0000-0000-0000-000000000158",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000158",
+ "id": "00000000-0000-0000-0000-000000000155",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000156",
+ "id": "00000000-0000-0000-0000-000000000153",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000173",
+ "id": "00000000-0000-0000-0000-000000000170",
},
},
- "id": "00000000-0000-0000-0000-000000000185",
+ "id": "00000000-0000-0000-0000-000000000182",
"views": {
"allCalendarEvents": {
- "id": "00000000-0000-0000-0000-000000000184",
+ "id": "00000000-0000-0000-0000-000000000181",
"viewFieldGroups": {},
"viewFields": {
"conferenceLink": {
- "id": "00000000-0000-0000-0000-000000000181",
+ "id": "00000000-0000-0000-0000-000000000178",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000183",
+ "id": "00000000-0000-0000-0000-000000000180",
},
"endsAt": {
- "id": "00000000-0000-0000-0000-000000000178",
+ "id": "00000000-0000-0000-0000-000000000175",
},
"isCanceled": {
- "id": "00000000-0000-0000-0000-000000000182",
+ "id": "00000000-0000-0000-0000-000000000179",
},
"isFullDay": {
- "id": "00000000-0000-0000-0000-000000000179",
+ "id": "00000000-0000-0000-0000-000000000176",
},
"location": {
- "id": "00000000-0000-0000-0000-000000000180",
+ "id": "00000000-0000-0000-0000-000000000177",
},
"startsAt": {
- "id": "00000000-0000-0000-0000-000000000177",
+ "id": "00000000-0000-0000-0000-000000000174",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000176",
+ "id": "00000000-0000-0000-0000-000000000173",
},
},
"viewGroups": {},
@@ -504,121 +495,121 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"calendarEventParticipant": {
"fields": {
"calendarEvent": {
- "id": "00000000-0000-0000-0000-000000000121",
+ "id": "00000000-0000-0000-0000-000000000118",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000118",
+ "id": "00000000-0000-0000-0000-000000000115",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000128",
+ "id": "00000000-0000-0000-0000-000000000125",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000120",
+ "id": "00000000-0000-0000-0000-000000000117",
},
"displayName": {
- "id": "00000000-0000-0000-0000-000000000123",
+ "id": "00000000-0000-0000-0000-000000000120",
},
"handle": {
- "id": "00000000-0000-0000-0000-000000000122",
+ "id": "00000000-0000-0000-0000-000000000119",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000117",
+ "id": "00000000-0000-0000-0000-000000000114",
},
"isOrganizer": {
- "id": "00000000-0000-0000-0000-000000000124",
+ "id": "00000000-0000-0000-0000-000000000121",
},
"person": {
- "id": "00000000-0000-0000-0000-000000000126",
+ "id": "00000000-0000-0000-0000-000000000123",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000130",
+ "id": "00000000-0000-0000-0000-000000000127",
},
"responseStatus": {
- "id": "00000000-0000-0000-0000-000000000125",
+ "id": "00000000-0000-0000-0000-000000000122",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000131",
+ "id": "00000000-0000-0000-0000-000000000128",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000119",
+ "id": "00000000-0000-0000-0000-000000000116",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000129",
+ "id": "00000000-0000-0000-0000-000000000126",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000127",
+ "id": "00000000-0000-0000-0000-000000000124",
},
},
- "id": "00000000-0000-0000-0000-000000000153",
+ "id": "00000000-0000-0000-0000-000000000150",
"views": {
"allCalendarEventParticipants": {
- "id": "00000000-0000-0000-0000-000000000140",
+ "id": "00000000-0000-0000-0000-000000000137",
"viewFieldGroups": {},
"viewFields": {
"calendarEvent": {
- "id": "00000000-0000-0000-0000-000000000132",
+ "id": "00000000-0000-0000-0000-000000000129",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000139",
+ "id": "00000000-0000-0000-0000-000000000136",
},
"displayName": {
- "id": "00000000-0000-0000-0000-000000000134",
+ "id": "00000000-0000-0000-0000-000000000131",
},
"handle": {
- "id": "00000000-0000-0000-0000-000000000133",
+ "id": "00000000-0000-0000-0000-000000000130",
},
"isOrganizer": {
- "id": "00000000-0000-0000-0000-000000000135",
+ "id": "00000000-0000-0000-0000-000000000132",
},
"person": {
- "id": "00000000-0000-0000-0000-000000000137",
+ "id": "00000000-0000-0000-0000-000000000134",
},
"responseStatus": {
- "id": "00000000-0000-0000-0000-000000000136",
+ "id": "00000000-0000-0000-0000-000000000133",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000138",
+ "id": "00000000-0000-0000-0000-000000000135",
},
},
"viewGroups": {},
},
"calendarEventParticipantRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000152",
+ "id": "00000000-0000-0000-0000-000000000149",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000150",
+ "id": "00000000-0000-0000-0000-000000000147",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000151",
+ "id": "00000000-0000-0000-0000-000000000148",
},
},
"viewFields": {
"calendarEvent": {
- "id": "00000000-0000-0000-0000-000000000141",
+ "id": "00000000-0000-0000-0000-000000000138",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000148",
+ "id": "00000000-0000-0000-0000-000000000145",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000149",
+ "id": "00000000-0000-0000-0000-000000000146",
},
"displayName": {
- "id": "00000000-0000-0000-0000-000000000143",
+ "id": "00000000-0000-0000-0000-000000000140",
},
"handle": {
- "id": "00000000-0000-0000-0000-000000000142",
+ "id": "00000000-0000-0000-0000-000000000139",
},
"isOrganizer": {
- "id": "00000000-0000-0000-0000-000000000144",
+ "id": "00000000-0000-0000-0000-000000000141",
},
"person": {
- "id": "00000000-0000-0000-0000-000000000146",
+ "id": "00000000-0000-0000-0000-000000000143",
},
"responseStatus": {
- "id": "00000000-0000-0000-0000-000000000145",
+ "id": "00000000-0000-0000-0000-000000000142",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000147",
+ "id": "00000000-0000-0000-0000-000000000144",
},
},
"viewGroups": {},
@@ -628,299 +619,178 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"company": {
"fields": {
"accountOwner": {
- "id": "00000000-0000-0000-0000-000000000202",
+ "id": "00000000-0000-0000-0000-000000000199",
},
"address": {
- "id": "00000000-0000-0000-0000-000000000192",
+ "id": "00000000-0000-0000-0000-000000000189",
},
"annualRecurringRevenue": {
- "id": "00000000-0000-0000-0000-000000000196",
+ "id": "00000000-0000-0000-0000-000000000193",
},
"attachments": {
- "id": "00000000-0000-0000-0000-000000000206",
+ "id": "00000000-0000-0000-0000-000000000203",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000187",
+ "id": "00000000-0000-0000-0000-000000000184",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000199",
+ "id": "00000000-0000-0000-0000-000000000196",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000189",
+ "id": "00000000-0000-0000-0000-000000000186",
},
"domainName": {
- "id": "00000000-0000-0000-0000-000000000191",
+ "id": "00000000-0000-0000-0000-000000000188",
},
"employees": {
- "id": "00000000-0000-0000-0000-000000000193",
+ "id": "00000000-0000-0000-0000-000000000190",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000186",
+ "id": "00000000-0000-0000-0000-000000000183",
},
"idealCustomerProfile": {
- "id": "00000000-0000-0000-0000-000000000197",
+ "id": "00000000-0000-0000-0000-000000000194",
},
"linkedinLink": {
- "id": "00000000-0000-0000-0000-000000000194",
+ "id": "00000000-0000-0000-0000-000000000191",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000190",
+ "id": "00000000-0000-0000-0000-000000000187",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000204",
+ "id": "00000000-0000-0000-0000-000000000201",
},
"opportunities": {
- "id": "00000000-0000-0000-0000-000000000205",
+ "id": "00000000-0000-0000-0000-000000000202",
},
"people": {
- "id": "00000000-0000-0000-0000-000000000201",
+ "id": "00000000-0000-0000-0000-000000000198",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000198",
+ "id": "00000000-0000-0000-0000-000000000195",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000208",
+ "id": "00000000-0000-0000-0000-000000000205",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000203",
+ "id": "00000000-0000-0000-0000-000000000200",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000207",
+ "id": "00000000-0000-0000-0000-000000000204",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000188",
+ "id": "00000000-0000-0000-0000-000000000185",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000200",
+ "id": "00000000-0000-0000-0000-000000000197",
},
"xLink": {
- "id": "00000000-0000-0000-0000-000000000195",
+ "id": "00000000-0000-0000-0000-000000000192",
},
},
- "id": "00000000-0000-0000-0000-000000000241",
+ "id": "00000000-0000-0000-0000-000000000238",
"views": {
"allCompanies": {
- "id": "00000000-0000-0000-0000-000000000217",
+ "id": "00000000-0000-0000-0000-000000000214",
"viewFieldGroups": {},
"viewFields": {
"accountOwner": {
- "id": "00000000-0000-0000-0000-000000000212",
+ "id": "00000000-0000-0000-0000-000000000209",
},
"address": {
- "id": "00000000-0000-0000-0000-000000000216",
+ "id": "00000000-0000-0000-0000-000000000213",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000213",
+ "id": "00000000-0000-0000-0000-000000000210",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000211",
+ "id": "00000000-0000-0000-0000-000000000208",
},
"domainName": {
- "id": "00000000-0000-0000-0000-000000000210",
+ "id": "00000000-0000-0000-0000-000000000207",
},
"employees": {
- "id": "00000000-0000-0000-0000-000000000214",
+ "id": "00000000-0000-0000-0000-000000000211",
},
"linkedinLink": {
- "id": "00000000-0000-0000-0000-000000000215",
+ "id": "00000000-0000-0000-0000-000000000212",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000209",
+ "id": "00000000-0000-0000-0000-000000000206",
},
},
"viewGroups": {},
},
"companyRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000240",
+ "id": "00000000-0000-0000-0000-000000000237",
"viewFieldGroups": {
"business": {
- "id": "00000000-0000-0000-0000-000000000237",
+ "id": "00000000-0000-0000-0000-000000000234",
},
"contact": {
- "id": "00000000-0000-0000-0000-000000000238",
+ "id": "00000000-0000-0000-0000-000000000235",
},
"general": {
- "id": "00000000-0000-0000-0000-000000000236",
+ "id": "00000000-0000-0000-0000-000000000233",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000239",
+ "id": "00000000-0000-0000-0000-000000000236",
},
},
"viewFields": {
"accountOwner": {
- "id": "00000000-0000-0000-0000-000000000219",
+ "id": "00000000-0000-0000-0000-000000000216",
},
"address": {
- "id": "00000000-0000-0000-0000-000000000225",
+ "id": "00000000-0000-0000-0000-000000000222",
},
"annualRecurringRevenue": {
- "id": "00000000-0000-0000-0000-000000000220",
+ "id": "00000000-0000-0000-0000-000000000217",
},
"attachments": {
- "id": "00000000-0000-0000-0000-000000000234",
+ "id": "00000000-0000-0000-0000-000000000231",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000226",
+ "id": "00000000-0000-0000-0000-000000000223",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000227",
+ "id": "00000000-0000-0000-0000-000000000224",
},
"domainName": {
- "id": "00000000-0000-0000-0000-000000000218",
+ "id": "00000000-0000-0000-0000-000000000215",
},
"employees": {
- "id": "00000000-0000-0000-0000-000000000222",
+ "id": "00000000-0000-0000-0000-000000000219",
},
"idealCustomerProfile": {
- "id": "00000000-0000-0000-0000-000000000221",
+ "id": "00000000-0000-0000-0000-000000000218",
},
"linkedinLink": {
- "id": "00000000-0000-0000-0000-000000000223",
+ "id": "00000000-0000-0000-0000-000000000220",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000232",
+ "id": "00000000-0000-0000-0000-000000000229",
},
"opportunities": {
- "id": "00000000-0000-0000-0000-000000000233",
+ "id": "00000000-0000-0000-0000-000000000230",
},
"people": {
- "id": "00000000-0000-0000-0000-000000000230",
+ "id": "00000000-0000-0000-0000-000000000227",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000231",
+ "id": "00000000-0000-0000-0000-000000000228",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000235",
+ "id": "00000000-0000-0000-0000-000000000232",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000228",
+ "id": "00000000-0000-0000-0000-000000000225",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000229",
+ "id": "00000000-0000-0000-0000-000000000226",
},
"xLink": {
- "id": "00000000-0000-0000-0000-000000000224",
- },
- },
- "viewGroups": {},
- },
- },
- },
- "connectedAccount": {
- "fields": {
- "accessToken": {
- "id": "00000000-0000-0000-0000-000000000248",
- },
- "accountOwner": {
- "id": "00000000-0000-0000-0000-000000000250",
- },
- "authFailedAt": {
- "id": "00000000-0000-0000-0000-000000000252",
- },
- "calendarChannels": {
- "id": "00000000-0000-0000-0000-000000000255",
- },
- "connectionParameters": {
- "id": "00000000-0000-0000-0000-000000000258",
- },
- "createdAt": {
- "id": "00000000-0000-0000-0000-000000000243",
- },
- "createdBy": {
- "id": "00000000-0000-0000-0000-000000000259",
- },
- "deletedAt": {
- "id": "00000000-0000-0000-0000-000000000245",
- },
- "handle": {
- "id": "00000000-0000-0000-0000-000000000246",
- },
- "handleAliases": {
- "id": "00000000-0000-0000-0000-000000000256",
- },
- "id": {
- "id": "00000000-0000-0000-0000-000000000242",
- },
- "lastCredentialsRefreshedAt": {
- "id": "00000000-0000-0000-0000-000000000253",
- },
- "lastSyncHistoryId": {
- "id": "00000000-0000-0000-0000-000000000251",
- },
- "messageChannels": {
- "id": "00000000-0000-0000-0000-000000000254",
- },
- "position": {
- "id": "00000000-0000-0000-0000-000000000261",
- },
- "provider": {
- "id": "00000000-0000-0000-0000-000000000247",
- },
- "refreshToken": {
- "id": "00000000-0000-0000-0000-000000000249",
- },
- "scopes": {
- "id": "00000000-0000-0000-0000-000000000257",
- },
- "searchVector": {
- "id": "00000000-0000-0000-0000-000000000262",
- },
- "updatedAt": {
- "id": "00000000-0000-0000-0000-000000000244",
- },
- "updatedBy": {
- "id": "00000000-0000-0000-0000-000000000260",
- },
- },
- "id": "00000000-0000-0000-0000-000000000277",
- "views": {
- "allConnectedAccounts": {
- "id": "00000000-0000-0000-0000-000000000268",
- "viewFieldGroups": {},
- "viewFields": {
- "accountOwner": {
- "id": "00000000-0000-0000-0000-000000000265",
- },
- "authFailedAt": {
- "id": "00000000-0000-0000-0000-000000000266",
- },
- "createdAt": {
- "id": "00000000-0000-0000-0000-000000000267",
- },
- "handle": {
- "id": "00000000-0000-0000-0000-000000000263",
- },
- "provider": {
- "id": "00000000-0000-0000-0000-000000000264",
- },
- },
- "viewGroups": {},
- },
- "connectedAccountRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000276",
- "viewFieldGroups": {
- "general": {
- "id": "00000000-0000-0000-0000-000000000274",
- },
- "system": {
- "id": "00000000-0000-0000-0000-000000000275",
- },
- },
- "viewFields": {
- "accountOwner": {
- "id": "00000000-0000-0000-0000-000000000270",
- },
- "authFailedAt": {
- "id": "00000000-0000-0000-0000-000000000271",
- },
- "createdAt": {
- "id": "00000000-0000-0000-0000-000000000272",
- },
- "createdBy": {
- "id": "00000000-0000-0000-0000-000000000273",
- },
- "provider": {
- "id": "00000000-0000-0000-0000-000000000269",
+ "id": "00000000-0000-0000-0000-000000000221",
},
},
"viewGroups": {},
@@ -930,59 +800,59 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"dashboard": {
"fields": {
"attachments": {
- "id": "00000000-0000-0000-0000-000000000288",
+ "id": "00000000-0000-0000-0000-000000000249",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000279",
+ "id": "00000000-0000-0000-0000-000000000240",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000285",
+ "id": "00000000-0000-0000-0000-000000000246",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000281",
+ "id": "00000000-0000-0000-0000-000000000242",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000278",
+ "id": "00000000-0000-0000-0000-000000000239",
},
"pageLayoutId": {
- "id": "00000000-0000-0000-0000-000000000284",
+ "id": "00000000-0000-0000-0000-000000000245",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000283",
+ "id": "00000000-0000-0000-0000-000000000244",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000289",
+ "id": "00000000-0000-0000-0000-000000000250",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000287",
+ "id": "00000000-0000-0000-0000-000000000248",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000282",
+ "id": "00000000-0000-0000-0000-000000000243",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000280",
+ "id": "00000000-0000-0000-0000-000000000241",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000286",
+ "id": "00000000-0000-0000-0000-000000000247",
},
},
- "id": "00000000-0000-0000-0000-000000000295",
+ "id": "00000000-0000-0000-0000-000000000256",
"views": {
"allDashboards": {
- "id": "00000000-0000-0000-0000-000000000294",
+ "id": "00000000-0000-0000-0000-000000000255",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000292",
+ "id": "00000000-0000-0000-0000-000000000253",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000291",
+ "id": "00000000-0000-0000-0000-000000000252",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000290",
+ "id": "00000000-0000-0000-0000-000000000251",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000293",
+ "id": "00000000-0000-0000-0000-000000000254",
},
},
"viewGroups": {},
@@ -992,77 +862,77 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"message": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000476",
+ "id": "00000000-0000-0000-0000-000000000434",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000486",
+ "id": "00000000-0000-0000-0000-000000000444",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000478",
+ "id": "00000000-0000-0000-0000-000000000436",
},
"headerMessageId": {
- "id": "00000000-0000-0000-0000-000000000479",
+ "id": "00000000-0000-0000-0000-000000000437",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000475",
+ "id": "00000000-0000-0000-0000-000000000433",
},
"messageChannelMessageAssociations": {
- "id": "00000000-0000-0000-0000-000000000485",
+ "id": "00000000-0000-0000-0000-000000000443",
},
"messageParticipants": {
- "id": "00000000-0000-0000-0000-000000000484",
+ "id": "00000000-0000-0000-0000-000000000442",
},
"messageThread": {
- "id": "00000000-0000-0000-0000-000000000480",
+ "id": "00000000-0000-0000-0000-000000000438",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000488",
+ "id": "00000000-0000-0000-0000-000000000446",
},
"receivedAt": {
- "id": "00000000-0000-0000-0000-000000000483",
+ "id": "00000000-0000-0000-0000-000000000441",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000489",
+ "id": "00000000-0000-0000-0000-000000000447",
},
"subject": {
- "id": "00000000-0000-0000-0000-000000000481",
+ "id": "00000000-0000-0000-0000-000000000439",
},
"text": {
- "id": "00000000-0000-0000-0000-000000000482",
+ "id": "00000000-0000-0000-0000-000000000440",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000477",
+ "id": "00000000-0000-0000-0000-000000000435",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000487",
+ "id": "00000000-0000-0000-0000-000000000445",
},
},
- "id": "00000000-0000-0000-0000-000000000498",
+ "id": "00000000-0000-0000-0000-000000000456",
"views": {
"allMessages": {
- "id": "00000000-0000-0000-0000-000000000497",
+ "id": "00000000-0000-0000-0000-000000000455",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000496",
+ "id": "00000000-0000-0000-0000-000000000454",
},
"headerMessageId": {
- "id": "00000000-0000-0000-0000-000000000494",
+ "id": "00000000-0000-0000-0000-000000000452",
},
"messageParticipants": {
- "id": "00000000-0000-0000-0000-000000000492",
+ "id": "00000000-0000-0000-0000-000000000450",
},
"messageThread": {
- "id": "00000000-0000-0000-0000-000000000491",
+ "id": "00000000-0000-0000-0000-000000000449",
},
"receivedAt": {
- "id": "00000000-0000-0000-0000-000000000493",
+ "id": "00000000-0000-0000-0000-000000000451",
},
"subject": {
- "id": "00000000-0000-0000-0000-000000000490",
+ "id": "00000000-0000-0000-0000-000000000448",
},
"text": {
- "id": "00000000-0000-0000-0000-000000000495",
+ "id": "00000000-0000-0000-0000-000000000453",
},
},
"viewGroups": {},
@@ -1071,146 +941,137 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
},
"messageChannel": {
"fields": {
- "connectedAccount": {
- "id": "00000000-0000-0000-0000-000000000355",
- },
"contactAutoCreationPolicy": {
- "id": "00000000-0000-0000-0000-000000000358",
+ "id": "00000000-0000-0000-0000-000000000318",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000350",
+ "id": "00000000-0000-0000-0000-000000000311",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000371",
+ "id": "00000000-0000-0000-0000-000000000331",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000352",
+ "id": "00000000-0000-0000-0000-000000000313",
},
"excludeGroupEmails": {
- "id": "00000000-0000-0000-0000-000000000360",
+ "id": "00000000-0000-0000-0000-000000000320",
},
"excludeNonProfessionalEmails": {
- "id": "00000000-0000-0000-0000-000000000359",
+ "id": "00000000-0000-0000-0000-000000000319",
},
"handle": {
- "id": "00000000-0000-0000-0000-000000000354",
+ "id": "00000000-0000-0000-0000-000000000315",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000349",
+ "id": "00000000-0000-0000-0000-000000000310",
},
"isContactAutoCreationEnabled": {
- "id": "00000000-0000-0000-0000-000000000357",
+ "id": "00000000-0000-0000-0000-000000000317",
},
"isSyncEnabled": {
- "id": "00000000-0000-0000-0000-000000000363",
+ "id": "00000000-0000-0000-0000-000000000323",
},
"messageFolderImportPolicy": {
- "id": "00000000-0000-0000-0000-000000000361",
+ "id": "00000000-0000-0000-0000-000000000321",
},
"pendingGroupEmailsAction": {
- "id": "00000000-0000-0000-0000-000000000362",
+ "id": "00000000-0000-0000-0000-000000000322",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000373",
+ "id": "00000000-0000-0000-0000-000000000333",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000374",
+ "id": "00000000-0000-0000-0000-000000000334",
},
"syncCursor": {
- "id": "00000000-0000-0000-0000-000000000364",
+ "id": "00000000-0000-0000-0000-000000000324",
},
"syncStage": {
- "id": "00000000-0000-0000-0000-000000000367",
+ "id": "00000000-0000-0000-0000-000000000327",
},
"syncStageStartedAt": {
- "id": "00000000-0000-0000-0000-000000000368",
+ "id": "00000000-0000-0000-0000-000000000328",
},
"syncStatus": {
- "id": "00000000-0000-0000-0000-000000000366",
+ "id": "00000000-0000-0000-0000-000000000326",
},
"syncedAt": {
- "id": "00000000-0000-0000-0000-000000000365",
+ "id": "00000000-0000-0000-0000-000000000325",
},
"throttleFailureCount": {
- "id": "00000000-0000-0000-0000-000000000369",
+ "id": "00000000-0000-0000-0000-000000000329",
},
"throttleRetryAfter": {
- "id": "00000000-0000-0000-0000-000000000370",
+ "id": "00000000-0000-0000-0000-000000000330",
},
"type": {
- "id": "00000000-0000-0000-0000-000000000356",
+ "id": "00000000-0000-0000-0000-000000000316",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000351",
+ "id": "00000000-0000-0000-0000-000000000312",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000372",
+ "id": "00000000-0000-0000-0000-000000000332",
},
"visibility": {
- "id": "00000000-0000-0000-0000-000000000353",
+ "id": "00000000-0000-0000-0000-000000000314",
},
},
- "id": "00000000-0000-0000-0000-000000000393",
+ "id": "00000000-0000-0000-0000-000000000351",
"views": {
"allMessageChannels": {
- "id": "00000000-0000-0000-0000-000000000382",
+ "id": "00000000-0000-0000-0000-000000000341",
"viewFieldGroups": {},
"viewFields": {
- "connectedAccount": {
- "id": "00000000-0000-0000-0000-000000000376",
- },
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000381",
+ "id": "00000000-0000-0000-0000-000000000340",
},
"handle": {
- "id": "00000000-0000-0000-0000-000000000375",
+ "id": "00000000-0000-0000-0000-000000000335",
},
"isSyncEnabled": {
- "id": "00000000-0000-0000-0000-000000000379",
+ "id": "00000000-0000-0000-0000-000000000338",
},
"syncStatus": {
- "id": "00000000-0000-0000-0000-000000000380",
+ "id": "00000000-0000-0000-0000-000000000339",
},
"type": {
- "id": "00000000-0000-0000-0000-000000000377",
+ "id": "00000000-0000-0000-0000-000000000336",
},
"visibility": {
- "id": "00000000-0000-0000-0000-000000000378",
+ "id": "00000000-0000-0000-0000-000000000337",
},
},
"viewGroups": {},
},
"messageChannelRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000392",
+ "id": "00000000-0000-0000-0000-000000000350",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000390",
+ "id": "00000000-0000-0000-0000-000000000348",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000391",
+ "id": "00000000-0000-0000-0000-000000000349",
},
},
"viewFields": {
- "connectedAccount": {
- "id": "00000000-0000-0000-0000-000000000383",
- },
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000388",
+ "id": "00000000-0000-0000-0000-000000000346",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000389",
+ "id": "00000000-0000-0000-0000-000000000347",
},
"isSyncEnabled": {
- "id": "00000000-0000-0000-0000-000000000386",
+ "id": "00000000-0000-0000-0000-000000000344",
},
"syncStatus": {
- "id": "00000000-0000-0000-0000-000000000387",
+ "id": "00000000-0000-0000-0000-000000000345",
},
"type": {
- "id": "00000000-0000-0000-0000-000000000384",
+ "id": "00000000-0000-0000-0000-000000000342",
},
"visibility": {
- "id": "00000000-0000-0000-0000-000000000385",
+ "id": "00000000-0000-0000-0000-000000000343",
},
},
"viewGroups": {},
@@ -1220,103 +1081,103 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"messageChannelMessageAssociation": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000297",
+ "id": "00000000-0000-0000-0000-000000000258",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000306",
+ "id": "00000000-0000-0000-0000-000000000267",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000299",
+ "id": "00000000-0000-0000-0000-000000000260",
},
"direction": {
- "id": "00000000-0000-0000-0000-000000000305",
+ "id": "00000000-0000-0000-0000-000000000266",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000296",
+ "id": "00000000-0000-0000-0000-000000000257",
},
"message": {
- "id": "00000000-0000-0000-0000-000000000301",
+ "id": "00000000-0000-0000-0000-000000000262",
},
"messageChannelId": {
- "id": "00000000-0000-0000-0000-000000000300",
+ "id": "00000000-0000-0000-0000-000000000261",
},
"messageExternalId": {
- "id": "00000000-0000-0000-0000-000000000302",
+ "id": "00000000-0000-0000-0000-000000000263",
},
"messageFolders": {
- "id": "00000000-0000-0000-0000-000000000310",
+ "id": "00000000-0000-0000-0000-000000000271",
},
"messageThread": {
- "id": "00000000-0000-0000-0000-000000000303",
+ "id": "00000000-0000-0000-0000-000000000264",
},
"messageThreadExternalId": {
- "id": "00000000-0000-0000-0000-000000000304",
+ "id": "00000000-0000-0000-0000-000000000265",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000308",
+ "id": "00000000-0000-0000-0000-000000000269",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000309",
+ "id": "00000000-0000-0000-0000-000000000270",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000298",
+ "id": "00000000-0000-0000-0000-000000000259",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000307",
+ "id": "00000000-0000-0000-0000-000000000268",
},
},
- "id": "00000000-0000-0000-0000-000000000326",
+ "id": "00000000-0000-0000-0000-000000000287",
"views": {
"allMessageChannelMessageAssociations": {
- "id": "00000000-0000-0000-0000-000000000316",
+ "id": "00000000-0000-0000-0000-000000000277",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000315",
+ "id": "00000000-0000-0000-0000-000000000276",
},
"direction": {
- "id": "00000000-0000-0000-0000-000000000314",
+ "id": "00000000-0000-0000-0000-000000000275",
},
"message": {
- "id": "00000000-0000-0000-0000-000000000312",
+ "id": "00000000-0000-0000-0000-000000000273",
},
"messageChannelId": {
- "id": "00000000-0000-0000-0000-000000000311",
+ "id": "00000000-0000-0000-0000-000000000272",
},
"messageExternalId": {
- "id": "00000000-0000-0000-0000-000000000313",
+ "id": "00000000-0000-0000-0000-000000000274",
},
},
"viewGroups": {},
},
"messageChannelMessageAssociationRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000325",
+ "id": "00000000-0000-0000-0000-000000000286",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000323",
+ "id": "00000000-0000-0000-0000-000000000284",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000324",
+ "id": "00000000-0000-0000-0000-000000000285",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000321",
+ "id": "00000000-0000-0000-0000-000000000282",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000322",
+ "id": "00000000-0000-0000-0000-000000000283",
},
"direction": {
- "id": "00000000-0000-0000-0000-000000000320",
+ "id": "00000000-0000-0000-0000-000000000281",
},
"message": {
- "id": "00000000-0000-0000-0000-000000000318",
+ "id": "00000000-0000-0000-0000-000000000279",
},
"messageChannelId": {
- "id": "00000000-0000-0000-0000-000000000317",
+ "id": "00000000-0000-0000-0000-000000000278",
},
"messageExternalId": {
- "id": "00000000-0000-0000-0000-000000000319",
+ "id": "00000000-0000-0000-0000-000000000280",
},
},
"viewGroups": {},
@@ -1326,76 +1187,76 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"messageChannelMessageAssociationMessageFolder": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000328",
+ "id": "00000000-0000-0000-0000-000000000289",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000331",
+ "id": "00000000-0000-0000-0000-000000000292",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000330",
+ "id": "00000000-0000-0000-0000-000000000291",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000327",
+ "id": "00000000-0000-0000-0000-000000000288",
},
"messageChannelMessageAssociation": {
- "id": "00000000-0000-0000-0000-000000000335",
+ "id": "00000000-0000-0000-0000-000000000296",
},
"messageFolderId": {
- "id": "00000000-0000-0000-0000-000000000336",
+ "id": "00000000-0000-0000-0000-000000000297",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000333",
+ "id": "00000000-0000-0000-0000-000000000294",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000334",
+ "id": "00000000-0000-0000-0000-000000000295",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000329",
+ "id": "00000000-0000-0000-0000-000000000290",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000332",
+ "id": "00000000-0000-0000-0000-000000000293",
},
},
- "id": "00000000-0000-0000-0000-000000000348",
+ "id": "00000000-0000-0000-0000-000000000309",
"views": {
"allMessageChannelMessageAssociationMessageFolders": {
- "id": "00000000-0000-0000-0000-000000000340",
+ "id": "00000000-0000-0000-0000-000000000301",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000339",
+ "id": "00000000-0000-0000-0000-000000000300",
},
"messageChannelMessageAssociation": {
- "id": "00000000-0000-0000-0000-000000000337",
+ "id": "00000000-0000-0000-0000-000000000298",
},
"messageFolderId": {
- "id": "00000000-0000-0000-0000-000000000338",
+ "id": "00000000-0000-0000-0000-000000000299",
},
},
"viewGroups": {},
},
"messageChannelMessageAssociationMessageFolderRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000347",
+ "id": "00000000-0000-0000-0000-000000000308",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000345",
+ "id": "00000000-0000-0000-0000-000000000306",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000346",
+ "id": "00000000-0000-0000-0000-000000000307",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000343",
+ "id": "00000000-0000-0000-0000-000000000304",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000344",
+ "id": "00000000-0000-0000-0000-000000000305",
},
"messageChannelMessageAssociation": {
- "id": "00000000-0000-0000-0000-000000000341",
+ "id": "00000000-0000-0000-0000-000000000302",
},
"messageFolderId": {
- "id": "00000000-0000-0000-0000-000000000342",
+ "id": "00000000-0000-0000-0000-000000000303",
},
},
"viewGroups": {},
@@ -1405,103 +1266,103 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"messageFolder": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000395",
+ "id": "00000000-0000-0000-0000-000000000353",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000406",
+ "id": "00000000-0000-0000-0000-000000000364",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000397",
+ "id": "00000000-0000-0000-0000-000000000355",
},
"externalId": {
- "id": "00000000-0000-0000-0000-000000000404",
+ "id": "00000000-0000-0000-0000-000000000362",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000394",
+ "id": "00000000-0000-0000-0000-000000000352",
},
"isSentFolder": {
- "id": "00000000-0000-0000-0000-000000000402",
+ "id": "00000000-0000-0000-0000-000000000360",
},
"isSynced": {
- "id": "00000000-0000-0000-0000-000000000403",
+ "id": "00000000-0000-0000-0000-000000000361",
},
"messageChannelId": {
- "id": "00000000-0000-0000-0000-000000000400",
+ "id": "00000000-0000-0000-0000-000000000358",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000398",
+ "id": "00000000-0000-0000-0000-000000000356",
},
"parentFolderId": {
- "id": "00000000-0000-0000-0000-000000000399",
+ "id": "00000000-0000-0000-0000-000000000357",
},
"pendingSyncAction": {
- "id": "00000000-0000-0000-0000-000000000405",
+ "id": "00000000-0000-0000-0000-000000000363",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000408",
+ "id": "00000000-0000-0000-0000-000000000366",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000409",
+ "id": "00000000-0000-0000-0000-000000000367",
},
"syncCursor": {
- "id": "00000000-0000-0000-0000-000000000401",
+ "id": "00000000-0000-0000-0000-000000000359",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000396",
+ "id": "00000000-0000-0000-0000-000000000354",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000407",
+ "id": "00000000-0000-0000-0000-000000000365",
},
},
- "id": "00000000-0000-0000-0000-000000000424",
+ "id": "00000000-0000-0000-0000-000000000382",
"views": {
"allMessageFolders": {
- "id": "00000000-0000-0000-0000-000000000415",
+ "id": "00000000-0000-0000-0000-000000000373",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000414",
+ "id": "00000000-0000-0000-0000-000000000372",
},
"isSentFolder": {
- "id": "00000000-0000-0000-0000-000000000412",
+ "id": "00000000-0000-0000-0000-000000000370",
},
"isSynced": {
- "id": "00000000-0000-0000-0000-000000000413",
+ "id": "00000000-0000-0000-0000-000000000371",
},
"messageChannelId": {
- "id": "00000000-0000-0000-0000-000000000411",
+ "id": "00000000-0000-0000-0000-000000000369",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000410",
+ "id": "00000000-0000-0000-0000-000000000368",
},
},
"viewGroups": {},
},
"messageFolderRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000423",
+ "id": "00000000-0000-0000-0000-000000000381",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000421",
+ "id": "00000000-0000-0000-0000-000000000379",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000422",
+ "id": "00000000-0000-0000-0000-000000000380",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000419",
+ "id": "00000000-0000-0000-0000-000000000377",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000420",
+ "id": "00000000-0000-0000-0000-000000000378",
},
"isSentFolder": {
- "id": "00000000-0000-0000-0000-000000000417",
+ "id": "00000000-0000-0000-0000-000000000375",
},
"isSynced": {
- "id": "00000000-0000-0000-0000-000000000418",
+ "id": "00000000-0000-0000-0000-000000000376",
},
"messageChannelId": {
- "id": "00000000-0000-0000-0000-000000000416",
+ "id": "00000000-0000-0000-0000-000000000374",
},
},
"viewGroups": {},
@@ -1511,109 +1372,109 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"messageParticipant": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000426",
+ "id": "00000000-0000-0000-0000-000000000384",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000435",
+ "id": "00000000-0000-0000-0000-000000000393",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000428",
+ "id": "00000000-0000-0000-0000-000000000386",
},
"displayName": {
- "id": "00000000-0000-0000-0000-000000000432",
+ "id": "00000000-0000-0000-0000-000000000390",
},
"handle": {
- "id": "00000000-0000-0000-0000-000000000431",
+ "id": "00000000-0000-0000-0000-000000000389",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000425",
+ "id": "00000000-0000-0000-0000-000000000383",
},
"message": {
- "id": "00000000-0000-0000-0000-000000000429",
+ "id": "00000000-0000-0000-0000-000000000387",
},
"person": {
- "id": "00000000-0000-0000-0000-000000000433",
+ "id": "00000000-0000-0000-0000-000000000391",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000437",
+ "id": "00000000-0000-0000-0000-000000000395",
},
"role": {
- "id": "00000000-0000-0000-0000-000000000430",
+ "id": "00000000-0000-0000-0000-000000000388",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000438",
+ "id": "00000000-0000-0000-0000-000000000396",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000427",
+ "id": "00000000-0000-0000-0000-000000000385",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000436",
+ "id": "00000000-0000-0000-0000-000000000394",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000434",
+ "id": "00000000-0000-0000-0000-000000000392",
},
},
- "id": "00000000-0000-0000-0000-000000000457",
+ "id": "00000000-0000-0000-0000-000000000415",
"views": {
"allMessageParticipants": {
- "id": "00000000-0000-0000-0000-000000000446",
+ "id": "00000000-0000-0000-0000-000000000404",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000445",
+ "id": "00000000-0000-0000-0000-000000000403",
},
"displayName": {
- "id": "00000000-0000-0000-0000-000000000442",
+ "id": "00000000-0000-0000-0000-000000000400",
},
"handle": {
- "id": "00000000-0000-0000-0000-000000000441",
+ "id": "00000000-0000-0000-0000-000000000399",
},
"message": {
- "id": "00000000-0000-0000-0000-000000000439",
+ "id": "00000000-0000-0000-0000-000000000397",
},
"person": {
- "id": "00000000-0000-0000-0000-000000000443",
+ "id": "00000000-0000-0000-0000-000000000401",
},
"role": {
- "id": "00000000-0000-0000-0000-000000000440",
+ "id": "00000000-0000-0000-0000-000000000398",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000444",
+ "id": "00000000-0000-0000-0000-000000000402",
},
},
"viewGroups": {},
},
"messageParticipantRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000456",
+ "id": "00000000-0000-0000-0000-000000000414",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000454",
+ "id": "00000000-0000-0000-0000-000000000412",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000455",
+ "id": "00000000-0000-0000-0000-000000000413",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000452",
+ "id": "00000000-0000-0000-0000-000000000410",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000453",
+ "id": "00000000-0000-0000-0000-000000000411",
},
"displayName": {
- "id": "00000000-0000-0000-0000-000000000449",
+ "id": "00000000-0000-0000-0000-000000000407",
},
"message": {
- "id": "00000000-0000-0000-0000-000000000447",
+ "id": "00000000-0000-0000-0000-000000000405",
},
"person": {
- "id": "00000000-0000-0000-0000-000000000450",
+ "id": "00000000-0000-0000-0000-000000000408",
},
"role": {
- "id": "00000000-0000-0000-0000-000000000448",
+ "id": "00000000-0000-0000-0000-000000000406",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000451",
+ "id": "00000000-0000-0000-0000-000000000409",
},
},
"viewGroups": {},
@@ -1623,56 +1484,56 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"messageThread": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000459",
+ "id": "00000000-0000-0000-0000-000000000417",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000464",
+ "id": "00000000-0000-0000-0000-000000000422",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000461",
+ "id": "00000000-0000-0000-0000-000000000419",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000458",
+ "id": "00000000-0000-0000-0000-000000000416",
},
"messageChannelMessageAssociations": {
- "id": "00000000-0000-0000-0000-000000000463",
+ "id": "00000000-0000-0000-0000-000000000421",
},
"messages": {
- "id": "00000000-0000-0000-0000-000000000462",
+ "id": "00000000-0000-0000-0000-000000000420",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000466",
+ "id": "00000000-0000-0000-0000-000000000424",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000467",
+ "id": "00000000-0000-0000-0000-000000000425",
},
"subject": {
- "id": "00000000-0000-0000-0000-000000000468",
+ "id": "00000000-0000-0000-0000-000000000426",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000460",
+ "id": "00000000-0000-0000-0000-000000000418",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000465",
+ "id": "00000000-0000-0000-0000-000000000423",
},
},
- "id": "00000000-0000-0000-0000-000000000474",
+ "id": "00000000-0000-0000-0000-000000000432",
"views": {
"allMessageThreads": {
- "id": "00000000-0000-0000-0000-000000000473",
+ "id": "00000000-0000-0000-0000-000000000431",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000472",
+ "id": "00000000-0000-0000-0000-000000000430",
},
"messages": {
- "id": "00000000-0000-0000-0000-000000000470",
+ "id": "00000000-0000-0000-0000-000000000428",
},
"subject": {
- "id": "00000000-0000-0000-0000-000000000469",
+ "id": "00000000-0000-0000-0000-000000000427",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000471",
+ "id": "00000000-0000-0000-0000-000000000429",
},
},
"viewGroups": {},
@@ -1682,103 +1543,103 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"note": {
"fields": {
"attachments": {
- "id": "00000000-0000-0000-0000-000000000509",
+ "id": "00000000-0000-0000-0000-000000000467",
},
"bodyV2": {
- "id": "00000000-0000-0000-0000-000000000505",
+ "id": "00000000-0000-0000-0000-000000000463",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000500",
+ "id": "00000000-0000-0000-0000-000000000458",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000506",
+ "id": "00000000-0000-0000-0000-000000000464",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000502",
+ "id": "00000000-0000-0000-0000-000000000460",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000499",
+ "id": "00000000-0000-0000-0000-000000000457",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000508",
+ "id": "00000000-0000-0000-0000-000000000466",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000503",
+ "id": "00000000-0000-0000-0000-000000000461",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000511",
+ "id": "00000000-0000-0000-0000-000000000469",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000510",
+ "id": "00000000-0000-0000-0000-000000000468",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000504",
+ "id": "00000000-0000-0000-0000-000000000462",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000501",
+ "id": "00000000-0000-0000-0000-000000000459",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000507",
+ "id": "00000000-0000-0000-0000-000000000465",
},
},
- "id": "00000000-0000-0000-0000-000000000529",
+ "id": "00000000-0000-0000-0000-000000000487",
"views": {
"allNotes": {
- "id": "00000000-0000-0000-0000-000000000517",
+ "id": "00000000-0000-0000-0000-000000000475",
"viewFieldGroups": {},
"viewFields": {
"bodyV2": {
- "id": "00000000-0000-0000-0000-000000000514",
+ "id": "00000000-0000-0000-0000-000000000472",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000516",
+ "id": "00000000-0000-0000-0000-000000000474",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000515",
+ "id": "00000000-0000-0000-0000-000000000473",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000513",
+ "id": "00000000-0000-0000-0000-000000000471",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000512",
+ "id": "00000000-0000-0000-0000-000000000470",
},
},
"viewGroups": {},
},
"noteRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000528",
+ "id": "00000000-0000-0000-0000-000000000486",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000526",
+ "id": "00000000-0000-0000-0000-000000000484",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000527",
+ "id": "00000000-0000-0000-0000-000000000485",
},
},
"viewFields": {
"attachments": {
- "id": "00000000-0000-0000-0000-000000000524",
+ "id": "00000000-0000-0000-0000-000000000482",
},
"bodyV2": {
- "id": "00000000-0000-0000-0000-000000000521",
+ "id": "00000000-0000-0000-0000-000000000479",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000518",
+ "id": "00000000-0000-0000-0000-000000000476",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000519",
+ "id": "00000000-0000-0000-0000-000000000477",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000520",
+ "id": "00000000-0000-0000-0000-000000000478",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000525",
+ "id": "00000000-0000-0000-0000-000000000483",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000522",
+ "id": "00000000-0000-0000-0000-000000000480",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000523",
+ "id": "00000000-0000-0000-0000-000000000481",
},
},
"viewGroups": {},
@@ -1788,62 +1649,62 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"noteTarget": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000531",
+ "id": "00000000-0000-0000-0000-000000000489",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000538",
+ "id": "00000000-0000-0000-0000-000000000496",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000533",
+ "id": "00000000-0000-0000-0000-000000000491",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000530",
+ "id": "00000000-0000-0000-0000-000000000488",
},
"note": {
- "id": "00000000-0000-0000-0000-000000000534",
+ "id": "00000000-0000-0000-0000-000000000492",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000540",
+ "id": "00000000-0000-0000-0000-000000000498",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000541",
+ "id": "00000000-0000-0000-0000-000000000499",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000536",
+ "id": "00000000-0000-0000-0000-000000000494",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000537",
+ "id": "00000000-0000-0000-0000-000000000495",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000535",
+ "id": "00000000-0000-0000-0000-000000000493",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000532",
+ "id": "00000000-0000-0000-0000-000000000490",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000539",
+ "id": "00000000-0000-0000-0000-000000000497",
},
},
- "id": "00000000-0000-0000-0000-000000000548",
+ "id": "00000000-0000-0000-0000-000000000506",
"views": {
"allNoteTargets": {
- "id": "00000000-0000-0000-0000-000000000547",
+ "id": "00000000-0000-0000-0000-000000000505",
"viewFieldGroups": {},
"viewFields": {
"id": {
- "id": "00000000-0000-0000-0000-000000000542",
+ "id": "00000000-0000-0000-0000-000000000500",
},
"note": {
- "id": "00000000-0000-0000-0000-000000000543",
+ "id": "00000000-0000-0000-0000-000000000501",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000545",
+ "id": "00000000-0000-0000-0000-000000000503",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000546",
+ "id": "00000000-0000-0000-0000-000000000504",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000544",
+ "id": "00000000-0000-0000-0000-000000000502",
},
},
"viewGroups": {},
@@ -1853,186 +1714,186 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"opportunity": {
"fields": {
"amount": {
- "id": "00000000-0000-0000-0000-000000000554",
+ "id": "00000000-0000-0000-0000-000000000512",
},
"attachments": {
- "id": "00000000-0000-0000-0000-000000000565",
+ "id": "00000000-0000-0000-0000-000000000523",
},
"closeDate": {
- "id": "00000000-0000-0000-0000-000000000555",
+ "id": "00000000-0000-0000-0000-000000000513",
},
"company": {
- "id": "00000000-0000-0000-0000-000000000561",
+ "id": "00000000-0000-0000-0000-000000000519",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000550",
+ "id": "00000000-0000-0000-0000-000000000508",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000558",
+ "id": "00000000-0000-0000-0000-000000000516",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000552",
+ "id": "00000000-0000-0000-0000-000000000510",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000549",
+ "id": "00000000-0000-0000-0000-000000000507",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000553",
+ "id": "00000000-0000-0000-0000-000000000511",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000564",
+ "id": "00000000-0000-0000-0000-000000000522",
},
"owner": {
- "id": "00000000-0000-0000-0000-000000000562",
+ "id": "00000000-0000-0000-0000-000000000520",
},
"pointOfContact": {
- "id": "00000000-0000-0000-0000-000000000560",
+ "id": "00000000-0000-0000-0000-000000000518",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000557",
+ "id": "00000000-0000-0000-0000-000000000515",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000567",
+ "id": "00000000-0000-0000-0000-000000000525",
},
"stage": {
- "id": "00000000-0000-0000-0000-000000000556",
+ "id": "00000000-0000-0000-0000-000000000514",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000563",
+ "id": "00000000-0000-0000-0000-000000000521",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000566",
+ "id": "00000000-0000-0000-0000-000000000524",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000551",
+ "id": "00000000-0000-0000-0000-000000000509",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000559",
+ "id": "00000000-0000-0000-0000-000000000517",
},
},
- "id": "00000000-0000-0000-0000-000000000605",
+ "id": "00000000-0000-0000-0000-000000000563",
"views": {
"allOpportunities": {
- "id": "00000000-0000-0000-0000-000000000574",
+ "id": "00000000-0000-0000-0000-000000000532",
"viewFieldGroups": {},
"viewFields": {
"amount": {
- "id": "00000000-0000-0000-0000-000000000569",
+ "id": "00000000-0000-0000-0000-000000000527",
},
"closeDate": {
- "id": "00000000-0000-0000-0000-000000000571",
+ "id": "00000000-0000-0000-0000-000000000529",
},
"company": {
- "id": "00000000-0000-0000-0000-000000000572",
+ "id": "00000000-0000-0000-0000-000000000530",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000570",
+ "id": "00000000-0000-0000-0000-000000000528",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000568",
+ "id": "00000000-0000-0000-0000-000000000526",
},
"pointOfContact": {
- "id": "00000000-0000-0000-0000-000000000573",
+ "id": "00000000-0000-0000-0000-000000000531",
},
},
"viewGroups": {},
},
"byStage": {
- "id": "00000000-0000-0000-0000-000000000586",
+ "id": "00000000-0000-0000-0000-000000000544",
"viewFieldGroups": {},
"viewFields": {
"amount": {
- "id": "00000000-0000-0000-0000-000000000576",
+ "id": "00000000-0000-0000-0000-000000000534",
},
"closeDate": {
- "id": "00000000-0000-0000-0000-000000000578",
+ "id": "00000000-0000-0000-0000-000000000536",
},
"company": {
- "id": "00000000-0000-0000-0000-000000000579",
+ "id": "00000000-0000-0000-0000-000000000537",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000577",
+ "id": "00000000-0000-0000-0000-000000000535",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000575",
+ "id": "00000000-0000-0000-0000-000000000533",
},
"pointOfContact": {
- "id": "00000000-0000-0000-0000-000000000580",
+ "id": "00000000-0000-0000-0000-000000000538",
},
},
"viewGroups": {
"customer": {
- "id": "00000000-0000-0000-0000-000000000585",
+ "id": "00000000-0000-0000-0000-000000000543",
},
"meeting": {
- "id": "00000000-0000-0000-0000-000000000583",
+ "id": "00000000-0000-0000-0000-000000000541",
},
"new": {
- "id": "00000000-0000-0000-0000-000000000581",
+ "id": "00000000-0000-0000-0000-000000000539",
},
"proposal": {
- "id": "00000000-0000-0000-0000-000000000584",
+ "id": "00000000-0000-0000-0000-000000000542",
},
"screening": {
- "id": "00000000-0000-0000-0000-000000000582",
+ "id": "00000000-0000-0000-0000-000000000540",
},
},
},
"opportunityRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000604",
+ "id": "00000000-0000-0000-0000-000000000562",
"viewFieldGroups": {
"deal": {
- "id": "00000000-0000-0000-0000-000000000601",
+ "id": "00000000-0000-0000-0000-000000000559",
},
"relations": {
- "id": "00000000-0000-0000-0000-000000000602",
+ "id": "00000000-0000-0000-0000-000000000560",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000603",
+ "id": "00000000-0000-0000-0000-000000000561",
},
},
"viewFields": {
"amount": {
- "id": "00000000-0000-0000-0000-000000000587",
+ "id": "00000000-0000-0000-0000-000000000545",
},
"attachments": {
- "id": "00000000-0000-0000-0000-000000000599",
+ "id": "00000000-0000-0000-0000-000000000557",
},
"closeDate": {
- "id": "00000000-0000-0000-0000-000000000588",
+ "id": "00000000-0000-0000-0000-000000000546",
},
"company": {
- "id": "00000000-0000-0000-0000-000000000590",
+ "id": "00000000-0000-0000-0000-000000000548",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000593",
+ "id": "00000000-0000-0000-0000-000000000551",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000594",
+ "id": "00000000-0000-0000-0000-000000000552",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000598",
+ "id": "00000000-0000-0000-0000-000000000556",
},
"owner": {
- "id": "00000000-0000-0000-0000-000000000592",
+ "id": "00000000-0000-0000-0000-000000000550",
},
"pointOfContact": {
- "id": "00000000-0000-0000-0000-000000000591",
+ "id": "00000000-0000-0000-0000-000000000549",
},
"stage": {
- "id": "00000000-0000-0000-0000-000000000589",
+ "id": "00000000-0000-0000-0000-000000000547",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000597",
+ "id": "00000000-0000-0000-0000-000000000555",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000600",
+ "id": "00000000-0000-0000-0000-000000000558",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000595",
+ "id": "00000000-0000-0000-0000-000000000553",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000596",
+ "id": "00000000-0000-0000-0000-000000000554",
},
},
"viewGroups": {},
@@ -2042,196 +1903,196 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"person": {
"fields": {
"attachments": {
- "id": "00000000-0000-0000-0000-000000000626",
+ "id": "00000000-0000-0000-0000-000000000584",
},
"avatarFile": {
- "id": "00000000-0000-0000-0000-000000000618",
+ "id": "00000000-0000-0000-0000-000000000576",
},
"avatarUrl": {
- "id": "00000000-0000-0000-0000-000000000617",
+ "id": "00000000-0000-0000-0000-000000000575",
},
"calendarEventParticipants": {
- "id": "00000000-0000-0000-0000-000000000628",
+ "id": "00000000-0000-0000-0000-000000000586",
},
"city": {
- "id": "00000000-0000-0000-0000-000000000616",
+ "id": "00000000-0000-0000-0000-000000000574",
},
"company": {
- "id": "00000000-0000-0000-0000-000000000622",
+ "id": "00000000-0000-0000-0000-000000000580",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000607",
+ "id": "00000000-0000-0000-0000-000000000565",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000620",
+ "id": "00000000-0000-0000-0000-000000000578",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000609",
+ "id": "00000000-0000-0000-0000-000000000567",
},
"emails": {
- "id": "00000000-0000-0000-0000-000000000611",
+ "id": "00000000-0000-0000-0000-000000000569",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000606",
+ "id": "00000000-0000-0000-0000-000000000564",
},
"jobTitle": {
- "id": "00000000-0000-0000-0000-000000000614",
+ "id": "00000000-0000-0000-0000-000000000572",
},
"linkedinLink": {
- "id": "00000000-0000-0000-0000-000000000612",
+ "id": "00000000-0000-0000-0000-000000000570",
},
"messageParticipants": {
- "id": "00000000-0000-0000-0000-000000000627",
+ "id": "00000000-0000-0000-0000-000000000585",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000610",
+ "id": "00000000-0000-0000-0000-000000000568",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000625",
+ "id": "00000000-0000-0000-0000-000000000583",
},
"phones": {
- "id": "00000000-0000-0000-0000-000000000615",
+ "id": "00000000-0000-0000-0000-000000000573",
},
"pointOfContactForOpportunities": {
- "id": "00000000-0000-0000-0000-000000000623",
+ "id": "00000000-0000-0000-0000-000000000581",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000619",
+ "id": "00000000-0000-0000-0000-000000000577",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000630",
+ "id": "00000000-0000-0000-0000-000000000588",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000624",
+ "id": "00000000-0000-0000-0000-000000000582",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000629",
+ "id": "00000000-0000-0000-0000-000000000587",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000608",
+ "id": "00000000-0000-0000-0000-000000000566",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000621",
+ "id": "00000000-0000-0000-0000-000000000579",
},
"xLink": {
- "id": "00000000-0000-0000-0000-000000000613",
+ "id": "00000000-0000-0000-0000-000000000571",
},
},
- "id": "00000000-0000-0000-0000-000000000667",
+ "id": "00000000-0000-0000-0000-000000000625",
"views": {
"allPeople": {
- "id": "00000000-0000-0000-0000-000000000641",
+ "id": "00000000-0000-0000-0000-000000000599",
"viewFieldGroups": {},
"viewFields": {
"city": {
- "id": "00000000-0000-0000-0000-000000000637",
+ "id": "00000000-0000-0000-0000-000000000595",
},
"company": {
- "id": "00000000-0000-0000-0000-000000000634",
+ "id": "00000000-0000-0000-0000-000000000592",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000636",
+ "id": "00000000-0000-0000-0000-000000000594",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000633",
+ "id": "00000000-0000-0000-0000-000000000591",
},
"emails": {
- "id": "00000000-0000-0000-0000-000000000632",
+ "id": "00000000-0000-0000-0000-000000000590",
},
"jobTitle": {
- "id": "00000000-0000-0000-0000-000000000638",
+ "id": "00000000-0000-0000-0000-000000000596",
},
"linkedinLink": {
- "id": "00000000-0000-0000-0000-000000000639",
+ "id": "00000000-0000-0000-0000-000000000597",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000631",
+ "id": "00000000-0000-0000-0000-000000000589",
},
"phones": {
- "id": "00000000-0000-0000-0000-000000000635",
+ "id": "00000000-0000-0000-0000-000000000593",
},
"xLink": {
- "id": "00000000-0000-0000-0000-000000000640",
+ "id": "00000000-0000-0000-0000-000000000598",
},
},
"viewGroups": {},
},
"personRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000666",
+ "id": "00000000-0000-0000-0000-000000000624",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000662",
+ "id": "00000000-0000-0000-0000-000000000620",
},
"social": {
- "id": "00000000-0000-0000-0000-000000000664",
+ "id": "00000000-0000-0000-0000-000000000622",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000665",
+ "id": "00000000-0000-0000-0000-000000000623",
},
"work": {
- "id": "00000000-0000-0000-0000-000000000663",
+ "id": "00000000-0000-0000-0000-000000000621",
},
},
"viewFields": {
"attachments": {
- "id": "00000000-0000-0000-0000-000000000658",
+ "id": "00000000-0000-0000-0000-000000000616",
},
"avatarFile": {
- "id": "00000000-0000-0000-0000-000000000654",
+ "id": "00000000-0000-0000-0000-000000000612",
},
"avatarUrl": {
- "id": "00000000-0000-0000-0000-000000000649",
+ "id": "00000000-0000-0000-0000-000000000607",
},
"calendarEventParticipants": {
- "id": "00000000-0000-0000-0000-000000000660",
+ "id": "00000000-0000-0000-0000-000000000618",
},
"city": {
- "id": "00000000-0000-0000-0000-000000000648",
+ "id": "00000000-0000-0000-0000-000000000606",
},
"company": {
- "id": "00000000-0000-0000-0000-000000000644",
+ "id": "00000000-0000-0000-0000-000000000602",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000650",
+ "id": "00000000-0000-0000-0000-000000000608",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000651",
+ "id": "00000000-0000-0000-0000-000000000609",
},
"emails": {
- "id": "00000000-0000-0000-0000-000000000642",
+ "id": "00000000-0000-0000-0000-000000000600",
},
"jobTitle": {
- "id": "00000000-0000-0000-0000-000000000645",
+ "id": "00000000-0000-0000-0000-000000000603",
},
"linkedinLink": {
- "id": "00000000-0000-0000-0000-000000000646",
+ "id": "00000000-0000-0000-0000-000000000604",
},
"messageParticipants": {
- "id": "00000000-0000-0000-0000-000000000659",
+ "id": "00000000-0000-0000-0000-000000000617",
},
"noteTargets": {
- "id": "00000000-0000-0000-0000-000000000657",
+ "id": "00000000-0000-0000-0000-000000000615",
},
"phones": {
- "id": "00000000-0000-0000-0000-000000000643",
+ "id": "00000000-0000-0000-0000-000000000601",
},
"pointOfContactForOpportunities": {
- "id": "00000000-0000-0000-0000-000000000655",
+ "id": "00000000-0000-0000-0000-000000000613",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000656",
+ "id": "00000000-0000-0000-0000-000000000614",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000661",
+ "id": "00000000-0000-0000-0000-000000000619",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000652",
+ "id": "00000000-0000-0000-0000-000000000610",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000653",
+ "id": "00000000-0000-0000-0000-000000000611",
},
"xLink": {
- "id": "00000000-0000-0000-0000-000000000647",
+ "id": "00000000-0000-0000-0000-000000000605",
},
},
"viewGroups": {},
@@ -2241,203 +2102,203 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"task": {
"fields": {
"assignee": {
- "id": "00000000-0000-0000-0000-000000000681",
+ "id": "00000000-0000-0000-0000-000000000639",
},
"attachments": {
- "id": "00000000-0000-0000-0000-000000000680",
+ "id": "00000000-0000-0000-0000-000000000638",
},
"bodyV2": {
- "id": "00000000-0000-0000-0000-000000000674",
+ "id": "00000000-0000-0000-0000-000000000632",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000669",
+ "id": "00000000-0000-0000-0000-000000000627",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000677",
+ "id": "00000000-0000-0000-0000-000000000635",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000671",
+ "id": "00000000-0000-0000-0000-000000000629",
},
"dueAt": {
- "id": "00000000-0000-0000-0000-000000000675",
+ "id": "00000000-0000-0000-0000-000000000633",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000668",
+ "id": "00000000-0000-0000-0000-000000000626",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000672",
+ "id": "00000000-0000-0000-0000-000000000630",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000683",
+ "id": "00000000-0000-0000-0000-000000000641",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000676",
+ "id": "00000000-0000-0000-0000-000000000634",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000679",
+ "id": "00000000-0000-0000-0000-000000000637",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000682",
+ "id": "00000000-0000-0000-0000-000000000640",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000673",
+ "id": "00000000-0000-0000-0000-000000000631",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000670",
+ "id": "00000000-0000-0000-0000-000000000628",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000678",
+ "id": "00000000-0000-0000-0000-000000000636",
},
},
- "id": "00000000-0000-0000-0000-000000000728",
+ "id": "00000000-0000-0000-0000-000000000686",
"views": {
"allTasks": {
- "id": "00000000-0000-0000-0000-000000000692",
+ "id": "00000000-0000-0000-0000-000000000650",
"viewFieldGroups": {},
"viewFields": {
"assignee": {
- "id": "00000000-0000-0000-0000-000000000689",
+ "id": "00000000-0000-0000-0000-000000000647",
},
"bodyV2": {
- "id": "00000000-0000-0000-0000-000000000690",
+ "id": "00000000-0000-0000-0000-000000000648",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000691",
+ "id": "00000000-0000-0000-0000-000000000649",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000687",
+ "id": "00000000-0000-0000-0000-000000000645",
},
"dueAt": {
- "id": "00000000-0000-0000-0000-000000000688",
+ "id": "00000000-0000-0000-0000-000000000646",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000685",
+ "id": "00000000-0000-0000-0000-000000000643",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000686",
+ "id": "00000000-0000-0000-0000-000000000644",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000684",
+ "id": "00000000-0000-0000-0000-000000000642",
},
},
"viewGroups": {},
},
"assignedToMe": {
- "id": "00000000-0000-0000-0000-000000000704",
+ "id": "00000000-0000-0000-0000-000000000662",
"viewFieldGroups": {},
"viewFields": {
"assignee": {
- "id": "00000000-0000-0000-0000-000000000697",
+ "id": "00000000-0000-0000-0000-000000000655",
},
"bodyV2": {
- "id": "00000000-0000-0000-0000-000000000698",
+ "id": "00000000-0000-0000-0000-000000000656",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000699",
+ "id": "00000000-0000-0000-0000-000000000657",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000695",
+ "id": "00000000-0000-0000-0000-000000000653",
},
"dueAt": {
- "id": "00000000-0000-0000-0000-000000000696",
+ "id": "00000000-0000-0000-0000-000000000654",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000694",
+ "id": "00000000-0000-0000-0000-000000000652",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000693",
+ "id": "00000000-0000-0000-0000-000000000651",
},
},
"viewGroups": {
"done": {
- "id": "00000000-0000-0000-0000-000000000702",
+ "id": "00000000-0000-0000-0000-000000000660",
},
"empty": {
- "id": "00000000-0000-0000-0000-000000000703",
+ "id": "00000000-0000-0000-0000-000000000661",
},
"inProgress": {
- "id": "00000000-0000-0000-0000-000000000701",
+ "id": "00000000-0000-0000-0000-000000000659",
},
"todo": {
- "id": "00000000-0000-0000-0000-000000000700",
+ "id": "00000000-0000-0000-0000-000000000658",
},
},
},
"byStatus": {
- "id": "00000000-0000-0000-0000-000000000713",
+ "id": "00000000-0000-0000-0000-000000000671",
"viewFieldGroups": {},
"viewFields": {
"assignee": {
- "id": "00000000-0000-0000-0000-000000000708",
+ "id": "00000000-0000-0000-0000-000000000666",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000709",
+ "id": "00000000-0000-0000-0000-000000000667",
},
"dueAt": {
- "id": "00000000-0000-0000-0000-000000000707",
+ "id": "00000000-0000-0000-0000-000000000665",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000706",
+ "id": "00000000-0000-0000-0000-000000000664",
},
"title": {
- "id": "00000000-0000-0000-0000-000000000705",
+ "id": "00000000-0000-0000-0000-000000000663",
},
},
"viewGroups": {
"done": {
- "id": "00000000-0000-0000-0000-000000000712",
+ "id": "00000000-0000-0000-0000-000000000670",
},
"inProgress": {
- "id": "00000000-0000-0000-0000-000000000711",
+ "id": "00000000-0000-0000-0000-000000000669",
},
"todo": {
- "id": "00000000-0000-0000-0000-000000000710",
+ "id": "00000000-0000-0000-0000-000000000668",
},
},
},
"taskRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000727",
+ "id": "00000000-0000-0000-0000-000000000685",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000725",
+ "id": "00000000-0000-0000-0000-000000000683",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000726",
+ "id": "00000000-0000-0000-0000-000000000684",
},
},
"viewFields": {
"assignee": {
- "id": "00000000-0000-0000-0000-000000000716",
+ "id": "00000000-0000-0000-0000-000000000674",
},
"attachments": {
- "id": "00000000-0000-0000-0000-000000000723",
+ "id": "00000000-0000-0000-0000-000000000681",
},
"bodyV2": {
- "id": "00000000-0000-0000-0000-000000000720",
+ "id": "00000000-0000-0000-0000-000000000678",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000717",
+ "id": "00000000-0000-0000-0000-000000000675",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000718",
+ "id": "00000000-0000-0000-0000-000000000676",
},
"dueAt": {
- "id": "00000000-0000-0000-0000-000000000714",
+ "id": "00000000-0000-0000-0000-000000000672",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000715",
+ "id": "00000000-0000-0000-0000-000000000673",
},
"taskTargets": {
- "id": "00000000-0000-0000-0000-000000000719",
+ "id": "00000000-0000-0000-0000-000000000677",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000724",
+ "id": "00000000-0000-0000-0000-000000000682",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000721",
+ "id": "00000000-0000-0000-0000-000000000679",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000722",
+ "id": "00000000-0000-0000-0000-000000000680",
},
},
"viewGroups": {},
@@ -2447,62 +2308,62 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"taskTarget": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000730",
+ "id": "00000000-0000-0000-0000-000000000688",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000737",
+ "id": "00000000-0000-0000-0000-000000000695",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000732",
+ "id": "00000000-0000-0000-0000-000000000690",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000729",
+ "id": "00000000-0000-0000-0000-000000000687",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000739",
+ "id": "00000000-0000-0000-0000-000000000697",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000740",
+ "id": "00000000-0000-0000-0000-000000000698",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000735",
+ "id": "00000000-0000-0000-0000-000000000693",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000736",
+ "id": "00000000-0000-0000-0000-000000000694",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000734",
+ "id": "00000000-0000-0000-0000-000000000692",
},
"task": {
- "id": "00000000-0000-0000-0000-000000000733",
+ "id": "00000000-0000-0000-0000-000000000691",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000731",
+ "id": "00000000-0000-0000-0000-000000000689",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000738",
+ "id": "00000000-0000-0000-0000-000000000696",
},
},
- "id": "00000000-0000-0000-0000-000000000747",
+ "id": "00000000-0000-0000-0000-000000000705",
"views": {
"allTaskTargets": {
- "id": "00000000-0000-0000-0000-000000000746",
+ "id": "00000000-0000-0000-0000-000000000704",
"viewFieldGroups": {},
"viewFields": {
"id": {
- "id": "00000000-0000-0000-0000-000000000741",
+ "id": "00000000-0000-0000-0000-000000000699",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000744",
+ "id": "00000000-0000-0000-0000-000000000702",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000745",
+ "id": "00000000-0000-0000-0000-000000000703",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000743",
+ "id": "00000000-0000-0000-0000-000000000701",
},
"task": {
- "id": "00000000-0000-0000-0000-000000000742",
+ "id": "00000000-0000-0000-0000-000000000700",
},
},
"viewGroups": {},
@@ -2512,125 +2373,125 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"timelineActivity": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000749",
+ "id": "00000000-0000-0000-0000-000000000707",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000768",
+ "id": "00000000-0000-0000-0000-000000000726",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000751",
+ "id": "00000000-0000-0000-0000-000000000709",
},
"happensAt": {
- "id": "00000000-0000-0000-0000-000000000752",
+ "id": "00000000-0000-0000-0000-000000000710",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000748",
+ "id": "00000000-0000-0000-0000-000000000706",
},
"linkedObjectMetadataId": {
- "id": "00000000-0000-0000-0000-000000000767",
+ "id": "00000000-0000-0000-0000-000000000725",
},
"linkedRecordCachedName": {
- "id": "00000000-0000-0000-0000-000000000765",
+ "id": "00000000-0000-0000-0000-000000000723",
},
"linkedRecordId": {
- "id": "00000000-0000-0000-0000-000000000766",
+ "id": "00000000-0000-0000-0000-000000000724",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000753",
+ "id": "00000000-0000-0000-0000-000000000711",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000770",
+ "id": "00000000-0000-0000-0000-000000000728",
},
"properties": {
- "id": "00000000-0000-0000-0000-000000000754",
+ "id": "00000000-0000-0000-0000-000000000712",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000771",
+ "id": "00000000-0000-0000-0000-000000000729",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000757",
+ "id": "00000000-0000-0000-0000-000000000715",
},
"targetDashboard": {
- "id": "00000000-0000-0000-0000-000000000764",
+ "id": "00000000-0000-0000-0000-000000000722",
},
"targetNote": {
- "id": "00000000-0000-0000-0000-000000000760",
+ "id": "00000000-0000-0000-0000-000000000718",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000758",
+ "id": "00000000-0000-0000-0000-000000000716",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000756",
+ "id": "00000000-0000-0000-0000-000000000714",
},
"targetTask": {
- "id": "00000000-0000-0000-0000-000000000759",
+ "id": "00000000-0000-0000-0000-000000000717",
},
"targetWorkflow": {
- "id": "00000000-0000-0000-0000-000000000761",
+ "id": "00000000-0000-0000-0000-000000000719",
},
"targetWorkflowRun": {
- "id": "00000000-0000-0000-0000-000000000763",
+ "id": "00000000-0000-0000-0000-000000000721",
},
"targetWorkflowVersion": {
- "id": "00000000-0000-0000-0000-000000000762",
+ "id": "00000000-0000-0000-0000-000000000720",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000750",
+ "id": "00000000-0000-0000-0000-000000000708",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000769",
+ "id": "00000000-0000-0000-0000-000000000727",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000755",
+ "id": "00000000-0000-0000-0000-000000000713",
},
},
- "id": "00000000-0000-0000-0000-000000000787",
+ "id": "00000000-0000-0000-0000-000000000745",
"views": {
"allTimelineActivities": {
- "id": "00000000-0000-0000-0000-000000000786",
+ "id": "00000000-0000-0000-0000-000000000744",
"viewFieldGroups": {},
"viewFields": {
"happensAt": {
- "id": "00000000-0000-0000-0000-000000000773",
+ "id": "00000000-0000-0000-0000-000000000731",
},
"linkedRecordCachedName": {
- "id": "00000000-0000-0000-0000-000000000776",
+ "id": "00000000-0000-0000-0000-000000000734",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000772",
+ "id": "00000000-0000-0000-0000-000000000730",
},
"properties": {
- "id": "00000000-0000-0000-0000-000000000774",
+ "id": "00000000-0000-0000-0000-000000000732",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000778",
+ "id": "00000000-0000-0000-0000-000000000736",
},
"targetDashboard": {
- "id": "00000000-0000-0000-0000-000000000785",
+ "id": "00000000-0000-0000-0000-000000000743",
},
"targetNote": {
- "id": "00000000-0000-0000-0000-000000000781",
+ "id": "00000000-0000-0000-0000-000000000739",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000779",
+ "id": "00000000-0000-0000-0000-000000000737",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000777",
+ "id": "00000000-0000-0000-0000-000000000735",
},
"targetTask": {
- "id": "00000000-0000-0000-0000-000000000780",
+ "id": "00000000-0000-0000-0000-000000000738",
},
"targetWorkflow": {
- "id": "00000000-0000-0000-0000-000000000782",
+ "id": "00000000-0000-0000-0000-000000000740",
},
"targetWorkflowRun": {
- "id": "00000000-0000-0000-0000-000000000784",
+ "id": "00000000-0000-0000-0000-000000000742",
},
"targetWorkflowVersion": {
- "id": "00000000-0000-0000-0000-000000000783",
+ "id": "00000000-0000-0000-0000-000000000741",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000775",
+ "id": "00000000-0000-0000-0000-000000000733",
},
},
"viewGroups": {},
@@ -2640,77 +2501,77 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"workflow": {
"fields": {
"attachments": {
- "id": "00000000-0000-0000-0000-000000000800",
+ "id": "00000000-0000-0000-0000-000000000758",
},
"automatedTriggers": {
- "id": "00000000-0000-0000-0000-000000000798",
+ "id": "00000000-0000-0000-0000-000000000756",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000789",
+ "id": "00000000-0000-0000-0000-000000000747",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000801",
+ "id": "00000000-0000-0000-0000-000000000759",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000791",
+ "id": "00000000-0000-0000-0000-000000000749",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000788",
+ "id": "00000000-0000-0000-0000-000000000746",
},
"lastPublishedVersionId": {
- "id": "00000000-0000-0000-0000-000000000793",
+ "id": "00000000-0000-0000-0000-000000000751",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000792",
+ "id": "00000000-0000-0000-0000-000000000750",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000795",
+ "id": "00000000-0000-0000-0000-000000000753",
},
"runs": {
- "id": "00000000-0000-0000-0000-000000000797",
+ "id": "00000000-0000-0000-0000-000000000755",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000803",
+ "id": "00000000-0000-0000-0000-000000000761",
},
"statuses": {
- "id": "00000000-0000-0000-0000-000000000794",
+ "id": "00000000-0000-0000-0000-000000000752",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000799",
+ "id": "00000000-0000-0000-0000-000000000757",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000790",
+ "id": "00000000-0000-0000-0000-000000000748",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000802",
+ "id": "00000000-0000-0000-0000-000000000760",
},
"versions": {
- "id": "00000000-0000-0000-0000-000000000796",
+ "id": "00000000-0000-0000-0000-000000000754",
},
},
- "id": "00000000-0000-0000-0000-000000000811",
+ "id": "00000000-0000-0000-0000-000000000769",
"views": {
"allWorkflows": {
- "id": "00000000-0000-0000-0000-000000000810",
+ "id": "00000000-0000-0000-0000-000000000768",
"viewFieldGroups": {},
"viewFields": {
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000807",
+ "id": "00000000-0000-0000-0000-000000000765",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000804",
+ "id": "00000000-0000-0000-0000-000000000762",
},
"runs": {
- "id": "00000000-0000-0000-0000-000000000809",
+ "id": "00000000-0000-0000-0000-000000000767",
},
"statuses": {
- "id": "00000000-0000-0000-0000-000000000805",
+ "id": "00000000-0000-0000-0000-000000000763",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000806",
+ "id": "00000000-0000-0000-0000-000000000764",
},
"versions": {
- "id": "00000000-0000-0000-0000-000000000808",
+ "id": "00000000-0000-0000-0000-000000000766",
},
},
"viewGroups": {},
@@ -2720,79 +2581,79 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"workflowAutomatedTrigger": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000813",
+ "id": "00000000-0000-0000-0000-000000000771",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000819",
+ "id": "00000000-0000-0000-0000-000000000777",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000815",
+ "id": "00000000-0000-0000-0000-000000000773",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000812",
+ "id": "00000000-0000-0000-0000-000000000770",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000821",
+ "id": "00000000-0000-0000-0000-000000000779",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000822",
+ "id": "00000000-0000-0000-0000-000000000780",
},
"settings": {
- "id": "00000000-0000-0000-0000-000000000817",
+ "id": "00000000-0000-0000-0000-000000000775",
},
"type": {
- "id": "00000000-0000-0000-0000-000000000816",
+ "id": "00000000-0000-0000-0000-000000000774",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000814",
+ "id": "00000000-0000-0000-0000-000000000772",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000820",
+ "id": "00000000-0000-0000-0000-000000000778",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000818",
+ "id": "00000000-0000-0000-0000-000000000776",
},
},
- "id": "00000000-0000-0000-0000-000000000834",
+ "id": "00000000-0000-0000-0000-000000000792",
"views": {
"allWorkflowAutomatedTriggers": {
- "id": "00000000-0000-0000-0000-000000000826",
+ "id": "00000000-0000-0000-0000-000000000784",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000825",
+ "id": "00000000-0000-0000-0000-000000000783",
},
"type": {
- "id": "00000000-0000-0000-0000-000000000823",
+ "id": "00000000-0000-0000-0000-000000000781",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000824",
+ "id": "00000000-0000-0000-0000-000000000782",
},
},
"viewGroups": {},
},
"workflowAutomatedTriggerRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000833",
+ "id": "00000000-0000-0000-0000-000000000791",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000831",
+ "id": "00000000-0000-0000-0000-000000000789",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000832",
+ "id": "00000000-0000-0000-0000-000000000790",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000829",
+ "id": "00000000-0000-0000-0000-000000000787",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000830",
+ "id": "00000000-0000-0000-0000-000000000788",
},
"type": {
- "id": "00000000-0000-0000-0000-000000000827",
+ "id": "00000000-0000-0000-0000-000000000785",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000828",
+ "id": "00000000-0000-0000-0000-000000000786",
},
},
"viewGroups": {},
@@ -2802,130 +2663,130 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"workflowRun": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000836",
+ "id": "00000000-0000-0000-0000-000000000794",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000847",
+ "id": "00000000-0000-0000-0000-000000000805",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000838",
+ "id": "00000000-0000-0000-0000-000000000796",
},
"endedAt": {
- "id": "00000000-0000-0000-0000-000000000844",
+ "id": "00000000-0000-0000-0000-000000000802",
},
"enqueuedAt": {
- "id": "00000000-0000-0000-0000-000000000842",
+ "id": "00000000-0000-0000-0000-000000000800",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000835",
+ "id": "00000000-0000-0000-0000-000000000793",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000839",
+ "id": "00000000-0000-0000-0000-000000000797",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000846",
+ "id": "00000000-0000-0000-0000-000000000804",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000851",
+ "id": "00000000-0000-0000-0000-000000000809",
},
"startedAt": {
- "id": "00000000-0000-0000-0000-000000000843",
+ "id": "00000000-0000-0000-0000-000000000801",
},
"state": {
- "id": "00000000-0000-0000-0000-000000000849",
+ "id": "00000000-0000-0000-0000-000000000807",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000845",
+ "id": "00000000-0000-0000-0000-000000000803",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000850",
+ "id": "00000000-0000-0000-0000-000000000808",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000837",
+ "id": "00000000-0000-0000-0000-000000000795",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000848",
+ "id": "00000000-0000-0000-0000-000000000806",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000841",
+ "id": "00000000-0000-0000-0000-000000000799",
},
"workflowVersion": {
- "id": "00000000-0000-0000-0000-000000000840",
+ "id": "00000000-0000-0000-0000-000000000798",
},
},
- "id": "00000000-0000-0000-0000-000000000874",
+ "id": "00000000-0000-0000-0000-000000000832",
"views": {
"allWorkflowRuns": {
- "id": "00000000-0000-0000-0000-000000000858",
+ "id": "00000000-0000-0000-0000-000000000816",
"viewFieldGroups": {},
"viewFields": {
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000856",
+ "id": "00000000-0000-0000-0000-000000000814",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000852",
+ "id": "00000000-0000-0000-0000-000000000810",
},
"startedAt": {
- "id": "00000000-0000-0000-0000-000000000855",
+ "id": "00000000-0000-0000-0000-000000000813",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000854",
+ "id": "00000000-0000-0000-0000-000000000812",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000853",
+ "id": "00000000-0000-0000-0000-000000000811",
},
"workflowVersion": {
- "id": "00000000-0000-0000-0000-000000000857",
+ "id": "00000000-0000-0000-0000-000000000815",
},
},
"viewGroups": {},
},
"workflowRunRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000873",
+ "id": "00000000-0000-0000-0000-000000000831",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000871",
+ "id": "00000000-0000-0000-0000-000000000829",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000872",
+ "id": "00000000-0000-0000-0000-000000000830",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000864",
+ "id": "00000000-0000-0000-0000-000000000822",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000865",
+ "id": "00000000-0000-0000-0000-000000000823",
},
"endedAt": {
- "id": "00000000-0000-0000-0000-000000000863",
+ "id": "00000000-0000-0000-0000-000000000821",
},
"enqueuedAt": {
- "id": "00000000-0000-0000-0000-000000000866",
+ "id": "00000000-0000-0000-0000-000000000824",
},
"startedAt": {
- "id": "00000000-0000-0000-0000-000000000862",
+ "id": "00000000-0000-0000-0000-000000000820",
},
"state": {
- "id": "00000000-0000-0000-0000-000000000867",
+ "id": "00000000-0000-0000-0000-000000000825",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000859",
+ "id": "00000000-0000-0000-0000-000000000817",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000870",
+ "id": "00000000-0000-0000-0000-000000000828",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000868",
+ "id": "00000000-0000-0000-0000-000000000826",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000869",
+ "id": "00000000-0000-0000-0000-000000000827",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000860",
+ "id": "00000000-0000-0000-0000-000000000818",
},
"workflowVersion": {
- "id": "00000000-0000-0000-0000-000000000861",
+ "id": "00000000-0000-0000-0000-000000000819",
},
},
"viewGroups": {},
@@ -2935,115 +2796,115 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"workflowVersion": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000876",
+ "id": "00000000-0000-0000-0000-000000000834",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000888",
+ "id": "00000000-0000-0000-0000-000000000846",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000878",
+ "id": "00000000-0000-0000-0000-000000000836",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000875",
+ "id": "00000000-0000-0000-0000-000000000833",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000879",
+ "id": "00000000-0000-0000-0000-000000000837",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000883",
+ "id": "00000000-0000-0000-0000-000000000841",
},
"runs": {
- "id": "00000000-0000-0000-0000-000000000884",
+ "id": "00000000-0000-0000-0000-000000000842",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000887",
+ "id": "00000000-0000-0000-0000-000000000845",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000882",
+ "id": "00000000-0000-0000-0000-000000000840",
},
"steps": {
- "id": "00000000-0000-0000-0000-000000000885",
+ "id": "00000000-0000-0000-0000-000000000843",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000886",
+ "id": "00000000-0000-0000-0000-000000000844",
},
"trigger": {
- "id": "00000000-0000-0000-0000-000000000881",
+ "id": "00000000-0000-0000-0000-000000000839",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000877",
+ "id": "00000000-0000-0000-0000-000000000835",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000889",
+ "id": "00000000-0000-0000-0000-000000000847",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000880",
+ "id": "00000000-0000-0000-0000-000000000838",
},
},
- "id": "00000000-0000-0000-0000-000000000909",
+ "id": "00000000-0000-0000-0000-000000000867",
"views": {
"allWorkflowVersions": {
- "id": "00000000-0000-0000-0000-000000000895",
+ "id": "00000000-0000-0000-0000-000000000853",
"viewFieldGroups": {},
"viewFields": {
"name": {
- "id": "00000000-0000-0000-0000-000000000890",
+ "id": "00000000-0000-0000-0000-000000000848",
},
"runs": {
- "id": "00000000-0000-0000-0000-000000000894",
+ "id": "00000000-0000-0000-0000-000000000852",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000892",
+ "id": "00000000-0000-0000-0000-000000000850",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000893",
+ "id": "00000000-0000-0000-0000-000000000851",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000891",
+ "id": "00000000-0000-0000-0000-000000000849",
},
},
"viewGroups": {},
},
"workflowVersionRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000908",
+ "id": "00000000-0000-0000-0000-000000000866",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000906",
+ "id": "00000000-0000-0000-0000-000000000864",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000907",
+ "id": "00000000-0000-0000-0000-000000000865",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000899",
+ "id": "00000000-0000-0000-0000-000000000857",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000901",
+ "id": "00000000-0000-0000-0000-000000000859",
},
"runs": {
- "id": "00000000-0000-0000-0000-000000000904",
+ "id": "00000000-0000-0000-0000-000000000862",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000896",
+ "id": "00000000-0000-0000-0000-000000000854",
},
"steps": {
- "id": "00000000-0000-0000-0000-000000000900",
+ "id": "00000000-0000-0000-0000-000000000858",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000905",
+ "id": "00000000-0000-0000-0000-000000000863",
},
"trigger": {
- "id": "00000000-0000-0000-0000-000000000898",
+ "id": "00000000-0000-0000-0000-000000000856",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000902",
+ "id": "00000000-0000-0000-0000-000000000860",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000903",
+ "id": "00000000-0000-0000-0000-000000000861",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000897",
+ "id": "00000000-0000-0000-0000-000000000855",
},
},
"viewGroups": {},
@@ -3053,125 +2914,122 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"workspaceMember": {
"fields": {
"accountOwnerForCompanies": {
- "id": "00000000-0000-0000-0000-000000000923",
+ "id": "00000000-0000-0000-0000-000000000881",
},
"assignedTasks": {
- "id": "00000000-0000-0000-0000-000000000921",
+ "id": "00000000-0000-0000-0000-000000000879",
},
"avatarUrl": {
- "id": "00000000-0000-0000-0000-000000000918",
+ "id": "00000000-0000-0000-0000-000000000876",
},
"blocklist": {
- "id": "00000000-0000-0000-0000-000000000926",
+ "id": "00000000-0000-0000-0000-000000000883",
},
"calendarEventParticipants": {
- "id": "00000000-0000-0000-0000-000000000927",
+ "id": "00000000-0000-0000-0000-000000000884",
},
"calendarStartDay": {
- "id": "00000000-0000-0000-0000-000000000933",
+ "id": "00000000-0000-0000-0000-000000000890",
},
"colorScheme": {
- "id": "00000000-0000-0000-0000-000000000916",
- },
- "connectedAccounts": {
- "id": "00000000-0000-0000-0000-000000000924",
+ "id": "00000000-0000-0000-0000-000000000874",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000911",
+ "id": "00000000-0000-0000-0000-000000000869",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000935",
+ "id": "00000000-0000-0000-0000-000000000892",
},
"dateFormat": {
- "id": "00000000-0000-0000-0000-000000000930",
+ "id": "00000000-0000-0000-0000-000000000887",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000913",
+ "id": "00000000-0000-0000-0000-000000000871",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000910",
+ "id": "00000000-0000-0000-0000-000000000868",
},
"locale": {
- "id": "00000000-0000-0000-0000-000000000917",
+ "id": "00000000-0000-0000-0000-000000000875",
},
"messageParticipants": {
- "id": "00000000-0000-0000-0000-000000000925",
+ "id": "00000000-0000-0000-0000-000000000882",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000915",
+ "id": "00000000-0000-0000-0000-000000000873",
},
"numberFormat": {
- "id": "00000000-0000-0000-0000-000000000934",
+ "id": "00000000-0000-0000-0000-000000000891",
},
"ownedOpportunities": {
- "id": "00000000-0000-0000-0000-000000000922",
+ "id": "00000000-0000-0000-0000-000000000880",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000914",
+ "id": "00000000-0000-0000-0000-000000000872",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000932",
+ "id": "00000000-0000-0000-0000-000000000889",
},
"timeFormat": {
- "id": "00000000-0000-0000-0000-000000000931",
+ "id": "00000000-0000-0000-0000-000000000888",
},
"timeZone": {
- "id": "00000000-0000-0000-0000-000000000929",
+ "id": "00000000-0000-0000-0000-000000000886",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000928",
+ "id": "00000000-0000-0000-0000-000000000885",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000912",
+ "id": "00000000-0000-0000-0000-000000000870",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000936",
+ "id": "00000000-0000-0000-0000-000000000893",
},
"userEmail": {
- "id": "00000000-0000-0000-0000-000000000919",
+ "id": "00000000-0000-0000-0000-000000000877",
},
"userId": {
- "id": "00000000-0000-0000-0000-000000000920",
+ "id": "00000000-0000-0000-0000-000000000878",
},
},
- "id": "00000000-0000-0000-0000-000000000949",
+ "id": "00000000-0000-0000-0000-000000000906",
"views": {
"allWorkspaceMembers": {
- "id": "00000000-0000-0000-0000-000000000948",
+ "id": "00000000-0000-0000-0000-000000000905",
"viewFieldGroups": {},
"viewFields": {
"assignedTasks": {
- "id": "00000000-0000-0000-0000-000000000947",
+ "id": "00000000-0000-0000-0000-000000000904",
},
"avatarUrl": {
- "id": "00000000-0000-0000-0000-000000000939",
+ "id": "00000000-0000-0000-0000-000000000896",
},
"colorScheme": {
- "id": "00000000-0000-0000-0000-000000000940",
+ "id": "00000000-0000-0000-0000-000000000897",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000945",
+ "id": "00000000-0000-0000-0000-000000000902",
},
"dateFormat": {
- "id": "00000000-0000-0000-0000-000000000943",
+ "id": "00000000-0000-0000-0000-000000000900",
},
"locale": {
- "id": "00000000-0000-0000-0000-000000000941",
+ "id": "00000000-0000-0000-0000-000000000898",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000937",
+ "id": "00000000-0000-0000-0000-000000000894",
},
"ownedOpportunities": {
- "id": "00000000-0000-0000-0000-000000000946",
+ "id": "00000000-0000-0000-0000-000000000903",
},
"timeFormat": {
- "id": "00000000-0000-0000-0000-000000000944",
+ "id": "00000000-0000-0000-0000-000000000901",
},
"timeZone": {
- "id": "00000000-0000-0000-0000-000000000942",
+ "id": "00000000-0000-0000-0000-000000000899",
},
"userEmail": {
- "id": "00000000-0000-0000-0000-000000000938",
+ "id": "00000000-0000-0000-0000-000000000895",
},
},
"viewGroups": {},
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-page-layout-metadata-related-entity-ids.util.spec.ts.snap b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-page-layout-metadata-related-entity-ids.util.spec.ts.snap
index 94b852ea8ba..40ab2388f52 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
@@ -1,4 +1,4 @@
-// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
+// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`getStandardPageLayoutMetadataRelatedEntityIds should return standard page layout metadata related entity ids 1`] = `
{
@@ -153,91 +153,91 @@ exports[`getStandardPageLayoutMetadataRelatedEntityIds should return standard pa
},
},
},
- "connectedAccountRecordPage": {
- "id": "00000000-0000-0000-0000-000000000048",
+ "messageChannelMessageAssociationMessageFolderRecordPage": {
+ "id": "00000000-0000-0000-0000-000000000058",
"tabs": {
"home": {
- "id": "00000000-0000-0000-0000-000000000049",
+ "id": "00000000-0000-0000-0000-000000000059",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000050",
+ "id": "00000000-0000-0000-0000-000000000060",
},
},
},
"timeline": {
- "id": "00000000-0000-0000-0000-000000000051",
+ "id": "00000000-0000-0000-0000-000000000061",
"widgets": {
"timeline": {
- "id": "00000000-0000-0000-0000-000000000052",
+ "id": "00000000-0000-0000-0000-000000000062",
},
},
},
},
},
- "messageChannelMessageAssociationMessageFolderRecordPage": {
- "id": "00000000-0000-0000-0000-000000000063",
+ "messageChannelMessageAssociationRecordPage": {
+ "id": "00000000-0000-0000-0000-000000000053",
"tabs": {
"home": {
- "id": "00000000-0000-0000-0000-000000000064",
+ "id": "00000000-0000-0000-0000-000000000054",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000065",
+ "id": "00000000-0000-0000-0000-000000000055",
},
},
},
"timeline": {
- "id": "00000000-0000-0000-0000-000000000066",
+ "id": "00000000-0000-0000-0000-000000000056",
"widgets": {
"timeline": {
- "id": "00000000-0000-0000-0000-000000000067",
+ "id": "00000000-0000-0000-0000-000000000057",
},
},
},
},
},
- "messageChannelMessageAssociationRecordPage": {
- "id": "00000000-0000-0000-0000-000000000058",
+ "messageChannelRecordPage": {
+ "id": "00000000-0000-0000-0000-000000000048",
"tabs": {
"home": {
- "id": "00000000-0000-0000-0000-000000000059",
+ "id": "00000000-0000-0000-0000-000000000049",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000060",
+ "id": "00000000-0000-0000-0000-000000000050",
},
},
},
"timeline": {
- "id": "00000000-0000-0000-0000-000000000061",
+ "id": "00000000-0000-0000-0000-000000000051",
"widgets": {
"timeline": {
- "id": "00000000-0000-0000-0000-000000000062",
+ "id": "00000000-0000-0000-0000-000000000052",
},
},
},
},
},
- "messageChannelRecordPage": {
- "id": "00000000-0000-0000-0000-000000000053",
+ "messageFolderRecordPage": {
+ "id": "00000000-0000-0000-0000-000000000063",
"tabs": {
"home": {
- "id": "00000000-0000-0000-0000-000000000054",
+ "id": "00000000-0000-0000-0000-000000000064",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000055",
+ "id": "00000000-0000-0000-0000-000000000065",
},
},
},
"timeline": {
- "id": "00000000-0000-0000-0000-000000000056",
+ "id": "00000000-0000-0000-0000-000000000066",
"widgets": {
"timeline": {
- "id": "00000000-0000-0000-0000-000000000057",
+ "id": "00000000-0000-0000-0000-000000000067",
},
},
},
},
},
- "messageFolderRecordPage": {
+ "messageParticipantRecordPage": {
"id": "00000000-0000-0000-0000-000000000068",
"tabs": {
"home": {
@@ -258,35 +258,14 @@ exports[`getStandardPageLayoutMetadataRelatedEntityIds should return standard pa
},
},
},
- "messageParticipantRecordPage": {
+ "messageThreadRecordPage": {
"id": "00000000-0000-0000-0000-000000000073",
"tabs": {
"home": {
"id": "00000000-0000-0000-0000-000000000074",
- "widgets": {
- "fields": {
- "id": "00000000-0000-0000-0000-000000000075",
- },
- },
- },
- "timeline": {
- "id": "00000000-0000-0000-0000-000000000076",
- "widgets": {
- "timeline": {
- "id": "00000000-0000-0000-0000-000000000077",
- },
- },
- },
- },
- },
- "messageThreadRecordPage": {
- "id": "00000000-0000-0000-0000-000000000078",
- "tabs": {
- "home": {
- "id": "00000000-0000-0000-0000-000000000079",
"widgets": {
"emailThread": {
- "id": "00000000-0000-0000-0000-000000000080",
+ "id": "00000000-0000-0000-0000-000000000075",
},
},
},
@@ -327,299 +306,299 @@ exports[`getStandardPageLayoutMetadataRelatedEntityIds should return standard pa
},
},
"noteRecordPage": {
- "id": "00000000-0000-0000-0000-000000000081",
+ "id": "00000000-0000-0000-0000-000000000076",
"tabs": {
"files": {
- "id": "00000000-0000-0000-0000-000000000089",
+ "id": "00000000-0000-0000-0000-000000000084",
"widgets": {
"files": {
- "id": "00000000-0000-0000-0000-000000000090",
+ "id": "00000000-0000-0000-0000-000000000085",
},
},
},
"home": {
- "id": "00000000-0000-0000-0000-000000000082",
+ "id": "00000000-0000-0000-0000-000000000077",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000083",
+ "id": "00000000-0000-0000-0000-000000000078",
},
"noteRichText": {
- "id": "00000000-0000-0000-0000-000000000084",
+ "id": "00000000-0000-0000-0000-000000000079",
},
},
},
"note": {
- "id": "00000000-0000-0000-0000-000000000085",
+ "id": "00000000-0000-0000-0000-000000000080",
"widgets": {
"noteRichText": {
- "id": "00000000-0000-0000-0000-000000000086",
+ "id": "00000000-0000-0000-0000-000000000081",
},
},
},
"timeline": {
- "id": "00000000-0000-0000-0000-000000000087",
+ "id": "00000000-0000-0000-0000-000000000082",
"widgets": {
"timeline": {
- "id": "00000000-0000-0000-0000-000000000088",
+ "id": "00000000-0000-0000-0000-000000000083",
},
},
},
},
},
"opportunityRecordPage": {
- "id": "00000000-0000-0000-0000-000000000091",
+ "id": "00000000-0000-0000-0000-000000000086",
"tabs": {
"calendar": {
- "id": "00000000-0000-0000-0000-000000000107",
+ "id": "00000000-0000-0000-0000-000000000102",
"widgets": {
"calendar": {
- "id": "00000000-0000-0000-0000-000000000108",
+ "id": "00000000-0000-0000-0000-000000000103",
},
},
},
"emails": {
- "id": "00000000-0000-0000-0000-000000000105",
+ "id": "00000000-0000-0000-0000-000000000100",
"widgets": {
"emails": {
- "id": "00000000-0000-0000-0000-000000000106",
+ "id": "00000000-0000-0000-0000-000000000101",
},
},
},
"files": {
- "id": "00000000-0000-0000-0000-000000000103",
+ "id": "00000000-0000-0000-0000-000000000098",
"widgets": {
"files": {
- "id": "00000000-0000-0000-0000-000000000104",
+ "id": "00000000-0000-0000-0000-000000000099",
},
},
},
"home": {
- "id": "00000000-0000-0000-0000-000000000092",
+ "id": "00000000-0000-0000-0000-000000000087",
"widgets": {
"company": {
- "id": "00000000-0000-0000-0000-000000000095",
+ "id": "00000000-0000-0000-0000-000000000090",
},
"fields": {
- "id": "00000000-0000-0000-0000-000000000093",
+ "id": "00000000-0000-0000-0000-000000000088",
},
"owner": {
- "id": "00000000-0000-0000-0000-000000000096",
+ "id": "00000000-0000-0000-0000-000000000091",
},
"pointOfContact": {
- "id": "00000000-0000-0000-0000-000000000094",
+ "id": "00000000-0000-0000-0000-000000000089",
},
},
},
"notes": {
- "id": "00000000-0000-0000-0000-000000000101",
+ "id": "00000000-0000-0000-0000-000000000096",
"widgets": {
"notes": {
- "id": "00000000-0000-0000-0000-000000000102",
+ "id": "00000000-0000-0000-0000-000000000097",
},
},
},
"tasks": {
- "id": "00000000-0000-0000-0000-000000000099",
+ "id": "00000000-0000-0000-0000-000000000094",
"widgets": {
"tasks": {
- "id": "00000000-0000-0000-0000-000000000100",
+ "id": "00000000-0000-0000-0000-000000000095",
},
},
},
"timeline": {
- "id": "00000000-0000-0000-0000-000000000097",
+ "id": "00000000-0000-0000-0000-000000000092",
"widgets": {
"timeline": {
- "id": "00000000-0000-0000-0000-000000000098",
+ "id": "00000000-0000-0000-0000-000000000093",
},
},
},
},
},
"personRecordPage": {
- "id": "00000000-0000-0000-0000-000000000109",
+ "id": "00000000-0000-0000-0000-000000000104",
"tabs": {
"calendar": {
- "id": "00000000-0000-0000-0000-000000000124",
+ "id": "00000000-0000-0000-0000-000000000119",
"widgets": {
"calendar": {
- "id": "00000000-0000-0000-0000-000000000125",
+ "id": "00000000-0000-0000-0000-000000000120",
},
},
},
"emails": {
- "id": "00000000-0000-0000-0000-000000000122",
+ "id": "00000000-0000-0000-0000-000000000117",
"widgets": {
"emails": {
- "id": "00000000-0000-0000-0000-000000000123",
+ "id": "00000000-0000-0000-0000-000000000118",
},
},
},
"files": {
- "id": "00000000-0000-0000-0000-000000000120",
+ "id": "00000000-0000-0000-0000-000000000115",
"widgets": {
"files": {
- "id": "00000000-0000-0000-0000-000000000121",
+ "id": "00000000-0000-0000-0000-000000000116",
},
},
},
"home": {
- "id": "00000000-0000-0000-0000-000000000110",
+ "id": "00000000-0000-0000-0000-000000000105",
"widgets": {
"company": {
- "id": "00000000-0000-0000-0000-000000000112",
+ "id": "00000000-0000-0000-0000-000000000107",
},
"fields": {
- "id": "00000000-0000-0000-0000-000000000111",
+ "id": "00000000-0000-0000-0000-000000000106",
},
"pointOfContactForOpportunities": {
- "id": "00000000-0000-0000-0000-000000000113",
+ "id": "00000000-0000-0000-0000-000000000108",
},
},
},
"notes": {
- "id": "00000000-0000-0000-0000-000000000118",
+ "id": "00000000-0000-0000-0000-000000000113",
"widgets": {
"notes": {
- "id": "00000000-0000-0000-0000-000000000119",
+ "id": "00000000-0000-0000-0000-000000000114",
},
},
},
"tasks": {
- "id": "00000000-0000-0000-0000-000000000116",
+ "id": "00000000-0000-0000-0000-000000000111",
"widgets": {
"tasks": {
- "id": "00000000-0000-0000-0000-000000000117",
+ "id": "00000000-0000-0000-0000-000000000112",
},
},
},
"timeline": {
- "id": "00000000-0000-0000-0000-000000000114",
+ "id": "00000000-0000-0000-0000-000000000109",
"widgets": {
"timeline": {
- "id": "00000000-0000-0000-0000-000000000115",
+ "id": "00000000-0000-0000-0000-000000000110",
},
},
},
},
},
"taskRecordPage": {
- "id": "00000000-0000-0000-0000-000000000126",
+ "id": "00000000-0000-0000-0000-000000000121",
"tabs": {
"files": {
- "id": "00000000-0000-0000-0000-000000000134",
+ "id": "00000000-0000-0000-0000-000000000129",
"widgets": {
"files": {
- "id": "00000000-0000-0000-0000-000000000135",
+ "id": "00000000-0000-0000-0000-000000000130",
},
},
},
"home": {
- "id": "00000000-0000-0000-0000-000000000127",
+ "id": "00000000-0000-0000-0000-000000000122",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000128",
+ "id": "00000000-0000-0000-0000-000000000123",
},
"taskRichText": {
- "id": "00000000-0000-0000-0000-000000000129",
+ "id": "00000000-0000-0000-0000-000000000124",
},
},
},
"note": {
- "id": "00000000-0000-0000-0000-000000000130",
+ "id": "00000000-0000-0000-0000-000000000125",
"widgets": {
"taskRichText": {
- "id": "00000000-0000-0000-0000-000000000131",
+ "id": "00000000-0000-0000-0000-000000000126",
},
},
},
"timeline": {
- "id": "00000000-0000-0000-0000-000000000132",
+ "id": "00000000-0000-0000-0000-000000000127",
"widgets": {
"timeline": {
- "id": "00000000-0000-0000-0000-000000000133",
+ "id": "00000000-0000-0000-0000-000000000128",
},
},
},
},
},
"workflowAutomatedTriggerRecordPage": {
- "id": "00000000-0000-0000-0000-000000000139",
+ "id": "00000000-0000-0000-0000-000000000134",
"tabs": {
"home": {
- "id": "00000000-0000-0000-0000-000000000140",
+ "id": "00000000-0000-0000-0000-000000000135",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000141",
+ "id": "00000000-0000-0000-0000-000000000136",
},
},
},
"timeline": {
- "id": "00000000-0000-0000-0000-000000000142",
+ "id": "00000000-0000-0000-0000-000000000137",
"widgets": {
"timeline": {
- "id": "00000000-0000-0000-0000-000000000143",
+ "id": "00000000-0000-0000-0000-000000000138",
},
},
},
},
},
"workflowRecordPage": {
- "id": "00000000-0000-0000-0000-000000000136",
+ "id": "00000000-0000-0000-0000-000000000131",
"tabs": {
"flow": {
- "id": "00000000-0000-0000-0000-000000000137",
+ "id": "00000000-0000-0000-0000-000000000132",
"widgets": {
"workflow": {
- "id": "00000000-0000-0000-0000-000000000138",
+ "id": "00000000-0000-0000-0000-000000000133",
},
},
},
},
},
"workflowRunRecordPage": {
- "id": "00000000-0000-0000-0000-000000000150",
+ "id": "00000000-0000-0000-0000-000000000145",
"tabs": {
"flow": {
- "id": "00000000-0000-0000-0000-000000000154",
+ "id": "00000000-0000-0000-0000-000000000149",
"widgets": {
"workflowRun": {
- "id": "00000000-0000-0000-0000-000000000155",
+ "id": "00000000-0000-0000-0000-000000000150",
},
},
},
"home": {
- "id": "00000000-0000-0000-0000-000000000151",
+ "id": "00000000-0000-0000-0000-000000000146",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000152",
+ "id": "00000000-0000-0000-0000-000000000147",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000153",
+ "id": "00000000-0000-0000-0000-000000000148",
},
},
},
},
},
"workflowVersionRecordPage": {
- "id": "00000000-0000-0000-0000-000000000144",
+ "id": "00000000-0000-0000-0000-000000000139",
"tabs": {
"flow": {
- "id": "00000000-0000-0000-0000-000000000148",
+ "id": "00000000-0000-0000-0000-000000000143",
"widgets": {
"workflowVersion": {
- "id": "00000000-0000-0000-0000-000000000149",
+ "id": "00000000-0000-0000-0000-000000000144",
},
},
},
"home": {
- "id": "00000000-0000-0000-0000-000000000145",
+ "id": "00000000-0000-0000-0000-000000000140",
"widgets": {
"fields": {
- "id": "00000000-0000-0000-0000-000000000146",
+ "id": "00000000-0000-0000-0000-000000000141",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000147",
+ "id": "00000000-0000-0000-0000-000000000142",
},
},
},
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.ts
index 833d334b703..7676cb3b0fc 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
@@ -12,7 +12,6 @@ import { buildCalendarChannelStandardFlatFieldMetadatas } from 'src/engine/works
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 { buildConnectedAccountStandardFlatFieldMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-connected-account-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';
@@ -49,7 +48,6 @@ const STANDARD_FLAT_FIELD_METADATA_BUILDERS_BY_OBJECT_NAME = {
buildCalendarEventParticipantStandardFlatFieldMetadatas,
calendarEvent: buildCalendarEventStandardFlatFieldMetadatas,
company: buildCompanyStandardFlatFieldMetadatas,
- connectedAccount: buildConnectedAccountStandardFlatFieldMetadatas,
dashboard: buildDashboardStandardFlatFieldMetadatas,
message: buildMessageStandardFlatFieldMetadatas,
messageChannel: buildMessageChannelStandardFlatFieldMetadatas,
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.ts
index 5f5f50bae25..2c3c002022b 100644
--- 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.ts
@@ -1,11 +1,6 @@
import { msg } from '@lingui/core/macro';
import { i18nLabel } from 'src/engine/workspace-manager/twenty-standard-application/utils/i18n-label.util';
-import {
- DateDisplayFormat,
- FieldMetadataType,
- RelationOnDeleteAction,
- RelationType,
-} from 'twenty-shared/types';
+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';
@@ -13,7 +8,6 @@ import {
type CreateStandardFieldArgs,
createStandardFieldFlatMetadata,
} from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/create-standard-field-flat-metadata.util';
-import { createStandardRelationFieldFlatMetadata } from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/create-standard-relation-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';
@@ -536,29 +530,4 @@ export const buildCalendarChannelStandardFlatFieldMetadatas = ({
twentyStandardApplicationId,
now,
}),
- connectedAccount: createStandardRelationFieldFlatMetadata({
- objectName,
- workspaceId,
- context: {
- type: FieldMetadataType.RELATION,
- morphId: null,
- fieldName: 'connectedAccount',
- label: i18nLabel(msg`Connected Account`),
- description: i18nLabel(msg`Connected Account`),
- icon: 'IconUserCircle',
- isNullable: false,
- isUIReadOnly: true,
- targetObjectName: 'connectedAccount',
- targetFieldName: 'calendarChannels',
- settings: {
- relationType: RelationType.MANY_TO_ONE,
- onDelete: RelationOnDeleteAction.CASCADE,
- joinColumnName: 'connectedAccountId',
- },
- },
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
- now,
- }),
});
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-connected-account-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-connected-account-standard-flat-field-metadata.util.ts
deleted file mode 100644
index be55c4ba056..00000000000
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-connected-account-standard-flat-field-metadata.util.ts
+++ /dev/null
@@ -1,447 +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,
- RelationOnDeleteAction,
- RelationType,
-} 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 { createStandardRelationFieldFlatMetadata } from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/create-standard-relation-field-flat-metadata.util';
-import { getTsVectorColumnExpressionFromFields } from 'src/engine/workspace-manager/utils/get-ts-vector-column-expression.util';
-import { SEARCH_FIELDS_FOR_CONNECTED_ACCOUNT } from 'src/modules/connected-account/standard-objects/connected-account.workspace-entity';
-
-export const buildConnectedAccountStandardFlatFieldMetadatas = ({
- now,
- objectName,
- workspaceId,
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
-}: Omit<
- CreateStandardFieldArgs<'connectedAccount', FieldMetadataType>,
- 'context'
->): Record<
- AllStandardObjectFieldName<'connectedAccount'>,
- 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`Connected account 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_CONNECTED_ACCOUNT,
- ),
- },
- },
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
- now,
- }),
- handle: createStandardFieldFlatMetadata({
- objectName,
- workspaceId,
- context: {
- fieldName: 'handle',
- type: FieldMetadataType.TEXT,
- label: i18nLabel(msg`handle`),
- description: i18nLabel(
- msg`The account handle (email, username, phone number, etc.)`,
- ),
- icon: 'IconMail',
- isNullable: true,
- isUIReadOnly: true,
- },
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
- now,
- }),
- provider: createStandardFieldFlatMetadata({
- objectName,
- workspaceId,
- context: {
- fieldName: 'provider',
- type: FieldMetadataType.TEXT,
- label: i18nLabel(msg`provider`),
- description: i18nLabel(msg`The account provider`),
- icon: 'IconSettings',
- isNullable: false,
- isUIReadOnly: true,
- defaultValue: "'google'",
- },
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
- now,
- }),
- accessToken: createStandardFieldFlatMetadata({
- objectName,
- workspaceId,
- context: {
- fieldName: 'accessToken',
- type: FieldMetadataType.TEXT,
- label: i18nLabel(msg`Access Token`),
- description: i18nLabel(msg`Messaging provider access token`),
- icon: 'IconKey',
- isNullable: true,
- isUIReadOnly: true,
- },
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
- now,
- }),
- refreshToken: createStandardFieldFlatMetadata({
- objectName,
- workspaceId,
- context: {
- fieldName: 'refreshToken',
- type: FieldMetadataType.TEXT,
- label: i18nLabel(msg`Refresh Token`),
- description: i18nLabel(msg`Messaging provider refresh token`),
- icon: 'IconKey',
- isNullable: true,
- isUIReadOnly: true,
- },
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
- now,
- }),
- lastSyncHistoryId: createStandardFieldFlatMetadata({
- objectName,
- workspaceId,
- context: {
- fieldName: 'lastSyncHistoryId',
- type: FieldMetadataType.TEXT,
- label: i18nLabel(msg`Last sync history ID`),
- description: i18nLabel(msg`Last sync history ID`),
- icon: 'IconHistory',
- isNullable: true,
- isUIReadOnly: true,
- },
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
- now,
- }),
- authFailedAt: createStandardFieldFlatMetadata({
- objectName,
- workspaceId,
- context: {
- fieldName: 'authFailedAt',
- type: FieldMetadataType.DATE_TIME,
- label: i18nLabel(msg`Auth failed at`),
- description: i18nLabel(msg`Auth failed at`),
- icon: 'IconX',
- isNullable: true,
- isUIReadOnly: true,
- },
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
- now,
- }),
- lastCredentialsRefreshedAt: createStandardFieldFlatMetadata({
- objectName,
- workspaceId,
- context: {
- fieldName: 'lastCredentialsRefreshedAt',
- type: FieldMetadataType.DATE_TIME,
- label: i18nLabel(msg`Last credentials refreshed at`),
- description: i18nLabel(msg`Last credentials refreshed at`),
- icon: 'IconHistory',
- isNullable: true,
- isUIReadOnly: true,
- },
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
- now,
- }),
- handleAliases: createStandardFieldFlatMetadata({
- objectName,
- workspaceId,
- context: {
- fieldName: 'handleAliases',
- type: FieldMetadataType.TEXT,
- label: i18nLabel(msg`Handle Aliases`),
- description: i18nLabel(msg`Handle Aliases`),
- icon: 'IconMail',
- isNullable: true,
- isUIReadOnly: true,
- },
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
- now,
- }),
- scopes: createStandardFieldFlatMetadata({
- objectName,
- workspaceId,
- context: {
- fieldName: 'scopes',
- type: FieldMetadataType.ARRAY,
- label: i18nLabel(msg`Scopes`),
- description: i18nLabel(msg`Scopes`),
- icon: 'IconSettings',
- isNullable: true,
- isUIReadOnly: true,
- },
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
- now,
- }),
- connectionParameters: createStandardFieldFlatMetadata({
- objectName,
- workspaceId,
- context: {
- fieldName: 'connectionParameters',
- type: FieldMetadataType.RAW_JSON,
- label: i18nLabel(msg`Custom Connection Parameters`),
- description: i18nLabel(
- msg`JSON object containing custom connection parameters`,
- ),
- icon: 'IconSettings',
- isNullable: true,
- isUIReadOnly: true,
- },
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
- now,
- }),
- accountOwner: createStandardRelationFieldFlatMetadata({
- objectName,
- workspaceId,
- context: {
- type: FieldMetadataType.RELATION,
- morphId: null,
- fieldName: 'accountOwner',
- label: i18nLabel(msg`Account Owner`),
- description: i18nLabel(msg`Account Owner`),
- icon: 'IconUserCircle',
- isNullable: false,
- isUIReadOnly: true,
- targetObjectName: 'workspaceMember',
- targetFieldName: 'connectedAccounts',
- settings: {
- relationType: RelationType.MANY_TO_ONE,
- onDelete: RelationOnDeleteAction.CASCADE,
- joinColumnName: 'accountOwnerId',
- },
- },
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
- now,
- }),
- messageChannels: createStandardRelationFieldFlatMetadata({
- objectName,
- workspaceId,
- context: {
- type: FieldMetadataType.RELATION,
- morphId: null,
- fieldName: 'messageChannels',
- label: i18nLabel(msg`Message Channels`),
- description: i18nLabel(msg`Message Channels`),
- icon: 'IconMessage',
- isNullable: false,
- isUIReadOnly: true,
- targetObjectName: 'messageChannel',
- targetFieldName: 'connectedAccount',
- settings: {
- relationType: RelationType.ONE_TO_MANY,
- },
- },
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
- now,
- }),
- calendarChannels: createStandardRelationFieldFlatMetadata({
- objectName,
- workspaceId,
- context: {
- type: FieldMetadataType.RELATION,
- morphId: null,
- fieldName: 'calendarChannels',
- label: i18nLabel(msg`Calendar Channels`),
- description: i18nLabel(msg`Calendar Channels`),
- icon: 'IconCalendar',
- isNullable: false,
- isUIReadOnly: true,
- targetObjectName: 'calendarChannel',
- targetFieldName: 'connectedAccount',
- settings: {
- relationType: RelationType.ONE_TO_MANY,
- },
- },
- 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.ts
index 065a0fe07cc..bd944b047a8 100644
--- 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.ts
@@ -1,11 +1,6 @@
import { msg } from '@lingui/core/macro';
import { i18nLabel } from 'src/engine/workspace-manager/twenty-standard-application/utils/i18n-label.util';
-import {
- DateDisplayFormat,
- FieldMetadataType,
- RelationOnDeleteAction,
- RelationType,
-} from 'twenty-shared/types';
+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';
@@ -13,7 +8,6 @@ import {
type CreateStandardFieldArgs,
createStandardFieldFlatMetadata,
} from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/create-standard-field-flat-metadata.util';
-import { createStandardRelationFieldFlatMetadata } from 'src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/create-standard-relation-field-flat-metadata.util';
import { getTsVectorColumnExpressionFromFields } from 'src/engine/workspace-manager/utils/get-ts-vector-column-expression.util';
import {
MessageChannelType,
@@ -706,29 +700,4 @@ export const buildMessageChannelStandardFlatFieldMetadatas = ({
twentyStandardApplicationId,
now,
}),
- connectedAccount: createStandardRelationFieldFlatMetadata({
- objectName,
- workspaceId,
- context: {
- type: FieldMetadataType.RELATION,
- morphId: null,
- fieldName: 'connectedAccount',
- label: i18nLabel(msg`Connected Account`),
- description: i18nLabel(msg`Connected Account`),
- icon: 'IconUserCircle',
- isNullable: false,
- isUIReadOnly: true,
- targetObjectName: 'connectedAccount',
- targetFieldName: 'messageChannels',
- settings: {
- relationType: RelationType.MANY_TO_ONE,
- onDelete: RelationOnDeleteAction.CASCADE,
- joinColumnName: 'connectedAccountId',
- },
- },
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
- now,
- }),
});
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workspace-member-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workspace-member-standard-flat-field-metadata.util.ts
index ee79e34e42b..c6635be5112 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workspace-member-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workspace-member-standard-flat-field-metadata.util.ts
@@ -499,29 +499,6 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
twentyStandardApplicationId,
now,
}),
- connectedAccounts: createStandardRelationFieldFlatMetadata({
- objectName,
- workspaceId,
- context: {
- type: FieldMetadataType.RELATION,
- morphId: null,
- fieldName: 'connectedAccounts',
- label: i18nLabel(msg`Connected accounts`),
- description: i18nLabel(msg`Connected accounts`),
- icon: 'IconAt',
- isNullable: false,
- isUIReadOnly: true,
- targetObjectName: 'connectedAccount',
- targetFieldName: 'accountOwner',
- settings: {
- relationType: RelationType.ONE_TO_MANY,
- },
- },
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
- now,
- }),
messageParticipants: createStandardRelationFieldFlatMetadata({
objectName,
workspaceId,
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.ts
index 1992894e329..7e16e351a84 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
@@ -6,14 +6,11 @@ import { type AllStandardObjectName } from 'src/engine/workspace-manager/twenty-
import { buildAttachmentStandardFlatIndexMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/index/compute-attachment-standard-flat-index-metadata.util';
import { buildBlocklistStandardFlatIndexMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/index/compute-blocklist-standard-flat-index-metadata.util';
import { buildCalendarChannelEventAssociationStandardFlatIndexMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/index/compute-calendar-channel-event-association-standard-flat-index-metadata.util';
-import { buildCalendarChannelStandardFlatIndexMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/index/compute-calendar-channel-standard-flat-index-metadata.util';
import { buildCalendarEventParticipantStandardFlatIndexMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/index/compute-calendar-event-participant-standard-flat-index-metadata.util';
import { buildCompanyStandardFlatIndexMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/index/compute-company-standard-flat-index-metadata.util';
-import { buildConnectedAccountStandardFlatIndexMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/index/compute-connected-account-standard-flat-index-metadata.util';
import { 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 { buildMessageChannelStandardFlatIndexMetadatas } from 'src/engine/workspace-manager/twenty-standard-application/utils/index/compute-message-channel-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';
@@ -40,14 +37,11 @@ const STANDARD_FLAT_INDEX_METADATA_BUILDERS_BY_OBJECT_NAME = {
blocklist: buildBlocklistStandardFlatIndexMetadatas,
calendarChannelEventAssociation:
buildCalendarChannelEventAssociationStandardFlatIndexMetadatas,
- calendarChannel: buildCalendarChannelStandardFlatIndexMetadatas,
calendarEventParticipant:
buildCalendarEventParticipantStandardFlatIndexMetadatas,
company: buildCompanyStandardFlatIndexMetadatas,
- connectedAccount: buildConnectedAccountStandardFlatIndexMetadatas,
dashboard: buildDashboardStandardFlatIndexMetadatas,
message: buildMessageStandardFlatIndexMetadatas,
- messageChannel: buildMessageChannelStandardFlatIndexMetadatas,
messageChannelMessageAssociation:
buildMessageChannelMessageAssociationStandardFlatIndexMetadatas,
messageChannelMessageAssociationMessageFolder:
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/index/compute-calendar-channel-standard-flat-index-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/index/compute-calendar-channel-standard-flat-index-metadata.util.ts
deleted file mode 100644
index b3487bc36af..00000000000
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/index/compute-calendar-channel-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 buildCalendarChannelStandardFlatIndexMetadatas = ({
- now,
- objectName,
- workspaceId,
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
-}: Omit<CreateStandardIndexArgs<'calendarChannel'>, 'context'>): Record<
- AllStandardObjectIndexName<'calendarChannel'>,
- FlatIndexMetadata
-> => ({
- connectedAccountIdIndex: createStandardIndexFlatMetadata({
- objectName,
- workspaceId,
- context: {
- indexName: 'connectedAccountIdIndex',
- relatedFieldNames: ['connectedAccount'],
- },
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
- now,
- }),
-});
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/index/compute-connected-account-standard-flat-index-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/index/compute-connected-account-standard-flat-index-metadata.util.ts
deleted file mode 100644
index 75d72f1e143..00000000000
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/index/compute-connected-account-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 buildConnectedAccountStandardFlatIndexMetadatas = ({
- now,
- objectName,
- workspaceId,
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
-}: Omit<CreateStandardIndexArgs<'connectedAccount'>, 'context'>): Record<
- AllStandardObjectIndexName<'connectedAccount'>,
- FlatIndexMetadata
-> => ({
- accountOwnerIdIndex: createStandardIndexFlatMetadata({
- objectName,
- workspaceId,
- context: {
- indexName: 'accountOwnerIdIndex',
- relatedFieldNames: ['accountOwner'],
- },
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
- now,
- }),
-});
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/index/compute-message-channel-standard-flat-index-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/index/compute-message-channel-standard-flat-index-metadata.util.ts
deleted file mode 100644
index 7735020bd2f..00000000000
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/index/compute-message-channel-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 buildMessageChannelStandardFlatIndexMetadatas = ({
- now,
- objectName,
- workspaceId,
- standardObjectMetadataRelatedEntityIds,
- dependencyFlatEntityMaps,
- twentyStandardApplicationId,
-}: Omit<CreateStandardIndexArgs<'messageChannel'>, 'context'>): Record<
- AllStandardObjectIndexName<'messageChannel'>,
- FlatIndexMetadata
-> => ({
- connectedAccountIdIndex: createStandardIndexFlatMetadata({
- objectName,
- workspaceId,
- context: {
- indexName: 'connectedAccountIdIndex',
- relatedFieldNames: ['connectedAccount'],
- },
- 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.ts
index d6d4bb32f00..f1e7604e6a1 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
@@ -213,36 +213,6 @@ export const STANDARD_FLAT_OBJECT_METADATA_BUILDERS_BY_OBJECT_NAME = {
twentyStandardApplicationId,
now,
}),
- connectedAccount: ({
- now,
- workspaceId,
- standardObjectMetadataRelatedEntityIds,
- twentyStandardApplicationId,
- dependencyFlatEntityMaps,
- }: Omit<
- CreateStandardObjectArgs<'connectedAccount'>,
- 'context' | 'objectName'
- >) =>
- createStandardObjectFlatMetadata({
- objectName: 'connectedAccount',
- dependencyFlatEntityMaps,
- context: {
- universalIdentifier:
- STANDARD_OBJECTS.connectedAccount.universalIdentifier,
- nameSingular: 'connectedAccount',
- namePlural: 'connectedAccounts',
- labelSingular: i18nLabel(msg`Connected Account`),
- labelPlural: i18nLabel(msg`Connected Accounts`),
- description: i18nLabel(msg`A connected account`),
- icon: 'IconAt',
- isSystem: true,
- labelIdentifierFieldMetadataName: 'handle',
- },
- workspaceId,
- standardObjectMetadataRelatedEntityIds,
- twentyStandardApplicationId,
- now,
- }),
dashboard: ({
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.ts
index 3cddbc0e8b8..b5292a58c69 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
@@ -3,7 +3,6 @@ export { STANDARD_CALENDAR_CHANNEL_EVENT_ASSOCIATION_PAGE_LAYOUT_CONFIG } from '
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_CONNECTED_ACCOUNT_PAGE_LAYOUT_CONFIG } from './standard-connected-account-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';
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/standard-connected-account-page-layout.config.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/standard-connected-account-page-layout.config.ts
deleted file mode 100644
index cac873035f9..00000000000
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-config/standard-connected-account-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 CONNECTED_ACCOUNT_PAGE_TABS = {
- home: {
- universalIdentifier: '20202020-ab0d-400d-800d-c0aec10d0d01',
- ...TAB_PROPS.home,
- widgets: {
- fields: {
- universalIdentifier: '20202020-ac0d-400d-800d-c0aec10d0d11',
- ...WIDGET_PROPS.fields,
- },
- },
- },
- timeline: {
- universalIdentifier: '20202020-ab0d-400d-800d-c0aec10d0d02',
- ...TAB_PROPS.timeline,
- widgets: {
- timeline: {
- universalIdentifier: '20202020-ac0d-400d-800d-c0aec10d0d21',
- ...WIDGET_PROPS.timeline,
- },
- },
- },
-} as const satisfies Record<string, StandardPageLayoutTabConfig>;
-
-export const STANDARD_CONNECTED_ACCOUNT_PAGE_LAYOUT_CONFIG = {
- name: 'Default Connected Account Layout',
- type: PageLayoutType.RECORD_PAGE,
- objectUniversalIdentifier:
- STANDARD_OBJECTS.connectedAccount.universalIdentifier,
- universalIdentifier: '20202020-a10d-400d-800d-c0aec10d0001',
- defaultTabUniversalIdentifier: null,
- tabs: CONNECTED_ACCOUNT_PAGE_TABS,
-} as const satisfies StandardPageLayoutConfig;
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-widget/build-standard-flat-page-layout-widget-metadata-maps.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/page-layout-widget/build-standard-flat-page-layout-widget-metadata-maps.util.ts
index 26f6bac32a4..0a3705cda21 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
@@ -71,7 +71,6 @@ const RECORD_PAGE_FIELDS_VIEW_NAME_BY_OBJECT: Partial<
'calendarChannelEventAssociationRecordPageFields',
calendarEventParticipant: 'calendarEventParticipantRecordPageFields',
company: 'companyRecordPageFields',
- connectedAccount: 'connectedAccountRecordPageFields',
messageChannel: 'messageChannelRecordPageFields',
messageChannelMessageAssociation:
'messageChannelMessageAssociationRecordPageFields',
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.ts
index bc0c88697e6..67b768196aa 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
@@ -8,7 +8,6 @@ import { computeStandardCalendarChannelViewFieldGroups } from 'src/engine/worksp
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 { computeStandardConnectedAccountViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-connected-account-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';
@@ -35,7 +34,6 @@ const STANDARD_FLAT_VIEW_FIELD_GROUP_METADATA_BUILDERS_BY_OBJECT_NAME = {
calendarEventParticipant:
computeStandardCalendarEventParticipantViewFieldGroups,
company: computeStandardCompanyViewFieldGroups,
- connectedAccount: computeStandardConnectedAccountViewFieldGroups,
messageChannel: computeStandardMessageChannelViewFieldGroups,
messageChannelMessageAssociation:
computeStandardMessageChannelMessageAssociationViewFieldGroups,
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-connected-account-view-field-groups.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-connected-account-view-field-groups.util.ts
deleted file mode 100644
index 035695f8e96..00000000000
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-connected-account-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 computeStandardConnectedAccountViewFieldGroups = (
- args: Omit<CreateStandardViewFieldGroupArgs<'connectedAccount'>, 'context'>,
-): Record<string, FlatViewFieldGroup> => {
- return {
- connectedAccountRecordPageFieldsGeneral:
- createStandardViewFieldGroupFlatMetadata({
- ...args,
- objectName: 'connectedAccount',
- context: {
- viewName: 'connectedAccountRecordPageFields',
- viewFieldGroupName: 'general',
- name: 'General',
- position: 0,
- isVisible: true,
- },
- }),
- connectedAccountRecordPageFieldsSystem:
- createStandardViewFieldGroupFlatMetadata({
- ...args,
- objectName: 'connectedAccount',
- context: {
- viewName: 'connectedAccountRecordPageFields',
- 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.ts
index 39996c3f267..2eb4233e973 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
@@ -10,7 +10,6 @@ import { computeStandardCalendarChannelViewFields } from 'src/engine/workspace-m
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 { computeStandardConnectedAccountViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-connected-account-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';
@@ -46,7 +45,6 @@ const STANDARD_FLAT_VIEW_FIELD_METADATA_BUILDERS_BY_OBJECT_NAME = {
calendarEvent: computeStandardCalendarEventViewFields,
calendarEventParticipant: computeStandardCalendarEventParticipantViewFields,
company: computeStandardCompanyViewFields,
- connectedAccount: computeStandardConnectedAccountViewFields,
dashboard: computeStandardDashboardViewFields,
message: computeStandardMessageViewFields,
messageChannel: computeStandardMessageChannelViewFields,
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.ts
index f56bff725c9..4c5c25edd09 100644
--- 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.ts
@@ -20,18 +20,6 @@ export const computeStandardCalendarChannelViewFields = (
size: 150,
},
}),
- allCalendarChannelsConnectedAccount: createStandardViewFieldFlatMetadata({
- ...args,
- objectName: 'calendarChannel',
- context: {
- viewName: 'allCalendarChannels',
- viewFieldName: 'connectedAccount',
- fieldName: 'connectedAccount',
- position: 1,
- isVisible: true,
- size: 150,
- },
- }),
allCalendarChannelsVisibility: createStandardViewFieldFlatMetadata({
...args,
objectName: 'calendarChannel',
@@ -81,20 +69,6 @@ export const computeStandardCalendarChannelViewFields = (
},
}),
- calendarChannelRecordPageFieldsConnectedAccount:
- createStandardViewFieldFlatMetadata({
- ...args,
- objectName: 'calendarChannel',
- context: {
- viewName: 'calendarChannelRecordPageFields',
- viewFieldName: 'connectedAccount',
- fieldName: 'connectedAccount',
- position: 1,
- isVisible: true,
- size: 150,
- viewFieldGroupName: 'general',
- },
- }),
calendarChannelRecordPageFieldsVisibility:
createStandardViewFieldFlatMetadata({
...args,
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-connected-account-view-fields.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-connected-account-view-fields.util.ts
deleted file mode 100644
index c0301c91482..00000000000
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-connected-account-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 computeStandardConnectedAccountViewFields = (
- args: Omit<CreateStandardViewFieldArgs<'connectedAccount'>, 'context'>,
-): Record<string, FlatViewField> => {
- return {
- allConnectedAccountsHandle: createStandardViewFieldFlatMetadata({
- ...args,
- objectName: 'connectedAccount',
- context: {
- viewName: 'allConnectedAccounts',
- viewFieldName: 'handle',
- fieldName: 'handle',
- position: 0,
- isVisible: true,
- size: 150,
- },
- }),
- allConnectedAccountsProvider: createStandardViewFieldFlatMetadata({
- ...args,
- objectName: 'connectedAccount',
- context: {
- viewName: 'allConnectedAccounts',
- viewFieldName: 'provider',
- fieldName: 'provider',
- position: 1,
- isVisible: true,
- size: 150,
- },
- }),
- allConnectedAccountsAccountOwner: createStandardViewFieldFlatMetadata({
- ...args,
- objectName: 'connectedAccount',
- context: {
- viewName: 'allConnectedAccounts',
- viewFieldName: 'accountOwner',
- fieldName: 'accountOwner',
- position: 2,
- isVisible: true,
- size: 150,
- },
- }),
- allConnectedAccountsAuthFailedAt: createStandardViewFieldFlatMetadata({
- ...args,
- objectName: 'connectedAccount',
- context: {
- viewName: 'allConnectedAccounts',
- viewFieldName: 'authFailedAt',
- fieldName: 'authFailedAt',
- position: 3,
- isVisible: true,
- size: 150,
- },
- }),
- allConnectedAccountsCreatedAt: createStandardViewFieldFlatMetadata({
- ...args,
- objectName: 'connectedAccount',
- context: {
- viewName: 'allConnectedAccounts',
- viewFieldName: 'createdAt',
- fieldName: 'createdAt',
- position: 4,
- isVisible: true,
- size: 150,
- },
- }),
-
- connectedAccountRecordPageFieldsProvider:
- createStandardViewFieldFlatMetadata({
- ...args,
- objectName: 'connectedAccount',
- context: {
- viewName: 'connectedAccountRecordPageFields',
- viewFieldName: 'provider',
- fieldName: 'provider',
- position: 1,
- isVisible: true,
- size: 150,
- viewFieldGroupName: 'general',
- },
- }),
- connectedAccountRecordPageFieldsAccountOwner:
- createStandardViewFieldFlatMetadata({
- ...args,
- objectName: 'connectedAccount',
- context: {
- viewName: 'connectedAccountRecordPageFields',
- viewFieldName: 'accountOwner',
- fieldName: 'accountOwner',
- position: 2,
- isVisible: true,
- size: 150,
- viewFieldGroupName: 'general',
- },
- }),
- connectedAccountRecordPageFieldsAuthFailedAt:
- createStandardViewFieldFlatMetadata({
- ...args,
- objectName: 'connectedAccount',
- context: {
- viewName: 'connectedAccountRecordPageFields',
- viewFieldName: 'authFailedAt',
- fieldName: 'authFailedAt',
- position: 3,
- isVisible: true,
- size: 150,
- viewFieldGroupName: 'general',
- },
- }),
- connectedAccountRecordPageFieldsCreatedAt:
- createStandardViewFieldFlatMetadata({
- ...args,
- objectName: 'connectedAccount',
- context: {
- viewName: 'connectedAccountRecordPageFields',
- viewFieldName: 'createdAt',
- fieldName: 'createdAt',
- position: 0,
- isVisible: true,
- size: 150,
- viewFieldGroupName: 'system',
- },
- }),
- connectedAccountRecordPageFieldsCreatedBy:
- createStandardViewFieldFlatMetadata({
- ...args,
- objectName: 'connectedAccount',
- context: {
- viewName: 'connectedAccountRecordPageFields',
- 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.ts
index 187486e45fc..00b8f1fc6a0 100644
--- 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.ts
@@ -20,18 +20,6 @@ export const computeStandardMessageChannelViewFields = (
size: 150,
},
}),
- allMessageChannelsConnectedAccount: createStandardViewFieldFlatMetadata({
- ...args,
- objectName: 'messageChannel',
- context: {
- viewName: 'allMessageChannels',
- viewFieldName: 'connectedAccount',
- fieldName: 'connectedAccount',
- position: 1,
- isVisible: true,
- size: 150,
- },
- }),
allMessageChannelsType: createStandardViewFieldFlatMetadata({
...args,
objectName: 'messageChannel',
@@ -93,20 +81,6 @@ export const computeStandardMessageChannelViewFields = (
},
}),
- messageChannelRecordPageFieldsConnectedAccount:
- createStandardViewFieldFlatMetadata({
- ...args,
- objectName: 'messageChannel',
- context: {
- viewName: 'messageChannelRecordPageFields',
- viewFieldName: 'connectedAccount',
- fieldName: 'connectedAccount',
- position: 1,
- isVisible: true,
- size: 150,
- viewFieldGroupName: 'general',
- },
- }),
messageChannelRecordPageFieldsType: createStandardViewFieldFlatMetadata({
...args,
objectName: 'messageChannel',
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.ts
index a4265bf331a..be3c4d5768e 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
@@ -10,7 +10,6 @@ import { computeStandardCalendarChannelEventAssociationViews } from 'src/engine/
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';
import { computeStandardCompanyViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-company-views.util';
-import { computeStandardConnectedAccountViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-connected-account-views.util';
import { 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';
@@ -46,7 +45,6 @@ const STANDARD_FLAT_VIEW_METADATA_BUILDERS_BY_OBJECT_NAME = {
calendarEvent: computeStandardCalendarEventViews,
calendarEventParticipant: computeStandardCalendarEventParticipantViews,
company: computeStandardCompanyViews,
- connectedAccount: computeStandardConnectedAccountViews,
dashboard: computeStandardDashboardViews,
message: computeStandardMessageViews,
messageChannel: computeStandardMessageChannelViews,
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-connected-account-views.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-connected-account-views.util.ts
deleted file mode 100644
index 465ac94d4a5..00000000000
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-connected-account-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 computeStandardConnectedAccountViews = (
- args: Omit<CreateStandardViewArgs<'connectedAccount'>, 'context'>,
-): Record<string, FlatView> => {
- return {
- allConnectedAccounts: createStandardViewFlatMetadata({
- ...args,
- objectName: 'connectedAccount',
- context: {
- viewName: 'allConnectedAccounts',
- name: 'All {objectLabelPlural}',
- type: ViewType.TABLE,
- key: ViewKey.INDEX,
- position: 0,
- icon: 'IconList',
- },
- }),
- connectedAccountRecordPageFields: createStandardViewFlatMetadata({
- ...args,
- objectName: 'connectedAccount',
- context: {
- viewName: 'connectedAccountRecordPageFields',
- name: 'Connected Account 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.ts
index 185b9b04f39..7464654c400 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
@@ -11,7 +11,6 @@ export const STANDARD_OBJECT_ICONS = {
calendarEvent: 'IconCalendar',
comment: 'IconMessageCircle',
company: 'IconBuildingSkyscraper',
- connectedAccount: 'IconAt',
dashboard: 'IconLayoutDashboard',
auditLog: 'IconTimelineEvent',
messageChannelMessageAssociation: 'IconMessage',
diff --git a/packages/twenty-server/src/modules/calendar/common/standard-objects/calendar-channel.workspace-entity.ts b/packages/twenty-server/src/modules/calendar/common/standard-objects/calendar-channel.workspace-entity.ts
index 70b0d59b658..83b1514ec5e 100644
--- a/packages/twenty-server/src/modules/calendar/common/standard-objects/calendar-channel.workspace-entity.ts
+++ b/packages/twenty-server/src/modules/calendar/common/standard-objects/calendar-channel.workspace-entity.ts
@@ -12,7 +12,6 @@ import { BaseWorkspaceEntity } from 'src/engine/twenty-orm/base.workspace-entity
import { type FieldTypeAndNameMetadata } from 'src/engine/workspace-manager/utils/get-ts-vector-column-expression.util';
import { type EntityRelation } from 'src/engine/workspace-manager/workspace-migration/types/entity-relation.interface';
import { type CalendarChannelEventAssociationWorkspaceEntity } from 'src/modules/calendar/common/standard-objects/calendar-channel-event-association.workspace-entity';
-import { type ConnectedAccountWorkspaceEntity } from 'src/modules/connected-account/standard-objects/connected-account.workspace-entity';
export {
CalendarChannelContactAutoCreationPolicy,
@@ -55,7 +54,6 @@ export class CalendarChannelWorkspaceEntity extends BaseWorkspaceEntity {
syncedAt: string | null;
syncStageStartedAt: string | null;
throttleFailureCount: number;
- connectedAccount: EntityRelation<ConnectedAccountWorkspaceEntity>;
connectedAccountId: string;
calendarChannelEventAssociations: EntityRelation<
CalendarChannelEventAssociationWorkspaceEntity[]
diff --git a/packages/twenty-server/src/modules/connected-account/standard-objects/connected-account.workspace-entity.ts b/packages/twenty-server/src/modules/connected-account/standard-objects/connected-account.workspace-entity.ts
deleted file mode 100644
index 17dcfd0f823..00000000000
--- a/packages/twenty-server/src/modules/connected-account/standard-objects/connected-account.workspace-entity.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-import {
- type ConnectedAccountProvider,
- FieldMetadataType,
-} from 'twenty-shared/types';
-
-import { type ImapSmtpCaldavParams } from 'src/engine/core-modules/imap-smtp-caldav-connection/types/imap-smtp-caldav-connection.type';
-import { BaseWorkspaceEntity } from 'src/engine/twenty-orm/base.workspace-entity';
-import { type FieldTypeAndNameMetadata } from 'src/engine/workspace-manager/utils/get-ts-vector-column-expression.util';
-import { type EntityRelation } from 'src/engine/workspace-manager/workspace-migration/types/entity-relation.interface';
-import { type WorkspaceMemberWorkspaceEntity } from 'src/modules/workspace-member/standard-objects/workspace-member.workspace-entity';
-
-const HANDLE_FIELD_NAME = 'handle';
-
-export const SEARCH_FIELDS_FOR_CONNECTED_ACCOUNT: FieldTypeAndNameMetadata[] = [
- { name: HANDLE_FIELD_NAME, type: FieldMetadataType.TEXT },
-];
-
-export class ConnectedAccountWorkspaceEntity extends BaseWorkspaceEntity {
- handle: string | null;
- provider: ConnectedAccountProvider;
- accessToken: string | null;
- refreshToken: string | null;
- lastCredentialsRefreshedAt: Date | null;
- lastSyncHistoryId: string | null;
- authFailedAt: Date | null;
- handleAliases: string[] | null;
- scopes: string[] | null;
- connectionParameters: ImapSmtpCaldavParams | null;
- accountOwner: EntityRelation<WorkspaceMemberWorkspaceEntity>;
- accountOwnerId: string;
-}
diff --git a/packages/twenty-server/src/modules/messaging/common/standard-objects/message-channel.workspace-entity.ts b/packages/twenty-server/src/modules/messaging/common/standard-objects/message-channel.workspace-entity.ts
index 49b0ca838cf..ad57d9495e1 100644
--- a/packages/twenty-server/src/modules/messaging/common/standard-objects/message-channel.workspace-entity.ts
+++ b/packages/twenty-server/src/modules/messaging/common/standard-objects/message-channel.workspace-entity.ts
@@ -14,7 +14,6 @@ import {
import { BaseWorkspaceEntity } from 'src/engine/twenty-orm/base.workspace-entity';
import { type FieldTypeAndNameMetadata } from 'src/engine/workspace-manager/utils/get-ts-vector-column-expression.util';
import { type EntityRelation } from 'src/engine/workspace-manager/workspace-migration/types/entity-relation.interface';
-import { type ConnectedAccountWorkspaceEntity } from 'src/modules/connected-account/standard-objects/connected-account.workspace-entity';
import { type MessageChannelMessageAssociationWorkspaceEntity } from 'src/modules/messaging/common/standard-objects/message-channel-message-association.workspace-entity';
import { type MessageFolderWorkspaceEntity } from 'src/modules/messaging/common/standard-objects/message-folder.workspace-entity';
@@ -80,7 +79,6 @@ export class MessageChannelWorkspaceEntity extends BaseWorkspaceEntity {
syncStageStartedAt: string | null;
throttleFailureCount: number;
throttleRetryAfter: string | null;
- connectedAccount: EntityRelation<ConnectedAccountWorkspaceEntity>;
connectedAccountId: string;
messageChannelMessageAssociations: EntityRelation<
MessageChannelMessageAssociationWorkspaceEntity[]
diff --git a/packages/twenty-server/src/modules/workspace-member/standard-objects/workspace-member.workspace-entity.ts b/packages/twenty-server/src/modules/workspace-member/standard-objects/workspace-member.workspace-entity.ts
index db1eeb20b68..cd34b27a795 100644
--- a/packages/twenty-server/src/modules/workspace-member/standard-objects/workspace-member.workspace-entity.ts
+++ b/packages/twenty-server/src/modules/workspace-member/standard-objects/workspace-member.workspace-entity.ts
@@ -10,7 +10,6 @@ import { type AttachmentWorkspaceEntity } from 'src/modules/attachment/standard-
import { type BlocklistWorkspaceEntity } from 'src/modules/blocklist/standard-objects/blocklist.workspace-entity';
import { type CalendarEventParticipantWorkspaceEntity } from 'src/modules/calendar/common/standard-objects/calendar-event-participant.workspace-entity';
import { type CompanyWorkspaceEntity } from 'src/modules/company/standard-objects/company.workspace-entity';
-import { type ConnectedAccountWorkspaceEntity } from 'src/modules/connected-account/standard-objects/connected-account.workspace-entity';
import { type MessageParticipantWorkspaceEntity } from 'src/modules/messaging/common/standard-objects/message-participant.workspace-entity';
import { type OpportunityWorkspaceEntity } from 'src/modules/opportunity/standard-objects/opportunity.workspace-entity';
import { type TaskWorkspaceEntity } from 'src/modules/task/standard-objects/task.workspace-entity';
@@ -76,7 +75,6 @@ export class WorkspaceMemberWorkspaceEntity extends BaseWorkspaceEntity {
assignedTasks: Relation<TaskWorkspaceEntity[]>;
accountOwnerForCompanies: Relation<CompanyWorkspaceEntity[]>;
authoredAttachments: Relation<AttachmentWorkspaceEntity[]>;
- connectedAccounts: Relation<ConnectedAccountWorkspaceEntity[]>;
messageParticipants: Relation<MessageParticipantWorkspaceEntity[]>;
blocklist: Relation<BlocklistWorkspaceEntity[]>;
calendarEventParticipants: Relation<
diff --git a/packages/twenty-shared/src/constants/ObjectsWithChannelVisibilityConstraints.ts b/packages/twenty-shared/src/constants/ObjectsWithChannelVisibilityConstraints.ts
index eec19efcb2b..5899b03bb3e 100644
--- a/packages/twenty-shared/src/constants/ObjectsWithChannelVisibilityConstraints.ts
+++ b/packages/twenty-shared/src/constants/ObjectsWithChannelVisibilityConstraints.ts
@@ -7,7 +7,6 @@
// this list can be removed.
export const OBJECTS_WITH_CHANNEL_VISIBILITY_CONSTRAINTS = [
'blocklist',
- 'connectedAccount',
'message',
'messageThread',
'messageChannel',
diff --git a/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts b/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts
index 90549facd69..fc792a56bde 100644
--- a/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts
+++ b/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts
@@ -310,9 +310,6 @@ export const STANDARD_OBJECTS = {
deletedAt: {
universalIdentifier: '20202020-c02d-4034-9d34-4d5f6e7f8a9b',
},
- connectedAccount: {
- universalIdentifier: '20202020-95b1-4f44-82dc-61b042ae2414',
- },
handle: {
universalIdentifier: '20202020-1d08-420a-9aa7-22e0f298232d',
},
@@ -359,11 +356,7 @@ export const STANDARD_OBJECTS = {
universalIdentifier: 'bc9a982c-c314-49d6-818a-2661ce7e918f',
},
},
- indexes: {
- connectedAccountIdIndex: {
- universalIdentifier: '58b4d9e3-0a25-4c7f-9d6e-2b3c4a5f6d70',
- },
- },
+ indexes: {},
views: {
allCalendarChannels: {
universalIdentifier: '2d11659c-68ae-4ff2-882f-f1cccde372d0',
@@ -371,9 +364,6 @@ export const STANDARD_OBJECTS = {
handle: {
universalIdentifier: 'dc7ea888-79d6-4b8c-acdd-a72abe8e6326',
},
- connectedAccount: {
- universalIdentifier: '0fff693f-2149-4fdb-a85c-52f2d89322f2',
- },
visibility: {
universalIdentifier: 'a308409d-ee09-4588-b3b2-31b71bced64d',
},
@@ -399,9 +389,6 @@ export const STANDARD_OBJECTS = {
},
},
viewFields: {
- connectedAccount: {
- universalIdentifier: 'bdb40f41-f9ba-4b59-a8cf-878c23701ab3',
- },
visibility: {
universalIdentifier: '2d9f8c64-12be-4bb1-b0d4-977d89853498',
},
@@ -827,127 +814,6 @@ export const STANDARD_OBJECTS = {
},
},
},
- connectedAccount: {
- universalIdentifier: '20202020-977e-46b2-890b-c3002ddfd5c5',
- fields: {
- id: { universalIdentifier: '20202020-c06a-4071-8a71-5c6d7e8f9aab' },
- createdAt: {
- universalIdentifier: '20202020-c06b-4072-9b72-6d7e8f9aabbc',
- },
- updatedAt: {
- universalIdentifier: '20202020-c06c-4073-8c73-7e8f9aabbccd',
- },
- deletedAt: {
- universalIdentifier: '20202020-c06d-4074-9d74-8f9aabbccdde',
- },
- handle: {
- universalIdentifier: '20202020-c804-4a50-bb05-b3a9e24f1dec',
- },
- provider: {
- universalIdentifier: '20202020-ebb0-4516-befc-a9e95935efd5',
- },
- accessToken: {
- universalIdentifier: '20202020-707b-4a0a-8753-2ad42efe1e29',
- },
- refreshToken: {
- universalIdentifier: '20202020-532d-48bd-80a5-c4be6e7f6e49',
- },
- accountOwner: {
- universalIdentifier: '20202020-3517-4896-afac-b1d0aa362af6',
- },
- lastSyncHistoryId: {
- universalIdentifier: '20202020-115c-4a87-b50f-ac4367a971b9',
- },
- authFailedAt: {
- universalIdentifier: '20202020-d268-4c6b-baff-400d402b430a',
- },
- lastCredentialsRefreshedAt: {
- universalIdentifier: '20202020-aa5e-4e85-903b-fdf90a941941',
- },
- messageChannels: {
- universalIdentifier: '20202020-24f7-4362-8468-042204d1e445',
- },
- calendarChannels: {
- universalIdentifier: '20202020-af4a-47bb-99ec-51911c1d3977',
- },
- handleAliases: {
- universalIdentifier: '20202020-8a3d-46be-814f-6228af16c47b',
- },
- scopes: {
- universalIdentifier: '20202020-8a3d-46be-814f-6228af16c47c',
- },
- connectionParameters: {
- universalIdentifier: '20202020-a1b2-46be-814f-6228af16c481',
- },
- createdBy: {
- universalIdentifier: 'e09c2463-9ca6-4004-97ce-6039e3161a5d',
- },
- updatedBy: {
- universalIdentifier: '0a84c0e1-f9fc-47d5-8ac9-58538e50a9f9',
- },
- position: {
- universalIdentifier: '66b7bc3e-c99e-42b6-82e6-6f43142c0f2f',
- },
- searchVector: {
- universalIdentifier: '140767fe-0aa4-4573-a0bd-67cb657c9452',
- },
- },
- indexes: {
- accountOwnerIdIndex: {
- universalIdentifier: '8e7ca28e-6002-4304-9dcc-0a8da93ca198',
- },
- },
- views: {
- allConnectedAccounts: {
- universalIdentifier: '0f47f1d8-63bf-443a-a29a-319ff4543abb',
- viewFields: {
- handle: {
- universalIdentifier: '84515ac3-6154-4860-8b29-10316ba3b6fb',
- },
- provider: {
- universalIdentifier: 'dde13525-685c-4476-adba-6d4fd3c92672',
- },
- accountOwner: {
- universalIdentifier: '7b5b84e1-8441-4c8c-a113-4fc184b24ba8',
- },
- authFailedAt: {
- universalIdentifier: '66c8d3d4-3505-46a4-85ec-8bad314aa257',
- },
- createdAt: {
- universalIdentifier: '8ff5aa14-69d3-4294-b266-d141d7e12dae',
- },
- },
- },
- connectedAccountRecordPageFields: {
- universalIdentifier: '1cc895ca-fe99-44bc-bc1e-19c935ef2595',
- viewFieldGroups: {
- general: {
- universalIdentifier: '428a9949-71f4-4ebf-9160-1da43f1113ff',
- },
- system: {
- universalIdentifier: 'ce9f7f72-583e-4415-a82f-e1f4b2cc8e2f',
- },
- },
- viewFields: {
- provider: {
- universalIdentifier: '83171d2a-0d11-42b1-991d-8d4346b02cff',
- },
- accountOwner: {
- universalIdentifier: '399a5e57-abab-42b1-b3f6-029a33d62e30',
- },
- authFailedAt: {
- universalIdentifier: 'ad52cc4e-fd75-4b11-8915-c8a7c96ce500',
- },
- createdAt: {
- universalIdentifier: 'eda84724-d30e-406d-9858-016dcd46ac49',
- },
- createdBy: {
- universalIdentifier: '1335696e-31cf-4a5e-aabf-89b45dd80b33',
- },
- },
- },
- },
- },
dashboard: {
universalIdentifier: '20202020-3840-4b6d-9425-0c5188b05ca8',
fields: {
@@ -1227,9 +1093,6 @@ export const STANDARD_OBJECTS = {
handle: {
universalIdentifier: '20202020-2c96-43c3-93e3-ed6b1acb69bc',
},
- connectedAccount: {
- universalIdentifier: '20202020-49a2-44a4-b470-282c0440d15d',
- },
type: { universalIdentifier: '20202020-ae95-42d9-a3f1-797a2ea22122' },
isContactAutoCreationEnabled: {
universalIdentifier: '20202020-fabd-4f14-b7c6-3310f6d132c6',
@@ -1286,11 +1149,7 @@ export const STANDARD_OBJECTS = {
universalIdentifier: '5e84794c-6f14-4bdf-81a6-76ee11cda51f',
},
},
- indexes: {
- connectedAccountIdIndex: {
- universalIdentifier: 'ab09a386-4dcc-41f7-8dc6-a6071e9c64b7',
- },
- },
+ indexes: {},
views: {
allMessageChannels: {
universalIdentifier: '95f57f8e-eaac-46f7-b364-4ef8208f165f',
@@ -1298,9 +1157,6 @@ export const STANDARD_OBJECTS = {
handle: {
universalIdentifier: 'f71a30b0-ee4a-4d36-847a-d0c99134fbb8',
},
- connectedAccount: {
- universalIdentifier: '0128fd40-7958-4cc5-9c73-7ddb7820d3ec',
- },
type: {
universalIdentifier: 'fa480cec-938c-4216-95fe-ba4335e20a41',
},
@@ -1329,9 +1185,6 @@ export const STANDARD_OBJECTS = {
},
},
viewFields: {
- connectedAccount: {
- universalIdentifier: '19079cf6-2a9c-40b9-b6c2-58d63c6e37ad',
- },
type: {
universalIdentifier: '280b9097-0bcf-4389-9ee7-fa89990d1369',
},
@@ -3136,9 +2989,6 @@ export const STANDARD_OBJECTS = {
accountOwnerForCompanies: {
universalIdentifier: '20202020-dc29-4bd4-a3c1-29eafa324bee',
},
- connectedAccounts: {
- universalIdentifier: '20202020-e322-4bde-a525-727079b4a100',
- },
messageParticipants: {
universalIdentifier: '20202020-8f99-48bc-a5eb-edd33dd54188',
},
diff --git a/packages/twenty-shared/src/types/CoreObjectNameSingular.ts b/packages/twenty-shared/src/types/CoreObjectNameSingular.ts
index ec7ca8252ac..b889bf0d17e 100644
--- a/packages/twenty-shared/src/types/CoreObjectNameSingular.ts
+++ b/packages/twenty-shared/src/types/CoreObjectNameSingular.ts
@@ -8,7 +8,6 @@ export enum CoreObjectNameSingular {
CalendarEvent = 'calendarEvent',
Comment = 'comment',
Company = 'company',
- ConnectedAccount = 'connectedAccount',
Dashboard = 'dashboard',
TimelineActivity = 'timelineActivity',
Message = 'message',