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 130f02a409..f6e072d28c 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`] = ` { @@ -139,218 +139,371 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "id": "00000000-0000-0000-0000-000000000038", }, }, - "id": "00000000-0000-0000-0000-000000000043", - "views": undefined, + "id": "00000000-0000-0000-0000-000000000054", + "views": { + "allBlocklists": { + "id": "00000000-0000-0000-0000-000000000046", + "viewFieldGroups": {}, + "viewFields": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000045", + }, + "handle": { + "id": "00000000-0000-0000-0000-000000000043", + }, + "workspaceMember": { + "id": "00000000-0000-0000-0000-000000000044", + }, + }, + "viewGroups": {}, + }, + "blocklistRecordPageFields": { + "id": "00000000-0000-0000-0000-000000000053", + "viewFieldGroups": { + "general": { + "id": "00000000-0000-0000-0000-000000000051", + }, + "other": { + "id": "00000000-0000-0000-0000-000000000052", + }, + }, + "viewFields": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000049", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000050", + }, + "handle": { + "id": "00000000-0000-0000-0000-000000000047", + }, + "workspaceMember": { + "id": "00000000-0000-0000-0000-000000000048", + }, + }, + "viewGroups": {}, + }, + }, }, "calendarChannel": { "fields": { "calendarChannelEventAssociations": { - "id": "00000000-0000-0000-0000-000000000068", + "id": "00000000-0000-0000-0000-000000000092", }, "connectedAccount": { - "id": "00000000-0000-0000-0000-000000000061", + "id": "00000000-0000-0000-0000-000000000085", }, "contactAutoCreationPolicy": { - "id": "00000000-0000-0000-0000-000000000065", + "id": "00000000-0000-0000-0000-000000000089", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000058", + "id": "00000000-0000-0000-0000-000000000082", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000074", + "id": "00000000-0000-0000-0000-000000000098", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000060", + "id": "00000000-0000-0000-0000-000000000084", }, "handle": { - "id": "00000000-0000-0000-0000-000000000062", + "id": "00000000-0000-0000-0000-000000000086", }, "id": { - "id": "00000000-0000-0000-0000-000000000057", + "id": "00000000-0000-0000-0000-000000000081", }, "isContactAutoCreationEnabled": { - "id": "00000000-0000-0000-0000-000000000064", + "id": "00000000-0000-0000-0000-000000000088", }, "isSyncEnabled": { - "id": "00000000-0000-0000-0000-000000000066", + "id": "00000000-0000-0000-0000-000000000090", }, "position": { - "id": "00000000-0000-0000-0000-000000000076", + "id": "00000000-0000-0000-0000-000000000100", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000077", + "id": "00000000-0000-0000-0000-000000000101", }, "syncCursor": { - "id": "00000000-0000-0000-0000-000000000067", + "id": "00000000-0000-0000-0000-000000000091", }, "syncStage": { - "id": "00000000-0000-0000-0000-000000000071", + "id": "00000000-0000-0000-0000-000000000095", }, "syncStageStartedAt": { - "id": "00000000-0000-0000-0000-000000000072", + "id": "00000000-0000-0000-0000-000000000096", }, "syncStatus": { - "id": "00000000-0000-0000-0000-000000000070", + "id": "00000000-0000-0000-0000-000000000094", }, "syncedAt": { - "id": "00000000-0000-0000-0000-000000000073", + "id": "00000000-0000-0000-0000-000000000097", }, "throttleFailureCount": { - "id": "00000000-0000-0000-0000-000000000069", + "id": "00000000-0000-0000-0000-000000000093", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000059", + "id": "00000000-0000-0000-0000-000000000083", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000075", + "id": "00000000-0000-0000-0000-000000000099", }, "visibility": { - "id": "00000000-0000-0000-0000-000000000063", + "id": "00000000-0000-0000-0000-000000000087", + }, + }, + "id": "00000000-0000-0000-0000-000000000119", + "views": { + "allCalendarChannels": { + "id": "00000000-0000-0000-0000-000000000108", + "viewFieldGroups": {}, + "viewFields": { + "connectedAccount": { + "id": "00000000-0000-0000-0000-000000000103", + }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000107", + }, + "handle": { + "id": "00000000-0000-0000-0000-000000000102", + }, + "isSyncEnabled": { + "id": "00000000-0000-0000-0000-000000000105", + }, + "syncStatus": { + "id": "00000000-0000-0000-0000-000000000106", + }, + "visibility": { + "id": "00000000-0000-0000-0000-000000000104", + }, + }, + "viewGroups": {}, + }, + "calendarChannelRecordPageFields": { + "id": "00000000-0000-0000-0000-000000000118", + "viewFieldGroups": { + "general": { + "id": "00000000-0000-0000-0000-000000000116", + }, + "other": { + "id": "00000000-0000-0000-0000-000000000117", + }, + }, + "viewFields": { + "connectedAccount": { + "id": "00000000-0000-0000-0000-000000000110", + }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000114", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000115", + }, + "handle": { + "id": "00000000-0000-0000-0000-000000000109", + }, + "isSyncEnabled": { + "id": "00000000-0000-0000-0000-000000000112", + }, + "syncStatus": { + "id": "00000000-0000-0000-0000-000000000113", + }, + "visibility": { + "id": "00000000-0000-0000-0000-000000000111", + }, + }, + "viewGroups": {}, }, }, - "id": "00000000-0000-0000-0000-000000000078", - "views": undefined, }, "calendarChannelEventAssociation": { "fields": { "calendarChannel": { - "id": "00000000-0000-0000-0000-000000000048", + "id": "00000000-0000-0000-0000-000000000059", }, "calendarEvent": { - "id": "00000000-0000-0000-0000-000000000049", + "id": "00000000-0000-0000-0000-000000000060", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000045", + "id": "00000000-0000-0000-0000-000000000056", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000052", + "id": "00000000-0000-0000-0000-000000000063", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000047", + "id": "00000000-0000-0000-0000-000000000058", }, "eventExternalId": { - "id": "00000000-0000-0000-0000-000000000050", + "id": "00000000-0000-0000-0000-000000000061", }, "id": { - "id": "00000000-0000-0000-0000-000000000044", - }, - "position": { - "id": "00000000-0000-0000-0000-000000000054", - }, - "recurringEventExternalId": { - "id": "00000000-0000-0000-0000-000000000051", - }, - "searchVector": { "id": "00000000-0000-0000-0000-000000000055", }, + "position": { + "id": "00000000-0000-0000-0000-000000000065", + }, + "recurringEventExternalId": { + "id": "00000000-0000-0000-0000-000000000062", + }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000066", + }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000046", + "id": "00000000-0000-0000-0000-000000000057", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000053", + "id": "00000000-0000-0000-0000-000000000064", + }, + }, + "id": "00000000-0000-0000-0000-000000000080", + "views": { + "allCalendarChannelEventAssociations": { + "id": "00000000-0000-0000-0000-000000000071", + "viewFieldGroups": {}, + "viewFields": { + "calendarChannel": { + "id": "00000000-0000-0000-0000-000000000067", + }, + "calendarEvent": { + "id": "00000000-0000-0000-0000-000000000068", + }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000070", + }, + "eventExternalId": { + "id": "00000000-0000-0000-0000-000000000069", + }, + }, + "viewGroups": {}, + }, + "calendarChannelEventAssociationRecordPageFields": { + "id": "00000000-0000-0000-0000-000000000079", + "viewFieldGroups": { + "general": { + "id": "00000000-0000-0000-0000-000000000077", + }, + "other": { + "id": "00000000-0000-0000-0000-000000000078", + }, + }, + "viewFields": { + "calendarChannel": { + "id": "00000000-0000-0000-0000-000000000072", + }, + "calendarEvent": { + "id": "00000000-0000-0000-0000-000000000073", + }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000075", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000076", + }, + "eventExternalId": { + "id": "00000000-0000-0000-0000-000000000074", + }, + }, + "viewGroups": {}, }, }, - "id": "00000000-0000-0000-0000-000000000056", - "views": undefined, }, "calendarEvent": { "fields": { "calendarChannelEventAssociations": { - "id": "00000000-0000-0000-0000-000000000111", + "id": "00000000-0000-0000-0000-000000000173", }, "calendarEventParticipants": { - "id": "00000000-0000-0000-0000-000000000112", + "id": "00000000-0000-0000-0000-000000000174", }, "conferenceLink": { - "id": "00000000-0000-0000-0000-000000000110", + "id": "00000000-0000-0000-0000-000000000172", }, "conferenceSolution": { - "id": "00000000-0000-0000-0000-000000000109", + "id": "00000000-0000-0000-0000-000000000171", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000096", + "id": "00000000-0000-0000-0000-000000000158", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000113", + "id": "00000000-0000-0000-0000-000000000175", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000098", + "id": "00000000-0000-0000-0000-000000000160", }, "description": { - "id": "00000000-0000-0000-0000-000000000106", + "id": "00000000-0000-0000-0000-000000000168", }, "endsAt": { - "id": "00000000-0000-0000-0000-000000000103", + "id": "00000000-0000-0000-0000-000000000165", }, "externalCreatedAt": { - "id": "00000000-0000-0000-0000-000000000104", + "id": "00000000-0000-0000-0000-000000000166", }, "externalUpdatedAt": { - "id": "00000000-0000-0000-0000-000000000105", + "id": "00000000-0000-0000-0000-000000000167", }, "iCalUid": { - "id": "00000000-0000-0000-0000-000000000108", + "id": "00000000-0000-0000-0000-000000000170", }, "id": { - "id": "00000000-0000-0000-0000-000000000095", + "id": "00000000-0000-0000-0000-000000000157", }, "isCanceled": { - "id": "00000000-0000-0000-0000-000000000100", + "id": "00000000-0000-0000-0000-000000000162", }, "isFullDay": { - "id": "00000000-0000-0000-0000-000000000101", + "id": "00000000-0000-0000-0000-000000000163", }, "location": { - "id": "00000000-0000-0000-0000-000000000107", + "id": "00000000-0000-0000-0000-000000000169", }, "position": { - "id": "00000000-0000-0000-0000-000000000115", + "id": "00000000-0000-0000-0000-000000000177", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000116", + "id": "00000000-0000-0000-0000-000000000178", }, "startsAt": { - "id": "00000000-0000-0000-0000-000000000102", + "id": "00000000-0000-0000-0000-000000000164", }, "title": { - "id": "00000000-0000-0000-0000-000000000099", + "id": "00000000-0000-0000-0000-000000000161", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000097", + "id": "00000000-0000-0000-0000-000000000159", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000114", + "id": "00000000-0000-0000-0000-000000000176", }, }, - "id": "00000000-0000-0000-0000-000000000126", + "id": "00000000-0000-0000-0000-000000000188", "views": { "allCalendarEvents": { - "id": "00000000-0000-0000-0000-000000000125", + "id": "00000000-0000-0000-0000-000000000187", "viewFieldGroups": {}, "viewFields": { "conferenceLink": { - "id": "00000000-0000-0000-0000-000000000122", + "id": "00000000-0000-0000-0000-000000000184", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000124", + "id": "00000000-0000-0000-0000-000000000186", }, "endsAt": { - "id": "00000000-0000-0000-0000-000000000119", + "id": "00000000-0000-0000-0000-000000000181", }, "isCanceled": { - "id": "00000000-0000-0000-0000-000000000123", + "id": "00000000-0000-0000-0000-000000000185", }, "isFullDay": { - "id": "00000000-0000-0000-0000-000000000120", + "id": "00000000-0000-0000-0000-000000000182", }, "location": { - "id": "00000000-0000-0000-0000-000000000121", + "id": "00000000-0000-0000-0000-000000000183", }, "startsAt": { - "id": "00000000-0000-0000-0000-000000000118", + "id": "00000000-0000-0000-0000-000000000180", }, "title": { - "id": "00000000-0000-0000-0000-000000000117", + "id": "00000000-0000-0000-0000-000000000179", }, }, "viewGroups": {}, @@ -360,205 +513,278 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "calendarEventParticipant": { "fields": { "calendarEvent": { - "id": "00000000-0000-0000-0000-000000000083", + "id": "00000000-0000-0000-0000-000000000124", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000080", + "id": "00000000-0000-0000-0000-000000000121", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000090", + "id": "00000000-0000-0000-0000-000000000131", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000082", + "id": "00000000-0000-0000-0000-000000000123", }, "displayName": { - "id": "00000000-0000-0000-0000-000000000085", + "id": "00000000-0000-0000-0000-000000000126", }, "handle": { - "id": "00000000-0000-0000-0000-000000000084", + "id": "00000000-0000-0000-0000-000000000125", }, "id": { - "id": "00000000-0000-0000-0000-000000000079", + "id": "00000000-0000-0000-0000-000000000120", }, "isOrganizer": { - "id": "00000000-0000-0000-0000-000000000086", + "id": "00000000-0000-0000-0000-000000000127", }, "person": { - "id": "00000000-0000-0000-0000-000000000088", + "id": "00000000-0000-0000-0000-000000000129", }, "position": { - "id": "00000000-0000-0000-0000-000000000092", + "id": "00000000-0000-0000-0000-000000000133", }, "responseStatus": { - "id": "00000000-0000-0000-0000-000000000087", + "id": "00000000-0000-0000-0000-000000000128", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000093", + "id": "00000000-0000-0000-0000-000000000134", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000081", + "id": "00000000-0000-0000-0000-000000000122", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000091", + "id": "00000000-0000-0000-0000-000000000132", }, "workspaceMember": { - "id": "00000000-0000-0000-0000-000000000089", + "id": "00000000-0000-0000-0000-000000000130", + }, + }, + "id": "00000000-0000-0000-0000-000000000156", + "views": { + "allCalendarEventParticipants": { + "id": "00000000-0000-0000-0000-000000000143", + "viewFieldGroups": {}, + "viewFields": { + "calendarEvent": { + "id": "00000000-0000-0000-0000-000000000135", + }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000142", + }, + "displayName": { + "id": "00000000-0000-0000-0000-000000000137", + }, + "handle": { + "id": "00000000-0000-0000-0000-000000000136", + }, + "isOrganizer": { + "id": "00000000-0000-0000-0000-000000000138", + }, + "person": { + "id": "00000000-0000-0000-0000-000000000140", + }, + "responseStatus": { + "id": "00000000-0000-0000-0000-000000000139", + }, + "workspaceMember": { + "id": "00000000-0000-0000-0000-000000000141", + }, + }, + "viewGroups": {}, + }, + "calendarEventParticipantRecordPageFields": { + "id": "00000000-0000-0000-0000-000000000155", + "viewFieldGroups": { + "general": { + "id": "00000000-0000-0000-0000-000000000153", + }, + "other": { + "id": "00000000-0000-0000-0000-000000000154", + }, + }, + "viewFields": { + "calendarEvent": { + "id": "00000000-0000-0000-0000-000000000144", + }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000151", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000152", + }, + "displayName": { + "id": "00000000-0000-0000-0000-000000000146", + }, + "handle": { + "id": "00000000-0000-0000-0000-000000000145", + }, + "isOrganizer": { + "id": "00000000-0000-0000-0000-000000000147", + }, + "person": { + "id": "00000000-0000-0000-0000-000000000149", + }, + "responseStatus": { + "id": "00000000-0000-0000-0000-000000000148", + }, + "workspaceMember": { + "id": "00000000-0000-0000-0000-000000000150", + }, + }, + "viewGroups": {}, }, }, - "id": "00000000-0000-0000-0000-000000000094", - "views": undefined, }, "company": { "fields": { "accountOwner": { - "id": "00000000-0000-0000-0000-000000000143", + "id": "00000000-0000-0000-0000-000000000205", }, "address": { - "id": "00000000-0000-0000-0000-000000000133", + "id": "00000000-0000-0000-0000-000000000195", }, "annualRecurringRevenue": { - "id": "00000000-0000-0000-0000-000000000137", + "id": "00000000-0000-0000-0000-000000000199", }, "attachments": { - "id": "00000000-0000-0000-0000-000000000148", + "id": "00000000-0000-0000-0000-000000000210", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000128", + "id": "00000000-0000-0000-0000-000000000190", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000140", + "id": "00000000-0000-0000-0000-000000000202", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000130", + "id": "00000000-0000-0000-0000-000000000192", }, "domainName": { - "id": "00000000-0000-0000-0000-000000000132", + "id": "00000000-0000-0000-0000-000000000194", }, "employees": { - "id": "00000000-0000-0000-0000-000000000134", + "id": "00000000-0000-0000-0000-000000000196", }, "favorites": { - "id": "00000000-0000-0000-0000-000000000147", + "id": "00000000-0000-0000-0000-000000000209", }, "id": { - "id": "00000000-0000-0000-0000-000000000127", + "id": "00000000-0000-0000-0000-000000000189", }, "idealCustomerProfile": { - "id": "00000000-0000-0000-0000-000000000138", + "id": "00000000-0000-0000-0000-000000000200", }, "linkedinLink": { - "id": "00000000-0000-0000-0000-000000000135", + "id": "00000000-0000-0000-0000-000000000197", }, "name": { - "id": "00000000-0000-0000-0000-000000000131", + "id": "00000000-0000-0000-0000-000000000193", }, "noteTargets": { - "id": "00000000-0000-0000-0000-000000000145", + "id": "00000000-0000-0000-0000-000000000207", }, "opportunities": { - "id": "00000000-0000-0000-0000-000000000146", + "id": "00000000-0000-0000-0000-000000000208", }, "people": { - "id": "00000000-0000-0000-0000-000000000142", + "id": "00000000-0000-0000-0000-000000000204", }, "position": { - "id": "00000000-0000-0000-0000-000000000139", + "id": "00000000-0000-0000-0000-000000000201", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000150", + "id": "00000000-0000-0000-0000-000000000212", }, "taskTargets": { - "id": "00000000-0000-0000-0000-000000000144", + "id": "00000000-0000-0000-0000-000000000206", }, "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000149", + "id": "00000000-0000-0000-0000-000000000211", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000129", + "id": "00000000-0000-0000-0000-000000000191", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000141", + "id": "00000000-0000-0000-0000-000000000203", }, "xLink": { - "id": "00000000-0000-0000-0000-000000000136", + "id": "00000000-0000-0000-0000-000000000198", }, }, - "id": "00000000-0000-0000-0000-000000000174", + "id": "00000000-0000-0000-0000-000000000236", "views": { "allCompanies": { - "id": "00000000-0000-0000-0000-000000000159", + "id": "00000000-0000-0000-0000-000000000221", "viewFieldGroups": {}, "viewFields": { "accountOwner": { - "id": "00000000-0000-0000-0000-000000000154", + "id": "00000000-0000-0000-0000-000000000216", }, "address": { - "id": "00000000-0000-0000-0000-000000000158", + "id": "00000000-0000-0000-0000-000000000220", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000155", + "id": "00000000-0000-0000-0000-000000000217", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000153", + "id": "00000000-0000-0000-0000-000000000215", }, "domainName": { - "id": "00000000-0000-0000-0000-000000000152", + "id": "00000000-0000-0000-0000-000000000214", }, "employees": { - "id": "00000000-0000-0000-0000-000000000156", + "id": "00000000-0000-0000-0000-000000000218", }, "linkedinLink": { - "id": "00000000-0000-0000-0000-000000000157", + "id": "00000000-0000-0000-0000-000000000219", }, "name": { - "id": "00000000-0000-0000-0000-000000000151", + "id": "00000000-0000-0000-0000-000000000213", }, }, "viewGroups": {}, }, "companyRecordPageFields": { - "id": "00000000-0000-0000-0000-000000000173", + "id": "00000000-0000-0000-0000-000000000235", "viewFieldGroups": { "additional": { - "id": "00000000-0000-0000-0000-000000000171", + "id": "00000000-0000-0000-0000-000000000233", }, "general": { - "id": "00000000-0000-0000-0000-000000000170", + "id": "00000000-0000-0000-0000-000000000232", }, "other": { - "id": "00000000-0000-0000-0000-000000000172", + "id": "00000000-0000-0000-0000-000000000234", }, }, "viewFields": { "accountOwner": { - "id": "00000000-0000-0000-0000-000000000161", + "id": "00000000-0000-0000-0000-000000000223", }, "address": { - "id": "00000000-0000-0000-0000-000000000167", + "id": "00000000-0000-0000-0000-000000000229", }, "annualRecurringRevenue": { - "id": "00000000-0000-0000-0000-000000000162", + "id": "00000000-0000-0000-0000-000000000224", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000168", + "id": "00000000-0000-0000-0000-000000000230", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000169", + "id": "00000000-0000-0000-0000-000000000231", }, "domainName": { - "id": "00000000-0000-0000-0000-000000000160", + "id": "00000000-0000-0000-0000-000000000222", }, "employees": { - "id": "00000000-0000-0000-0000-000000000164", + "id": "00000000-0000-0000-0000-000000000226", }, "idealCustomerProfile": { - "id": "00000000-0000-0000-0000-000000000163", + "id": "00000000-0000-0000-0000-000000000225", }, "linkedinLink": { - "id": "00000000-0000-0000-0000-000000000165", + "id": "00000000-0000-0000-0000-000000000227", }, "xLink": { - "id": "00000000-0000-0000-0000-000000000166", + "id": "00000000-0000-0000-0000-000000000228", }, }, "viewGroups": {}, @@ -568,131 +794,186 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "connectedAccount": { "fields": { "accessToken": { - "id": "00000000-0000-0000-0000-000000000181", + "id": "00000000-0000-0000-0000-000000000243", }, "accountOwner": { - "id": "00000000-0000-0000-0000-000000000183", + "id": "00000000-0000-0000-0000-000000000245", }, "authFailedAt": { - "id": "00000000-0000-0000-0000-000000000185", + "id": "00000000-0000-0000-0000-000000000247", }, "calendarChannels": { - "id": "00000000-0000-0000-0000-000000000188", + "id": "00000000-0000-0000-0000-000000000250", }, "connectionParameters": { - "id": "00000000-0000-0000-0000-000000000191", + "id": "00000000-0000-0000-0000-000000000253", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000176", + "id": "00000000-0000-0000-0000-000000000238", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000192", + "id": "00000000-0000-0000-0000-000000000254", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000178", + "id": "00000000-0000-0000-0000-000000000240", }, "handle": { - "id": "00000000-0000-0000-0000-000000000179", + "id": "00000000-0000-0000-0000-000000000241", }, "handleAliases": { - "id": "00000000-0000-0000-0000-000000000189", + "id": "00000000-0000-0000-0000-000000000251", }, "id": { - "id": "00000000-0000-0000-0000-000000000175", + "id": "00000000-0000-0000-0000-000000000237", }, "lastCredentialsRefreshedAt": { - "id": "00000000-0000-0000-0000-000000000186", + "id": "00000000-0000-0000-0000-000000000248", }, "lastSyncHistoryId": { - "id": "00000000-0000-0000-0000-000000000184", + "id": "00000000-0000-0000-0000-000000000246", }, "messageChannels": { - "id": "00000000-0000-0000-0000-000000000187", + "id": "00000000-0000-0000-0000-000000000249", }, "position": { - "id": "00000000-0000-0000-0000-000000000194", + "id": "00000000-0000-0000-0000-000000000256", }, "provider": { - "id": "00000000-0000-0000-0000-000000000180", + "id": "00000000-0000-0000-0000-000000000242", }, "refreshToken": { - "id": "00000000-0000-0000-0000-000000000182", + "id": "00000000-0000-0000-0000-000000000244", }, "scopes": { - "id": "00000000-0000-0000-0000-000000000190", + "id": "00000000-0000-0000-0000-000000000252", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000195", + "id": "00000000-0000-0000-0000-000000000257", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000177", + "id": "00000000-0000-0000-0000-000000000239", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000193", + "id": "00000000-0000-0000-0000-000000000255", + }, + }, + "id": "00000000-0000-0000-0000-000000000273", + "views": { + "allConnectedAccounts": { + "id": "00000000-0000-0000-0000-000000000263", + "viewFieldGroups": {}, + "viewFields": { + "accountOwner": { + "id": "00000000-0000-0000-0000-000000000260", + }, + "authFailedAt": { + "id": "00000000-0000-0000-0000-000000000261", + }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000262", + }, + "handle": { + "id": "00000000-0000-0000-0000-000000000258", + }, + "provider": { + "id": "00000000-0000-0000-0000-000000000259", + }, + }, + "viewGroups": {}, + }, + "connectedAccountRecordPageFields": { + "id": "00000000-0000-0000-0000-000000000272", + "viewFieldGroups": { + "general": { + "id": "00000000-0000-0000-0000-000000000270", + }, + "other": { + "id": "00000000-0000-0000-0000-000000000271", + }, + }, + "viewFields": { + "accountOwner": { + "id": "00000000-0000-0000-0000-000000000266", + }, + "authFailedAt": { + "id": "00000000-0000-0000-0000-000000000267", + }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000268", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000269", + }, + "handle": { + "id": "00000000-0000-0000-0000-000000000264", + }, + "provider": { + "id": "00000000-0000-0000-0000-000000000265", + }, + }, + "viewGroups": {}, }, }, - "id": "00000000-0000-0000-0000-000000000196", - "views": undefined, }, "dashboard": { "fields": { "attachments": { - "id": "00000000-0000-0000-0000-000000000208", + "id": "00000000-0000-0000-0000-000000000285", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000198", + "id": "00000000-0000-0000-0000-000000000275", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000204", + "id": "00000000-0000-0000-0000-000000000281", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000200", + "id": "00000000-0000-0000-0000-000000000277", }, "favorites": { - "id": "00000000-0000-0000-0000-000000000207", + "id": "00000000-0000-0000-0000-000000000284", }, "id": { - "id": "00000000-0000-0000-0000-000000000197", + "id": "00000000-0000-0000-0000-000000000274", }, "pageLayoutId": { - "id": "00000000-0000-0000-0000-000000000203", + "id": "00000000-0000-0000-0000-000000000280", }, "position": { - "id": "00000000-0000-0000-0000-000000000202", + "id": "00000000-0000-0000-0000-000000000279", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000209", + "id": "00000000-0000-0000-0000-000000000286", }, "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000206", + "id": "00000000-0000-0000-0000-000000000283", }, "title": { - "id": "00000000-0000-0000-0000-000000000201", + "id": "00000000-0000-0000-0000-000000000278", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000199", + "id": "00000000-0000-0000-0000-000000000276", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000205", + "id": "00000000-0000-0000-0000-000000000282", }, }, - "id": "00000000-0000-0000-0000-000000000215", + "id": "00000000-0000-0000-0000-000000000292", "views": { "allDashboards": { - "id": "00000000-0000-0000-0000-000000000214", + "id": "00000000-0000-0000-0000-000000000291", "viewFieldGroups": {}, "viewFields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000212", + "id": "00000000-0000-0000-0000-000000000289", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000211", + "id": "00000000-0000-0000-0000-000000000288", }, "title": { - "id": "00000000-0000-0000-0000-000000000210", + "id": "00000000-0000-0000-0000-000000000287", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000213", + "id": "00000000-0000-0000-0000-000000000290", }, }, "viewGroups": {}, @@ -702,182 +983,298 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "favorite": { "fields": { "company": { - "id": "00000000-0000-0000-0000-000000000223", + "id": "00000000-0000-0000-0000-000000000300", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000217", + "id": "00000000-0000-0000-0000-000000000294", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000233", + "id": "00000000-0000-0000-0000-000000000310", }, "dashboard": { - "id": "00000000-0000-0000-0000-000000000232", + "id": "00000000-0000-0000-0000-000000000309", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000219", + "id": "00000000-0000-0000-0000-000000000296", }, "favoriteFolder": { - "id": "00000000-0000-0000-0000-000000000231", + "id": "00000000-0000-0000-0000-000000000308", }, "forWorkspaceMember": { - "id": "00000000-0000-0000-0000-000000000221", + "id": "00000000-0000-0000-0000-000000000298", }, "id": { - "id": "00000000-0000-0000-0000-000000000216", + "id": "00000000-0000-0000-0000-000000000293", }, "note": { - "id": "00000000-0000-0000-0000-000000000229", + "id": "00000000-0000-0000-0000-000000000306", }, "opportunity": { - "id": "00000000-0000-0000-0000-000000000224", + "id": "00000000-0000-0000-0000-000000000301", }, "person": { - "id": "00000000-0000-0000-0000-000000000222", + "id": "00000000-0000-0000-0000-000000000299", }, "position": { - "id": "00000000-0000-0000-0000-000000000220", + "id": "00000000-0000-0000-0000-000000000297", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000235", + "id": "00000000-0000-0000-0000-000000000312", }, "task": { - "id": "00000000-0000-0000-0000-000000000228", + "id": "00000000-0000-0000-0000-000000000305", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000218", + "id": "00000000-0000-0000-0000-000000000295", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000234", + "id": "00000000-0000-0000-0000-000000000311", }, "viewId": { - "id": "00000000-0000-0000-0000-000000000230", + "id": "00000000-0000-0000-0000-000000000307", }, "workflow": { - "id": "00000000-0000-0000-0000-000000000225", + "id": "00000000-0000-0000-0000-000000000302", }, "workflowRun": { - "id": "00000000-0000-0000-0000-000000000227", + "id": "00000000-0000-0000-0000-000000000304", }, "workflowVersion": { - "id": "00000000-0000-0000-0000-000000000226", + "id": "00000000-0000-0000-0000-000000000303", + }, + }, + "id": "00000000-0000-0000-0000-000000000336", + "views": { + "allFavorites": { + "id": "00000000-0000-0000-0000-000000000322", + "viewFieldGroups": {}, + "viewFields": { + "company": { + "id": "00000000-0000-0000-0000-000000000315", + }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000321", + }, + "dashboard": { + "id": "00000000-0000-0000-0000-000000000319", + }, + "favoriteFolder": { + "id": "00000000-0000-0000-0000-000000000320", + }, + "forWorkspaceMember": { + "id": "00000000-0000-0000-0000-000000000313", + }, + "note": { + "id": "00000000-0000-0000-0000-000000000318", + }, + "opportunity": { + "id": "00000000-0000-0000-0000-000000000316", + }, + "person": { + "id": "00000000-0000-0000-0000-000000000314", + }, + "task": { + "id": "00000000-0000-0000-0000-000000000317", + }, + }, + "viewGroups": {}, + }, + "favoriteRecordPageFields": { + "id": "00000000-0000-0000-0000-000000000335", + "viewFieldGroups": { + "general": { + "id": "00000000-0000-0000-0000-000000000333", + }, + "other": { + "id": "00000000-0000-0000-0000-000000000334", + }, + }, + "viewFields": { + "company": { + "id": "00000000-0000-0000-0000-000000000325", + }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000331", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000332", + }, + "dashboard": { + "id": "00000000-0000-0000-0000-000000000329", + }, + "favoriteFolder": { + "id": "00000000-0000-0000-0000-000000000330", + }, + "forWorkspaceMember": { + "id": "00000000-0000-0000-0000-000000000323", + }, + "note": { + "id": "00000000-0000-0000-0000-000000000328", + }, + "opportunity": { + "id": "00000000-0000-0000-0000-000000000326", + }, + "person": { + "id": "00000000-0000-0000-0000-000000000324", + }, + "task": { + "id": "00000000-0000-0000-0000-000000000327", + }, + }, + "viewGroups": {}, }, }, - "id": "00000000-0000-0000-0000-000000000236", - "views": undefined, }, "favoriteFolder": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000238", + "id": "00000000-0000-0000-0000-000000000338", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000244", + "id": "00000000-0000-0000-0000-000000000344", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000240", + "id": "00000000-0000-0000-0000-000000000340", }, "favorites": { - "id": "00000000-0000-0000-0000-000000000243", + "id": "00000000-0000-0000-0000-000000000343", }, "id": { - "id": "00000000-0000-0000-0000-000000000237", + "id": "00000000-0000-0000-0000-000000000337", }, "name": { - "id": "00000000-0000-0000-0000-000000000242", + "id": "00000000-0000-0000-0000-000000000342", }, "position": { - "id": "00000000-0000-0000-0000-000000000241", + "id": "00000000-0000-0000-0000-000000000341", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000246", + "id": "00000000-0000-0000-0000-000000000346", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000239", + "id": "00000000-0000-0000-0000-000000000339", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000245", + "id": "00000000-0000-0000-0000-000000000345", + }, + }, + "id": "00000000-0000-0000-0000-000000000356", + "views": { + "allFavoriteFolders": { + "id": "00000000-0000-0000-0000-000000000349", + "viewFieldGroups": {}, + "viewFields": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000348", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000347", + }, + }, + "viewGroups": {}, + }, + "favoriteFolderRecordPageFields": { + "id": "00000000-0000-0000-0000-000000000355", + "viewFieldGroups": { + "general": { + "id": "00000000-0000-0000-0000-000000000353", + }, + "other": { + "id": "00000000-0000-0000-0000-000000000354", + }, + }, + "viewFields": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000351", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000352", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000350", + }, + }, + "viewGroups": {}, }, }, - "id": "00000000-0000-0000-0000-000000000247", - "views": undefined, }, "message": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000352", + "id": "00000000-0000-0000-0000-000000000540", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000363", + "id": "00000000-0000-0000-0000-000000000551", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000354", + "id": "00000000-0000-0000-0000-000000000542", }, "direction": { - "id": "00000000-0000-0000-0000-000000000357", + "id": "00000000-0000-0000-0000-000000000545", }, "headerMessageId": { - "id": "00000000-0000-0000-0000-000000000355", + "id": "00000000-0000-0000-0000-000000000543", }, "id": { - "id": "00000000-0000-0000-0000-000000000351", + "id": "00000000-0000-0000-0000-000000000539", }, "messageChannelMessageAssociations": { - "id": "00000000-0000-0000-0000-000000000362", + "id": "00000000-0000-0000-0000-000000000550", }, "messageParticipants": { - "id": "00000000-0000-0000-0000-000000000361", + "id": "00000000-0000-0000-0000-000000000549", }, "messageThread": { - "id": "00000000-0000-0000-0000-000000000356", + "id": "00000000-0000-0000-0000-000000000544", }, "position": { - "id": "00000000-0000-0000-0000-000000000365", + "id": "00000000-0000-0000-0000-000000000553", }, "receivedAt": { - "id": "00000000-0000-0000-0000-000000000360", + "id": "00000000-0000-0000-0000-000000000548", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000366", + "id": "00000000-0000-0000-0000-000000000554", }, "subject": { - "id": "00000000-0000-0000-0000-000000000358", + "id": "00000000-0000-0000-0000-000000000546", }, "text": { - "id": "00000000-0000-0000-0000-000000000359", + "id": "00000000-0000-0000-0000-000000000547", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000353", + "id": "00000000-0000-0000-0000-000000000541", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000364", + "id": "00000000-0000-0000-0000-000000000552", }, }, - "id": "00000000-0000-0000-0000-000000000375", + "id": "00000000-0000-0000-0000-000000000563", "views": { "allMessages": { - "id": "00000000-0000-0000-0000-000000000374", + "id": "00000000-0000-0000-0000-000000000562", "viewFieldGroups": {}, "viewFields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000373", + "id": "00000000-0000-0000-0000-000000000561", }, "headerMessageId": { - "id": "00000000-0000-0000-0000-000000000371", + "id": "00000000-0000-0000-0000-000000000559", }, "messageParticipants": { - "id": "00000000-0000-0000-0000-000000000369", + "id": "00000000-0000-0000-0000-000000000557", }, "messageThread": { - "id": "00000000-0000-0000-0000-000000000368", + "id": "00000000-0000-0000-0000-000000000556", }, "receivedAt": { - "id": "00000000-0000-0000-0000-000000000370", + "id": "00000000-0000-0000-0000-000000000558", }, "subject": { - "id": "00000000-0000-0000-0000-000000000367", + "id": "00000000-0000-0000-0000-000000000555", }, "text": { - "id": "00000000-0000-0000-0000-000000000372", + "id": "00000000-0000-0000-0000-000000000560", }, }, "viewGroups": {}, @@ -887,329 +1284,616 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "messageChannel": { "fields": { "connectedAccount": { - "id": "00000000-0000-0000-0000-000000000281", + "id": "00000000-0000-0000-0000-000000000416", }, "contactAutoCreationPolicy": { - "id": "00000000-0000-0000-0000-000000000284", + "id": "00000000-0000-0000-0000-000000000419", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000276", + "id": "00000000-0000-0000-0000-000000000411", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000299", + "id": "00000000-0000-0000-0000-000000000434", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000278", + "id": "00000000-0000-0000-0000-000000000413", }, "excludeGroupEmails": { - "id": "00000000-0000-0000-0000-000000000286", + "id": "00000000-0000-0000-0000-000000000421", }, "excludeNonProfessionalEmails": { - "id": "00000000-0000-0000-0000-000000000285", + "id": "00000000-0000-0000-0000-000000000420", }, "handle": { - "id": "00000000-0000-0000-0000-000000000280", + "id": "00000000-0000-0000-0000-000000000415", }, "id": { - "id": "00000000-0000-0000-0000-000000000275", + "id": "00000000-0000-0000-0000-000000000410", }, "isContactAutoCreationEnabled": { - "id": "00000000-0000-0000-0000-000000000283", + "id": "00000000-0000-0000-0000-000000000418", }, "isSyncEnabled": { - "id": "00000000-0000-0000-0000-000000000291", + "id": "00000000-0000-0000-0000-000000000426", }, "messageChannelMessageAssociations": { - "id": "00000000-0000-0000-0000-000000000287", + "id": "00000000-0000-0000-0000-000000000422", }, "messageFolderImportPolicy": { - "id": "00000000-0000-0000-0000-000000000289", + "id": "00000000-0000-0000-0000-000000000424", }, "messageFolders": { - "id": "00000000-0000-0000-0000-000000000288", + "id": "00000000-0000-0000-0000-000000000423", }, "pendingGroupEmailsAction": { - "id": "00000000-0000-0000-0000-000000000290", + "id": "00000000-0000-0000-0000-000000000425", }, "position": { - "id": "00000000-0000-0000-0000-000000000301", + "id": "00000000-0000-0000-0000-000000000436", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000302", + "id": "00000000-0000-0000-0000-000000000437", }, "syncCursor": { - "id": "00000000-0000-0000-0000-000000000292", + "id": "00000000-0000-0000-0000-000000000427", }, "syncStage": { - "id": "00000000-0000-0000-0000-000000000295", + "id": "00000000-0000-0000-0000-000000000430", }, "syncStageStartedAt": { - "id": "00000000-0000-0000-0000-000000000296", + "id": "00000000-0000-0000-0000-000000000431", }, "syncStatus": { - "id": "00000000-0000-0000-0000-000000000294", + "id": "00000000-0000-0000-0000-000000000429", }, "syncedAt": { - "id": "00000000-0000-0000-0000-000000000293", + "id": "00000000-0000-0000-0000-000000000428", }, "throttleFailureCount": { - "id": "00000000-0000-0000-0000-000000000297", + "id": "00000000-0000-0000-0000-000000000432", }, "throttleRetryAfter": { - "id": "00000000-0000-0000-0000-000000000298", + "id": "00000000-0000-0000-0000-000000000433", }, "type": { - "id": "00000000-0000-0000-0000-000000000282", + "id": "00000000-0000-0000-0000-000000000417", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000277", + "id": "00000000-0000-0000-0000-000000000412", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000300", + "id": "00000000-0000-0000-0000-000000000435", }, "visibility": { - "id": "00000000-0000-0000-0000-000000000279", + "id": "00000000-0000-0000-0000-000000000414", + }, + }, + "id": "00000000-0000-0000-0000-000000000457", + "views": { + "allMessageChannels": { + "id": "00000000-0000-0000-0000-000000000445", + "viewFieldGroups": {}, + "viewFields": { + "connectedAccount": { + "id": "00000000-0000-0000-0000-000000000439", + }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000444", + }, + "handle": { + "id": "00000000-0000-0000-0000-000000000438", + }, + "isSyncEnabled": { + "id": "00000000-0000-0000-0000-000000000442", + }, + "syncStatus": { + "id": "00000000-0000-0000-0000-000000000443", + }, + "type": { + "id": "00000000-0000-0000-0000-000000000440", + }, + "visibility": { + "id": "00000000-0000-0000-0000-000000000441", + }, + }, + "viewGroups": {}, + }, + "messageChannelRecordPageFields": { + "id": "00000000-0000-0000-0000-000000000456", + "viewFieldGroups": { + "general": { + "id": "00000000-0000-0000-0000-000000000454", + }, + "other": { + "id": "00000000-0000-0000-0000-000000000455", + }, + }, + "viewFields": { + "connectedAccount": { + "id": "00000000-0000-0000-0000-000000000447", + }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000452", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000453", + }, + "handle": { + "id": "00000000-0000-0000-0000-000000000446", + }, + "isSyncEnabled": { + "id": "00000000-0000-0000-0000-000000000450", + }, + "syncStatus": { + "id": "00000000-0000-0000-0000-000000000451", + }, + "type": { + "id": "00000000-0000-0000-0000-000000000448", + }, + "visibility": { + "id": "00000000-0000-0000-0000-000000000449", + }, + }, + "viewGroups": {}, }, }, - "id": "00000000-0000-0000-0000-000000000303", - "views": undefined, }, "messageChannelMessageAssociation": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000249", + "id": "00000000-0000-0000-0000-000000000358", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000258", + "id": "00000000-0000-0000-0000-000000000367", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000251", + "id": "00000000-0000-0000-0000-000000000360", }, "direction": { - "id": "00000000-0000-0000-0000-000000000257", + "id": "00000000-0000-0000-0000-000000000366", }, "id": { - "id": "00000000-0000-0000-0000-000000000248", + "id": "00000000-0000-0000-0000-000000000357", }, "message": { - "id": "00000000-0000-0000-0000-000000000253", + "id": "00000000-0000-0000-0000-000000000362", }, "messageChannel": { - "id": "00000000-0000-0000-0000-000000000252", + "id": "00000000-0000-0000-0000-000000000361", }, "messageExternalId": { - "id": "00000000-0000-0000-0000-000000000254", + "id": "00000000-0000-0000-0000-000000000363", }, "messageFolders": { - "id": "00000000-0000-0000-0000-000000000262", + "id": "00000000-0000-0000-0000-000000000371", }, "messageThread": { - "id": "00000000-0000-0000-0000-000000000255", + "id": "00000000-0000-0000-0000-000000000364", }, "messageThreadExternalId": { - "id": "00000000-0000-0000-0000-000000000256", + "id": "00000000-0000-0000-0000-000000000365", }, "position": { - "id": "00000000-0000-0000-0000-000000000260", + "id": "00000000-0000-0000-0000-000000000369", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000261", + "id": "00000000-0000-0000-0000-000000000370", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000250", + "id": "00000000-0000-0000-0000-000000000359", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000259", + "id": "00000000-0000-0000-0000-000000000368", + }, + }, + "id": "00000000-0000-0000-0000-000000000387", + "views": { + "allMessageChannelMessageAssociations": { + "id": "00000000-0000-0000-0000-000000000377", + "viewFieldGroups": {}, + "viewFields": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000376", + }, + "direction": { + "id": "00000000-0000-0000-0000-000000000375", + }, + "message": { + "id": "00000000-0000-0000-0000-000000000373", + }, + "messageChannel": { + "id": "00000000-0000-0000-0000-000000000372", + }, + "messageExternalId": { + "id": "00000000-0000-0000-0000-000000000374", + }, + }, + "viewGroups": {}, + }, + "messageChannelMessageAssociationRecordPageFields": { + "id": "00000000-0000-0000-0000-000000000386", + "viewFieldGroups": { + "general": { + "id": "00000000-0000-0000-0000-000000000384", + }, + "other": { + "id": "00000000-0000-0000-0000-000000000385", + }, + }, + "viewFields": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000382", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000383", + }, + "direction": { + "id": "00000000-0000-0000-0000-000000000381", + }, + "message": { + "id": "00000000-0000-0000-0000-000000000379", + }, + "messageChannel": { + "id": "00000000-0000-0000-0000-000000000378", + }, + "messageExternalId": { + "id": "00000000-0000-0000-0000-000000000380", + }, + }, + "viewGroups": {}, }, }, - "id": "00000000-0000-0000-0000-000000000263", - "views": undefined, }, "messageChannelMessageAssociationMessageFolder": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000265", + "id": "00000000-0000-0000-0000-000000000389", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000268", + "id": "00000000-0000-0000-0000-000000000392", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000267", + "id": "00000000-0000-0000-0000-000000000391", }, "id": { - "id": "00000000-0000-0000-0000-000000000264", + "id": "00000000-0000-0000-0000-000000000388", }, "messageChannelMessageAssociation": { - "id": "00000000-0000-0000-0000-000000000272", + "id": "00000000-0000-0000-0000-000000000396", }, "messageFolder": { - "id": "00000000-0000-0000-0000-000000000273", + "id": "00000000-0000-0000-0000-000000000397", }, "position": { - "id": "00000000-0000-0000-0000-000000000270", + "id": "00000000-0000-0000-0000-000000000394", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000271", + "id": "00000000-0000-0000-0000-000000000395", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000266", + "id": "00000000-0000-0000-0000-000000000390", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000269", + "id": "00000000-0000-0000-0000-000000000393", + }, + }, + "id": "00000000-0000-0000-0000-000000000409", + "views": { + "allMessageChannelMessageAssociationMessageFolders": { + "id": "00000000-0000-0000-0000-000000000401", + "viewFieldGroups": {}, + "viewFields": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000400", + }, + "messageChannelMessageAssociation": { + "id": "00000000-0000-0000-0000-000000000398", + }, + "messageFolder": { + "id": "00000000-0000-0000-0000-000000000399", + }, + }, + "viewGroups": {}, + }, + "messageChannelMessageAssociationMessageFolderRecordPageFields": { + "id": "00000000-0000-0000-0000-000000000408", + "viewFieldGroups": { + "general": { + "id": "00000000-0000-0000-0000-000000000406", + }, + "other": { + "id": "00000000-0000-0000-0000-000000000407", + }, + }, + "viewFields": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000404", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000405", + }, + "messageChannelMessageAssociation": { + "id": "00000000-0000-0000-0000-000000000402", + }, + "messageFolder": { + "id": "00000000-0000-0000-0000-000000000403", + }, + }, + "viewGroups": {}, }, }, - "id": "00000000-0000-0000-0000-000000000274", - "views": undefined, }, "messageFolder": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000305", + "id": "00000000-0000-0000-0000-000000000459", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000316", + "id": "00000000-0000-0000-0000-000000000470", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000307", + "id": "00000000-0000-0000-0000-000000000461", }, "externalId": { - "id": "00000000-0000-0000-0000-000000000314", + "id": "00000000-0000-0000-0000-000000000468", }, "id": { - "id": "00000000-0000-0000-0000-000000000304", + "id": "00000000-0000-0000-0000-000000000458", }, "isSentFolder": { - "id": "00000000-0000-0000-0000-000000000312", + "id": "00000000-0000-0000-0000-000000000466", }, "isSynced": { - "id": "00000000-0000-0000-0000-000000000313", + "id": "00000000-0000-0000-0000-000000000467", }, "messageChannel": { - "id": "00000000-0000-0000-0000-000000000310", + "id": "00000000-0000-0000-0000-000000000464", }, "messageChannelMessageAssociationMessageFolders": { - "id": "00000000-0000-0000-0000-000000000320", + "id": "00000000-0000-0000-0000-000000000474", }, "name": { - "id": "00000000-0000-0000-0000-000000000308", + "id": "00000000-0000-0000-0000-000000000462", }, "parentFolderId": { - "id": "00000000-0000-0000-0000-000000000309", + "id": "00000000-0000-0000-0000-000000000463", }, "pendingSyncAction": { - "id": "00000000-0000-0000-0000-000000000315", + "id": "00000000-0000-0000-0000-000000000469", }, "position": { - "id": "00000000-0000-0000-0000-000000000318", + "id": "00000000-0000-0000-0000-000000000472", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000319", + "id": "00000000-0000-0000-0000-000000000473", }, "syncCursor": { - "id": "00000000-0000-0000-0000-000000000311", + "id": "00000000-0000-0000-0000-000000000465", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000306", + "id": "00000000-0000-0000-0000-000000000460", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000317", + "id": "00000000-0000-0000-0000-000000000471", + }, + }, + "id": "00000000-0000-0000-0000-000000000490", + "views": { + "allMessageFolders": { + "id": "00000000-0000-0000-0000-000000000480", + "viewFieldGroups": {}, + "viewFields": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000479", + }, + "isSentFolder": { + "id": "00000000-0000-0000-0000-000000000477", + }, + "isSynced": { + "id": "00000000-0000-0000-0000-000000000478", + }, + "messageChannel": { + "id": "00000000-0000-0000-0000-000000000476", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000475", + }, + }, + "viewGroups": {}, + }, + "messageFolderRecordPageFields": { + "id": "00000000-0000-0000-0000-000000000489", + "viewFieldGroups": { + "general": { + "id": "00000000-0000-0000-0000-000000000487", + }, + "other": { + "id": "00000000-0000-0000-0000-000000000488", + }, + }, + "viewFields": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000485", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000486", + }, + "isSentFolder": { + "id": "00000000-0000-0000-0000-000000000483", + }, + "isSynced": { + "id": "00000000-0000-0000-0000-000000000484", + }, + "messageChannel": { + "id": "00000000-0000-0000-0000-000000000482", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000481", + }, + }, + "viewGroups": {}, }, }, - "id": "00000000-0000-0000-0000-000000000321", - "views": undefined, }, "messageParticipant": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000323", + "id": "00000000-0000-0000-0000-000000000492", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000332", + "id": "00000000-0000-0000-0000-000000000501", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000325", + "id": "00000000-0000-0000-0000-000000000494", }, "displayName": { - "id": "00000000-0000-0000-0000-000000000329", + "id": "00000000-0000-0000-0000-000000000498", }, "handle": { - "id": "00000000-0000-0000-0000-000000000328", + "id": "00000000-0000-0000-0000-000000000497", }, "id": { - "id": "00000000-0000-0000-0000-000000000322", + "id": "00000000-0000-0000-0000-000000000491", }, "message": { - "id": "00000000-0000-0000-0000-000000000326", + "id": "00000000-0000-0000-0000-000000000495", }, "person": { - "id": "00000000-0000-0000-0000-000000000330", + "id": "00000000-0000-0000-0000-000000000499", }, "position": { - "id": "00000000-0000-0000-0000-000000000334", + "id": "00000000-0000-0000-0000-000000000503", }, "role": { - "id": "00000000-0000-0000-0000-000000000327", + "id": "00000000-0000-0000-0000-000000000496", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000335", + "id": "00000000-0000-0000-0000-000000000504", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000324", + "id": "00000000-0000-0000-0000-000000000493", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000333", + "id": "00000000-0000-0000-0000-000000000502", }, "workspaceMember": { - "id": "00000000-0000-0000-0000-000000000331", + "id": "00000000-0000-0000-0000-000000000500", + }, + }, + "id": "00000000-0000-0000-0000-000000000524", + "views": { + "allMessageParticipants": { + "id": "00000000-0000-0000-0000-000000000512", + "viewFieldGroups": {}, + "viewFields": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000511", + }, + "displayName": { + "id": "00000000-0000-0000-0000-000000000508", + }, + "handle": { + "id": "00000000-0000-0000-0000-000000000507", + }, + "message": { + "id": "00000000-0000-0000-0000-000000000505", + }, + "person": { + "id": "00000000-0000-0000-0000-000000000509", + }, + "role": { + "id": "00000000-0000-0000-0000-000000000506", + }, + "workspaceMember": { + "id": "00000000-0000-0000-0000-000000000510", + }, + }, + "viewGroups": {}, + }, + "messageParticipantRecordPageFields": { + "id": "00000000-0000-0000-0000-000000000523", + "viewFieldGroups": { + "general": { + "id": "00000000-0000-0000-0000-000000000521", + }, + "other": { + "id": "00000000-0000-0000-0000-000000000522", + }, + }, + "viewFields": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000519", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000520", + }, + "displayName": { + "id": "00000000-0000-0000-0000-000000000516", + }, + "handle": { + "id": "00000000-0000-0000-0000-000000000515", + }, + "message": { + "id": "00000000-0000-0000-0000-000000000513", + }, + "person": { + "id": "00000000-0000-0000-0000-000000000517", + }, + "role": { + "id": "00000000-0000-0000-0000-000000000514", + }, + "workspaceMember": { + "id": "00000000-0000-0000-0000-000000000518", + }, + }, + "viewGroups": {}, }, }, - "id": "00000000-0000-0000-0000-000000000336", - "views": undefined, }, "messageThread": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000338", + "id": "00000000-0000-0000-0000-000000000526", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000343", + "id": "00000000-0000-0000-0000-000000000531", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000340", + "id": "00000000-0000-0000-0000-000000000528", }, "id": { - "id": "00000000-0000-0000-0000-000000000337", + "id": "00000000-0000-0000-0000-000000000525", }, "messageChannelMessageAssociations": { - "id": "00000000-0000-0000-0000-000000000342", + "id": "00000000-0000-0000-0000-000000000530", }, "messages": { - "id": "00000000-0000-0000-0000-000000000341", + "id": "00000000-0000-0000-0000-000000000529", }, "position": { - "id": "00000000-0000-0000-0000-000000000345", + "id": "00000000-0000-0000-0000-000000000533", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000346", + "id": "00000000-0000-0000-0000-000000000534", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000339", + "id": "00000000-0000-0000-0000-000000000527", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000344", + "id": "00000000-0000-0000-0000-000000000532", }, }, - "id": "00000000-0000-0000-0000-000000000350", + "id": "00000000-0000-0000-0000-000000000538", "views": { "allMessageThreads": { - "id": "00000000-0000-0000-0000-000000000349", + "id": "00000000-0000-0000-0000-000000000537", "viewFieldGroups": {}, "viewFields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000348", + "id": "00000000-0000-0000-0000-000000000536", }, "messages": { - "id": "00000000-0000-0000-0000-000000000347", + "id": "00000000-0000-0000-0000-000000000535", }, }, "viewGroups": {}, @@ -1219,94 +1903,94 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "note": { "fields": { "attachments": { - "id": "00000000-0000-0000-0000-000000000386", + "id": "00000000-0000-0000-0000-000000000574", }, "bodyV2": { - "id": "00000000-0000-0000-0000-000000000382", + "id": "00000000-0000-0000-0000-000000000570", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000377", + "id": "00000000-0000-0000-0000-000000000565", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000383", + "id": "00000000-0000-0000-0000-000000000571", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000379", + "id": "00000000-0000-0000-0000-000000000567", }, "favorites": { - "id": "00000000-0000-0000-0000-000000000388", + "id": "00000000-0000-0000-0000-000000000576", }, "id": { - "id": "00000000-0000-0000-0000-000000000376", + "id": "00000000-0000-0000-0000-000000000564", }, "noteTargets": { - "id": "00000000-0000-0000-0000-000000000385", + "id": "00000000-0000-0000-0000-000000000573", }, "position": { - "id": "00000000-0000-0000-0000-000000000380", + "id": "00000000-0000-0000-0000-000000000568", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000389", + "id": "00000000-0000-0000-0000-000000000577", }, "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000387", + "id": "00000000-0000-0000-0000-000000000575", }, "title": { - "id": "00000000-0000-0000-0000-000000000381", + "id": "00000000-0000-0000-0000-000000000569", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000378", + "id": "00000000-0000-0000-0000-000000000566", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000384", + "id": "00000000-0000-0000-0000-000000000572", }, }, - "id": "00000000-0000-0000-0000-000000000403", + "id": "00000000-0000-0000-0000-000000000591", "views": { "allNotes": { - "id": "00000000-0000-0000-0000-000000000395", + "id": "00000000-0000-0000-0000-000000000583", "viewFieldGroups": {}, "viewFields": { "bodyV2": { - "id": "00000000-0000-0000-0000-000000000392", + "id": "00000000-0000-0000-0000-000000000580", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000394", + "id": "00000000-0000-0000-0000-000000000582", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000393", + "id": "00000000-0000-0000-0000-000000000581", }, "noteTargets": { - "id": "00000000-0000-0000-0000-000000000391", + "id": "00000000-0000-0000-0000-000000000579", }, "title": { - "id": "00000000-0000-0000-0000-000000000390", + "id": "00000000-0000-0000-0000-000000000578", }, }, "viewGroups": {}, }, "noteRecordPageFields": { - "id": "00000000-0000-0000-0000-000000000402", + "id": "00000000-0000-0000-0000-000000000590", "viewFieldGroups": { "additional": { - "id": "00000000-0000-0000-0000-000000000400", + "id": "00000000-0000-0000-0000-000000000588", }, "general": { - "id": "00000000-0000-0000-0000-000000000399", + "id": "00000000-0000-0000-0000-000000000587", }, "other": { - "id": "00000000-0000-0000-0000-000000000401", + "id": "00000000-0000-0000-0000-000000000589", }, }, "viewFields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000397", + "id": "00000000-0000-0000-0000-000000000585", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000398", + "id": "00000000-0000-0000-0000-000000000586", }, "title": { - "id": "00000000-0000-0000-0000-000000000396", + "id": "00000000-0000-0000-0000-000000000584", }, }, "viewGroups": {}, @@ -1316,62 +2000,62 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "noteTarget": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000405", + "id": "00000000-0000-0000-0000-000000000593", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000412", + "id": "00000000-0000-0000-0000-000000000600", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000407", + "id": "00000000-0000-0000-0000-000000000595", }, "id": { - "id": "00000000-0000-0000-0000-000000000404", + "id": "00000000-0000-0000-0000-000000000592", }, "note": { - "id": "00000000-0000-0000-0000-000000000408", + "id": "00000000-0000-0000-0000-000000000596", }, "position": { - "id": "00000000-0000-0000-0000-000000000414", + "id": "00000000-0000-0000-0000-000000000602", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000415", + "id": "00000000-0000-0000-0000-000000000603", }, "targetCompany": { - "id": "00000000-0000-0000-0000-000000000410", + "id": "00000000-0000-0000-0000-000000000598", }, "targetOpportunity": { - "id": "00000000-0000-0000-0000-000000000411", + "id": "00000000-0000-0000-0000-000000000599", }, "targetPerson": { - "id": "00000000-0000-0000-0000-000000000409", + "id": "00000000-0000-0000-0000-000000000597", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000406", + "id": "00000000-0000-0000-0000-000000000594", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000413", + "id": "00000000-0000-0000-0000-000000000601", }, }, - "id": "00000000-0000-0000-0000-000000000422", + "id": "00000000-0000-0000-0000-000000000610", "views": { "allNoteTargets": { - "id": "00000000-0000-0000-0000-000000000421", + "id": "00000000-0000-0000-0000-000000000609", "viewFieldGroups": {}, "viewFields": { "id": { - "id": "00000000-0000-0000-0000-000000000416", + "id": "00000000-0000-0000-0000-000000000604", }, "note": { - "id": "00000000-0000-0000-0000-000000000417", + "id": "00000000-0000-0000-0000-000000000605", }, "targetCompany": { - "id": "00000000-0000-0000-0000-000000000419", + "id": "00000000-0000-0000-0000-000000000607", }, "targetOpportunity": { - "id": "00000000-0000-0000-0000-000000000420", + "id": "00000000-0000-0000-0000-000000000608", }, "targetPerson": { - "id": "00000000-0000-0000-0000-000000000418", + "id": "00000000-0000-0000-0000-000000000606", }, }, "viewGroups": {}, @@ -1381,171 +2065,171 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "opportunity": { "fields": { "amount": { - "id": "00000000-0000-0000-0000-000000000428", + "id": "00000000-0000-0000-0000-000000000616", }, "attachments": { - "id": "00000000-0000-0000-0000-000000000440", + "id": "00000000-0000-0000-0000-000000000628", }, "closeDate": { - "id": "00000000-0000-0000-0000-000000000429", + "id": "00000000-0000-0000-0000-000000000617", }, "company": { - "id": "00000000-0000-0000-0000-000000000435", + "id": "00000000-0000-0000-0000-000000000623", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000424", + "id": "00000000-0000-0000-0000-000000000612", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000432", + "id": "00000000-0000-0000-0000-000000000620", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000426", + "id": "00000000-0000-0000-0000-000000000614", }, "favorites": { - "id": "00000000-0000-0000-0000-000000000437", + "id": "00000000-0000-0000-0000-000000000625", }, "id": { - "id": "00000000-0000-0000-0000-000000000423", + "id": "00000000-0000-0000-0000-000000000611", }, "name": { - "id": "00000000-0000-0000-0000-000000000427", + "id": "00000000-0000-0000-0000-000000000615", }, "noteTargets": { - "id": "00000000-0000-0000-0000-000000000439", + "id": "00000000-0000-0000-0000-000000000627", }, "owner": { - "id": "00000000-0000-0000-0000-000000000436", + "id": "00000000-0000-0000-0000-000000000624", }, "pointOfContact": { - "id": "00000000-0000-0000-0000-000000000434", + "id": "00000000-0000-0000-0000-000000000622", }, "position": { - "id": "00000000-0000-0000-0000-000000000431", + "id": "00000000-0000-0000-0000-000000000619", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000442", + "id": "00000000-0000-0000-0000-000000000630", }, "stage": { - "id": "00000000-0000-0000-0000-000000000430", + "id": "00000000-0000-0000-0000-000000000618", }, "taskTargets": { - "id": "00000000-0000-0000-0000-000000000438", + "id": "00000000-0000-0000-0000-000000000626", }, "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000441", + "id": "00000000-0000-0000-0000-000000000629", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000425", + "id": "00000000-0000-0000-0000-000000000613", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000433", + "id": "00000000-0000-0000-0000-000000000621", }, }, - "id": "00000000-0000-0000-0000-000000000474", + "id": "00000000-0000-0000-0000-000000000662", "views": { "allOpportunities": { - "id": "00000000-0000-0000-0000-000000000449", + "id": "00000000-0000-0000-0000-000000000637", "viewFieldGroups": {}, "viewFields": { "amount": { - "id": "00000000-0000-0000-0000-000000000444", + "id": "00000000-0000-0000-0000-000000000632", }, "closeDate": { - "id": "00000000-0000-0000-0000-000000000446", + "id": "00000000-0000-0000-0000-000000000634", }, "company": { - "id": "00000000-0000-0000-0000-000000000447", + "id": "00000000-0000-0000-0000-000000000635", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000445", + "id": "00000000-0000-0000-0000-000000000633", }, "name": { - "id": "00000000-0000-0000-0000-000000000443", + "id": "00000000-0000-0000-0000-000000000631", }, "pointOfContact": { - "id": "00000000-0000-0000-0000-000000000448", + "id": "00000000-0000-0000-0000-000000000636", }, }, "viewGroups": {}, }, "byStage": { - "id": "00000000-0000-0000-0000-000000000461", + "id": "00000000-0000-0000-0000-000000000649", "viewFieldGroups": {}, "viewFields": { "amount": { - "id": "00000000-0000-0000-0000-000000000451", + "id": "00000000-0000-0000-0000-000000000639", }, "closeDate": { - "id": "00000000-0000-0000-0000-000000000453", + "id": "00000000-0000-0000-0000-000000000641", }, "company": { - "id": "00000000-0000-0000-0000-000000000454", + "id": "00000000-0000-0000-0000-000000000642", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000452", + "id": "00000000-0000-0000-0000-000000000640", }, "name": { - "id": "00000000-0000-0000-0000-000000000450", + "id": "00000000-0000-0000-0000-000000000638", }, "pointOfContact": { - "id": "00000000-0000-0000-0000-000000000455", + "id": "00000000-0000-0000-0000-000000000643", }, }, "viewGroups": { "customer": { - "id": "00000000-0000-0000-0000-000000000460", + "id": "00000000-0000-0000-0000-000000000648", }, "meeting": { - "id": "00000000-0000-0000-0000-000000000458", + "id": "00000000-0000-0000-0000-000000000646", }, "new": { - "id": "00000000-0000-0000-0000-000000000456", + "id": "00000000-0000-0000-0000-000000000644", }, "proposal": { - "id": "00000000-0000-0000-0000-000000000459", + "id": "00000000-0000-0000-0000-000000000647", }, "screening": { - "id": "00000000-0000-0000-0000-000000000457", + "id": "00000000-0000-0000-0000-000000000645", }, }, }, "opportunityRecordPageFields": { - "id": "00000000-0000-0000-0000-000000000473", + "id": "00000000-0000-0000-0000-000000000661", "viewFieldGroups": { "additional": { - "id": "00000000-0000-0000-0000-000000000471", + "id": "00000000-0000-0000-0000-000000000659", }, "general": { - "id": "00000000-0000-0000-0000-000000000470", + "id": "00000000-0000-0000-0000-000000000658", }, "other": { - "id": "00000000-0000-0000-0000-000000000472", + "id": "00000000-0000-0000-0000-000000000660", }, }, "viewFields": { "amount": { - "id": "00000000-0000-0000-0000-000000000462", + "id": "00000000-0000-0000-0000-000000000650", }, "closeDate": { - "id": "00000000-0000-0000-0000-000000000463", + "id": "00000000-0000-0000-0000-000000000651", }, "company": { - "id": "00000000-0000-0000-0000-000000000465", + "id": "00000000-0000-0000-0000-000000000653", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000468", + "id": "00000000-0000-0000-0000-000000000656", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000469", + "id": "00000000-0000-0000-0000-000000000657", }, "owner": { - "id": "00000000-0000-0000-0000-000000000467", + "id": "00000000-0000-0000-0000-000000000655", }, "pointOfContact": { - "id": "00000000-0000-0000-0000-000000000466", + "id": "00000000-0000-0000-0000-000000000654", }, "stage": { - "id": "00000000-0000-0000-0000-000000000464", + "id": "00000000-0000-0000-0000-000000000652", }, }, "viewGroups": {}, @@ -1555,166 +2239,166 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "person": { "fields": { "attachments": { - "id": "00000000-0000-0000-0000-000000000496", + "id": "00000000-0000-0000-0000-000000000684", }, "avatarFile": { - "id": "00000000-0000-0000-0000-000000000487", + "id": "00000000-0000-0000-0000-000000000675", }, "avatarUrl": { - "id": "00000000-0000-0000-0000-000000000486", + "id": "00000000-0000-0000-0000-000000000674", }, "calendarEventParticipants": { - "id": "00000000-0000-0000-0000-000000000498", + "id": "00000000-0000-0000-0000-000000000686", }, "city": { - "id": "00000000-0000-0000-0000-000000000485", + "id": "00000000-0000-0000-0000-000000000673", }, "company": { - "id": "00000000-0000-0000-0000-000000000491", + "id": "00000000-0000-0000-0000-000000000679", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000476", + "id": "00000000-0000-0000-0000-000000000664", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000489", + "id": "00000000-0000-0000-0000-000000000677", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000478", + "id": "00000000-0000-0000-0000-000000000666", }, "emails": { - "id": "00000000-0000-0000-0000-000000000480", + "id": "00000000-0000-0000-0000-000000000668", }, "favorites": { - "id": "00000000-0000-0000-0000-000000000495", + "id": "00000000-0000-0000-0000-000000000683", }, "id": { - "id": "00000000-0000-0000-0000-000000000475", + "id": "00000000-0000-0000-0000-000000000663", }, "jobTitle": { - "id": "00000000-0000-0000-0000-000000000483", + "id": "00000000-0000-0000-0000-000000000671", }, "linkedinLink": { - "id": "00000000-0000-0000-0000-000000000481", + "id": "00000000-0000-0000-0000-000000000669", }, "messageParticipants": { - "id": "00000000-0000-0000-0000-000000000497", + "id": "00000000-0000-0000-0000-000000000685", }, "name": { - "id": "00000000-0000-0000-0000-000000000479", + "id": "00000000-0000-0000-0000-000000000667", }, "noteTargets": { - "id": "00000000-0000-0000-0000-000000000494", + "id": "00000000-0000-0000-0000-000000000682", }, "phones": { - "id": "00000000-0000-0000-0000-000000000484", + "id": "00000000-0000-0000-0000-000000000672", }, "pointOfContactForOpportunities": { - "id": "00000000-0000-0000-0000-000000000492", + "id": "00000000-0000-0000-0000-000000000680", }, "position": { - "id": "00000000-0000-0000-0000-000000000488", + "id": "00000000-0000-0000-0000-000000000676", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000500", + "id": "00000000-0000-0000-0000-000000000688", }, "taskTargets": { - "id": "00000000-0000-0000-0000-000000000493", + "id": "00000000-0000-0000-0000-000000000681", }, "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000499", + "id": "00000000-0000-0000-0000-000000000687", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000477", + "id": "00000000-0000-0000-0000-000000000665", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000490", + "id": "00000000-0000-0000-0000-000000000678", }, "xLink": { - "id": "00000000-0000-0000-0000-000000000482", + "id": "00000000-0000-0000-0000-000000000670", }, }, - "id": "00000000-0000-0000-0000-000000000526", + "id": "00000000-0000-0000-0000-000000000714", "views": { "allPeople": { - "id": "00000000-0000-0000-0000-000000000511", + "id": "00000000-0000-0000-0000-000000000699", "viewFieldGroups": {}, "viewFields": { "city": { - "id": "00000000-0000-0000-0000-000000000507", + "id": "00000000-0000-0000-0000-000000000695", }, "company": { - "id": "00000000-0000-0000-0000-000000000504", + "id": "00000000-0000-0000-0000-000000000692", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000506", + "id": "00000000-0000-0000-0000-000000000694", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000503", + "id": "00000000-0000-0000-0000-000000000691", }, "emails": { - "id": "00000000-0000-0000-0000-000000000502", + "id": "00000000-0000-0000-0000-000000000690", }, "jobTitle": { - "id": "00000000-0000-0000-0000-000000000508", + "id": "00000000-0000-0000-0000-000000000696", }, "linkedinLink": { - "id": "00000000-0000-0000-0000-000000000509", + "id": "00000000-0000-0000-0000-000000000697", }, "name": { - "id": "00000000-0000-0000-0000-000000000501", + "id": "00000000-0000-0000-0000-000000000689", }, "phones": { - "id": "00000000-0000-0000-0000-000000000505", + "id": "00000000-0000-0000-0000-000000000693", }, "xLink": { - "id": "00000000-0000-0000-0000-000000000510", + "id": "00000000-0000-0000-0000-000000000698", }, }, "viewGroups": {}, }, "personRecordPageFields": { - "id": "00000000-0000-0000-0000-000000000525", + "id": "00000000-0000-0000-0000-000000000713", "viewFieldGroups": { "additional": { - "id": "00000000-0000-0000-0000-000000000523", + "id": "00000000-0000-0000-0000-000000000711", }, "general": { - "id": "00000000-0000-0000-0000-000000000522", + "id": "00000000-0000-0000-0000-000000000710", }, "other": { - "id": "00000000-0000-0000-0000-000000000524", + "id": "00000000-0000-0000-0000-000000000712", }, }, "viewFields": { "avatarUrl": { - "id": "00000000-0000-0000-0000-000000000519", + "id": "00000000-0000-0000-0000-000000000707", }, "city": { - "id": "00000000-0000-0000-0000-000000000518", + "id": "00000000-0000-0000-0000-000000000706", }, "company": { - "id": "00000000-0000-0000-0000-000000000514", + "id": "00000000-0000-0000-0000-000000000702", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000520", + "id": "00000000-0000-0000-0000-000000000708", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000521", + "id": "00000000-0000-0000-0000-000000000709", }, "emails": { - "id": "00000000-0000-0000-0000-000000000512", + "id": "00000000-0000-0000-0000-000000000700", }, "jobTitle": { - "id": "00000000-0000-0000-0000-000000000515", + "id": "00000000-0000-0000-0000-000000000703", }, "linkedinLink": { - "id": "00000000-0000-0000-0000-000000000516", + "id": "00000000-0000-0000-0000-000000000704", }, "phones": { - "id": "00000000-0000-0000-0000-000000000513", + "id": "00000000-0000-0000-0000-000000000701", }, "xLink": { - "id": "00000000-0000-0000-0000-000000000517", + "id": "00000000-0000-0000-0000-000000000705", }, }, "viewGroups": {}, @@ -1724,194 +2408,194 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "task": { "fields": { "assignee": { - "id": "00000000-0000-0000-0000-000000000540", + "id": "00000000-0000-0000-0000-000000000728", }, "attachments": { - "id": "00000000-0000-0000-0000-000000000539", + "id": "00000000-0000-0000-0000-000000000727", }, "bodyV2": { - "id": "00000000-0000-0000-0000-000000000533", + "id": "00000000-0000-0000-0000-000000000721", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000528", + "id": "00000000-0000-0000-0000-000000000716", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000536", + "id": "00000000-0000-0000-0000-000000000724", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000530", + "id": "00000000-0000-0000-0000-000000000718", }, "dueAt": { - "id": "00000000-0000-0000-0000-000000000534", + "id": "00000000-0000-0000-0000-000000000722", }, "favorites": { - "id": "00000000-0000-0000-0000-000000000542", + "id": "00000000-0000-0000-0000-000000000730", }, "id": { - "id": "00000000-0000-0000-0000-000000000527", + "id": "00000000-0000-0000-0000-000000000715", }, "position": { - "id": "00000000-0000-0000-0000-000000000531", + "id": "00000000-0000-0000-0000-000000000719", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000543", + "id": "00000000-0000-0000-0000-000000000731", }, "status": { - "id": "00000000-0000-0000-0000-000000000535", + "id": "00000000-0000-0000-0000-000000000723", }, "taskTargets": { - "id": "00000000-0000-0000-0000-000000000538", + "id": "00000000-0000-0000-0000-000000000726", }, "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000541", + "id": "00000000-0000-0000-0000-000000000729", }, "title": { - "id": "00000000-0000-0000-0000-000000000532", + "id": "00000000-0000-0000-0000-000000000720", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000529", + "id": "00000000-0000-0000-0000-000000000717", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000537", + "id": "00000000-0000-0000-0000-000000000725", }, }, - "id": "00000000-0000-0000-0000-000000000584", + "id": "00000000-0000-0000-0000-000000000772", "views": { "allTasks": { - "id": "00000000-0000-0000-0000-000000000552", + "id": "00000000-0000-0000-0000-000000000740", "viewFieldGroups": {}, "viewFields": { "assignee": { - "id": "00000000-0000-0000-0000-000000000549", + "id": "00000000-0000-0000-0000-000000000737", }, "bodyV2": { - "id": "00000000-0000-0000-0000-000000000550", + "id": "00000000-0000-0000-0000-000000000738", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000551", + "id": "00000000-0000-0000-0000-000000000739", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000547", + "id": "00000000-0000-0000-0000-000000000735", }, "dueAt": { - "id": "00000000-0000-0000-0000-000000000548", + "id": "00000000-0000-0000-0000-000000000736", }, "status": { - "id": "00000000-0000-0000-0000-000000000545", + "id": "00000000-0000-0000-0000-000000000733", }, "taskTargets": { - "id": "00000000-0000-0000-0000-000000000546", + "id": "00000000-0000-0000-0000-000000000734", }, "title": { - "id": "00000000-0000-0000-0000-000000000544", + "id": "00000000-0000-0000-0000-000000000732", }, }, "viewGroups": {}, }, "assignedToMe": { - "id": "00000000-0000-0000-0000-000000000564", + "id": "00000000-0000-0000-0000-000000000752", "viewFieldGroups": {}, "viewFields": { "assignee": { - "id": "00000000-0000-0000-0000-000000000557", + "id": "00000000-0000-0000-0000-000000000745", }, "bodyV2": { - "id": "00000000-0000-0000-0000-000000000558", + "id": "00000000-0000-0000-0000-000000000746", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000559", + "id": "00000000-0000-0000-0000-000000000747", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000555", + "id": "00000000-0000-0000-0000-000000000743", }, "dueAt": { - "id": "00000000-0000-0000-0000-000000000556", + "id": "00000000-0000-0000-0000-000000000744", }, "taskTargets": { - "id": "00000000-0000-0000-0000-000000000554", + "id": "00000000-0000-0000-0000-000000000742", }, "title": { - "id": "00000000-0000-0000-0000-000000000553", + "id": "00000000-0000-0000-0000-000000000741", }, }, "viewGroups": { "done": { - "id": "00000000-0000-0000-0000-000000000562", + "id": "00000000-0000-0000-0000-000000000750", }, "empty": { - "id": "00000000-0000-0000-0000-000000000563", + "id": "00000000-0000-0000-0000-000000000751", }, "inProgress": { - "id": "00000000-0000-0000-0000-000000000561", + "id": "00000000-0000-0000-0000-000000000749", }, "todo": { - "id": "00000000-0000-0000-0000-000000000560", + "id": "00000000-0000-0000-0000-000000000748", }, }, }, "byStatus": { - "id": "00000000-0000-0000-0000-000000000573", + "id": "00000000-0000-0000-0000-000000000761", "viewFieldGroups": {}, "viewFields": { "assignee": { - "id": "00000000-0000-0000-0000-000000000568", + "id": "00000000-0000-0000-0000-000000000756", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000569", + "id": "00000000-0000-0000-0000-000000000757", }, "dueAt": { - "id": "00000000-0000-0000-0000-000000000567", + "id": "00000000-0000-0000-0000-000000000755", }, "status": { - "id": "00000000-0000-0000-0000-000000000566", + "id": "00000000-0000-0000-0000-000000000754", }, "title": { - "id": "00000000-0000-0000-0000-000000000565", + "id": "00000000-0000-0000-0000-000000000753", }, }, "viewGroups": { "done": { - "id": "00000000-0000-0000-0000-000000000572", + "id": "00000000-0000-0000-0000-000000000760", }, "inProgress": { - "id": "00000000-0000-0000-0000-000000000571", + "id": "00000000-0000-0000-0000-000000000759", }, "todo": { - "id": "00000000-0000-0000-0000-000000000570", + "id": "00000000-0000-0000-0000-000000000758", }, }, }, "taskRecordPageFields": { - "id": "00000000-0000-0000-0000-000000000583", + "id": "00000000-0000-0000-0000-000000000771", "viewFieldGroups": { "additional": { - "id": "00000000-0000-0000-0000-000000000581", + "id": "00000000-0000-0000-0000-000000000769", }, "general": { - "id": "00000000-0000-0000-0000-000000000580", + "id": "00000000-0000-0000-0000-000000000768", }, "other": { - "id": "00000000-0000-0000-0000-000000000582", + "id": "00000000-0000-0000-0000-000000000770", }, }, "viewFields": { "assignee": { - "id": "00000000-0000-0000-0000-000000000577", + "id": "00000000-0000-0000-0000-000000000765", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000578", + "id": "00000000-0000-0000-0000-000000000766", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000579", + "id": "00000000-0000-0000-0000-000000000767", }, "dueAt": { - "id": "00000000-0000-0000-0000-000000000575", + "id": "00000000-0000-0000-0000-000000000763", }, "status": { - "id": "00000000-0000-0000-0000-000000000576", + "id": "00000000-0000-0000-0000-000000000764", }, "title": { - "id": "00000000-0000-0000-0000-000000000574", + "id": "00000000-0000-0000-0000-000000000762", }, }, "viewGroups": {}, @@ -1921,62 +2605,62 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "taskTarget": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000586", + "id": "00000000-0000-0000-0000-000000000774", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000593", + "id": "00000000-0000-0000-0000-000000000781", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000588", + "id": "00000000-0000-0000-0000-000000000776", }, "id": { - "id": "00000000-0000-0000-0000-000000000585", + "id": "00000000-0000-0000-0000-000000000773", }, "position": { - "id": "00000000-0000-0000-0000-000000000595", + "id": "00000000-0000-0000-0000-000000000783", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000596", + "id": "00000000-0000-0000-0000-000000000784", }, "targetCompany": { - "id": "00000000-0000-0000-0000-000000000591", + "id": "00000000-0000-0000-0000-000000000779", }, "targetOpportunity": { - "id": "00000000-0000-0000-0000-000000000592", + "id": "00000000-0000-0000-0000-000000000780", }, "targetPerson": { - "id": "00000000-0000-0000-0000-000000000590", + "id": "00000000-0000-0000-0000-000000000778", }, "task": { - "id": "00000000-0000-0000-0000-000000000589", + "id": "00000000-0000-0000-0000-000000000777", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000587", + "id": "00000000-0000-0000-0000-000000000775", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000594", + "id": "00000000-0000-0000-0000-000000000782", }, }, - "id": "00000000-0000-0000-0000-000000000603", + "id": "00000000-0000-0000-0000-000000000791", "views": { "allTaskTargets": { - "id": "00000000-0000-0000-0000-000000000602", + "id": "00000000-0000-0000-0000-000000000790", "viewFieldGroups": {}, "viewFields": { "id": { - "id": "00000000-0000-0000-0000-000000000597", + "id": "00000000-0000-0000-0000-000000000785", }, "targetCompany": { - "id": "00000000-0000-0000-0000-000000000600", + "id": "00000000-0000-0000-0000-000000000788", }, "targetOpportunity": { - "id": "00000000-0000-0000-0000-000000000601", + "id": "00000000-0000-0000-0000-000000000789", }, "targetPerson": { - "id": "00000000-0000-0000-0000-000000000599", + "id": "00000000-0000-0000-0000-000000000787", }, "task": { - "id": "00000000-0000-0000-0000-000000000598", + "id": "00000000-0000-0000-0000-000000000786", }, }, "viewGroups": {}, @@ -1986,125 +2670,125 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "timelineActivity": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000605", + "id": "00000000-0000-0000-0000-000000000793", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000624", + "id": "00000000-0000-0000-0000-000000000812", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000607", + "id": "00000000-0000-0000-0000-000000000795", }, "happensAt": { - "id": "00000000-0000-0000-0000-000000000608", + "id": "00000000-0000-0000-0000-000000000796", }, "id": { - "id": "00000000-0000-0000-0000-000000000604", + "id": "00000000-0000-0000-0000-000000000792", }, "linkedObjectMetadataId": { - "id": "00000000-0000-0000-0000-000000000623", + "id": "00000000-0000-0000-0000-000000000811", }, "linkedRecordCachedName": { - "id": "00000000-0000-0000-0000-000000000621", + "id": "00000000-0000-0000-0000-000000000809", }, "linkedRecordId": { - "id": "00000000-0000-0000-0000-000000000622", + "id": "00000000-0000-0000-0000-000000000810", }, "name": { - "id": "00000000-0000-0000-0000-000000000609", + "id": "00000000-0000-0000-0000-000000000797", }, "position": { - "id": "00000000-0000-0000-0000-000000000626", + "id": "00000000-0000-0000-0000-000000000814", }, "properties": { - "id": "00000000-0000-0000-0000-000000000610", + "id": "00000000-0000-0000-0000-000000000798", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000627", + "id": "00000000-0000-0000-0000-000000000815", }, "targetCompany": { - "id": "00000000-0000-0000-0000-000000000613", + "id": "00000000-0000-0000-0000-000000000801", }, "targetDashboard": { - "id": "00000000-0000-0000-0000-000000000620", + "id": "00000000-0000-0000-0000-000000000808", }, "targetNote": { - "id": "00000000-0000-0000-0000-000000000616", + "id": "00000000-0000-0000-0000-000000000804", }, "targetOpportunity": { - "id": "00000000-0000-0000-0000-000000000614", + "id": "00000000-0000-0000-0000-000000000802", }, "targetPerson": { - "id": "00000000-0000-0000-0000-000000000612", + "id": "00000000-0000-0000-0000-000000000800", }, "targetTask": { - "id": "00000000-0000-0000-0000-000000000615", + "id": "00000000-0000-0000-0000-000000000803", }, "targetWorkflow": { - "id": "00000000-0000-0000-0000-000000000617", + "id": "00000000-0000-0000-0000-000000000805", }, "targetWorkflowRun": { - "id": "00000000-0000-0000-0000-000000000619", + "id": "00000000-0000-0000-0000-000000000807", }, "targetWorkflowVersion": { - "id": "00000000-0000-0000-0000-000000000618", + "id": "00000000-0000-0000-0000-000000000806", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000606", + "id": "00000000-0000-0000-0000-000000000794", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000625", + "id": "00000000-0000-0000-0000-000000000813", }, "workspaceMember": { - "id": "00000000-0000-0000-0000-000000000611", + "id": "00000000-0000-0000-0000-000000000799", }, }, - "id": "00000000-0000-0000-0000-000000000643", + "id": "00000000-0000-0000-0000-000000000831", "views": { "allTimelineActivities": { - "id": "00000000-0000-0000-0000-000000000642", + "id": "00000000-0000-0000-0000-000000000830", "viewFieldGroups": {}, "viewFields": { "happensAt": { - "id": "00000000-0000-0000-0000-000000000629", + "id": "00000000-0000-0000-0000-000000000817", }, "linkedRecordCachedName": { - "id": "00000000-0000-0000-0000-000000000632", + "id": "00000000-0000-0000-0000-000000000820", }, "name": { - "id": "00000000-0000-0000-0000-000000000628", + "id": "00000000-0000-0000-0000-000000000816", }, "properties": { - "id": "00000000-0000-0000-0000-000000000630", + "id": "00000000-0000-0000-0000-000000000818", }, "targetCompany": { - "id": "00000000-0000-0000-0000-000000000634", + "id": "00000000-0000-0000-0000-000000000822", }, "targetDashboard": { - "id": "00000000-0000-0000-0000-000000000641", + "id": "00000000-0000-0000-0000-000000000829", }, "targetNote": { - "id": "00000000-0000-0000-0000-000000000637", + "id": "00000000-0000-0000-0000-000000000825", }, "targetOpportunity": { - "id": "00000000-0000-0000-0000-000000000635", + "id": "00000000-0000-0000-0000-000000000823", }, "targetPerson": { - "id": "00000000-0000-0000-0000-000000000633", + "id": "00000000-0000-0000-0000-000000000821", }, "targetTask": { - "id": "00000000-0000-0000-0000-000000000636", + "id": "00000000-0000-0000-0000-000000000824", }, "targetWorkflow": { - "id": "00000000-0000-0000-0000-000000000638", + "id": "00000000-0000-0000-0000-000000000826", }, "targetWorkflowRun": { - "id": "00000000-0000-0000-0000-000000000640", + "id": "00000000-0000-0000-0000-000000000828", }, "targetWorkflowVersion": { - "id": "00000000-0000-0000-0000-000000000639", + "id": "00000000-0000-0000-0000-000000000827", }, "workspaceMember": { - "id": "00000000-0000-0000-0000-000000000631", + "id": "00000000-0000-0000-0000-000000000819", }, }, "viewGroups": {}, @@ -2114,80 +2798,80 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "workflow": { "fields": { "attachments": { - "id": "00000000-0000-0000-0000-000000000657", + "id": "00000000-0000-0000-0000-000000000845", }, "automatedTriggers": { - "id": "00000000-0000-0000-0000-000000000654", + "id": "00000000-0000-0000-0000-000000000842", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000645", + "id": "00000000-0000-0000-0000-000000000833", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000658", + "id": "00000000-0000-0000-0000-000000000846", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000647", + "id": "00000000-0000-0000-0000-000000000835", }, "favorites": { - "id": "00000000-0000-0000-0000-000000000655", + "id": "00000000-0000-0000-0000-000000000843", }, "id": { - "id": "00000000-0000-0000-0000-000000000644", + "id": "00000000-0000-0000-0000-000000000832", }, "lastPublishedVersionId": { - "id": "00000000-0000-0000-0000-000000000649", + "id": "00000000-0000-0000-0000-000000000837", }, "name": { - "id": "00000000-0000-0000-0000-000000000648", + "id": "00000000-0000-0000-0000-000000000836", }, "position": { - "id": "00000000-0000-0000-0000-000000000651", + "id": "00000000-0000-0000-0000-000000000839", }, "runs": { - "id": "00000000-0000-0000-0000-000000000653", + "id": "00000000-0000-0000-0000-000000000841", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000660", + "id": "00000000-0000-0000-0000-000000000848", }, "statuses": { - "id": "00000000-0000-0000-0000-000000000650", + "id": "00000000-0000-0000-0000-000000000838", }, "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000656", + "id": "00000000-0000-0000-0000-000000000844", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000646", + "id": "00000000-0000-0000-0000-000000000834", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000659", + "id": "00000000-0000-0000-0000-000000000847", }, "versions": { - "id": "00000000-0000-0000-0000-000000000652", + "id": "00000000-0000-0000-0000-000000000840", }, }, - "id": "00000000-0000-0000-0000-000000000668", + "id": "00000000-0000-0000-0000-000000000856", "views": { "allWorkflows": { - "id": "00000000-0000-0000-0000-000000000667", + "id": "00000000-0000-0000-0000-000000000855", "viewFieldGroups": {}, "viewFields": { "createdBy": { - "id": "00000000-0000-0000-0000-000000000664", + "id": "00000000-0000-0000-0000-000000000852", }, "name": { - "id": "00000000-0000-0000-0000-000000000661", + "id": "00000000-0000-0000-0000-000000000849", }, "runs": { - "id": "00000000-0000-0000-0000-000000000666", + "id": "00000000-0000-0000-0000-000000000854", }, "statuses": { - "id": "00000000-0000-0000-0000-000000000662", + "id": "00000000-0000-0000-0000-000000000850", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000663", + "id": "00000000-0000-0000-0000-000000000851", }, "versions": { - "id": "00000000-0000-0000-0000-000000000665", + "id": "00000000-0000-0000-0000-000000000853", }, }, "viewGroups": {}, @@ -2197,169 +2881,212 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "workflowAutomatedTrigger": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000670", + "id": "00000000-0000-0000-0000-000000000858", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000676", + "id": "00000000-0000-0000-0000-000000000864", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000672", + "id": "00000000-0000-0000-0000-000000000860", }, "id": { - "id": "00000000-0000-0000-0000-000000000669", + "id": "00000000-0000-0000-0000-000000000857", }, "position": { - "id": "00000000-0000-0000-0000-000000000678", + "id": "00000000-0000-0000-0000-000000000866", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000679", + "id": "00000000-0000-0000-0000-000000000867", }, "settings": { - "id": "00000000-0000-0000-0000-000000000674", + "id": "00000000-0000-0000-0000-000000000862", }, "type": { - "id": "00000000-0000-0000-0000-000000000673", + "id": "00000000-0000-0000-0000-000000000861", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000671", + "id": "00000000-0000-0000-0000-000000000859", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000677", + "id": "00000000-0000-0000-0000-000000000865", }, "workflow": { - "id": "00000000-0000-0000-0000-000000000675", + "id": "00000000-0000-0000-0000-000000000863", + }, + }, + "id": "00000000-0000-0000-0000-000000000879", + "views": { + "allWorkflowAutomatedTriggers": { + "id": "00000000-0000-0000-0000-000000000871", + "viewFieldGroups": {}, + "viewFields": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000870", + }, + "type": { + "id": "00000000-0000-0000-0000-000000000868", + }, + "workflow": { + "id": "00000000-0000-0000-0000-000000000869", + }, + }, + "viewGroups": {}, + }, + "workflowAutomatedTriggerRecordPageFields": { + "id": "00000000-0000-0000-0000-000000000878", + "viewFieldGroups": { + "general": { + "id": "00000000-0000-0000-0000-000000000876", + }, + "other": { + "id": "00000000-0000-0000-0000-000000000877", + }, + }, + "viewFields": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000874", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000875", + }, + "type": { + "id": "00000000-0000-0000-0000-000000000872", + }, + "workflow": { + "id": "00000000-0000-0000-0000-000000000873", + }, + }, + "viewGroups": {}, }, }, - "id": "00000000-0000-0000-0000-000000000680", - "views": undefined, }, "workflowRun": { "fields": { "context": { - "id": "00000000-0000-0000-0000-000000000696", + "id": "00000000-0000-0000-0000-000000000895", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000682", + "id": "00000000-0000-0000-0000-000000000881", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000693", + "id": "00000000-0000-0000-0000-000000000892", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000684", + "id": "00000000-0000-0000-0000-000000000883", }, "endedAt": { - "id": "00000000-0000-0000-0000-000000000690", + "id": "00000000-0000-0000-0000-000000000889", }, "enqueuedAt": { - "id": "00000000-0000-0000-0000-000000000688", + "id": "00000000-0000-0000-0000-000000000887", }, "favorites": { - "id": "00000000-0000-0000-0000-000000000698", + "id": "00000000-0000-0000-0000-000000000897", }, "id": { - "id": "00000000-0000-0000-0000-000000000681", + "id": "00000000-0000-0000-0000-000000000880", }, "name": { - "id": "00000000-0000-0000-0000-000000000685", + "id": "00000000-0000-0000-0000-000000000884", }, "output": { - "id": "00000000-0000-0000-0000-000000000695", + "id": "00000000-0000-0000-0000-000000000894", }, "position": { - "id": "00000000-0000-0000-0000-000000000692", + "id": "00000000-0000-0000-0000-000000000891", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000700", + "id": "00000000-0000-0000-0000-000000000899", }, "startedAt": { - "id": "00000000-0000-0000-0000-000000000689", + "id": "00000000-0000-0000-0000-000000000888", }, "state": { - "id": "00000000-0000-0000-0000-000000000697", + "id": "00000000-0000-0000-0000-000000000896", }, "status": { - "id": "00000000-0000-0000-0000-000000000691", + "id": "00000000-0000-0000-0000-000000000890", }, "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000699", + "id": "00000000-0000-0000-0000-000000000898", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000683", + "id": "00000000-0000-0000-0000-000000000882", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000694", + "id": "00000000-0000-0000-0000-000000000893", }, "workflow": { - "id": "00000000-0000-0000-0000-000000000687", + "id": "00000000-0000-0000-0000-000000000886", }, "workflowVersion": { - "id": "00000000-0000-0000-0000-000000000686", + "id": "00000000-0000-0000-0000-000000000885", }, }, - "id": "00000000-0000-0000-0000-000000000720", + "id": "00000000-0000-0000-0000-000000000919", "views": { "allWorkflowRuns": { - "id": "00000000-0000-0000-0000-000000000707", + "id": "00000000-0000-0000-0000-000000000906", "viewFieldGroups": {}, "viewFields": { "createdBy": { - "id": "00000000-0000-0000-0000-000000000705", + "id": "00000000-0000-0000-0000-000000000904", }, "name": { - "id": "00000000-0000-0000-0000-000000000701", + "id": "00000000-0000-0000-0000-000000000900", }, "startedAt": { - "id": "00000000-0000-0000-0000-000000000704", + "id": "00000000-0000-0000-0000-000000000903", }, "status": { - "id": "00000000-0000-0000-0000-000000000703", + "id": "00000000-0000-0000-0000-000000000902", }, "workflow": { - "id": "00000000-0000-0000-0000-000000000702", + "id": "00000000-0000-0000-0000-000000000901", }, "workflowVersion": { - "id": "00000000-0000-0000-0000-000000000706", + "id": "00000000-0000-0000-0000-000000000905", }, }, "viewGroups": {}, }, "workflowRunRecordPageFields": { - "id": "00000000-0000-0000-0000-000000000719", + "id": "00000000-0000-0000-0000-000000000918", "viewFieldGroups": { "additional": { - "id": "00000000-0000-0000-0000-000000000717", + "id": "00000000-0000-0000-0000-000000000916", }, "general": { - "id": "00000000-0000-0000-0000-000000000716", + "id": "00000000-0000-0000-0000-000000000915", }, "other": { - "id": "00000000-0000-0000-0000-000000000718", + "id": "00000000-0000-0000-0000-000000000917", }, }, "viewFields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000714", + "id": "00000000-0000-0000-0000-000000000913", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000715", + "id": "00000000-0000-0000-0000-000000000914", }, "endedAt": { - "id": "00000000-0000-0000-0000-000000000713", + "id": "00000000-0000-0000-0000-000000000912", }, "name": { - "id": "00000000-0000-0000-0000-000000000708", + "id": "00000000-0000-0000-0000-000000000907", }, "startedAt": { - "id": "00000000-0000-0000-0000-000000000712", + "id": "00000000-0000-0000-0000-000000000911", }, "status": { - "id": "00000000-0000-0000-0000-000000000709", + "id": "00000000-0000-0000-0000-000000000908", }, "workflow": { - "id": "00000000-0000-0000-0000-000000000710", + "id": "00000000-0000-0000-0000-000000000909", }, "workflowVersion": { - "id": "00000000-0000-0000-0000-000000000711", + "id": "00000000-0000-0000-0000-000000000910", }, }, "viewGroups": {}, @@ -2369,106 +3096,106 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "workflowVersion": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000722", + "id": "00000000-0000-0000-0000-000000000921", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000735", + "id": "00000000-0000-0000-0000-000000000934", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000724", + "id": "00000000-0000-0000-0000-000000000923", }, "favorites": { - "id": "00000000-0000-0000-0000-000000000732", + "id": "00000000-0000-0000-0000-000000000931", }, "id": { - "id": "00000000-0000-0000-0000-000000000721", + "id": "00000000-0000-0000-0000-000000000920", }, "name": { - "id": "00000000-0000-0000-0000-000000000725", + "id": "00000000-0000-0000-0000-000000000924", }, "position": { - "id": "00000000-0000-0000-0000-000000000729", + "id": "00000000-0000-0000-0000-000000000928", }, "runs": { - "id": "00000000-0000-0000-0000-000000000730", + "id": "00000000-0000-0000-0000-000000000929", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000734", + "id": "00000000-0000-0000-0000-000000000933", }, "status": { - "id": "00000000-0000-0000-0000-000000000728", + "id": "00000000-0000-0000-0000-000000000927", }, "steps": { - "id": "00000000-0000-0000-0000-000000000731", + "id": "00000000-0000-0000-0000-000000000930", }, "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000733", + "id": "00000000-0000-0000-0000-000000000932", }, "trigger": { - "id": "00000000-0000-0000-0000-000000000727", + "id": "00000000-0000-0000-0000-000000000926", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000723", + "id": "00000000-0000-0000-0000-000000000922", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000736", + "id": "00000000-0000-0000-0000-000000000935", }, "workflow": { - "id": "00000000-0000-0000-0000-000000000726", + "id": "00000000-0000-0000-0000-000000000925", }, }, - "id": "00000000-0000-0000-0000-000000000752", + "id": "00000000-0000-0000-0000-000000000951", "views": { "allWorkflowVersions": { - "id": "00000000-0000-0000-0000-000000000742", + "id": "00000000-0000-0000-0000-000000000941", "viewFieldGroups": {}, "viewFields": { "name": { - "id": "00000000-0000-0000-0000-000000000737", + "id": "00000000-0000-0000-0000-000000000936", }, "runs": { - "id": "00000000-0000-0000-0000-000000000741", + "id": "00000000-0000-0000-0000-000000000940", }, "status": { - "id": "00000000-0000-0000-0000-000000000739", + "id": "00000000-0000-0000-0000-000000000938", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000740", + "id": "00000000-0000-0000-0000-000000000939", }, "workflow": { - "id": "00000000-0000-0000-0000-000000000738", + "id": "00000000-0000-0000-0000-000000000937", }, }, "viewGroups": {}, }, "workflowVersionRecordPageFields": { - "id": "00000000-0000-0000-0000-000000000751", + "id": "00000000-0000-0000-0000-000000000950", "viewFieldGroups": { "additional": { - "id": "00000000-0000-0000-0000-000000000749", + "id": "00000000-0000-0000-0000-000000000948", }, "general": { - "id": "00000000-0000-0000-0000-000000000748", + "id": "00000000-0000-0000-0000-000000000947", }, "other": { - "id": "00000000-0000-0000-0000-000000000750", + "id": "00000000-0000-0000-0000-000000000949", }, }, "viewFields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000747", + "id": "00000000-0000-0000-0000-000000000946", }, "name": { - "id": "00000000-0000-0000-0000-000000000743", + "id": "00000000-0000-0000-0000-000000000942", }, "status": { - "id": "00000000-0000-0000-0000-000000000744", + "id": "00000000-0000-0000-0000-000000000943", }, "trigger": { - "id": "00000000-0000-0000-0000-000000000746", + "id": "00000000-0000-0000-0000-000000000945", }, "workflow": { - "id": "00000000-0000-0000-0000-000000000745", + "id": "00000000-0000-0000-0000-000000000944", }, }, "viewGroups": {}, @@ -2478,128 +3205,128 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "workspaceMember": { "fields": { "accountOwnerForCompanies": { - "id": "00000000-0000-0000-0000-000000000767", + "id": "00000000-0000-0000-0000-000000000966", }, "assignedTasks": { - "id": "00000000-0000-0000-0000-000000000764", + "id": "00000000-0000-0000-0000-000000000963", }, "avatarUrl": { - "id": "00000000-0000-0000-0000-000000000761", + "id": "00000000-0000-0000-0000-000000000960", }, "blocklist": { - "id": "00000000-0000-0000-0000-000000000770", + "id": "00000000-0000-0000-0000-000000000969", }, "calendarEventParticipants": { - "id": "00000000-0000-0000-0000-000000000771", + "id": "00000000-0000-0000-0000-000000000970", }, "calendarStartDay": { - "id": "00000000-0000-0000-0000-000000000777", + "id": "00000000-0000-0000-0000-000000000976", }, "colorScheme": { - "id": "00000000-0000-0000-0000-000000000759", + "id": "00000000-0000-0000-0000-000000000958", }, "connectedAccounts": { - "id": "00000000-0000-0000-0000-000000000768", + "id": "00000000-0000-0000-0000-000000000967", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000754", + "id": "00000000-0000-0000-0000-000000000953", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000779", + "id": "00000000-0000-0000-0000-000000000978", }, "dateFormat": { - "id": "00000000-0000-0000-0000-000000000774", + "id": "00000000-0000-0000-0000-000000000973", }, "deletedAt": { - "id": "00000000-0000-0000-0000-000000000756", + "id": "00000000-0000-0000-0000-000000000955", }, "favorites": { - "id": "00000000-0000-0000-0000-000000000766", + "id": "00000000-0000-0000-0000-000000000965", }, "id": { - "id": "00000000-0000-0000-0000-000000000753", + "id": "00000000-0000-0000-0000-000000000952", }, "locale": { - "id": "00000000-0000-0000-0000-000000000760", + "id": "00000000-0000-0000-0000-000000000959", }, "messageParticipants": { - "id": "00000000-0000-0000-0000-000000000769", + "id": "00000000-0000-0000-0000-000000000968", }, "name": { - "id": "00000000-0000-0000-0000-000000000758", + "id": "00000000-0000-0000-0000-000000000957", }, "numberFormat": { - "id": "00000000-0000-0000-0000-000000000778", + "id": "00000000-0000-0000-0000-000000000977", }, "ownedOpportunities": { - "id": "00000000-0000-0000-0000-000000000765", + "id": "00000000-0000-0000-0000-000000000964", }, "position": { - "id": "00000000-0000-0000-0000-000000000757", + "id": "00000000-0000-0000-0000-000000000956", }, "searchVector": { - "id": "00000000-0000-0000-0000-000000000776", + "id": "00000000-0000-0000-0000-000000000975", }, "timeFormat": { - "id": "00000000-0000-0000-0000-000000000775", + "id": "00000000-0000-0000-0000-000000000974", }, "timeZone": { - "id": "00000000-0000-0000-0000-000000000773", + "id": "00000000-0000-0000-0000-000000000972", }, "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000772", + "id": "00000000-0000-0000-0000-000000000971", }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000755", + "id": "00000000-0000-0000-0000-000000000954", }, "updatedBy": { - "id": "00000000-0000-0000-0000-000000000780", + "id": "00000000-0000-0000-0000-000000000979", }, "userEmail": { - "id": "00000000-0000-0000-0000-000000000762", + "id": "00000000-0000-0000-0000-000000000961", }, "userId": { - "id": "00000000-0000-0000-0000-000000000763", + "id": "00000000-0000-0000-0000-000000000962", }, }, - "id": "00000000-0000-0000-0000-000000000793", + "id": "00000000-0000-0000-0000-000000000992", "views": { "allWorkspaceMembers": { - "id": "00000000-0000-0000-0000-000000000792", + "id": "00000000-0000-0000-0000-000000000991", "viewFieldGroups": {}, "viewFields": { "assignedTasks": { - "id": "00000000-0000-0000-0000-000000000791", + "id": "00000000-0000-0000-0000-000000000990", }, "avatarUrl": { - "id": "00000000-0000-0000-0000-000000000783", + "id": "00000000-0000-0000-0000-000000000982", }, "colorScheme": { - "id": "00000000-0000-0000-0000-000000000784", + "id": "00000000-0000-0000-0000-000000000983", }, "createdAt": { - "id": "00000000-0000-0000-0000-000000000789", + "id": "00000000-0000-0000-0000-000000000988", }, "dateFormat": { - "id": "00000000-0000-0000-0000-000000000787", + "id": "00000000-0000-0000-0000-000000000986", }, "locale": { - "id": "00000000-0000-0000-0000-000000000785", + "id": "00000000-0000-0000-0000-000000000984", }, "name": { - "id": "00000000-0000-0000-0000-000000000781", + "id": "00000000-0000-0000-0000-000000000980", }, "ownedOpportunities": { - "id": "00000000-0000-0000-0000-000000000790", + "id": "00000000-0000-0000-0000-000000000989", }, "timeFormat": { - "id": "00000000-0000-0000-0000-000000000788", + "id": "00000000-0000-0000-0000-000000000987", }, "timeZone": { - "id": "00000000-0000-0000-0000-000000000786", + "id": "00000000-0000-0000-0000-000000000985", }, "userEmail": { - "id": "00000000-0000-0000-0000-000000000782", + "id": "00000000-0000-0000-0000-000000000981", }, }, "viewGroups": {}, diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/get-standard-object-metadata-related-entity-ids.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/get-standard-object-metadata-related-entity-ids.util.ts index 8ab541cffc..8653f16e9a 100644 --- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/get-standard-object-metadata-related-entity-ids.util.ts +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/get-standard-object-metadata-related-entity-ids.util.ts @@ -39,8 +39,14 @@ const computeStandardViewObjectIds = ({ return undefined; } - // @ts-expect-error ignore - const viewDefinitions = objectDefinition.views; + const viewDefinitions = objectDefinition.views as Record< + string, + { + viewFields: Record; + viewGroups?: Record; + viewFieldGroups?: Record; + } + >; const viewNames = Object.keys( viewDefinitions, ) as AllStandardObjectViewName[]; @@ -48,8 +54,7 @@ const computeStandardViewObjectIds = ({ const viewIds = {} as StandardObjectViewIds; for (const viewName of viewNames) { - const viewDefinition = - viewDefinitions[viewName as keyof typeof viewDefinitions]; + const viewDefinition = viewDefinitions[viewName as string]; const viewFieldNames = Object.keys(viewDefinition.viewFields); const viewFieldIds = {} as Record< 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 da81975ff0..66d2dd830e 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 @@ -3,11 +3,24 @@ import { type FlatEntityMaps } from 'src/engine/metadata-modules/flat-entity/typ import { addFlatEntityToFlatEntityMapsOrThrow } from 'src/engine/metadata-modules/flat-entity/utils/add-flat-entity-to-flat-entity-maps-or-throw.util'; import { type FlatViewFieldGroup } from 'src/engine/metadata-modules/flat-view-field-group/types/flat-view-field-group.type'; import { type AllStandardObjectName } from 'src/engine/workspace-manager/twenty-standard-application/types/all-standard-object-name.type'; +import { computeStandardBlocklistViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-blocklist-view-field-groups.util'; +import { computeStandardCalendarChannelViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-calendar-channel-view-field-groups.util'; +import { computeStandardCalendarChannelEventAssociationViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-calendar-channel-event-association-view-field-groups.util'; +import { computeStandardCalendarEventParticipantViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-calendar-event-participant-view-field-groups.util'; import { computeStandardCompanyViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-company-view-field-groups.util'; +import { computeStandardConnectedAccountViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-connected-account-view-field-groups.util'; +import { computeStandardFavoriteViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-favorite-view-field-groups.util'; +import { computeStandardFavoriteFolderViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-favorite-folder-view-field-groups.util'; +import { computeStandardMessageChannelViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-channel-view-field-groups.util'; +import { computeStandardMessageChannelMessageAssociationViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-channel-message-association-view-field-groups.util'; +import { computeStandardMessageChannelMessageAssociationMessageFolderViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-channel-message-association-message-folder-view-field-groups.util'; +import { computeStandardMessageFolderViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-folder-view-field-groups.util'; +import { computeStandardMessageParticipantViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-participant-view-field-groups.util'; import { computeStandardNoteViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-note-view-field-groups.util'; import { computeStandardOpportunityViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-opportunity-view-field-groups.util'; import { computeStandardPersonViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-person-view-field-groups.util'; import { computeStandardTaskViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-task-view-field-groups.util'; +import { computeStandardWorkflowAutomatedTriggerViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-workflow-automated-trigger-view-field-groups.util'; import { computeStandardWorkflowRunViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-workflow-run-view-field-groups.util'; import { computeStandardWorkflowVersionViewFieldGroups } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-workflow-version-view-field-groups.util'; import { type CreateStandardViewFieldGroupArgs } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/create-standard-view-field-group-flat-metadata.util'; @@ -17,11 +30,29 @@ type StandardViewFieldGroupBuilder

= ( ) => Record; const STANDARD_FLAT_VIEW_FIELD_GROUP_METADATA_BUILDERS_BY_OBJECT_NAME = { + blocklist: computeStandardBlocklistViewFieldGroups, + calendarChannel: computeStandardCalendarChannelViewFieldGroups, + calendarChannelEventAssociation: + computeStandardCalendarChannelEventAssociationViewFieldGroups, + calendarEventParticipant: + computeStandardCalendarEventParticipantViewFieldGroups, company: computeStandardCompanyViewFieldGroups, - person: computeStandardPersonViewFieldGroups, - opportunity: computeStandardOpportunityViewFieldGroups, - task: computeStandardTaskViewFieldGroups, + connectedAccount: computeStandardConnectedAccountViewFieldGroups, + favorite: computeStandardFavoriteViewFieldGroups, + favoriteFolder: computeStandardFavoriteFolderViewFieldGroups, + messageChannel: computeStandardMessageChannelViewFieldGroups, + messageChannelMessageAssociation: + computeStandardMessageChannelMessageAssociationViewFieldGroups, + messageChannelMessageAssociationMessageFolder: + computeStandardMessageChannelMessageAssociationMessageFolderViewFieldGroups, + messageFolder: computeStandardMessageFolderViewFieldGroups, + messageParticipant: computeStandardMessageParticipantViewFieldGroups, note: computeStandardNoteViewFieldGroups, + opportunity: computeStandardOpportunityViewFieldGroups, + person: computeStandardPersonViewFieldGroups, + task: computeStandardTaskViewFieldGroups, + workflowAutomatedTrigger: + computeStandardWorkflowAutomatedTriggerViewFieldGroups, workflowRun: computeStandardWorkflowRunViewFieldGroups, workflowVersion: computeStandardWorkflowVersionViewFieldGroups, } as const satisfies { diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-blocklist-view-field-groups.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-blocklist-view-field-groups.util.ts new file mode 100644 index 0000000000..e8abb4aa4c --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-blocklist-view-field-groups.util.ts @@ -0,0 +1,34 @@ +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 computeStandardBlocklistViewFieldGroups = ( + args: Omit, 'context'>, +): Record => { + return { + blocklistRecordPageFieldsGeneral: createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'blocklist', + context: { + viewName: 'blocklistRecordPageFields', + viewFieldGroupName: 'general', + name: 'General', + position: 0, + isVisible: true, + }, + }), + blocklistRecordPageFieldsOther: createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'blocklist', + context: { + viewName: 'blocklistRecordPageFields', + viewFieldGroupName: 'other', + name: 'Other', + position: 1, + isVisible: true, + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-calendar-channel-event-association-view-field-groups.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-calendar-channel-event-association-view-field-groups.util.ts new file mode 100644 index 0000000000..ac2203bafe --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-calendar-channel-event-association-view-field-groups.util.ts @@ -0,0 +1,39 @@ +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 computeStandardCalendarChannelEventAssociationViewFieldGroups = ( + args: Omit< + CreateStandardViewFieldGroupArgs<'calendarChannelEventAssociation'>, + 'context' + >, +): Record => { + return { + calendarChannelEventAssociationRecordPageFieldsGeneral: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'calendarChannelEventAssociation', + context: { + viewName: 'calendarChannelEventAssociationRecordPageFields', + viewFieldGroupName: 'general', + name: 'General', + position: 0, + isVisible: true, + }, + }), + calendarChannelEventAssociationRecordPageFieldsOther: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'calendarChannelEventAssociation', + context: { + viewName: 'calendarChannelEventAssociationRecordPageFields', + viewFieldGroupName: 'other', + name: 'Other', + position: 1, + isVisible: true, + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-calendar-channel-view-field-groups.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-calendar-channel-view-field-groups.util.ts new file mode 100644 index 0000000000..33a88480c6 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-calendar-channel-view-field-groups.util.ts @@ -0,0 +1,36 @@ +import { type FlatViewFieldGroup } from 'src/engine/metadata-modules/flat-view-field-group/types/flat-view-field-group.type'; +import { + createStandardViewFieldGroupFlatMetadata, + type CreateStandardViewFieldGroupArgs, +} from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/create-standard-view-field-group-flat-metadata.util'; + +export const computeStandardCalendarChannelViewFieldGroups = ( + args: Omit, 'context'>, +): Record => { + return { + calendarChannelRecordPageFieldsGeneral: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'calendarChannel', + context: { + viewName: 'calendarChannelRecordPageFields', + viewFieldGroupName: 'general', + name: 'General', + position: 0, + isVisible: true, + }, + }), + calendarChannelRecordPageFieldsOther: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'calendarChannel', + context: { + viewName: 'calendarChannelRecordPageFields', + viewFieldGroupName: 'other', + name: 'Other', + position: 1, + isVisible: true, + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-calendar-event-participant-view-field-groups.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-calendar-event-participant-view-field-groups.util.ts new file mode 100644 index 0000000000..aa70fa1074 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-calendar-event-participant-view-field-groups.util.ts @@ -0,0 +1,39 @@ +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 computeStandardCalendarEventParticipantViewFieldGroups = ( + args: Omit< + CreateStandardViewFieldGroupArgs<'calendarEventParticipant'>, + 'context' + >, +): Record => { + return { + calendarEventParticipantRecordPageFieldsGeneral: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'calendarEventParticipant', + context: { + viewName: 'calendarEventParticipantRecordPageFields', + viewFieldGroupName: 'general', + name: 'General', + position: 0, + isVisible: true, + }, + }), + calendarEventParticipantRecordPageFieldsOther: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'calendarEventParticipant', + context: { + viewName: 'calendarEventParticipantRecordPageFields', + viewFieldGroupName: 'other', + name: 'Other', + position: 1, + isVisible: true, + }, + }), + }; +}; 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 new file mode 100644 index 0000000000..3e439c55a3 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-connected-account-view-field-groups.util.ts @@ -0,0 +1,36 @@ +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, 'context'>, +): Record => { + return { + connectedAccountRecordPageFieldsGeneral: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'connectedAccount', + context: { + viewName: 'connectedAccountRecordPageFields', + viewFieldGroupName: 'general', + name: 'General', + position: 0, + isVisible: true, + }, + }), + connectedAccountRecordPageFieldsOther: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'connectedAccount', + context: { + viewName: 'connectedAccountRecordPageFields', + viewFieldGroupName: 'other', + name: 'Other', + position: 1, + isVisible: true, + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-favorite-folder-view-field-groups.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-favorite-folder-view-field-groups.util.ts new file mode 100644 index 0000000000..edead6a2eb --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-favorite-folder-view-field-groups.util.ts @@ -0,0 +1,36 @@ +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 computeStandardFavoriteFolderViewFieldGroups = ( + args: Omit, 'context'>, +): Record => { + return { + favoriteFolderRecordPageFieldsGeneral: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'favoriteFolder', + context: { + viewName: 'favoriteFolderRecordPageFields', + viewFieldGroupName: 'general', + name: 'General', + position: 0, + isVisible: true, + }, + }), + favoriteFolderRecordPageFieldsOther: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'favoriteFolder', + context: { + viewName: 'favoriteFolderRecordPageFields', + viewFieldGroupName: 'other', + name: 'Other', + position: 1, + isVisible: true, + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-favorite-view-field-groups.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-favorite-view-field-groups.util.ts new file mode 100644 index 0000000000..582914bee8 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-favorite-view-field-groups.util.ts @@ -0,0 +1,34 @@ +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 computeStandardFavoriteViewFieldGroups = ( + args: Omit, 'context'>, +): Record => { + return { + favoriteRecordPageFieldsGeneral: createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'favoriteRecordPageFields', + viewFieldGroupName: 'general', + name: 'General', + position: 0, + isVisible: true, + }, + }), + favoriteRecordPageFieldsOther: createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'favoriteRecordPageFields', + viewFieldGroupName: 'other', + name: 'Other', + position: 1, + isVisible: true, + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-channel-message-association-message-folder-view-field-groups.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-channel-message-association-message-folder-view-field-groups.util.ts new file mode 100644 index 0000000000..5d39b24519 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-channel-message-association-message-folder-view-field-groups.util.ts @@ -0,0 +1,42 @@ +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 computeStandardMessageChannelMessageAssociationMessageFolderViewFieldGroups = + ( + args: Omit< + CreateStandardViewFieldGroupArgs<'messageChannelMessageAssociationMessageFolder'>, + 'context' + >, + ): Record => { + return { + messageChannelMessageAssociationMessageFolderRecordPageFieldsGeneral: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociationMessageFolder', + context: { + viewName: + 'messageChannelMessageAssociationMessageFolderRecordPageFields', + viewFieldGroupName: 'general', + name: 'General', + position: 0, + isVisible: true, + }, + }), + messageChannelMessageAssociationMessageFolderRecordPageFieldsOther: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociationMessageFolder', + context: { + viewName: + 'messageChannelMessageAssociationMessageFolderRecordPageFields', + viewFieldGroupName: 'other', + name: 'Other', + position: 1, + isVisible: true, + }, + }), + }; + }; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-channel-message-association-view-field-groups.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-channel-message-association-view-field-groups.util.ts new file mode 100644 index 0000000000..a128341003 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-channel-message-association-view-field-groups.util.ts @@ -0,0 +1,39 @@ +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 computeStandardMessageChannelMessageAssociationViewFieldGroups = ( + args: Omit< + CreateStandardViewFieldGroupArgs<'messageChannelMessageAssociation'>, + 'context' + >, +): Record => { + return { + messageChannelMessageAssociationRecordPageFieldsGeneral: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociation', + context: { + viewName: 'messageChannelMessageAssociationRecordPageFields', + viewFieldGroupName: 'general', + name: 'General', + position: 0, + isVisible: true, + }, + }), + messageChannelMessageAssociationRecordPageFieldsOther: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociation', + context: { + viewName: 'messageChannelMessageAssociationRecordPageFields', + viewFieldGroupName: 'other', + name: 'Other', + position: 1, + isVisible: true, + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-channel-view-field-groups.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-channel-view-field-groups.util.ts new file mode 100644 index 0000000000..1c7d3042ab --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-channel-view-field-groups.util.ts @@ -0,0 +1,36 @@ +import { type FlatViewFieldGroup } from 'src/engine/metadata-modules/flat-view-field-group/types/flat-view-field-group.type'; +import { + createStandardViewFieldGroupFlatMetadata, + type CreateStandardViewFieldGroupArgs, +} from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/create-standard-view-field-group-flat-metadata.util'; + +export const computeStandardMessageChannelViewFieldGroups = ( + args: Omit, 'context'>, +): Record => { + return { + messageChannelRecordPageFieldsGeneral: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'messageChannel', + context: { + viewName: 'messageChannelRecordPageFields', + viewFieldGroupName: 'general', + name: 'General', + position: 0, + isVisible: true, + }, + }), + messageChannelRecordPageFieldsOther: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'messageChannel', + context: { + viewName: 'messageChannelRecordPageFields', + viewFieldGroupName: 'other', + name: 'Other', + position: 1, + isVisible: true, + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-folder-view-field-groups.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-folder-view-field-groups.util.ts new file mode 100644 index 0000000000..00b7222e3e --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-folder-view-field-groups.util.ts @@ -0,0 +1,36 @@ +import { type FlatViewFieldGroup } from 'src/engine/metadata-modules/flat-view-field-group/types/flat-view-field-group.type'; +import { + createStandardViewFieldGroupFlatMetadata, + type CreateStandardViewFieldGroupArgs, +} from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/create-standard-view-field-group-flat-metadata.util'; + +export const computeStandardMessageFolderViewFieldGroups = ( + args: Omit, 'context'>, +): Record => { + return { + messageFolderRecordPageFieldsGeneral: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'messageFolder', + context: { + viewName: 'messageFolderRecordPageFields', + viewFieldGroupName: 'general', + name: 'General', + position: 0, + isVisible: true, + }, + }), + messageFolderRecordPageFieldsOther: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'messageFolder', + context: { + viewName: 'messageFolderRecordPageFields', + viewFieldGroupName: 'other', + name: 'Other', + position: 1, + isVisible: true, + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-participant-view-field-groups.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-participant-view-field-groups.util.ts new file mode 100644 index 0000000000..0d4496c7d6 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-message-participant-view-field-groups.util.ts @@ -0,0 +1,36 @@ +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 computeStandardMessageParticipantViewFieldGroups = ( + args: Omit, 'context'>, +): Record => { + return { + messageParticipantRecordPageFieldsGeneral: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'messageParticipant', + context: { + viewName: 'messageParticipantRecordPageFields', + viewFieldGroupName: 'general', + name: 'General', + position: 0, + isVisible: true, + }, + }), + messageParticipantRecordPageFieldsOther: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'messageParticipant', + context: { + viewName: 'messageParticipantRecordPageFields', + viewFieldGroupName: 'other', + name: 'Other', + position: 1, + isVisible: true, + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-workflow-automated-trigger-view-field-groups.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-workflow-automated-trigger-view-field-groups.util.ts new file mode 100644 index 0000000000..5020a904f6 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/compute-standard-workflow-automated-trigger-view-field-groups.util.ts @@ -0,0 +1,39 @@ +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 computeStandardWorkflowAutomatedTriggerViewFieldGroups = ( + args: Omit< + CreateStandardViewFieldGroupArgs<'workflowAutomatedTrigger'>, + 'context' + >, +): Record => { + return { + workflowAutomatedTriggerRecordPageFieldsGeneral: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'workflowAutomatedTrigger', + context: { + viewName: 'workflowAutomatedTriggerRecordPageFields', + viewFieldGroupName: 'general', + name: 'General', + position: 0, + isVisible: true, + }, + }), + workflowAutomatedTriggerRecordPageFieldsOther: + createStandardViewFieldGroupFlatMetadata({ + ...args, + objectName: 'workflowAutomatedTrigger', + context: { + viewName: 'workflowAutomatedTriggerRecordPageFields', + viewFieldGroupName: 'other', + name: 'Other', + 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 12627595d0..94f410004f 100644 --- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/build-standard-flat-view-field-metadata-maps.util.ts +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/build-standard-flat-view-field-metadata-maps.util.ts @@ -6,9 +6,21 @@ import { addFlatEntityToFlatEntityMapsOrThrow } from 'src/engine/metadata-module import { type FlatViewField } from 'src/engine/metadata-modules/flat-view-field/types/flat-view-field.type'; import { type AllStandardObjectName } from 'src/engine/workspace-manager/twenty-standard-application/types/all-standard-object-name.type'; import { computeStandardAttachmentViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-attachment-view-fields.util'; +import { computeStandardBlocklistViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-blocklist-view-fields.util'; +import { computeStandardCalendarChannelEventAssociationViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-calendar-channel-event-association-view-fields.util'; +import { computeStandardCalendarChannelViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-calendar-channel-view-fields.util'; +import { computeStandardCalendarEventParticipantViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-calendar-event-participant-view-fields.util'; import { computeStandardCalendarEventViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-calendar-event-view-fields.util'; import { computeStandardCompanyViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-company-view-fields.util'; +import { 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 { computeStandardFavoriteFolderViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-favorite-folder-view-fields.util'; +import { computeStandardFavoriteViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-favorite-view-fields.util'; +import { computeStandardMessageChannelMessageAssociationMessageFolderViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-channel-message-association-message-folder-view-fields.util'; +import { computeStandardMessageChannelMessageAssociationViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-channel-message-association-view-fields.util'; +import { computeStandardMessageChannelViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-channel-view-fields.util'; +import { computeStandardMessageFolderViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-folder-view-fields.util'; +import { computeStandardMessageParticipantViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-participant-view-fields.util'; import { computeStandardMessageThreadViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-thread-view-fields.util'; import { computeStandardMessageViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-view-fields.util'; import { computeStandardNoteTargetViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-note-target-view-fields.util'; @@ -18,6 +30,7 @@ import { computeStandardPersonViewFields } from 'src/engine/workspace-manager/tw import { computeStandardTaskTargetViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-task-target-view-fields.util'; import { computeStandardTaskViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-task-view-fields.util'; import { computeStandardTimelineActivityViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-timeline-activity-view-fields.util'; +import { computeStandardWorkflowAutomatedTriggerViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-workflow-automated-trigger-view-fields.util'; import { computeStandardWorkflowRunViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-workflow-run-view-fields.util'; import { computeStandardWorkflowVersionViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-workflow-version-view-fields.util'; import { computeStandardWorkflowViewFields } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-workflow-view-fields.util'; @@ -30,10 +43,25 @@ type StandardViewFieldBuilder

= ( const STANDARD_FLAT_VIEW_FIELD_METADATA_BUILDERS_BY_OBJECT_NAME = { attachment: computeStandardAttachmentViewFields, + blocklist: computeStandardBlocklistViewFields, + calendarChannel: computeStandardCalendarChannelViewFields, + calendarChannelEventAssociation: + computeStandardCalendarChannelEventAssociationViewFields, calendarEvent: computeStandardCalendarEventViewFields, + calendarEventParticipant: computeStandardCalendarEventParticipantViewFields, company: computeStandardCompanyViewFields, + connectedAccount: computeStandardConnectedAccountViewFields, dashboard: computeStandardDashboardViewFields, + favorite: computeStandardFavoriteViewFields, + favoriteFolder: computeStandardFavoriteFolderViewFields, message: computeStandardMessageViewFields, + messageChannel: computeStandardMessageChannelViewFields, + messageChannelMessageAssociation: + computeStandardMessageChannelMessageAssociationViewFields, + messageChannelMessageAssociationMessageFolder: + computeStandardMessageChannelMessageAssociationMessageFolderViewFields, + messageFolder: computeStandardMessageFolderViewFields, + messageParticipant: computeStandardMessageParticipantViewFields, messageThread: computeStandardMessageThreadViewFields, note: computeStandardNoteViewFields, noteTarget: computeStandardNoteTargetViewFields, @@ -43,6 +71,7 @@ const STANDARD_FLAT_VIEW_FIELD_METADATA_BUILDERS_BY_OBJECT_NAME = { taskTarget: computeStandardTaskTargetViewFields, timelineActivity: computeStandardTimelineActivityViewFields, workflow: computeStandardWorkflowViewFields, + workflowAutomatedTrigger: computeStandardWorkflowAutomatedTriggerViewFields, workflowRun: computeStandardWorkflowRunViewFields, workflowVersion: computeStandardWorkflowVersionViewFields, workspaceMember: computeStandardWorkspaceMemberViewFields, diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-blocklist-view-fields.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-blocklist-view-fields.util.ts new file mode 100644 index 0000000000..56ef78b8af --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-blocklist-view-fields.util.ts @@ -0,0 +1,102 @@ +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 computeStandardBlocklistViewFields = ( + args: Omit, 'context'>, +): Record => { + return { + allBlocklistsHandle: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'blocklist', + context: { + viewName: 'allBlocklists', + viewFieldName: 'handle', + fieldName: 'handle', + position: 0, + isVisible: true, + size: 150, + }, + }), + allBlocklistsWorkspaceMember: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'blocklist', + context: { + viewName: 'allBlocklists', + viewFieldName: 'workspaceMember', + fieldName: 'workspaceMember', + position: 1, + isVisible: true, + size: 150, + }, + }), + allBlocklistsCreatedAt: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'blocklist', + context: { + viewName: 'allBlocklists', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 2, + isVisible: true, + size: 150, + }, + }), + + blocklistRecordPageFieldsHandle: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'blocklist', + context: { + viewName: 'blocklistRecordPageFields', + viewFieldName: 'handle', + fieldName: 'handle', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + blocklistRecordPageFieldsWorkspaceMember: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'blocklist', + context: { + viewName: 'blocklistRecordPageFields', + viewFieldName: 'workspaceMember', + fieldName: 'workspaceMember', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + blocklistRecordPageFieldsCreatedAt: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'blocklist', + context: { + viewName: 'blocklistRecordPageFields', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + blocklistRecordPageFieldsCreatedBy: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'blocklist', + context: { + viewName: 'blocklistRecordPageFields', + viewFieldName: 'createdBy', + fieldName: 'createdBy', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-calendar-channel-event-association-view-fields.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-calendar-channel-event-association-view-fields.util.ts new file mode 100644 index 0000000000..4dcb6cf958 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-calendar-channel-event-association-view-fields.util.ts @@ -0,0 +1,138 @@ +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 computeStandardCalendarChannelEventAssociationViewFields = ( + args: Omit< + CreateStandardViewFieldArgs<'calendarChannelEventAssociation'>, + 'context' + >, +): Record => { + return { + allCalendarChannelEventAssociationsCalendarChannel: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarChannelEventAssociation', + context: { + viewName: 'allCalendarChannelEventAssociations', + viewFieldName: 'calendarChannel', + fieldName: 'calendarChannel', + position: 0, + isVisible: true, + size: 150, + }, + }), + allCalendarChannelEventAssociationsCalendarEvent: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarChannelEventAssociation', + context: { + viewName: 'allCalendarChannelEventAssociations', + viewFieldName: 'calendarEvent', + fieldName: 'calendarEvent', + position: 1, + isVisible: true, + size: 150, + }, + }), + allCalendarChannelEventAssociationsEventExternalId: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarChannelEventAssociation', + context: { + viewName: 'allCalendarChannelEventAssociations', + viewFieldName: 'eventExternalId', + fieldName: 'eventExternalId', + position: 2, + isVisible: true, + size: 150, + }, + }), + allCalendarChannelEventAssociationsCreatedAt: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarChannelEventAssociation', + context: { + viewName: 'allCalendarChannelEventAssociations', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 3, + isVisible: true, + size: 150, + }, + }), + + calendarChannelEventAssociationRecordPageFieldsCalendarChannel: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarChannelEventAssociation', + context: { + viewName: 'calendarChannelEventAssociationRecordPageFields', + viewFieldName: 'calendarChannel', + fieldName: 'calendarChannel', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + calendarChannelEventAssociationRecordPageFieldsCalendarEvent: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarChannelEventAssociation', + context: { + viewName: 'calendarChannelEventAssociationRecordPageFields', + viewFieldName: 'calendarEvent', + fieldName: 'calendarEvent', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + calendarChannelEventAssociationRecordPageFieldsEventExternalId: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarChannelEventAssociation', + context: { + viewName: 'calendarChannelEventAssociationRecordPageFields', + viewFieldName: 'eventExternalId', + fieldName: 'eventExternalId', + position: 2, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + calendarChannelEventAssociationRecordPageFieldsCreatedAt: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarChannelEventAssociation', + context: { + viewName: 'calendarChannelEventAssociationRecordPageFields', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + calendarChannelEventAssociationRecordPageFieldsCreatedBy: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarChannelEventAssociation', + context: { + viewName: 'calendarChannelEventAssociationRecordPageFields', + viewFieldName: 'createdBy', + fieldName: 'createdBy', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + }; +}; 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 new file mode 100644 index 0000000000..da8617ee9f --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-calendar-channel-view-fields.util.ts @@ -0,0 +1,182 @@ +import { type FlatViewField } from 'src/engine/metadata-modules/flat-view-field/types/flat-view-field.type'; +import { + createStandardViewFieldFlatMetadata, + type CreateStandardViewFieldArgs, +} from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/create-standard-view-field-flat-metadata.util'; + +export const computeStandardCalendarChannelViewFields = ( + args: Omit, 'context'>, +): Record => { + return { + allCalendarChannelsHandle: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarChannel', + context: { + viewName: 'allCalendarChannels', + viewFieldName: 'handle', + fieldName: 'handle', + position: 0, + isVisible: true, + 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', + context: { + viewName: 'allCalendarChannels', + viewFieldName: 'visibility', + fieldName: 'visibility', + position: 2, + isVisible: true, + size: 150, + }, + }), + allCalendarChannelsIsSyncEnabled: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarChannel', + context: { + viewName: 'allCalendarChannels', + viewFieldName: 'isSyncEnabled', + fieldName: 'isSyncEnabled', + position: 3, + isVisible: true, + size: 150, + }, + }), + allCalendarChannelsSyncStatus: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarChannel', + context: { + viewName: 'allCalendarChannels', + viewFieldName: 'syncStatus', + fieldName: 'syncStatus', + position: 4, + isVisible: true, + size: 150, + }, + }), + allCalendarChannelsCreatedAt: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarChannel', + context: { + viewName: 'allCalendarChannels', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 5, + isVisible: true, + size: 150, + }, + }), + + calendarChannelRecordPageFieldsHandle: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarChannel', + context: { + viewName: 'calendarChannelRecordPageFields', + viewFieldName: 'handle', + fieldName: 'handle', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + calendarChannelRecordPageFieldsConnectedAccount: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarChannel', + context: { + viewName: 'calendarChannelRecordPageFields', + viewFieldName: 'connectedAccount', + fieldName: 'connectedAccount', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + calendarChannelRecordPageFieldsVisibility: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarChannel', + context: { + viewName: 'calendarChannelRecordPageFields', + viewFieldName: 'visibility', + fieldName: 'visibility', + position: 2, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + calendarChannelRecordPageFieldsIsSyncEnabled: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarChannel', + context: { + viewName: 'calendarChannelRecordPageFields', + viewFieldName: 'isSyncEnabled', + fieldName: 'isSyncEnabled', + position: 3, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + calendarChannelRecordPageFieldsSyncStatus: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarChannel', + context: { + viewName: 'calendarChannelRecordPageFields', + viewFieldName: 'syncStatus', + fieldName: 'syncStatus', + position: 4, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + calendarChannelRecordPageFieldsCreatedAt: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarChannel', + context: { + viewName: 'calendarChannelRecordPageFields', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + calendarChannelRecordPageFieldsCreatedBy: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarChannel', + context: { + viewName: 'calendarChannelRecordPageFields', + viewFieldName: 'createdBy', + fieldName: 'createdBy', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-calendar-event-participant-view-fields.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-calendar-event-participant-view-fields.util.ts new file mode 100644 index 0000000000..987957a408 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-calendar-event-participant-view-fields.util.ts @@ -0,0 +1,243 @@ +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 computeStandardCalendarEventParticipantViewFields = ( + args: Omit< + CreateStandardViewFieldArgs<'calendarEventParticipant'>, + 'context' + >, +): Record => { + return { + allCalendarEventParticipantsHandle: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarEventParticipant', + context: { + viewName: 'allCalendarEventParticipants', + viewFieldName: 'handle', + fieldName: 'handle', + position: 0, + isVisible: true, + size: 150, + }, + }), + allCalendarEventParticipantsCalendarEvent: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarEventParticipant', + context: { + viewName: 'allCalendarEventParticipants', + viewFieldName: 'calendarEvent', + fieldName: 'calendarEvent', + position: 1, + isVisible: true, + size: 150, + }, + }), + allCalendarEventParticipantsDisplayName: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarEventParticipant', + context: { + viewName: 'allCalendarEventParticipants', + viewFieldName: 'displayName', + fieldName: 'displayName', + position: 2, + isVisible: true, + size: 150, + }, + }), + allCalendarEventParticipantsIsOrganizer: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarEventParticipant', + context: { + viewName: 'allCalendarEventParticipants', + viewFieldName: 'isOrganizer', + fieldName: 'isOrganizer', + position: 3, + isVisible: true, + size: 150, + }, + }), + allCalendarEventParticipantsResponseStatus: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarEventParticipant', + context: { + viewName: 'allCalendarEventParticipants', + viewFieldName: 'responseStatus', + fieldName: 'responseStatus', + position: 4, + isVisible: true, + size: 150, + }, + }), + allCalendarEventParticipantsPerson: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarEventParticipant', + context: { + viewName: 'allCalendarEventParticipants', + viewFieldName: 'person', + fieldName: 'person', + position: 5, + isVisible: true, + size: 150, + }, + }), + allCalendarEventParticipantsWorkspaceMember: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarEventParticipant', + context: { + viewName: 'allCalendarEventParticipants', + viewFieldName: 'workspaceMember', + fieldName: 'workspaceMember', + position: 6, + isVisible: true, + size: 150, + }, + }), + allCalendarEventParticipantsCreatedAt: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarEventParticipant', + context: { + viewName: 'allCalendarEventParticipants', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 7, + isVisible: true, + size: 150, + }, + }), + + calendarEventParticipantRecordPageFieldsHandle: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarEventParticipant', + context: { + viewName: 'calendarEventParticipantRecordPageFields', + viewFieldName: 'handle', + fieldName: 'handle', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + calendarEventParticipantRecordPageFieldsCalendarEvent: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarEventParticipant', + context: { + viewName: 'calendarEventParticipantRecordPageFields', + viewFieldName: 'calendarEvent', + fieldName: 'calendarEvent', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + calendarEventParticipantRecordPageFieldsDisplayName: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarEventParticipant', + context: { + viewName: 'calendarEventParticipantRecordPageFields', + viewFieldName: 'displayName', + fieldName: 'displayName', + position: 2, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + calendarEventParticipantRecordPageFieldsIsOrganizer: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarEventParticipant', + context: { + viewName: 'calendarEventParticipantRecordPageFields', + viewFieldName: 'isOrganizer', + fieldName: 'isOrganizer', + position: 3, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + calendarEventParticipantRecordPageFieldsResponseStatus: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarEventParticipant', + context: { + viewName: 'calendarEventParticipantRecordPageFields', + viewFieldName: 'responseStatus', + fieldName: 'responseStatus', + position: 4, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + calendarEventParticipantRecordPageFieldsPerson: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarEventParticipant', + context: { + viewName: 'calendarEventParticipantRecordPageFields', + viewFieldName: 'person', + fieldName: 'person', + position: 5, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + calendarEventParticipantRecordPageFieldsWorkspaceMember: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarEventParticipant', + context: { + viewName: 'calendarEventParticipantRecordPageFields', + viewFieldName: 'workspaceMember', + fieldName: 'workspaceMember', + position: 6, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + calendarEventParticipantRecordPageFieldsCreatedAt: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarEventParticipant', + context: { + viewName: 'calendarEventParticipantRecordPageFields', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + calendarEventParticipantRecordPageFieldsCreatedBy: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'calendarEventParticipant', + context: { + viewName: 'calendarEventParticipantRecordPageFields', + viewFieldName: 'createdBy', + fieldName: 'createdBy', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + }; +}; 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 new file mode 100644 index 0000000000..92a3f2bdbf --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-connected-account-view-fields.util.ts @@ -0,0 +1,158 @@ +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, 'context'>, +): Record => { + 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, + }, + }), + + connectedAccountRecordPageFieldsHandle: createStandardViewFieldFlatMetadata( + { + ...args, + objectName: 'connectedAccount', + context: { + viewName: 'connectedAccountRecordPageFields', + viewFieldName: 'handle', + fieldName: 'handle', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }, + ), + 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: 'other', + }, + }), + connectedAccountRecordPageFieldsCreatedBy: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'connectedAccount', + context: { + viewName: 'connectedAccountRecordPageFields', + viewFieldName: 'createdBy', + fieldName: 'createdBy', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-favorite-folder-view-fields.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-favorite-folder-view-fields.util.ts new file mode 100644 index 0000000000..734b1e63d7 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-favorite-folder-view-fields.util.ts @@ -0,0 +1,78 @@ +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 computeStandardFavoriteFolderViewFields = ( + args: Omit, 'context'>, +): Record => { + return { + allFavoriteFoldersName: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favoriteFolder', + context: { + viewName: 'allFavoriteFolders', + viewFieldName: 'name', + fieldName: 'name', + position: 0, + isVisible: true, + size: 150, + }, + }), + allFavoriteFoldersCreatedAt: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favoriteFolder', + context: { + viewName: 'allFavoriteFolders', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 1, + isVisible: true, + size: 150, + }, + }), + + favoriteFolderRecordPageFieldsName: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favoriteFolder', + context: { + viewName: 'favoriteFolderRecordPageFields', + viewFieldName: 'name', + fieldName: 'name', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + favoriteFolderRecordPageFieldsCreatedAt: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favoriteFolder', + context: { + viewName: 'favoriteFolderRecordPageFields', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + favoriteFolderRecordPageFieldsCreatedBy: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favoriteFolder', + context: { + viewName: 'favoriteFolderRecordPageFields', + viewFieldName: 'createdBy', + fieldName: 'createdBy', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-favorite-view-fields.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-favorite-view-fields.util.ts new file mode 100644 index 0000000000..9abfd9dc10 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-favorite-view-fields.util.ts @@ -0,0 +1,254 @@ +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 computeStandardFavoriteViewFields = ( + args: Omit, 'context'>, +): Record => { + return { + allFavoritesForWorkspaceMember: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'allFavorites', + viewFieldName: 'forWorkspaceMember', + fieldName: 'forWorkspaceMember', + position: 0, + isVisible: true, + size: 150, + }, + }), + allFavoritesPerson: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'allFavorites', + viewFieldName: 'person', + fieldName: 'person', + position: 1, + isVisible: true, + size: 150, + }, + }), + allFavoritesCompany: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'allFavorites', + viewFieldName: 'company', + fieldName: 'company', + position: 2, + isVisible: true, + size: 150, + }, + }), + allFavoritesOpportunity: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'allFavorites', + viewFieldName: 'opportunity', + fieldName: 'opportunity', + position: 3, + isVisible: true, + size: 150, + }, + }), + allFavoritesTask: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'allFavorites', + viewFieldName: 'task', + fieldName: 'task', + position: 4, + isVisible: true, + size: 150, + }, + }), + allFavoritesNote: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'allFavorites', + viewFieldName: 'note', + fieldName: 'note', + position: 5, + isVisible: true, + size: 150, + }, + }), + allFavoritesDashboard: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'allFavorites', + viewFieldName: 'dashboard', + fieldName: 'dashboard', + position: 6, + isVisible: true, + size: 150, + }, + }), + allFavoritesFavoriteFolder: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'allFavorites', + viewFieldName: 'favoriteFolder', + fieldName: 'favoriteFolder', + position: 7, + isVisible: true, + size: 150, + }, + }), + allFavoritesCreatedAt: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'allFavorites', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 8, + isVisible: true, + size: 150, + }, + }), + + favoriteRecordPageFieldsForWorkspaceMember: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'favoriteRecordPageFields', + viewFieldName: 'forWorkspaceMember', + fieldName: 'forWorkspaceMember', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + favoriteRecordPageFieldsPerson: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'favoriteRecordPageFields', + viewFieldName: 'person', + fieldName: 'person', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + favoriteRecordPageFieldsCompany: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'favoriteRecordPageFields', + viewFieldName: 'company', + fieldName: 'company', + position: 2, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + favoriteRecordPageFieldsOpportunity: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'favoriteRecordPageFields', + viewFieldName: 'opportunity', + fieldName: 'opportunity', + position: 3, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + favoriteRecordPageFieldsTask: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'favoriteRecordPageFields', + viewFieldName: 'task', + fieldName: 'task', + position: 4, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + favoriteRecordPageFieldsNote: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'favoriteRecordPageFields', + viewFieldName: 'note', + fieldName: 'note', + position: 5, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + favoriteRecordPageFieldsDashboard: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'favoriteRecordPageFields', + viewFieldName: 'dashboard', + fieldName: 'dashboard', + position: 6, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + favoriteRecordPageFieldsFavoriteFolder: createStandardViewFieldFlatMetadata( + { + ...args, + objectName: 'favorite', + context: { + viewName: 'favoriteRecordPageFields', + viewFieldName: 'favoriteFolder', + fieldName: 'favoriteFolder', + position: 7, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }, + ), + favoriteRecordPageFieldsCreatedAt: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'favoriteRecordPageFields', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + favoriteRecordPageFieldsCreatedBy: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'favoriteRecordPageFields', + viewFieldName: 'createdBy', + fieldName: 'createdBy', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-channel-message-association-message-folder-view-fields.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-channel-message-association-message-folder-view-fields.util.ts new file mode 100644 index 0000000000..10ff14a553 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-channel-message-association-message-folder-view-fields.util.ts @@ -0,0 +1,116 @@ +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 computeStandardMessageChannelMessageAssociationMessageFolderViewFields = + ( + args: Omit< + CreateStandardViewFieldArgs<'messageChannelMessageAssociationMessageFolder'>, + 'context' + >, + ): Record => { + return { + allMessageChannelMessageAssociationMessageFoldersMessageChannelMessageAssociation: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociationMessageFolder', + context: { + viewName: 'allMessageChannelMessageAssociationMessageFolders', + viewFieldName: 'messageChannelMessageAssociation', + fieldName: 'messageChannelMessageAssociation', + position: 0, + isVisible: true, + size: 150, + }, + }), + allMessageChannelMessageAssociationMessageFoldersMessageFolder: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociationMessageFolder', + context: { + viewName: 'allMessageChannelMessageAssociationMessageFolders', + viewFieldName: 'messageFolder', + fieldName: 'messageFolder', + position: 1, + isVisible: true, + size: 150, + }, + }), + allMessageChannelMessageAssociationMessageFoldersCreatedAt: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociationMessageFolder', + context: { + viewName: 'allMessageChannelMessageAssociationMessageFolders', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 2, + isVisible: true, + size: 150, + }, + }), + + messageChannelMessageAssociationMessageFolderRecordPageFieldsMessageChannelMessageAssociation: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociationMessageFolder', + context: { + viewName: + 'messageChannelMessageAssociationMessageFolderRecordPageFields', + viewFieldName: 'messageChannelMessageAssociation', + fieldName: 'messageChannelMessageAssociation', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + messageChannelMessageAssociationMessageFolderRecordPageFieldsMessageFolder: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociationMessageFolder', + context: { + viewName: + 'messageChannelMessageAssociationMessageFolderRecordPageFields', + viewFieldName: 'messageFolder', + fieldName: 'messageFolder', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + messageChannelMessageAssociationMessageFolderRecordPageFieldsCreatedAt: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociationMessageFolder', + context: { + viewName: + 'messageChannelMessageAssociationMessageFolderRecordPageFields', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + messageChannelMessageAssociationMessageFolderRecordPageFieldsCreatedBy: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociationMessageFolder', + context: { + viewName: + 'messageChannelMessageAssociationMessageFolderRecordPageFields', + viewFieldName: 'createdBy', + fieldName: 'createdBy', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + }; + }; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-channel-message-association-view-fields.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-channel-message-association-view-fields.util.ts new file mode 100644 index 0000000000..3ea71d87ee --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-channel-message-association-view-fields.util.ts @@ -0,0 +1,165 @@ +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 computeStandardMessageChannelMessageAssociationViewFields = ( + args: Omit< + CreateStandardViewFieldArgs<'messageChannelMessageAssociation'>, + 'context' + >, +): Record => { + return { + allMessageChannelMessageAssociationsMessageChannel: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociation', + context: { + viewName: 'allMessageChannelMessageAssociations', + viewFieldName: 'messageChannel', + fieldName: 'messageChannel', + position: 0, + isVisible: true, + size: 150, + }, + }), + allMessageChannelMessageAssociationsMessage: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociation', + context: { + viewName: 'allMessageChannelMessageAssociations', + viewFieldName: 'message', + fieldName: 'message', + position: 1, + isVisible: true, + size: 150, + }, + }), + allMessageChannelMessageAssociationsMessageExternalId: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociation', + context: { + viewName: 'allMessageChannelMessageAssociations', + viewFieldName: 'messageExternalId', + fieldName: 'messageExternalId', + position: 2, + isVisible: true, + size: 150, + }, + }), + allMessageChannelMessageAssociationsDirection: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociation', + context: { + viewName: 'allMessageChannelMessageAssociations', + viewFieldName: 'direction', + fieldName: 'direction', + position: 3, + isVisible: true, + size: 150, + }, + }), + allMessageChannelMessageAssociationsCreatedAt: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociation', + context: { + viewName: 'allMessageChannelMessageAssociations', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 4, + isVisible: true, + size: 150, + }, + }), + + messageChannelMessageAssociationRecordPageFieldsMessageChannel: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociation', + context: { + viewName: 'messageChannelMessageAssociationRecordPageFields', + viewFieldName: 'messageChannel', + fieldName: 'messageChannel', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + messageChannelMessageAssociationRecordPageFieldsMessage: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociation', + context: { + viewName: 'messageChannelMessageAssociationRecordPageFields', + viewFieldName: 'message', + fieldName: 'message', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + messageChannelMessageAssociationRecordPageFieldsMessageExternalId: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociation', + context: { + viewName: 'messageChannelMessageAssociationRecordPageFields', + viewFieldName: 'messageExternalId', + fieldName: 'messageExternalId', + position: 2, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + messageChannelMessageAssociationRecordPageFieldsDirection: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociation', + context: { + viewName: 'messageChannelMessageAssociationRecordPageFields', + viewFieldName: 'direction', + fieldName: 'direction', + position: 3, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + messageChannelMessageAssociationRecordPageFieldsCreatedAt: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociation', + context: { + viewName: 'messageChannelMessageAssociationRecordPageFields', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + messageChannelMessageAssociationRecordPageFieldsCreatedBy: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociation', + context: { + viewName: 'messageChannelMessageAssociationRecordPageFields', + viewFieldName: 'createdBy', + fieldName: 'createdBy', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + }; +}; 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 new file mode 100644 index 0000000000..0d4cff1d9e --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-channel-view-fields.util.ts @@ -0,0 +1,207 @@ +import { type FlatViewField } from 'src/engine/metadata-modules/flat-view-field/types/flat-view-field.type'; +import { + createStandardViewFieldFlatMetadata, + type CreateStandardViewFieldArgs, +} from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/create-standard-view-field-flat-metadata.util'; + +export const computeStandardMessageChannelViewFields = ( + args: Omit, 'context'>, +): Record => { + return { + allMessageChannelsHandle: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannel', + context: { + viewName: 'allMessageChannels', + viewFieldName: 'handle', + fieldName: 'handle', + position: 0, + isVisible: true, + 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', + context: { + viewName: 'allMessageChannels', + viewFieldName: 'type', + fieldName: 'type', + position: 2, + isVisible: true, + size: 150, + }, + }), + allMessageChannelsVisibility: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannel', + context: { + viewName: 'allMessageChannels', + viewFieldName: 'visibility', + fieldName: 'visibility', + position: 3, + isVisible: true, + size: 150, + }, + }), + allMessageChannelsIsSyncEnabled: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannel', + context: { + viewName: 'allMessageChannels', + viewFieldName: 'isSyncEnabled', + fieldName: 'isSyncEnabled', + position: 4, + isVisible: true, + size: 150, + }, + }), + allMessageChannelsSyncStatus: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannel', + context: { + viewName: 'allMessageChannels', + viewFieldName: 'syncStatus', + fieldName: 'syncStatus', + position: 5, + isVisible: true, + size: 150, + }, + }), + allMessageChannelsCreatedAt: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannel', + context: { + viewName: 'allMessageChannels', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 6, + isVisible: true, + size: 150, + }, + }), + + messageChannelRecordPageFieldsHandle: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannel', + context: { + viewName: 'messageChannelRecordPageFields', + viewFieldName: 'handle', + fieldName: 'handle', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + 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', + context: { + viewName: 'messageChannelRecordPageFields', + viewFieldName: 'type', + fieldName: 'type', + position: 2, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + messageChannelRecordPageFieldsVisibility: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannel', + context: { + viewName: 'messageChannelRecordPageFields', + viewFieldName: 'visibility', + fieldName: 'visibility', + position: 3, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + messageChannelRecordPageFieldsIsSyncEnabled: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannel', + context: { + viewName: 'messageChannelRecordPageFields', + viewFieldName: 'isSyncEnabled', + fieldName: 'isSyncEnabled', + position: 4, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + messageChannelRecordPageFieldsSyncStatus: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannel', + context: { + viewName: 'messageChannelRecordPageFields', + viewFieldName: 'syncStatus', + fieldName: 'syncStatus', + position: 5, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + messageChannelRecordPageFieldsCreatedAt: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannel', + context: { + viewName: 'messageChannelRecordPageFields', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + messageChannelRecordPageFieldsCreatedBy: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageChannel', + context: { + viewName: 'messageChannelRecordPageFields', + viewFieldName: 'createdBy', + fieldName: 'createdBy', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-folder-view-fields.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-folder-view-fields.util.ts new file mode 100644 index 0000000000..8fcdcd5918 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-folder-view-fields.util.ts @@ -0,0 +1,157 @@ +import { type FlatViewField } from 'src/engine/metadata-modules/flat-view-field/types/flat-view-field.type'; +import { + createStandardViewFieldFlatMetadata, + type CreateStandardViewFieldArgs, +} from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/create-standard-view-field-flat-metadata.util'; + +export const computeStandardMessageFolderViewFields = ( + args: Omit, 'context'>, +): Record => { + return { + allMessageFoldersName: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageFolder', + context: { + viewName: 'allMessageFolders', + viewFieldName: 'name', + fieldName: 'name', + position: 0, + isVisible: true, + size: 150, + }, + }), + allMessageFoldersMessageChannel: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageFolder', + context: { + viewName: 'allMessageFolders', + viewFieldName: 'messageChannel', + fieldName: 'messageChannel', + position: 1, + isVisible: true, + size: 150, + }, + }), + allMessageFoldersIsSentFolder: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageFolder', + context: { + viewName: 'allMessageFolders', + viewFieldName: 'isSentFolder', + fieldName: 'isSentFolder', + position: 2, + isVisible: true, + size: 150, + }, + }), + allMessageFoldersIsSynced: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageFolder', + context: { + viewName: 'allMessageFolders', + viewFieldName: 'isSynced', + fieldName: 'isSynced', + position: 3, + isVisible: true, + size: 150, + }, + }), + allMessageFoldersCreatedAt: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageFolder', + context: { + viewName: 'allMessageFolders', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 4, + isVisible: true, + size: 150, + }, + }), + + messageFolderRecordPageFieldsName: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageFolder', + context: { + viewName: 'messageFolderRecordPageFields', + viewFieldName: 'name', + fieldName: 'name', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + messageFolderRecordPageFieldsMessageChannel: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageFolder', + context: { + viewName: 'messageFolderRecordPageFields', + viewFieldName: 'messageChannel', + fieldName: 'messageChannel', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + messageFolderRecordPageFieldsIsSentFolder: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageFolder', + context: { + viewName: 'messageFolderRecordPageFields', + viewFieldName: 'isSentFolder', + fieldName: 'isSentFolder', + position: 2, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + messageFolderRecordPageFieldsIsSynced: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageFolder', + context: { + viewName: 'messageFolderRecordPageFields', + viewFieldName: 'isSynced', + fieldName: 'isSynced', + position: 3, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + messageFolderRecordPageFieldsCreatedAt: createStandardViewFieldFlatMetadata( + { + ...args, + objectName: 'messageFolder', + context: { + viewName: 'messageFolderRecordPageFields', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }, + ), + messageFolderRecordPageFieldsCreatedBy: createStandardViewFieldFlatMetadata( + { + ...args, + objectName: 'messageFolder', + context: { + viewName: 'messageFolderRecordPageFields', + viewFieldName: 'createdBy', + fieldName: 'createdBy', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }, + ), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-participant-view-fields.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-participant-view-fields.util.ts new file mode 100644 index 0000000000..0fedf85074 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-message-participant-view-fields.util.ts @@ -0,0 +1,210 @@ +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 computeStandardMessageParticipantViewFields = ( + args: Omit, 'context'>, +): Record => { + return { + allMessageParticipantsHandle: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageParticipant', + context: { + viewName: 'allMessageParticipants', + viewFieldName: 'handle', + fieldName: 'handle', + position: 0, + isVisible: true, + size: 150, + }, + }), + allMessageParticipantsMessage: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageParticipant', + context: { + viewName: 'allMessageParticipants', + viewFieldName: 'message', + fieldName: 'message', + position: 1, + isVisible: true, + size: 150, + }, + }), + allMessageParticipantsRole: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageParticipant', + context: { + viewName: 'allMessageParticipants', + viewFieldName: 'role', + fieldName: 'role', + position: 2, + isVisible: true, + size: 150, + }, + }), + allMessageParticipantsDisplayName: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageParticipant', + context: { + viewName: 'allMessageParticipants', + viewFieldName: 'displayName', + fieldName: 'displayName', + position: 3, + isVisible: true, + size: 150, + }, + }), + allMessageParticipantsPerson: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageParticipant', + context: { + viewName: 'allMessageParticipants', + viewFieldName: 'person', + fieldName: 'person', + position: 4, + isVisible: true, + size: 150, + }, + }), + allMessageParticipantsWorkspaceMember: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageParticipant', + context: { + viewName: 'allMessageParticipants', + viewFieldName: 'workspaceMember', + fieldName: 'workspaceMember', + position: 5, + isVisible: true, + size: 150, + }, + }), + allMessageParticipantsCreatedAt: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageParticipant', + context: { + viewName: 'allMessageParticipants', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 6, + isVisible: true, + size: 150, + }, + }), + + messageParticipantRecordPageFieldsHandle: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageParticipant', + context: { + viewName: 'messageParticipantRecordPageFields', + viewFieldName: 'handle', + fieldName: 'handle', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + messageParticipantRecordPageFieldsMessage: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageParticipant', + context: { + viewName: 'messageParticipantRecordPageFields', + viewFieldName: 'message', + fieldName: 'message', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + messageParticipantRecordPageFieldsRole: createStandardViewFieldFlatMetadata( + { + ...args, + objectName: 'messageParticipant', + context: { + viewName: 'messageParticipantRecordPageFields', + viewFieldName: 'role', + fieldName: 'role', + position: 2, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }, + ), + messageParticipantRecordPageFieldsDisplayName: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageParticipant', + context: { + viewName: 'messageParticipantRecordPageFields', + viewFieldName: 'displayName', + fieldName: 'displayName', + position: 3, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + messageParticipantRecordPageFieldsPerson: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageParticipant', + context: { + viewName: 'messageParticipantRecordPageFields', + viewFieldName: 'person', + fieldName: 'person', + position: 4, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + messageParticipantRecordPageFieldsWorkspaceMember: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageParticipant', + context: { + viewName: 'messageParticipantRecordPageFields', + viewFieldName: 'workspaceMember', + fieldName: 'workspaceMember', + position: 5, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + messageParticipantRecordPageFieldsCreatedAt: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageParticipant', + context: { + viewName: 'messageParticipantRecordPageFields', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + messageParticipantRecordPageFieldsCreatedBy: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'messageParticipant', + context: { + viewName: 'messageParticipantRecordPageFields', + viewFieldName: 'createdBy', + fieldName: 'createdBy', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-workflow-automated-trigger-view-fields.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-workflow-automated-trigger-view-fields.util.ts new file mode 100644 index 0000000000..a0ae428b5c --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-workflow-automated-trigger-view-fields.util.ts @@ -0,0 +1,108 @@ +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 computeStandardWorkflowAutomatedTriggerViewFields = ( + args: Omit< + CreateStandardViewFieldArgs<'workflowAutomatedTrigger'>, + 'context' + >, +): Record => { + return { + allWorkflowAutomatedTriggersType: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'workflowAutomatedTrigger', + context: { + viewName: 'allWorkflowAutomatedTriggers', + viewFieldName: 'type', + fieldName: 'type', + position: 0, + isVisible: true, + size: 150, + }, + }), + allWorkflowAutomatedTriggersWorkflow: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'workflowAutomatedTrigger', + context: { + viewName: 'allWorkflowAutomatedTriggers', + viewFieldName: 'workflow', + fieldName: 'workflow', + position: 1, + isVisible: true, + size: 150, + }, + }), + allWorkflowAutomatedTriggersCreatedAt: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'workflowAutomatedTrigger', + context: { + viewName: 'allWorkflowAutomatedTriggers', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 2, + isVisible: true, + size: 150, + }, + }), + + workflowAutomatedTriggerRecordPageFieldsType: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'workflowAutomatedTrigger', + context: { + viewName: 'workflowAutomatedTriggerRecordPageFields', + viewFieldName: 'type', + fieldName: 'type', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + workflowAutomatedTriggerRecordPageFieldsWorkflow: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'workflowAutomatedTrigger', + context: { + viewName: 'workflowAutomatedTriggerRecordPageFields', + viewFieldName: 'workflow', + fieldName: 'workflow', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), + workflowAutomatedTriggerRecordPageFieldsCreatedAt: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'workflowAutomatedTrigger', + context: { + viewName: 'workflowAutomatedTriggerRecordPageFields', + viewFieldName: 'createdAt', + fieldName: 'createdAt', + position: 0, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + workflowAutomatedTriggerRecordPageFieldsCreatedBy: + createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'workflowAutomatedTrigger', + context: { + viewName: 'workflowAutomatedTriggerRecordPageFields', + viewFieldName: 'createdBy', + fieldName: 'createdBy', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'other', + }, + }), + }; +}; 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 992adfddab..2713ef5fe4 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 @@ -6,9 +6,21 @@ import { addFlatEntityToFlatEntityMapsOrThrow } from 'src/engine/metadata-module import { type FlatView } from 'src/engine/metadata-modules/flat-view/types/flat-view.type'; import { type AllStandardObjectName } from 'src/engine/workspace-manager/twenty-standard-application/types/all-standard-object-name.type'; import { computeStandardAttachmentViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-attachment-views.util'; +import { computeStandardBlocklistViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-blocklist-views.util'; +import { computeStandardCalendarChannelViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-calendar-channel-views.util'; +import { computeStandardCalendarChannelEventAssociationViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-calendar-channel-event-association-views.util'; +import { computeStandardCalendarEventParticipantViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-calendar-event-participant-views.util'; import { computeStandardCalendarEventViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-calendar-event-views.util'; 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 { computeStandardFavoriteFolderViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-favorite-folder-views.util'; +import { computeStandardFavoriteViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-favorite-views.util'; +import { computeStandardMessageChannelMessageAssociationMessageFolderViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-channel-message-association-message-folder-views.util'; +import { computeStandardMessageChannelMessageAssociationViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-channel-message-association-views.util'; +import { computeStandardMessageChannelViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-channel-views.util'; +import { computeStandardMessageFolderViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-folder-views.util'; +import { computeStandardMessageParticipantViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-participant-views.util'; import { computeStandardMessageThreadViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-thread-views.util'; import { computeStandardMessageViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-views.util'; import { computeStandardNoteTargetViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-note-target-views.util'; @@ -18,6 +30,7 @@ import { computeStandardPersonViews } from 'src/engine/workspace-manager/twenty- import { computeStandardTaskTargetViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-task-target-views.util'; import { computeStandardTaskViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-task-views.util'; import { computeStandardTimelineActivityViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-timeline-activity-views.util'; +import { computeStandardWorkflowAutomatedTriggerViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-workflow-automated-trigger-views.util'; import { computeStandardWorkflowRunViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-workflow-run-views.util'; import { computeStandardWorkflowVersionViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-workflow-version-views.util'; import { computeStandardWorkflowViews } from 'src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-workflow-views.util'; @@ -30,10 +43,25 @@ type StandardViewBuilder

= ( const STANDARD_FLAT_VIEW_METADATA_BUILDERS_BY_OBJECT_NAME = { attachment: computeStandardAttachmentViews, + blocklist: computeStandardBlocklistViews, + calendarChannel: computeStandardCalendarChannelViews, + calendarChannelEventAssociation: + computeStandardCalendarChannelEventAssociationViews, calendarEvent: computeStandardCalendarEventViews, + calendarEventParticipant: computeStandardCalendarEventParticipantViews, company: computeStandardCompanyViews, + connectedAccount: computeStandardConnectedAccountViews, dashboard: computeStandardDashboardViews, + favorite: computeStandardFavoriteViews, + favoriteFolder: computeStandardFavoriteFolderViews, message: computeStandardMessageViews, + messageChannel: computeStandardMessageChannelViews, + messageChannelMessageAssociation: + computeStandardMessageChannelMessageAssociationViews, + messageChannelMessageAssociationMessageFolder: + computeStandardMessageChannelMessageAssociationMessageFolderViews, + messageFolder: computeStandardMessageFolderViews, + messageParticipant: computeStandardMessageParticipantViews, messageThread: computeStandardMessageThreadViews, note: computeStandardNoteViews, noteTarget: computeStandardNoteTargetViews, @@ -43,6 +71,7 @@ const STANDARD_FLAT_VIEW_METADATA_BUILDERS_BY_OBJECT_NAME = { taskTarget: computeStandardTaskTargetViews, timelineActivity: computeStandardTimelineActivityViews, workflow: computeStandardWorkflowViews, + workflowAutomatedTrigger: computeStandardWorkflowAutomatedTriggerViews, workflowRun: computeStandardWorkflowRunViews, workflowVersion: computeStandardWorkflowVersionViews, workspaceMember: computeStandardWorkspaceMemberViews, diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-blocklist-views.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-blocklist-views.util.ts new file mode 100644 index 0000000000..4f39d58ee9 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-blocklist-views.util.ts @@ -0,0 +1,38 @@ +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 computeStandardBlocklistViews = ( + args: Omit, 'context'>, +): Record => { + return { + allBlocklists: createStandardViewFlatMetadata({ + ...args, + objectName: 'blocklist', + context: { + viewName: 'allBlocklists', + name: 'All Blocklists', + type: ViewType.TABLE, + key: ViewKey.INDEX, + position: 0, + icon: 'IconList', + }, + }), + blocklistRecordPageFields: createStandardViewFlatMetadata({ + ...args, + objectName: 'blocklist', + context: { + viewName: 'blocklistRecordPageFields', + name: 'Blocklist Record Page Fields', + type: ViewType.FIELDS_WIDGET, + key: null, + position: 0, + icon: 'IconList', + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-calendar-channel-event-association-views.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-calendar-channel-event-association-views.util.ts new file mode 100644 index 0000000000..5a09c28059 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-calendar-channel-event-association-views.util.ts @@ -0,0 +1,42 @@ +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 computeStandardCalendarChannelEventAssociationViews = ( + args: Omit< + CreateStandardViewArgs<'calendarChannelEventAssociation'>, + 'context' + >, +): Record => { + return { + allCalendarChannelEventAssociations: createStandardViewFlatMetadata({ + ...args, + objectName: 'calendarChannelEventAssociation', + context: { + viewName: 'allCalendarChannelEventAssociations', + name: 'All Calendar Channel Event Associations', + type: ViewType.TABLE, + key: ViewKey.INDEX, + position: 0, + icon: 'IconList', + }, + }), + calendarChannelEventAssociationRecordPageFields: + createStandardViewFlatMetadata({ + ...args, + objectName: 'calendarChannelEventAssociation', + context: { + viewName: 'calendarChannelEventAssociationRecordPageFields', + name: 'Calendar Channel Event Association Record Page Fields', + type: ViewType.FIELDS_WIDGET, + key: null, + position: 0, + icon: 'IconList', + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-calendar-channel-views.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-calendar-channel-views.util.ts new file mode 100644 index 0000000000..347df4a4a4 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-calendar-channel-views.util.ts @@ -0,0 +1,38 @@ +import { ViewType, ViewKey } from 'twenty-shared/types'; + +import { type FlatView } from 'src/engine/metadata-modules/flat-view/types/flat-view.type'; +import { + createStandardViewFlatMetadata, + type CreateStandardViewArgs, +} from 'src/engine/workspace-manager/twenty-standard-application/utils/view/create-standard-view-flat-metadata.util'; + +export const computeStandardCalendarChannelViews = ( + args: Omit, 'context'>, +): Record => { + return { + allCalendarChannels: createStandardViewFlatMetadata({ + ...args, + objectName: 'calendarChannel', + context: { + viewName: 'allCalendarChannels', + name: 'All Calendar Channels', + type: ViewType.TABLE, + key: ViewKey.INDEX, + position: 0, + icon: 'IconList', + }, + }), + calendarChannelRecordPageFields: createStandardViewFlatMetadata({ + ...args, + objectName: 'calendarChannel', + context: { + viewName: 'calendarChannelRecordPageFields', + name: 'Calendar Channel Record Page Fields', + type: ViewType.FIELDS_WIDGET, + key: null, + position: 0, + icon: 'IconList', + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-calendar-event-participant-views.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-calendar-event-participant-views.util.ts new file mode 100644 index 0000000000..090d85264d --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-calendar-event-participant-views.util.ts @@ -0,0 +1,38 @@ +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 computeStandardCalendarEventParticipantViews = ( + args: Omit, 'context'>, +): Record => { + return { + allCalendarEventParticipants: createStandardViewFlatMetadata({ + ...args, + objectName: 'calendarEventParticipant', + context: { + viewName: 'allCalendarEventParticipants', + name: 'All Calendar Event Participants', + type: ViewType.TABLE, + key: ViewKey.INDEX, + position: 0, + icon: 'IconList', + }, + }), + calendarEventParticipantRecordPageFields: createStandardViewFlatMetadata({ + ...args, + objectName: 'calendarEventParticipant', + context: { + viewName: 'calendarEventParticipantRecordPageFields', + name: 'Calendar Event Participant Record Page Fields', + type: ViewType.FIELDS_WIDGET, + key: null, + position: 0, + icon: 'IconList', + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-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 new file mode 100644 index 0000000000..65e14dce9f --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-connected-account-views.util.ts @@ -0,0 +1,38 @@ +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, 'context'>, +): Record => { + return { + allConnectedAccounts: createStandardViewFlatMetadata({ + ...args, + objectName: 'connectedAccount', + context: { + viewName: 'allConnectedAccounts', + name: 'All Connected Accounts', + 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/twenty-standard-application/utils/view/compute-standard-favorite-folder-views.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-favorite-folder-views.util.ts new file mode 100644 index 0000000000..1eee61c5e9 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-favorite-folder-views.util.ts @@ -0,0 +1,38 @@ +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 computeStandardFavoriteFolderViews = ( + args: Omit, 'context'>, +): Record => { + return { + allFavoriteFolders: createStandardViewFlatMetadata({ + ...args, + objectName: 'favoriteFolder', + context: { + viewName: 'allFavoriteFolders', + name: 'All Favorite Folders', + type: ViewType.TABLE, + key: ViewKey.INDEX, + position: 0, + icon: 'IconList', + }, + }), + favoriteFolderRecordPageFields: createStandardViewFlatMetadata({ + ...args, + objectName: 'favoriteFolder', + context: { + viewName: 'favoriteFolderRecordPageFields', + name: 'Favorite Folder Record Page Fields', + type: ViewType.FIELDS_WIDGET, + key: null, + position: 0, + icon: 'IconList', + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-favorite-views.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-favorite-views.util.ts new file mode 100644 index 0000000000..9f213676ef --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-favorite-views.util.ts @@ -0,0 +1,38 @@ +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 computeStandardFavoriteViews = ( + args: Omit, 'context'>, +): Record => { + return { + allFavorites: createStandardViewFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'allFavorites', + name: 'All Favorites', + type: ViewType.TABLE, + key: ViewKey.INDEX, + position: 0, + icon: 'IconList', + }, + }), + favoriteRecordPageFields: createStandardViewFlatMetadata({ + ...args, + objectName: 'favorite', + context: { + viewName: 'favoriteRecordPageFields', + name: 'Favorite Record Page Fields', + type: ViewType.FIELDS_WIDGET, + key: null, + position: 0, + icon: 'IconList', + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-channel-message-association-message-folder-views.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-channel-message-association-message-folder-views.util.ts new file mode 100644 index 0000000000..36b9b76da8 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-channel-message-association-message-folder-views.util.ts @@ -0,0 +1,45 @@ +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 computeStandardMessageChannelMessageAssociationMessageFolderViews = + ( + args: Omit< + CreateStandardViewArgs<'messageChannelMessageAssociationMessageFolder'>, + 'context' + >, + ): Record => { + return { + allMessageChannelMessageAssociationMessageFolders: + createStandardViewFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociationMessageFolder', + context: { + viewName: 'allMessageChannelMessageAssociationMessageFolders', + name: 'All Message Channel Message Association Message Folders', + type: ViewType.TABLE, + key: ViewKey.INDEX, + position: 0, + icon: 'IconList', + }, + }), + messageChannelMessageAssociationMessageFolderRecordPageFields: + createStandardViewFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociationMessageFolder', + context: { + viewName: + 'messageChannelMessageAssociationMessageFolderRecordPageFields', + name: 'Message Channel Message Association Message Folder Record Page Fields', + type: ViewType.FIELDS_WIDGET, + key: null, + position: 0, + icon: 'IconList', + }, + }), + }; + }; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-channel-message-association-views.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-channel-message-association-views.util.ts new file mode 100644 index 0000000000..3a1ce0f359 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-channel-message-association-views.util.ts @@ -0,0 +1,42 @@ +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 computeStandardMessageChannelMessageAssociationViews = ( + args: Omit< + CreateStandardViewArgs<'messageChannelMessageAssociation'>, + 'context' + >, +): Record => { + return { + allMessageChannelMessageAssociations: createStandardViewFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociation', + context: { + viewName: 'allMessageChannelMessageAssociations', + name: 'All Message Channel Message Associations', + type: ViewType.TABLE, + key: ViewKey.INDEX, + position: 0, + icon: 'IconList', + }, + }), + messageChannelMessageAssociationRecordPageFields: + createStandardViewFlatMetadata({ + ...args, + objectName: 'messageChannelMessageAssociation', + context: { + viewName: 'messageChannelMessageAssociationRecordPageFields', + name: 'Message Channel Message Association Record Page Fields', + type: ViewType.FIELDS_WIDGET, + key: null, + position: 0, + icon: 'IconList', + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-channel-views.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-channel-views.util.ts new file mode 100644 index 0000000000..f0caa6c3e7 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-channel-views.util.ts @@ -0,0 +1,38 @@ +import { ViewType, ViewKey } from 'twenty-shared/types'; + +import { type FlatView } from 'src/engine/metadata-modules/flat-view/types/flat-view.type'; +import { + createStandardViewFlatMetadata, + type CreateStandardViewArgs, +} from 'src/engine/workspace-manager/twenty-standard-application/utils/view/create-standard-view-flat-metadata.util'; + +export const computeStandardMessageChannelViews = ( + args: Omit, 'context'>, +): Record => { + return { + allMessageChannels: createStandardViewFlatMetadata({ + ...args, + objectName: 'messageChannel', + context: { + viewName: 'allMessageChannels', + name: 'All Message Channels', + type: ViewType.TABLE, + key: ViewKey.INDEX, + position: 0, + icon: 'IconList', + }, + }), + messageChannelRecordPageFields: createStandardViewFlatMetadata({ + ...args, + objectName: 'messageChannel', + context: { + viewName: 'messageChannelRecordPageFields', + name: 'Message Channel Record Page Fields', + type: ViewType.FIELDS_WIDGET, + key: null, + position: 0, + icon: 'IconList', + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-folder-views.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-folder-views.util.ts new file mode 100644 index 0000000000..504cc87b82 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-folder-views.util.ts @@ -0,0 +1,38 @@ +import { ViewType, ViewKey } from 'twenty-shared/types'; + +import { type FlatView } from 'src/engine/metadata-modules/flat-view/types/flat-view.type'; +import { + createStandardViewFlatMetadata, + type CreateStandardViewArgs, +} from 'src/engine/workspace-manager/twenty-standard-application/utils/view/create-standard-view-flat-metadata.util'; + +export const computeStandardMessageFolderViews = ( + args: Omit, 'context'>, +): Record => { + return { + allMessageFolders: createStandardViewFlatMetadata({ + ...args, + objectName: 'messageFolder', + context: { + viewName: 'allMessageFolders', + name: 'All Message Folders', + type: ViewType.TABLE, + key: ViewKey.INDEX, + position: 0, + icon: 'IconList', + }, + }), + messageFolderRecordPageFields: createStandardViewFlatMetadata({ + ...args, + objectName: 'messageFolder', + context: { + viewName: 'messageFolderRecordPageFields', + name: 'Message Folder Record Page Fields', + type: ViewType.FIELDS_WIDGET, + key: null, + position: 0, + icon: 'IconList', + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-participant-views.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-participant-views.util.ts new file mode 100644 index 0000000000..4ce5506050 --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-message-participant-views.util.ts @@ -0,0 +1,38 @@ +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 computeStandardMessageParticipantViews = ( + args: Omit, 'context'>, +): Record => { + return { + allMessageParticipants: createStandardViewFlatMetadata({ + ...args, + objectName: 'messageParticipant', + context: { + viewName: 'allMessageParticipants', + name: 'All Message Participants', + type: ViewType.TABLE, + key: ViewKey.INDEX, + position: 0, + icon: 'IconList', + }, + }), + messageParticipantRecordPageFields: createStandardViewFlatMetadata({ + ...args, + objectName: 'messageParticipant', + context: { + viewName: 'messageParticipantRecordPageFields', + name: 'Message Participant Record Page Fields', + type: ViewType.FIELDS_WIDGET, + key: null, + position: 0, + icon: 'IconList', + }, + }), + }; +}; diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-workflow-automated-trigger-views.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-workflow-automated-trigger-views.util.ts new file mode 100644 index 0000000000..a4628cf79d --- /dev/null +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view/compute-standard-workflow-automated-trigger-views.util.ts @@ -0,0 +1,38 @@ +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 computeStandardWorkflowAutomatedTriggerViews = ( + args: Omit, 'context'>, +): Record => { + return { + allWorkflowAutomatedTriggers: createStandardViewFlatMetadata({ + ...args, + objectName: 'workflowAutomatedTrigger', + context: { + viewName: 'allWorkflowAutomatedTriggers', + name: 'All Workflow Automated Triggers', + type: ViewType.TABLE, + key: ViewKey.INDEX, + position: 0, + icon: 'IconList', + }, + }), + workflowAutomatedTriggerRecordPageFields: createStandardViewFlatMetadata({ + ...args, + objectName: 'workflowAutomatedTrigger', + context: { + viewName: 'workflowAutomatedTriggerRecordPageFields', + name: 'Workflow Automated Trigger Record Page Fields', + type: ViewType.FIELDS_WIDGET, + key: null, + position: 0, + icon: 'IconList', + }, + }), + }; +}; 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 854d4836fe..7146965067 100644 --- a/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts +++ b/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts @@ -162,6 +162,47 @@ export const STANDARD_OBJECTS = { universalIdentifier: '4daf320e-74d0-4f24-a45a-af3a09d741cb', }, }, + views: { + allBlocklists: { + universalIdentifier: '5a98e88c-67c2-4f61-a5ab-a0d3d6a836bb', + viewFields: { + handle: { + universalIdentifier: '155ae00d-0def-4f62-9473-8a8efa209eee', + }, + workspaceMember: { + universalIdentifier: '05a2f0b9-f2ef-4729-bc42-9e2ad2a34fb2', + }, + createdAt: { + universalIdentifier: 'e7cfcf05-2676-4d43-9eee-4da1016b12ff', + }, + }, + }, + blocklistRecordPageFields: { + universalIdentifier: '5c679d04-7a1c-41be-9429-c9317ac7a0ea', + viewFieldGroups: { + general: { + universalIdentifier: '94009e34-52fb-4534-89ce-6c6d0a774056', + }, + other: { + universalIdentifier: '35dace44-6e63-4cdb-b761-a92bcf126a7e', + }, + }, + viewFields: { + handle: { + universalIdentifier: 'e22a1d19-c1bb-4265-ae48-2054513c21fe', + }, + workspaceMember: { + universalIdentifier: 'f2f5732f-7435-44be-986b-4c4d834fdfeb', + }, + createdAt: { + universalIdentifier: 'b2594a03-e00f-4de9-89da-b34bb95c2221', + }, + createdBy: { + universalIdentifier: '80a60507-6c7a-4713-b5de-b94ac293bf23', + }, + }, + }, + }, }, calendarChannelEventAssociation: { universalIdentifier: '20202020-491b-4aaa-9825-afd1bae6ae00', @@ -211,6 +252,53 @@ export const STANDARD_OBJECTS = { universalIdentifier: '47a3c8d2-9f14-4b6e-8c5d-1a2b3f4e5c69', }, }, + views: { + allCalendarChannelEventAssociations: { + universalIdentifier: '001893be-c06c-4ba1-9f18-53bd26f0179f', + viewFields: { + calendarChannel: { + universalIdentifier: 'e3adffd2-d820-4c89-912c-34908d90057e', + }, + calendarEvent: { + universalIdentifier: '35656a84-ecb8-4075-a610-8b538d6f8120', + }, + eventExternalId: { + universalIdentifier: 'f779d7e8-f1d8-44a7-b0ef-4409c9b6b466', + }, + createdAt: { + universalIdentifier: '8ca74f2f-210b-4afc-81f0-506047400e82', + }, + }, + }, + calendarChannelEventAssociationRecordPageFields: { + universalIdentifier: '766f254a-a0eb-45c8-b4d2-12311201e08f', + viewFieldGroups: { + general: { + universalIdentifier: '9c27f771-9f85-492f-b1f1-9bc7a175f6f3', + }, + other: { + universalIdentifier: 'c7b18e05-dd60-4ee4-911a-290790e8c425', + }, + }, + viewFields: { + calendarChannel: { + universalIdentifier: 'cd6c6714-fc1d-4511-a664-ec5e8dfd8692', + }, + calendarEvent: { + universalIdentifier: '4790ca84-255e-4cb7-9b20-c17f4d94df8e', + }, + eventExternalId: { + universalIdentifier: 'dbe16c1b-ece2-4d2f-b634-094742ac3e16', + }, + createdAt: { + universalIdentifier: '2702ae80-9108-4757-8a25-317a4357484e', + }, + createdBy: { + universalIdentifier: '201e0c45-fddc-4217-bfd4-40c13d7f7916', + }, + }, + }, + }, }, calendarChannel: { universalIdentifier: '20202020-e8f2-40e1-a39c-c0e0039c5034', @@ -282,6 +370,65 @@ export const STANDARD_OBJECTS = { universalIdentifier: '58b4d9e3-0a25-4c7f-9d6e-2b3c4a5f6d70', }, }, + views: { + allCalendarChannels: { + universalIdentifier: '2d11659c-68ae-4ff2-882f-f1cccde372d0', + viewFields: { + handle: { + universalIdentifier: 'dc7ea888-79d6-4b8c-acdd-a72abe8e6326', + }, + connectedAccount: { + universalIdentifier: '0fff693f-2149-4fdb-a85c-52f2d89322f2', + }, + visibility: { + universalIdentifier: 'a308409d-ee09-4588-b3b2-31b71bced64d', + }, + isSyncEnabled: { + universalIdentifier: '120065b8-bcba-4088-b3a8-8ae66def4219', + }, + syncStatus: { + universalIdentifier: 'ee3bafb8-6374-44f3-b328-c705c16220ac', + }, + createdAt: { + universalIdentifier: 'b2ef299a-b996-4f44-8c75-fad854d7df7f', + }, + }, + }, + calendarChannelRecordPageFields: { + universalIdentifier: '74813eac-7b7e-4483-9d2c-6e14cdc2eeee', + viewFieldGroups: { + general: { + universalIdentifier: 'e015afb4-bb6b-44ab-8077-01196c70bd1b', + }, + other: { + universalIdentifier: 'a7e61a73-68b3-46a2-8624-54a4f0a81710', + }, + }, + viewFields: { + handle: { + universalIdentifier: 'cd1f641b-5746-49db-9a7e-82dd9a63593d', + }, + connectedAccount: { + universalIdentifier: 'bdb40f41-f9ba-4b59-a8cf-878c23701ab3', + }, + visibility: { + universalIdentifier: '2d9f8c64-12be-4bb1-b0d4-977d89853498', + }, + isSyncEnabled: { + universalIdentifier: '819312c0-3441-42a2-a638-8800e353b72f', + }, + syncStatus: { + universalIdentifier: 'b95949f7-e4f7-4708-bfd5-6ec66d772465', + }, + createdAt: { + universalIdentifier: '8c0e4a82-9846-46b2-988b-8b651395fc52', + }, + createdBy: { + universalIdentifier: '35af4126-06bd-43a1-88cb-b1e2a170ccd2', + }, + }, + }, + }, }, calendarEventParticipant: { universalIdentifier: '20202020-a1c3-47a6-9732-27e5b1e8436d', @@ -343,6 +490,77 @@ export const STANDARD_OBJECTS = { universalIdentifier: '898aa202-428f-4a7a-a3b3-8f0a17a6658e', }, }, + views: { + allCalendarEventParticipants: { + universalIdentifier: '5228d634-6b69-4a43-be5c-e778fa6fe779', + viewFields: { + calendarEvent: { + universalIdentifier: 'd9c2f346-b83b-48ae-98d0-e344f97248cd', + }, + handle: { + universalIdentifier: '4140bd68-55e8-475c-8724-7f9f97634a9f', + }, + displayName: { + universalIdentifier: '3cadc470-9231-4027-9bbe-60e934edb483', + }, + isOrganizer: { + universalIdentifier: '684972f9-c5fe-4fff-bdec-2fc5511c938c', + }, + responseStatus: { + universalIdentifier: 'dd0ab0bd-7f33-48fa-9461-fb5d085a2f9f', + }, + person: { + universalIdentifier: '86546244-9e3d-40e4-87cd-cbc82a353d2e', + }, + workspaceMember: { + universalIdentifier: '542141b0-ac85-4c43-867b-8d7f559b07ae', + }, + createdAt: { + universalIdentifier: '63d9d40d-e40c-410c-a14c-2f36c64c3e69', + }, + }, + }, + calendarEventParticipantRecordPageFields: { + universalIdentifier: 'e01ebdb3-8fb8-46d2-8230-82242d593f7a', + viewFieldGroups: { + general: { + universalIdentifier: '3d842777-436e-467d-90ae-9e1fa0aa7e9c', + }, + other: { + universalIdentifier: '098836d8-15c1-44c1-a58e-2ff7fd6a05f9', + }, + }, + viewFields: { + calendarEvent: { + universalIdentifier: '865a1278-c356-4b99-a5e9-1ca3d33c7665', + }, + handle: { + universalIdentifier: 'eb09af9c-b3f4-403c-8cb2-172243f83958', + }, + displayName: { + universalIdentifier: '23b97527-6ad3-4f07-bf68-559b97321673', + }, + isOrganizer: { + universalIdentifier: '3c126f3c-bd01-4029-b58a-724513fa5fff', + }, + responseStatus: { + universalIdentifier: 'cd02fc91-8fa4-4fa3-b0e3-1a1fc891e6ee', + }, + person: { + universalIdentifier: '46be729d-091c-4012-aeca-16a743008513', + }, + workspaceMember: { + universalIdentifier: 'c38c1111-f6e0-4698-9b36-db59f8d97de3', + }, + createdAt: { + universalIdentifier: '1447c7fa-fe2b-4ff7-8036-8de682537e23', + }, + createdBy: { + universalIdentifier: '6d7dff75-0230-45bd-8db9-dc25ef007e6e', + }, + }, + }, + }, }, calendarEvent: { universalIdentifier: '20202020-8f1d-4eef-9f85-0d1965e27221', @@ -664,6 +882,59 @@ export const STANDARD_OBJECTS = { 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', + }, + other: { + universalIdentifier: 'ce9f7f72-583e-4415-a82f-e1f4b2cc8e2f', + }, + }, + viewFields: { + handle: { + universalIdentifier: '41d86e23-ceb2-41ab-975f-8ec5a1023ece', + }, + 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', @@ -810,6 +1081,83 @@ export const STANDARD_OBJECTS = { universalIdentifier: '8783e8f2-9114-4d6a-8e5f-12c3d1465673', }, }, + views: { + allFavorites: { + universalIdentifier: '586ea330-3a17-434b-a23d-47185fa32230', + viewFields: { + forWorkspaceMember: { + universalIdentifier: '70beb16f-f32b-4fb5-9795-fc83a120f7e9', + }, + person: { + universalIdentifier: '23cf916b-f55f-4edd-92b2-4eb38da0f451', + }, + company: { + universalIdentifier: '571a181e-3fd7-415e-a881-ec8acc65409e', + }, + opportunity: { + universalIdentifier: 'e882556d-1b29-4279-88ba-eab09f7590b9', + }, + task: { + universalIdentifier: '0124e873-f72e-4bc2-8158-efd8efa02432', + }, + note: { + universalIdentifier: '64210056-52d1-47fa-a771-a2c00846e170', + }, + dashboard: { + universalIdentifier: 'a12eff80-5272-4ce0-a1ae-30cc1cbbdcd7', + }, + favoriteFolder: { + universalIdentifier: '0113c292-24fe-4b8c-bb6f-94ae33bc12b9', + }, + createdAt: { + universalIdentifier: '48af76a4-e007-4644-be39-1ae9649f182f', + }, + }, + }, + favoriteRecordPageFields: { + universalIdentifier: 'e28089fc-639b-4eb2-bc9b-3ec8634d2813', + viewFieldGroups: { + general: { + universalIdentifier: 'd08267ae-eb74-4ed5-884e-4015d16d962d', + }, + other: { + universalIdentifier: 'bbbca990-4876-4802-bf7e-94f685bd5f52', + }, + }, + viewFields: { + forWorkspaceMember: { + universalIdentifier: '16d2ec80-722e-4cbb-b053-404dd3bbb9dd', + }, + person: { + universalIdentifier: '0aa610ca-3825-4241-9a56-ec415fecf037', + }, + company: { + universalIdentifier: 'f09b8fd8-eded-4a64-bd62-6400c810337a', + }, + opportunity: { + universalIdentifier: '9880a34a-4186-40c8-94ac-161ed776b5b4', + }, + task: { + universalIdentifier: '4c0db772-05f8-41e7-801e-5a0224bed0b8', + }, + note: { + universalIdentifier: '966ab999-733d-49cd-80f2-7bb29118eecf', + }, + dashboard: { + universalIdentifier: '0bede669-3b98-4895-92be-39a1972cc106', + }, + favoriteFolder: { + universalIdentifier: '9af984ed-66fb-46ee-9edc-ad84d5680152', + }, + createdAt: { + universalIdentifier: '93addcc1-b42e-4fc1-be0f-51440ab9e3a1', + }, + createdBy: { + universalIdentifier: 'eca3262e-1082-413a-a601-a45563f69739', + }, + }, + }, + }, }, favoriteFolder: { universalIdentifier: '20202020-7cf8-401f-8211-a9587d27fd2d', @@ -842,6 +1190,41 @@ export const STANDARD_OBJECTS = { }, }, indexes: {}, + views: { + allFavoriteFolders: { + universalIdentifier: '2420eb1f-09d0-4127-a71c-8a0ab3e1f6a0', + viewFields: { + name: { + universalIdentifier: 'd5b0115f-ca6f-42d4-aac6-dcefaee2f19c', + }, + createdAt: { + universalIdentifier: '64ba591d-6091-4814-9af3-e28ce47278a0', + }, + }, + }, + favoriteFolderRecordPageFields: { + universalIdentifier: '09a2b4b4-0c84-41e5-932e-50f9b9b6c893', + viewFieldGroups: { + general: { + universalIdentifier: 'c0af3a9b-38bc-4c19-a79d-910f35d6f766', + }, + other: { + universalIdentifier: 'a7db50c7-826a-41ed-a252-1a07d445b025', + }, + }, + viewFields: { + name: { + universalIdentifier: 'cac4f0f7-3a6a-49b1-b86f-41b20f2455c0', + }, + createdAt: { + universalIdentifier: 'a4e42591-844c-47d1-b72e-5ded3d541694', + }, + createdBy: { + universalIdentifier: '9f7945c9-fb98-49a7-812d-b87458149fd2', + }, + }, + }, + }, }, messageChannelMessageAssociation: { universalIdentifier: '20202020-ad1e-4127-bccb-d83ae04d2ccb', @@ -903,6 +1286,59 @@ export const STANDARD_OBJECTS = { universalIdentifier: '1b86ece8-7ce3-4df3-8771-fd4b5d45b2f2', }, }, + views: { + allMessageChannelMessageAssociations: { + universalIdentifier: 'a4f465ac-d5cb-4f24-93ac-7a24bafd398e', + viewFields: { + messageChannel: { + universalIdentifier: 'b86e652b-04ce-4089-9f71-e190eaf5b798', + }, + message: { + universalIdentifier: 'f9f2de0d-3db5-402b-a733-53be6a4667c8', + }, + messageExternalId: { + universalIdentifier: '7fb9801d-ca3d-4b2d-8d55-c922fcf7fefd', + }, + direction: { + universalIdentifier: 'ca38195e-985c-4880-85e0-26fa143c1ec7', + }, + createdAt: { + universalIdentifier: 'af239abd-2c55-4108-a9d8-b5a67f6ca2e2', + }, + }, + }, + messageChannelMessageAssociationRecordPageFields: { + universalIdentifier: '680b43e2-5d50-49d8-bbdd-2d208e7b7071', + viewFieldGroups: { + general: { + universalIdentifier: '86d7066c-ba38-4f6a-996f-77345bedd549', + }, + other: { + universalIdentifier: '6044c58c-a63c-4f3f-a283-b8803553628f', + }, + }, + viewFields: { + messageChannel: { + universalIdentifier: '376c7685-9ebe-4c95-b820-424b1c2f264f', + }, + message: { + universalIdentifier: '166aa5a0-d825-40dc-be6d-e94b87edd56d', + }, + messageExternalId: { + universalIdentifier: '1910bd21-2472-4a83-b8cd-7de51bdd2675', + }, + direction: { + universalIdentifier: '9edfbd44-4624-4cf8-b81c-8e169b4e8281', + }, + createdAt: { + universalIdentifier: '8651c5c4-db87-427c-8a57-6a9f75c74976', + }, + createdBy: { + universalIdentifier: 'af4adf31-f698-4aad-9f29-71908924fc9a', + }, + }, + }, + }, }, messageChannelMessageAssociationMessageFolder: { universalIdentifier: '20202020-a1b0-40b0-8ab0-5b6c7d8e9f0a', @@ -949,6 +1385,47 @@ export const STANDARD_OBJECTS = { universalIdentifier: 'a3de1788-5dff-4849-ac5a-0dabe5fab216', }, }, + views: { + allMessageChannelMessageAssociationMessageFolders: { + universalIdentifier: '775610fe-f1d1-4959-bdc3-0b437059cfeb', + viewFields: { + messageChannelMessageAssociation: { + universalIdentifier: '1251e67a-e795-4bc2-a468-6cfc838b6a0a', + }, + messageFolder: { + universalIdentifier: 'aff2203d-6439-43b8-9cb4-55e8d78bba43', + }, + createdAt: { + universalIdentifier: '9da7637e-25c7-4101-8169-b5f6ff159690', + }, + }, + }, + messageChannelMessageAssociationMessageFolderRecordPageFields: { + universalIdentifier: '331ec548-07d2-4f9d-a0a2-ef91a9f96184', + viewFieldGroups: { + general: { + universalIdentifier: '4928521b-ae24-4013-a69a-1392017d57af', + }, + other: { + universalIdentifier: 'b76cebb3-39b2-477a-9212-8bf1190227a4', + }, + }, + viewFields: { + messageChannelMessageAssociation: { + universalIdentifier: 'd34ed53e-5156-4a18-a8df-572269496aac', + }, + messageFolder: { + universalIdentifier: '04f14582-caf9-49ee-81ea-e5d4f977bfe1', + }, + createdAt: { + universalIdentifier: '39297559-a747-481e-a4c5-b80b8faf1aac', + }, + createdBy: { + universalIdentifier: '4692eb91-7fc6-4436-9175-87caa5f6b668', + }, + }, + }, + }, }, messageChannel: { universalIdentifier: '20202020-fe8c-40bc-a681-b80b771449b7', @@ -1039,6 +1516,71 @@ export const STANDARD_OBJECTS = { universalIdentifier: 'ab09a386-4dcc-41f7-8dc6-a6071e9c64b7', }, }, + views: { + allMessageChannels: { + universalIdentifier: '95f57f8e-eaac-46f7-b364-4ef8208f165f', + viewFields: { + handle: { + universalIdentifier: 'f71a30b0-ee4a-4d36-847a-d0c99134fbb8', + }, + connectedAccount: { + universalIdentifier: '0128fd40-7958-4cc5-9c73-7ddb7820d3ec', + }, + type: { + universalIdentifier: 'fa480cec-938c-4216-95fe-ba4335e20a41', + }, + visibility: { + universalIdentifier: '2c43e4f6-7024-47a0-a91a-7d491b1fac84', + }, + isSyncEnabled: { + universalIdentifier: '69884c47-0c2e-4988-bbc1-23242993634e', + }, + syncStatus: { + universalIdentifier: '6189c285-d390-4fd9-ae7a-ca011d8ad98f', + }, + createdAt: { + universalIdentifier: '45044b65-b17b-468d-a23d-075733c6b631', + }, + }, + }, + messageChannelRecordPageFields: { + universalIdentifier: '1350eb34-7ef0-4b25-8a3e-23b4a959c3a2', + viewFieldGroups: { + general: { + universalIdentifier: '96113215-6bf2-476c-ae69-c70274257913', + }, + other: { + universalIdentifier: '2f08a624-e1a7-4f79-b5f7-1a8e92f4c07e', + }, + }, + viewFields: { + handle: { + universalIdentifier: 'a9cbb9a5-a6b4-417e-93ad-a5e578c222db', + }, + connectedAccount: { + universalIdentifier: '19079cf6-2a9c-40b9-b6c2-58d63c6e37ad', + }, + type: { + universalIdentifier: '280b9097-0bcf-4389-9ee7-fa89990d1369', + }, + visibility: { + universalIdentifier: '8dd39475-f109-4117-bce4-9e183382b475', + }, + isSyncEnabled: { + universalIdentifier: '5136d071-3b11-48cd-b7be-4910bd6264f9', + }, + syncStatus: { + universalIdentifier: '76db0713-06d3-4133-9144-9d0300a2824e', + }, + createdAt: { + universalIdentifier: '8636c740-3282-4a6b-99f6-f3f48e59b0af', + }, + createdBy: { + universalIdentifier: 'cdf294ce-4c52-4987-a301-8219fa81ab2e', + }, + }, + }, + }, }, messageFolder: { universalIdentifier: '20202020-4955-4fd9-8e59-2dbd373f2a46', @@ -1096,6 +1638,59 @@ export const STANDARD_OBJECTS = { universalIdentifier: '6217f2a5-28ac-4b88-8a2a-45eee4580e57', }, }, + views: { + allMessageFolders: { + universalIdentifier: '6774ebf5-a300-4bcc-8f22-f5e7c58bfccf', + viewFields: { + name: { + universalIdentifier: '72b2d56f-5245-4cb6-933c-3d5031de0778', + }, + messageChannel: { + universalIdentifier: '121abdf0-c89f-4313-b156-e8a3c0cb77ec', + }, + isSentFolder: { + universalIdentifier: 'e884a006-e166-434d-82aa-247052165e4d', + }, + isSynced: { + universalIdentifier: 'd7e705f4-c2be-4f4e-bcc3-1cdc9e07990b', + }, + createdAt: { + universalIdentifier: 'afd4f595-c1a7-4afd-b0fd-b2f0b59203c6', + }, + }, + }, + messageFolderRecordPageFields: { + universalIdentifier: '82dc204f-a48d-4985-9259-a79b3a1b230f', + viewFieldGroups: { + general: { + universalIdentifier: 'c55a9366-bb2c-4ae7-8345-115c790f56b1', + }, + other: { + universalIdentifier: '51b6af5e-9f76-4fb2-811b-6193761d7702', + }, + }, + viewFields: { + name: { + universalIdentifier: '6fa8c474-ee22-47f1-b830-4f169ff82315', + }, + messageChannel: { + universalIdentifier: '2fb6ff09-bed5-4b31-af0f-7fa3df5612da', + }, + isSentFolder: { + universalIdentifier: 'ec8a2e3e-0736-41f5-8c8b-d36778d52a94', + }, + isSynced: { + universalIdentifier: 'a68f286c-5d13-4794-9354-e282913930f5', + }, + createdAt: { + universalIdentifier: '8b63749b-922d-4164-b0f4-65d716b3d75d', + }, + createdBy: { + universalIdentifier: '2a93e132-3c92-4b94-acf0-076e4af75df2', + }, + }, + }, + }, }, messageParticipant: { universalIdentifier: '20202020-a433-4456-aa2d-fd9cb26b774a', @@ -1152,6 +1747,71 @@ export const STANDARD_OBJECTS = { universalIdentifier: 'ce1e3a9e-afe9-439d-abb7-6cc98a6fa405', }, }, + views: { + allMessageParticipants: { + universalIdentifier: '8b7fbe7d-dae0-4285-8bdc-ec078a4de870', + viewFields: { + message: { + universalIdentifier: 'ca491a31-8659-4202-9476-f0f72efc80b5', + }, + role: { + universalIdentifier: '55b74f7e-7c58-4fce-a44b-a8d9671ec541', + }, + handle: { + universalIdentifier: 'abcbb5d9-b8c2-46bb-b3cc-ea035be8f3be', + }, + displayName: { + universalIdentifier: '8d0c8202-b57f-4450-a090-a7eb26aa2299', + }, + person: { + universalIdentifier: '26d0f3f1-43d3-425c-930c-81147451d0f8', + }, + workspaceMember: { + universalIdentifier: 'df62dcbc-c22d-4d34-9fa5-6f70bae02161', + }, + createdAt: { + universalIdentifier: '636ff7b6-86b8-49fc-9442-39f4c24ff424', + }, + }, + }, + messageParticipantRecordPageFields: { + universalIdentifier: '209ab5c5-4a68-4d32-8255-515919a6c5f5', + viewFieldGroups: { + general: { + universalIdentifier: '41c18430-34c3-430f-b86b-fc3963281277', + }, + other: { + universalIdentifier: 'add21830-a7c6-4cde-9eed-430afbcbf557', + }, + }, + viewFields: { + message: { + universalIdentifier: 'dd8ccf4f-64d7-468c-bc0c-dc4e0efef08d', + }, + role: { + universalIdentifier: '5d1f9a65-85cc-41b2-a8bf-8e2c97aab4b3', + }, + handle: { + universalIdentifier: '97295fc0-cdb8-4d84-8c1b-327837255c0d', + }, + displayName: { + universalIdentifier: 'c50748fe-9f54-4e09-b572-111f076ec7db', + }, + person: { + universalIdentifier: 'bf2e30dd-df03-4fb2-820a-166a93a2ce2c', + }, + workspaceMember: { + universalIdentifier: '00336686-0d63-43e2-b247-599f1227bd85', + }, + createdAt: { + universalIdentifier: '8d66ecb8-825d-4c6c-91c0-23a82c87ab46', + }, + createdBy: { + universalIdentifier: '17c3acfc-71f1-4b3c-820e-aea23871e850', + }, + }, + }, + }, }, messageThread: { universalIdentifier: '20202020-849a-4c3e-84f5-a25a7d802271', @@ -2318,6 +2978,47 @@ export const STANDARD_OBJECTS = { universalIdentifier: '7331ff89-a3f9-4ac0-9fa9-0de5663ae7b2', }, }, + views: { + allWorkflowAutomatedTriggers: { + universalIdentifier: 'a0a9ef79-3d42-417a-8555-3ee54c18ea51', + viewFields: { + type: { + universalIdentifier: '689b4749-aa40-489a-bf0b-475a197ca2e6', + }, + workflow: { + universalIdentifier: 'e5a46195-06fe-4f47-8844-128e35151d37', + }, + createdAt: { + universalIdentifier: 'bb35e66a-2a1e-416b-8105-5749d91ab65f', + }, + }, + }, + workflowAutomatedTriggerRecordPageFields: { + universalIdentifier: '10aff295-f7ac-475d-8528-661eb9aa9759', + viewFieldGroups: { + general: { + universalIdentifier: 'c5261eae-f2fe-416e-8ef9-eda5d377f8ca', + }, + other: { + universalIdentifier: 'e6da0410-7f63-41b7-b977-421fc37d67f5', + }, + }, + viewFields: { + type: { + universalIdentifier: '3b3a0cf7-f171-4ad8-9aad-aed84eca0250', + }, + workflow: { + universalIdentifier: 'ddc5a9f6-f577-4e4b-a258-3d656c32babc', + }, + createdAt: { + universalIdentifier: '98ef45e8-c6bf-42e6-96f6-e94cd17911bc', + }, + createdBy: { + universalIdentifier: 'd3933427-de7f-4fa1-b80c-47302273d848', + }, + }, + }, + }, }, workflowRun: { universalIdentifier: '20202020-4e28-4e95-a9d7-6c00874f843c',