Skip to content

The open alternative to Salesforce, designed for AI.

Replace timelineActivity.name with a timelineActivityType id (#24568)

Félix Malfait72aa1e3b64ef
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
index 9a5194269ef..14b5fe08a34 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
@@ -3187,6 +3187,19 @@ enum MetadataTranslationProvenance {
INHERITED
}
+type TimelineActivityType {
+ id: UUID!
+ name: String!
+ label: String!
+ action: String
+ icon: String
+ renderer: String
+ objectUniversalIdentifier: UUID
+ applicationId: UUID
+ createdAt: DateTime!
+ updatedAt: DateTime!
+}
+
type CollectionHash {
collectionName: AllMetadataName!
hash: String!
@@ -3224,6 +3237,7 @@ enum AllMetadataName {
applicationVariable
connectionProvider
searchFieldMetadata
+ timelineActivityType
}
type MinimalObjectMetadata {
@@ -3369,6 +3383,7 @@ type Query {
skills: [Skill!]!
skill(id: UUID!): Skill
agentTurns(agentId: UUID!): [AgentTurn!]!
+ timelineActivityTypes: [TimelineActivityType!]!
metadataTranslations(input: MetadataTranslationsInput!): [MetadataTranslation!]!
checkUserExists(email: String!, captchaToken: String): CheckUserExist!
checkWorkspaceInviteHashIsValid(inviteHash: String!): WorkspaceInviteHashValid!
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.ts b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
index 610b01ebeee..350893b72a3 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
@@ -2831,13 +2831,27 @@ export interface MetadataTranslation {
/** Where a resolved metadata label comes from: a workspace-authored translation, a shipped application catalog, or inheritance from the canonical value */
export type MetadataTranslationProvenance = 'WORKSPACE' | 'SHIPPED' | 'INHERITED'
+export interface TimelineActivityType {
+ id: Scalars['UUID']
+ name: Scalars['String']
+ label: Scalars['String']
+ action?: Scalars['String']
+ icon?: Scalars['String']
+ renderer?: Scalars['String']
+ objectUniversalIdentifier?: Scalars['UUID']
+ applicationId?: Scalars['UUID']
+ createdAt: Scalars['DateTime']
+ updatedAt: Scalars['DateTime']
+ __typename: 'TimelineActivityType'
+}
+
export interface CollectionHash {
collectionName: AllMetadataName
hash: Scalars['String']
__typename: 'CollectionHash'
}
-export type AllMetadataName = 'fieldMetadata' | 'objectMetadata' | 'view' | 'viewField' | 'viewFieldGroup' | 'viewGroup' | 'viewSort' | 'rowLevelPermissionPredicate' | 'rowLevelPermissionPredicateGroup' | 'viewFilterGroup' | 'index' | 'logicFunction' | 'viewFilter' | 'role' | 'roleTarget' | 'agent' | 'skill' | 'pageLayout' | 'pageLayoutWidget' | 'pageLayoutTab' | 'commandMenuItem' | 'navigationMenuItem' | 'rolePermissionFlag' | 'permissionFlag' | 'objectPermission' | 'fieldPermission' | 'frontComponent' | 'webhook' | 'applicationVariable' | 'connectionProvider' | 'searchFieldMetadata'
+export type AllMetadataName = 'fieldMetadata' | 'objectMetadata' | 'view' | 'viewField' | 'viewFieldGroup' | 'viewGroup' | 'viewSort' | 'rowLevelPermissionPredicate' | 'rowLevelPermissionPredicateGroup' | 'viewFilterGroup' | 'index' | 'logicFunction' | 'viewFilter' | 'role' | 'roleTarget' | 'agent' | 'skill' | 'pageLayout' | 'pageLayoutWidget' | 'pageLayoutTab' | 'commandMenuItem' | 'navigationMenuItem' | 'rolePermissionFlag' | 'permissionFlag' | 'objectPermission' | 'fieldPermission' | 'frontComponent' | 'webhook' | 'applicationVariable' | 'connectionProvider' | 'searchFieldMetadata' | 'timelineActivityType'
export interface MinimalObjectMetadata {
id: Scalars['UUID']
@@ -2967,6 +2981,7 @@ export interface Query {
skills: Skill[]
skill?: Skill
agentTurns: AgentTurn[]
+ timelineActivityTypes: TimelineActivityType[]
metadataTranslations: MetadataTranslation[]
checkUserExists: CheckUserExist
checkWorkspaceInviteHashIsValid: WorkspaceInviteHashValid
@@ -6210,6 +6225,21 @@ export interface MetadataTranslationGenqlSelection{
__scalar?: boolean | number
}
+export interface TimelineActivityTypeGenqlSelection{
+ id?: boolean | number
+ name?: boolean | number
+ label?: boolean | number
+ action?: boolean | number
+ icon?: boolean | number
+ renderer?: boolean | number
+ objectUniversalIdentifier?: boolean | number
+ applicationId?: boolean | number
+ createdAt?: boolean | number
+ updatedAt?: boolean | number
+ __typename?: boolean | number
+ __scalar?: boolean | number
+}
+
export interface CollectionHashGenqlSelection{
collectionName?: boolean | number
hash?: boolean | number
@@ -6360,6 +6390,7 @@ export interface QueryGenqlSelection{
skills?: SkillGenqlSelection
skill?: (SkillGenqlSelection & { __args: {id: Scalars['UUID']} })
agentTurns?: (AgentTurnGenqlSelection & { __args: {agentId: Scalars['UUID']} })
+ timelineActivityTypes?: TimelineActivityTypeGenqlSelection
metadataTranslations?: (MetadataTranslationGenqlSelection & { __args: {input: MetadataTranslationsInput} })
checkUserExists?: (CheckUserExistGenqlSelection & { __args: {email: Scalars['String'], captchaToken?: (Scalars['String'] | null)} })
checkWorkspaceInviteHashIsValid?: (WorkspaceInviteHashValidGenqlSelection & { __args: {inviteHash: Scalars['String']} })
@@ -9200,6 +9231,14 @@ export interface LogicFunctionLogsInput {applicationId?: (Scalars['UUID'] | null
+ const TimelineActivityType_possibleTypes: string[] = ['TimelineActivityType']
+ export const isTimelineActivityType = (obj?: { __typename?: any } | null): obj is TimelineActivityType => {
+ if (!obj?.__typename) throw new Error('__typename is missing in "isTimelineActivityType"')
+ return TimelineActivityType_possibleTypes.includes(obj.__typename)
+ }
+
+
+
const CollectionHash_possibleTypes: string[] = ['CollectionHash']
export const isCollectionHash = (obj?: { __typename?: any } | null): obj is CollectionHash => {
if (!obj?.__typename) throw new Error('__typename is missing in "isCollectionHash"')
@@ -9982,7 +10021,8 @@ export const enumAllMetadataName = {
webhook: 'webhook' as const,
applicationVariable: 'applicationVariable' as const,
connectionProvider: 'connectionProvider' as const,
- searchFieldMetadata: 'searchFieldMetadata' as const
+ searchFieldMetadata: 'searchFieldMetadata' as const,
+ timelineActivityType: 'timelineActivityType' as const
}
export const enumEventLogTable = {
diff --git a/packages/twenty-client-sdk/src/metadata/generated/types.ts b/packages/twenty-client-sdk/src/metadata/generated/types.ts
index f4c6726cf55..d9aba62090a 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/types.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/types.ts
@@ -86,13 +86,13 @@ export default {
351,
353,
355,
- 357,
- 371,
- 378,
- 385,
+ 358,
+ 372,
+ 379,
386,
- 499,
- 521
+ 387,
+ 500,
+ 522
],
"types": {
"BillingProductDTO": {
@@ -6324,9 +6324,44 @@ export default {
]
},
"MetadataTranslationProvenance": {},
+ "TimelineActivityType": {
+ "id": [
+ 3
+ ],
+ "name": [
+ 1
+ ],
+ "label": [
+ 1
+ ],
+ "action": [
+ 1
+ ],
+ "icon": [
+ 1
+ ],
+ "renderer": [
+ 1
+ ],
+ "objectUniversalIdentifier": [
+ 3
+ ],
+ "applicationId": [
+ 3
+ ],
+ "createdAt": [
+ 4
+ ],
+ "updatedAt": [
+ 4
+ ],
+ "__typename": [
+ 1
+ ]
+ },
"CollectionHash": {
"collectionName": [
- 357
+ 358
],
"hash": [
1
@@ -6390,13 +6425,13 @@ export default {
},
"MinimalMetadata": {
"objectMetadataItems": [
- 358
+ 359
],
"views": [
- 359
+ 360
],
"collectionHashes": [
- 356
+ 357
],
"__typename": [
1
@@ -6570,7 +6605,7 @@ export default {
2,
{
"input": [
- 362,
+ 363,
"GetApiKeyInput!"
]
}
@@ -6676,7 +6711,7 @@ export default {
10,
{
"input": [
- 363,
+ 364,
"AgentIdInput!"
]
}
@@ -6689,7 +6724,7 @@ export default {
"CursorPaging!"
],
"filter": [
- 364,
+ 365,
"ObjectFilter!"
]
}
@@ -6719,7 +6754,7 @@ export default {
21,
{
"input": [
- 365,
+ 366,
"LogicFunctionIdInput!"
]
}
@@ -6731,7 +6766,7 @@ export default {
9,
{
"input": [
- 365,
+ 366,
"LogicFunctionIdInput!"
]
}
@@ -6740,7 +6775,7 @@ export default {
1,
{
"input": [
- 365,
+ 366,
"LogicFunctionIdInput!"
]
}
@@ -6962,7 +6997,7 @@ export default {
294,
{
"input": [
- 366,
+ 367,
"PreviewMessageCampaignAudienceInput!"
]
}
@@ -6971,7 +7006,7 @@ export default {
301,
{
"input": [
- 367,
+ 368,
"FindMessageSuppressionsInput!"
]
}
@@ -7034,7 +7069,7 @@ export default {
}
],
"minimalMetadata": [
- 360
+ 361
],
"appKeyValue": [
345,
@@ -7052,7 +7087,7 @@ export default {
204,
{
"filter": [
- 368
+ 369
]
}
],
@@ -7122,11 +7157,14 @@ export default {
]
}
],
+ "timelineActivityTypes": [
+ 356
+ ],
"metadataTranslations": [
354,
{
"input": [
- 369,
+ 370,
"MetadataTranslationsInput!"
]
}
@@ -7192,7 +7230,7 @@ export default {
329,
{
"input": [
- 370,
+ 371,
"EventLogQueryInput!"
]
}
@@ -7201,7 +7239,7 @@ export default {
323,
{
"input": [
- 374,
+ 375,
"PieChartDataInput!"
]
}
@@ -7210,7 +7248,7 @@ export default {
321,
{
"input": [
- 375,
+ 376,
"LineChartDataInput!"
]
}
@@ -7219,7 +7257,7 @@ export default {
318,
{
"input": [
- 376,
+ 377,
"BarChartDataInput!"
]
}
@@ -7269,7 +7307,7 @@ export default {
276,
{
"input": [
- 377
+ 378
]
}
],
@@ -7301,10 +7339,10 @@ export default {
},
"ObjectFilter": {
"and": [
- 364
+ 365
],
"or": [
- 364
+ 365
],
"id": [
29
@@ -7403,10 +7441,10 @@ export default {
},
"EventLogQueryInput": {
"table": [
- 371
+ 372
],
"filters": [
- 372
+ 373
],
"first": [
26
@@ -7427,7 +7465,7 @@ export default {
1
],
"dateRange": [
- 373
+ 374
],
"recordId": [
1
@@ -7494,7 +7532,7 @@ export default {
1
],
"operationTypes": [
- 378
+ 379
],
"__typename": [
1
@@ -7506,7 +7544,7 @@ export default {
8,
{
"input": [
- 380,
+ 381,
"AddQuerySubscriptionInput!"
]
}
@@ -7515,7 +7553,7 @@ export default {
8,
{
"input": [
- 381,
+ 382,
"RemoveQueryFromEventStreamInput!"
]
}
@@ -7524,7 +7562,7 @@ export default {
150,
{
"inputs": [
- 382,
+ 383,
"[CreateNavigationMenuItemInput!]!"
]
}
@@ -7533,7 +7571,7 @@ export default {
150,
{
"input": [
- 382,
+ 383,
"CreateNavigationMenuItemInput!"
]
}
@@ -7542,7 +7580,7 @@ export default {
150,
{
"inputs": [
- 383,
+ 384,
"[UpdateOneNavigationMenuItemInput!]!"
]
}
@@ -7551,7 +7589,7 @@ export default {
150,
{
"input": [
- 383,
+ 384,
"UpdateOneNavigationMenuItemInput!"
]
}
@@ -7586,7 +7624,7 @@ export default {
"Float!"
],
"fileFolder": [
- 385,
+ 386,
"FileFolder!"
],
"fieldMetadataId": [
@@ -7625,7 +7663,7 @@ export default {
147,
{
"file": [
- 386,
+ 387,
"Upload!"
]
}
@@ -7634,7 +7672,7 @@ export default {
147,
{
"file": [
- 386,
+ 387,
"Upload!"
]
}
@@ -7643,7 +7681,7 @@ export default {
147,
{
"file": [
- 386,
+ 387,
"Upload!"
]
}
@@ -7652,7 +7690,7 @@ export default {
147,
{
"file": [
- 386,
+ 387,
"Upload!"
]
}
@@ -7661,7 +7699,7 @@ export default {
147,
{
"file": [
- 386,
+ 387,
"Upload!"
]
}
@@ -7670,7 +7708,7 @@ export default {
147,
{
"file": [
- 386,
+ 387,
"Upload!"
],
"fieldMetadataId": [
@@ -7683,7 +7721,7 @@ export default {
147,
{
"file": [
- 386,
+ 387,
"Upload!"
],
"fieldMetadataUniversalIdentifier": [
@@ -7696,7 +7734,7 @@ export default {
53,
{
"input": [
- 387,
+ 388,
"CreateViewFilterGroupInput!"
]
}
@@ -7709,7 +7747,7 @@ export default {
"String!"
],
"input": [
- 388,
+ 389,
"UpdateViewFilterGroupInput!"
]
}
@@ -7736,7 +7774,7 @@ export default {
55,
{
"input": [
- 389,
+ 390,
"CreateViewFilterInput!"
]
}
@@ -7745,7 +7783,7 @@ export default {
55,
{
"input": [
- 390,
+ 391,
"UpdateViewFilterInput!"
]
}
@@ -7754,7 +7792,7 @@ export default {
55,
{
"input": [
- 392,
+ 393,
"DeleteViewFilterInput!"
]
}
@@ -7763,7 +7801,7 @@ export default {
55,
{
"input": [
- 393,
+ 394,
"DestroyViewFilterInput!"
]
}
@@ -7772,7 +7810,7 @@ export default {
61,
{
"input": [
- 394,
+ 395,
"CreateViewInput!"
]
}
@@ -7785,7 +7823,7 @@ export default {
"String!"
],
"input": [
- 395,
+ 396,
"UpdateViewInput!"
]
}
@@ -7812,7 +7850,7 @@ export default {
61,
{
"input": [
- 396,
+ 397,
"UpsertViewWidgetInput!"
]
}
@@ -7821,7 +7859,7 @@ export default {
58,
{
"input": [
- 402,
+ 403,
"CreateViewSortInput!"
]
}
@@ -7830,7 +7868,7 @@ export default {
58,
{
"input": [
- 403,
+ 404,
"UpdateViewSortInput!"
]
}
@@ -7839,7 +7877,7 @@ export default {
8,
{
"input": [
- 405,
+ 406,
"DeleteViewSortInput!"
]
}
@@ -7848,7 +7886,7 @@ export default {
8,
{
"input": [
- 406,
+ 407,
"DestroyViewSortInput!"
]
}
@@ -7857,7 +7895,7 @@ export default {
51,
{
"input": [
- 407,
+ 408,
"UpdateViewFieldInput!"
]
}
@@ -7866,7 +7904,7 @@ export default {
51,
{
"input": [
- 409,
+ 410,
"CreateViewFieldInput!"
]
}
@@ -7875,7 +7913,7 @@ export default {
51,
{
"inputs": [
- 409,
+ 410,
"[CreateViewFieldInput!]!"
]
}
@@ -7884,7 +7922,7 @@ export default {
51,
{
"input": [
- 410,
+ 411,
"DeleteViewFieldInput!"
]
}
@@ -7893,7 +7931,7 @@ export default {
51,
{
"input": [
- 411,
+ 412,
"DestroyViewFieldInput!"
]
}
@@ -7902,7 +7940,7 @@ export default {
60,
{
"input": [
- 412,
+ 413,
"UpdateViewFieldGroupInput!"
]
}
@@ -7911,7 +7949,7 @@ export default {
60,
{
"input": [
- 414,
+ 415,
"CreateViewFieldGroupInput!"
]
}
@@ -7920,7 +7958,7 @@ export default {
60,
{
"inputs": [
- 414,
+ 415,
"[CreateViewFieldGroupInput!]!"
]
}
@@ -7929,7 +7967,7 @@ export default {
60,
{
"input": [
- 415,
+ 416,
"DeleteViewFieldGroupInput!"
]
}
@@ -7938,7 +7976,7 @@ export default {
60,
{
"input": [
- 416,
+ 417,
"DestroyViewFieldGroupInput!"
]
}
@@ -7947,7 +7985,7 @@ export default {
61,
{
"input": [
- 417,
+ 418,
"UpsertFieldsWidgetInput!"
]
}
@@ -7956,7 +7994,7 @@ export default {
2,
{
"input": [
- 420,
+ 421,
"CreateApiKeyInput!"
]
}
@@ -7965,7 +8003,7 @@ export default {
2,
{
"input": [
- 421,
+ 422,
"UpdateApiKeyInput!"
]
}
@@ -7974,7 +8012,7 @@ export default {
2,
{
"input": [
- 422,
+ 423,
"RevokeApiKeyInput!"
]
}
@@ -8167,7 +8205,7 @@ export default {
146,
{
"input": [
- 423,
+ 424,
"CreateApprovedAccessDomainInput!"
]
}
@@ -8176,7 +8214,7 @@ export default {
8,
{
"input": [
- 424,
+ 425,
"DeleteApprovedAccessDomainInput!"
]
}
@@ -8185,7 +8223,7 @@ export default {
146,
{
"input": [
- 425,
+ 426,
"ValidateApprovedAccessDomainInput!"
]
}
@@ -8194,7 +8232,7 @@ export default {
120,
{
"input": [
- 426,
+ 427,
"CreatePageLayoutTabInput!"
]
}
@@ -8207,7 +8245,7 @@ export default {
"String!"
],
"input": [
- 427,
+ 428,
"UpdatePageLayoutTabInput!"
]
}
@@ -8225,7 +8263,7 @@ export default {
121,
{
"input": [
- 428,
+ 429,
"CreatePageLayoutInput!"
]
}
@@ -8238,7 +8276,7 @@ export default {
"String!"
],
"input": [
- 429,
+ 430,
"UpdatePageLayoutInput!"
]
}
@@ -8260,7 +8298,7 @@ export default {
"String!"
],
"input": [
- 430,
+ 431,
"UpdatePageLayoutWithTabsInput!"
]
}
@@ -8296,7 +8334,7 @@ export default {
78,
{
"input": [
- 434,
+ 435,
"CreatePageLayoutWidgetInput!"
]
}
@@ -8309,7 +8347,7 @@ export default {
"String!"
],
"input": [
- 435,
+ 436,
"UpdatePageLayoutWidgetInput!"
]
}
@@ -8327,7 +8365,7 @@ export default {
10,
{
"input": [
- 436,
+ 437,
"CreateAgentInput!"
]
}
@@ -8336,7 +8374,7 @@ export default {
10,
{
"input": [
- 437,
+ 438,
"UpdateAgentInput!"
]
}
@@ -8345,7 +8383,7 @@ export default {
10,
{
"input": [
- 363,
+ 364,
"AgentIdInput!"
]
}
@@ -8354,7 +8392,7 @@ export default {
23,
{
"input": [
- 438,
+ 439,
"CreateOneObjectInput!"
]
}
@@ -8363,7 +8401,7 @@ export default {
23,
{
"input": [
- 440,
+ 441,
"DeleteOneObjectInput!"
]
}
@@ -8372,7 +8410,7 @@ export default {
23,
{
"input": [
- 441,
+ 442,
"UpdateOneObjectInput!"
]
}
@@ -8381,7 +8419,7 @@ export default {
232,
{
"input": [
- 444,
+ 445,
"CreateOneIndexInput!"
]
}
@@ -8390,7 +8428,7 @@ export default {
232,
{
"input": [
- 447,
+ 448,
"DeleteOneIndexInput!"
]
}
@@ -8399,7 +8437,7 @@ export default {
21,
{
"input": [
- 365,
+ 366,
"LogicFunctionIdInput!"
]
}
@@ -8408,7 +8446,7 @@ export default {
21,
{
"input": [
- 448,
+ 449,
"CreateLogicFunctionFromSourceInput!"
]
}
@@ -8417,7 +8455,7 @@ export default {
142,
{
"input": [
- 449,
+ 450,
"ExecuteOneLogicFunctionInput!"
]
}
@@ -8426,7 +8464,7 @@ export default {
8,
{
"input": [
- 450,
+ 451,
"UpdateLogicFunctionFromSourceInput!"
]
}
@@ -8435,7 +8473,7 @@ export default {
14,
{
"input": [
- 452,
+ 453,
"CreateCommandMenuItemInput!"
]
}
@@ -8444,7 +8482,7 @@ export default {
14,
{
"input": [
- 453,
+ 454,
"UpdateCommandMenuItemInput!"
]
}
@@ -8471,7 +8509,7 @@ export default {
13,
{
"input": [
- 454,
+ 455,
"CreateFrontComponentInput!"
]
}
@@ -8480,7 +8518,7 @@ export default {
13,
{
"input": [
- 455,
+ 456,
"UpdateFrontComponentInput!"
]
}
@@ -8498,7 +8536,7 @@ export default {
67,
{
"data": [
- 457,
+ 458,
"ActivateWorkspaceInput!"
]
}
@@ -8507,7 +8545,7 @@ export default {
67,
{
"data": [
- 458,
+ 459,
"UpdateWorkspaceInput!"
]
}
@@ -8538,7 +8576,7 @@ export default {
201,
{
"input": [
- 459,
+ 460,
"CreateApplicationRegistrationInput!"
]
}
@@ -8547,7 +8585,7 @@ export default {
73,
{
"input": [
- 460,
+ 461,
"UpdateApplicationRegistrationInput!"
]
}
@@ -8574,7 +8612,7 @@ export default {
174,
{
"input": [
- 462,
+ 463,
"CreateApplicationRegistrationVariableInput!"
]
}
@@ -8583,7 +8621,7 @@ export default {
174,
{
"input": [
- 463,
+ 464,
"UpdateApplicationRegistrationVariableInput!"
]
}
@@ -8601,7 +8639,7 @@ export default {
73,
{
"file": [
- 386,
+ 387,
"Upload!"
],
"universalIdentifier": [
@@ -8663,7 +8701,7 @@ export default {
"UUID!"
],
"input": [
- 465,
+ 466,
"UpdateApplicationInput!"
]
}
@@ -8684,7 +8722,7 @@ export default {
224,
{
"input": [
- 466,
+ 467,
"CreateOneFieldMetadataInput!"
]
}
@@ -8693,7 +8731,7 @@ export default {
224,
{
"input": [
- 468,
+ 469,
"UpdateOneFieldMetadataInput!"
]
}
@@ -8702,7 +8740,7 @@ export default {
224,
{
"input": [
- 470,
+ 471,
"DeleteOneFieldInput!"
]
}
@@ -8711,7 +8749,7 @@ export default {
57,
{
"input": [
- 471,
+ 472,
"CreateViewGroupInput!"
]
}
@@ -8720,7 +8758,7 @@ export default {
57,
{
"inputs": [
- 471,
+ 472,
"[CreateViewGroupInput!]!"
]
}
@@ -8729,7 +8767,7 @@ export default {
57,
{
"input": [
- 472,
+ 473,
"UpdateViewGroupInput!"
]
}
@@ -8738,7 +8776,7 @@ export default {
57,
{
"inputs": [
- 472,
+ 473,
"[UpdateViewGroupInput!]!"
]
}
@@ -8747,7 +8785,7 @@ export default {
57,
{
"input": [
- 474,
+ 475,
"DeleteViewGroupInput!"
]
}
@@ -8756,7 +8794,7 @@ export default {
57,
{
"input": [
- 475,
+ 476,
"DestroyViewGroupInput!"
]
}
@@ -8778,7 +8816,7 @@ export default {
46,
{
"createRoleInput": [
- 476,
+ 477,
"CreateRoleInput!"
]
}
@@ -8787,7 +8825,7 @@ export default {
46,
{
"updateRoleInput": [
- 477,
+ 478,
"UpdateRoleInput!"
]
}
@@ -8805,7 +8843,7 @@ export default {
43,
{
"upsertObjectPermissionsInput": [
- 479,
+ 480,
"UpsertObjectPermissionsInput!"
]
}
@@ -8814,7 +8852,7 @@ export default {
44,
{
"upsertPermissionFlagsInput": [
- 481,
+ 482,
"UpsertPermissionFlagsInput!"
]
}
@@ -8823,7 +8861,7 @@ export default {
38,
{
"upsertFieldPermissionsInput": [
- 482,
+ 483,
"UpsertFieldPermissionsInput!"
]
}
@@ -8832,7 +8870,7 @@ export default {
245,
{
"input": [
- 484,
+ 485,
"UpsertRowLevelPermissionPredicatesInput!"
]
}
@@ -8863,7 +8901,7 @@ export default {
295,
{
"input": [
- 487,
+ 488,
"SendEmailViaDomainInput!"
]
}
@@ -8872,7 +8910,7 @@ export default {
297,
{
"input": [
- 488,
+ 489,
"SendMessageCampaignInput!"
]
}
@@ -8881,7 +8919,7 @@ export default {
295,
{
"input": [
- 489,
+ 490,
"SendMessageCampaignTestInput!"
]
}
@@ -8890,7 +8928,7 @@ export default {
302,
{
"input": [
- 490,
+ 491,
"CreateUnsubscribeTopicInput!"
]
}
@@ -8899,7 +8937,7 @@ export default {
302,
{
"input": [
- 491,
+ 492,
"UpdateUnsubscribeTopicInput!"
]
}
@@ -8917,7 +8955,7 @@ export default {
285,
{
"input": [
- 492,
+ 493,
"UpdateMessageChannelInput!"
]
}
@@ -8926,7 +8964,7 @@ export default {
293,
{
"input": [
- 494,
+ 495,
"CreateEmailGroupChannelInput!"
]
}
@@ -8935,7 +8973,7 @@ export default {
285,
{
"input": [
- 495,
+ 496,
"UpdateEmailGroupChannelInput!"
]
}
@@ -8953,7 +8991,7 @@ export default {
283,
{
"input": [
- 496,
+ 497,
"CreateEmailingDomainInput!"
]
}
@@ -8989,7 +9027,7 @@ export default {
314,
{
"input": [
- 497,
+ 498,
"RunAgentInput!"
]
}
@@ -8998,7 +9036,7 @@ export default {
311,
{
"input": [
- 500,
+ 501,
"CreateWebhookInput!"
]
}
@@ -9007,7 +9045,7 @@ export default {
311,
{
"input": [
- 501,
+ 502,
"UpdateWebhookInput!"
]
}
@@ -9025,7 +9063,7 @@ export default {
352,
{
"input": [
- 503,
+ 504,
"UpdateMessageFolderInput!"
]
}
@@ -9034,7 +9072,7 @@ export default {
352,
{
"input": [
- 505,
+ 506,
"UpdateMessageFoldersInput!"
]
}
@@ -9043,7 +9081,7 @@ export default {
347,
{
"input": [
- 506,
+ 507,
"UpdateCalendarChannelInput!"
]
}
@@ -9052,7 +9090,7 @@ export default {
345,
{
"input": [
- 508,
+ 509,
"SetAppKeyValueInput!"
]
}
@@ -9073,7 +9111,7 @@ export default {
344,
{
"input": [
- 509,
+ 510,
"EnqueueJobInput!"
]
}
@@ -9103,7 +9141,7 @@ export default {
1
],
"fileAttachments": [
- 510,
+ 511,
"[FileAttachmentInput!]"
]
}
@@ -9132,14 +9170,14 @@ export default {
"UUID!"
],
"answers": [
- 511,
+ 512,
"[AgentChatQuestionAnswerInput!]!"
],
"modelId": [
1
],
"fileAttachments": [
- 510,
+ 511,
"[FileAttachmentInput!]"
]
}
@@ -9217,7 +9255,7 @@ export default {
330,
{
"input": [
- 512,
+ 513,
"CreateSkillInput!"
]
}
@@ -9226,7 +9264,7 @@ export default {
330,
{
"input": [
- 513,
+ 514,
"UpdateSkillInput!"
]
}
@@ -9284,7 +9322,7 @@ export default {
258,
{
"input": [
- 514,
+ 515,
"GetAuthorizationUrlForSSOInput!"
]
}
@@ -9450,7 +9488,7 @@ export default {
261,
{
"input": [
- 515
+ 516
]
}
],
@@ -9462,7 +9500,7 @@ export default {
"String!"
],
"file": [
- 386,
+ 387,
"Upload!"
]
}
@@ -9625,7 +9663,7 @@ export default {
8,
{
"input": [
- 516,
+ 517,
"UpdateWorkspaceMemberSettingsInput!"
]
}
@@ -9659,7 +9697,7 @@ export default {
211,
{
"input": [
- 517,
+ 518,
"SetupOIDCSsoInput!"
]
}
@@ -9668,7 +9706,7 @@ export default {
211,
{
"input": [
- 518,
+ 519,
"SetupSAMLSsoInput!"
]
}
@@ -9677,7 +9715,7 @@ export default {
207,
{
"input": [
- 519,
+ 520,
"DeleteSsoInput!"
]
}
@@ -9686,7 +9724,7 @@ export default {
208,
{
"input": [
- 520,
+ 521,
"EditSsoInput!"
]
}
@@ -9715,7 +9753,7 @@ export default {
326,
{
"type": [
- 521,
+ 522,
"AnalyticsType!"
],
"name": [
@@ -9758,7 +9796,7 @@ export default {
316,
{
"input": [
- 522,
+ 523,
"CreateCalendarEventInput!"
]
}
@@ -9767,7 +9805,7 @@ export default {
325,
{
"input": [
- 523,
+ 524,
"SendEmailInput!"
]
}
@@ -9789,7 +9827,7 @@ export default {
"String!"
],
"connectionParameters": [
- 525,
+ 526,
"EmailAccountConnectionParameters!"
],
"id": [
@@ -9801,7 +9839,7 @@ export default {
171,
{
"input": [
- 527,
+ 528,
"UpdateLabPublicFeatureFlagInput!"
]
}
@@ -9866,7 +9904,7 @@ export default {
280,
{
"file": [
- 386,
+ 387,
"Upload!"
],
"applicationUniversalIdentifier": [
@@ -9874,7 +9912,7 @@ export default {
"String!"
],
"fileFolder": [
- 385,
+ 386,
"FileFolder!"
],
"filePath": [
@@ -9988,7 +10026,7 @@ export default {
3
],
"update": [
- 384
+ 385
],
"__typename": [
1
@@ -10099,7 +10137,7 @@ export default {
3
],
"update": [
- 391
+ 392
],
"__typename": [
1
@@ -10270,19 +10308,19 @@ export default {
3
],
"view": [
- 397
+ 398
],
"viewFields": [
- 398
+ 399
],
"viewFilters": [
- 399
+ 400
],
"viewFilterGroups": [
- 400
+ 401
],
"viewSorts": [
- 401
+ 402
],
"__typename": [
1
@@ -10431,7 +10469,7 @@ export default {
3
],
"update": [
- 404
+ 405
],
"__typename": [
1
@@ -10469,7 +10507,7 @@ export default {
3
],
"update": [
- 408
+ 409
],
"__typename": [
1
@@ -10545,7 +10583,7 @@ export default {
3
],
"update": [
- 413
+ 414
],
"__typename": [
1
@@ -10609,10 +10647,10 @@ export default {
3
],
"groups": [
- 418
+ 419
],
"fields": [
- 419
+ 420
],
"__typename": [
1
@@ -10632,7 +10670,7 @@ export default {
8
],
"fields": [
- 419
+ 420
],
"__typename": [
1
@@ -10800,7 +10838,7 @@ export default {
3
],
"tabs": [
- 431
+ 432
],
"__typename": [
1
@@ -10823,7 +10861,7 @@ export default {
82
],
"widgets": [
- 432
+ 433
],
"__typename": [
1
@@ -10846,7 +10884,7 @@ export default {
3
],
"gridPosition": [
- 433
+ 434
],
"position": [
9
@@ -10895,7 +10933,7 @@ export default {
3
],
"gridPosition": [
- 433
+ 434
],
"position": [
9
@@ -10921,7 +10959,7 @@ export default {
3
],
"gridPosition": [
- 433
+ 434
],
"position": [
9
@@ -11014,7 +11052,7 @@ export default {
},
"CreateOneObjectInput": {
"object": [
- 439
+ 440
],
"__typename": [
1
@@ -11074,7 +11112,7 @@ export default {
},
"UpdateOneObjectInput": {
"update": [
- 442
+ 443
],
"id": [
3
@@ -11127,7 +11165,7 @@ export default {
24
],
"translations": [
- 443
+ 444
],
"__typename": [
1
@@ -11149,7 +11187,7 @@ export default {
},
"CreateOneIndexInput": {
"index": [
- 445
+ 446
],
"__typename": [
1
@@ -11160,7 +11198,7 @@ export default {
3
],
"fields": [
- 446
+ 447
],
"indexType": [
233
@@ -11245,7 +11283,7 @@ export default {
3
],
"update": [
- 451
+ 452
],
"__typename": [
1
@@ -11405,7 +11443,7 @@ export default {
3
],
"update": [
- 456
+ 457
],
"__typename": [
1
@@ -11532,7 +11570,7 @@ export default {
1
],
"update": [
- 461
+ 462
],
"__typename": [
1
@@ -11586,7 +11624,7 @@ export default {
1
],
"update": [
- 464
+ 465
],
"__typename": [
1
@@ -11616,7 +11654,7 @@ export default {
},
"CreateOneFieldMetadataInput": {
"field": [
- 467
+ 468
],
"__typename": [
1
@@ -11689,7 +11727,7 @@ export default {
3
],
"update": [
- 469
+ 470
],
"__typename": [
1
@@ -11748,7 +11786,7 @@ export default {
9
],
"translations": [
- 443
+ 444
],
"__typename": [
1
@@ -11787,7 +11825,7 @@ export default {
3
],
"update": [
- 473
+ 474
],
"__typename": [
1
@@ -11872,7 +11910,7 @@ export default {
},
"UpdateRoleInput": {
"update": [
- 478
+ 479
],
"id": [
3
@@ -11927,7 +11965,7 @@ export default {
3
],
"objectPermissions": [
- 480
+ 481
],
"__typename": [
1
@@ -11969,7 +12007,7 @@ export default {
3
],
"fieldPermissions": [
- 483
+ 484
],
"__typename": [
1
@@ -12000,10 +12038,10 @@ export default {
3
],
"predicates": [
- 485
+ 486
],
"predicateGroups": [
- 486
+ 487
],
"__typename": [
1
@@ -12157,7 +12195,7 @@ export default {
3
],
"update": [
- 493
+ 494
],
"__typename": [
1
@@ -12230,7 +12268,7 @@ export default {
3
],
"messages": [
- 498
+ 499
],
"__typename": [
1
@@ -12238,7 +12276,7 @@ export default {
},
"RunAgentMessageInput": {
"role": [
- 499
+ 500
],
"content": [
1
@@ -12273,7 +12311,7 @@ export default {
3
],
"update": [
- 502
+ 503
],
"__typename": [
1
@@ -12301,7 +12339,7 @@ export default {
3
],
"update": [
- 504
+ 505
],
"__typename": [
1
@@ -12320,7 +12358,7 @@ export default {
3
],
"update": [
- 504
+ 505
],
"__typename": [
1
@@ -12331,7 +12369,7 @@ export default {
3
],
"update": [
- 507
+ 508
],
"__typename": [
1
@@ -12616,7 +12654,7 @@ export default {
1
],
"files": [
- 524
+ 525
],
"__typename": [
1
@@ -12638,13 +12676,13 @@ export default {
1
],
"IMAP": [
- 526
+ 527
],
"SMTP": [
- 526
+ 527
],
"CALDAV": [
- 526
+ 527
],
"__typename": [
1
@@ -12695,7 +12733,7 @@ export default {
246,
{
"input": [
- 529,
+ 530,
"LogicFunctionLogsInput!"
]
}
@@ -12713,7 +12751,7 @@ export default {
327,
{
"table": [
- 371,
+ 372,
"EventLogTable!"
]
}
diff --git a/packages/twenty-front/codegen-metadata.cjs b/packages/twenty-front/codegen-metadata.cjs
index 3bad5f9e5f3..ac8ce9fce45 100644
--- a/packages/twenty-front/codegen-metadata.cjs
+++ b/packages/twenty-front/codegen-metadata.cjs
@@ -34,6 +34,7 @@ module.exports = {
'./src/modules/page-layout/widgets/**/graphql/**/*.{ts,tsx}',
'./src/modules/activities/emails/graphql/mutations/**/*.{ts,tsx}',
+ './src/modules/activities/timeline-activities/graphql/**/*.{ts,tsx}',
'./src/modules/activities/emails/graphql/metadata-queries/**/*.{ts,tsx}',
'./src/modules/dashboards/graphql/**/*.{ts,tsx}',
diff --git a/packages/twenty-front/src/generated-metadata/graphql.ts b/packages/twenty-front/src/generated-metadata/graphql.ts
index c3994afc3b1..0b6830f1be8 100644
--- a/packages/twenty-front/src/generated-metadata/graphql.ts
+++ b/packages/twenty-front/src/generated-metadata/graphql.ts
@@ -216,6 +216,7 @@ export enum AllMetadataName {
rowLevelPermissionPredicateGroup = 'rowLevelPermissionPredicateGroup',
searchFieldMetadata = 'searchFieldMetadata',
skill = 'skill',
+ timelineActivityType = 'timelineActivityType',
view = 'view',
viewField = 'viewField',
viewFieldGroup = 'viewFieldGroup',
@@ -4696,6 +4697,7 @@ export type Query = {
publicMarketplaceApps: Array<MarketplaceApp>;
skill?: Maybe<Skill>;
skills: Array<Skill>;
+ timelineActivityTypes: Array<TimelineActivityType>;
unsubscribeTopics: Array<UnsubscribeTopic>;
validatePasswordResetToken: ValidatePasswordResetToken;
webhook?: Maybe<Webhook>;
@@ -5582,6 +5584,20 @@ export type TasksConfiguration = {
configurationType: WidgetConfigurationType;
};
+export type TimelineActivityType = {
+ __typename?: 'TimelineActivityType';
+ action?: Maybe<Scalars['String']['output']>;
+ applicationId?: Maybe<Scalars['UUID']['output']>;
+ createdAt: Scalars['DateTime']['output'];
+ icon?: Maybe<Scalars['String']['output']>;
+ id: Scalars['UUID']['output'];
+ label: Scalars['String']['output'];
+ name: Scalars['String']['output'];
+ objectUniversalIdentifier?: Maybe<Scalars['UUID']['output']>;
+ renderer?: Maybe<Scalars['String']['output']>;
+ updatedAt: Scalars['DateTime']['output'];
+};
+
export type TimelineConfiguration = {
__typename?: 'TimelineConfiguration';
configurationType: WidgetConfigurationType;
@@ -6876,6 +6892,11 @@ export type SendMessageCampaignTestMutationVariables = Exact<{
export type SendMessageCampaignTestMutation = { __typename?: 'Mutation', sendMessageCampaignTest: { __typename?: 'SendEmailViaDomainOutput', messageId: string } };
+export type FindManyTimelineActivityTypesQueryVariables = Exact<{ [key: string]: never; }>;
+
+
+export type FindManyTimelineActivityTypesQuery = { __typename?: 'Query', timelineActivityTypes: Array<{ __typename?: 'TimelineActivityType', id: string, name: string, label: string, action?: string | null, icon?: string | null, renderer?: string | null, objectUniversalIdentifier?: string | null }> };
+
export type AgentFieldsFragment = { __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, prompt: string, modelId: string, responseFormat?: any | null, roleId?: string | null, isCustom: boolean, modelConfiguration?: any | null, evaluationInputs: Array<string>, applicationId?: string | null, createdAt: string, updatedAt: string };
export type SkillFieldsFragment = { __typename?: 'Skill', id: string, name: string, label: string, description?: string | null, icon?: string | null, content: string, isCustom: boolean, isActive: boolean, createdAt: string, updatedAt: string };
@@ -9491,6 +9512,7 @@ export const UnsubscribeTopicsDocument = {"kind":"Document","definitions":[{"kin
export const SendEmailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SendEmail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SendEmailInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sendEmail"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"success"}},{"kind":"Field","name":{"kind":"Name","value":"error"}},{"kind":"Field","name":{"kind":"Name","value":"messageThreadId"}}]}}]}}]} as unknown as DocumentNode<SendEmailMutation, SendEmailMutationVariables>;
export const SendMessageCampaignDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SendMessageCampaign"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SendMessageCampaignInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sendMessageCampaign"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"campaignId"}},{"kind":"Field","name":{"kind":"Name","value":"queuedCount"}},{"kind":"Field","name":{"kind":"Name","value":"skipped"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"noEmail"}},{"kind":"Field","name":{"kind":"Name","value":"deduped"}},{"kind":"Field","name":{"kind":"Name","value":"overCap"}}]}}]}}]}}]} as unknown as DocumentNode<SendMessageCampaignMutation, SendMessageCampaignMutationVariables>;
export const SendMessageCampaignTestDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SendMessageCampaignTest"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SendMessageCampaignTestInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sendMessageCampaignTest"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"messageId"}}]}}]}}]} as unknown as DocumentNode<SendMessageCampaignTestMutation, SendMessageCampaignTestMutationVariables>;
+export const FindManyTimelineActivityTypesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindManyTimelineActivityTypes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"timelineActivityTypes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"action"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"renderer"}},{"kind":"Field","name":{"kind":"Name","value":"objectUniversalIdentifier"}}]}}]}}]} as unknown as DocumentNode<FindManyTimelineActivityTypesQuery, FindManyTimelineActivityTypesQueryVariables>;
export const ActivateSkillDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ActivateSkill"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"activateSkill"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"SkillFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SkillFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Skill"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<ActivateSkillMutation, ActivateSkillMutationVariables>;
export const AnswerAgentChatQuestionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AnswerAgentChatQuestion"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"threadId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"messageId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"answers"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AgentChatQuestionAnswerInput"}}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"modelId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fileAttachments"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"FileAttachmentInput"}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"answerAgentChatQuestion"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"threadId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"threadId"}}},{"kind":"Argument","name":{"kind":"Name","value":"messageId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"messageId"}}},{"kind":"Argument","name":{"kind":"Name","value":"answers"},"value":{"kind":"Variable","name":{"kind":"Name","value":"answers"}}},{"kind":"Argument","name":{"kind":"Name","value":"modelId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"modelId"}}},{"kind":"Argument","name":{"kind":"Name","value":"fileAttachments"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fileAttachments"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"messageId"}},{"kind":"Field","name":{"kind":"Name","value":"queued"}},{"kind":"Field","name":{"kind":"Name","value":"streamId"}}]}}]}}]} as unknown as DocumentNode<AnswerAgentChatQuestionMutation, AnswerAgentChatQuestionMutationVariables>;
export const ArchiveChatThreadDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ArchiveChatThread"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"archiveChatThread"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode<ArchiveChatThreadMutation, ArchiveChatThreadMutationVariables>;
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/components/EventList.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/components/EventList.tsx
index e287f4e674a..87c35a1da9c 100644
--- a/packages/twenty-front/src/modules/activities/timeline-activities/components/EventList.tsx
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/components/EventList.tsx
@@ -3,12 +3,23 @@ import { type ReactElement } from 'react';
import { EventsGroup } from '@/activities/timeline-activities/components/EventsGroup';
import { type TimelineActivity } from '@/activities/timeline-activities/types/TimelineActivity';
+import { useTimelineActivityTypes } from '@/activities/timeline-activities/hooks/useTimelineActivityTypes';
+import { timelineActivityTypeIdsFilterFamilyState } from '@/activities/timeline-activities/states/timelineActivityTypeIdsFilterFamilyState';
import { filterOutInvalidTimelineActivities } from '@/activities/timeline-activities/utils/filterOutInvalidTimelineActivities';
+import { keepTimelineActivitiesOfSelectedTypes } from '@/activities/timeline-activities/utils/keepTimelineActivitiesOfSelectedTypes';
import { groupEventsByMonth } from '@/activities/timeline-activities/utils/groupEventsByMonth';
import { type ActivityTargetableObject } from '@/activities/types/ActivityTargetableEntity';
import { useObjectMetadataItem } from '@/object-metadata/hooks/useObjectMetadataItem';
import { useObjectMetadataItems } from '@/object-metadata/hooks/useObjectMetadataItems';
import { ScrollWrapper } from '@/ui/utilities/scroll/components/ScrollWrapper';
+import { useAtomFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomFamilyStateValue';
+import { useLingui } from '@lingui/react/macro';
+import {
+ AnimatedPlaceholderEmptyContainer,
+ AnimatedPlaceholderEmptySubTitle,
+ AnimatedPlaceholderEmptyTextContainer,
+ AnimatedPlaceholderEmptyTitle,
+} from 'twenty-ui/feedback';
import { themeCssVariables } from 'twenty-ui/theme-constants';
type EventListProps = {
@@ -30,20 +41,48 @@ const StyledTimelineContainer = styled.div`
`;
export const EventList = ({ events, targetableObject }: EventListProps) => {
+ const { t } = useLingui();
+
const mainObjectMetadataItem = useObjectMetadataItem({
objectNameSingular: targetableObject.targetObjectNameSingular,
}).objectMetadataItem;
const { objectMetadataItems } = useObjectMetadataItems();
+ const { timelineActivityTypeById } = useTimelineActivityTypes();
+
+ const timelineActivityTypeIdsFilter = useAtomFamilyStateValue(
+ timelineActivityTypeIdsFilterFamilyState,
+ targetableObject.id,
+ );
+
const filteredEvents = filterOutInvalidTimelineActivities(
- events,
+ keepTimelineActivitiesOfSelectedTypes(
+ events,
+ timelineActivityTypeIdsFilter,
+ ),
targetableObject.targetObjectNameSingular,
objectMetadataItems,
+ timelineActivityTypeById,
);
const groupedEvents = groupEventsByMonth(filteredEvents);
+ if (groupedEvents.length === 0) {
+ return (
+ <AnimatedPlaceholderEmptyContainer>
+ <AnimatedPlaceholderEmptyTextContainer>
+ <AnimatedPlaceholderEmptyTitle>
+ {t`No matching activity`}
+ </AnimatedPlaceholderEmptyTitle>
+ <AnimatedPlaceholderEmptySubTitle>
+ {t`No activity matches the selected types.`}
+ </AnimatedPlaceholderEmptySubTitle>
+ </AnimatedPlaceholderEmptyTextContainer>
+ </AnimatedPlaceholderEmptyContainer>
+ );
+ }
+
return (
<ScrollWrapper
componentInstanceId={`scroll-wrapper-event-list-${targetableObject.id}`}
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/components/EventRow.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/components/EventRow.tsx
index 4773a963d69..6bbeba2be64 100644
--- a/packages/twenty-front/src/modules/activities/timeline-activities/components/EventRow.tsx
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/components/EventRow.tsx
@@ -4,16 +4,20 @@ import { useContext } from 'react';
import { TimelineActivityContext } from '@/activities/timeline-activities/contexts/TimelineActivityContext';
-import { useLinkedObjectObjectMetadataItem } from '@/activities/timeline-activities/hooks/useLinkedObjectObjectMetadataItem';
import { EventIconDynamicComponent } from '@/activities/timeline-activities/rows/components/EventIconDynamicComponent';
import { EventRowDynamicComponent } from '@/activities/timeline-activities/rows/components/EventRowDynamicComponent';
import { type TimelineActivity } from '@/activities/timeline-activities/types/TimelineActivity';
+import { useTimelineActivityTypes } from '@/activities/timeline-activities/hooks/useTimelineActivityTypes';
+import { getTimelineActivityAction } from '@/activities/timeline-activities/utils/getTimelineActivityAction';
+import { getTimelineActivityType } from '@/activities/timeline-activities/utils/getTimelineActivityType';
+import { getTimelineActivityLinkedObjectMetadataItem } from '@/activities/timeline-activities/utils/getTimelineActivityLinkedObjectMetadataItem';
import { getTimelineActivityAuthorFullName } from '@/activities/timeline-activities/utils/getTimelineActivityAuthorFullName';
import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState';
import { type EnrichedObjectMetadataItem } from '@/object-metadata/types/EnrichedObjectMetadataItem';
import { getObjectRecordIdentifier } from '@/object-metadata/utils/getObjectRecordIdentifier';
import { recordStoreFamilyState } from '@/object-record/record-store/states/recordStoreFamilyState';
import { useAtomFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomFamilyStateValue';
+import { useObjectMetadataItems } from '@/object-metadata/hooks/useObjectMetadataItems';
import { themeCssVariables } from 'twenty-ui/theme-constants';
import { isUndefinedOrNull } from '~/utils/isUndefinedOrNull';
import { allowRequestsToTwentyIconsState } from '@/client-config/states/allowRequestsToTwentyIcons';
@@ -97,10 +101,27 @@ export const EventRow = ({
const recordStore = useAtomFamilyStateValue(recordStoreFamilyState, recordId);
- const linkedObjectMetadataItem = useLinkedObjectObjectMetadataItem(
- event.linkedObjectMetadataId,
+ const { timelineActivityTypeById } = useTimelineActivityTypes();
+
+ const { objectMetadataItems } = useObjectMetadataItems();
+
+ const timelineActivityType = getTimelineActivityType(
+ event,
+ timelineActivityTypeById,
+ );
+
+ const timelineActivityAction = getTimelineActivityAction(
+ event,
+ timelineActivityTypeById,
);
+ const linkedObjectMetadataItem =
+ getTimelineActivityLinkedObjectMetadataItem({
+ timelineActivity: event,
+ timelineActivityTypeById,
+ objectMetadataItems,
+ }) ?? null;
+
if (isUndefinedOrNull(currentWorkspaceMember)) {
return null;
}
@@ -133,7 +154,7 @@ export const EventRow = ({
<StyledLeftContainer>
<StyledIconContainer>
<EventIconDynamicComponent
- event={event}
+ eventIcon={timelineActivityType?.icon ?? null}
linkedObjectMetadataItem={linkedObjectMetadataItem}
/>
</StyledIconContainer>
@@ -149,6 +170,8 @@ export const EventRow = ({
authorFullName={authorFullName}
labelIdentifierValue={labelIdentifier.name}
event={event}
+ eventAction={timelineActivityAction}
+ eventRenderer={timelineActivityType?.renderer ?? null}
mainObjectMetadataItem={mainObjectMetadataItem}
linkedObjectMetadataItem={linkedObjectMetadataItem}
createdAt={event.createdAt}
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/constants/TimelineActivityRowComponentByRenderer.ts b/packages/twenty-front/src/modules/activities/timeline-activities/constants/TimelineActivityRowComponentByRenderer.ts
new file mode 100644
index 00000000000..6d3a1e5cf28
--- /dev/null
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/constants/TimelineActivityRowComponentByRenderer.ts
@@ -0,0 +1,22 @@
+import { EventRowActivity } from '@/activities/timeline-activities/rows/activity/components/EventRowActivity';
+import { EventRowCalendarEvent } from '@/activities/timeline-activities/rows/calendar/components/EventRowCalendarEvent';
+import { type EventRowDynamicComponentProps } from '@/activities/timeline-activities/rows/components/EventRowDynamicComponent.types';
+import { EventRowGenericLinked } from '@/activities/timeline-activities/rows/generic/components/EventRowGenericLinked';
+import { EventRowMainObject } from '@/activities/timeline-activities/rows/main-object/components/EventRowMainObject';
+import { EventRowMessage } from '@/activities/timeline-activities/rows/message/components/EventRowMessage';
+import { type ComponentType } from 'react';
+import { type TimelineActivityRenderer } from 'twenty-shared/timeline';
+
+// The one place a renderer name becomes a component. A timeline activity type
+// names its renderer, so adding a row shape is adding an entry here and a type
+// declaring it, never a new branch at the call site.
+export const TIMELINE_ACTIVITY_ROW_COMPONENT_BY_RENDERER: Record<
+ TimelineActivityRenderer,
+ ComponentType<EventRowDynamicComponentProps>
+> = {
+ mainObject: EventRowMainObject,
+ genericLinked: EventRowGenericLinked,
+ activity: EventRowActivity,
+ message: EventRowMessage,
+ calendarEvent: EventRowCalendarEvent,
+};
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/graphql/queries/findManyTimelineActivityTypes.ts b/packages/twenty-front/src/modules/activities/timeline-activities/graphql/queries/findManyTimelineActivityTypes.ts
new file mode 100644
index 00000000000..768db6e1808
--- /dev/null
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/graphql/queries/findManyTimelineActivityTypes.ts
@@ -0,0 +1,15 @@
+import { gql } from '@apollo/client';
+
+export const FIND_MANY_TIMELINE_ACTIVITY_TYPES = gql`
+ query FindManyTimelineActivityTypes {
+ timelineActivityTypes {
+ id
+ name
+ label
+ action
+ icon
+ renderer
+ objectUniversalIdentifier
+ }
+ }
+`;
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/hooks/useTimelineActivityTypes.ts b/packages/twenty-front/src/modules/activities/timeline-activities/hooks/useTimelineActivityTypes.ts
new file mode 100644
index 00000000000..49f72500a72
--- /dev/null
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/hooks/useTimelineActivityTypes.ts
@@ -0,0 +1,37 @@
+import { useQuery } from '@apollo/client/react';
+import { useMemo } from 'react';
+
+import { type TimelineActivityType } from '@/activities/timeline-activities/types/TimelineActivityType';
+import {
+ isTimelineActivityAction,
+ isTimelineActivityRenderer,
+} from 'twenty-shared/timeline';
+import { FindManyTimelineActivityTypesDocument } from '~/generated-metadata/graphql';
+
+export const useTimelineActivityTypes = () => {
+ const { data } = useQuery(FindManyTimelineActivityTypesDocument);
+
+ const timelineActivityTypeById = useMemo(
+ () =>
+ new Map<string, TimelineActivityType>(
+ (data?.timelineActivityTypes ?? []).map((timelineActivityType) => [
+ timelineActivityType.id,
+ {
+ ...timelineActivityType,
+ action: isTimelineActivityAction(timelineActivityType.action)
+ ? timelineActivityType.action
+ : null,
+ icon: timelineActivityType.icon ?? null,
+ renderer: isTimelineActivityRenderer(timelineActivityType.renderer)
+ ? timelineActivityType.renderer
+ : null,
+ objectUniversalIdentifier:
+ timelineActivityType.objectUniversalIdentifier ?? null,
+ },
+ ]),
+ ),
+ [data?.timelineActivityTypes],
+ );
+
+ return { timelineActivityTypeById };
+};
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/rows/activity/components/EventRowActivity.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/rows/activity/components/EventRowActivity.tsx
index 4c0e68b8d81..56fee34668f 100644
--- a/packages/twenty-front/src/modules/activities/timeline-activities/rows/activity/components/EventRowActivity.tsx
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/rows/activity/components/EventRowActivity.tsx
@@ -11,15 +11,35 @@ import {
} from '@/activities/timeline-activities/rows/components/EventRowStyles';
import { isTimelineActivityWithLinkedRecord } from '@/activities/timeline-activities/types/TimelineActivity';
import { useOpenRecordInSidePanel } from '@/side-panel/hooks/useOpenRecordInSidePanel';
-import { parseTimelineActivityAction } from 'twenty-shared/timeline';
-import { type CoreObjectNameSingular } from 'twenty-shared/types';
+import { type TimelineActivityAction } from 'twenty-shared/timeline';
import { useGetRecordFromCache } from '@/object-record/cache/hooks/useGetRecordFromCache';
+import { isDefined } from 'twenty-shared/utils';
import { isNonEmptyString } from '@sniptt/guards';
import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';
import { themeCssVariables } from 'twenty-ui/theme-constants';
type EventRowActivityProps = EventRowDynamicComponentProps;
+const getEventActionSentence = (
+ eventAction: TimelineActivityAction | null,
+ objectNameSingular: string,
+): string => {
+ switch (eventAction) {
+ case 'created':
+ return t`created a related ${objectNameSingular}`;
+ case 'updated':
+ return t`updated a related ${objectNameSingular}`;
+ case 'deleted':
+ return t`deleted a related ${objectNameSingular}`;
+ case 'restored':
+ return t`restored a related ${objectNameSingular}`;
+ case 'unlinked':
+ return t`unlinked a related ${objectNameSingular}`;
+ default:
+ return t`linked a related ${objectNameSingular}`;
+ }
+};
+
const StyledEventRow = styled.div`
display: flex;
flex-direction: column;
@@ -33,18 +53,21 @@ export const StyledEventRowItemText = styled.span`
export const EventRowActivity = ({
event,
+ eventAction,
authorFullName,
- objectNameSingular,
+ linkedObjectMetadataItem,
createdAt,
-}: EventRowActivityProps & { objectNameSingular: CoreObjectNameSingular }) => {
- const eventAction = parseTimelineActivityAction(event.name);
-
- const eventObject = objectNameSingular;
-
+}: EventRowActivityProps) => {
if (!isTimelineActivityWithLinkedRecord(event)) {
throw new Error('Could not find linked record id for event');
}
+ if (!isDefined(linkedObjectMetadataItem)) {
+ throw new Error('Could not find linked object metadata for event');
+ }
+
+ const { nameSingular: objectNameSingular } = linkedObjectMetadataItem;
+
const getActivityFromCache = useGetRecordFromCache({
objectNameSingular,
recordGqlFields: {
@@ -76,7 +99,7 @@ export const EventRowActivity = ({
<StyledEventRowContent>
<EventRowItem>{authorFullName}</EventRowItem>
<EventRowItem variant="action">
- {t`${eventAction} a related ${eventObject}`}
+ {getEventActionSentence(eventAction, objectNameSingular)}
</EventRowItem>
<StyledEventRowLinkedRecord
onClick={() =>
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/rows/calendar/components/EventRowCalendarEvent.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/rows/calendar/components/EventRowCalendarEvent.tsx
index 4e4e545c8eb..c77c7c7544d 100644
--- a/packages/twenty-front/src/modules/activities/timeline-activities/rows/calendar/components/EventRowCalendarEvent.tsx
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/rows/calendar/components/EventRowCalendarEvent.tsx
@@ -26,14 +26,14 @@ const StyledRowContainer = styled.div`
export const EventRowCalendarEvent = ({
event,
+ eventAction,
authorFullName,
labelIdentifierValue,
}: EventRowCalendarEventProps) => {
const { t } = useLingui();
- const [, eventAction] = event.name.split('.');
const [isOpen, setIsOpen] = useState(false);
- if (['linked'].includes(eventAction) === false) {
+ if (eventAction !== 'linked') {
throw new Error('Invalid event action for calendarEvent event type.');
}
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventIconDynamicComponent.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventIconDynamicComponent.tsx
index fa6631e4859..0450f35682b 100644
--- a/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventIconDynamicComponent.tsx
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventIconDynamicComponent.tsx
@@ -1,41 +1,22 @@
-import { type TimelineActivity } from '@/activities/timeline-activities/types/TimelineActivity';
import { ObjectMetadataIcon } from '@/object-metadata/components/ObjectMetadataIcon';
import { type EnrichedObjectMetadataItem } from '@/object-metadata/types/EnrichedObjectMetadataItem';
-import {
- parseTimelineActivityAction,
- type TimelineActivityAction,
-} from 'twenty-shared/timeline';
-import {
- IconCirclePlus,
- IconEditCircle,
- type IconComponent,
- IconRestore,
- IconTrash,
-} from 'twenty-ui/icon';
-
-const RECORD_CHANGE_ICONS: Partial<
- Record<TimelineActivityAction, IconComponent>
-> = {
- created: IconCirclePlus,
- updated: IconEditCircle,
- deleted: IconTrash,
- restored: IconRestore,
-};
+import { isDefined } from 'twenty-shared/utils';
+import { useIcons } from 'twenty-ui/icon';
export const EventIconDynamicComponent = ({
- event,
+ eventIcon,
linkedObjectMetadataItem,
}: {
- event: TimelineActivity;
+ eventIcon: string | null;
linkedObjectMetadataItem: EnrichedObjectMetadataItem | null;
}) => {
- const action = parseTimelineActivityAction(event.name);
+ const { getIcon } = useIcons();
- const ActionIcon = RECORD_CHANGE_ICONS[action];
-
- if (ActionIcon) {
- return <ActionIcon />;
+ if (!isDefined(eventIcon)) {
+ return <ObjectMetadataIcon objectMetadataItem={linkedObjectMetadataItem} />;
}
- return <ObjectMetadataIcon objectMetadataItem={linkedObjectMetadataItem} />;
+ const EventIcon = getIcon(eventIcon);
+
+ return <EventIcon />;
};
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventRowDynamicComponent.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventRowDynamicComponent.tsx
index 1e84556d3b5..833b4385775 100644
--- a/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventRowDynamicComponent.tsx
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventRowDynamicComponent.tsx
@@ -1,85 +1,61 @@
-import { EventRowActivity } from '@/activities/timeline-activities/rows/activity/components/EventRowActivity';
-import { EventRowCalendarEvent } from '@/activities/timeline-activities/rows/calendar/components/EventRowCalendarEvent';
+import { TIMELINE_ACTIVITY_ROW_COMPONENT_BY_RENDERER } from '@/activities/timeline-activities/constants/TimelineActivityRowComponentByRenderer';
import { type EventRowDynamicComponentProps } from '@/activities/timeline-activities/rows/components/EventRowDynamicComponent.types';
-import { EventRowGenericLinked } from '@/activities/timeline-activities/rows/generic/components/EventRowGenericLinked';
-import { EventRowMainObject } from '@/activities/timeline-activities/rows/main-object/components/EventRowMainObject';
-import { EventRowMessage } from '@/activities/timeline-activities/rows/message/components/EventRowMessage';
import { CoreObjectNameSingular } from 'twenty-shared/types';
+import { type TimelineActivityRenderer } from 'twenty-shared/timeline';
import { isDefined } from 'twenty-shared/utils';
-export const EventRowDynamicComponent = (
- props: EventRowDynamicComponentProps,
-) => {
- const { linkedObjectMetadataItem } = props;
-
- if (!isDefined(linkedObjectMetadataItem)) {
- return (
- <EventRowMainObject
- labelIdentifierValue={props.labelIdentifierValue}
- event={props.event}
- mainObjectMetadataItem={props.mainObjectMetadataItem}
- linkedObjectMetadataItem={props.linkedObjectMetadataItem}
- authorFullName={props.authorFullName}
- createdAt={props.createdAt}
- />
- );
- }
-
- switch (linkedObjectMetadataItem.nameSingular) {
- case CoreObjectNameSingular.Message:
- return (
- <EventRowMessage
- labelIdentifierValue={props.labelIdentifierValue}
- event={props.event}
- mainObjectMetadataItem={props.mainObjectMetadataItem}
- linkedObjectMetadataItem={props.linkedObjectMetadataItem}
- authorFullName={props.authorFullName}
- />
- );
- case CoreObjectNameSingular.CalendarEvent:
- return (
- <EventRowCalendarEvent
- labelIdentifierValue={props.labelIdentifierValue}
- event={props.event}
- mainObjectMetadataItem={props.mainObjectMetadataItem}
- linkedObjectMetadataItem={props.linkedObjectMetadataItem}
- authorFullName={props.authorFullName}
- />
- );
+const getLegacyTimelineActivityRenderer = (
+ linkedObjectNameSingular: string | undefined,
+): TimelineActivityRenderer => {
+ switch (linkedObjectNameSingular) {
case CoreObjectNameSingular.Note:
- return (
- <EventRowActivity
- labelIdentifierValue={props.labelIdentifierValue}
- event={props.event}
- mainObjectMetadataItem={props.mainObjectMetadataItem}
- linkedObjectMetadataItem={props.linkedObjectMetadataItem}
- authorFullName={props.authorFullName}
- createdAt={props.createdAt}
- objectNameSingular={CoreObjectNameSingular.Note}
- />
- );
case CoreObjectNameSingular.Task:
- return (
- <EventRowActivity
- labelIdentifierValue={props.labelIdentifierValue}
- event={props.event}
- mainObjectMetadataItem={props.mainObjectMetadataItem}
- linkedObjectMetadataItem={props.linkedObjectMetadataItem}
- authorFullName={props.authorFullName}
- createdAt={props.createdAt}
- objectNameSingular={CoreObjectNameSingular.Task}
- />
- );
+ return 'activity';
+ case CoreObjectNameSingular.Message:
+ return 'message';
+ case CoreObjectNameSingular.CalendarEvent:
+ return 'calendarEvent';
default:
- return (
- <EventRowGenericLinked
- labelIdentifierValue={props.labelIdentifierValue}
- event={props.event}
- mainObjectMetadataItem={props.mainObjectMetadataItem}
- linkedObjectMetadataItem={props.linkedObjectMetadataItem}
- authorFullName={props.authorFullName}
- createdAt={props.createdAt}
- />
- );
+ return isDefined(linkedObjectNameSingular)
+ ? 'genericLinked'
+ : 'mainObject';
}
};
+
+export const EventRowDynamicComponent = ({
+ labelIdentifierValue,
+ event,
+ eventAction,
+ eventRenderer,
+ mainObjectMetadataItem,
+ linkedObjectMetadataItem,
+ authorFullName,
+ createdAt,
+}: EventRowDynamicComponentProps) => {
+ const renderer =
+ eventRenderer ??
+ // Old pods can write name-only rows after the 2.33 backfill has run.
+ (isDefined(event.timelineActivityTypeId)
+ ? isDefined(linkedObjectMetadataItem)
+ ? 'genericLinked'
+ : 'mainObject'
+ : getLegacyTimelineActivityRenderer(
+ linkedObjectMetadataItem?.nameSingular,
+ ));
+
+ const EventRowComponent =
+ TIMELINE_ACTIVITY_ROW_COMPONENT_BY_RENDERER[renderer];
+
+ return (
+ <EventRowComponent
+ labelIdentifierValue={labelIdentifierValue}
+ event={event}
+ eventAction={eventAction}
+ eventRenderer={eventRenderer}
+ mainObjectMetadataItem={mainObjectMetadataItem}
+ linkedObjectMetadataItem={linkedObjectMetadataItem}
+ authorFullName={authorFullName}
+ createdAt={createdAt}
+ />
+ );
+};
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventRowDynamicComponent.types.ts b/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventRowDynamicComponent.types.ts
index a159dc17b2d..aeaade8bbcf 100644
--- a/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventRowDynamicComponent.types.ts
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventRowDynamicComponent.types.ts
@@ -1,9 +1,15 @@
import { type TimelineActivity } from '@/activities/timeline-activities/types/TimelineActivity';
import { type EnrichedObjectMetadataItem } from '@/object-metadata/types/EnrichedObjectMetadataItem';
+import {
+ type TimelineActivityAction,
+ type TimelineActivityRenderer,
+} from 'twenty-shared/timeline';
export type EventRowDynamicComponentProps = {
labelIdentifierValue: string;
event: TimelineActivity;
+ eventAction: TimelineActivityAction | null;
+ eventRenderer: TimelineActivityRenderer | null;
mainObjectMetadataItem: EnrichedObjectMetadataItem;
linkedObjectMetadataItem: EnrichedObjectMetadataItem | null;
authorFullName: string;
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/EventRowMainObject.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/EventRowMainObject.tsx
index fe7f3dd01e2..b7bf4c06e2c 100644
--- a/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/EventRowMainObject.tsx
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/EventRowMainObject.tsx
@@ -33,11 +33,10 @@ export const EventRowMainObject = ({
authorFullName,
labelIdentifierValue,
event,
+ eventAction,
mainObjectMetadataItem,
createdAt,
}: EventRowMainObjectProps) => {
- const [, eventAction] = event.name.split('.');
-
switch (eventAction) {
case 'created': {
return (
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/EventRowMainObjectUpdated.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/EventRowMainObjectUpdated.tsx
index 037387a418c..ab36d0e0464 100644
--- a/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/EventRowMainObjectUpdated.tsx
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/EventRowMainObjectUpdated.tsx
@@ -15,7 +15,7 @@ type EventRowMainObjectUpdatedProps = {
mainObjectMetadataItem: EnrichedObjectMetadataItem;
authorFullName: string;
labelIdentifierValue: string;
- event: TimelineActivity;
+ event: Pick<TimelineActivity, 'id' | 'properties'>;
createdAt?: string;
};
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/__stories__/EventRowMainObjectUpdated.stories.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/__stories__/EventRowMainObjectUpdated.stories.tsx
index 2b6f4d33dd9..48f358da501 100644
--- a/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/__stories__/EventRowMainObjectUpdated.stories.tsx
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/__stories__/EventRowMainObjectUpdated.stories.tsx
@@ -1,5 +1,4 @@
import { EventRowMainObjectUpdated } from '@/activities/timeline-activities/rows/main-object/components/EventRowMainObjectUpdated';
-import { type TimelineActivity } from '@/activities/timeline-activities/types/TimelineActivity';
import { type Meta, type StoryObj } from '@storybook/react-vite';
import { ComponentDecorator, RouterDecorator } from 'twenty-ui/testing';
@@ -15,7 +14,6 @@ const meta: Meta<typeof EventRowMainObjectUpdated> = {
labelIdentifierValue: 'Mock',
event: {
id: '1',
- name: 'mock.updated',
properties: {
diff: {
jobTitle: {
@@ -34,7 +32,7 @@ const meta: Meta<typeof EventRowMainObjectUpdated> = {
},
},
},
- } as TimelineActivity,
+ },
mainObjectMetadataItem: getTestEnrichedObjectMetadataItemsMock().find(
(item) => item.nameSingular === 'person',
),
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/rows/message/components/EventRowMessage.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/rows/message/components/EventRowMessage.tsx
index 0735f3b22a8..3e4362421ee 100644
--- a/packages/twenty-front/src/modules/activities/timeline-activities/rows/message/components/EventRowMessage.tsx
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/rows/message/components/EventRowMessage.tsx
@@ -26,13 +26,13 @@ const StyledRowContainer = styled.div`
export const EventRowMessage = ({
event,
+ eventAction,
authorFullName,
labelIdentifierValue,
}: EventRowMessageProps) => {
- const [, eventAction] = event.name.split('.');
const [isOpen, setIsOpen] = useState(false);
- if (['linked'].includes(eventAction) === false) {
+ if (eventAction !== 'linked') {
throw new Error('Invalid event action for message event type.');
}
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/states/timelineActivityTypeIdsFilterFamilyState.ts b/packages/twenty-front/src/modules/activities/timeline-activities/states/timelineActivityTypeIdsFilterFamilyState.ts
new file mode 100644
index 00000000000..61b198cd362
--- /dev/null
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/states/timelineActivityTypeIdsFilterFamilyState.ts
@@ -0,0 +1,11 @@
+import { createAtomFamilyState } from '@/ui/utilities/state/jotai/utils/createAtomFamilyState';
+
+// Keyed by target record id so each record's timeline keeps its own selection.
+// An empty selection means no filter rather than nothing to show.
+export const timelineActivityTypeIdsFilterFamilyState = createAtomFamilyState<
+ string[],
+ string
+>({
+ key: 'activities/timelineActivityTypeIdsFilterFamilyState',
+ defaultValue: [],
+});
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/types/FilterableTimelineActivity.ts b/packages/twenty-front/src/modules/activities/timeline-activities/types/FilterableTimelineActivity.ts
new file mode 100644
index 00000000000..4fed1d28d29
--- /dev/null
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/types/FilterableTimelineActivity.ts
@@ -0,0 +1,12 @@
+import { type TimelineActivity } from '@/activities/timeline-activities/types/TimelineActivity';
+
+// The read-time filters and the action lookup touch these fields only, so they
+// take this rather than a whole activity and force casts on every fixture. Both
+// nullable fields are optional because every reader guards them with isDefined.
+export type FilterableTimelineActivity = Pick<TimelineActivity, 'properties'> &
+ Partial<
+ Pick<
+ TimelineActivity,
+ 'linkedObjectMetadataId' | 'name' | 'timelineActivityTypeId'
+ >
+ >;
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/types/TimelineActivity.ts b/packages/twenty-front/src/modules/activities/timeline-activities/types/TimelineActivity.ts
index 96cc1bc0ce6..fcefae2ca81 100644
--- a/packages/twenty-front/src/modules/activities/timeline-activities/types/TimelineActivity.ts
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/types/TimelineActivity.ts
@@ -9,7 +9,8 @@ export type TimelineActivity = {
workspaceMemberId: string;
workspaceMember: WorkspaceMember;
properties: any;
- name: string;
+ name: string | null;
+ timelineActivityTypeId: string | null;
linkedRecordCachedName: string;
linkedRecordId: string | null;
linkedObjectMetadataId: string | null;
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/types/TimelineActivityLinkedObject.ts b/packages/twenty-front/src/modules/activities/timeline-activities/types/TimelineActivityLinkedObject.ts
deleted file mode 100644
index 9fd28f828f4..00000000000
--- a/packages/twenty-front/src/modules/activities/timeline-activities/types/TimelineActivityLinkedObject.ts
+++ /dev/null
@@ -1 +0,0 @@
-export type TimelineActivityLinkedObject = 'note' | 'task';
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/types/TimelineActivityType.ts b/packages/twenty-front/src/modules/activities/timeline-activities/types/TimelineActivityType.ts
new file mode 100644
index 00000000000..e9ff4b8681d
--- /dev/null
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/types/TimelineActivityType.ts
@@ -0,0 +1,14 @@
+import {
+ type TimelineActivityAction,
+ type TimelineActivityRenderer,
+} from 'twenty-shared/timeline';
+
+export type TimelineActivityType = {
+ id: string;
+ name: string;
+ label: string;
+ action: TimelineActivityAction | null;
+ icon: string | null;
+ renderer: TimelineActivityRenderer | null;
+ objectUniversalIdentifier: string | null;
+};
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/utils/__tests__/filterOutInvalidTimelineActivities.test.ts b/packages/twenty-front/src/modules/activities/timeline-activities/utils/__tests__/filterOutInvalidTimelineActivities.test.ts
index 48a7249a07e..8ea4309cbe3 100644
--- a/packages/twenty-front/src/modules/activities/timeline-activities/utils/__tests__/filterOutInvalidTimelineActivities.test.ts
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/utils/__tests__/filterOutInvalidTimelineActivities.test.ts
@@ -1,4 +1,5 @@
-import { type TimelineActivity } from '@/activities/timeline-activities/types/TimelineActivity';
+import { type FilterableTimelineActivity } from '@/activities/timeline-activities/types/FilterableTimelineActivity';
+import { type TimelineActivityType } from '@/activities/timeline-activities/types/TimelineActivityType';
import { filterOutInvalidTimelineActivities } from '@/activities/timeline-activities/utils/filterOutInvalidTimelineActivities';
import { type EnrichedObjectMetadataItem } from '@/object-metadata/types/EnrichedObjectMetadataItem';
@@ -12,9 +13,11 @@ const mainObjectMetadataItem = {
const NOTE_OBJECT_METADATA_ID = '20202020-0000-4000-8000-00000000note';
const TASK_OBJECT_METADATA_ID = '20202020-0000-4000-8000-00000000task';
+const NOTE_OBJECT_UNIVERSAL_IDENTIFIER = '20202020-0000-4000-8000-000000000010';
const noteObjectMetadataItem = {
id: NOTE_OBJECT_METADATA_ID,
+ universalIdentifier: NOTE_OBJECT_UNIVERSAL_IDENTIFIER,
nameSingular: 'note',
namePlural: 'notes',
readableFields: [{ name: 'title' }, { name: 'body' }],
@@ -27,19 +30,63 @@ const taskObjectMetadataItem = {
readableFields: [{ name: 'title' }, { name: 'body' }],
} as EnrichedObjectMetadataItem;
-const filter = (events: TimelineActivity[]) =>
- filterOutInvalidTimelineActivities(events, 'company', [
- mainObjectMetadataItem,
- noteObjectMetadataItem,
- taskObjectMetadataItem,
- ]);
+const UPDATED_TYPE_ID = '20202020-0000-4000-8000-0000000update';
+const LINKED_TYPE_ID = '20202020-0000-4000-8000-0000000linked';
+const NOTE_UPDATED_TYPE_ID = '20202020-0000-4000-8000-000000000011';
+
+const timelineActivityTypeById = new Map<string, TimelineActivityType>([
+ [
+ UPDATED_TYPE_ID,
+ {
+ id: UPDATED_TYPE_ID,
+ name: 'recordUpdated',
+ label: 'updated',
+ action: 'updated',
+ icon: null,
+ renderer: null,
+ objectUniversalIdentifier: null,
+ },
+ ],
+ [
+ LINKED_TYPE_ID,
+ {
+ id: LINKED_TYPE_ID,
+ name: 'recordLinked',
+ label: 'was linked by',
+ action: 'linked',
+ icon: null,
+ renderer: null,
+ objectUniversalIdentifier: null,
+ },
+ ],
+ [
+ NOTE_UPDATED_TYPE_ID,
+ {
+ id: NOTE_UPDATED_TYPE_ID,
+ name: 'noteUpdated',
+ label: 'updated a related note',
+ action: 'updated',
+ icon: null,
+ renderer: 'activity',
+ objectUniversalIdentifier: NOTE_OBJECT_UNIVERSAL_IDENTIFIER,
+ },
+ ],
+]);
+
+const filter = (events: FilterableTimelineActivity[]) =>
+ filterOutInvalidTimelineActivities(
+ events,
+ 'company',
+ [mainObjectMetadataItem, noteObjectMetadataItem, taskObjectMetadataItem],
+ timelineActivityTypeById,
+ );
describe('filterOutInvalidTimelineActivities', () => {
it('keeps update diffs as-is and trims fields not in the readable fields', () => {
const events = [
{
id: '1',
- name: 'company.updated',
+ timelineActivityTypeId: UPDATED_TYPE_ID,
properties: {
diff: {
field1: { before: 'value1', after: 'value2' },
@@ -49,7 +96,7 @@ describe('filterOutInvalidTimelineActivities', () => {
},
{
id: '2',
- name: 'company.updated',
+ timelineActivityTypeId: UPDATED_TYPE_ID,
properties: {
diff: {
field1: { before: 'value7', after: 'value8' },
@@ -57,12 +104,12 @@ describe('filterOutInvalidTimelineActivities', () => {
},
},
},
- ] as TimelineActivity[];
+ ];
expect(filter(events)).toEqual([
{
id: '1',
- name: 'company.updated',
+ timelineActivityTypeId: UPDATED_TYPE_ID,
properties: {
diff: {
field1: { before: 'value1', after: 'value2' },
@@ -72,7 +119,7 @@ describe('filterOutInvalidTimelineActivities', () => {
},
{
id: '2',
- name: 'company.updated',
+ timelineActivityTypeId: UPDATED_TYPE_ID,
properties: {
diff: { field1: { before: 'value7', after: 'value8' } },
},
@@ -84,29 +131,29 @@ describe('filterOutInvalidTimelineActivities', () => {
const events = [
{
id: '1',
- name: 'company.updated',
+ timelineActivityTypeId: UPDATED_TYPE_ID,
properties: {
diff: { field4: { before: 'value11', after: 'value12' } },
},
},
- ] as TimelineActivity[];
+ ];
expect(filter(events)).toEqual([]);
});
it('drops update events that have no diff', () => {
const events = [
- { id: '1', name: 'company.updated', properties: {} },
- ] as TimelineActivity[];
+ { id: '1', timelineActivityTypeId: UPDATED_TYPE_ID, properties: {} },
+ ];
expect(filter(events)).toEqual([]);
});
it('keeps non-update events that have no diff', () => {
const events = [
- { id: '1', name: 'company.created', properties: {} },
- { id: '2', name: 'company.deleted', properties: {} },
- ] as TimelineActivity[];
+ { id: '1', timelineActivityTypeId: LINKED_TYPE_ID, properties: {} },
+ { id: '2', timelineActivityTypeId: LINKED_TYPE_ID, properties: {} },
+ ];
expect(filter(events)).toEqual(events);
});
@@ -115,17 +162,17 @@ describe('filterOutInvalidTimelineActivities', () => {
const events = [
{
id: '1',
- name: 'linked-task.updated',
+ timelineActivityTypeId: UPDATED_TYPE_ID,
linkedObjectMetadataId: TASK_OBJECT_METADATA_ID,
properties: {},
},
{
id: '2',
- name: 'linked-note.updated',
+ timelineActivityTypeId: UPDATED_TYPE_ID,
linkedObjectMetadataId: NOTE_OBJECT_METADATA_ID,
properties: {},
},
- ] as TimelineActivity[];
+ ];
expect(filter(events)).toEqual(events);
});
@@ -134,7 +181,7 @@ describe('filterOutInvalidTimelineActivities', () => {
const events = [
{
id: '1',
- name: 'linked-note.updated',
+ timelineActivityTypeId: UPDATED_TYPE_ID,
linkedObjectMetadataId: NOTE_OBJECT_METADATA_ID,
properties: {
diff: {
@@ -143,35 +190,49 @@ describe('filterOutInvalidTimelineActivities', () => {
},
},
},
- ] as TimelineActivity[];
+ ];
expect(filter(events)).toEqual([
{
id: '1',
- name: 'linked-note.updated',
+ timelineActivityTypeId: UPDATED_TYPE_ID,
linkedObjectMetadataId: NOTE_OBJECT_METADATA_ID,
properties: { diff: { title: { before: 'a', after: 'b' } } },
},
]);
});
- it('drops linked note updates whose diff has no readable note fields', () => {
+ it('resolves the linked object from the type for a historical row', () => {
const events = [
{
id: '1',
- name: 'linked-note.updated',
- linkedObjectMetadataId: NOTE_OBJECT_METADATA_ID,
- properties: { diff: { field1: { before: 'c', after: 'd' } } },
+ timelineActivityTypeId: NOTE_UPDATED_TYPE_ID,
+ linkedObjectMetadataId: null,
+ properties: {
+ diff: {
+ title: { before: 'a', after: 'b' },
+ field1: { before: 'c', after: 'd' },
+ },
+ },
},
- ] as TimelineActivity[];
+ ];
- expect(filter(events)).toEqual([]);
+ expect(filter(events)).toEqual([
+ {
+ id: '1',
+ timelineActivityTypeId: NOTE_UPDATED_TYPE_ID,
+ linkedObjectMetadataId: null,
+ properties: { diff: { title: { before: 'a', after: 'b' } } },
+ },
+ ]);
});
- it('resolves the linked object from the name for legacy rows without linkedObjectMetadataId', () => {
+ it('resolves the linked object from name for a row written by an old pod', () => {
const events = [
{
id: '1',
+ timelineActivityTypeId: null,
+ linkedObjectMetadataId: null,
name: 'linked-note.updated',
properties: {
diff: {
@@ -180,14 +241,29 @@ describe('filterOutInvalidTimelineActivities', () => {
},
},
},
- ] as TimelineActivity[];
+ ];
expect(filter(events)).toEqual([
{
id: '1',
+ timelineActivityTypeId: null,
+ linkedObjectMetadataId: null,
name: 'linked-note.updated',
properties: { diff: { title: { before: 'a', after: 'b' } } },
},
]);
});
+
+ it('drops linked note updates whose diff has no readable note fields', () => {
+ const events = [
+ {
+ id: '1',
+ timelineActivityTypeId: UPDATED_TYPE_ID,
+ linkedObjectMetadataId: NOTE_OBJECT_METADATA_ID,
+ properties: { diff: { field1: { before: 'c', after: 'd' } } },
+ },
+ ];
+
+ expect(filter(events)).toEqual([]);
+ });
});
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/utils/__tests__/getTimelineActivityAction.test.ts b/packages/twenty-front/src/modules/activities/timeline-activities/utils/__tests__/getTimelineActivityAction.test.ts
new file mode 100644
index 00000000000..6c1aea3ea8a
--- /dev/null
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/utils/__tests__/getTimelineActivityAction.test.ts
@@ -0,0 +1,56 @@
+import { type TimelineActivityType } from '@/activities/timeline-activities/types/TimelineActivityType';
+import { getTimelineActivityAction } from '@/activities/timeline-activities/utils/getTimelineActivityAction';
+
+const UPDATED_TYPE_ID = '20202020-0000-4000-8000-000000000001';
+
+const timelineActivityTypeById = new Map<string, TimelineActivityType>([
+ [
+ UPDATED_TYPE_ID,
+ {
+ id: UPDATED_TYPE_ID,
+ name: 'recordUpdated',
+ label: 'updated',
+ action: 'updated',
+ icon: null,
+ renderer: null,
+ objectUniversalIdentifier: null,
+ },
+ ],
+]);
+
+describe('getTimelineActivityAction', () => {
+ it('reads the action from the activity type', () => {
+ expect(
+ getTimelineActivityAction(
+ {
+ timelineActivityTypeId: UPDATED_TYPE_ID,
+ name: 'company.created',
+ properties: {},
+ },
+ timelineActivityTypeById,
+ ),
+ ).toBe('updated');
+ });
+
+ it('falls back to the deprecated name for a row written by an old pod', () => {
+ expect(
+ getTimelineActivityAction(
+ {
+ timelineActivityTypeId: null,
+ name: 'company.created',
+ properties: {},
+ },
+ timelineActivityTypeById,
+ ),
+ ).toBe('created');
+ });
+
+ it('returns null when neither representation resolves', () => {
+ expect(
+ getTimelineActivityAction(
+ { timelineActivityTypeId: null, name: null, properties: {} },
+ timelineActivityTypeById,
+ ),
+ ).toBeNull();
+ });
+});
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/utils/__tests__/keepTimelineActivitiesOfSelectedTypes.test.ts b/packages/twenty-front/src/modules/activities/timeline-activities/utils/__tests__/keepTimelineActivitiesOfSelectedTypes.test.ts
new file mode 100644
index 00000000000..a4b2715c4d7
--- /dev/null
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/utils/__tests__/keepTimelineActivitiesOfSelectedTypes.test.ts
@@ -0,0 +1,54 @@
+import { type FilterableTimelineActivity } from '@/activities/timeline-activities/types/FilterableTimelineActivity';
+import { keepTimelineActivitiesOfSelectedTypes } from '@/activities/timeline-activities/utils/keepTimelineActivitiesOfSelectedTypes';
+
+const UPDATED_TYPE_ID = '20202020-0000-4000-8000-0000000update';
+const LINKED_TYPE_ID = '20202020-0000-4000-8000-0000000linked';
+
+const updatedActivity = {
+ timelineActivityTypeId: UPDATED_TYPE_ID,
+ properties: {},
+} satisfies FilterableTimelineActivity;
+
+const linkedActivity = {
+ timelineActivityTypeId: LINKED_TYPE_ID,
+ properties: {},
+} satisfies FilterableTimelineActivity;
+
+const untypedActivity = { properties: {} } satisfies FilterableTimelineActivity;
+
+describe('keepTimelineActivitiesOfSelectedTypes', () => {
+ it('keeps everything when nothing is selected', () => {
+ const activities = [updatedActivity, linkedActivity, untypedActivity];
+
+ expect(keepTimelineActivitiesOfSelectedTypes(activities, [])).toEqual(
+ activities,
+ );
+ });
+
+ it('keeps only the activities carrying a selected type', () => {
+ expect(
+ keepTimelineActivitiesOfSelectedTypes(
+ [updatedActivity, linkedActivity, untypedActivity],
+ [LINKED_TYPE_ID],
+ ),
+ ).toEqual([linkedActivity]);
+ });
+
+ it('keeps activities across several selected types', () => {
+ expect(
+ keepTimelineActivitiesOfSelectedTypes(
+ [updatedActivity, linkedActivity, untypedActivity],
+ [LINKED_TYPE_ID, UPDATED_TYPE_ID],
+ ),
+ ).toEqual([updatedActivity, linkedActivity]);
+ });
+
+ it('drops activities with no type when a selection is active', () => {
+ expect(
+ keepTimelineActivitiesOfSelectedTypes(
+ [untypedActivity],
+ [UPDATED_TYPE_ID],
+ ),
+ ).toEqual([]);
+ });
+});
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/utils/filterOutInvalidTimelineActivities.ts b/packages/twenty-front/src/modules/activities/timeline-activities/utils/filterOutInvalidTimelineActivities.ts
index 1ab01231bf7..567a46389f7 100644
--- a/packages/twenty-front/src/modules/activities/timeline-activities/utils/filterOutInvalidTimelineActivities.ts
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/utils/filterOutInvalidTimelineActivities.ts
@@ -1,14 +1,18 @@
-import { type TimelineActivity } from '@/activities/timeline-activities/types/TimelineActivity';
+import { type FilterableTimelineActivity } from '@/activities/timeline-activities/types/FilterableTimelineActivity';
+import { type TimelineActivityType } from '@/activities/timeline-activities/types/TimelineActivityType';
import { findFieldMetadataItemByDiffKey } from '@/activities/timeline-activities/utils/findFieldMetadataItemByDiffKey';
+import { getTimelineActivityAction } from '@/activities/timeline-activities/utils/getTimelineActivityAction';
+import { getTimelineActivityLinkedObjectMetadataItem } from '@/activities/timeline-activities/utils/getTimelineActivityLinkedObjectMetadataItem';
import { type EnrichedObjectMetadataItem } from '@/object-metadata/types/EnrichedObjectMetadataItem';
import { type FieldMetadataItem } from '@/object-metadata/types/FieldMetadataItem';
-import { parseTimelineActivityAction } from 'twenty-shared/timeline';
import { isDefined } from 'twenty-shared/utils';
-const keepActivityWithReadableDiff = (
- timelineActivity: TimelineActivity,
+const keepActivityWithReadableDiff = <
+ TTimelineActivity extends FilterableTimelineActivity,
+>(
+ timelineActivity: TTimelineActivity,
readableFields: FieldMetadataItem[],
-): TimelineActivity | undefined => {
+): TTimelineActivity | undefined => {
const validDiffEntries = Object.entries(
timelineActivity.properties?.diff ?? {},
).filter(([diffKey]) =>
@@ -28,31 +32,14 @@ const keepActivityWithReadableDiff = (
};
};
-// Activities created before the linkedObjectMetadataId column was populated
-// encode the linked object in their name, e.g. "linked-note.updated".
-const findLegacyObjectMetadataItemFromName = (
- timelineActivity: TimelineActivity,
- objectMetadataItems: EnrichedObjectMetadataItem[],
-): EnrichedObjectMetadataItem | undefined => {
- if (!timelineActivity.name.startsWith('linked-')) {
- return undefined;
- }
-
- const linkedObjectNameSingular = timelineActivity.name
- .split('.')[0]
- .replace('linked-', '');
-
- return objectMetadataItems.find(
- (objectMetadataItem) =>
- objectMetadataItem.nameSingular === linkedObjectNameSingular,
- );
-};
-
-export const filterOutInvalidTimelineActivities = (
- timelineActivities: TimelineActivity[],
+export const filterOutInvalidTimelineActivities = <
+ TTimelineActivity extends FilterableTimelineActivity,
+>(
+ timelineActivities: TTimelineActivity[],
mainObjectSingularName: string,
objectMetadataItems: EnrichedObjectMetadataItem[],
-): TimelineActivity[] => {
+ timelineActivityTypeById: Map<string, TimelineActivityType>,
+): TTimelineActivity[] => {
const mainObjectMetadataItem = objectMetadataItems.find(
(objectMetadataItem) =>
objectMetadataItem.nameSingular === mainObjectSingularName,
@@ -64,19 +51,17 @@ export const filterOutInvalidTimelineActivities = (
return timelineActivities
.map((timelineActivity) => {
- const linkedObjectMetadataItem = isDefined(
- timelineActivity.linkedObjectMetadataId,
- )
- ? objectMetadataItems.find(
- (objectMetadataItem) =>
- objectMetadataItem.id === timelineActivity.linkedObjectMetadataId,
- )
- : findLegacyObjectMetadataItemFromName(
- timelineActivity,
- objectMetadataItems,
- );
+ const linkedObjectMetadataItem =
+ getTimelineActivityLinkedObjectMetadataItem({
+ timelineActivity,
+ timelineActivityTypeById,
+ objectMetadataItems,
+ });
- const action = parseTimelineActivityAction(timelineActivity.name);
+ const action = getTimelineActivityAction(
+ timelineActivity,
+ timelineActivityTypeById,
+ );
if (isDefined(linkedObjectMetadataItem)) {
if (!isDefined(timelineActivity.properties?.diff)) {
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/utils/filterTimelineActivityByLinkedObjectTypes.ts b/packages/twenty-front/src/modules/activities/timeline-activities/utils/filterTimelineActivityByLinkedObjectTypes.ts
deleted file mode 100644
index 897ff1eec3d..00000000000
--- a/packages/twenty-front/src/modules/activities/timeline-activities/utils/filterTimelineActivityByLinkedObjectTypes.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import { type TimelineActivity } from '@/activities/timeline-activities/types/TimelineActivity';
-import { type TimelineActivityLinkedObject } from '@/activities/timeline-activities/types/TimelineActivityLinkedObject';
-
-export const filterTimelineActivityByLinkedObjectTypes =
- (linkedObjectTypes: TimelineActivityLinkedObject[]) =>
- (timelineActivity: TimelineActivity) => {
- return linkedObjectTypes.some((linkedObjectType) => {
- const linkedObjectPartInName = timelineActivity.name.split('.')[0];
-
- return linkedObjectPartInName.includes(linkedObjectType);
- });
- };
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/utils/getTimelineActivityAction.ts b/packages/twenty-front/src/modules/activities/timeline-activities/utils/getTimelineActivityAction.ts
new file mode 100644
index 00000000000..13bcd6a991b
--- /dev/null
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/utils/getTimelineActivityAction.ts
@@ -0,0 +1,26 @@
+import { type FilterableTimelineActivity } from '@/activities/timeline-activities/types/FilterableTimelineActivity';
+import { type TimelineActivityType } from '@/activities/timeline-activities/types/TimelineActivityType';
+import { getTimelineActivityType } from '@/activities/timeline-activities/utils/getTimelineActivityType';
+import {
+ parseTimelineActivityAction,
+ type TimelineActivityAction,
+} from 'twenty-shared/timeline';
+import { isDefined } from 'twenty-shared/utils';
+
+export const getTimelineActivityAction = (
+ timelineActivity: FilterableTimelineActivity,
+ timelineActivityTypeById: Map<string, TimelineActivityType>,
+): TimelineActivityAction | null => {
+ const timelineActivityType = getTimelineActivityType(
+ timelineActivity,
+ timelineActivityTypeById,
+ );
+
+ if (isDefined(timelineActivityType)) {
+ return timelineActivityType.action;
+ }
+
+ return isDefined(timelineActivity.name)
+ ? parseTimelineActivityAction(timelineActivity.name)
+ : null;
+};
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/utils/getTimelineActivityLinkedObjectMetadataItem.ts b/packages/twenty-front/src/modules/activities/timeline-activities/utils/getTimelineActivityLinkedObjectMetadataItem.ts
new file mode 100644
index 00000000000..a87ac773999
--- /dev/null
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/utils/getTimelineActivityLinkedObjectMetadataItem.ts
@@ -0,0 +1,48 @@
+import { type FilterableTimelineActivity } from '@/activities/timeline-activities/types/FilterableTimelineActivity';
+import { type TimelineActivityType } from '@/activities/timeline-activities/types/TimelineActivityType';
+import { getTimelineActivityType } from '@/activities/timeline-activities/utils/getTimelineActivityType';
+import { type EnrichedObjectMetadataItem } from '@/object-metadata/types/EnrichedObjectMetadataItem';
+import { isDefined } from 'twenty-shared/utils';
+
+export const getTimelineActivityLinkedObjectMetadataItem = ({
+ timelineActivity,
+ timelineActivityTypeById,
+ objectMetadataItems,
+}: {
+ timelineActivity: FilterableTimelineActivity;
+ timelineActivityTypeById: Map<string, TimelineActivityType>;
+ objectMetadataItems: EnrichedObjectMetadataItem[];
+}): EnrichedObjectMetadataItem | undefined => {
+ if (isDefined(timelineActivity.linkedObjectMetadataId)) {
+ return objectMetadataItems.find(
+ (objectMetadataItem) =>
+ objectMetadataItem.id === timelineActivity.linkedObjectMetadataId,
+ );
+ }
+
+ const timelineActivityType = getTimelineActivityType(
+ timelineActivity,
+ timelineActivityTypeById,
+ );
+
+ if (isDefined(timelineActivityType?.objectUniversalIdentifier)) {
+ return objectMetadataItems.find(
+ (objectMetadataItem) =>
+ objectMetadataItem.universalIdentifier ===
+ timelineActivityType.objectUniversalIdentifier,
+ );
+ }
+
+ const legacyObjectName = timelineActivity.name?.startsWith('linked-')
+ ? timelineActivity.name.split('.')[0].replace('linked-', '')
+ : timelineActivity.name?.endsWith('.linked')
+ ? timelineActivity.name.split('.')[0]
+ : undefined;
+
+ return isDefined(legacyObjectName)
+ ? objectMetadataItems.find(
+ (objectMetadataItem) =>
+ objectMetadataItem.nameSingular === legacyObjectName,
+ )
+ : undefined;
+};
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/utils/getTimelineActivityType.ts b/packages/twenty-front/src/modules/activities/timeline-activities/utils/getTimelineActivityType.ts
new file mode 100644
index 00000000000..bcc754c1793
--- /dev/null
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/utils/getTimelineActivityType.ts
@@ -0,0 +1,13 @@
+import { type FilterableTimelineActivity } from '@/activities/timeline-activities/types/FilterableTimelineActivity';
+import { type TimelineActivityType } from '@/activities/timeline-activities/types/TimelineActivityType';
+import { isDefined } from 'twenty-shared/utils';
+
+// Undefined while the types are still loading, and for a row whose type an
+// application has since removed.
+export const getTimelineActivityType = (
+ timelineActivity: FilterableTimelineActivity,
+ timelineActivityTypeById: Map<string, TimelineActivityType>,
+): TimelineActivityType | undefined =>
+ isDefined(timelineActivity.timelineActivityTypeId)
+ ? timelineActivityTypeById.get(timelineActivity.timelineActivityTypeId)
+ : undefined;
diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/utils/keepTimelineActivitiesOfSelectedTypes.ts b/packages/twenty-front/src/modules/activities/timeline-activities/utils/keepTimelineActivitiesOfSelectedTypes.ts
new file mode 100644
index 00000000000..e501a63bc16
--- /dev/null
+++ b/packages/twenty-front/src/modules/activities/timeline-activities/utils/keepTimelineActivitiesOfSelectedTypes.ts
@@ -0,0 +1,20 @@
+import { type FilterableTimelineActivity } from '@/activities/timeline-activities/types/FilterableTimelineActivity';
+import { isDefined } from 'twenty-shared/utils';
+
+// No selection means no filter, so an untouched timeline shows everything
+// rather than nothing.
+export const keepTimelineActivitiesOfSelectedTypes = <
+ TTimelineActivity extends FilterableTimelineActivity,
+>(
+ timelineActivities: TTimelineActivity[],
+ selectedTimelineActivityTypeIds: string[],
+): TTimelineActivity[] =>
+ selectedTimelineActivityTypeIds.length === 0
+ ? timelineActivities
+ : timelineActivities.filter(
+ (timelineActivity) =>
+ isDefined(timelineActivity.timelineActivityTypeId) &&
+ selectedTimelineActivityTypeIds.includes(
+ timelineActivity.timelineActivityTypeId,
+ ),
+ );
diff --git a/packages/twenty-front/src/modules/metadata-error-handler/hooks/useMetadataErrorHandler.ts b/packages/twenty-front/src/modules/metadata-error-handler/hooks/useMetadataErrorHandler.ts
index 3164106801d..b88402e3a16 100644
--- a/packages/twenty-front/src/modules/metadata-error-handler/hooks/useMetadataErrorHandler.ts
+++ b/packages/twenty-front/src/modules/metadata-error-handler/hooks/useMetadataErrorHandler.ts
@@ -52,6 +52,7 @@ export const useMetadataErrorHandler = () => {
applicationVariable: t`application variable`,
connectionProvider: t`connection provider`,
searchFieldMetadata: t`search field metadata`,
+ timelineActivityType: t`timeline activity type`,
} as const satisfies Record<AllMetadataName, string>;
const handleMetadataError = (
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/constants/WidgetHeaderActionComponentByWidgetType.ts b/packages/twenty-front/src/modules/page-layout/widgets/constants/WidgetHeaderActionComponentByWidgetType.ts
index adca4b3ac63..f3238b93045 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/constants/WidgetHeaderActionComponentByWidgetType.ts
+++ b/packages/twenty-front/src/modules/page-layout/widgets/constants/WidgetHeaderActionComponentByWidgetType.ts
@@ -4,6 +4,7 @@ import { WidgetActionEmailCompose } from '@/page-layout/widgets/emails/component
import { WidgetActionFileAttach } from '@/page-layout/widgets/files/components/WidgetActionFileAttach';
import { WidgetActionNoteCreate } from '@/page-layout/widgets/notes/components/WidgetActionNoteCreate';
import { WidgetActionTaskCreate } from '@/page-layout/widgets/tasks/components/WidgetActionTaskCreate';
+import { WidgetActionTimeline } from '@/page-layout/widgets/timeline/components/WidgetActionTimeline';
import { type ComponentType } from 'react';
import { WidgetType } from '~/generated-metadata/graphql';
@@ -19,4 +20,5 @@ export const WIDGET_HEADER_ACTION_COMPONENT_BY_WIDGET_TYPE: Partial<
[WidgetType.TASKS]: WidgetActionTaskCreate,
[WidgetType.NOTES]: WidgetActionNoteCreate,
[WidgetType.FILES]: WidgetActionFileAttach,
+ [WidgetType.TIMELINE]: WidgetActionTimeline,
};
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/timeline/components/WidgetActionTimeline.tsx b/packages/twenty-front/src/modules/page-layout/widgets/timeline/components/WidgetActionTimeline.tsx
new file mode 100644
index 00000000000..ee61362d0a9
--- /dev/null
+++ b/packages/twenty-front/src/modules/page-layout/widgets/timeline/components/WidgetActionTimeline.tsx
@@ -0,0 +1,3 @@
+import { WidgetActionTimelineFilter } from '@/page-layout/widgets/timeline/components/WidgetActionTimelineFilter';
+
+export const WidgetActionTimeline = () => <WidgetActionTimelineFilter />;
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/timeline/components/WidgetActionTimelineFilter.tsx b/packages/twenty-front/src/modules/page-layout/widgets/timeline/components/WidgetActionTimelineFilter.tsx
new file mode 100644
index 00000000000..a736084ce6d
--- /dev/null
+++ b/packages/twenty-front/src/modules/page-layout/widgets/timeline/components/WidgetActionTimelineFilter.tsx
@@ -0,0 +1,101 @@
+import { useTimelineActivityTypes } from '@/activities/timeline-activities/hooks/useTimelineActivityTypes';
+import { timelineActivityTypeIdsFilterFamilyState } from '@/activities/timeline-activities/states/timelineActivityTypeIdsFilterFamilyState';
+import { WidgetCardHeaderActionButton } from '@/page-layout/widgets/widget-card/components/WidgetCardHeaderActionButton';
+import { useTargetRecord } from '@/ui/layout/contexts/useTargetRecord';
+import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';
+import { DropdownContent } from '@/ui/layout/dropdown/components/DropdownContent';
+import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/DropdownMenuItemsContainer';
+import { DropdownMenuSeparator } from '@/ui/layout/dropdown/components/DropdownMenuSeparator';
+import { GenericDropdownContentWidth } from '@/ui/layout/dropdown/constants/GenericDropdownContentWidth';
+import { useAtomFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomFamilyStateValue';
+import { useSetAtomFamilyState } from '@/ui/utilities/state/jotai/hooks/useSetAtomFamilyState';
+import { useLingui } from '@lingui/react/macro';
+import { isDefined } from 'twenty-shared/utils';
+import { IconFilter, IconFilterOff, useIcons } from 'twenty-ui/icon';
+import { MenuItem, MenuItemMultiSelect } from 'twenty-ui/navigation';
+
+export const WidgetActionTimelineFilter = () => {
+ const { t } = useLingui();
+ const targetRecord = useTargetRecord();
+ const { getIcon } = useIcons();
+ const { timelineActivityTypeById } = useTimelineActivityTypes();
+
+ const timelineActivityTypeIdsFilter = useAtomFamilyStateValue(
+ timelineActivityTypeIdsFilterFamilyState,
+ targetRecord.id,
+ );
+ const setTimelineActivityTypeIdsFilter = useSetAtomFamilyState(
+ timelineActivityTypeIdsFilterFamilyState,
+ targetRecord.id,
+ );
+
+ // Action-less types rely on a custom renderer and do not map to the built-in
+ // event categories exposed by this filter.
+ const filterableTimelineActivityTypes = [
+ ...timelineActivityTypeById.values(),
+ ].filter((timelineActivityType) => isDefined(timelineActivityType.action));
+
+ if (filterableTimelineActivityTypes.length === 0) {
+ return null;
+ }
+
+ const handleSelectChange = (
+ timelineActivityTypeId: string,
+ selected: boolean,
+ ) =>
+ setTimelineActivityTypeIdsFilter(
+ selected
+ ? [...timelineActivityTypeIdsFilter, timelineActivityTypeId]
+ : timelineActivityTypeIdsFilter.filter(
+ (selectedId) => selectedId !== timelineActivityTypeId,
+ ),
+ );
+
+ return (
+ <Dropdown
+ dropdownId={`timeline-filter-${targetRecord.id}`}
+ clickableComponent={
+ <WidgetCardHeaderActionButton
+ Icon={IconFilter}
+ label={t`Filter timeline`}
+ />
+ }
+ dropdownPlacement="bottom-end"
+ dropdownComponents={
+ <DropdownContent widthInPixels={GenericDropdownContentWidth.Narrow}>
+ <DropdownMenuItemsContainer hasMaxHeight>
+ {filterableTimelineActivityTypes.map((timelineActivityType) => (
+ <MenuItemMultiSelect
+ key={timelineActivityType.id}
+ LeftIcon={
+ isDefined(timelineActivityType.icon)
+ ? getIcon(timelineActivityType.icon)
+ : undefined
+ }
+ text={timelineActivityType.label}
+ selected={timelineActivityTypeIdsFilter.includes(
+ timelineActivityType.id,
+ )}
+ onSelectChange={(selected) =>
+ handleSelectChange(timelineActivityType.id, selected)
+ }
+ />
+ ))}
+ </DropdownMenuItemsContainer>
+ {timelineActivityTypeIdsFilter.length > 0 && (
+ <>
+ <DropdownMenuSeparator />
+ <DropdownMenuItemsContainer scrollable={false}>
+ <MenuItem
+ LeftIcon={IconFilterOff}
+ text={t`Clear filter`}
+ onClick={() => setTimelineActivityTypeIdsFilter([])}
+ />
+ </DropdownMenuItemsContainer>
+ </>
+ )}
+ </DropdownContent>
+ }
+ />
+ );
+};
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardHeaderActionButton.tsx b/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardHeaderActionButton.tsx
index 085400ee157..4b265dcb8c4 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardHeaderActionButton.tsx
+++ b/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardHeaderActionButton.tsx
@@ -4,7 +4,9 @@ import { LightIconButton } from 'twenty-ui/input';
type WidgetCardHeaderActionButtonProps = {
Icon: IconComponent;
label: string;
- onClick: () => void;
+ // Optional so the button can act as a dropdown trigger, where the dropdown
+ // owns the click handling.
+ onClick?: () => void;
disabled?: boolean;
};
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-33/2-33-instance-command-fast-1787352088649-add-timeline-activity-type-table.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-33/2-33-instance-command-fast-1787352088649-add-timeline-activity-type-table.ts
new file mode 100644
index 00000000000..6d898928a6c
--- /dev/null
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-33/2-33-instance-command-fast-1787352088649-add-timeline-activity-type-table.ts
@@ -0,0 +1,23 @@
+import { QueryRunner } from 'typeorm';
+
+import { RegisteredInstanceCommand } from 'src/engine/core-modules/upgrade/decorators/registered-instance-command.decorator';
+import { FastInstanceCommand } from 'src/engine/core-modules/upgrade/interfaces/fast-instance-command.interface';
+
+@RegisteredInstanceCommand('2.33.0', 1787352088649)
+export class AddTimelineActivityTypeTableFastInstanceCommand
+ implements FastInstanceCommand
+{
+ public async up(queryRunner: QueryRunner): Promise<void> {
+ await queryRunner.query('CREATE TABLE "core"."timelineActivityType" ("workspaceId" uuid NOT NULL, "universalIdentifier" uuid NOT NULL, "applicationId" uuid NOT NULL, "id" uuid NOT NULL DEFAULT uuid_generate_v4(), "name" character varying NOT NULL, "label" character varying NOT NULL, "action" character varying, "icon" character varying, "renderer" character varying, "objectUniversalIdentifier" uuid, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), CONSTRAINT "IDX_TIMELINE_ACTIVITY_TYPE_NAME_APPLICATION_WORKSPACE_UNIQUE" UNIQUE ("name", "applicationId", "workspaceId"), CONSTRAINT "PK_65c4ac97169ca5241f0f17b5a44" PRIMARY KEY ("id"))');
+ await queryRunner.query('CREATE UNIQUE INDEX "IDX_2cabff7ba187115afcdd1cf6ba" ON "core"."timelineActivityType" ("workspaceId", "universalIdentifier") ');
+ await queryRunner.query('ALTER TABLE "core"."timelineActivityType" ADD CONSTRAINT "FK_9dff241d7d796da9f63a8ae4bc6" FOREIGN KEY ("workspaceId") REFERENCES "core"."workspace"("id") ON DELETE CASCADE ON UPDATE NO ACTION');
+ await queryRunner.query('ALTER TABLE "core"."timelineActivityType" ADD CONSTRAINT "FK_2c7b4a18f54e8da1956a7a7dd60" FOREIGN KEY ("applicationId") REFERENCES "core"."application"("id") ON DELETE CASCADE ON UPDATE NO ACTION');
+ }
+
+ public async down(queryRunner: QueryRunner): Promise<void> {
+ await queryRunner.query('ALTER TABLE "core"."timelineActivityType" DROP CONSTRAINT "FK_2c7b4a18f54e8da1956a7a7dd60"');
+ await queryRunner.query('ALTER TABLE "core"."timelineActivityType" DROP CONSTRAINT "FK_9dff241d7d796da9f63a8ae4bc6"');
+ await queryRunner.query('DROP INDEX "core"."IDX_2cabff7ba187115afcdd1cf6ba"');
+ await queryRunner.query('DROP TABLE "core"."timelineActivityType"');
+ }
+}
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-33/2-33-upgrade-version-command.module.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-33/2-33-upgrade-version-command.module.ts
index c73e610c6be..3de270c79b7 100644
--- a/packages/twenty-server/src/database/commands/upgrade-version-command/2-33/2-33-upgrade-version-command.module.ts
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-33/2-33-upgrade-version-command.module.ts
@@ -4,6 +4,7 @@ import { TypeOrmModule } from '@nestjs/typeorm';
import { WorkspaceIteratorModule } from 'src/database/commands/command-runners/workspace-iterator.module';
import { BackfillActivityTargetsJunctionTargetCommand } from 'src/database/commands/upgrade-version-command/2-33/2-33-workspace-command-1787123540000-backfill-activity-targets-junction-target.command';
import { MigrateCommandMenuItemLabelsToPlaceholdersCommand } from 'src/database/commands/upgrade-version-command/2-33/2-33-workspace-command-1787127900000-migrate-command-menu-item-labels-to-placeholders.command';
+import { ReplaceTimelineActivityNameWithTypeCommand } from 'src/database/commands/upgrade-version-command/2-33/2-33-workspace-command-1787400001000-replace-timeline-activity-name-with-type.command';
import { MarkSearchVectorFieldsSystemCommand } from 'src/database/commands/upgrade-version-command/2-33/2-33-workspace-command-1787138325228-mark-search-vector-fields-system.command';
import { ApplicationModule } from 'src/engine/core-modules/application/application.module';
import { FieldMetadataEntity } from 'src/engine/metadata-modules/field-metadata/field-metadata.entity';
@@ -24,6 +25,7 @@ import { WorkspaceMigrationModule } from 'src/engine/workspace-manager/workspace
BackfillActivityTargetsJunctionTargetCommand,
MarkSearchVectorFieldsSystemCommand,
MigrateCommandMenuItemLabelsToPlaceholdersCommand,
+ ReplaceTimelineActivityNameWithTypeCommand,
],
})
export class V2_33_UpgradeVersionCommandModule {}
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-33/2-33-workspace-command-1787400001000-replace-timeline-activity-name-with-type.command.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-33/2-33-workspace-command-1787400001000-replace-timeline-activity-name-with-type.command.ts
new file mode 100644
index 00000000000..9b5768cb6af
--- /dev/null
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-33/2-33-workspace-command-1787400001000-replace-timeline-activity-name-with-type.command.ts
@@ -0,0 +1,308 @@
+import { Command } from 'nest-commander';
+import { STANDARD_OBJECTS } from 'twenty-shared/metadata';
+import { isDefined } from 'twenty-shared/utils';
+
+import { ProvisionedWorkspaceCommandRunner } from 'src/database/commands/command-runners/provisioned-workspace.command-runner';
+import { WorkspaceIteratorService } from 'src/database/commands/command-runners/workspace-iterator.service';
+import { type RunOnWorkspaceArgs } from 'src/database/commands/command-runners/workspace.command-runner';
+import { ApplicationService } from 'src/engine/core-modules/application/application.service';
+import { RegisteredWorkspaceCommand } from 'src/engine/core-modules/upgrade/decorators/registered-workspace-command.decorator';
+import { findFlatEntityByUniversalIdentifier } from 'src/engine/metadata-modules/flat-entity/utils/find-flat-entity-by-universal-identifier.util';
+import { type FlatFieldMetadata } from 'src/engine/metadata-modules/flat-field-metadata/types/flat-field-metadata.type';
+import { type FlatObjectMetadata } from 'src/engine/metadata-modules/flat-object-metadata/types/flat-object-metadata.type';
+import { type FlatTimelineActivityType } from 'src/engine/metadata-modules/flat-timeline-activity-type/types/flat-timeline-activity-type.type';
+import { getWorkspaceSchemaName } from 'src/engine/workspace-datasource/utils/get-workspace-schema-name.util';
+import { WorkspaceCacheService } from 'src/engine/workspace-cache/services/workspace-cache.service';
+import { computeTwentyStandardApplicationAllFlatEntityMaps } from 'src/engine/workspace-manager/twenty-standard-application/utils/twenty-standard-application-all-flat-entity-maps.constant';
+import { WorkspaceMigrationValidateBuildAndRunService } from 'src/engine/workspace-manager/workspace-migration/services/workspace-migration-validate-build-and-run-service';
+import { buildTimelineActivityTypeBackfillQuery } from 'src/database/commands/upgrade-version-command/2-33/utils/build-timeline-activity-type-backfill-query.util';
+
+const TIMELINE_ACTIVITY = STANDARD_OBJECTS.timelineActivity;
+const BACKFILL_BATCH_SIZE = 5000;
+const LINKED_RECORD_CACHED_NAME_FIELD_UNIVERSAL_IDENTIFIER =
+ TIMELINE_ACTIVITY.fields.linkedRecordCachedName.universalIdentifier;
+
+@RegisteredWorkspaceCommand('2.33.0', 1787400001000)
+@Command({
+ name: 'upgrade:2-33:replace-timeline-activity-name-with-type',
+ description:
+ 'Seed the standard timelineActivityType rows, add timelineActivity.timelineActivityTypeId and backfill it from the deprecated name column',
+})
+export class ReplaceTimelineActivityNameWithTypeCommand extends ProvisionedWorkspaceCommandRunner {
+ constructor(
+ protected readonly workspaceIteratorService: WorkspaceIteratorService,
+ private readonly applicationService: ApplicationService,
+ private readonly workspaceCacheService: WorkspaceCacheService,
+ private readonly workspaceMigrationValidateBuildAndRunService: WorkspaceMigrationValidateBuildAndRunService,
+ ) {
+ super(workspaceIteratorService);
+ }
+
+ override async runOnWorkspace({
+ workspaceId,
+ dataSource,
+ options,
+ }: RunOnWorkspaceArgs): Promise<void> {
+ const isDryRun = options.dryRun ?? false;
+
+ const { flatObjectMetadataMaps } =
+ await this.workspaceCacheService.getOrRecompute(workspaceId, [
+ 'flatObjectMetadataMaps',
+ ]);
+
+ const timelineActivityObjectMetadata =
+ findFlatEntityByUniversalIdentifier<FlatObjectMetadata>({
+ flatEntityMaps: flatObjectMetadataMaps,
+ universalIdentifier: TIMELINE_ACTIVITY.universalIdentifier,
+ });
+
+ if (!isDefined(timelineActivityObjectMetadata)) {
+ this.logger.log(
+ `timelineActivity object does not exist for workspace ${workspaceId}, skipping`,
+ );
+
+ return;
+ }
+
+ if (!isDefined(dataSource)) {
+ this.logger.log(`No data source for workspace ${workspaceId}, skipping`);
+
+ return;
+ }
+
+ if (isDryRun) {
+ this.logger.log(
+ `[DRY RUN] Would add and backfill timelineActivity.timelineActivityTypeId for workspace ${workspaceId}`,
+ );
+
+ return;
+ }
+
+ const { twentyStandardFlatApplication } =
+ await this.applicationService.findWorkspaceTwentyStandardAndCustomApplicationOrThrow(
+ { workspaceId },
+ );
+
+ const { allFlatEntityMaps: standardAllFlatEntityMaps } =
+ computeTwentyStandardApplicationAllFlatEntityMaps({
+ now: new Date().toISOString(),
+ workspaceId,
+ twentyStandardApplicationId: twentyStandardFlatApplication.id,
+ });
+
+ await this.createTypesAndField({
+ workspaceId,
+ applicationUniversalIdentifier:
+ twentyStandardFlatApplication.universalIdentifier,
+ standardAllFlatEntityMaps,
+ });
+
+ await this.backfillTimelineActivityTypeIds({ workspaceId, dataSource });
+
+ await this.repointLabelIdentifierToLinkedRecordCachedName({
+ workspaceId,
+ applicationUniversalIdentifier:
+ twentyStandardFlatApplication.universalIdentifier,
+ });
+
+ this.logger.log(
+ `Added and backfilled timelineActivity.timelineActivityTypeId for workspace ${workspaceId}`,
+ );
+ }
+
+ private async createTypesAndField({
+ workspaceId,
+ applicationUniversalIdentifier,
+ standardAllFlatEntityMaps,
+ }: {
+ workspaceId: string;
+ applicationUniversalIdentifier: string;
+ standardAllFlatEntityMaps: ReturnType<
+ typeof computeTwentyStandardApplicationAllFlatEntityMaps
+ >['allFlatEntityMaps'];
+ }): Promise<void> {
+ const { flatFieldMetadataMaps, flatTimelineActivityTypeMaps } =
+ await this.workspaceCacheService.getOrRecompute(workspaceId, [
+ 'flatFieldMetadataMaps',
+ 'flatTimelineActivityTypeMaps',
+ ]);
+
+ const flatTimelineActivityTypesToCreate = Object.values(
+ standardAllFlatEntityMaps.flatTimelineActivityTypeMaps
+ .byUniversalIdentifier,
+ )
+ .filter(isDefined)
+ .filter(
+ (flatTimelineActivityType: FlatTimelineActivityType) =>
+ !isDefined(
+ flatTimelineActivityTypeMaps.byUniversalIdentifier[
+ flatTimelineActivityType.universalIdentifier
+ ],
+ ),
+ );
+
+ const standardTypeField =
+ findFlatEntityByUniversalIdentifier<FlatFieldMetadata>({
+ flatEntityMaps: standardAllFlatEntityMaps.flatFieldMetadataMaps,
+ universalIdentifier:
+ TIMELINE_ACTIVITY.fields.timelineActivityTypeId.universalIdentifier,
+ });
+
+ if (!isDefined(standardTypeField)) {
+ throw new Error(
+ 'Standard application is missing timelineActivity.timelineActivityTypeId',
+ );
+ }
+
+ const flatFieldMetadatasToCreate = isDefined(
+ flatFieldMetadataMaps.byUniversalIdentifier[
+ standardTypeField.universalIdentifier
+ ],
+ )
+ ? []
+ : [
+ {
+ ...standardTypeField,
+ viewFieldIds: [],
+ viewFieldUniversalIdentifiers: [],
+ },
+ ];
+
+ if (
+ flatTimelineActivityTypesToCreate.length === 0 &&
+ flatFieldMetadatasToCreate.length === 0
+ ) {
+ return;
+ }
+
+ const result =
+ await this.workspaceMigrationValidateBuildAndRunService.validateBuildAndRunLegacyWorkspaceMigration(
+ {
+ isSystemBuild: true,
+ workspaceId,
+ applicationUniversalIdentifier,
+ allFlatEntityOperationByMetadataName: {
+ timelineActivityType: {
+ flatEntityToCreate: flatTimelineActivityTypesToCreate,
+ flatEntityToDelete: [],
+ flatEntityToUpdate: [],
+ },
+ fieldMetadata: {
+ flatEntityToCreate: flatFieldMetadatasToCreate,
+ flatEntityToDelete: [],
+ flatEntityToUpdate: [],
+ },
+ },
+ },
+ );
+
+ if (result.status === 'fail') {
+ throw new Error(
+ `Failed to create timeline activity types for workspace ${workspaceId}:\n${JSON.stringify(result, null, 2)}`,
+ );
+ }
+ }
+
+ private async backfillTimelineActivityTypeIds({
+ workspaceId,
+ dataSource,
+ }: {
+ workspaceId: string;
+ dataSource: NonNullable<RunOnWorkspaceArgs['dataSource']>;
+ }): Promise<void> {
+ const { flatTimelineActivityTypeMaps } =
+ await this.workspaceCacheService.getOrRecompute(workspaceId, [
+ 'flatTimelineActivityTypeMaps',
+ ]);
+
+ const backfillQuery = buildTimelineActivityTypeBackfillQuery({
+ schemaName: getWorkspaceSchemaName(workspaceId),
+ flatTimelineActivityTypeMaps,
+ batchSize: BACKFILL_BATCH_SIZE,
+ });
+
+ if (!isDefined(backfillQuery)) {
+ throw new Error(
+ `Workspace ${workspaceId} is missing standard timeline activity types after seeding`,
+ );
+ }
+
+ let backfilledRowCount = 0;
+ let lastBatchRowCount = 0;
+
+ // Each batch commits on its own, so an interrupted run resumes where it
+ // stopped: the query only ever picks rows that still have no type.
+ do {
+ const result = await dataSource.query(
+ backfillQuery.sql,
+ backfillQuery.parameters,
+ undefined,
+ { shouldBypassPermissionChecks: true },
+ );
+
+ lastBatchRowCount = result?.[1] ?? 0;
+ backfilledRowCount += lastBatchRowCount;
+ } while (lastBatchRowCount === BACKFILL_BATCH_SIZE);
+
+ this.logger.log(
+ `Backfilled ${backfilledRowCount} timelineActivity rows for workspace ${workspaceId}`,
+ );
+ }
+
+ // Repointing now makes the later removal of `name` independent of this
+ // migration while giving the object a useful label during compatibility.
+ private async repointLabelIdentifierToLinkedRecordCachedName({
+ workspaceId,
+ applicationUniversalIdentifier,
+ }: {
+ workspaceId: string;
+ applicationUniversalIdentifier: string;
+ }): Promise<void> {
+ const { flatObjectMetadataMaps } =
+ await this.workspaceCacheService.getOrRecompute(workspaceId, [
+ 'flatObjectMetadataMaps',
+ ]);
+
+ const timelineActivityObjectMetadata =
+ findFlatEntityByUniversalIdentifier<FlatObjectMetadata>({
+ flatEntityMaps: flatObjectMetadataMaps,
+ universalIdentifier: TIMELINE_ACTIVITY.universalIdentifier,
+ });
+
+ if (
+ !isDefined(timelineActivityObjectMetadata) ||
+ timelineActivityObjectMetadata.labelIdentifierFieldMetadataUniversalIdentifier ===
+ LINKED_RECORD_CACHED_NAME_FIELD_UNIVERSAL_IDENTIFIER
+ ) {
+ return;
+ }
+
+ const result =
+ await this.workspaceMigrationValidateBuildAndRunService.validateBuildAndRunLegacyWorkspaceMigration(
+ {
+ isSystemBuild: true,
+ workspaceId,
+ applicationUniversalIdentifier,
+ allFlatEntityOperationByMetadataName: {
+ objectMetadata: {
+ flatEntityToCreate: [],
+ flatEntityToDelete: [],
+ flatEntityToUpdate: [
+ {
+ ...timelineActivityObjectMetadata,
+ labelIdentifierFieldMetadataUniversalIdentifier:
+ LINKED_RECORD_CACHED_NAME_FIELD_UNIVERSAL_IDENTIFIER,
+ },
+ ],
+ },
+ },
+ },
+ );
+
+ if (result.status === 'fail') {
+ throw new Error(
+ `Failed to repoint the timelineActivity label identifier for workspace ${workspaceId}:\n${JSON.stringify(result, null, 2)}`,
+ );
+ }
+ }
+}
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-33/utils/__tests__/build-timeline-activity-type-backfill-query.util.spec.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-33/utils/__tests__/build-timeline-activity-type-backfill-query.util.spec.ts
new file mode 100644
index 00000000000..f8c7e80b8fe
--- /dev/null
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-33/utils/__tests__/build-timeline-activity-type-backfill-query.util.spec.ts
@@ -0,0 +1,187 @@
+import { buildTimelineActivityTypeBackfillQuery } from 'src/database/commands/upgrade-version-command/2-33/utils/build-timeline-activity-type-backfill-query.util';
+import { STANDARD_OBJECTS } from 'twenty-shared/metadata';
+import { isDefined } from 'twenty-shared/utils';
+
+import { type TimelineActivityTypeResolutionMaps } from 'src/modules/timeline/utils/resolve-timeline-activity-type-id.util';
+
+const TYPE_ID_BY_ACTION = {
+ created: '00000000-0000-4000-8000-000000000001',
+ updated: '00000000-0000-4000-8000-000000000002',
+ deleted: '00000000-0000-4000-8000-000000000003',
+ restored: '00000000-0000-4000-8000-000000000004',
+ linked: '00000000-0000-4000-8000-000000000005',
+ unlinked: '00000000-0000-4000-8000-000000000006',
+};
+
+const buildFlatTimelineActivityTypeMaps = (
+ actions: (keyof typeof TYPE_ID_BY_ACTION)[],
+): TimelineActivityTypeResolutionMaps => ({
+ byUniversalIdentifier: Object.fromEntries(
+ actions.map((action) => [
+ action,
+ {
+ id: TYPE_ID_BY_ACTION[action],
+ action,
+ objectUniversalIdentifier: null,
+ },
+ ]),
+ ),
+});
+
+// The same type id can back several arms, so an arm is checked through the
+// placeholder it actually carries rather than the first matching parameter.
+const getTypeIdForCondition = (
+ query: { sql: string; parameters: string[] },
+ condition: string,
+): string | undefined => {
+ const placeholder = query.sql.match(
+ new RegExp(`WHEN ${condition.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')} THEN \\$(\\d+)::uuid`),
+ );
+
+ return isDefined(placeholder)
+ ? query.parameters[Number(placeholder[1]) - 1]
+ : undefined;
+};
+
+const NOTE_LINKED_TYPE_ID = '00000000-0000-4000-8000-00000000000a';
+const MESSAGE_LINKED_TYPE_ID = '00000000-0000-4000-8000-00000000000b';
+const NOTE_UPDATED_TYPE_ID = '00000000-0000-4000-8000-00000000000c';
+
+const buildFlatTimelineActivityTypeMapsWithObjectBoundTypes =
+ (): TimelineActivityTypeResolutionMaps => ({
+ byUniversalIdentifier: {
+ ...buildFlatTimelineActivityTypeMaps(
+ Object.keys(TYPE_ID_BY_ACTION) as (keyof typeof TYPE_ID_BY_ACTION)[],
+ ).byUniversalIdentifier,
+ noteLinked: {
+ id: NOTE_LINKED_TYPE_ID,
+ action: 'linked',
+ objectUniversalIdentifier: STANDARD_OBJECTS.note.universalIdentifier,
+ },
+ noteUpdated: {
+ id: NOTE_UPDATED_TYPE_ID,
+ action: 'updated',
+ objectUniversalIdentifier: STANDARD_OBJECTS.note.universalIdentifier,
+ },
+ messageLinked: {
+ id: MESSAGE_LINKED_TYPE_ID,
+ action: 'linked',
+ objectUniversalIdentifier: STANDARD_OBJECTS.message.universalIdentifier,
+ },
+ },
+ });
+
+describe('buildTimelineActivityTypeBackfillQuery', () => {
+ it('returns undefined when the fallback linked type is missing', () => {
+ expect(
+ buildTimelineActivityTypeBackfillQuery({
+ schemaName: 'workspace_1',
+ batchSize: 5000,
+ flatTimelineActivityTypeMaps: buildFlatTimelineActivityTypeMaps([
+ 'created',
+ ]),
+ }),
+ ).toBeUndefined();
+ });
+
+ it('maps a deleted junction row to unlinked and a deleted record to deleted', () => {
+ const query = buildTimelineActivityTypeBackfillQuery({
+ schemaName: 'workspace_1',
+ batchSize: 5000,
+ flatTimelineActivityTypeMaps: buildFlatTimelineActivityTypeMaps(
+ Object.keys(TYPE_ID_BY_ACTION) as (keyof typeof TYPE_ID_BY_ACTION)[],
+ ),
+ });
+
+ expect(query).toBeDefined();
+
+ expect(
+ getTypeIdForCondition(
+ query!,
+ `"name" LIKE 'linked-%' AND split_part("name", '.', 2) = 'deleted'`,
+ ),
+ ).toBe(TYPE_ID_BY_ACTION.unlinked);
+ expect(
+ getTypeIdForCondition(
+ query!,
+ `"name" NOT LIKE 'linked-%' AND split_part("name", '.', 2) = 'deleted'`,
+ ),
+ ).toBe(TYPE_ID_BY_ACTION.deleted);
+ });
+
+ it('falls back to linked for names it cannot parse and only touches unset rows', () => {
+ const query = buildTimelineActivityTypeBackfillQuery({
+ schemaName: 'workspace_1',
+ batchSize: 5000,
+ flatTimelineActivityTypeMaps: buildFlatTimelineActivityTypeMaps(
+ Object.keys(TYPE_ID_BY_ACTION) as (keyof typeof TYPE_ID_BY_ACTION)[],
+ ),
+ });
+
+ expect(query!.parameters[query!.parameters.length - 1]).toBe(
+ TYPE_ID_BY_ACTION.linked,
+ );
+ expect(query!.sql).toContain(
+ `ELSE $${query!.parameters.length}::uuid END WHERE "id" IN (SELECT "id" FROM "workspace_1"."timelineActivity" WHERE "timelineActivityTypeId" IS NULL LIMIT 5000)`,
+ );
+ expect(query!.sql).toContain('UPDATE "workspace_1"."timelineActivity"');
+ });
+
+ it('stamps a linked note with the note type rather than the shared linked type', () => {
+ const query = buildTimelineActivityTypeBackfillQuery({
+ schemaName: 'workspace_1',
+ batchSize: 5000,
+ flatTimelineActivityTypeMaps:
+ buildFlatTimelineActivityTypeMapsWithObjectBoundTypes(),
+ });
+
+ expect(
+ getTypeIdForCondition(query!, `"name" = 'linked-note.created'`),
+ ).toBe(NOTE_LINKED_TYPE_ID);
+ });
+
+ it('distinguishes a linked record update from a junction repoint by its diff', () => {
+ const query = buildTimelineActivityTypeBackfillQuery({
+ schemaName: 'workspace_1',
+ batchSize: 5000,
+ flatTimelineActivityTypeMaps:
+ buildFlatTimelineActivityTypeMapsWithObjectBoundTypes(),
+ });
+
+ expect(
+ getTypeIdForCondition(
+ query!,
+ `"name" = 'linked-note.updated' AND jsonb_typeof("properties"->'diff') = 'object' AND "properties"->'diff' <> '{}'::jsonb`,
+ ),
+ ).toBe(NOTE_UPDATED_TYPE_ID);
+ expect(
+ getTypeIdForCondition(query!, `"name" = 'linked-note.updated'`),
+ ).toBe(NOTE_LINKED_TYPE_ID);
+ });
+
+ it('stamps the participant-written message name with the message type', () => {
+ const query = buildTimelineActivityTypeBackfillQuery({
+ schemaName: 'workspace_1',
+ batchSize: 5000,
+ flatTimelineActivityTypeMaps:
+ buildFlatTimelineActivityTypeMapsWithObjectBoundTypes(),
+ });
+
+ expect(getTypeIdForCondition(query!, `"name" = 'message.linked'`)).toBe(
+ MESSAGE_LINKED_TYPE_ID,
+ );
+ });
+
+ it('orders object-bound arms before the shared arm for the same action', () => {
+ const query = buildTimelineActivityTypeBackfillQuery({
+ schemaName: 'workspace_1',
+ batchSize: 5000,
+ flatTimelineActivityTypeMaps:
+ buildFlatTimelineActivityTypeMapsWithObjectBoundTypes(),
+ });
+
+ expect(query!.sql.indexOf(`WHEN "name" = 'linked-note.created'`)).toBeLessThan(
+ query!.sql.indexOf(`WHEN "name" LIKE 'linked-%'`),
+ );
+ });
+});
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-33/utils/build-timeline-activity-type-backfill-query.util.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-33/utils/build-timeline-activity-type-backfill-query.util.ts
new file mode 100644
index 00000000000..0cdd5165ef2
--- /dev/null
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-33/utils/build-timeline-activity-type-backfill-query.util.ts
@@ -0,0 +1,163 @@
+import { STANDARD_OBJECTS } from 'twenty-shared/metadata';
+import { type TimelineActivityAction } from 'twenty-shared/timeline';
+import { isDefined } from 'twenty-shared/utils';
+
+import {
+ buildTimelineActivityTypeResolver,
+ type TimelineActivityTypeResolutionMaps,
+} from 'src/modules/timeline/utils/resolve-timeline-activity-type-id.util';
+
+// The legacy name held `<object>.<databaseAction>` for a record's own events and
+// `linked-<object>.<databaseAction>` for events about a linked record. A junction
+// row being created or restored is a link, deleted is an unlink, and updated is
+// the linked record itself changing, which is why the two halves differ.
+const LINKED_ACTION_BY_DATABASE_ACTION: Record<string, TimelineActivityAction> =
+ {
+ created: 'linked',
+ restored: 'linked',
+ updated: 'updated',
+ deleted: 'unlinked',
+ };
+
+const SELF_ACTION_BY_DATABASE_ACTION: Record<string, TimelineActivityAction> = {
+ created: 'created',
+ updated: 'updated',
+ deleted: 'deleted',
+ restored: 'restored',
+};
+
+// Notes and tasks were written through the junction path, messages and calendar
+// events through their own listeners, which is why only the first two carry the
+// `linked-` prefix.
+const LEGACY_JUNCTION_OBJECTS = [
+ { legacyName: 'note', universalIdentifier: STANDARD_OBJECTS.note.universalIdentifier },
+ { legacyName: 'task', universalIdentifier: STANDARD_OBJECTS.task.universalIdentifier },
+] as const;
+
+const LEGACY_PARTICIPANT_NAMES = [
+ {
+ legacyName: 'message.linked',
+ universalIdentifier: STANDARD_OBJECTS.message.universalIdentifier,
+ },
+ {
+ legacyName: 'calendarEvent.linked',
+ universalIdentifier: STANDARD_OBJECTS.calendarEvent.universalIdentifier,
+ },
+] as const;
+
+// Bounded so each batch is a short transaction: timelineActivity is one of the
+// largest tables in a workspace and a single unbounded UPDATE would hold row
+// locks and grow WAL for the whole rewrite.
+export const buildTimelineActivityTypeBackfillQuery = ({
+ schemaName,
+ flatTimelineActivityTypeMaps,
+ batchSize,
+}: {
+ schemaName: string;
+ flatTimelineActivityTypeMaps: TimelineActivityTypeResolutionMaps;
+ batchSize: number;
+}):
+ | {
+ sql: string;
+ parameters: string[];
+ }
+ | undefined => {
+ const resolveTimelineActivityTypeId = buildTimelineActivityTypeResolver(
+ flatTimelineActivityTypeMaps,
+ );
+
+ const fallbackTypeId = resolveTimelineActivityTypeId({ action: 'linked' });
+
+ if (!isDefined(fallbackTypeId)) {
+ return undefined;
+ }
+
+ const parameters: string[] = [];
+ const whenClauses: string[] = [];
+
+ const pushWhenClause = (
+ condition: string,
+ typeId: string | undefined,
+ ): void => {
+ if (!isDefined(typeId)) {
+ return;
+ }
+
+ parameters.push(typeId);
+ whenClauses.push(`WHEN ${condition} THEN $${parameters.length}::uuid`);
+ };
+
+ // The object-bound arms come first so a linked note keeps its own type rather
+ // than matching the shared arm for the same action.
+ for (const { legacyName, universalIdentifier } of LEGACY_PARTICIPANT_NAMES) {
+ pushWhenClause(
+ `"name" = '${legacyName}'`,
+ resolveTimelineActivityTypeId({
+ action: 'linked',
+ objectUniversalIdentifier: universalIdentifier,
+ }),
+ );
+ }
+
+ for (const { legacyName, universalIdentifier } of LEGACY_JUNCTION_OBJECTS) {
+ for (const [databaseAction, action] of Object.entries(
+ LINKED_ACTION_BY_DATABASE_ACTION,
+ )) {
+ if (databaseAction === 'updated') {
+ const legacyUpdatedName = `linked-${legacyName}.updated`;
+
+ // Source-record updates and junction repoints shared this legacy name.
+ // A source update carries the field diff; a junction event does not.
+ pushWhenClause(
+ `"name" = '${legacyUpdatedName}' AND jsonb_typeof("properties"->'diff') = 'object' AND "properties"->'diff' <> '{}'::jsonb`,
+ resolveTimelineActivityTypeId({
+ action,
+ objectUniversalIdentifier: universalIdentifier,
+ }),
+ );
+ pushWhenClause(
+ `"name" = '${legacyUpdatedName}'`,
+ resolveTimelineActivityTypeId({
+ action: 'linked',
+ objectUniversalIdentifier: universalIdentifier,
+ }),
+ );
+
+ continue;
+ }
+
+ pushWhenClause(
+ `"name" = 'linked-${legacyName}.${databaseAction}'`,
+ resolveTimelineActivityTypeId({
+ action,
+ objectUniversalIdentifier: universalIdentifier,
+ }),
+ );
+ }
+ }
+
+ for (const [databaseAction, action] of Object.entries(
+ LINKED_ACTION_BY_DATABASE_ACTION,
+ )) {
+ pushWhenClause(
+ `"name" LIKE 'linked-%' AND split_part("name", '.', 2) = '${databaseAction}'`,
+ resolveTimelineActivityTypeId({ action }),
+ );
+ }
+
+ for (const [databaseAction, action] of Object.entries(
+ SELF_ACTION_BY_DATABASE_ACTION,
+ )) {
+ pushWhenClause(
+ `"name" NOT LIKE 'linked-%' AND split_part("name", '.', 2) = '${databaseAction}'`,
+ resolveTimelineActivityTypeId({ action }),
+ );
+ }
+
+ parameters.push(fallbackTypeId);
+
+ return {
+ sql: `UPDATE "${schemaName}"."timelineActivity" SET "timelineActivityTypeId" = CASE ${whenClauses.join(' ')} ELSE $${parameters.length}::uuid END WHERE "id" IN (SELECT "id" FROM "${schemaName}"."timelineActivity" WHERE "timelineActivityTypeId" IS NULL LIMIT ${batchSize})`,
+ parameters,
+ };
+};
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.ts
index 46517206fe2..2970f0f5a42 100644
--- a/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.ts
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.ts
@@ -149,6 +149,7 @@ import { AddWritabilityToMetadataFastInstanceCommand } from 'src/database/comman
import { AddUninstallLogicFunctionIdToApplicationFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-32/2-32-instance-command-fast-1786959731000-add-uninstall-logic-function-id-to-application';
import { BackfillUninstallLogicFunctionIdOnApplicationSlowInstanceCommand } from 'src/database/commands/upgrade-version-command/2-32/2-32-instance-command-slow-1786959731001-backfill-uninstall-logic-function-id-on-application';
import { AddUninstallHookCompletedForRequestedAtToApplicationFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-33/2-33-instance-command-fast-1787151824000-add-uninstall-hook-completed-for-requested-at-to-application';
+import { AddTimelineActivityTypeTableFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-33/2-33-instance-command-fast-1787352088649-add-timeline-activity-type-table';
export const INSTANCE_COMMANDS = [
AddViewFieldGroupIdIndexOnViewFieldFastInstanceCommand,
@@ -300,4 +301,5 @@ export const INSTANCE_COMMANDS = [
AddUninstallLogicFunctionIdToApplicationFastInstanceCommand,
BackfillUninstallLogicFunctionIdOnApplicationSlowInstanceCommand,
AddUninstallHookCompletedForRequestedAtToApplicationFastInstanceCommand,
+ AddTimelineActivityTypeTableFastInstanceCommand,
];
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-manifest/utils/find-manifest-entity-descriptor-by-universal-identifier.util.ts b/packages/twenty-server/src/engine/core-modules/application/application-manifest/utils/find-manifest-entity-descriptor-by-universal-identifier.util.ts
index 9752d5ac11d..bce03f23739 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-manifest/utils/find-manifest-entity-descriptor-by-universal-identifier.util.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-manifest/utils/find-manifest-entity-descriptor-by-universal-identifier.util.ts
@@ -84,6 +84,12 @@ const MANIFEST_ENTITY_REGISTRY: Record<
(connectionProvider) => connectionProvider.displayName,
),
},
+ // Seeded by the twenty-standard application only: an app manifest cannot
+ // declare timeline activity types, so it never contributes a candidate.
+ timelineActivityType: {
+ entityKind: 'timeline activity type',
+ getCandidates: () => [],
+ },
view: {
entityKind: 'view',
getCandidates: (manifest) =>
diff --git a/packages/twenty-server/src/engine/core-modules/i18n/locales/en.po b/packages/twenty-server/src/engine/core-modules/i18n/locales/en.po
index e754408d7c6..49e62026342 100644
--- a/packages/twenty-server/src/engine/core-modules/i18n/locales/en.po
+++ b/packages/twenty-server/src/engine/core-modules/i18n/locales/en.po
@@ -335,6 +335,11 @@ msgstr "A temporary error occurred. Please try again."
msgid "A temporary network error occurred."
msgstr "A temporary network error occurred."
+#. js-lingui-id: JJamm8
+#: src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-timeline-activity-type-validator.service.ts
+msgid "A timeline activity type with this name already exists for this application"
+msgstr "A timeline activity type with this name already exists for this application"
+
#. js-lingui-id: WBtp3/
#: src/engine/core-modules/auth/auth.exception.ts
msgid "A user with this email already exists."
@@ -1070,6 +1075,12 @@ msgctxt "fieldMetadata.description"
msgid "Attachments linked to the workflow"
msgstr "Attachments linked to the workflow"
+#. js-lingui-id: mGHuob
+#: src/engine/metadata-modules/timeline-activity-type/constants/standard-timeline-activity-type-definitions.constant.ts
+msgctxt "timelineActivityType.label"
+msgid "attended a calendar event"
+msgstr "attended a calendar event"
+
#. js-lingui-id: 0N8sVQ
#: src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-attachment-standard-flat-field-metadata.util.ts
#: src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-call-recording-standard-flat-field-metadata.util.ts
@@ -3469,6 +3480,12 @@ msgctxt "fieldMetadata.description"
msgid "Event target"
msgstr "Event target"
+#. js-lingui-id: KUIRIR
+#: src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-timeline-activity-standard-flat-field-metadata.util.ts
+msgctxt "fieldMetadata.label"
+msgid "Event type"
+msgstr "Event type"
+
#. js-lingui-id: NZy2VR
#: src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-timeline-activity-standard-flat-field-metadata.util.ts
msgctxt "fieldMetadata.description"
@@ -5803,6 +5820,18 @@ msgstr "Layout is required for bar chart"
msgid "Layout is required for bar chart widget \"{widgetTitle}\""
msgstr "Layout is required for bar chart widget \"{widgetTitle}\""
+#. js-lingui-id: sAG9OB
+#: src/engine/metadata-modules/timeline-activity-type/constants/standard-timeline-activity-type-definitions.constant.ts
+msgctxt "timelineActivityType.label"
+msgid "linked a related note"
+msgstr "linked a related note"
+
+#. js-lingui-id: ecrchg
+#: src/engine/metadata-modules/timeline-activity-type/constants/standard-timeline-activity-type-definitions.constant.ts
+msgctxt "timelineActivityType.label"
+msgid "linked a related task"
+msgstr "linked a related task"
+
#. js-lingui-id: TUocGa
#: src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-timeline-activity-standard-flat-field-metadata.util.ts
msgctxt "fieldMetadata.description"
@@ -8854,6 +8883,12 @@ msgctxt "fieldMetadata.label"
msgid "Sent count"
msgstr "Sent count"
+#. js-lingui-id: ttuub1
+#: src/engine/metadata-modules/timeline-activity-type/constants/standard-timeline-activity-type-definitions.constant.ts
+msgctxt "timelineActivityType.label"
+msgid "sent or received an email"
+msgstr "sent or received an email"
+
#. js-lingui-id: CMPgl1
#: src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-campaign-standard-flat-field-metadata.util.ts
msgctxt "fieldMetadata.label"
@@ -10401,6 +10436,21 @@ msgstr "This subdomain is already taken."
msgid "This suppressed address no longer exists."
msgstr "This suppressed address no longer exists."
+#. js-lingui-id: 0GMgIa
+#: src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-timeline-activity-type-validator.service.ts
+msgid "This timeline activity action is not supported"
+msgstr "This timeline activity action is not supported"
+
+#. js-lingui-id: O6/sEz
+#: src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-timeline-activity-type-validator.service.ts
+msgid "This timeline activity renderer is not supported"
+msgstr "This timeline activity renderer is not supported"
+
+#. js-lingui-id: jDoSzT
+#: src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-timeline-activity-type-validator.service.ts
+msgid "This timeline activity renderer requires the type to reference an object"
+msgstr "This timeline activity renderer requires the type to reference an object"
+
#. js-lingui-id: aXBMTb
#: src/engine/api/common/common-query-runners/common-merge-many-query-runner.service.ts
msgid "This type of record cannot be merged."
@@ -10572,6 +10622,44 @@ msgctxt "fieldMetadata.description"
msgid "Timeline activity record position"
msgstr "Timeline activity record position"
+#. js-lingui-id: 7e7stO
+#. placeholder {0}: flatTimelineActivityType.renderer
+#: src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-timeline-activity-type-validator.service.ts
+msgid "Timeline activity renderer {0} requires the type to reference an object"
+msgstr "Timeline activity renderer {0} requires the type to reference an object"
+
+#. js-lingui-id: xFv7OI
+#: src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-timeline-activity-standard-flat-field-metadata.util.ts
+msgctxt "fieldMetadata.description"
+msgid "Timeline activity type describing this event"
+msgstr "Timeline activity type describing this event"
+
+#. js-lingui-id: sqmSqj
+#: src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-timeline-activity-type-validator.service.ts
+#: src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-timeline-activity-type-validator.service.ts
+msgid "Timeline activity type label is required"
+msgstr "Timeline activity type label is required"
+
+#. js-lingui-id: 0QdkGz
+#: src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-timeline-activity-type-validator.service.ts
+#: src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-timeline-activity-type-validator.service.ts
+msgid "Timeline activity type name is required"
+msgstr "Timeline activity type name is required"
+
+#. js-lingui-id: kNsVJi
+#: src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-timeline-activity-type-validator.service.ts
+#: src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-timeline-activity-type-validator.service.ts
+#: src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-timeline-activity-type-validator.service.ts
+#: src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-timeline-activity-type-validator.service.ts
+msgid "Timeline activity type not found"
+msgstr "Timeline activity type not found"
+
+#. js-lingui-id: 8VTlb5
+#. placeholder {0}: flatTimelineActivityType.name
+#: src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-timeline-activity-type-validator.service.ts
+msgid "Timeline activity type with name {0} already exists for this application"
+msgstr "Timeline activity type with name {0} already exists for this application"
+
#. js-lingui-id: o3xAcd
#: src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-calendar-event-standard-flat-field-metadata.util.ts
msgctxt "fieldMetadata.description"
@@ -10736,6 +10824,30 @@ msgstr "Unknown operation."
msgid "Unknown permission required."
msgstr "Unknown permission required."
+#. js-lingui-id: o/bbIF
+#. placeholder {0}: flatTimelineActivityType.action
+#: src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-timeline-activity-type-validator.service.ts
+msgid "Unknown timeline activity action {0}"
+msgstr "Unknown timeline activity action {0}"
+
+#. js-lingui-id: iiqbeU
+#. placeholder {0}: flatTimelineActivityType.renderer
+#: src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-timeline-activity-type-validator.service.ts
+msgid "Unknown timeline activity renderer {0}"
+msgstr "Unknown timeline activity renderer {0}"
+
+#. js-lingui-id: spJjXJ
+#: src/engine/metadata-modules/timeline-activity-type/constants/standard-timeline-activity-type-definitions.constant.ts
+msgctxt "timelineActivityType.label"
+msgid "unlinked a related note"
+msgstr "unlinked a related note"
+
+#. js-lingui-id: IYBfg3
+#: src/engine/metadata-modules/timeline-activity-type/constants/standard-timeline-activity-type-definitions.constant.ts
+msgctxt "timelineActivityType.label"
+msgid "unlinked a related task"
+msgstr "unlinked a related task"
+
#. js-lingui-id: deE0XW
#: src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-campaign-standard-flat-field-metadata.util.ts
msgctxt "fieldMetadata.label"
@@ -10814,6 +10926,24 @@ msgstr "Update DateTime"
msgid "Update field restrictions only apply to updatable objects."
msgstr "Update field restrictions only apply to updatable objects."
+#. js-lingui-id: 7YsDpr
+#: src/engine/metadata-modules/timeline-activity-type/constants/standard-timeline-activity-type-definitions.constant.ts
+msgctxt "timelineActivityType.label"
+msgid "updated"
+msgstr "updated"
+
+#. js-lingui-id: Hp+aAn
+#: src/engine/metadata-modules/timeline-activity-type/constants/standard-timeline-activity-type-definitions.constant.ts
+msgctxt "timelineActivityType.label"
+msgid "updated a related note"
+msgstr "updated a related note"
+
+#. js-lingui-id: FoQjXC
+#: src/engine/metadata-modules/timeline-activity-type/constants/standard-timeline-activity-type-definitions.constant.ts
+msgctxt "timelineActivityType.label"
+msgid "updated a related task"
+msgstr "updated a related task"
+
#. js-lingui-id: U8sfYC
#: src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-attachment-standard-flat-field-metadata.util.ts
#: src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-blocklist-standard-flat-field-metadata.util.ts
@@ -11437,6 +11567,36 @@ msgstr "ViewId is required to create a view group."
msgid "ViewId is required to create a view sort."
msgstr "ViewId is required to create a view sort."
+#. js-lingui-id: vuzFx0
+#: src/engine/metadata-modules/timeline-activity-type/constants/standard-timeline-activity-type-definitions.constant.ts
+msgctxt "timelineActivityType.label"
+msgid "was created by"
+msgstr "was created by"
+
+#. js-lingui-id: edc5Bh
+#: src/engine/metadata-modules/timeline-activity-type/constants/standard-timeline-activity-type-definitions.constant.ts
+msgctxt "timelineActivityType.label"
+msgid "was deleted by"
+msgstr "was deleted by"
+
+#. js-lingui-id: SfnmZe
+#: src/engine/metadata-modules/timeline-activity-type/constants/standard-timeline-activity-type-definitions.constant.ts
+msgctxt "timelineActivityType.label"
+msgid "was linked by"
+msgstr "was linked by"
+
+#. js-lingui-id: tKm/LA
+#: src/engine/metadata-modules/timeline-activity-type/constants/standard-timeline-activity-type-definitions.constant.ts
+msgctxt "timelineActivityType.label"
+msgid "was restored by"
+msgstr "was restored by"
+
+#. js-lingui-id: 0i3MMx
+#: src/engine/metadata-modules/timeline-activity-type/constants/standard-timeline-activity-type-definitions.constant.ts
+msgctxt "timelineActivityType.label"
+msgid "was unlinked by"
+msgstr "was unlinked by"
+
#. js-lingui-id: xvV2NJ
#: src/engine/api/graphql/workspace-query-runner/constants/postgres-error-messages.constants.ts
msgid "We are experiencing a temporary issue with our database. Please try again later."
diff --git a/packages/twenty-server/src/engine/core-modules/i18n/locales/generated/en.ts b/packages/twenty-server/src/engine/core-modules/i18n/locales/generated/en.ts
index b40cbdb1a72..5d6c62b2f0b 100644
--- a/packages/twenty-server/src/engine/core-modules/i18n/locales/generated/en.ts
+++ b/packages/twenty-server/src/engine/core-modules/i18n/locales/generated/en.ts
@@ -1 +1 @@
-/*eslint-disable*/import type{Messages}from"@lingui/core";export const messages=JSON.parse("{\"++Dmjj\":[\"Event details\"],\"++iNv7\":[\"List\"],\"+2vVRB\":[\"You do not have permission to impersonate users. Please contact your workspace administrator for access.\"],\"+4WR+J\":[\"Channel ID\"],\"+5kO8P\":[\"Saturday\"],\"+67q2u\":[\"workflowVersionId must not be set for engine component key \",[\"engineComponentKey\"]],\"+9R1ka\":[\"Widget index must be a non-negative integer\"],\"+DJKfQ\":[\"Primary axis group by field is required for bar chart\"],\"+E9N4m\":[\"Option label is required\"],\"+ECOke\":[\"Invalid filter : \",[\"nameSingular\"],\" object doesn't have any \\\"\",[\"key\"],\"\\\" field.\"],\"+Ekld4\":[\"Stats\"],\"+FHERL\":[\"A valid viewUniversalIdentifier is required for VIEW type\"],\"+GVjEm\":[\"Invalid filter: \\\"\",[\"operator\"],\"\\\" operator requires an array\"],\"+HfL4V\":[\"Timeline Activities linked to the company\"],\"+KEn4d\":[\"Joining\"],\"+KxhfJ\":[\"Task\"],\"+MvnxO\":[\"An index must contain at least one field\"],\"+TR7Gb\":[\"Compose Campaign\"],\"+aAI33\":[\"A function with this name already exists.\"],\"+bFtT5\":[\"Relation creation payload is required\"],\"+dLR8z\":[\"Send Test Email\"],\"+fwgt2\":[\"Role target with this universal identifier already exists\"],\"+wZ6RO\":[\"You do not have permission to impersonate users in this workspace.\"],\"//eyK1\":[\"Option label \\\"\",[\"sanitizedLabel\"],\"\\\" is beneath 1 character\"],\"/5c/t7\":[\"Page layout to update not found\"],\"/63r02\":[\"Calendar start and end fields must be different\"],\"/BTyf+\":[\"Role not found.\"],\"/BipSk\":[\"No valid authentication context found.\"],\"/E7MoD\":[\"Failed to record billing event.\"],\"/GJDxy\":[\"Password is too weak.\"],\"/HKzKW\":[\"Target URL is required\"],\"/N2VrL\":[\"Start of the week\"],\"/OJTzk\":[\"Connected account not found.\"],\"/ObxXq\":[\"Too many admin candidates found.\"],\"/QTsIU\":[\"The object to update could not be found to reconcile its record page\"],\"/RcKVn\":[\"There is no failed message to retry.\"],\"/SzXf6\":[\"Commas and dot\"],\"/VxChJ\":[\"Chat thread not found.\"],\"/WTI79\":[\"Circular dependency detected in navigation menu item hierarchy.\"],\"/XKGep\":[\"This name is a reserved keyword.\"],\"/Z4Wk1\":[\"Aggregate field metadata is required for graph widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"/amTA5\":[\"Permission flag definition permission type must be 'settings' or 'tool'\"],\"/deTOT\":[\"Relations\"],\"/fcRNd\":[\"Admin Panel\"],\"/ffPWJ\":[\"A required field is missing. Please provide all required values and try again.\"],\"/h13bI\":[\"Preferred color scheme\"],\"/hS43l\":[\"The company website URL. We use this url to fetch the company icon\"],\"/lHFxo\":[\"Cannot modify predicate group to change its object from \",[\"existingObjectMetadataIdentifier\"],\" to \",[\"updatedObjectMetadataIdentifier\"]],\"/mGcny\":[\"This object already has a default view\"],\"/ojawH\":[\"System objects cannot be deleted\"],\"/olFYI\":[\"Cannot delete the last admin user.\"],\"/q4AFh\":[\"Block Settings\"],\"/ruB5e\":[\"Row level permission predicate already exists\"],\"/wsRPd\":[\"Option value is required\"],\"/xPxQo\":[\"Invalid configuration type for front component widget\"],\"/yKslt\":[\"Calendar event participant\"],\"01Sxb6\":[\"Some of the permissions you selected are not valid. Please try again with valid permission settings.\"],\"01sScH\":[\"Location\"],\"07HtKu\":[\"Files\"],\"08qKzD\":[\"OAuth access was denied.\"],\"09IBNJ\":[\"Widget not found.\"],\"09NaoU\":[\"Permission flag key cannot be changed.\"],\"0D0YwP\":[\"Invalid phone calling code.\"],\"0EMDOm\":[\"Events linked to the person\"],\"0Hcw3b\":[\"Security\"],\"0N8sVQ\":[\"Audio\"],\"0NdYmj\":[\"Invalid workflow step type.\"],\"0U7DBn\":[\"Calendars\"],\"0WblB4\":[\"Deals by Company\"],\"0YMUrV\":[\"Edit Layout\"],\"0aXgXb\":[\"Front component must not be set for this item type\"],\"0arbc4\":[\"This record does not exist or has been deleted.\"],\"0biWRI\":[\"The default role cannot be deleted.\"],\"0ij6VP\":[\"Create View\"],\"0j1d4L\":[\"Blocklist handle already exists.\"],\"0j9QWW\":[\"Statuses\"],\"0nxZr5\":[\"Update \",[\"objectLabelPlural\"]],\"0oA/lJ\":[\"Message Id\"],\"0w608/\":[\"Workflow Version\"],\"0x2TQ/\":[\"Layout is required for bar chart\"],\"0zQFQ1\":[\"Opportunity close date\"],\"1AEtOW\":[\"Source component path is invalid\"],\"1EPmDp\":[\"Go to MCP & APIs Settings\"],\"1F/w2I\":[\"Contact's name\"],\"1FhQYt\":[\"Invalid newFieldDefaultVisibility for fields widget \\\"\",[\"widgetTitle\"],\"\\\". Expected a boolean\"],\"1GvzpH\":[\"Refresh token not found.\"],\"1KSqGE\":[\"View filter not found\"],\"1MBLO9\":[\"Tasks\"],\"1NsPsQ\":[\"New\"],\"1PtrY0\":[\"Invalid country code \",[\"countryCode\"]],\"1RF4/e\":[\"Relation filter is not supported here\"],\"1SQnFB\":[\"You cannot change your own role. Please ask another administrator to update your role.\"],\"1SgH8v\":[\"Lists\"],\"1TLh3X\":[\"Presentation\"],\"1UzENP\":[\"No\"],\"1WWVFC\":[\"Application cleanup is still in progress. Please try again.\"],\"1X1RW5\":[\"ViewId is required to create a view group.\"],\"1bOGPq\":[\"IS_CONFIG_VARIABLES_IN_DB_ENABLED is false on your server. Please add ENTERPRISE_KEY to your .env file manually.\"],\"1bQnL5\":[\"Text\"],\"1dgupQ\":[\"WorkspaceMember\"],\"1dsy9v\":[\"You do not have permission to update these fields: \",[\"fieldsList\"],\". Please contact your workspace administrator.\"],\"1evldO\":[\"Events linked to the list\"],\"1fFL4B\":[\"Connect is not allowed for \",[\"connectFieldName\"],\" on \",[\"objectMetadataNameSingular\"]],\"1fxsyJ\":[\"WorkflowAutomatedTrigger record position\"],\"1mnXbh\":[\"Resource path must not contain empty segments or trailing slashes\"],\"1r7kLp\":[\"Unsupported configuration type.\"],\"1ssKrE\":[\"Target relation field does not belong to the expected object\"],\"1t3DGy\":[\"Calendar event not found.\"],\"1yoHmO\":[\"Invalid filter parameter.\"],\"22Peto\":[\"The domain does not match your email domain.\"],\"26b8pD\":[\"Calendar field not found\"],\"2ACKTg\":[\"Function not found.\"],\"2BTedV\":[\"Default Campaign Layout\"],\"2ET75e\":[\"Cannot target a role owned by another application.\"],\"2LXGtF\":[\"Relation configuration is invalid.\"],\"2LlOmm\":[\"Reply\"],\"2NHP+l\":[\"Role permission flag with universal identifier \",[\"0\"],\" already exists\"],\"2OlYO4\":[\"Subject\"],\"2TPvIG\":[\"Permanently destroy \",[\"objectLabel\"]],\"2ZhYYy\":[\"Created field metadata, parent object metadata not found\"],\"2aIAwH\":[\"Json value for event details\"],\"2dNwZB\":[\"Related record not found.\"],\"2gzz0t\":[\"Workspace setup\"],\"2iURlq\":[\"No permissions are set for this role on the selected object. Please set object permissions first.\"],\"2jnsqJ\":[\"This role cannot be edited.\"],\"2kFzQB\":[\"Temporary file cannot be downloaded.\"],\"2m6Fru\":[\"Name \\\"\",[\"name\"],\"\\\" is not available\"],\"2mFkfl\":[\"Option id is invalid\"],\"2mZr45\":[\"Permission flag not found\"],\"2n/OzT\":[\"Summary\"],\"2oVE+z\":[\"Can't impersonate user via api key\"],\"2rU/w8\":[\"A view filter group error occurred.\"],\"2rlDLU\":[\"Default Workflow Version Layout\"],\"2sIVDj\":[\"Domain is already registered\"],\"2tgyTi\":[\"Json object to provide trigger\"],\"2ydSiw\":[\"Requested\"],\"2zDT7o\":[\"The campaign this message was sent as part of\"],\"3+GbNY\":[\"View to update not found\"],\"30wIOs\":[\"Message channel message association record position\"],\"34/Ymp\":[\"Customer\"],\"34hWb7\":[\"View group to destroy not found\"],\"38I6bM\":[\"Send Email\"],\"39y5bn\":[\"Friday\"],\"3DpUem\":[\"Calendar Channel Event Associations\"],\"3J2x1Q\":[\"Calendar channel not found.\"],\"3JzsDb\":[\"May\"],\"3KT/1G\":[\"Campaigns\"],\"3TjusZ\":[\"Time zone\"],\"3UUjIe\":[\"Configuration is required for front component widget\"],\"3VQj1J\":[\"A workflow\"],\"3WE+U+\":[\"Calendar event record position\"],\"3Xznjo\":[\"Call Recordings\"],\"3Zd7P4\":[\"Recipients\"],\"3a4HHd\":[\"Workflow run ended at\"],\"3cvUac\":[\"Members\"],\"3eKCDz\":[\"This domain is already registered as a custom domain.\"],\"3jX0AP\":[\"Deal\"],\"3l1ppY\":[\"View filter to delete not found\"],\"3nHyuH\":[\"The webhook request could not be processed.\"],\"3niIR5\":[\"Cannot modify predicate group belonging to a different role.\"],\"3q5jw3\":[\"This permission is already set for the role\"],\"3qYOk2\":[\"Permission flag not found.\"],\"3rJRbD\":[\"Opportunity owner\"],\"3uACdY\":[\"The workflow version name\"],\"3wAyvl\":[\"Email is required. Please provide a valid email address.\"],\"3zMs+f\":[\"View sort not found\"],\"3zRddX\":[\"Permission flag already exists.\"],\"4+wqNB\":[\"Message Folder\"],\"410QNy\":[\"Search field metadata to delete not found\"],\"43Mh2+\":[\"Draft Email\"],\"45baE2\":[\"Workflow\"],\"46ZD9h\":[\"Go to Experience Settings\"],\"475gCs\":[\"You have reached the maximum number of server transfers allowed in the last 30 days for this enterprise key. Please try again later.\"],\"48ceJ8\":[\"Calendar\"],\"48fVkh\":[\"The uploaded file is larger than declared.\"],\"4AomZC\":[\"Single sign-on authentication failed.\"],\"4CW4iW\":[\"This address cannot be removed from the suppression list.\"],\"4EGmy6\":[\"Label must not be empty\"],\"4EtFrA\":[\"Invalid day value. Should be integer greater than 1\"],\"4GaFCQ\":[\"First friendly message\"],\"4H8X9C\":[\"Calendar Event Participants\"],\"4LIgRz\":[\"Invalid event type.\"],\"4LVaa7\":[\"The request is too complex to process. Please try reducing the amount of requested root resolvers.\"],\"4LperZ\":[\"Actual recording end\"],\"4MWDA2\":[\"Invalid issuer URL.\"],\"4MiH8E\":[\"Account Owner\"],\"4OOQwW\":[\"Workflow version is required for workflow trigger items\"],\"4Pp2U8\":[\"Use as Draft\"],\"4R+xJM\":[\"Record not found.\"],\"4WLHxu\":[\"Number format\"],\"4XvK/4\":[\"Another application in this workspace has already registered a permission flag with this key.\"],\"4eM03h\":[\"Invalid filter: \\\"isEmptyArray\\\" operator requires a boolean\"],\"4ffNty\":[\"WorkflowAutomatedTrigger workflow\"],\"4hKZBf\":[\"Attachments linked to the company\"],\"4ib9PY\":[\"Object permission already exists\"],\"4kMeNM\":[\"You have reached the maximum number of license refreshes allowed today for this enterprise key. Please try again later.\"],\"4lgLew\":[\"February\"],\"4nPpGt\":[\"Transcript\"],\"4oDFCk\":[\"A view field group error occurred.\"],\"4pIUYY\":[\"Business\"],\"4rVmMh\":[\"Blocklists\"],\"4romcD\":[\"Other error\"],\"4tP6XL\":[\"Workflow run enqueued at\"],\"4wM9Cs\":[\"frontComponentId is required when engineComponentKey is FRONT_COMPONENT_RENDERER\"],\"4ysDL0\":[\"You can only update up to \",[\"QUERY_MAX_RECORDS\"],\" records at once.\"],\"50uIQG\":[\"Calendar Event Participants\"],\"52iQDS\":[\"Home\"],\"53pIyA\":[\"ObjectMetadataId is required to create a view.\"],\"54N0Kq\":[\"Timeline Activities linked to the task.\"],\"56bPee\":[\"Invalid value for actor.\"],\"56bSD0\":[\"Invalid application variable input.\"],\"5Buorv\":[\"Field type validation error.\"],\"5F02zD\":[\"This file format is not supported.\"],\"5I3Pop\":[\"Could not resolve standard relation object \\\"\",[\"standardObjectNameSingular\"],\"\\\" to provision default relations\"],\"5Io9Sh\":[\"Workspace not found for subscription event.\"],\"5MJQ4s\":[\"Application variable key is required\"],\"5MvgEo\":[\"This campaign's email content is invalid.\"],\"5PQwBy\":[\"Video recording\"],\"5VSRdB\":[\"A path segment exceeds the maximum length of 255 characters\"],\"5ZHOkh\":[\"Invalid object input.\"],\"5ZMHXg\":[\"No role found for this user in the workspace.\"],\"5cm5Hn\":[\"Field to update object metadata not found\"],\"5hxu+5\":[\"Recurring Event ID\"],\"5m/1Hh\":[\"Option value exceeds 63 characters\"],\"5phRcJ\":[\"Permission flag definition to update not found\"],\"5qj/ud\":[\"Invalid page layout tab data.\"],\"5r5YRW\":[\"You can only update one record with files field at once.\"],\"5rS7nl\":[\"Could not resolve the existing object to reconcile its INDEX label identifier view field\"],\"5rUZb3\":[\"Archived\"],\"5y3Wbw\":[\"Target object metadata not found for \",[\"connectFieldName\"]],\"5y41wK\":[\"Relation field target metadata not found\"],\"60o/+J\":[\"Go to Apps Settings\"],\"67YsL7\":[\"Tasks\"],\"68ze54\":[\"Skill not found.\"],\"6BBrjb\":[\"The default role for this workspace could not be found. Please contact support for assistance.\"],\"6BRvIC\":[\"Calendar end field must be a date or date time field\"],\"6EBM2x\":[\"A person's membership in a list\"],\"6GG2MJ\":[\"No identifier to search by was found.\"],\"6H9kMC\":[\"Query timed out. Please try again.\"],\"6Kufr1\":[\"Compose Email\"],\"6N5Pv5\":[\"The server's APP_VERSION is not a valid semver version. Self-hosted instances must configure a valid APP_VERSION.\"],\"6OzP7Y\":[\"Parent view filter group not found\"],\"6Plp3x\":[\"Response format with type \\\"json\\\" must include a schema\"],\"6RLdgl\":[\"\\\"\",[\"0\"],\"\\\" is not a valid sub-field of \\\"\",[\"1\"],\"\\\".\"],\"6Rq45N\":[\"Logic function not found.\"],\"6Sk/wo\":[\"Cannot create blocklist entry for another workspace member.\"],\"6WLJFQ\":[\"Invalid identity provider type.\"],\"6Z/zIt\":[\"This method is not allowed.\"],\"6ZqFBn\":[\"Runs\"],\"6bWuI/\":[\"Label is required.\"],\"6cVc+b\":[\"Identity provider not found.\"],\"6dP8sB\":[\"No trigger type provided\"],\"6ekAtL\":[\"This file upload has already been finalized.\"],\"6fc1FV\":[\"Logic function execution is disabled.\"],\"6kqLHf\":[\"Cannot complete operation due to related records.\"],\"6lmi/1\":[\"Marketing sending is on hold until the unsubscribe domain is verified.\"],\"6pJV03\":[\"Default values must be unique\"],\"6rLmLu\":[\"Multiple records found with the same unique field values for \",[\"conflictingFieldsValues\"],\". Cannot determine which record to update.\"],\"6sFS+I\":[\"Label cannot be empty\"],\"6unt40\":[\"Object targeted by field to create not found\"],\"6yZjO1\":[\"A higher version of this application is already installed. Downgrading is not allowed.\"],\"71MK9Q\":[\"Test Workflow\"],\"75hHpn\":[\"Field declared as label identifier not found\"],\"7A0rAw\":[\"Permission flag is still assigned to a role.\"],\"7Arr+N\":[\"Group by field is required for pie chart\"],\"7B5mQ7\":[\"Message\"],\"7Dcn9C\":[\"Update DateTime\"],\"7JaPm8\":[\"Cannot modify predicate to change its role\"],\"7LMaUn\":[\"View field position cannot be lower than label identifier view field position\"],\"7OY0g+\":[\"User Id\"],\"7OZNMg\":[\"Field permission to delete not found\"],\"7QlaTN\":[\"Page layout widget to delete not found\"],\"7SBmhB\":[\"Invalid logic function input.\"],\"7Ud2p0\":[\"Person\"],\"7V9t6v\":[\"Task\"],\"7XNKWU\":[\"Standard agents cannot be modified.\"],\"7YLecU\":[\"Queued\"],\"7Z7wx7\":[\"Two-factor authentication setup is required.\"],\"7ZdJO2\":[\"This operation is not allowed.\"],\"7Zqw3n\":[\"Sent at\"],\"7cWO6W\":[\"Field type TS_VECTOR must be a system field\"],\"7f5dRA\":[\"This index does not exist or has already been deleted.\"],\"7fdI39\":[\"Export \",[\"objectLabel\"]],\"7g3N+g\":[\"Cancel Edition\"],\"7jCAIC\":[\"System\"],\"7jUWQ+\":[\"View field metadata already exists\"],\"7s8NoS\":[\"The \",[\"reservedViewKey\"],\" view key is reserved for the engine-owned default view; remove the key from the view definition\"],\"7wxAZI\":[\"Workspace schema not found.\"],\"7xBvLT\":[\"List\"],\"7xc88z\":[\"Delete \",[\"objectLabel\"]],\"8/hqGh\":[\"Task attachments\"],\"83atrc\":[\"Relation is not enabled for this field.\"],\"84/Dko\":[\"You can merge up to \",[\"MUTATION_MAX_MERGE_RECORDS\"],\" records at once.\"],\"869Uds\":[\"Content contains a URL with a dangerous protocol.\"],\"86G6IW\":[\"Handle\"],\"8BEhOO\":[\"Preferred interface scale\"],\"8Dzcmh\":[\"Invalid workflow version.\"],\"8FSeC1\":[\"Linked Object Metadata Id\"],\"8G4vdK\":[\"Invalid configuration type for front component widget \\\"\",[\"title\"],\"\\\". Expected FRONT_COMPONENT, got \",[\"configurationTypeString\"]],\"8G8dJM\":[\"Raw SQL queries are not allowed.\"],\"8I9eQA\":[\"Calendar Channel Event Associations\"],\"8KDEDj\":[\"Object permission to delete not found\"],\"8KxLoh\":[\"Invalid filter value\"],\"8O6Zab\":[\"Application ID\"],\"8OyqfS\":[\"Event external ID\"],\"8Q5bRY\":[\"Action Needed to Set Password\"],\"8RwcFg\":[\"Workspace is suspended.\"],\"8UWeLh\":[\"Tab not found for widget duplication.\"],\"8XvmDU\":[\"Search vector field must belong to the same object\"],\"8achGR\":[\"This public domain is already registered.\"],\"8brwDQ\":[\"Calendar event\"],\"8gi8vY\":[\"Save\"],\"8knMLv\":[\"Invalid event input.\"],\"8mCUlb\":[\"Billing\"],\"8mkDdX\":[\"Field permission not found\"],\"8oFGnQ\":[\"Filtering or ordering through this relation is not supported.\"],\"8pSVh1\":[\"Built component path is invalid\"],\"8pqpv/\":[\"Your app version is out of date. Please refresh the page to continue.\"],\"8sAaBn\":[\"Fields widget not found\"],\"8sTsIR\":[\"This domain is already taken.\"],\"8vxOU0\":[\"Custom domain not found.\"],\"8wovNr\":[\"You cannot remove the admin role from the last administrator. Please assign another administrator first.\"],\"9+tIiJ\":[\"Recording request status\"],\"9/BbL9\":[\"View sort with same fieldMetadataId and viewId already exists\"],\"978SFC\":[\"The response was interrupted before it could finish.\"],\"98euLh\":[\"Opportunity\"],\"994EW7\":[\"Default Opportunity Layout\"],\"99gsJ/\":[\"This column is already marked as unique. Toggle the field's \\\"Unique\\\" off first if you want to manage the constraint here.\"],\"9BQITM\":[\"A recording of a meeting\"],\"9HjeLQ\":[\"Fields widget has no associated view\"],\"9J2vmW\":[\"This API key has no role assigned.\"],\"9JKJzc\":[\"Message Thread\"],\"9LL5PC\":[\"Related user email address\"],\"9Lkkre\":[\"Input exceeds maximum length.\"],\"9N+p+g\":[\"Business\"],\"9QHVZ2\":[\"User already has a role assigned.\"],\"9QTny9\":[\"Query failed.\"],\"9RXJsb\":[\"Would not reach this\"],\"9SKooF\":[\"Kanban main group by field must be a SELECT or a many-to-one relation field\"],\"9T+AIN\":[\"Your team member responsible for managing the company account\"],\"9Waa3Q\":[\"NoteTarget target\"],\"9XMTpT\":[\"ViewId is required to create a view filter group.\"],\"9ZQkou\":[\"Role \\\"\",[\"roleLabel\"],\"\\\" cannot be assigned to users\"],\"9bYo5E\":[\"The webhook request could not be authenticated.\"],\"9bu19u\":[\"No input provided in form step\"],\"9cFndZ\":[\"AI\"],\"9er1TA\":[\"A nested relation widget must use the table layout.\"],\"9fX6Jd\":[\"Configuration is required for graph widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"9fdUrJ\":[\"iCal UID\"],\"9fr/BM\":[\"The file is empty or exceeds the maximum allowed size.\"],\"9gedIx\":[\"View filter to destroy not found\"],\"9iQhTU\":[\"No provenance attestation was found for the published package. Publish it with npm trusted publishing from GitHub Actions, then try again.\"],\"9lqqpY\":[\"Invalid email address.\"],\"9mCrQp\":[\"User workspace role configuration not found.\"],\"9mW6V7\":[\"Invalid target URL. Please provide a valid HTTP or HTTPS URL.\"],\"9mlimr\":[\"Is Full Day\"],\"9nbPBZ\":[\"Stop\"],\"9qtW5o\":[\"Application variable not found.\"],\"9sx+WQ\":[\"Insufficient permissions for email domain.\"],\"9uirl8\":[\"Circular dependency detected in view filter group hierarchy\"],\"9ur990\":[\"Relations\"],\"9uvvYS\":[\"Calendar end field metadata not found\"],\"9uz7OL\":[\"Invalid configuration type for standalone rich text widget \\\"\",[\"widgetTitle\"],\"\\\". Expected STANDALONE_RICH_TEXT, got \",[\"configurationTypeString\"]],\"9vB6Yo\":[\"Step logs\"],\"9vWP4H\":[\"Internal name of the campaign\"],\"9xsjn9\":[\"Invalid hour value. Should be integer greater than 1\"],\"9xwSh5\":[\"Files\"],\"A/01NQ\":[\"Text\"],\"A1taO8\":[\"Search\"],\"A2VI9D\":[\"Field permission with universal identifier \",[\"0\"],\" already exists\"],\"A4Ohxb\":[\"Provided phone number is invalid \",[\"number\"]],\"A7aUMa\":[\"Front component is required for front component renderer items\"],\"ACUSmL\":[\"Label identifier view field cannot be deleted\"],\"ADIjmK\":[\"Junction configuration is only valid for ONE_TO_MANY relations\"],\"ADtO2E\":[\"This connection is not allowed.\"],\"AEhPtE\":[\"Edit Dashboard\"],\"AGMd5o\":[\"This instance did not report a server identifier. Set SERVER_ID on this instance, then try again.\"],\"AHuHeg\":[\"Model ID cannot be empty\"],\"AKIPVa\":[\"This field name is not available.\"],\"AKLZnk\":[\"Your payment method was declined. Please update it and try again.\"],\"AKqp4k\":[\"Object not found.\"],\"AOrWvh\":[\"Timeline activity record position\"],\"AQyr9X\":[\"Cannot delete, please update the label identifier field first\"],\"ARd2n6\":[\"Message Channel Message Association\"],\"ATrBjm\":[\"Opportunity record position\"],\"AV0hPh\":[\"Object already has a view with the \",[\"reservedViewKey\"],\" key\"],\"AXZsy/\":[\"Invalid relation creation payload\"],\"AY5LqB\":[\"Attachments linked to the dashboard\"],\"Aam+mb\":[\"Name is not synced with label.\"],\"AcnTuz\":[\"Email already in use\"],\"AcyaP/\":[\"Route already exists.\"],\"AfxLzg\":[\"Front component must not be set for workflow trigger items\"],\"AgbRjM\":[\"Field label identifier is required\"],\"AhhOBx\":[\"Associated User Id\"],\"Ai7knL\":[\"Feature configuration not found.\"],\"AiFXmG\":[\"Expected the same constraint fields to be used consistently across all operations for \",[\"connectFieldName\"],\".\"],\"AiP86c\":[\"The workspace member who last updated the record\"],\"An2IAh\":[\"Subdomain not found.\"],\"AnKsxx\":[\"Active\"],\"ApP70c\":[\"Invalid setting type provided in cron trigger\"],\"ApXfXx\":[\"Timeline Activity\"],\"AprfQL\":[\"View field to update parent view not found\"],\"ArAFBo\":[\"Enterprise validity token is not valid.\"],\"ArK4kh\":[\"Work\"],\"Ara8xP\":[\"Body is required for standalone rich text widget\"],\"AtTsau\":[\"All \",[\"objectLabelPlural\"]],\"AvDRPM\":[\"Event name\"],\"AzylSS\":[\"Workflow run limit reached.\"],\"AzzING\":[\"A hand-picked audience of people\"],\"B/prgH\":[\"Needs Action\"],\"B3CG/U\":[\"We couldn't connect to your CalDAV server. Please check your server settings and try again.\"],\"B4Eu7x\":[\"Unsupported field metadata type.\"],\"B4yoLq\":[\"Row level permission predicate with this universal identifier already exists\"],\"B6P+4g\":[\"A note\"],\"B9dbXq\":[\"Multiple subscriptions found where one was expected.\"],\"BBXuRb\":[\"Email already verified.\"],\"BCRQC8\":[\"See deleted \",[\"objectLabelPlural\"]],\"BECIbc\":[\"Ended At\"],\"BEtj6u\":[\"Role name is invalid\"],\"BHDATQ\":[\"View not found after upsert\"],\"BIxgma\":[\"Unknown permission required.\"],\"BKhayt\":[\"Go to Calendars Settings\"],\"BKvuAq\":[\"Approved access domain has already been validated\"],\"BQ4MUY\":[\"This record cannot be deleted because it is still referenced by other records.\"],\"BUBVGN\":[\"Flow\"],\"BV/hGy\":[\"Meeting title from the calendar event\"],\"BWZaOR\":[\"See Active Version\"],\"BXtAxc\":[\"Duplicated option \",[\"field\"]],\"BZbxut\":[\"Message folder not found.\"],\"BeCo7/\":[\"Campaign lifecycle status\"],\"BgSFod\":[\"Invalid value for JSON.\"],\"BgYg6s\":[\"Email\"],\"Bj1WZ+\":[\"Invalid viewUniversalIdentifier for fields widget \\\"\",[\"widgetTitle\"],\"\\\". Expected a valid UUID\"],\"Bk+qoW\":[\"Access token not found.\"],\"BksDhG\":[\"Stopping\"],\"BlbMIB\":[\"Destroy\"],\"Bluaux\":[\"Insufficient permissions to access calendar.\"],\"BmtSAK\":[\"engineComponentKey is required\"],\"BqBYOO\":[\"See Active Version\"],\"BuFYaR\":[\"From\"],\"Bv/LBb\":[\"Data structure is invalid.\"],\"BwauV3\":[\"Workflow Automated Trigger\"],\"BxFH1y\":[\"Search field metadata already exists\"],\"Bxs7Ar\":[\"Owned opportunities\"],\"BzEbyv\":[\"Front component name is required\"],\"C4+axZ\":[\"Page layout not found.\"],\"C9jd/U\":[\"You do not have permission to perform this workflow action.\"],\"CB6eF8\":[\"Timeline\"],\"CBMkZg\":[\"Members\"],\"CDiGGx\":[\"Handle aliases are required.\"],\"CHUa/x\":[\"Workflow run started at\"],\"CJTgMk\":[\"People\"],\"CLcjHT\":[\"Campaign\"],\"CMPgl1\":[\"Sent with errors\"],\"CN5Up3\":[\"Outgoing\"],\"CO40Hk\":[\"Failed to generate SDK client.\"],\"CQ5DXU\":[\"An object with this name already exists.\"],\"CTcVpP\":[\"Sending is currently suspended for this email domain.\"],\"CUICZ7\":[\"User's preferred date format\"],\"CV1zCG\":[\"Primary axis group by field is required for bar chart widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"CZMQSV\":[\"Attachment record position\"],\"Capzni\":[\"Public domain URL is not defined. Please set the PUBLIC_DOMAIN_URL environment variable\"],\"Ce++y2\":[\"Kanban main group by field must be a select or a many-to-one relation field\"],\"Cei2D0\":[\"Bcc\"],\"ChJFls\":[\"A network error occurred while accessing calendar.\"],\"CmQEdn\":[\"Conflicting phone country code.\"],\"CnNFfU\":[\"Calendar sync error.\"],\"Cr+NSQ\":[\"Failed to update field permission.\"],\"CrwP9A\":[\"Executed by\"],\"CxYc3X\":[\"List member record position\"],\"D+NlUC\":[\"System\"],\"D+muK8\":[\"Attachment file\"],\"D/IcuN\":[\"Invalid agent input.\"],\"D/w+3o\":[\"The package registry could not be reached to verify the package provenance. Try again later.\"],\"D0Kuk1\":[\"A front component with this name already exists.\"],\"D2A/H0\":[\"No permissions found in datasource.\"],\"D5gHL1\":[\"Widget row exceeds grid height\"],\"D6Tjt0\":[\"Index with same universal identifier already exists\"],\"D9hzmE\":[\"Invalid value for currency.\"],\"D9pZ2l\":[\"Calendar widget views only support the month layout\"],\"DAGexD\":[\"Cannot modify predicate belonging to a different object.\"],\"DBC3t5\":[\"Sunday\"],\"DBEHo4\":[\"Role\"],\"DBHTm/\":[\"August\"],\"DDKhmc\":[\"Billing product not found.\"],\"DE/icK\":[\"Application registration not found.\"],\"DEJJoY\":[\"This server key is already claimed by another workspace.\"],\"DGW5iN\":[\"Approved access domain does not match email domain\"],\"DH8Ofc\":[\"Invalid connected account input.\"],\"DICk6O\":[\"Meet Link\"],\"DIjcDc\":[\"Custom command menu item cannot be reset to default.\"],\"DRukEV\":[\"Calendar start and end fields must have the same type\"],\"DSmmKK\":[\"Task due date\"],\"DU4jcg\":[\"FieldMetadataId is required to create a view group.\"],\"DWJeR1\":[\"One of the selected fields does not belong to this object.\"],\"DXyYuh\":[\"View field to destroy not found\"],\"DZ9raS\":[\"Search\"],\"Db+5dv\":[\"Declined\"],\"Ddadau\":[\"General\"],\"DjvRWr\":[\"Completed\"],\"DmYwVp\":[\"Your workspace is paused — reactivate to keep your data\"],\"DnqPI8\":[\"Full path\"],\"Do5gvp\":[\"Invalid subscription item.\"],\"Dpef1i\":[\"Workflow linked to the run.\"],\"DpnDl6\":[\"Payload is required for navigation items\"],\"Dq8Em0\":[\"Max number of files is \",[\"filesFieldMaxNumberOfValues\"]],\"DqglnT\":[\"Search field metadata with id \",[\"searchFieldMetadataId\"],\" already exists\"],\"Dr0xtb\":[\"Names are not synced with labels\"],\"Durlx6\":[\"View field group to destroy not found\"],\"DvpBQM\":[\"HTTP Request\"],\"Dvwk3g\":[\"The subscription is no longer available on the provider.\"],\"Dwa/Bm\":[\"A valid link is required for LINK type\"],\"Dx5QXJ\":[\"Description\"],\"E+ckGV\":[\"MCP & APIs\"],\"E+iJnK\":[\"Navigation menu item hierarchy exceeds maximum depth.\"],\"E7Dsiq\":[\"Failed to create evaluation. Please try again.\"],\"E7F6q9\":[\"Invalid workflow input.\"],\"E8vJ0A\":[\"Object related to field to update not found\"],\"EBZdX5\":[\"Unsupported cron schedule type\"],\"ECRKYR\":[\"Object already exists\"],\"EESfI5\":[\"Record does not satisfy security constraints.\"],\"EFQeXU\":[\"You do not have permission to access this feature. Please contact your workspace administrator for access.\"],\"EHZMfR\":[\"User friendly error message\"],\"EIb+ss\":[[\"0\"],\" must be a one-to-many relation field.\"],\"EJUSll\":[\"The initial version of a workflow can not be deleted\"],\"EN2+6i\":[\"Cannot delete standard skill\"],\"ENVlLK\":[\"View filter group cannot be its own parent\"],\"EVUobL\":[\"Workspace member avatar\"],\"EWa5LG\":[\"Campaigns sent to this list\"],\"EabrTR\":[\"Options are required for enum fields\"],\"Ec/Q9n\":[\"State of the workflow run\"],\"EeAlta\":[\"Roles\"],\"Ef7StM\":[\"Unknown\"],\"EhVOPs\":[\"Workspace not found.\"],\"EisfDV\":[\"Agent with name \\\"\",[\"name\"],\"\\\" already exists\"],\"EkH9pt\":[\"Update\"],\"EmFJ+H\":[\"Message\"],\"Enmszs\":[\"payload is required when engineComponentKey is NAVIGATION\"],\"EqqZEp\":[\"Assignee\"],\"EtSC0Y\":[\"Address\"],\"EwXumf\":[\"Index field has an invalid reference\"],\"ExheIC\":[\"Too many records to update at once.\"],\"Ey+Eyp\":[\"End Date\"],\"EzGlkq\":[\"Environment variable CLOUDFLARE_API_KEY must be defined to use this feature.\"],\"F1qT/F\":[\"Running\"],\"F35apa\":[\"Route not found.\"],\"F4A9mL\":[\"View not found\"],\"F4T0xg\":[\"From address\"],\"F6OLoA\":[\"Field declared as image identifier not found\"],\"F8Sp1a\":[\"The current statuses of the workflow versions\"],\"F8wyAu\":[\"Person\"],\"F91dYi\":[\"Lists\"],\"FAPLrc\":[\"Company\"],\"FCKoEz\":[\"Configuration is required for widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"FCcwXv\":[\"TS_VECTOR field metadata must belong to the same object\"],\"FNftTK\":[\"Billing plan not found.\"],\"FOEWHl\":[\"The singular and plural names cannot be the same for an object\"],\"FPbf64\":[\"Image\"],\"FUPyWG\":[\"You do not have access to this connected account.\"],\"FVCXUT\":[\"A required field is missing.\"],\"FVjxXL\":[\"Body\"],\"FdUbPo\":[\"Default value must be a string\"],\"Fep47m\":[\"Could not find \",[\"targetMetadataName\"],\" for given \",[\"foreignKey\"]],\"FfjqDg\":[\"People linked to the company.\"],\"FhKIiF\":[\"Version trigger\"],\"FiYPA2\":[\"Failed to upsert record.\"],\"Fpy/K1\":[\"View field to update not found\"],\"FxFlC4\":[\"Cannot add permissions on system objects.\"],\"G3myU+\":[\"Tuesday\"],\"G5/lsy\":[\"Group by field is required for pie chart widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"G58vIN\":[\"Display Name\"],\"G6wJK8\":[\"Minute value cannot exceed 60. For intervals greater than 60 minutes, use the \\\"Hours\\\" trigger type or a custom cron expression\"],\"G768/0\":[\"denied\"],\"GAfs9e\":[\"Attachments linked to the workflow\"],\"GEN5Cv\":[\"This user is already a member of the workspace.\"],\"GFC6Lh\":[\"Fields\"],\"GFNLkz\":[\"Request Status\"],\"GFYy9y\":[\"Invalid value for links.\"],\"GGNmm+\":[\"Default value \\\"\",[\"defaultValue\"],\"\\\" must be one of the option values\"],\"GJ1sW1\":[\"Activate Workflow\"],\"GLmyCK\":[\"Invalid value for position: \\\"\",[\"inspectedValue\"],\"\\\"\"],\"GQ9t8D\":[\"Command menu item not found.\"],\"GRxWmN\":[\"List of opportunities for which that person is the point of contact\"],\"GRz5NM\":[\"Invalid workflow step request.\"],\"GcU04G\":[\"Page layout widget not found.\"],\"GekZDw\":[\"The agent you are looking for could not be found. It may have been deleted or you may not have access to it.\"],\"GhVI/u\":[\"Function is not ready.\"],\"Gjk0so\":[\"URL must be a string\"],\"GjtAeJ\":[\"Navigate to previous \",[\"objectLabelSingular\"]],\"GkcfmO\":[\"User already exists\"],\"Gq6aJw\":[\"Event ID\"],\"GtrALl\":[\"Calendar provider is not supported.\"],\"GuGzWG\":[\"Deactivated\"],\"GvmK2O\":[\"Opportunity stage\"],\"GxRBGY\":[\"Navigate to next \",[\"objectLabelSingular\"]],\"Gy0Tk5\":[\"User's preferred number format\"],\"GzthLy\":[\"View filter to update not found\"],\"H+ZNr6\":[\"The file has not been uploaded yet. Please upload it before confirming.\"],\"H1P40W\":[\"Not started\"],\"H2SymB\":[\"Save Campaign\"],\"H8j7uw\":[\"Standard skills cannot be modified.\"],\"HBfLro\":[\"Row level permission predicate group not found.\"],\"HC18ok\":[\"A path segment contains invalid characters. Only alphanumeric, dots, dashes and underscores are allowed\"],\"HCcqwM\":[\"Discard Draft\"],\"HDo5ie\":[\"Cannot modify predicate to change its object\"],\"HKHHTk\":[\"Name must be in camelCase format.\"],\"HKfT9k\":[\"Calendar Channel Event Associations\"],\"HOWEGX\":[\"Bulk update of blocklist entries is not allowed.\"],\"HUJCXI\":[\"This file has already been uploaded.\"],\"HVTHL6\":[\"Billing meter not found.\"],\"HVajHk\":[\"Could not find index related object metadata\"],\"HZ45ox\":[\"Provided country code and calling code are conflicting\"],\"HZYS1p\":[\"Default Message Channel Message Association Layout\"],\"Hbe5jq\":[\"Blocklist handle is required.\"],\"HfhmrS\":[\"Failed to load queue jobs. Please try again later.\"],\"HhN1Bv\":[\"View already exists\"],\"HiaWGB\":[\"Invalid parameters provided.\"],\"HijTmf\":[\"A skill with this name already exists\"],\"Hjj8vT\":[\"A duplicate entry was detected.\"],\"Hl6cv2\":[\"Index related object not found\"],\"HmNKeM\":[\"Relation filter is misconfigured\"],\"Ho3UAo\":[\"Function execution limit reached.\"],\"HtdAll\":[\"Timeline Activities linked to the note.\"],\"HvJTSR\":[\"The person in the list\"],\"Hw0zHo\":[\"Draft\"],\"Hxo3YN\":[\"Folder path must not contain a file extension — use deleteFile for file paths\"],\"I+2uUa\":[\"Messages\"],\"I+rK0u\":[\"Address of the company\"],\"I2EmgT\":[\"Cannot update standard skill properties (only activation/deactivation allowed)\"],\"I4caYo\":[\"Invalid verification code.\"],\"I5zDPD\":[\"To do\"],\"I6oEwz\":[\"Body is required for standalone rich text widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"I71ur2\":[\"Failed to create record.\"],\"I77mP4\":[\"Opportunities owned by the workspace member\"],\"I7Jff2\":[\"Filename must have an extension\"],\"IAfaPi\":[\"A standard object required to provision default relations could not be found\"],\"IBJ/4j\":[\"Proposal\"],\"IBmChW\":[\"This endpoint is no longer available on /s/. Use the dedicated public domain URL instead.\"],\"IDMgr/\":[\"Cannot have more than one active workflow version\"],\"IMF5Er\":[\"The people this campaign was sent to\"],\"IP+RN5\":[\"SSO configuration error.\"],\"IPm2ty\":[\"Permission flag definition not found\"],\"ISCcTE\":[\"No role found for user.\"],\"ITCVsf\":[\"Ask AI\"],\"ITue4V\":[\"Index field references incorrect index metadata\"],\"IU78DA\":[\"The application does not have a valid role assigned. Please check your application configuration.\"],\"IakS6+\":[\"Date format\"],\"IaspUK\":[\"A page layout navigation menu item can only point to a standalone page\"],\"Ib2gge\":[\"Lists the contact belongs to\"],\"IdEnkZ\":[\"This workspace's upgrade state could not be determined. Please try again once the workspace has finished upgrading.\"],\"Ii4ysu\":[\"View filter group already exists\"],\"Ii6d/e\":[\"Navigation menu item type is required\"],\"Ik1o4d\":[\"Email domain not found.\"],\"IlaQdj\":[\"At least one relation is required\"],\"IlqwEl\":[\"Blocklist\"],\"InEqWf\":[\"View sort with invalid direction\"],\"IptMRL\":[\"Invalid configuration type for widget\"],\"IsdR/t\":[\"Function is currently building.\"],\"IuDcjw\":[\"This field permission is already set for the role\"],\"Iy9pZw\":[\"This \",[\"fieldLabel\"],\" value is already in use. Please check your data and try again.\"],\"IyZnrr\":[\"Message Synced with a Message Channel\"],\"IymH4t\":[\"Domain already used for workspace custom domain\"],\"Izdz+Y\":[\"This API Key has been revoked and can no longer be used.\"],\"J++KJc\":[\"Calendar event participants\"],\"J+VVwG\":[\"Front component not found.\"],\"J+cH9z\":[\"Test user friendly message\"],\"J0OIhA\":[\"Credit grant not found.\"],\"J1UlII\":[\"Insufficient permissions.\"],\"J1prza\":[\"The unsubscribe topic this campaign was sent under\"],\"J3xD/M\":[\"Calendar field must be a date or date time field\"],\"J4IqxN\":[\"Field permission for this role, object and field already exists\"],\"J4hC2m\":[\"Field used for full-text search\"],\"J5Vm4Q\":[\"Your billing subscription is corrupted. Please contact support.\"],\"J7dFKa\":[\"Client credentials are not configured for this OAuth provider.\"],\"J8ljUF\":[\"The company's total annual revenue\"],\"J9favo\":[\"Max number of files is \",[\"maxNumberOfValues\"],\" for field \\\"\",[\"fieldName\"],\"\\\"\"],\"JCqfz6\":[\"Response format with type \\\"text\\\" should not include a schema\"],\"JEcSer\":[\"Contact\"],\"JKjfHC\":[\"The company Linkedin account\"],\"JWCRoS\":[\"Recording summary\"],\"JYc1v3\":[\"Workspace not found\"],\"JYntnV\":[\"A connection provider with this name already exists for this application\"],\"JZB2eY\":[\"One or more records were not found.\"],\"JZUzbz\":[\"Failed count\"],\"JaflDh\":[\"Value \\\"\",[\"stringifiedValue\"],\"\\\" of a chart filter of widget \\\"\",[\"widgetTitle\"],\"\\\" is not valid for operand \\\"\",[\"operand\"],\"\\\" on field type \\\"\",[\"filterType\"],\"\\\". \",[\"hint\"]],\"JdAvYa\":[\"View group to delete not found\"],\"Jeb8PZ\":[\"Timeline Activities\"],\"JhktJw\":[\"Calendar view must have a calendar layout\"],\"Jk7iDd\":[\"Company\"],\"JmuFK8\":[\"Invalid configuration type for standalone rich text widget\"],\"Jmzgho\":[\"This API Key has expired. Please create a new one.\"],\"JpA/cO\":[\"Opportunity\"],\"Jq9kVe\":[\"Id\"],\"JrAl/I\":[\"Field metadata not found.\"],\"JrNGiU\":[\"Canceled\"],\"JrteyL\":[\"Phones\"],\"Jx3FUl\":[\"The date the message was received\"],\"JytrLO\":[\"Assigned to Me\"],\"JzXn58\":[\"Only applications published to npm can be claimed this way.\"],\"K+Gn31\":[\"Role target already exists\"],\"K+YEBR\":[\"Application variable key must be unique\"],\"K02c+I\":[\"This API key has been revoked.\"],\"K1hWwv\":[\"Index must have at least one field\"],\"K1qNjB\":[\"A person\"],\"K3jNeK\":[\"Search Help Center\"],\"K48BuZ\":[\"Your GitHub account does not own the organization that publishes this package. If you are an owner, make sure you granted this app access to the organization on GitHub's authorization screen (Organization access section).\"],\"K6qzz4\":[\"Field to update not found\"],\"K9t/v4\":[\"Failed\"],\"KCzMA6\":[\"Blocklist\"],\"KEsv0p\":[\"Avatar File\"],\"KFbNbH\":[\"Object with same universal identifier already exists\"],\"KHK54G\":[\"Object targeted by the relation not found\"],\"KHtcGn\":[\"The calendar provider rejected the event creation request.\"],\"KJBRRe\":[\"Is canceled\"],\"KJxGJb\":[\"The workflow version status\"],\"KNBagU\":[\"Permission flag definition with key \\\"\",[\"0\"],\"\\\" is already registered in this workspace.\"],\"KNrRpL\":[\"Invalid argument provided.\"],\"KO7j/3\":[\"Workflow runs linked to the version.\"],\"KPIUoa\":[\"Response format type must be either \\\"text\\\" or \\\"json\\\"\"],\"KPx1UV\":[\"Not found\"],\"KSK8fH\":[\"Workflow edge not found.\"],\"KUnzGr\":[\"A valid targetObjectMetadataUniversalIdentifier is required for RECORD type\"],\"KWwTpO\":[\"Attachments linked to the opportunity\"],\"KX0Su8\":[\"Received At\"],\"KYP1t5\":[\"Form action must have at least one field\"],\"KZhbBk\":[\"Invalid configuration type for iframe widget\"],\"KcnT7Q\":[\"You cannot remove settings access from your own role. Ask another administrator to make this change.\"],\"KfFFWa\":[\"Calendar events\"],\"Kfy/ML\":[\"Index already exists\"],\"KnnILY\":[\"Record table widget not found\"],\"KoDdqN\":[\"This role cannot be modified because it is a system role. Only custom roles can be edited.\"],\"KocG+N\":[\"Messages\"],\"KpmBDs\":[\"View field group to update not found\"],\"Kub9t0\":[\"Option value must be a string of at least one character\"],\"KujtjC\":[\"Find\"],\"KvWKJI\":[\"An internal error occurred while handling encrypted data.\"],\"KwGZ0m\":[\"Could not found updated field metadata\"],\"Kx3ltI\":[\"Where records open for objects that follow the member's preference\"],\"L1uQuF\":[\"Composite type not found.\"],\"L7/nko\":[\"Message Channel Message Association Message Folders\"],\"L7qZ9I\":[\"PAGE_LAYOUT navigation menu item must reference a STANDALONE_PAGE page layout\"],\"L8AY9P\":[\"Relation filters can only traverse one relation deep\"],\"L8fEEm\":[\"Group\"],\"LB4qX/\":[\"Authentication is not enabled with this provider.\"],\"LElbiP\":[\"TaskTarget record position\"],\"LI7Gn/\":[\"Invalid permission flag key.\"],\"LI7tcn\":[\"Billing price not found.\"],\"LIPsWu\":[\"Cannot create multiple draft versions for the same workflow\"],\"LM08/z\":[\"Invalid page layout data.\"],\"LT5dFi\":[\"Email can only be updated when you belong to a single workspace.\"],\"LTouJ4\":[\"Page layout tab to destroy not found\"],\"LVKOhh\":[\"Search\"],\"LVUF8D\":[\"Record table widget has no associated view\"],\"LWpSNC\":[\"Cannot update standard permission flag definition\"],\"LXazcQ\":[\"Opportunities\"],\"LZf/L8\":[\"Could not find flat entity in maps\"],\"LZngY5\":[\"Go to Accounts Settings\"],\"Lcqv5g\":[\"Morph relation field must have a morph id\"],\"LdhPiK\":[\"The field you are trying to set permissions for could not be found. It may have been deleted.\"],\"LeIJhm\":[[\"fieldType\"],\" fields cannot have a default value.\"],\"Lf8I7I\":[\"Logic function with same universal identifier already exists\"],\"Lgr7Gd\":[\"List record position\"],\"LhHidH\":[\"Search vector field not found\"],\"Ljqo/T\":[\"Field metadata to update not found\"],\"Lmx0IG\":[\"Your application's production dependencies are too large to install. Move packages that are not imported by your logic functions (UI libraries, dev tooling) out of \\\"dependencies\\\".\"],\"Ln7ys4\":[\"Day First\"],\"LnV8zi\":[\"No active subscription found.\"],\"LphwoX\":[\"Is canceled\"],\"Lq9KTr\":[\"Invalid email or domain.\"],\"LrPIBF\":[\"Workflow version must not be set for front component renderer items\"],\"LtsBYU\":[\"This variable can only be set via environment.\"],\"LzM6pP\":[\"Message Channel Id\"],\"M10it4\":[\"Test error\"],\"M1ZSSL\":[\"Failed to create function.\"],\"M1he8p\":[\"You don't have permission to create workspace-level views.\"],\"M3UdIL\":[\"Handle\"],\"M4sb1B\":[\"Field value is required\"],\"M68C8m\":[\"Too many requests. Please try again later.\"],\"M7KWZV\":[\"View kanban aggregate field metadata not found\"],\"M8jvbm\":[\"Sent count\"],\"MBdUff\":[\"Failed to delete record.\"],\"MBpeQ6\":[\"Invalid hour value. Should be integer between 0 and 23\"],\"MGbEFN\":[\"View group metadata already exists\"],\"MIto3A\":[\"Failed to extract SDK client archive.\"],\"MK876/\":[\"Meet Link\"],\"MKdH/S\":[\"OAuth \",[\"label\"],\" is required\"],\"MKqbeR\":[\"This field cannot be modified.\"],\"MLNdvD\":[\"Message Thread\"],\"MPdWmx\":[\"Widget position type must match the tab layout mode\"],\"MPt365\":[\"Field metadata not found\"],\"MQn14a\":[\"The app source channel does not match the expected type.\"],\"MTdK9i\":[[\"0\"],\" must be a one-to-many or many-to-one relation field.\"],\"MU8Slt\":[\"Resolver logic function returned an invalid result.\"],\"MUk11c\":[\"Bounced count\"],\"MW8RsI\":[\"The list this campaign was sent to\"],\"MWAUHo\":[\"No pattern provided in CUSTOM cron trigger\"],\"MYdvBz\":[\"Too many records affected.\"],\"MYgdAv\":[\"Email domain configuration error.\"],\"MZxGED\":[\"Creation date\"],\"MaFFIW\":[\"Invalid field input.\"],\"Md/2jb\":[\"Unsupported composite column type.\"],\"MhPwKU\":[\"Email group is not configured on this server.\"],\"MkIaen\":[\"Filter operand is not supported for this field type\"],\"MnHbVB\":[\"Invalid value for date-time: \\\"\",[\"inspectedValue\"],\"\\\". Expected format: 'YYYY-MM-DDTHH:mm:ssZ'\"],\"MnOwTp\":[\"Object related to updated field does not have a label identifier\"],\"MniXaX\":[\"Option id is required\"],\"MovvuJ\":[\"Logic function cannot be in PREBUILT mode without a fresh build and a checksum\"],\"MvTCyk\":[\"Role not found\"],\"Mwvtvf\":[\"Many validation errors\"],\"MyJhTw\":[\"API key not found.\"],\"N/EFgn\":[\"We couldn't install \\\"\",[\"applicationDisplayName\"],\"\\\" because some of its metadata could not be applied to your workspace.\"],\"N4sZ6H\":[\"Display Name\"],\"N63rng\":[\"Thread External Id\"],\"N6YN7J\":[\"frontComponentId must not be set for engine component key \",[\"engineComponentKey\"]],\"NAoJAX\":[\"WorkspaceId is required to create a view group.\"],\"NCkLG1\":[\"Filter value is not valid for this operand\"],\"ND12UB\":[\"Recipients\"],\"NELxnm\":[\"File\"],\"NFhGiX\":[\"Output field names can only contain letters, numbers, underscores, dots or hyphens (max 64 characters).\"],\"NGL+Sl\":[\"Circular dependency detected in navigation menu item hierarchy\"],\"NJT8W8\":[\"User id is required.\"],\"NJXy7w\":[\"Could not resolve the existing object \\\"\",[\"0\"],\"\\\" to rename its default relations\"],\"NOU3zh\":[\"Invalid filter: \\\"\",[\"operator\"],\"\\\" operator requires a String\"],\"NP2/a6\":[\"Revenue Timeline\"],\"NR22yi\":[\"Please provide a valid HTTP or HTTPS URL\"],\"NTyTR5\":[\"FieldMetadataId is required to create a view filter group.\"],\"NViwRM\":[\"Domain Name\"],\"NYONBC\":[\"Only administrators can impersonate users with admin privileges.\"],\"NZy2VR\":[\"Event workspace member\"],\"NcQ6eO\":[\"This email is already in use.\"],\"NcwTz7\":[\"No records were affected.\"],\"NdYXIK\":[\"Deal value created this month\"],\"Nde4yb\":[\"Audio-only recording\"],\"NflMcG\":[\"SSO is disabled.\"],\"Nh/ZZe\":[\"A name conflict occurred.\"],\"NhQiQx\":[\"Database configuration is disabled.\"],\"NhW7fb\":[\"Row level permission predicate group to update not found\"],\"NmDrpO\":[\"Social\"],\"NnD3Ti\":[\"View to destroy not found\"],\"Np9Fvw\":[\"Invalid filter: exactly one operator per field is required\"],\"NpVtef\":[\"Not Set\"],\"NsB3MF\":[\"A view field error occurred.\"],\"NuG0g3\":[\"You do not have permission to delete workspace-level navigation menu items. Please contact your workspace administrator for access.\"],\"Ny5wFU\":[\"Name is not valid: it must start with lowercase letter and contain only alphanumeric letters\"],\"NzhR7p\":[\"Verify your two-factor authentication before impersonating users in another workspace.\"],\"O+Be8v\":[\"Edit Layout\"],\"O0tztx\":[\"Workflows\"],\"O2bgDc\":[\"Note\"],\"OAanPr\":[\"Predicate is missing a value\"],\"OBGY97\":[\"Last time the record was changed\"],\"OEtZB5\":[\"Message Folders (supports multiple folders/labels)\"],\"OFAI1i\":[\"A task target\"],\"OHlJ1X\":[\"Widget extends beyond grid height\"],\"OL88cI\":[\"Public domain already registered\"],\"OLL1W0\":[\"This API key has expired.\"],\"OLopIl\":[\"Go to Domains Settings\"],\"OMhck0\":[\"Calendar event creation is not supported for this account.\"],\"OPF12/\":[\"Note\"],\"OR7oBd\":[\"File not found in SDK client archive.\"],\"OTJNm9\":[\"Property \",[\"property\"],\" is required for role\"],\"OUDI/C\":[\"Server-level impersonation is not enabled for this user or workspace.\"],\"OVVthS\":[\"Message Participants\"],\"OY58EQ\":[\"Message Participants\"],\"OZIOad\":[\"Cron\"],\"Oa7nLQ\":[\"Source channel mismatch.\"],\"OaxxOp\":[\"A company\"],\"OeM+/V\":[\"Built handler path is invalid\"],\"Og/MZQ\":[\"Invalid value: \\\"\",[\"inspectedValue\"],\"\\\"\"],\"OhD7+a\":[\"Skill not found\"],\"OkXmyu\":[\"Note Targets\"],\"Ol/51Z\":[\"Failed to extract tarball.\"],\"OmgwCE\":[\"Source object cannot be the target object\"],\"OpiqiN\":[\"Workflow record position\"],\"Opy73Z\":[\"Add a Node\"],\"OqxwMi\":[\"Invalid permission flag permission type.\"],\"OtOiYC\":[\"Note\"],\"OxDX4i\":[\"Per-recipient delivery status for campaign sends\"],\"P+Gspf\":[\"Junction target field must be on the junction object\"],\"P+wtF/\":[\"Application uninstall logic function failed.\"],\"P/5moy\":[\"Invalid phone country code.\"],\"P/8dT5\":[\"An index metadata error occurred.\"],\"P0grPG\":[\"View group to update parent view not found\"],\"P1Lloh\":[\"New \",[\"objectLabelSingular\"]],\"P23sJE\":[\"Could not find the object for this index.\"],\"P69VwK\":[\"You do not have permission to delete this user from the workspace. Please contact your workspace administrator for access.\"],\"P7NKk0\":[\"Usage could not be read. Please try again later.\"],\"PB/rtA\":[\"Notes tied to the company\"],\"PCGpYB\":[\"Export\"],\"PEXN0U\":[\"Calendar end field must belong to the view object\"],\"PFI4iS\":[\"Widget extends beyond grid width\"],\"PInBOB\":[\"A chart filter has no field\"],\"PKMDuT\":[\"Audit logs require ClickHouse to be configured.\"],\"PLP882\":[\"Messages from the channel.\"],\"PR/KbU\":[\"Filter on \\\"\",[\"0\"],\"\\\" uses option(s) \",[\"invalidValuesText\"],\" that do not exist. Allowed values: \",[\"allowedValuesText\"],\".\"],\"PRKxNT\":[\"Task targets\"],\"PUBUbK\":[\"One or more requested scopes are invalid.\"],\"PWdFkY\":[\"Remote objects are not production ready yet\"],\"PXgd1R\":[\"Invalid configuration type for graph widget\"],\"PdKZim\":[\"Please choose an end date and time after the start date and time.\"],\"PdVIJC\":[\"Search vector\"],\"PeMFTI\":[\"Email verification is not required.\"],\"PfJswy\":[\"Domain is already registered as public domain\"],\"PgpPoi\":[\"The logic function to run on disconnect was not found.\"],\"Pjih6W\":[\"Contact's company\"],\"PomaQP\":[\"Note record position\"],\"PpmWQv\":[\"Cancel\"],\"PqTWJf\":[\"Label identifier view field has to be visible\"],\"PslTPV\":[\"Metadata validation failed\"],\"Pt2vVA\":[\"Invalid permission setting.\"],\"Ptv+nG\":[\"Standard objects cannot be deleted\"],\"PvCGwJ\":[\"Merge \",[\"objectLabelPlural\"]],\"PviVyk\":[\"Join your team on Twenty\"],\"PxO731\":[\"Resource path exceeds maximum length of \",[\"MAX_PATH_LENGTH\"],\" characters\"],\"PzaPrw\":[\"You do not have permission to view this data.\"],\"Q0ISF1\":[[\"fieldName\"],\" and \",[\"fieldName\"],\"Id cannot be both provided.\"],\"Q0diyJ\":[\"Cannot remove the last admin from the workspace.\"],\"Q2De+v\":[\"A role with this label already exists.\"],\"Q5lxQn\":[\"Retry\"],\"Q6cUtT\":[\"By Stage\"],\"Q6jO3x\":[\"Invalid value for multi-select: \\\"\",[\"inspectedValue\"],\"\\\"\"],\"Q7KCby\":[\"Resource path must not be empty\"],\"Q8FQ55\":[\"Server logic function not found.\"],\"Q9JFdG\":[\"Account owner for companies\"],\"QDpiKg\":[\"Account Owner For Companies\"],\"QGupmf\":[\"Update DateTime\"],\"QHFBKw\":[\"Chart filter value is not valid for this operand\"],\"QJUYcw\":[\"We couldn't install \\\"\",[\"applicationDisplayName\"],\"\\\". Its \",[\"humanEntity\"],\" could not be applied to your workspace.\"],\"QK3OvQ\":[\"Form action fields must have unique names\"],\"QMSXe6\":[\"Field cannot be used as label identifier due to its type: should be of type UUID, text or full name\"],\"QPcp0k\":[\"In progress\"],\"QS/zML\":[\"Kanban main group by field metadata not found\"],\"QV1ZPO\":[\"Key is required\"],\"QW92VW\":[\"Creation DateTime\"],\"QXVtcO\":[\"payload must contain either a \\\"path\\\" or \\\"objectMetadataItemId\\\" property\"],\"QXuG8C\":[\"Field permissions can only be used to restrict access, not to grant additional permissions.\"],\"QYS2AB\":[\"Cannot add field permissions on system objects.\"],\"QbW1ho\":[\"Role \\\"\",[\"roleLabel\"],\"\\\" cannot be assigned to agents\"],\"Qc2uwm\":[\"Spaces and comma\"],\"QghriB\":[\"Events linked to the campaign\"],\"QmL9y9\":[\"You don't have permission to modify this view.\"],\"QmxyXN\":[\"Response Status\"],\"Qof3ks\":[\"Email is required.\"],\"QtRMs/\":[\"Application upgrade failed.\"],\"Quk4RZ\":[\"Default Calendar Channel Event Association Layout\"],\"QwbSxD\":[\"No steps provided in workflow version\"],\"Qx822J\":[\"Label identifier field not found.\"],\"Qx95XY\":[\"Udpated field is not a morph relation or a relation\"],\"Qy6mMO\":[\"Object permission not found.\"],\"QyGlqv\":[\"The application key-value entry could not be saved. Please try again.\"],\"R+Pipg\":[\"Delete\"],\"R5GUVK\":[\"You do not have access to this message channel.\"],\"R67jts\":[\"Workflow not found.\"],\"R6I0Oa\":[\"Lists\"],\"R8zIJd\":[\"This object cannot be modified.\"],\"RAcTQ1\":[\"View not found for widget\"],\"RAkwUZ\":[\"Please use a company email domain.\"],\"RDvKTq\":[\"Please provide connection details to configure your email account.\"],\"RJyaoR\":[\"Navigation menu item cannot be its own parent\"],\"ROkvrV\":[\"Message External Id\"],\"RP+pKP\":[\"View sort with id \",[\"flatViewSortId\"],\" already exists\"],\"RQbcZC\":[\"This domain has already been verified.\"],\"RS0wew\":[\"Contact's Linkedin account\"],\"RUXdNM\":[\"Summary\"],\"RYRFbW\":[\"Cannot delete standard agent\"],\"RZzKii\":[\"You do not have permission to update workspace-level navigation menu items. Please contact your workspace administrator for access.\"],\"RbQaAF\":[\"Default Blocklist Layout\"],\"RczJQq\":[\"Linked Record id\"],\"RfwvVB\":[\"A valid targetRecordId is required for RECORD type\"],\"RggZr4\":[\"Cannot create workflow version with status other than draft\"],\"Rh2dh5\":[\"Operand \\\"\",[\"rawOperand\"],\"\\\" of a chart filter of widget \\\"\",[\"widgetTitle\"],\"\\\" is not supported on field type \\\"\",[\"effectiveFieldType\"],\"\\\". Supported operands: \",[\"allowedOperandsText\"],\".\"],\"RjTo7h\":[\"Something went wrong while starting the app installation. Please try again.\"],\"RjuW0j\":[\"Failed to create front component.\"],\"RkVX/l\":[\"TaskTarget target\"],\"RksBK0\":[\"Wrong password.\"],\"Rrvufq\":[\"Go to Settings\"],\"RrxR7k\":[\"Pick a specific sub-field of \\\"\",[\"0\"],\"\\\" — composite fields can't be indexed as a whole.\"],\"RsTRse\":[\"A bulk email send to an audience, with delivery stats\"],\"Rth998\":[\"A view filter error occurred.\"],\"RvdHYC\":[\"View with same universal identifier already exists\"],\"RwBHMj\":[\"Row level permission predicate feature is disabled.\"],\"RyBgV/\":[\"Invalid validation token.\"],\"RyE+Of\":[\"Some of the information provided is invalid. Please check your input and try again.\"],\"S+y2Wg\":[\"Field referenced in index does not exist\"],\"S6Ztef\":[\"MessageCampaign\"],\"S7DRR+\":[\"Statuses cannot be set manually.\"],\"S7yZl9\":[\"An error occurred with two-factor authentication data.\"],\"S97dl8\":[\"Settings\"],\"SEdApj\":[\"Time format\"],\"SF3Mp4\":[\"Invalid value for full name.\"],\"SFQl8b\":[\"Invalid subscription interval.\"],\"SHZsn1\":[\"Start Date\"],\"SJEIIJ\":[\"Failed to retry jobs. Please try again later.\"],\"SKKDwB\":[\"Calendar event participants\"],\"SKkz1Y\":[\"Contact's Emails\"],\"SKoxDC\":[\"Invalid configuration type for iframe widget \\\"\",[\"widgetTitle\"],\"\\\". Expected IFRAME, got \",[\"configurationTypeString\"]],\"SMgh5j\":[\"Permission flag to update not found\"],\"SMhyGZ\":[\"A webhook with this configuration already exists.\"],\"SOp/Vw\":[\"An invitation has already been sent to this email.\"],\"SRnMG0\":[\"This campaign cannot be sent. It may be missing a sender, subject or recipient list, or it was already sent.\"],\"SWTQfb\":[\"Workspace member cannot be updated.\"],\"SdXGbu\":[\"Primary axis group by field is required for line chart\"],\"SdwgrQ\":[\"Dashboards\"],\"SejVAR\":[\"Location\"],\"Sf+6YJ\":[\"Invalid value for rich text.\"],\"Sf3H2K\":[\"Deleted at\"],\"Sg7rcs\":[\"Message Folder\"],\"Sguqn/\":[\"Please use Settings to remove a workspace member.\"],\"SiXwZL\":[\"Screening\"],\"SjwU+O\":[\"Output field names must use only letters, numbers, underscores, dots or hyphens and be at most 64 characters: \",[\"0\"]],\"SkT3Lf\":[\"Resource path must not contain path traversal (..)\"],\"SkvO+5\":[\"Failed to duplicate dashboard.\"],\"Sl1ElS\":[\"User does not have permission.\"],\"SlSmjG\":[\"Configuration type is required for widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"SlfejT\":[\"Error\"],\"Sn4xhy\":[\"Calendar field metadata not found\"],\"Sndqu7\":[\"Workflow run status\"],\"SoRH5/\":[\"Source app bot/session id, when the source supports bots\"],\"Sof2+k\":[\"FieldMetadataId is required to create a view field.\"],\"SpmRxi\":[\"Unable to retrieve the application package.\"],\"SsRDX3\":[\"\\\"\",[\"payloadKey\"],\"\\\" is not a valid workspace member field.\"],\"Su850d\":[\"Cannot modify predicate group to change its object\"],\"SzCMUQ\":[\"Missing required fields: at least one unique constraint have to be fully populated for {connectFieldName}.\"],\"SzaGv7\":[\"Invalid URL format.\"],\"T+m2GO\":[\"Tasks assigned to the workspace member\"],\"T+v4U0\":[\"Message\"],\"T+yZIr\":[\"Two-factor authentication is already set up.\"],\"T/2cxH\":[\"Discard Draft\"],\"T1gSWA\":[\"Parent navigation menu item not found\"],\"T3eIlb\":[\"The campaign this participant was a recipient of\"],\"T71oyd\":[\"Workflow runs linked to the workflow.\"],\"T9qjpu\":[\"Code Interpreter\"],\"TF/ZV2\":[\"A heads up before your Twenty trial ends\"],\"TJGiwQ\":[\"List Members\"],\"TLSelA\":[\"API key role configuration not found.\"],\"TO+8/Z\":[\"Workflow run status\"],\"TPccfi\":[\"Recurring Event ID\"],\"TRUO3G\":[\"You can have at most \",[\"MAX_CUSTOM_INDEXES_PER_OBJECT\"],\" custom indexes per object. Delete one before creating a new one.\"],\"TUF4YU\":[\"Task record position\"],\"TUocGa\":[\"Linked Object Metadata Id\"],\"TVkCrJ\":[\"Welcome to Twenty: Please Confirm Your Email\"],\"TX9XHL\":[\"Transcript\"],\"TYhxR+\":[\"New email must be different from current email\"],\"TYpgQ/\":[\"Could not resolve the existing object to reconcile its record-page label identifier view field\"],\"TaToDK\":[\"Body must be an object for widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"TesjoU\":[\"Versions\"],\"Tinlvs\":[\"Workflow Runs\"],\"TjN8GI\":[\"A dashboard\"],\"TjUnO1\":[\"This record already exists. Please check your data and try again.\"],\"TkRloV\":[\"Message Direction\"],\"Tp2ptT\":[\"On delete action is only supported for many to one relations\"],\"Ts+YbB\":[\"Field not found.\"],\"TsoT/4\":[\"Configuration type is required for widget \\\"\",[\"title\"],\"\\\"\"],\"Tstlpf\":[\"An unexpected billing error occurred.\"],\"Tsx+z2\":[\"Authentication is required to access this feature. Please sign in and try again.\"],\"TtfDdb\":[\"Pick at least one field for the index.\"],\"TulNnA\":[\"Invalid skill input.\"],\"TxgEcG\":[\"Message Channel Message Associations\"],\"U+zQxx\":[\"Database Event\"],\"U/P/gT\":[\"Cannot switch subscription plan.\"],\"U1u0hG\":[\"Set up two-factor authentication before impersonating users in another workspace.\"],\"U2jKdj\":[\"TS_VECTOR field metadata not found\"],\"U3r7gv\":[\"Invalid string format.\"],\"U4APCE\":[\"Reply\"],\"U4Wdjc\":[\"Invalid value for date: \\\"\",[\"inspectedValue\"],\"\\\". Expected format: 'YYYY-MM-DD'\"],\"U8C7oj\":[\"An unexpected billing error occurred. Please contact support.\"],\"U8mbyw\":[\"Name \\\"\",[\"name\"],\"\\\" is not available as it is already used by another field\"],\"U8sfYC\":[\"Updated by\"],\"UBPzFQ\":[\"Value must be in UPPER_CASE and follow snake_case \\\"\",[\"sanitizedValue\"],\"\\\"\"],\"UKFDwW\":[\"Default Call Recording Layout\"],\"UMn+XF\":[\"Companies\"],\"UNOnO7\":[\"WorkspaceMember\"],\"UOTni0\":[\"ObjectMetadataId is required when creating a view\"],\"UP/TXo\":[\"View group to update not found\"],\"UP3ZAj\":[\"This role cannot be assigned to API keys.\"],\"UQKo1w\":[\"Message Thread Id\"],\"UTxpa1\":[\"Application pre-install logic function failed.\"],\"UUFPvo\":[\"External Recording ID\"],\"UV7Pll\":[\"Invalid viewUniversalIdentifier for fields widget\"],\"Uacq0M\":[\"Notes\"],\"Uadtry\":[\"User's preferred start day of the week\"],\"Ub8R48\":[\"Roles and permissions configuration not found.\"],\"UdSbpW\":[\"Complained count\"],\"UiMJoF\":[\"Invalid value for JSON: \\\"\",[\"inspectedValue\"],\"\\\"\"],\"UkwlVE\":[\"Timeline Activities linked to the opportunity.\"],\"UrzTjS\":[\"Duplicate root resolver found. Each root resolver can only be called once per document.\"],\"UxwIFr\":[\"Agent not found.\"],\"V+Pnck\":[\"Created by\"],\"V2zJDX\":[\"Blocklisted handles\"],\"V5AXjr\":[\"Logic function already exists\"],\"V8DWC+\":[\"GIN indexes work on multi-select, array, JSON, and search-vector columns. \\\"\",[\"0\"],\"\\\" doesn't qualify.\"],\"V8OqY4\":[\"Rate limit exceeded.\"],\"V9yV1R\":[\"Due Date\"],\"VAcXNz\":[\"Wednesday\"],\"VD8J6l\":[\"Trigger not found.\"],\"VDesPB\":[\"Field type POSITION must be named \\\"position\\\"\"],\"VEKoJx\":[\"Invalid verification code. Please try again.\"],\"VEmyIu\":[[\"fullMessage\"]],\"VGVS7x\":[\"See Runs\"],\"VHNm8n\":[\"iCal UID\"],\"VID94s\":[\"An attachment\"],\"VIRlXt\":[\"The workflow automated trigger type\"],\"VNohoc\":[\"Subscription phase not found.\"],\"VPXcr5\":[\"Cannot delete account: you are the only admin. Assign another admin or delete the workspace(s) first.\"],\"VT9cmj\":[\"Two-factor authentication verification is required.\"],\"VUEkq2\":[\"Installed source app that manages or ingested this recording\"],\"VXQpJ+\":[\"View sort to update parent view not found\"],\"VZiHPV\":[\"Front component not found\"],\"VddeYt\":[\"Wrong extension for file.\"],\"VgGXR3\":[\"fieldMetadataId or fieldMetadataUniversalIdentifier must be provided\"],\"Vhbzaf\":[\"Domains\"],\"ViBevc\":[\"Role cannot be assigned to this entity.\"],\"VkSxbb\":[\"Field type TS_VECTOR must have SYSTEM writability\"],\"VkcC68\":[\"User was not created with email/password\"],\"VkdiTS\":[\"Close date\"],\"VmatbA\":[\"Admin role not found.\"],\"Vo3NrU\":[\"Linked Record cached name\"],\"Vq/afT\":[\"Provided and inferred country code are conflicting\"],\"Vr4xfK\":[\"Public domain not found.\"],\"VsCNJG\":[\"See Versions History\"],\"VzpL85\":[\"A task\"],\"W3Ik7m\":[\"Cannot delete the only view for this object\"],\"W5A0Ly\":[\"An unexpected error occurred.\"],\"W5E1kS\":[\"Task Targets\"],\"W5Wgz6\":[\"WorkflowVersion\"],\"W5hpOP\":[\"Missing request body.\"],\"W6HvkH\":[\"A workflow version\"],\"W6LTzL\":[\"A payment processing error occurred.\"],\"WBtp3/\":[\"A user with this email already exists.\"],\"WCKl4k\":[\"You have reached the maximum number of invitations for this step.\"],\"WDgCbh\":[\"Key cannot be changed\"],\"WFQSL0\":[\"We couldn't install this application because some of its metadata could not be applied to your workspace.\"],\"WFVrzW\":[\"Microsoft API authentication is disabled.\"],\"WFhVi3\":[\"Name\"],\"WG8+0x\":[\"AI agent step execution failed.\"],\"WHM6K7\":[\"Invalid value for number: \\\"\",[\"inspectedValue\"],\"\\\"\"],\"WPAHpm\":[\"The application's production dependencies are too large to install. Move packages that are not imported by its logic functions (UI libraries, dev tooling) out of \\\"dependencies\\\".\"],\"WUcQVb\":[\"You cannot set field permissions on system objects as they are managed by the platform.\"],\"WV1dio\":[\"Opportunities\"],\"WWSSTx\":[\"Unique index cannot be created for field \",[\"fieldName\"],\" of type \",[\"fieldType\"]],\"WWmatL\":[\"Default Note Layout\"],\"WXjfKi\":[\"Contact's avatar\"],\"WZzm3R\":[\"View field related view object metadata not found\"],\"Wed+Kp\":[\"Front component is not ready.\"],\"Weq9zb\":[\"General\"],\"WhUgpA\":[\"The creator of the record\"],\"WiNZD1\":[\"Default Calendar Event Participant Layout\"],\"WkctC4\":[\"Core workflow version id\"],\"WlACUp\":[\"Calendar Channel Event Associations\"],\"WlLRwh\":[\"State\"],\"WluVVo\":[\"By Status\"],\"Wnol69\":[\"An agent with this name already exists.\"],\"WreNd7\":[\"Invalid target URL provided\"],\"Wrwici\":[\"Object permission not found\"],\"WsuFPo\":[\"Connection provider name is required\"],\"WtMHh6\":[\"Conflicting phone calling code and country code.\"],\"Wu/pkS\":[\"Multi-select field default value must be an array\"],\"WunOam\":[\"Not recorded\"],\"WvWTez\":[\"Dots and comma\"],\"WwTvrh\":[\"Call Recording\"],\"X/ryFh\":[\"Core workflow id\"],\"X2Xp8v\":[\"This object permission is already set for the role\"],\"X2aLVJ\":[\"Activate\"],\"X2bZC4\":[\"Message Participant record position\"],\"X3mSup\":[\"An error occurred while processing the webhook.\"],\"X7+bC6\":[\"Invalid calling code \",[\"callingCode\"]],\"X7GoTa\":[\"Authentication failed, please sign in again.\"],\"X8wvUh\":[\"Name of the workflow run\"],\"XBYAgs\":[\"Invalid refresh token.\"],\"XD1+oL\":[\"Campaigns\"],\"XFR5me\":[\"You cannot revoke admin panel access from the last server administrator.\"],\"XJlyZS\":[\"View field to delete not found\"],\"XJmtgE\":[\"Field name is not synced with label.\"],\"XLn1DI\":[\"Only error\"],\"XOA98j\":[\"Invalid value for \\\"is\\\" operator\"],\"XVb/r9\":[\"Blocklist\"],\"XX3Gdh\":[\"The provider is temporarily unavailable. Please try again later.\"],\"XXuJwA\":[\"Timeline activities linked to the run\"],\"XZ4djQ\":[\"Configuration is required for widget\"],\"XeWfi3\":[\"Default value cannot be null.\"],\"Xg3NMP\":[\"Job Title\"],\"Xm6R6B\":[\"View field already exists.\"],\"Xn/1qY\":[\"Standard permission flags cannot be modified.\"],\"XoKTtx\":[\"Workflow version position\"],\"XsSVrR\":[\"Workspace creation is restricted to admins\"],\"Xsgh7b\":[\"Parent row level permission predicate group not found\"],\"Xu8Qin\":[\"Experience\"],\"XuTq0a\":[\"Events\"],\"XxkUFT\":[\"Your role in this workspace could not be found. Please contact your workspace administrator.\"],\"XyOToQ\":[\"An error occurred.\"],\"Y/owFW\":[\"Number of emails sent\"],\"Y1vsL7\":[\"System objects cannot be updated directly. Use overrides for cosmetic changes.\"],\"Y2KtrW\":[\"Invalid value for address.\"],\"Y5C3uK\":[\"This provider is not supported.\"],\"Y5Fzhi\":[\"This version is not higher than the currently deployed version. Please bump the version in package.json before deploying again.\"],\"Y7dW06\":[\"The workflow automated trigger settings\"],\"Y8ap4e\":[\"Invalid limit parameter.\"],\"YBkEbP\":[\"Thread\"],\"YCGofH\":[\"Body must be an object\"],\"YCzwBK\":[\"Aggregate operation is required for graph widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"YGewWJ\":[\"Last published Version Id\"],\"YHMiZJ\":[\"Role\"],\"YIzGJ8\":[\"Cc\"],\"YKJLlF\":[\"Search field metadata with same fieldMetadataId and objectMetadataId already exists\"],\"YPsYLa\":[\"Messages sent as part of this campaign\"],\"YPuX9P\":[\"End Date\"],\"YQTVfF\":[\"Connection provider with type 'oauth' is missing oauthConfig\"],\"YT3d3p\":[\"New Campaign\"],\"YXbAfa\":[\"Accounts\"],\"YXvdC2\":[\"Hide deleted\"],\"YYF6YH\":[\"The company name\"],\"Ya6oU7\":[\"FieldMetadataId is required to create a view filter.\"],\"Ybs2Ml\":[\"Workflow\"],\"YcVn4w\":[\"If defined default value must contain at least one value\"],\"Yi0Q/T\":[\"These fields cannot be updated before the workspace is activated: \",[\"fieldsList\"],\".\"],\"Yp5Kn9\":[\"Attachment file category\"],\"Yp8zt3\":[\"Participants\"],\"Ys0vIQ\":[\"An unexpected error occurred while executing the logic function.\"],\"YtFgT4\":[\"Invalid feature flag key.\"],\"YvE7G6\":[\"Workspace member job title\"],\"Yvew2T\":[\"Default Message Channel Message Association Message Folder Layout\"],\"YxBvFz\":[\"We encountered an issue connecting to your email account. Please check your settings and try again.\"],\"YzUxdC\":[\"Prebuilt bundle is not installed on the function. Rebuild and try again.\"],\"Z+s6mX\":[\"Payload must contain either a path or an object metadata item identifier\"],\"Z3Su9z\":[\"Invalid UUID format.\"],\"Z4AMcp\":[\"The app manifest declares an invalid server version requirement.\"],\"Z5N7sB\":[\"Attachments linked to the contact.\"],\"ZCNAGE\":[\"You do not have permission to update this workspace member.\"],\"ZIo8Cj\":[\"User's preferred time format\"],\"ZKtamk\":[\"Page layout not found\"],\"ZM94I5\":[\"\\\"\",[\"0\"],\"\\\" is a one-to-many relation and can't be indexed directly. Index the foreign-key side instead.\"],\"ZPo5fR\":[\"You do not have permission to upload profile pictures. Please contact your workspace administrator for access.\"],\"ZRbuaB\":[\"Attachment name\"],\"ZXnasf\":[\"This version of the application is already installed in this workspace.\"],\"ZYK68w\":[\"Sending\"],\"Zdd8u/\":[\"Restore\"],\"Zi3Ych\":[\"Save Dashboard\"],\"Zi9X+u\":[\"The role you are looking for could not be found. It may have been deleted or you may not have access to it.\"],\"ZjemzY\":[\"Invalid value for UUID: \\\"\",[\"inspectedValue\"],\"\\\"\"],\"ZkHTHm\":[[\"fieldType\"],\" fields cannot be unique.\"],\"ZmVj5N\":[\"Invalid phone number.\"],\"ZoXxz9\":[\"Invalid permission type\"],\"Zqbr+6\":[\"View field with same fieldMetadataUniversalIdentifier and viewUniversalIdentifier already exists\"],\"ZsZeV2\":[\"Email is required\"],\"ZtpeIz\":[\"A note target\"],\"Zuw7oP\":[\"Search vector\"],\"ZyEq3L\":[\"This campaign no longer exists.\"],\"a+k+8J\":[\"Index with same name already exists\"],\"a/WH2z\":[\"Predicate value is not valid for this operand\"],\"a1tUtz\":[\"Status\"],\"a1zyh7\":[\"Server logic function requires authentication.\"],\"a78k8n\":[\"Normalized diarized transcript\"],\"a7ym1l\":[\"Year First\"],\"a9mYsP\":[\"Compose\"],\"aANbrX\":[\"Workflow Automated Triggers\"],\"aBOgPF\":[\"Default Company Layout\"],\"aK2k19\":[\"System indexes are required for Twenty to work and cannot be deleted.\"],\"aNDPqw\":[\"Contact's phone numbers\"],\"aNUhqB\":[\"Company\"],\"aPJopM\":[\"Some workspace memberships could not be found. They may no longer have access to this workspace.\"],\"aVGG1u\":[\"Empty field permissions are not allowed.\"],\"aXBMTb\":[\"This type of record cannot be merged.\"],\"aYt8SY\":[\"Invalid workflow operation.\"],\"aaw408\":[\"Dashboard record Position\"],\"acTNEg\":[\"An unexpected configuration error occurred.\"],\"aeNy7i\":[\"Row level permission predicate to update not found\"],\"aepsXP\":[\"Audit logs require an Enterprise subscription.\"],\"aflzUo\":[\"Opportunities\"],\"akOVAq\":[\"Metadata version not found.\"],\"aqua7x\":[\"Cannot delete this role: it is still assigned to one or more agents, and the workspace default role cannot be assigned to agents. Please reassign these agents to another role first.\"],\"avBuTv\":[\"Reference to the core workflowVersion row\"],\"awsWDN\":[\"Attachment full path\"],\"ax8unE\":[\"We couldn't connect to your email server. Please check your server settings and try again.\"],\"azOBF6\":[\"Channel ID\"],\"b+xWjq\":[\"Connection provider not found.\"],\"b1LFyn\":[\"Attachment\"],\"b3ictS\":[\"Exactly one of \\\"groups\\\" or \\\"fields\\\" must be provided\"],\"b85bAt\":[\"maxNumberOfValues must be defined in settings and be a number greater than 0 and less than or equal to \",[\"FILES_FIELD_MAX_NUMBER_OF_VALUES\"]],\"b8g3PG\":[\"Webhook not found.\"],\"bAGU1r\":[\"The file extension doesn't match the file content. Please check that your file is not corrupted and has the correct extension.\"],\"bAPURS\":[\"You cannot update your own role.\"],\"bCL+CN\":[\"Date when the record was deleted\"],\"bEhTPN\":[\"This operation is not supported.\"],\"bFP5hd\":[\"Email\"],\"bHna44\":[\"This HTTP method is not allowed on this server route.\"],\"bJZ2Tj\":[\"Contact's avatar file\"],\"bK8AyJ\":[\"Workspace \",[\"workspaceId\"],\" is not found.\"],\"bKb5Ip\":[\"Aggregated / filtered event to be displayed on the timeline\"],\"bLsIZe\":[\"Workflow run started at\"],\"bM1MKh\":[\"View filter with this universal identifier already exists\"],\"bMeJkW\":[\"Object to delete not found\"],\"bNNDED\":[\"Invalid filter: use \\\"\",[\"joinColumnName\"],\"\\\" to filter by this relation field\"],\"bQS4UN\":[\"Calendar channel is misconfigured.\"],\"bQaMUu\":[\"A workflow run\"],\"bSLhyc\":[[\"0\"],\" does not belong to this widget's object.\"],\"bTyBrW\":[\"Your Password Has Been Successfully Changed\"],\"bWAwB6\":[\"Authentication required.\"],\"bZ2ltE\":[\"Header message Id\"],\"bcIybO\":[\"Workspace name is required\"],\"bfWCbe\":[\"Stock market (Iframe)\"],\"bgG8mY\":[\"Number of spam complaints received\"],\"bhFnpx\":[\"Avatar\"],\"bhuNSV\":[\"A chart filter of widget \\\"\",[\"widgetTitle\"],\"\\\" has no field metadata universal identifier\"],\"birhbY\":[\"Notes\"],\"bkSXCt\":[\"Call Recording\"],\"bm66XQ\":[\"Opportunity company\"],\"bpGbAD\":[\"Deactivate\"],\"bpqhFq\":[\"Junction target field must be a MANY_TO_ONE relation\"],\"bqFL4g\":[\"Workflow version is not in draft status\"],\"brtxSP\":[\"Invalid universal identifier \",[\"universalIdentifier\"]],\"bs1xxW\":[\"Language\"],\"bx1He3\":[\"A required configuration is missing.\"],\"bxSgKk\":[\"\\\"\",[\"0\"],\"\\\" is not a composite field — remove the sub-field selection.\"],\"bypqPt\":[\"This action is currently unavailable.\"],\"bznmUY\":[\"Invalid workflow edge request.\"],\"c1XRE3\":[\"View group metadata with universal identifier \",[\"flatViewGroupUniversalIdentifier\"],\" already exists\"],\"c1qcYo\":[\"A temporary error occurred. Please try again.\"],\"c4NCfN\":[\"Invalid widget configuration.\"],\"c5P53s\":[\"Export View\"],\"c68K+k\":[\"This role cannot be assigned to users.\"],\"c7uZDh\":[\"Position layoutMode \\\"\",[\"layoutMode\"],\"\\\" does not match tab layoutMode \\\"\",[\"tabLayoutMode\"],\"\\\"\"],\"cCj4vg\":[\"Join column name is required.\"],\"cK8ILP\":[\"Field to create related object not found\"],\"cLUBlS\":[\"No setting type provided in cron trigger\"],\"cOI7+n\":[\"Message\"],\"cTz6/1\":[\"Processing\"],\"cWaEaJ\":[\"A free development instance requires an active production instance on this enterprise subscription.\"],\"ccqQWi\":[\"Value \\\"\",[\"stringifiedValue\"],\"\\\" is not valid for operand \\\"\",[\"operand\"],\"\\\" on field type \\\"\",[\"filterType\"],\"\\\". \",[\"hint\"]],\"cgNV3G\":[\"Authentication is required.\"],\"cgV4xo\":[\"Default role not found.\"],\"cggtYH\":[\"Pipeline Value by Stage\"],\"chHKg8\":[\"You are not authorized to perform this action.\"],\"cizVEW\":[\"Invalid calendar channel input.\"],\"cjqhZq\":[\"The provider denied access to this account. Please reconnect it.\"],\"cmBz2p\":[\"Contradicting field permissions have been detected on a relation field.\"],\"cnGeoo\":[\"Delete\"],\"cq5JGr\":[\"Tasks tied to the company\"],\"crn/PJ\":[\"Go to \",[\"objectLabelPlural\"]],\"crxihq\":[\"Unsupported field metadata type \",[\"fieldType\"]],\"ctpIGF\":[\"Role target is missing identifier.\"],\"cvJ2e6\":[\"Google API authentication is disabled.\"],\"cvWDSJ\":[\"This identifier is reserved by the system\"],\"cyovqN\":[\"See Versions\"],\"czQdYE\":[\"Add a Node\"],\"d6DMa/\":[\"Invalid file ID.\"],\"dBDpp2\":[\"Name \\\"\",[\"name\"],\"\\\" is not available as it is already used by join column name\"],\"dD9Vpa\":[\"Workflow step not found.\"],\"dE2rg+\":[\"Interface Scale\"],\"dFudyC\":[\"Option label must be a string of at least one character\"],\"dIxBwv\":[\"Invalid workflow status.\"],\"dKSPBk\":[\"Permission flag definition to delete not found\"],\"dTYtQr\":[\"Meeting\"],\"dYZHjd\":[\"TaskTarget task\"],\"dZF5Gw\":[\"This suppressed address no longer exists.\"],\"dZPXqH\":[\"Go to Data Model Settings\"],\"daijCZ\":[\"Workflow run not found.\"],\"ddGPbK\":[[\"0\"],\" does not belong to the object \",[\"1\"],\" points to.\"],\"deE0XW\":[\"Unsubscribe topic id\"],\"dhcf1B\":[\"An error occurred during workspace migration.\"],\"dj45uB\":[\"Send\"],\"dmOWfL\":[\"You do not have access to this message folder.\"],\"dmxzg7\":[\"12HRS\"],\"dqLRwc\":[\"Permission flag to delete not found\"],\"dqt3x1\":[\"Invalid file folder.\"],\"drcYgn\":[\"Stage\"],\"dtGxRz\":[\"Provided and inferred calling code are conflicting\"],\"dw+g0N\":[\"Invalid workflow trigger configuration.\"],\"dxfM0y\":[\"This field cannot be updated directly on a workflow version\"],\"dzQfDY\":[\"October\"],\"dzteua\":[\"Filter uses a select option that does not exist\"],\"e/+ykp\":[\"Operand \\\"\",[\"operand\"],\"\\\" is not supported on field type \\\"\",[\"filterType\"],\"\\\". Supported operands: \",[\"0\"],\".\"],\"e1k+No\":[\"Sign up is disabled.\"],\"e2V+x1\":[\"Field cannot be used as label identifier due to its type\"],\"e6tjp1\":[\"Application variable not found\"],\"e6udqn\":[\"Skill with name \\\"\",[\"name\"],\"\\\" already exists\"],\"eAMUPx\":[\"Something went wrong while saving your onboarding progress.\"],\"eC8p5b\":[\"The API key does not have a valid role assigned. Please check your API key configuration.\"],\"eCBMag\":[\"JSON response format requires a schema\"],\"eKi1df\":[\"SDK client archive not found. The SDK client may not have been generated for this application.\"],\"eLQjKW\":[\"Chat thread title cannot be empty.\"],\"eMh4C2\":[\"Message Participants\"],\"ePMKG3\":[\"A workflow automated trigger\"],\"eQmx6a\":[\"Failed to refresh the access token.\"],\"eQwIyW\":[\"Workspace not found for customer event.\"],\"eRIGld\":[\"Not authorized to access this OAuth provider.\"],\"eSaCR/\":[\"Can't connect to \",[\"connectFieldName\"],\". No unique record found with condition: \",[\"formattedConnectCondition\"]],\"eUPMYZ\":[\"View filter group not found\"],\"eW83iC\":[\"An error occurred during messages import\"],\"eWmJYU\":[\"Forbidden updated properties for relation field metadata\"],\"eX6v+/\":[\"Contact's job title\"],\"eYgzEd\":[\"Only field restrictions are allowed.\"],\"eaW27s\":[\"The same column cannot appear twice in an index.\"],\"ecIX3O\":[\"This application is already owned by a workspace.\"],\"egii0n\":[\"My First Dashboard\"],\"egz9rA\":[\"Invalid data format.\"],\"eiOt+9\":[\"Application registration variable not found.\"],\"eitC3W\":[\"This operation is not allowed. Please try a different approach or contact support if you need assistance.\"],\"eiujBX\":[\"Cannot modify predicate group belonging to a different object.\"],\"ej/tZF\":[\"Your workspace has been updated with a new data model. Please refresh the page.\"],\"erTWgO\":[\"Chat message not found.\"],\"es5DkC\":[\"Notes\"],\"ezEYQZ\":[\"Creation date\"],\"ezJrlG\":[\"View sort with invalid direction, should be ASC or DESC\"],\"f0e8iZ\":[\"User Email\"],\"f3HJCK\":[\"Workflow run position\"],\"f6BBGv\":[\"Summary\"],\"f7SWSg\":[\"Invalid order by with group by parameter.\"],\"f8ypJ4\":[\"Please use single sign-on to authenticate.\"],\"f9Rp2t\":[\"Workflow version must not be set for this item type\"],\"f9u4+O\":[\"Call recording record position\"],\"fCIz/F\":[\"Message Folders\"],\"fDGNL3\":[\"Claiming is not configured on this server. Ask an administrator to configure the GitHub OAuth app.\"],\"fDI+nJ\":[\"Tasks\"],\"fEazMl\":[\"Row level permission predicate not found.\"],\"fIq00W\":[\"The nested relation field configured for this widget could not be found.\"],\"fNIemA\":[\"Annual Revenue\"],\"fNaXqL\":[\"Invalid message channel input.\"],\"fOgbeX\":[\"Create new \",[\"objectLabelSingular\"]],\"fOmUO9\":[\"Owner\"],\"fPoVsQ\":[\"Json object to provide steps\"],\"fRWsMD\":[\"API key is not configured.\"],\"fV2Bu6\":[\"Wrong password\"],\"fWsBTs\":[\"Something went wrong. Please try again.\"],\"fY2zUQ\":[\"Index to delete not found\"],\"fbDfth\":[\"Messages from the thread.\"],\"fbe2ik\":[\"Create Calendar Event\"],\"fenRdq\":[\"Is Organizer\"],\"ffNEb6\":[\"The workflow name\"],\"ffpvxH\":[\"Add at least one field to update.\"],\"foYipq\":[\"Workspace member\"],\"fpzw+t\":[\"Cannot update standard agent\"],\"ftXaBy\":[\"Workflow run ended at\"],\"fxy039\":[\"This operation references a record that does not exist or cannot be modified due to existing relationships.\"],\"fyryIW\":[\"Create new Campaign\"],\"g+92VU\":[\"Timeline activities linked to the dashboard\"],\"g+pbWz\":[\"Update\"],\"g/dGHV\":[\"Configuration variable not found.\"],\"g2om8o\":[\"Engine component key is required\"],\"g4PB8S\":[\"Invalid configuration type for graph widget \\\"\",[\"widgetTitle\"],\"\\\". Expected one of \",[\"expectedConfigurationTypes\"],\", got \",[\"configurationTypeString\"]],\"g4rOV3\":[\"We couldn't connect to your outgoing email server. Please check your SMTP settings and try again.\"],\"g5/Q0d\":[\"Automated Triggers\"],\"g5Z6no\":[\"User not found. Please check the email or ID.\"],\"g5pJGG\":[\"Could not resolve parent object metadata \\\"\",[\"0\"],\"\\\" for field unique index side effect\"],\"g6X4T4\":[\"Task\"],\"g87L9j\":[\"Relations\"],\"g9BupG\":[\"Tidy up\"],\"gH+wBS\":[\"There is an issue with your token. Please try again.\"],\"gHC5sU\":[\"A view sort error occurred.\"],\"gIacCF\":[\"See Workflow\"],\"gKGO2f\":[\"\\\"\",[\"fieldName\"],\"\\\" received an invalid value.\"],\"gP+fzj\":[\"Conflicting phone calling code.\"],\"gPBck6\":[\"This name is reserved. Use a different name or the system will add \\\"Custom\\\" suffix.\"],\"gaHTjP\":[\"Text Document\"],\"gawQTB\":[\"Go to Emails Settings\"],\"gdJXPD\":[\"Invalid filter: filter value must be an object\"],\"gfZlPy\":[\"Go to General Settings\"],\"gir8T5\":[\"Tasks\"],\"gmoxtb\":[\"Dashboard\"],\"go/Vg1\":[\"Name is too short\"],\"gqz/Jf\":[\"Scheduled\"],\"guEsvP\":[\"Invalid captcha. Please try again.\"],\"gz6uii\":[\"Role target not found.\"],\"h8R4RO\":[\"The provided email address is not valid. Please use a standard email format (e.g., [email protected]).\"],\"h8lHqX\":[\"Option label format not supported\"],\"hGYqrE\":[\"Page layout widget with universal identifier \",[\"flatPageLayoutWidgetUniversalIdentifier\"],\" already exists\"],\"hJpBT6\":[\"Invalid aggregate fields parameter.\"],\"hLEiPe\":[\"Junction target field must be a relation field\"],\"hMX1AE\":[\"You have exhausted your credits. Please upgrade your plan to continue.\"],\"hNJ1TI\":[\"Conference Solution\"],\"hQQZse\":[\"No event name provided in database event trigger\"],\"hRloGP\":[\"Conference Solution\"],\"hU1QaN\":[\"WorkspaceId is required to create a view sort.\"],\"hUOMKq\":[\"Calendar field must belong to the view object\"],\"hVbdKt\":[\"Invalid role target data.\"],\"hY1mx5\":[\"The executor of the workflow\"],\"hYcFSd\":[\"Invalid minute value. Should be integer greater than 1\"],\"hYgDIe\":[\"Create\"],\"ha71hz\":[\"Dashboard\"],\"hbJg5A\":[\"Amount\"],\"heKRt4\":[\"Delivery status\"],\"heMezC\":[\"Configuration is required for iframe widget\"],\"hfYxN9\":[\"A valid pageLayoutUniversalIdentifier is required for PAGE_LAYOUT type\"],\"hg6l4j\":[\"March\"],\"hgvbYY\":[\"September\"],\"hhRoz2\":[\"Default Workflow Run Layout\"],\"hk3cgp\":[\"Logic function not found\"],\"hmg/aY\":[\"The development instance slot for this enterprise key is already in use on another server.\"],\"hmqhWD\":[\"Calendar Event\"],\"hoCDqQ\":[\"Field type TS_VECTOR must be named \\\"searchVector\\\"\"],\"hog3m7\":[\"Email group requires an Enterprise plan.\"],\"hq1K5d\":[\"Automated Trigger Type\"],\"hqdwCt\":[\"Workflow Run\"],\"hr1Spc\":[\"Subject\"],\"hsi+jf\":[\"This feature is not enabled.\"],\"hty0d5\":[\"Monday\"],\"hw7Mwk\":[\"Maximum number of records to upsert is \",[\"QUERY_MAX_RECORDS\"],\".\"],\"hx2IZ4\":[\"The object you are trying to set permissions for could not be found. It may have been deleted.\"],\"hzBM8U\":[\"Last update\"],\"i++4Wk\":[\"Invalid depth parameter.\"],\"i/TzEU\":[\"Send Email\"],\"i/ifeM\":[\"List Member\"],\"i4wotH\":[\"This enterprise key is already in use on another server instance. Release it from that server, or transfer it to this one.\"],\"iBBCnf\":[\"Invalid minute value. Should be integer between 0 and 59\"],\"iCx6+2\":[\"Object permission for this role and object already exists\"],\"iD+jGc\":[\"Operand \\\"\",[\"operand\"],\"\\\" requires a value, an empty predicate would remove the row restriction entirely\"],\"iDDe0p\":[\"Note targets\"],\"iE+St0\":[\"Default Workflow Automated Trigger Layout\"],\"iEZavm\":[[\"hostnameCount\"],\" hostnames found for domain {domainName}. Expect 1\"],\"iHQYLb\":[\"No role assigned to the application.\"],\"iJh5U7\":[\"People\"],\"iLqs3S\":[\"Go to AI Settings\"],\"iMikvq\":[\"Credit grant must expire after it becomes effective.\"],\"iN7doz\":[\"Workspace limit reached. A valid enterprise key is required to create more workspaces.\"],\"iPSuof\":[\"File category\"],\"iWhqvt\":[\"See Runs\"],\"iWv3nK\":[\"Invalid relation field target\"],\"iXSQGo\":[\"Message Channel Message Association Message Folder\"],\"iZ+j0D\":[\"TS_VECTOR field metadata must be of type TS_VECTOR\"],\"icQX0H\":[\"Message Threads\"],\"icnIAm\":[\"Handler name is invalid\"],\"icnMQl\":[\"Task body\"],\"idGnsb\":[\"Emails\"],\"idm+pJ\":[\"A name is required for FOLDER type\"],\"if0x7I\":[\"Default List Layout\"],\"iffSt5\":[\"Incoming\"],\"ilJZDO\":[\"The workflow last published version id\"],\"inVepb\":[\"View filter group with this universal identifier already exists\"],\"ipFNcM\":[\"View sort already exists\"],\"irEsRo\":[\"Event Participants\"],\"isIEpm\":[\"Invalid navigation menu item input.\"],\"ixdsnM\":[\"A DNS manager error occurred.\"],\"j0DfGR\":[\"Action Needed to Reset Password\"],\"j3uenD\":[\"Workspace Member\"],\"j4iZI5\":[\"Row level permission predicate group with this universal identifier already exists\"],\"j5w8z0\":[\"MessageList\"],\"j6q6l+\":[\"The connection-provider manifest is missing required fields.\"],\"j7gCou\":[\"A record with this value already exists.\"],\"j81CIH\":[\"Attachments\"],\"j8p0F8\":[\"Video\"],\"jBXpZT\":[\"Stop\"],\"jBrX/g\":[\"Could not find index field related field metadata\"],\"jCBIuc\":[\"External Bot ID\"],\"jMDu2a\":[\"There is no previous onboarding step to go back to.\"],\"jNnzPT\":[\"Cannot target a role owned by another application\"],\"jNr0+j\":[\"We couldn't find any calendars on your CalDAV server. Please make sure your account has at least one calendar.\"],\"jQMXtD\":[\"WorkspaceId is required to create a view filter.\"],\"jS+jUv\":[\"A valid targetObjectMetadataUniversalIdentifier is required for OBJECT type\"],\"jTDnNG\":[\"Import\"],\"jUt31O\":[\"Invalid connected account ID.\"],\"jX0IPx\":[\"A skill with this name already exists.\"],\"jasdD2\":[\"Default Message Thread Layout\"],\"jfC/xh\":[\"Contact\"],\"jgWZQ6\":[\"The opportunity name\"],\"jlbLNx\":[\"Dashboard not found.\"],\"jm1hwE\":[\"Cannot modify predicate group to change its role\"],\"jmaSDc\":[\"Default Message Participant Layout\"],\"jrTmnG\":[\"This action is not available for your request.\"],\"jtb/lI\":[\"WorkspaceId is required to create a view.\"],\"jxgcg/\":[\"Enum operation failed.\"],\"jyicIO\":[\"Search vector field must be a search vector\"],\"jzhZvB\":[\"A connection provider with this name already exists for this application.\"],\"k/ykpJ\":[\"View sort to delete not found\"],\"k2/sGI\":[\"Role is not editable\"],\"k4DPlQ\":[\"Workflow version does not contain trigger\"],\"k5fVFW\":[\"Import \",[\"objectLabelPlural\"]],\"k6Npai\":[\"Page layout widget already exists\"],\"k6cK5J\":[\"Calendar end field not found\"],\"k731jp\":[\"Label must not contain a comma\"],\"kDjMpp\":[\"handlerName must be a valid JavaScript identifier or dotted path\"],\"kFbvma\":[\"Invalid filter : Operator \\\"\",[\"operator\"],\"\\\" is not valid for this \\\"\",[\"fieldName\"],\"\\\" \",[\"fieldType\"],\" field\"],\"kFsyD4\":[\"The \",[\"reservedViewKey\"],\" view key is reserved for the default view\"],\"kGg4O3\":[\"Is draft\"],\"kIKb9e\":[\"Social\"],\"kOOXTs\":[\"Cannot delete standard permission flag definition\"],\"kQqVjw\":[\"Response Status\"],\"kRmDjY\":[\"See Workflow\"],\"kUdj5v\":[\"Email campaign record position\"],\"kdTB4e\":[\"The OAuth request is missing required parameters.\"],\"kjLpTn\":[\"WorkspaceId is required to create a view field.\"],\"kkDQ8m\":[\"Thursday\"],\"kkeNYX\":[\"Call Recordings\"],\"klDmCR\":[\"Timeline activities linked to the version\"],\"kmAKx+\":[\"Agent execution failed.\"],\"kqw1qp\":[\"Untitled Rich Text\"],\"krbBsy\":[\"Field permission already exists\"],\"krxpzA\":[\"Default Calendar Event Layout\"],\"ku/9og\":[\"Cannot modify predicate to change its object from \",[\"existingObjectMetadataIdentifier\"],\" to \",[\"updatedObjectMetadataIdentifier\"]],\"kuN9I4\":[\"Form action fields must have a defined label and type\"],\"kuNcoR\":[\"Application post-install logic function failed.\"],\"kx632Q\":[\"One or more redirect URIs are invalid.\"],\"kypFzo\":[\"Message record position\"],\"l+Dvh5\":[\"Value \\\"\",[\"stringifiedValue\"],\"\\\" resolves to no record for operand \\\"\",[\"operand\"],\"\\\", the current record is not available to a row level permission predicate\"],\"l+VvdV\":[\"Tidy up Workflow\"],\"l/RVZK\":[\"Owner\"],\"l4w5Vo\":[\"Is Full Day\"],\"l75CjT\":[\"Yes\"],\"l88nXn\":[\"ViewId is required to create a view field.\"],\"l9dlVi\":[\"User does not have access to this workspace\"],\"lB2pC7\":[\"Campaign\"],\"lCnasH\":[\"Missing decorator configuration.\"],\"lDTqT7\":[\"Cannot give write permission on non-readable objects.\"],\"lG+q53\":[\"Row level permission predicate group already exists\"],\"lGa+Pw\":[\"Task status\"],\"lHCFXi\":[\"Update field restrictions only apply to updatable objects.\"],\"lIud+S\":[\"Universal identifier is reserved for system-managed metadata\"],\"lKiUxC\":[\"Message channel message association message folder record position\"],\"lMbT9y\":[\"Thread id from the messaging provider\"],\"lNKrNc\":[\"Two-factor authentication method not found.\"],\"lNgTSN\":[\"Workspace cannot be deleted: subscription is not yet canceled.\"],\"lOyHVQ\":[\"Invalid request.\"],\"lPC0WB\":[\"Invalid group by parameter.\"],\"lPFYWf\":[\"Deactivate Workflow\"],\"lPd6aN\":[\"Tasks tied to the contact\"],\"lS6C4L\":[\"Resource path must not contain backslashes\"],\"lTGIDF\":[\"Recording lifecycle status\"],\"lUEEso\":[\"User workspace not found.\"],\"lWLaJ5\":[\"Open Records In\"],\"lYf9yG\":[\"Events linked to the workspace member\"],\"liZHXq\":[\"Configuration is required for iframe widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"ljUvzm\":[\"Label identifier field cannot be deactivated\"],\"llR7hT\":[\"Tab 1\"],\"lpSAqb\":[\"Invalid subdomain.\"],\"lr7Nsq\":[\"Event target\"],\"lrTHGl\":[\"Workflow Versions\"],\"lscvqN\":[\"workflowVersionId must not be set when engineComponentKey is FRONT_COMPONENT_RENDERER\"],\"ltvmAF\":[\"Application not found.\"],\"luyinP\":[\"Invalid configuration type for fields widget \\\"\",[\"widgetTitle\"],\"\\\". Expected FIELDS, got \",[\"actualString\"]],\"ly4IhE\":[\"Message Id\"],\"lyfeGa\":[\"Invalid command menu item input.\"],\"m+O/bO\":[\"Description\"],\"m2jBI/\":[\"Direct upload is not supported for this file type.\"],\"m34s12\":[\"workflowVersionId is required when engineComponentKey is TRIGGER_WORKFLOW_VERSION\"],\"m4y7mj\":[\"Invalid response format type\"],\"m8tBqi\":[\"Page layout tab to update not found\"],\"m9fD11\":[\"Email is already verified.\"],\"mANTdg\":[\"Invalid value for emails.\"],\"mAbBLH\":[\"Kanban view must have a main group by field\"],\"mCM5lH\":[\"The OAuth state parameter is invalid or expired.\"],\"mDAXg+\":[\"Invalid subscription.\"],\"mDXkHu\":[\"Agent not found\"],\"mEl3m6\":[\"Month First\"],\"mF5BSU\":[\"Route path already exists.\"],\"mFYgps\":[\"Remove from Favorites\"],\"mFjkYL\":[\"Note Target\"],\"mGasIh\":[\"Cannot delete this role: it is still assigned to one or more API keys, and the workspace default role cannot be assigned to API keys. Please reassign these API keys to another role first.\"],\"mIrUSZ\":[\"Invalid CALDAV credentials. Please check your username and password.\"],\"mMHHVP\":[\"Invalid permission setting\"],\"mMbNCo\":[\"Workspace not found. Please check the ID.\"],\"mNaQTB\":[\"Invalid workflow run.\"],\"mQj02P\":[\"Text response format should not have a schema\"],\"mTAp1w\":[\"Connection provider not found\"],\"mTFS0z\":[\"Option label exceeds 63 characters\"],\"mTxjri\":[\"There is an issue with your invitation. Please try again.\"],\"mU5fvk\":[\"Approved access domain already registered.\"],\"mUQTd+\":[\"Attachments\"],\"mWj8el\":[\"Failed to delete file \",[\"fileId\"]],\"mX3ym7\":[\"Deal\"],\"mZvaAV\":[\"Logic function execution failed.\"],\"ma0oop\":[\"Cached record name\"],\"mdX5P2\":[\"View field metadata with this universal identifier already exists\"],\"mdxF/u\":[\"Function execution timed out.\"],\"mfqtz7\":[\"Too many workspace invitations sent. Please try again later.\"],\"mgipnr\":[\"Invalid page layout widget data.\"],\"mhEqo/\":[\"WorkflowVersion workflow\"],\"mjE4RD\":[\"This evaluation target could not be found.\"],\"mnANRQ\":[\"Webhook not found\"],\"mqzu5F\":[\"Please confirm your updated email\"],\"mwzvkz\":[\"Add to Favorites\"],\"mxlR2g\":[\"The list the person belongs to\"],\"n+KDCN\":[\"To\"],\"n+OC6R\":[\"Person\"],\"n4/IOE\":[\"Workflow version does not contain at least one step\"],\"n44hqG\":[\"Event Participants\"],\"n6jNyT\":[\"Either workflow version or front component is required.\"],\"n8EtHV\":[\"Configuration validation failed.\"],\"nA3bja\":[\"Object permission to update not found\"],\"nAcEw6\":[\"People in this list\"],\"nCXfEw\":[\"The default role cannot be deleted as it is required for the workspace to function properly.\"],\"nFIPim\":[\"This subdomain is already taken.\"],\"nFIvYZ\":[\"Invalid configuration type for widget \\\"\",[\"widgetTitle\"],\"\\\". Expected \",[\"expectedString\"],\", got \",[\"actualString\"]],\"nOtYs7\":[\"Attachment target\"],\"nPwrik\":[\"You do not have permission to access this workflow.\"],\"nQqNzE\":[\"Option value \\\"\",[\"sanitizedValue\"],\"\\\" is beneath 1 character\"],\"nWIjgD\":[\"Emails\"],\"nWgj2z\":[\"Avatar Url\"],\"nZbise\":[\"This universal identifier is already claimed by another registration.\"],\"naCW6Z\":[\"April\"],\"ndAwoq\":[\"Start Date\"],\"neC452\":[\"Skipped\"],\"nmhjwk\":[\"Object label is too short\"],\"nnWIIb\":[\"Subscription item not found.\"],\"np4/Yp\":[\"Workflow automated triggers linked to the workflow.\"],\"nq15cs\":[\"You must be authenticated to manage blocklist.\"],\"nrH4HK\":[\"Input is too short.\"],\"nrcGtY\":[\"Failed to update record.\"],\"nuFzWZ\":[\"Task Target\"],\"nwC2sc\":[\"Invalid row level permission predicate group data.\"],\"nzBQFi\":[\"Sender address for the campaign\"],\"o/Kt/Y\":[\"This workspace already has a subscription.\"],\"o/rMB1\":[\"This field references an object that could not be found\"],\"o0N9e6\":[\"Source handler path is invalid\"],\"o0VLtQ\":[\"A cache lock error occurred.\"],\"o21Tgt\":[\"Code step execution failed.\"],\"o3xAcd\":[\"Title\"],\"o6DGfJ\":[\"The field \\\"\",[\"field\"],\"\\\" cannot be updated. Please contact your workspace administrator.\"],\"oEsYJM\":[\"System fields cannot be updated\"],\"oH0/eJ\":[\"Configuration type is required\"],\"oJEIzr\":[\"Emails\"],\"oKThPN\":[\"View field group with this universal identifier already exists\"],\"oLh4c+\":[\"Workspace ID and role mismatch.\"],\"oLqCzh\":[\"Invalid value for phones.\"],\"oNYUjk\":[\"Role target not found\"],\"oX1zsX\":[\"Point of Contact\"],\"obQsic\":[\"Send Email\"],\"odCOaU\":[\"GitHub authentication failed. Try connecting your GitHub account again.\"],\"of4ZuG\":[\"Unknown navigation menu item type \",[\"type\"]],\"ofdfh5\":[\"When the campaign finished sending\"],\"offvgc\":[\"Default Person Layout\"],\"oh0oix\":[\"Create View\"],\"oiqUFe\":[\"Default Task Layout\"],\"onFkTP\":[\"See Version\"],\"oqzqZq\":[\"Migration execution failed.\"],\"osscRx\":[\"Workspace schema changes are temporarily locked.\"],\"othZF2\":[\"A field with this name already exists.\"],\"oupUKG\":[\"Stopped\"],\"ovnbNI\":[\"Enable two-factor authentication in your current workspace to manage server administrators.\"],\"oxqc8m\":[\"WorkflowRun\"],\"p3MMwa\":[\"Value \\\"\",[\"stringifiedValue\"],\"\\\" of a chart filter of widget \\\"\",[\"widgetTitle\"],\"\\\" is not valid for operand \\\"\",[\"operand\"],\"\\\" on field type \\\"\",[\"filterType\"],\"\\\".\"],\"p5qcyl\":[\"Navigation menu item not found.\"],\"p6JTHU\":[\"Field type POSITION must be a system field\"],\"p6uSBj\":[\"You do not have access to this calendar channel.\"],\"pAoCL6\":[\"View Previous AI Chats\"],\"pCCxli\":[\"ViewId is required to create a view filter.\"],\"pCsIQQ\":[\"Request has expired, please try again.\"],\"pFC0xF\":[\"Message Channel Message Association\"],\"pGyA0g\":[\"Duplicate Workflow\"],\"pMOjQa\":[\"User is not a member of the workspace.\"],\"pOHI+b\":[\"Invalid enterprise key.\"],\"pOITp3\":[\"Page layout tab not found.\"],\"pOu4u/\":[\"No schedule provided in cron trigger\"],\"pQ5dZU\":[\"Object to update not found\"],\"pQNAUc\":[\"Invalid newFieldDefaultVisibility for fields widget\"],\"pRMOjU\":[\"Blocklist record position\"],\"pRQO5R\":[\"See Version\"],\"pSjWxS\":[\"Invalid action type.\"],\"pTvQqf\":[\"View field already exists\"],\"pUligB\":[\"Failed to delete jobs. Please try again later.\"],\"pXkgL2\":[\"Grid position is required\"],\"pYUji4\":[\"Deleted \",[\"objectLabelPlural\"]],\"pZEIPj\":[\"An agent with this name already exists\"],\"pa3yzc\":[\"Workflow versions linked to the workflow.\"],\"paHOg2\":[\"Approved access domain not found.\"],\"pcBMew\":[\"Field used for full-text search\"],\"pcd2n0\":[\"Duplicate\"],\"pkIuNd\":[\"View field group already exists\"],\"pouguB\":[\"Function code is unchanged.\"],\"ppA1Aq\":[\"Invalid row level permission predicate data.\"],\"prTOhK\":[\"Field name is not synced with field label\"],\"psMxtB\":[\"Files field is not supported for unique fields\"],\"pv+BoZ\":[\"The request is too complex to process. Please try reducing the amount of requested fields.\"],\"pvMXsN\":[\"Invalid answer for this question.\"],\"pwKAVz\":[\"Workspace Member\"],\"px8Wqt\":[\"Permission flag definition with universal identifier \",[\"0\"],\" already exists\"],\"pxTMbt\":[\"Point of Contact\"],\"pxZPo7\":[\"System\"],\"q1On37\":[\"Version status\"],\"q1oDDx\":[\"System fields cannot be deleted\"],\"q4irFa\":[\"Enqueued\"],\"q5OVn+\":[\"You do not have permission to perform this action.\"],\"q7l89c\":[\"Event external ID\"],\"q87JH5\":[\"Email update is restricted to single workspace users.\"],\"q8ZbjA\":[\"An unknown calendar error occurred.\"],\"qAQDfe\":[\"Person record Position\"],\"qAkbUE\":[\"User time zone\"],\"qBrKIA\":[\"Layout is required for bar chart widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"qG245w\":[\"Permission flag for this role and setting already exists\"],\"qH6+tl\":[\"Timeline Activities\"],\"qHZppf\":[\"Custom object is missing a label identifier field.\"],\"qIIg23\":[\"Test\"],\"qJ9V6q\":[\"Page layout tab not found\"],\"qKYG4b\":[\"Join table linking message channel message associations to message folders\"],\"qN3wNQ\":[\"Go to Roles Settings\"],\"qNlIHQ\":[\"Timeline activities linked to the workflow\"],\"qONLh7\":[\"Junction target field not found\"],\"qOe49F\":[\"Ask AI\"],\"qRILxq\":[\"Work\"],\"qSInGy\":[\"Too many recipients.\"],\"qSQPRS\":[\"Workspace does not exist.\"],\"qW+K5e\":[\"Your Twenty trial is ending soon\"],\"qelyBB\":[\"Field does not belong to the indexed object\"],\"qfdnRM\":[\"Message Participant\"],\"qgC2Dq\":[\"Message Thread record position\"],\"qgasuj\":[\"Please provide a password for this connection.\"],\"qiWAf+\":[\"Message id from the messaging provider\"],\"qjrxU8\":[\"Access denied.\"],\"qo/IO1\":[\"Sent\"],\"qpXqpa\":[\"Entity not found.\"],\"qqnpQ9\":[\"A view error occurred.\"],\"qs7GyL\":[\"Could not find \",[\"targetMetadataName\"],\" for given \",[\"universalForeignKey\"]],\"qvqNco\":[\"Invalid value for field \\\"\",[\"fieldName\"],\"\\\"\"],\"qyMa3j\":[\"Calendar events\"],\"r+9b/a\":[\"Invalid price.\"],\"r+kse7\":[\"No verified sending domain matches this from address.\"],\"r4t1DT\":[\"Other\"],\"r4uEo5\":[\"Cannot give write permission without read permission.\"],\"r5C2wB\":[\"Updated field name is not synced with label\"],\"r6zgGo\":[\"December\"],\"rB+mLn\":[\"Title\"],\"rEDXNA\":[\"Boom\"],\"rEIcf+\":[\"Invalid workflow trigger input.\"],\"rExecr\":[\"This role cannot be assigned to agents.\"],\"rFH0az\":[\"Invalid front component input.\"],\"rFV9W+\":[\"Tasks tied to the opportunity\"],\"rFj1tD\":[\"Position must be a finite number\"],\"rHce90\":[\"Object metadata not found.\"],\"rI+dAx\":[\"Label identifier view field has to be in the lowest position\"],\"rL2haJ\":[\"Widget type VIEW is not supported yet.\"],\"rLOFsu\":[\"Position\"],\"rLnr2R\":[\"Hide deleted \",[\"objectLabelPlural\"]],\"rR7vkH\":[\"Field permission to update not found\"],\"rVKk74\":[\"Configuration is required for standalone rich text widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"rWCYgN\":[\"Spreadsheet\"],\"reBsjo\":[\"A temporary network error occurred.\"],\"rej7zQ\":[\"View field group parent view not found\"],\"rfTW6d\":[\"Number of emails that failed to send\"],\"rjyWPb\":[\"January\"],\"rkIGWa\":[\"Billing customer not found.\"],\"rklt6M\":[\"Workspace is not ready to welcome new members\"],\"rl11Jd\":[\"Failed to build function dependencies.\"],\"rnnLQA\":[\"Workspace member not found.\"],\"rpkTUe\":[\"Invalid filter: filtering by relation field \\\"\",[\"key\"],\"\\\" is not supported\"],\"rqDhd1\":[\"Function execution failed.\"],\"rqQpQX\":[\"Call Recordings\"],\"ruD0s1\":[\"Failed to receive real time updates.\"],\"rx63gq\":[\"Content cannot be empty\"],\"rxi3R2\":[\"Please check your connection settings. Make sure the server host, port, and password are correct.\"],\"s+1Ldg\":[\"Unsupported page layout widget type \",[\"widgetType\"]],\"s+CGNO\":[\"Navigation menu item not found\"],\"s+lEnL\":[\"Could not create the index because it must run outside a database transaction.\"],\"s+mvdF\":[\"The webhook subscription could not be managed for this account.\"],\"s2T4KU\":[\"Deals created this month\"],\"s3wAxw\":[\"Page Layout ID\"],\"s6LppJ\":[\"Invalid file extension. Allowed extensions: \",[\"0\"]],\"s6batt\":[\"This domain is already registered.\"],\"s7cqdG\":[\"Resource path must be relative, not absolute\"],\"s8R9ou\":[\"The list name\"],\"s8y6wj\":[\"Widget views must use a widget view type\"],\"s9DUGk\":[\"The object to update could not be found to reconcile its INDEX view\"],\"sDZaHF\":[\"A workspace member\"],\"sDfyvM\":[\"Invalid morph relation input\"],\"sELqwL\":[\"Dashboard page layout\"],\"sFN4Dx\":[\"Value \\\"\",[\"stringifiedValue\"],\"\\\" is not valid for operand \\\"\",[\"operand\"],\"\\\" on field type \\\"\",[\"filterType\"],\"\\\".\"],\"sHcAMD\":[\"Invalid trigger type for enabling workflow trigger\"],\"sI3ixq\":[\"Calendar Channel Event Association\"],\"sMsvyG\":[\"Members\"],\"sOfbGC\":[\"Your Twenty plan renews soon\"],\"sYutYQ\":[\"Actual recording start\"],\"sa9Q+R\":[\"Please select at least 2 records to merge.\"],\"sbHaOg\":[\"View filter already exists\"],\"scar7N\":[\"Workspace Members\"],\"si69+A\":[\"Permission flag definition key cannot be changed after creation\"],\"siJgSI\":[\"User not found.\"],\"sieBE7\":[\"A record with this relationship already exists.\"],\"sjVenv\":[\"Workflow version\"],\"sjYS9x\":[\"You do not have permission to create workspace-level navigation menu items. Please contact your workspace administrator for access.\"],\"smyL3I\":[\"Runs\"],\"snEXuU\":[\"FieldMetadataId is required to create a view sort.\"],\"sndTPB\":[\"System objects cannot be updated\"],\"snetsR\":[\"Community\"],\"spfaiG\":[\"Invalid two-factor authentication configuration.\"],\"spjW+Z\":[\"Accepted\"],\"sqzMKR\":[\"View field to update parent view object not found\"],\"srkEOV\":[\"Failed to exchange the authorization code for an access token.\"],\"sskdm3\":[\"Calendar Event\"],\"stY5BO\":[\"Field type NUMERIC is not supported. Use Number instead.\"],\"su92Mw\":[\"Email subject line\"],\"sv9P4Q\":[\"Default value should be as quoted string\"],\"swFcOd\":[\"NoteTarget note\"],\"swt/ln\":[\"Campaign\"],\"t/0e9D\":[\"Prompt cannot be empty\"],\"t38VAr\":[\"Navigation menu item hierarchy exceeds maximum depth of \",[\"NAVIGATION_MENU_ITEM_MAX_DEPTH\"]],\"t4AABW\":[\"Invalid order by parameter.\"],\"t77Ey9\":[\"Application not found in this workspace.\"],\"t7SpQO\":[\"Invalid input provided.\"],\"t9QlBd\":[\"November\"],\"tBK3H8\":[\"Configuration is required for front component widget \\\"\",[\"title\"],\"\\\"\"],\"tCbiO2\":[\"Started At\"],\"tEb/hR\":[\"Transformation failed.\"],\"tEncxN\":[\"Unknown operation.\"],\"tG/2Q/\":[\"Invalid Captcha, please try another device\"],\"tGfHmi\":[\"API key role not found.\"],\"tH32bu\":[\"Versions\"],\"tKVJbL\":[\"Go to Admin Panel Settings\"],\"tMSida\":[\"Message Channel Association\"],\"tO7kqE\":[\"Id\"],\"tPOpjI\":[\"Email body sent to recipients\"],\"tYtTv9\":[\"Server administrator access changed\"],\"tcYYlR\":[\"NoteTarget record position\"],\"te+g0b\":[\"Notes tied to the contact\"],\"tfoEIq\":[\"Invalid value for FILES field \\\"\",[\"fieldName\"],\"\\\" - \",[\"errorMessage\"]],\"tir/7Q\":[\"View filter group hierarchy exceeds maximum depth of \",[\"VIEW_FILTER_GROUP_MAX_DEPTH\"]],\"tj1Qu0\":[\"Configuration is required for fields widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"tkDOSx\":[\"24HRS\"],\"tks5qw\":[\"Dashboard title\"],\"tkzFzG\":[\"Invalid pricing tiers.\"],\"tl8xOZ\":[\"The provided email address is missing a domain. Please use a standard email format (e.g., [email protected]).\"],\"tlIbgN\":[\"Go to Billing Settings\"],\"tm//h9\":[\"Invalid label format.\"],\"toB/08\":[\"View to delete not found\"],\"tsYhp1\":[\"Recording\"],\"tv4sza\":[\"Call Recordings\"],\"tw1ElT\":[\"Workspace member position\"],\"txhQne\":[\"Version steps\"],\"tz4ASG\":[\"Workspace Member\"],\"tznZvd\":[\"Task title\"],\"u+rv4L\":[\"Step is not a form\"],\"u/Q/SE\":[\"Message id from the message header\"],\"u1Fm8i\":[\"Role \\\"\",[\"roleLabel\"],\"\\\" cannot be assigned to API keys\"],\"u4ex5r\":[\"July\"],\"u5u/QJ\":[\"Go to Community Settings\"],\"u8G1rR\":[\"Restore \",[\"objectLabel\"]],\"u8IV9J\":[\"Missing main alias target.\"],\"u9WDFH\":[\"Archive\"],\"uAJ5BF\":[\"Resource path contains null bytes\"],\"uGUFcy\":[\"ViewId is required to create a view sort.\"],\"uHk5U2\":[\"Merge\"],\"uK5bNo\":[\"Note body\"],\"uK5uBy\":[\"Server keys require the application publisher workspace to have the application installed.\"],\"uNfOVo\":[\"Timeline\"],\"uO9NF0\":[\"View field group to delete not found\"],\"uTPwH1\":[\"Field metadata to delete not found\"],\"uVOjgA\":[\"Workflow version linked to the run.\"],\"uYP2Uw\":[\"The uploaded file does not match the declared size. Please retry the upload.\"],\"uYdN1N\":[\"Notes\"],\"ue106l\":[\"Application is not installed in this workspace. Install it first.\"],\"ufaNs2\":[\"Design\"],\"ugu505\":[\"Field cannot be indexed as it belongs to a different object\"],\"uhRAsd\":[\"Aggregate operation is required for graph widget\"],\"umhXiy\":[\"Cron pattern {pattern} is invalid\"],\"unOidh\":[\"Number of emails that bounced\"],\"uo7UmH\":[\"Subscription not found.\"],\"uoi9Wy\":[\"Cannot modify predicate to change its role from \",[\"existingRoleIdentifier\"],\" to \",[\"updatedRoleIdentifier\"]],\"uwL5YM\":[\"Task assignee\"],\"uyJle/\":[\"Done\"],\"v+527c\":[\"File \",[\"fileId\"],\" was not uploaded for this field. Please re-upload the file.\"],\"v+ozTr\":[\"Invalid workflow step input.\"],\"v1QfnP\":[\"Reply To\"],\"v2G/zq\":[\"Page layout widget to destroy not found\"],\"v874L+\":[\"Primary axis group by field is required for line chart widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"v8UNEA\":[\"We couldn't log in to your email account. Please check your email address and password, then try again.\"],\"vBl1vC\":[\"Calendar event participant record position\"],\"vCvEfM\":[\"Permission flag definition key is required\"],\"vD3FVp\":[\"The server address you entered is not allowed. Please use a public server address.\"],\"vGWuPM\":[\"Settings\"],\"vMP7nZ\":[\"Row level permission predicate group to delete not found\"],\"vNNSFX\":[\"Enter your two-factor authentication code to manage server administrators.\"],\"vOKvb8\":[\"Connection provider with name \",[\"0\"],\" already exists for this application\"],\"vPl+B/\":[\"Go to Members Settings\"],\"vUfYBs\":[\"Permission flag definition already exists\"],\"vVCf2E\":[\"Query execution failed.\"],\"vX8fN0\":[\"Workflow run enqueued at\"],\"vYrPc5\":[\"Role target must have exactly one of: apiKeyId, userWorkspaceId, or agentUniversalIdentifier\"],\"va8c5P\":[\"Row level permission predicate group not found\"],\"vcvSI3\":[\"Permission not found.\"],\"viS7/+\":[\"Configuration is required for standalone rich text widget\"],\"vjIbbe\":[\"Message channel not found.\"],\"vkvP/1\":[\"Event ID\"],\"vngnhF\":[\"Field already exists\"],\"vo/CmK\":[\"Opportunities by Owner\"],\"vplJ+F\":[\"Invalid credit amount.\"],\"vqM7BR\":[\"Opportunity point of contact\"],\"vxbVwc\":[\"Cannot activate non-draft or non-last-published version\"],\"w/9iNJ\":[\"The object to rename could not be found to update its default relations\"],\"w0nNxn\":[\"This endpoint has moved. Call it at \",[\"publicFunctionUrl\"],\" instead.\"],\"w7dUdB\":[\"Send Campaign\"],\"w8Rv8T\":[\"Label is required\"],\"w943Kr\":[\"Creation DateTime\"],\"w9vY/A\":[\"People\"],\"wEyUsU\":[\"View sort to update not found\"],\"wG8PVB\":[\"Target relation field does not reference the source object\"],\"wHLbpa\":[\"Per-step observability payload (token usage, tool calls, log entries)\"],\"wJMQQx\":[\"Invalid configuration type for fields widget\"],\"wLX74t\":[\"Object label is too long\"],\"wMVBTa\":[\"Flow\"],\"wNJvot\":[\"Cannot switch subscription interval.\"],\"wOVBIH\":[\"Configuration is required for graph widget\"],\"wQ3edW\":[\"This kind of credit grant cannot be created by hand.\"],\"wT0H4O\":[\"Password too weak\"],\"wVLH1M\":[\"Object permission with universal identifier \",[\"0\"],\" already exists\"],\"waPPpZ\":[\"Upsert\"],\"weWV3g\":[\"File not found.\"],\"wg/hr/\":[\"Preferred language\"],\"wgGOAj\":[\"All recipients are suppressed for this email domain.\"],\"wj0hmG\":[\"Linked Record id\"],\"wkRCkw\":[\"Note\"],\"wmdbyt\":[\"Note attachments\"],\"woRk0z\":[\"The role you are trying to modify could not be found.\"],\"wqJIjz\":[\"Aggregate field is required for graph widget\"],\"wz0wTT\":[\"Permission flag definition with key \",[\"flagKey\"],\" is still assigned to a role\"],\"x0Vn7k\":[\"Subscription is not in trial period.\"],\"x31eoV\":[\"Opportunities linked to the company.\"],\"xAAHTC\":[\"Go to Security Settings\"],\"xAF1N9\":[\"An opportunity\"],\"xBSqqt\":[\"Command menu item not found\"],\"xCHHEH\":[\"General\"],\"xCnoll\":[\"Default Workflow Layout\"],\"xD2MTL\":[\"Rate limit reached. Please try again later.\"],\"xE3QEV\":[\"Calendar channel event association record position\"],\"xFQ9H7\":[\"Message Channel Message Association\"],\"xGunO9\":[\"Bounced\"],\"xHFdq5\":[\"Search field metadata to update not found\"],\"xKCu0t\":[\"Retry\"],\"xKvSoz\":[\"The received email content is no longer available.\"],\"xLsFda\":[\"Target relation field does not reference this field\"],\"xM30Ha\":[\"The field configured for this widget could not be found.\"],\"xO923u\":[\"Cannot modify predicate belonging to a different role.\"],\"xQ2DfP\":[\"Connection provider display name is required\"],\"xTE+26\":[\"Workspace member name\"],\"xYLtTf\":[\"Blocklist item not found.\"],\"xaBJxq\":[\"GIN indexes work on multi-select, array, JSON, and search-vector columns. \\\"\",[\"0\"],\"\\\" sub-properties don't qualify.\"],\"xfXYBX\":[\"Invalid input for application registration.\"],\"xiXoMW\":[\"File \",[\"fileId\"],\" upload has not been completed. Please retry the upload.\"],\"xkRCzV\":[\"Source app recording id, when present\"],\"xodh4N\":[\"OAuth provider not found.\"],\"xp3jG9\":[\"Color Scheme\"],\"xqrB9X\":[\"You cannot delete a role you are assigned to. Ask another administrator to delete it.\"],\"xrblgA\":[\"Object metadata not found\"],\"xuYXJX\":[\"Correct direction is required\"],\"xvTxwi\":[\"Invalid value \\\"\",[\"inspectedValue\"],\"\\\" for FILES field \\\"\",[\"fieldName\"],\"\\\" - It should be an array of objects with \\\"fileId\\\" and \\\"label\\\" properties.\"],\"xvV2NJ\":[\"We are experiencing a temporary issue with our database. Please try again later.\"],\"xvfw7w\":[\"Export to PDF\"],\"xw6iqb\":[\"Email is not verified.\"],\"xwq0b4\":[\"Use as Draft\"],\"xyfiio\":[\"Calendar\"],\"xzNMzS\":[\"Invalid seed project configuration.\"],\"y+BSWq\":[\"Email is unchanged.\"],\"y2nks/\":[\"This app requires a newer version than this workspace has finished upgrading to. Please try again once the workspace upgrade completes.\"],\"y3SNqs\":[\"This conversation is too long for the model. Start a new thread to continue.\"],\"y5haJ4\":[\"You cannot grant edit permissions without also granting read permissions. Please enable read access first.\"],\"y8IlfM\":[\"Workflow\"],\"y8LSMh\":[\"Email verification not required.\"],\"yCsIxc\":[\"Page layout widget to update not found\"],\"yEL+R4\":[\"Opportunity amount\"],\"yFLhnq\":[\"Remove this permission from all roles before deleting it\"],\"yGCc6d\":[\"Note title\"],\"yIUmAs\":[\"This name is not available.\"],\"yQDBsf\":[\"Function code failed to compile.\"],\"yRJEYl\":[\"Message Channel Id\"],\"yU57/s\":[\"Configuration is required for fields widget\"],\"yV6160\":[\"URL must be a string for widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"yVxtzR\":[\"Remote objects are not supported yet\"],\"ycn/wp\":[\"File \",[\"fileId\"],\" is already associated with a permanent files field. Please re-upload the file.\"],\"yg6ThG\":[\"Direction\"],\"ygoA2u\":[\"Event name\"],\"ylQono\":[\"Field restrictions only apply to readable objects.\"],\"yqmAnC\":[\"Field permission not found.\"],\"ysRzX6\":[\"Previous AI Chats\"],\"ysb9m+\":[\"Workflow root step not found.\"],\"yxykz2\":[\"Cannot modify predicate group to change its role from \",[\"existingRoleIdentifier\"],\" to \",[\"updatedRoleIdentifier\"]],\"yzSIu/\":[\"Message Participants\"],\"z+7x/s\":[\"You must be authenticated to perform this action.\"],\"z+srLp\":[\"Linkedin\"],\"z1WJHw\":[\"Notes tied to the opportunity\"],\"z2V1Q6\":[\"Connection provider oauthConfig.\",[\"label\"],\" is required\"],\"z2Vy8H\":[\"Assigned tasks\"],\"z68tnU\":[\"Invalid webhook input.\"],\"z7QJbR\":[\"This question has already been answered.\"],\"z7bcpf\":[\"This domain has already been validated.\"],\"z8/E1J\":[\"frontComponentId must not be set when engineComponentKey is TRIGGER_WORKFLOW_VERSION\"],\"z851aK\":[\"Chart filter operand is not supported for this field type\"],\"zC/oFa\":[\"Duplicate Dashboard\"],\"zEGChV\":[\"Option value format not supported\"],\"zEHtXk\":[\"Reference to the core workflow row\"],\"zGMIAQ\":[\"Tentative\"],\"zISk4k\":[\"This app requires a newer version of the Twenty server. Please upgrade your server or use a compatible app version.\"],\"zIwdvk\":[\"The logic function to run on connect was not found.\"],\"zK+Ntk\":[\"Company record position\"],\"zL+3RN\":[\"Navigate App\"],\"zMMTZj\":[\"Apps\"],\"zSq4aO\":[\"Whether this message is an unsent draft synced from the provider\"],\"zSsbOe\":[\"Workflows\"],\"zU5mL2\":[\"Data Model\"],\"zURS+B\":[\"Message Thread Id\"],\"zUyPBT\":[\"Invalid message folder input.\"],\"zW3WPH\":[\"Complained\"],\"zWj6VZ\":[\"WorkspaceId is required to create a view filter group.\"],\"zYcf9G\":[\"Connection provider displayName is required\"],\"zdTUvE\":[\"Row level permission predicate to delete not found\"],\"zeEQd/\":[\"June\"],\"zeffu9\":[\"Role must have at least one target.\"],\"zey8hv\":[\"OAuth connection provider is missing its oauth config block\"],\"zfvgb0\":[\"Calendar view must have a calendar field\"],\"zhPcjs\":[\"Emails\"],\"zhhpvr\":[\"Edit\"],\"zjh2SJ\":[\"Name is too long\"],\"zlsZBc\":[\"Role permission flag already exists\"],\"znCTbL\":[\"Widget index must be an integer\"],\"znJ6EA\":[\"A view group error occurred.\"],\"zoIkfT\":[\"An unexpected error occurred while handling the server route.\"],\"zqVFya\":[\"Is Organizer\"],\"zrOFFt\":[\"Apostrophe and dot\"],\"zrm54u\":[\"Page layout to destroy not found\"],\"zsYQk/\":[\"Custom domains are disabled for this workspace.\"]}")as Messages;
\ No newline at end of file
+/*eslint-disable*/import type{Messages}from"@lingui/core";export const messages=JSON.parse("{\"++Dmjj\":[\"Event details\"],\"++iNv7\":[\"List\"],\"+2vVRB\":[\"You do not have permission to impersonate users. Please contact your workspace administrator for access.\"],\"+4WR+J\":[\"Channel ID\"],\"+5kO8P\":[\"Saturday\"],\"+67q2u\":[\"workflowVersionId must not be set for engine component key \",[\"engineComponentKey\"]],\"+9R1ka\":[\"Widget index must be a non-negative integer\"],\"+DJKfQ\":[\"Primary axis group by field is required for bar chart\"],\"+E9N4m\":[\"Option label is required\"],\"+ECOke\":[\"Invalid filter : \",[\"nameSingular\"],\" object doesn't have any \\\"\",[\"key\"],\"\\\" field.\"],\"+Ekld4\":[\"Stats\"],\"+FHERL\":[\"A valid viewUniversalIdentifier is required for VIEW type\"],\"+GVjEm\":[\"Invalid filter: \\\"\",[\"operator\"],\"\\\" operator requires an array\"],\"+HfL4V\":[\"Timeline Activities linked to the company\"],\"+KEn4d\":[\"Joining\"],\"+KxhfJ\":[\"Task\"],\"+MvnxO\":[\"An index must contain at least one field\"],\"+TR7Gb\":[\"Compose Campaign\"],\"+aAI33\":[\"A function with this name already exists.\"],\"+bFtT5\":[\"Relation creation payload is required\"],\"+dLR8z\":[\"Send Test Email\"],\"+fwgt2\":[\"Role target with this universal identifier already exists\"],\"+wZ6RO\":[\"You do not have permission to impersonate users in this workspace.\"],\"//eyK1\":[\"Option label \\\"\",[\"sanitizedLabel\"],\"\\\" is beneath 1 character\"],\"/5c/t7\":[\"Page layout to update not found\"],\"/63r02\":[\"Calendar start and end fields must be different\"],\"/BTyf+\":[\"Role not found.\"],\"/BipSk\":[\"No valid authentication context found.\"],\"/E7MoD\":[\"Failed to record billing event.\"],\"/GJDxy\":[\"Password is too weak.\"],\"/HKzKW\":[\"Target URL is required\"],\"/N2VrL\":[\"Start of the week\"],\"/OJTzk\":[\"Connected account not found.\"],\"/ObxXq\":[\"Too many admin candidates found.\"],\"/QTsIU\":[\"The object to update could not be found to reconcile its record page\"],\"/RcKVn\":[\"There is no failed message to retry.\"],\"/SzXf6\":[\"Commas and dot\"],\"/VxChJ\":[\"Chat thread not found.\"],\"/WTI79\":[\"Circular dependency detected in navigation menu item hierarchy.\"],\"/XKGep\":[\"This name is a reserved keyword.\"],\"/Z4Wk1\":[\"Aggregate field metadata is required for graph widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"/amTA5\":[\"Permission flag definition permission type must be 'settings' or 'tool'\"],\"/deTOT\":[\"Relations\"],\"/fcRNd\":[\"Admin Panel\"],\"/ffPWJ\":[\"A required field is missing. Please provide all required values and try again.\"],\"/h13bI\":[\"Preferred color scheme\"],\"/hS43l\":[\"The company website URL. We use this url to fetch the company icon\"],\"/lHFxo\":[\"Cannot modify predicate group to change its object from \",[\"existingObjectMetadataIdentifier\"],\" to \",[\"updatedObjectMetadataIdentifier\"]],\"/mGcny\":[\"This object already has a default view\"],\"/ojawH\":[\"System objects cannot be deleted\"],\"/olFYI\":[\"Cannot delete the last admin user.\"],\"/q4AFh\":[\"Block Settings\"],\"/ruB5e\":[\"Row level permission predicate already exists\"],\"/wsRPd\":[\"Option value is required\"],\"/xPxQo\":[\"Invalid configuration type for front component widget\"],\"/yKslt\":[\"Calendar event participant\"],\"01Sxb6\":[\"Some of the permissions you selected are not valid. Please try again with valid permission settings.\"],\"01sScH\":[\"Location\"],\"07HtKu\":[\"Files\"],\"08qKzD\":[\"OAuth access was denied.\"],\"09IBNJ\":[\"Widget not found.\"],\"09NaoU\":[\"Permission flag key cannot be changed.\"],\"0D0YwP\":[\"Invalid phone calling code.\"],\"0EMDOm\":[\"Events linked to the person\"],\"0GMgIa\":[\"This timeline activity action is not supported\"],\"0Hcw3b\":[\"Security\"],\"0N8sVQ\":[\"Audio\"],\"0NdYmj\":[\"Invalid workflow step type.\"],\"0QdkGz\":[\"Timeline activity type name is required\"],\"0U7DBn\":[\"Calendars\"],\"0WblB4\":[\"Deals by Company\"],\"0YMUrV\":[\"Edit Layout\"],\"0aXgXb\":[\"Front component must not be set for this item type\"],\"0arbc4\":[\"This record does not exist or has been deleted.\"],\"0biWRI\":[\"The default role cannot be deleted.\"],\"0i3MMx\":[\"was unlinked by\"],\"0ij6VP\":[\"Create View\"],\"0j1d4L\":[\"Blocklist handle already exists.\"],\"0j9QWW\":[\"Statuses\"],\"0nxZr5\":[\"Update \",[\"objectLabelPlural\"]],\"0oA/lJ\":[\"Message Id\"],\"0w608/\":[\"Workflow Version\"],\"0x2TQ/\":[\"Layout is required for bar chart\"],\"0zQFQ1\":[\"Opportunity close date\"],\"1AEtOW\":[\"Source component path is invalid\"],\"1EPmDp\":[\"Go to MCP & APIs Settings\"],\"1F/w2I\":[\"Contact's name\"],\"1FhQYt\":[\"Invalid newFieldDefaultVisibility for fields widget \\\"\",[\"widgetTitle\"],\"\\\". Expected a boolean\"],\"1GvzpH\":[\"Refresh token not found.\"],\"1KSqGE\":[\"View filter not found\"],\"1MBLO9\":[\"Tasks\"],\"1NsPsQ\":[\"New\"],\"1PtrY0\":[\"Invalid country code \",[\"countryCode\"]],\"1RF4/e\":[\"Relation filter is not supported here\"],\"1SQnFB\":[\"You cannot change your own role. Please ask another administrator to update your role.\"],\"1SgH8v\":[\"Lists\"],\"1TLh3X\":[\"Presentation\"],\"1UzENP\":[\"No\"],\"1WWVFC\":[\"Application cleanup is still in progress. Please try again.\"],\"1X1RW5\":[\"ViewId is required to create a view group.\"],\"1bOGPq\":[\"IS_CONFIG_VARIABLES_IN_DB_ENABLED is false on your server. Please add ENTERPRISE_KEY to your .env file manually.\"],\"1bQnL5\":[\"Text\"],\"1dgupQ\":[\"WorkspaceMember\"],\"1dsy9v\":[\"You do not have permission to update these fields: \",[\"fieldsList\"],\". Please contact your workspace administrator.\"],\"1evldO\":[\"Events linked to the list\"],\"1fFL4B\":[\"Connect is not allowed for \",[\"connectFieldName\"],\" on \",[\"objectMetadataNameSingular\"]],\"1fxsyJ\":[\"WorkflowAutomatedTrigger record position\"],\"1mnXbh\":[\"Resource path must not contain empty segments or trailing slashes\"],\"1r7kLp\":[\"Unsupported configuration type.\"],\"1ssKrE\":[\"Target relation field does not belong to the expected object\"],\"1t3DGy\":[\"Calendar event not found.\"],\"1yoHmO\":[\"Invalid filter parameter.\"],\"22Peto\":[\"The domain does not match your email domain.\"],\"26b8pD\":[\"Calendar field not found\"],\"2ACKTg\":[\"Function not found.\"],\"2BTedV\":[\"Default Campaign Layout\"],\"2ET75e\":[\"Cannot target a role owned by another application.\"],\"2LXGtF\":[\"Relation configuration is invalid.\"],\"2LlOmm\":[\"Reply\"],\"2NHP+l\":[\"Role permission flag with universal identifier \",[\"0\"],\" already exists\"],\"2OlYO4\":[\"Subject\"],\"2TPvIG\":[\"Permanently destroy \",[\"objectLabel\"]],\"2ZhYYy\":[\"Created field metadata, parent object metadata not found\"],\"2aIAwH\":[\"Json value for event details\"],\"2dNwZB\":[\"Related record not found.\"],\"2gzz0t\":[\"Workspace setup\"],\"2iURlq\":[\"No permissions are set for this role on the selected object. Please set object permissions first.\"],\"2jnsqJ\":[\"This role cannot be edited.\"],\"2kFzQB\":[\"Temporary file cannot be downloaded.\"],\"2m6Fru\":[\"Name \\\"\",[\"name\"],\"\\\" is not available\"],\"2mFkfl\":[\"Option id is invalid\"],\"2mZr45\":[\"Permission flag not found\"],\"2n/OzT\":[\"Summary\"],\"2oVE+z\":[\"Can't impersonate user via api key\"],\"2rU/w8\":[\"A view filter group error occurred.\"],\"2rlDLU\":[\"Default Workflow Version Layout\"],\"2sIVDj\":[\"Domain is already registered\"],\"2tgyTi\":[\"Json object to provide trigger\"],\"2ydSiw\":[\"Requested\"],\"2zDT7o\":[\"The campaign this message was sent as part of\"],\"3+GbNY\":[\"View to update not found\"],\"30wIOs\":[\"Message channel message association record position\"],\"34/Ymp\":[\"Customer\"],\"34hWb7\":[\"View group to destroy not found\"],\"38I6bM\":[\"Send Email\"],\"39y5bn\":[\"Friday\"],\"3DpUem\":[\"Calendar Channel Event Associations\"],\"3J2x1Q\":[\"Calendar channel not found.\"],\"3JzsDb\":[\"May\"],\"3KT/1G\":[\"Campaigns\"],\"3TjusZ\":[\"Time zone\"],\"3UUjIe\":[\"Configuration is required for front component widget\"],\"3VQj1J\":[\"A workflow\"],\"3WE+U+\":[\"Calendar event record position\"],\"3Xznjo\":[\"Call Recordings\"],\"3Zd7P4\":[\"Recipients\"],\"3a4HHd\":[\"Workflow run ended at\"],\"3cvUac\":[\"Members\"],\"3eKCDz\":[\"This domain is already registered as a custom domain.\"],\"3jX0AP\":[\"Deal\"],\"3l1ppY\":[\"View filter to delete not found\"],\"3nHyuH\":[\"The webhook request could not be processed.\"],\"3niIR5\":[\"Cannot modify predicate group belonging to a different role.\"],\"3q5jw3\":[\"This permission is already set for the role\"],\"3qYOk2\":[\"Permission flag not found.\"],\"3rJRbD\":[\"Opportunity owner\"],\"3uACdY\":[\"The workflow version name\"],\"3wAyvl\":[\"Email is required. Please provide a valid email address.\"],\"3zMs+f\":[\"View sort not found\"],\"3zRddX\":[\"Permission flag already exists.\"],\"4+wqNB\":[\"Message Folder\"],\"410QNy\":[\"Search field metadata to delete not found\"],\"43Mh2+\":[\"Draft Email\"],\"45baE2\":[\"Workflow\"],\"46ZD9h\":[\"Go to Experience Settings\"],\"475gCs\":[\"You have reached the maximum number of server transfers allowed in the last 30 days for this enterprise key. Please try again later.\"],\"48ceJ8\":[\"Calendar\"],\"48fVkh\":[\"The uploaded file is larger than declared.\"],\"4AomZC\":[\"Single sign-on authentication failed.\"],\"4CW4iW\":[\"This address cannot be removed from the suppression list.\"],\"4EGmy6\":[\"Label must not be empty\"],\"4EtFrA\":[\"Invalid day value. Should be integer greater than 1\"],\"4GaFCQ\":[\"First friendly message\"],\"4H8X9C\":[\"Calendar Event Participants\"],\"4LIgRz\":[\"Invalid event type.\"],\"4LVaa7\":[\"The request is too complex to process. Please try reducing the amount of requested root resolvers.\"],\"4LperZ\":[\"Actual recording end\"],\"4MWDA2\":[\"Invalid issuer URL.\"],\"4MiH8E\":[\"Account Owner\"],\"4OOQwW\":[\"Workflow version is required for workflow trigger items\"],\"4Pp2U8\":[\"Use as Draft\"],\"4R+xJM\":[\"Record not found.\"],\"4WLHxu\":[\"Number format\"],\"4XvK/4\":[\"Another application in this workspace has already registered a permission flag with this key.\"],\"4eM03h\":[\"Invalid filter: \\\"isEmptyArray\\\" operator requires a boolean\"],\"4ffNty\":[\"WorkflowAutomatedTrigger workflow\"],\"4hKZBf\":[\"Attachments linked to the company\"],\"4ib9PY\":[\"Object permission already exists\"],\"4kMeNM\":[\"You have reached the maximum number of license refreshes allowed today for this enterprise key. Please try again later.\"],\"4lgLew\":[\"February\"],\"4nPpGt\":[\"Transcript\"],\"4oDFCk\":[\"A view field group error occurred.\"],\"4pIUYY\":[\"Business\"],\"4rVmMh\":[\"Blocklists\"],\"4romcD\":[\"Other error\"],\"4tP6XL\":[\"Workflow run enqueued at\"],\"4wM9Cs\":[\"frontComponentId is required when engineComponentKey is FRONT_COMPONENT_RENDERER\"],\"4ysDL0\":[\"You can only update up to \",[\"QUERY_MAX_RECORDS\"],\" records at once.\"],\"50uIQG\":[\"Calendar Event Participants\"],\"52iQDS\":[\"Home\"],\"53pIyA\":[\"ObjectMetadataId is required to create a view.\"],\"54N0Kq\":[\"Timeline Activities linked to the task.\"],\"56bPee\":[\"Invalid value for actor.\"],\"56bSD0\":[\"Invalid application variable input.\"],\"5Buorv\":[\"Field type validation error.\"],\"5F02zD\":[\"This file format is not supported.\"],\"5I3Pop\":[\"Could not resolve standard relation object \\\"\",[\"standardObjectNameSingular\"],\"\\\" to provision default relations\"],\"5Io9Sh\":[\"Workspace not found for subscription event.\"],\"5MJQ4s\":[\"Application variable key is required\"],\"5MvgEo\":[\"This campaign's email content is invalid.\"],\"5PQwBy\":[\"Video recording\"],\"5VSRdB\":[\"A path segment exceeds the maximum length of 255 characters\"],\"5ZHOkh\":[\"Invalid object input.\"],\"5ZMHXg\":[\"No role found for this user in the workspace.\"],\"5cm5Hn\":[\"Field to update object metadata not found\"],\"5hxu+5\":[\"Recurring Event ID\"],\"5m/1Hh\":[\"Option value exceeds 63 characters\"],\"5phRcJ\":[\"Permission flag definition to update not found\"],\"5qj/ud\":[\"Invalid page layout tab data.\"],\"5r5YRW\":[\"You can only update one record with files field at once.\"],\"5rS7nl\":[\"Could not resolve the existing object to reconcile its INDEX label identifier view field\"],\"5rUZb3\":[\"Archived\"],\"5y3Wbw\":[\"Target object metadata not found for \",[\"connectFieldName\"]],\"5y41wK\":[\"Relation field target metadata not found\"],\"60o/+J\":[\"Go to Apps Settings\"],\"67YsL7\":[\"Tasks\"],\"68ze54\":[\"Skill not found.\"],\"6BBrjb\":[\"The default role for this workspace could not be found. Please contact support for assistance.\"],\"6BRvIC\":[\"Calendar end field must be a date or date time field\"],\"6EBM2x\":[\"A person's membership in a list\"],\"6GG2MJ\":[\"No identifier to search by was found.\"],\"6H9kMC\":[\"Query timed out. Please try again.\"],\"6Kufr1\":[\"Compose Email\"],\"6N5Pv5\":[\"The server's APP_VERSION is not a valid semver version. Self-hosted instances must configure a valid APP_VERSION.\"],\"6OzP7Y\":[\"Parent view filter group not found\"],\"6Plp3x\":[\"Response format with type \\\"json\\\" must include a schema\"],\"6RLdgl\":[\"\\\"\",[\"0\"],\"\\\" is not a valid sub-field of \\\"\",[\"1\"],\"\\\".\"],\"6Rq45N\":[\"Logic function not found.\"],\"6Sk/wo\":[\"Cannot create blocklist entry for another workspace member.\"],\"6WLJFQ\":[\"Invalid identity provider type.\"],\"6Z/zIt\":[\"This method is not allowed.\"],\"6ZqFBn\":[\"Runs\"],\"6bWuI/\":[\"Label is required.\"],\"6cVc+b\":[\"Identity provider not found.\"],\"6dP8sB\":[\"No trigger type provided\"],\"6ekAtL\":[\"This file upload has already been finalized.\"],\"6fc1FV\":[\"Logic function execution is disabled.\"],\"6kqLHf\":[\"Cannot complete operation due to related records.\"],\"6lmi/1\":[\"Marketing sending is on hold until the unsubscribe domain is verified.\"],\"6pJV03\":[\"Default values must be unique\"],\"6rLmLu\":[\"Multiple records found with the same unique field values for \",[\"conflictingFieldsValues\"],\". Cannot determine which record to update.\"],\"6sFS+I\":[\"Label cannot be empty\"],\"6unt40\":[\"Object targeted by field to create not found\"],\"6yZjO1\":[\"A higher version of this application is already installed. Downgrading is not allowed.\"],\"71MK9Q\":[\"Test Workflow\"],\"75hHpn\":[\"Field declared as label identifier not found\"],\"7A0rAw\":[\"Permission flag is still assigned to a role.\"],\"7Arr+N\":[\"Group by field is required for pie chart\"],\"7B5mQ7\":[\"Message\"],\"7Dcn9C\":[\"Update DateTime\"],\"7JaPm8\":[\"Cannot modify predicate to change its role\"],\"7LMaUn\":[\"View field position cannot be lower than label identifier view field position\"],\"7OY0g+\":[\"User Id\"],\"7OZNMg\":[\"Field permission to delete not found\"],\"7QlaTN\":[\"Page layout widget to delete not found\"],\"7SBmhB\":[\"Invalid logic function input.\"],\"7Ud2p0\":[\"Person\"],\"7V9t6v\":[\"Task\"],\"7XNKWU\":[\"Standard agents cannot be modified.\"],\"7YLecU\":[\"Queued\"],\"7YsDpr\":[\"updated\"],\"7Z7wx7\":[\"Two-factor authentication setup is required.\"],\"7ZdJO2\":[\"This operation is not allowed.\"],\"7Zqw3n\":[\"Sent at\"],\"7cWO6W\":[\"Field type TS_VECTOR must be a system field\"],\"7e7stO\":[\"Timeline activity renderer \",[\"0\"],\" requires the type to reference an object\"],\"7f5dRA\":[\"This index does not exist or has already been deleted.\"],\"7fdI39\":[\"Export \",[\"objectLabel\"]],\"7g3N+g\":[\"Cancel Edition\"],\"7jCAIC\":[\"System\"],\"7jUWQ+\":[\"View field metadata already exists\"],\"7s8NoS\":[\"The \",[\"reservedViewKey\"],\" view key is reserved for the engine-owned default view; remove the key from the view definition\"],\"7wxAZI\":[\"Workspace schema not found.\"],\"7xBvLT\":[\"List\"],\"7xc88z\":[\"Delete \",[\"objectLabel\"]],\"8/hqGh\":[\"Task attachments\"],\"83atrc\":[\"Relation is not enabled for this field.\"],\"84/Dko\":[\"You can merge up to \",[\"MUTATION_MAX_MERGE_RECORDS\"],\" records at once.\"],\"869Uds\":[\"Content contains a URL with a dangerous protocol.\"],\"86G6IW\":[\"Handle\"],\"8BEhOO\":[\"Preferred interface scale\"],\"8Dzcmh\":[\"Invalid workflow version.\"],\"8FSeC1\":[\"Linked Object Metadata Id\"],\"8G4vdK\":[\"Invalid configuration type for front component widget \\\"\",[\"title\"],\"\\\". Expected FRONT_COMPONENT, got \",[\"configurationTypeString\"]],\"8G8dJM\":[\"Raw SQL queries are not allowed.\"],\"8I9eQA\":[\"Calendar Channel Event Associations\"],\"8KDEDj\":[\"Object permission to delete not found\"],\"8KxLoh\":[\"Invalid filter value\"],\"8O6Zab\":[\"Application ID\"],\"8OyqfS\":[\"Event external ID\"],\"8Q5bRY\":[\"Action Needed to Set Password\"],\"8RwcFg\":[\"Workspace is suspended.\"],\"8UWeLh\":[\"Tab not found for widget duplication.\"],\"8VTlb5\":[\"Timeline activity type with name \",[\"0\"],\" already exists for this application\"],\"8XvmDU\":[\"Search vector field must belong to the same object\"],\"8achGR\":[\"This public domain is already registered.\"],\"8brwDQ\":[\"Calendar event\"],\"8gi8vY\":[\"Save\"],\"8knMLv\":[\"Invalid event input.\"],\"8mCUlb\":[\"Billing\"],\"8mkDdX\":[\"Field permission not found\"],\"8oFGnQ\":[\"Filtering or ordering through this relation is not supported.\"],\"8pSVh1\":[\"Built component path is invalid\"],\"8pqpv/\":[\"Your app version is out of date. Please refresh the page to continue.\"],\"8sAaBn\":[\"Fields widget not found\"],\"8sTsIR\":[\"This domain is already taken.\"],\"8vxOU0\":[\"Custom domain not found.\"],\"8wovNr\":[\"You cannot remove the admin role from the last administrator. Please assign another administrator first.\"],\"9+tIiJ\":[\"Recording request status\"],\"9/BbL9\":[\"View sort with same fieldMetadataId and viewId already exists\"],\"978SFC\":[\"The response was interrupted before it could finish.\"],\"98euLh\":[\"Opportunity\"],\"994EW7\":[\"Default Opportunity Layout\"],\"99gsJ/\":[\"This column is already marked as unique. Toggle the field's \\\"Unique\\\" off first if you want to manage the constraint here.\"],\"9BQITM\":[\"A recording of a meeting\"],\"9HjeLQ\":[\"Fields widget has no associated view\"],\"9J2vmW\":[\"This API key has no role assigned.\"],\"9JKJzc\":[\"Message Thread\"],\"9LL5PC\":[\"Related user email address\"],\"9Lkkre\":[\"Input exceeds maximum length.\"],\"9N+p+g\":[\"Business\"],\"9QHVZ2\":[\"User already has a role assigned.\"],\"9QTny9\":[\"Query failed.\"],\"9RXJsb\":[\"Would not reach this\"],\"9SKooF\":[\"Kanban main group by field must be a SELECT or a many-to-one relation field\"],\"9T+AIN\":[\"Your team member responsible for managing the company account\"],\"9Waa3Q\":[\"NoteTarget target\"],\"9XMTpT\":[\"ViewId is required to create a view filter group.\"],\"9ZQkou\":[\"Role \\\"\",[\"roleLabel\"],\"\\\" cannot be assigned to users\"],\"9bYo5E\":[\"The webhook request could not be authenticated.\"],\"9bu19u\":[\"No input provided in form step\"],\"9cFndZ\":[\"AI\"],\"9er1TA\":[\"A nested relation widget must use the table layout.\"],\"9fX6Jd\":[\"Configuration is required for graph widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"9fdUrJ\":[\"iCal UID\"],\"9fr/BM\":[\"The file is empty or exceeds the maximum allowed size.\"],\"9gedIx\":[\"View filter to destroy not found\"],\"9iQhTU\":[\"No provenance attestation was found for the published package. Publish it with npm trusted publishing from GitHub Actions, then try again.\"],\"9lqqpY\":[\"Invalid email address.\"],\"9mCrQp\":[\"User workspace role configuration not found.\"],\"9mW6V7\":[\"Invalid target URL. Please provide a valid HTTP or HTTPS URL.\"],\"9mlimr\":[\"Is Full Day\"],\"9nbPBZ\":[\"Stop\"],\"9qtW5o\":[\"Application variable not found.\"],\"9sx+WQ\":[\"Insufficient permissions for email domain.\"],\"9uirl8\":[\"Circular dependency detected in view filter group hierarchy\"],\"9ur990\":[\"Relations\"],\"9uvvYS\":[\"Calendar end field metadata not found\"],\"9uz7OL\":[\"Invalid configuration type for standalone rich text widget \\\"\",[\"widgetTitle\"],\"\\\". Expected STANDALONE_RICH_TEXT, got \",[\"configurationTypeString\"]],\"9vB6Yo\":[\"Step logs\"],\"9vWP4H\":[\"Internal name of the campaign\"],\"9xsjn9\":[\"Invalid hour value. Should be integer greater than 1\"],\"9xwSh5\":[\"Files\"],\"A/01NQ\":[\"Text\"],\"A1taO8\":[\"Search\"],\"A2VI9D\":[\"Field permission with universal identifier \",[\"0\"],\" already exists\"],\"A4Ohxb\":[\"Provided phone number is invalid \",[\"number\"]],\"A7aUMa\":[\"Front component is required for front component renderer items\"],\"ACUSmL\":[\"Label identifier view field cannot be deleted\"],\"ADIjmK\":[\"Junction configuration is only valid for ONE_TO_MANY relations\"],\"ADtO2E\":[\"This connection is not allowed.\"],\"AEhPtE\":[\"Edit Dashboard\"],\"AGMd5o\":[\"This instance did not report a server identifier. Set SERVER_ID on this instance, then try again.\"],\"AHuHeg\":[\"Model ID cannot be empty\"],\"AKIPVa\":[\"This field name is not available.\"],\"AKLZnk\":[\"Your payment method was declined. Please update it and try again.\"],\"AKqp4k\":[\"Object not found.\"],\"AOrWvh\":[\"Timeline activity record position\"],\"AQyr9X\":[\"Cannot delete, please update the label identifier field first\"],\"ARd2n6\":[\"Message Channel Message Association\"],\"ATrBjm\":[\"Opportunity record position\"],\"AV0hPh\":[\"Object already has a view with the \",[\"reservedViewKey\"],\" key\"],\"AXZsy/\":[\"Invalid relation creation payload\"],\"AY5LqB\":[\"Attachments linked to the dashboard\"],\"Aam+mb\":[\"Name is not synced with label.\"],\"AcnTuz\":[\"Email already in use\"],\"AcyaP/\":[\"Route already exists.\"],\"AfxLzg\":[\"Front component must not be set for workflow trigger items\"],\"AgbRjM\":[\"Field label identifier is required\"],\"AhhOBx\":[\"Associated User Id\"],\"Ai7knL\":[\"Feature configuration not found.\"],\"AiFXmG\":[\"Expected the same constraint fields to be used consistently across all operations for \",[\"connectFieldName\"],\".\"],\"AiP86c\":[\"The workspace member who last updated the record\"],\"An2IAh\":[\"Subdomain not found.\"],\"AnKsxx\":[\"Active\"],\"ApP70c\":[\"Invalid setting type provided in cron trigger\"],\"ApXfXx\":[\"Timeline Activity\"],\"AprfQL\":[\"View field to update parent view not found\"],\"ArAFBo\":[\"Enterprise validity token is not valid.\"],\"ArK4kh\":[\"Work\"],\"Ara8xP\":[\"Body is required for standalone rich text widget\"],\"AtTsau\":[\"All \",[\"objectLabelPlural\"]],\"AvDRPM\":[\"Event name\"],\"AzylSS\":[\"Workflow run limit reached.\"],\"AzzING\":[\"A hand-picked audience of people\"],\"B/prgH\":[\"Needs Action\"],\"B3CG/U\":[\"We couldn't connect to your CalDAV server. Please check your server settings and try again.\"],\"B4Eu7x\":[\"Unsupported field metadata type.\"],\"B4yoLq\":[\"Row level permission predicate with this universal identifier already exists\"],\"B6P+4g\":[\"A note\"],\"B9dbXq\":[\"Multiple subscriptions found where one was expected.\"],\"BBXuRb\":[\"Email already verified.\"],\"BCRQC8\":[\"See deleted \",[\"objectLabelPlural\"]],\"BECIbc\":[\"Ended At\"],\"BEtj6u\":[\"Role name is invalid\"],\"BHDATQ\":[\"View not found after upsert\"],\"BIxgma\":[\"Unknown permission required.\"],\"BKhayt\":[\"Go to Calendars Settings\"],\"BKvuAq\":[\"Approved access domain has already been validated\"],\"BQ4MUY\":[\"This record cannot be deleted because it is still referenced by other records.\"],\"BUBVGN\":[\"Flow\"],\"BV/hGy\":[\"Meeting title from the calendar event\"],\"BWZaOR\":[\"See Active Version\"],\"BXtAxc\":[\"Duplicated option \",[\"field\"]],\"BZbxut\":[\"Message folder not found.\"],\"BeCo7/\":[\"Campaign lifecycle status\"],\"BgSFod\":[\"Invalid value for JSON.\"],\"BgYg6s\":[\"Email\"],\"Bj1WZ+\":[\"Invalid viewUniversalIdentifier for fields widget \\\"\",[\"widgetTitle\"],\"\\\". Expected a valid UUID\"],\"Bk+qoW\":[\"Access token not found.\"],\"BksDhG\":[\"Stopping\"],\"BlbMIB\":[\"Destroy\"],\"Bluaux\":[\"Insufficient permissions to access calendar.\"],\"BmtSAK\":[\"engineComponentKey is required\"],\"BqBYOO\":[\"See Active Version\"],\"BuFYaR\":[\"From\"],\"Bv/LBb\":[\"Data structure is invalid.\"],\"BwauV3\":[\"Workflow Automated Trigger\"],\"BxFH1y\":[\"Search field metadata already exists\"],\"Bxs7Ar\":[\"Owned opportunities\"],\"BzEbyv\":[\"Front component name is required\"],\"C4+axZ\":[\"Page layout not found.\"],\"C9jd/U\":[\"You do not have permission to perform this workflow action.\"],\"CB6eF8\":[\"Timeline\"],\"CBMkZg\":[\"Members\"],\"CDiGGx\":[\"Handle aliases are required.\"],\"CHUa/x\":[\"Workflow run started at\"],\"CJTgMk\":[\"People\"],\"CLcjHT\":[\"Campaign\"],\"CMPgl1\":[\"Sent with errors\"],\"CN5Up3\":[\"Outgoing\"],\"CO40Hk\":[\"Failed to generate SDK client.\"],\"CQ5DXU\":[\"An object with this name already exists.\"],\"CTcVpP\":[\"Sending is currently suspended for this email domain.\"],\"CUICZ7\":[\"User's preferred date format\"],\"CV1zCG\":[\"Primary axis group by field is required for bar chart widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"CZMQSV\":[\"Attachment record position\"],\"Capzni\":[\"Public domain URL is not defined. Please set the PUBLIC_DOMAIN_URL environment variable\"],\"Ce++y2\":[\"Kanban main group by field must be a select or a many-to-one relation field\"],\"Cei2D0\":[\"Bcc\"],\"ChJFls\":[\"A network error occurred while accessing calendar.\"],\"CmQEdn\":[\"Conflicting phone country code.\"],\"CnNFfU\":[\"Calendar sync error.\"],\"Cr+NSQ\":[\"Failed to update field permission.\"],\"CrwP9A\":[\"Executed by\"],\"CxYc3X\":[\"List member record position\"],\"D+NlUC\":[\"System\"],\"D+muK8\":[\"Attachment file\"],\"D/IcuN\":[\"Invalid agent input.\"],\"D/w+3o\":[\"The package registry could not be reached to verify the package provenance. Try again later.\"],\"D0Kuk1\":[\"A front component with this name already exists.\"],\"D2A/H0\":[\"No permissions found in datasource.\"],\"D5gHL1\":[\"Widget row exceeds grid height\"],\"D6Tjt0\":[\"Index with same universal identifier already exists\"],\"D9hzmE\":[\"Invalid value for currency.\"],\"D9pZ2l\":[\"Calendar widget views only support the month layout\"],\"DAGexD\":[\"Cannot modify predicate belonging to a different object.\"],\"DBC3t5\":[\"Sunday\"],\"DBEHo4\":[\"Role\"],\"DBHTm/\":[\"August\"],\"DDKhmc\":[\"Billing product not found.\"],\"DE/icK\":[\"Application registration not found.\"],\"DEJJoY\":[\"This server key is already claimed by another workspace.\"],\"DGW5iN\":[\"Approved access domain does not match email domain\"],\"DH8Ofc\":[\"Invalid connected account input.\"],\"DICk6O\":[\"Meet Link\"],\"DIjcDc\":[\"Custom command menu item cannot be reset to default.\"],\"DRukEV\":[\"Calendar start and end fields must have the same type\"],\"DSmmKK\":[\"Task due date\"],\"DU4jcg\":[\"FieldMetadataId is required to create a view group.\"],\"DWJeR1\":[\"One of the selected fields does not belong to this object.\"],\"DXyYuh\":[\"View field to destroy not found\"],\"DZ9raS\":[\"Search\"],\"Db+5dv\":[\"Declined\"],\"Ddadau\":[\"General\"],\"DjvRWr\":[\"Completed\"],\"DmYwVp\":[\"Your workspace is paused — reactivate to keep your data\"],\"DnqPI8\":[\"Full path\"],\"Do5gvp\":[\"Invalid subscription item.\"],\"Dpef1i\":[\"Workflow linked to the run.\"],\"DpnDl6\":[\"Payload is required for navigation items\"],\"Dq8Em0\":[\"Max number of files is \",[\"filesFieldMaxNumberOfValues\"]],\"DqglnT\":[\"Search field metadata with id \",[\"searchFieldMetadataId\"],\" already exists\"],\"Dr0xtb\":[\"Names are not synced with labels\"],\"Durlx6\":[\"View field group to destroy not found\"],\"DvpBQM\":[\"HTTP Request\"],\"Dvwk3g\":[\"The subscription is no longer available on the provider.\"],\"Dwa/Bm\":[\"A valid link is required for LINK type\"],\"Dx5QXJ\":[\"Description\"],\"E+ckGV\":[\"MCP & APIs\"],\"E+iJnK\":[\"Navigation menu item hierarchy exceeds maximum depth.\"],\"E7Dsiq\":[\"Failed to create evaluation. Please try again.\"],\"E7F6q9\":[\"Invalid workflow input.\"],\"E8vJ0A\":[\"Object related to field to update not found\"],\"EBZdX5\":[\"Unsupported cron schedule type\"],\"ECRKYR\":[\"Object already exists\"],\"EESfI5\":[\"Record does not satisfy security constraints.\"],\"EFQeXU\":[\"You do not have permission to access this feature. Please contact your workspace administrator for access.\"],\"EHZMfR\":[\"User friendly error message\"],\"EIb+ss\":[[\"0\"],\" must be a one-to-many relation field.\"],\"EJUSll\":[\"The initial version of a workflow can not be deleted\"],\"EN2+6i\":[\"Cannot delete standard skill\"],\"ENVlLK\":[\"View filter group cannot be its own parent\"],\"EVUobL\":[\"Workspace member avatar\"],\"EWa5LG\":[\"Campaigns sent to this list\"],\"EabrTR\":[\"Options are required for enum fields\"],\"Ec/Q9n\":[\"State of the workflow run\"],\"EeAlta\":[\"Roles\"],\"Ef7StM\":[\"Unknown\"],\"EhVOPs\":[\"Workspace not found.\"],\"EisfDV\":[\"Agent with name \\\"\",[\"name\"],\"\\\" already exists\"],\"EkH9pt\":[\"Update\"],\"EmFJ+H\":[\"Message\"],\"Enmszs\":[\"payload is required when engineComponentKey is NAVIGATION\"],\"EqqZEp\":[\"Assignee\"],\"EtSC0Y\":[\"Address\"],\"EwXumf\":[\"Index field has an invalid reference\"],\"ExheIC\":[\"Too many records to update at once.\"],\"Ey+Eyp\":[\"End Date\"],\"EzGlkq\":[\"Environment variable CLOUDFLARE_API_KEY must be defined to use this feature.\"],\"F1qT/F\":[\"Running\"],\"F35apa\":[\"Route not found.\"],\"F4A9mL\":[\"View not found\"],\"F4T0xg\":[\"From address\"],\"F6OLoA\":[\"Field declared as image identifier not found\"],\"F8Sp1a\":[\"The current statuses of the workflow versions\"],\"F8wyAu\":[\"Person\"],\"F91dYi\":[\"Lists\"],\"FAPLrc\":[\"Company\"],\"FCKoEz\":[\"Configuration is required for widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"FCcwXv\":[\"TS_VECTOR field metadata must belong to the same object\"],\"FNftTK\":[\"Billing plan not found.\"],\"FOEWHl\":[\"The singular and plural names cannot be the same for an object\"],\"FPbf64\":[\"Image\"],\"FUPyWG\":[\"You do not have access to this connected account.\"],\"FVCXUT\":[\"A required field is missing.\"],\"FVjxXL\":[\"Body\"],\"FdUbPo\":[\"Default value must be a string\"],\"Fep47m\":[\"Could not find \",[\"targetMetadataName\"],\" for given \",[\"foreignKey\"]],\"FfjqDg\":[\"People linked to the company.\"],\"FhKIiF\":[\"Version trigger\"],\"FiYPA2\":[\"Failed to upsert record.\"],\"FoQjXC\":[\"updated a related task\"],\"Fpy/K1\":[\"View field to update not found\"],\"FxFlC4\":[\"Cannot add permissions on system objects.\"],\"G3myU+\":[\"Tuesday\"],\"G5/lsy\":[\"Group by field is required for pie chart widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"G58vIN\":[\"Display Name\"],\"G6wJK8\":[\"Minute value cannot exceed 60. For intervals greater than 60 minutes, use the \\\"Hours\\\" trigger type or a custom cron expression\"],\"G768/0\":[\"denied\"],\"GAfs9e\":[\"Attachments linked to the workflow\"],\"GEN5Cv\":[\"This user is already a member of the workspace.\"],\"GFC6Lh\":[\"Fields\"],\"GFNLkz\":[\"Request Status\"],\"GFYy9y\":[\"Invalid value for links.\"],\"GGNmm+\":[\"Default value \\\"\",[\"defaultValue\"],\"\\\" must be one of the option values\"],\"GJ1sW1\":[\"Activate Workflow\"],\"GLmyCK\":[\"Invalid value for position: \\\"\",[\"inspectedValue\"],\"\\\"\"],\"GQ9t8D\":[\"Command menu item not found.\"],\"GRxWmN\":[\"List of opportunities for which that person is the point of contact\"],\"GRz5NM\":[\"Invalid workflow step request.\"],\"GcU04G\":[\"Page layout widget not found.\"],\"GekZDw\":[\"The agent you are looking for could not be found. It may have been deleted or you may not have access to it.\"],\"GhVI/u\":[\"Function is not ready.\"],\"Gjk0so\":[\"URL must be a string\"],\"GjtAeJ\":[\"Navigate to previous \",[\"objectLabelSingular\"]],\"GkcfmO\":[\"User already exists\"],\"Gq6aJw\":[\"Event ID\"],\"GtrALl\":[\"Calendar provider is not supported.\"],\"GuGzWG\":[\"Deactivated\"],\"GvmK2O\":[\"Opportunity stage\"],\"GxRBGY\":[\"Navigate to next \",[\"objectLabelSingular\"]],\"Gy0Tk5\":[\"User's preferred number format\"],\"GzthLy\":[\"View filter to update not found\"],\"H+ZNr6\":[\"The file has not been uploaded yet. Please upload it before confirming.\"],\"H1P40W\":[\"Not started\"],\"H2SymB\":[\"Save Campaign\"],\"H8j7uw\":[\"Standard skills cannot be modified.\"],\"HBfLro\":[\"Row level permission predicate group not found.\"],\"HC18ok\":[\"A path segment contains invalid characters. Only alphanumeric, dots, dashes and underscores are allowed\"],\"HCcqwM\":[\"Discard Draft\"],\"HDo5ie\":[\"Cannot modify predicate to change its object\"],\"HKHHTk\":[\"Name must be in camelCase format.\"],\"HKfT9k\":[\"Calendar Channel Event Associations\"],\"HOWEGX\":[\"Bulk update of blocklist entries is not allowed.\"],\"HUJCXI\":[\"This file has already been uploaded.\"],\"HVTHL6\":[\"Billing meter not found.\"],\"HVajHk\":[\"Could not find index related object metadata\"],\"HZ45ox\":[\"Provided country code and calling code are conflicting\"],\"HZYS1p\":[\"Default Message Channel Message Association Layout\"],\"Hbe5jq\":[\"Blocklist handle is required.\"],\"HfhmrS\":[\"Failed to load queue jobs. Please try again later.\"],\"HhN1Bv\":[\"View already exists\"],\"HiaWGB\":[\"Invalid parameters provided.\"],\"HijTmf\":[\"A skill with this name already exists\"],\"Hjj8vT\":[\"A duplicate entry was detected.\"],\"Hl6cv2\":[\"Index related object not found\"],\"HmNKeM\":[\"Relation filter is misconfigured\"],\"Ho3UAo\":[\"Function execution limit reached.\"],\"Hp+aAn\":[\"updated a related note\"],\"HtdAll\":[\"Timeline Activities linked to the note.\"],\"HvJTSR\":[\"The person in the list\"],\"Hw0zHo\":[\"Draft\"],\"Hxo3YN\":[\"Folder path must not contain a file extension — use deleteFile for file paths\"],\"I+2uUa\":[\"Messages\"],\"I+rK0u\":[\"Address of the company\"],\"I2EmgT\":[\"Cannot update standard skill properties (only activation/deactivation allowed)\"],\"I4caYo\":[\"Invalid verification code.\"],\"I5zDPD\":[\"To do\"],\"I6oEwz\":[\"Body is required for standalone rich text widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"I71ur2\":[\"Failed to create record.\"],\"I77mP4\":[\"Opportunities owned by the workspace member\"],\"I7Jff2\":[\"Filename must have an extension\"],\"IAfaPi\":[\"A standard object required to provision default relations could not be found\"],\"IBJ/4j\":[\"Proposal\"],\"IBmChW\":[\"This endpoint is no longer available on /s/. Use the dedicated public domain URL instead.\"],\"IDMgr/\":[\"Cannot have more than one active workflow version\"],\"IMF5Er\":[\"The people this campaign was sent to\"],\"IP+RN5\":[\"SSO configuration error.\"],\"IPm2ty\":[\"Permission flag definition not found\"],\"ISCcTE\":[\"No role found for user.\"],\"ITCVsf\":[\"Ask AI\"],\"ITue4V\":[\"Index field references incorrect index metadata\"],\"IU78DA\":[\"The application does not have a valid role assigned. Please check your application configuration.\"],\"IYBfg3\":[\"unlinked a related task\"],\"IakS6+\":[\"Date format\"],\"IaspUK\":[\"A page layout navigation menu item can only point to a standalone page\"],\"Ib2gge\":[\"Lists the contact belongs to\"],\"IdEnkZ\":[\"This workspace's upgrade state could not be determined. Please try again once the workspace has finished upgrading.\"],\"Ii4ysu\":[\"View filter group already exists\"],\"Ii6d/e\":[\"Navigation menu item type is required\"],\"Ik1o4d\":[\"Email domain not found.\"],\"IlaQdj\":[\"At least one relation is required\"],\"IlqwEl\":[\"Blocklist\"],\"InEqWf\":[\"View sort with invalid direction\"],\"IptMRL\":[\"Invalid configuration type for widget\"],\"IsdR/t\":[\"Function is currently building.\"],\"IuDcjw\":[\"This field permission is already set for the role\"],\"Iy9pZw\":[\"This \",[\"fieldLabel\"],\" value is already in use. Please check your data and try again.\"],\"IyZnrr\":[\"Message Synced with a Message Channel\"],\"IymH4t\":[\"Domain already used for workspace custom domain\"],\"Izdz+Y\":[\"This API Key has been revoked and can no longer be used.\"],\"J++KJc\":[\"Calendar event participants\"],\"J+VVwG\":[\"Front component not found.\"],\"J+cH9z\":[\"Test user friendly message\"],\"J0OIhA\":[\"Credit grant not found.\"],\"J1UlII\":[\"Insufficient permissions.\"],\"J1prza\":[\"The unsubscribe topic this campaign was sent under\"],\"J3xD/M\":[\"Calendar field must be a date or date time field\"],\"J4IqxN\":[\"Field permission for this role, object and field already exists\"],\"J4hC2m\":[\"Field used for full-text search\"],\"J5Vm4Q\":[\"Your billing subscription is corrupted. Please contact support.\"],\"J7dFKa\":[\"Client credentials are not configured for this OAuth provider.\"],\"J8ljUF\":[\"The company's total annual revenue\"],\"J9favo\":[\"Max number of files is \",[\"maxNumberOfValues\"],\" for field \\\"\",[\"fieldName\"],\"\\\"\"],\"JCqfz6\":[\"Response format with type \\\"text\\\" should not include a schema\"],\"JEcSer\":[\"Contact\"],\"JJamm8\":[\"A timeline activity type with this name already exists for this application\"],\"JKjfHC\":[\"The company Linkedin account\"],\"JWCRoS\":[\"Recording summary\"],\"JYc1v3\":[\"Workspace not found\"],\"JYntnV\":[\"A connection provider with this name already exists for this application\"],\"JZB2eY\":[\"One or more records were not found.\"],\"JZUzbz\":[\"Failed count\"],\"JaflDh\":[\"Value \\\"\",[\"stringifiedValue\"],\"\\\" of a chart filter of widget \\\"\",[\"widgetTitle\"],\"\\\" is not valid for operand \\\"\",[\"operand\"],\"\\\" on field type \\\"\",[\"filterType\"],\"\\\". \",[\"hint\"]],\"JdAvYa\":[\"View group to delete not found\"],\"Jeb8PZ\":[\"Timeline Activities\"],\"JhktJw\":[\"Calendar view must have a calendar layout\"],\"Jk7iDd\":[\"Company\"],\"JmuFK8\":[\"Invalid configuration type for standalone rich text widget\"],\"Jmzgho\":[\"This API Key has expired. Please create a new one.\"],\"JpA/cO\":[\"Opportunity\"],\"Jq9kVe\":[\"Id\"],\"JrAl/I\":[\"Field metadata not found.\"],\"JrNGiU\":[\"Canceled\"],\"JrteyL\":[\"Phones\"],\"Jx3FUl\":[\"The date the message was received\"],\"JytrLO\":[\"Assigned to Me\"],\"JzXn58\":[\"Only applications published to npm can be claimed this way.\"],\"K+Gn31\":[\"Role target already exists\"],\"K+YEBR\":[\"Application variable key must be unique\"],\"K02c+I\":[\"This API key has been revoked.\"],\"K1hWwv\":[\"Index must have at least one field\"],\"K1qNjB\":[\"A person\"],\"K3jNeK\":[\"Search Help Center\"],\"K48BuZ\":[\"Your GitHub account does not own the organization that publishes this package. If you are an owner, make sure you granted this app access to the organization on GitHub's authorization screen (Organization access section).\"],\"K6qzz4\":[\"Field to update not found\"],\"K9t/v4\":[\"Failed\"],\"KCzMA6\":[\"Blocklist\"],\"KEsv0p\":[\"Avatar File\"],\"KFbNbH\":[\"Object with same universal identifier already exists\"],\"KHK54G\":[\"Object targeted by the relation not found\"],\"KHtcGn\":[\"The calendar provider rejected the event creation request.\"],\"KJBRRe\":[\"Is canceled\"],\"KJxGJb\":[\"The workflow version status\"],\"KNBagU\":[\"Permission flag definition with key \\\"\",[\"0\"],\"\\\" is already registered in this workspace.\"],\"KNrRpL\":[\"Invalid argument provided.\"],\"KO7j/3\":[\"Workflow runs linked to the version.\"],\"KPIUoa\":[\"Response format type must be either \\\"text\\\" or \\\"json\\\"\"],\"KPx1UV\":[\"Not found\"],\"KSK8fH\":[\"Workflow edge not found.\"],\"KUIRIR\":[\"Event type\"],\"KUnzGr\":[\"A valid targetObjectMetadataUniversalIdentifier is required for RECORD type\"],\"KWwTpO\":[\"Attachments linked to the opportunity\"],\"KX0Su8\":[\"Received At\"],\"KYP1t5\":[\"Form action must have at least one field\"],\"KZhbBk\":[\"Invalid configuration type for iframe widget\"],\"KcnT7Q\":[\"You cannot remove settings access from your own role. Ask another administrator to make this change.\"],\"KfFFWa\":[\"Calendar events\"],\"Kfy/ML\":[\"Index already exists\"],\"KnnILY\":[\"Record table widget not found\"],\"KoDdqN\":[\"This role cannot be modified because it is a system role. Only custom roles can be edited.\"],\"KocG+N\":[\"Messages\"],\"KpmBDs\":[\"View field group to update not found\"],\"Kub9t0\":[\"Option value must be a string of at least one character\"],\"KujtjC\":[\"Find\"],\"KvWKJI\":[\"An internal error occurred while handling encrypted data.\"],\"KwGZ0m\":[\"Could not found updated field metadata\"],\"Kx3ltI\":[\"Where records open for objects that follow the member's preference\"],\"L1uQuF\":[\"Composite type not found.\"],\"L7/nko\":[\"Message Channel Message Association Message Folders\"],\"L7qZ9I\":[\"PAGE_LAYOUT navigation menu item must reference a STANDALONE_PAGE page layout\"],\"L8AY9P\":[\"Relation filters can only traverse one relation deep\"],\"L8fEEm\":[\"Group\"],\"LB4qX/\":[\"Authentication is not enabled with this provider.\"],\"LElbiP\":[\"TaskTarget record position\"],\"LI7Gn/\":[\"Invalid permission flag key.\"],\"LI7tcn\":[\"Billing price not found.\"],\"LIPsWu\":[\"Cannot create multiple draft versions for the same workflow\"],\"LM08/z\":[\"Invalid page layout data.\"],\"LT5dFi\":[\"Email can only be updated when you belong to a single workspace.\"],\"LTouJ4\":[\"Page layout tab to destroy not found\"],\"LVKOhh\":[\"Search\"],\"LVUF8D\":[\"Record table widget has no associated view\"],\"LWpSNC\":[\"Cannot update standard permission flag definition\"],\"LXazcQ\":[\"Opportunities\"],\"LZf/L8\":[\"Could not find flat entity in maps\"],\"LZngY5\":[\"Go to Accounts Settings\"],\"Lcqv5g\":[\"Morph relation field must have a morph id\"],\"LdhPiK\":[\"The field you are trying to set permissions for could not be found. It may have been deleted.\"],\"LeIJhm\":[[\"fieldType\"],\" fields cannot have a default value.\"],\"Lf8I7I\":[\"Logic function with same universal identifier already exists\"],\"Lgr7Gd\":[\"List record position\"],\"LhHidH\":[\"Search vector field not found\"],\"Ljqo/T\":[\"Field metadata to update not found\"],\"Lmx0IG\":[\"Your application's production dependencies are too large to install. Move packages that are not imported by your logic functions (UI libraries, dev tooling) out of \\\"dependencies\\\".\"],\"Ln7ys4\":[\"Day First\"],\"LnV8zi\":[\"No active subscription found.\"],\"LphwoX\":[\"Is canceled\"],\"Lq9KTr\":[\"Invalid email or domain.\"],\"LrPIBF\":[\"Workflow version must not be set for front component renderer items\"],\"LtsBYU\":[\"This variable can only be set via environment.\"],\"LzM6pP\":[\"Message Channel Id\"],\"M10it4\":[\"Test error\"],\"M1ZSSL\":[\"Failed to create function.\"],\"M1he8p\":[\"You don't have permission to create workspace-level views.\"],\"M3UdIL\":[\"Handle\"],\"M4sb1B\":[\"Field value is required\"],\"M68C8m\":[\"Too many requests. Please try again later.\"],\"M7KWZV\":[\"View kanban aggregate field metadata not found\"],\"M8jvbm\":[\"Sent count\"],\"MBdUff\":[\"Failed to delete record.\"],\"MBpeQ6\":[\"Invalid hour value. Should be integer between 0 and 23\"],\"MGbEFN\":[\"View group metadata already exists\"],\"MIto3A\":[\"Failed to extract SDK client archive.\"],\"MK876/\":[\"Meet Link\"],\"MKdH/S\":[\"OAuth \",[\"label\"],\" is required\"],\"MKqbeR\":[\"This field cannot be modified.\"],\"MLNdvD\":[\"Message Thread\"],\"MPdWmx\":[\"Widget position type must match the tab layout mode\"],\"MPt365\":[\"Field metadata not found\"],\"MQn14a\":[\"The app source channel does not match the expected type.\"],\"MTdK9i\":[[\"0\"],\" must be a one-to-many or many-to-one relation field.\"],\"MU8Slt\":[\"Resolver logic function returned an invalid result.\"],\"MUk11c\":[\"Bounced count\"],\"MW8RsI\":[\"The list this campaign was sent to\"],\"MWAUHo\":[\"No pattern provided in CUSTOM cron trigger\"],\"MYdvBz\":[\"Too many records affected.\"],\"MYgdAv\":[\"Email domain configuration error.\"],\"MZxGED\":[\"Creation date\"],\"MaFFIW\":[\"Invalid field input.\"],\"Md/2jb\":[\"Unsupported composite column type.\"],\"MhPwKU\":[\"Email group is not configured on this server.\"],\"MkIaen\":[\"Filter operand is not supported for this field type\"],\"MnHbVB\":[\"Invalid value for date-time: \\\"\",[\"inspectedValue\"],\"\\\". Expected format: 'YYYY-MM-DDTHH:mm:ssZ'\"],\"MnOwTp\":[\"Object related to updated field does not have a label identifier\"],\"MniXaX\":[\"Option id is required\"],\"MovvuJ\":[\"Logic function cannot be in PREBUILT mode without a fresh build and a checksum\"],\"MvTCyk\":[\"Role not found\"],\"Mwvtvf\":[\"Many validation errors\"],\"MyJhTw\":[\"API key not found.\"],\"N/EFgn\":[\"We couldn't install \\\"\",[\"applicationDisplayName\"],\"\\\" because some of its metadata could not be applied to your workspace.\"],\"N4sZ6H\":[\"Display Name\"],\"N63rng\":[\"Thread External Id\"],\"N6YN7J\":[\"frontComponentId must not be set for engine component key \",[\"engineComponentKey\"]],\"NAoJAX\":[\"WorkspaceId is required to create a view group.\"],\"NCkLG1\":[\"Filter value is not valid for this operand\"],\"ND12UB\":[\"Recipients\"],\"NELxnm\":[\"File\"],\"NFhGiX\":[\"Output field names can only contain letters, numbers, underscores, dots or hyphens (max 64 characters).\"],\"NGL+Sl\":[\"Circular dependency detected in navigation menu item hierarchy\"],\"NJT8W8\":[\"User id is required.\"],\"NJXy7w\":[\"Could not resolve the existing object \\\"\",[\"0\"],\"\\\" to rename its default relations\"],\"NOU3zh\":[\"Invalid filter: \\\"\",[\"operator\"],\"\\\" operator requires a String\"],\"NP2/a6\":[\"Revenue Timeline\"],\"NR22yi\":[\"Please provide a valid HTTP or HTTPS URL\"],\"NTyTR5\":[\"FieldMetadataId is required to create a view filter group.\"],\"NViwRM\":[\"Domain Name\"],\"NYONBC\":[\"Only administrators can impersonate users with admin privileges.\"],\"NZy2VR\":[\"Event workspace member\"],\"NcQ6eO\":[\"This email is already in use.\"],\"NcwTz7\":[\"No records were affected.\"],\"NdYXIK\":[\"Deal value created this month\"],\"Nde4yb\":[\"Audio-only recording\"],\"NflMcG\":[\"SSO is disabled.\"],\"Nh/ZZe\":[\"A name conflict occurred.\"],\"NhQiQx\":[\"Database configuration is disabled.\"],\"NhW7fb\":[\"Row level permission predicate group to update not found\"],\"NmDrpO\":[\"Social\"],\"NnD3Ti\":[\"View to destroy not found\"],\"Np9Fvw\":[\"Invalid filter: exactly one operator per field is required\"],\"NpVtef\":[\"Not Set\"],\"NsB3MF\":[\"A view field error occurred.\"],\"NuG0g3\":[\"You do not have permission to delete workspace-level navigation menu items. Please contact your workspace administrator for access.\"],\"Ny5wFU\":[\"Name is not valid: it must start with lowercase letter and contain only alphanumeric letters\"],\"NzhR7p\":[\"Verify your two-factor authentication before impersonating users in another workspace.\"],\"O+Be8v\":[\"Edit Layout\"],\"O0tztx\":[\"Workflows\"],\"O2bgDc\":[\"Note\"],\"O6/sEz\":[\"This timeline activity renderer is not supported\"],\"OAanPr\":[\"Predicate is missing a value\"],\"OBGY97\":[\"Last time the record was changed\"],\"OEtZB5\":[\"Message Folders (supports multiple folders/labels)\"],\"OFAI1i\":[\"A task target\"],\"OHlJ1X\":[\"Widget extends beyond grid height\"],\"OL88cI\":[\"Public domain already registered\"],\"OLL1W0\":[\"This API key has expired.\"],\"OLopIl\":[\"Go to Domains Settings\"],\"OMhck0\":[\"Calendar event creation is not supported for this account.\"],\"OPF12/\":[\"Note\"],\"OR7oBd\":[\"File not found in SDK client archive.\"],\"OTJNm9\":[\"Property \",[\"property\"],\" is required for role\"],\"OUDI/C\":[\"Server-level impersonation is not enabled for this user or workspace.\"],\"OVVthS\":[\"Message Participants\"],\"OY58EQ\":[\"Message Participants\"],\"OZIOad\":[\"Cron\"],\"Oa7nLQ\":[\"Source channel mismatch.\"],\"OaxxOp\":[\"A company\"],\"OeM+/V\":[\"Built handler path is invalid\"],\"Og/MZQ\":[\"Invalid value: \\\"\",[\"inspectedValue\"],\"\\\"\"],\"OhD7+a\":[\"Skill not found\"],\"OkXmyu\":[\"Note Targets\"],\"Ol/51Z\":[\"Failed to extract tarball.\"],\"OmgwCE\":[\"Source object cannot be the target object\"],\"OpiqiN\":[\"Workflow record position\"],\"Opy73Z\":[\"Add a Node\"],\"OqxwMi\":[\"Invalid permission flag permission type.\"],\"OtOiYC\":[\"Note\"],\"OxDX4i\":[\"Per-recipient delivery status for campaign sends\"],\"P+Gspf\":[\"Junction target field must be on the junction object\"],\"P+wtF/\":[\"Application uninstall logic function failed.\"],\"P/5moy\":[\"Invalid phone country code.\"],\"P/8dT5\":[\"An index metadata error occurred.\"],\"P0grPG\":[\"View group to update parent view not found\"],\"P1Lloh\":[\"New \",[\"objectLabelSingular\"]],\"P23sJE\":[\"Could not find the object for this index.\"],\"P69VwK\":[\"You do not have permission to delete this user from the workspace. Please contact your workspace administrator for access.\"],\"P7NKk0\":[\"Usage could not be read. Please try again later.\"],\"PB/rtA\":[\"Notes tied to the company\"],\"PCGpYB\":[\"Export\"],\"PEXN0U\":[\"Calendar end field must belong to the view object\"],\"PFI4iS\":[\"Widget extends beyond grid width\"],\"PInBOB\":[\"A chart filter has no field\"],\"PKMDuT\":[\"Audit logs require ClickHouse to be configured.\"],\"PLP882\":[\"Messages from the channel.\"],\"PR/KbU\":[\"Filter on \\\"\",[\"0\"],\"\\\" uses option(s) \",[\"invalidValuesText\"],\" that do not exist. Allowed values: \",[\"allowedValuesText\"],\".\"],\"PRKxNT\":[\"Task targets\"],\"PUBUbK\":[\"One or more requested scopes are invalid.\"],\"PWdFkY\":[\"Remote objects are not production ready yet\"],\"PXgd1R\":[\"Invalid configuration type for graph widget\"],\"PdKZim\":[\"Please choose an end date and time after the start date and time.\"],\"PdVIJC\":[\"Search vector\"],\"PeMFTI\":[\"Email verification is not required.\"],\"PfJswy\":[\"Domain is already registered as public domain\"],\"PgpPoi\":[\"The logic function to run on disconnect was not found.\"],\"Pjih6W\":[\"Contact's company\"],\"PomaQP\":[\"Note record position\"],\"PpmWQv\":[\"Cancel\"],\"PqTWJf\":[\"Label identifier view field has to be visible\"],\"PslTPV\":[\"Metadata validation failed\"],\"Pt2vVA\":[\"Invalid permission setting.\"],\"Ptv+nG\":[\"Standard objects cannot be deleted\"],\"PvCGwJ\":[\"Merge \",[\"objectLabelPlural\"]],\"PviVyk\":[\"Join your team on Twenty\"],\"PxO731\":[\"Resource path exceeds maximum length of \",[\"MAX_PATH_LENGTH\"],\" characters\"],\"PzaPrw\":[\"You do not have permission to view this data.\"],\"Q0ISF1\":[[\"fieldName\"],\" and \",[\"fieldName\"],\"Id cannot be both provided.\"],\"Q0diyJ\":[\"Cannot remove the last admin from the workspace.\"],\"Q2De+v\":[\"A role with this label already exists.\"],\"Q5lxQn\":[\"Retry\"],\"Q6cUtT\":[\"By Stage\"],\"Q6jO3x\":[\"Invalid value for multi-select: \\\"\",[\"inspectedValue\"],\"\\\"\"],\"Q7KCby\":[\"Resource path must not be empty\"],\"Q8FQ55\":[\"Server logic function not found.\"],\"Q9JFdG\":[\"Account owner for companies\"],\"QDpiKg\":[\"Account Owner For Companies\"],\"QGupmf\":[\"Update DateTime\"],\"QHFBKw\":[\"Chart filter value is not valid for this operand\"],\"QJUYcw\":[\"We couldn't install \\\"\",[\"applicationDisplayName\"],\"\\\". Its \",[\"humanEntity\"],\" could not be applied to your workspace.\"],\"QK3OvQ\":[\"Form action fields must have unique names\"],\"QMSXe6\":[\"Field cannot be used as label identifier due to its type: should be of type UUID, text or full name\"],\"QPcp0k\":[\"In progress\"],\"QS/zML\":[\"Kanban main group by field metadata not found\"],\"QV1ZPO\":[\"Key is required\"],\"QW92VW\":[\"Creation DateTime\"],\"QXVtcO\":[\"payload must contain either a \\\"path\\\" or \\\"objectMetadataItemId\\\" property\"],\"QXuG8C\":[\"Field permissions can only be used to restrict access, not to grant additional permissions.\"],\"QYS2AB\":[\"Cannot add field permissions on system objects.\"],\"QbW1ho\":[\"Role \\\"\",[\"roleLabel\"],\"\\\" cannot be assigned to agents\"],\"Qc2uwm\":[\"Spaces and comma\"],\"QghriB\":[\"Events linked to the campaign\"],\"QmL9y9\":[\"You don't have permission to modify this view.\"],\"QmxyXN\":[\"Response Status\"],\"Qof3ks\":[\"Email is required.\"],\"QtRMs/\":[\"Application upgrade failed.\"],\"Quk4RZ\":[\"Default Calendar Channel Event Association Layout\"],\"QwbSxD\":[\"No steps provided in workflow version\"],\"Qx822J\":[\"Label identifier field not found.\"],\"Qx95XY\":[\"Udpated field is not a morph relation or a relation\"],\"Qy6mMO\":[\"Object permission not found.\"],\"QyGlqv\":[\"The application key-value entry could not be saved. Please try again.\"],\"R+Pipg\":[\"Delete\"],\"R5GUVK\":[\"You do not have access to this message channel.\"],\"R67jts\":[\"Workflow not found.\"],\"R6I0Oa\":[\"Lists\"],\"R8zIJd\":[\"This object cannot be modified.\"],\"RAcTQ1\":[\"View not found for widget\"],\"RAkwUZ\":[\"Please use a company email domain.\"],\"RDvKTq\":[\"Please provide connection details to configure your email account.\"],\"RJyaoR\":[\"Navigation menu item cannot be its own parent\"],\"ROkvrV\":[\"Message External Id\"],\"RP+pKP\":[\"View sort with id \",[\"flatViewSortId\"],\" already exists\"],\"RQbcZC\":[\"This domain has already been verified.\"],\"RS0wew\":[\"Contact's Linkedin account\"],\"RUXdNM\":[\"Summary\"],\"RYRFbW\":[\"Cannot delete standard agent\"],\"RZzKii\":[\"You do not have permission to update workspace-level navigation menu items. Please contact your workspace administrator for access.\"],\"RbQaAF\":[\"Default Blocklist Layout\"],\"RczJQq\":[\"Linked Record id\"],\"RfwvVB\":[\"A valid targetRecordId is required for RECORD type\"],\"RggZr4\":[\"Cannot create workflow version with status other than draft\"],\"Rh2dh5\":[\"Operand \\\"\",[\"rawOperand\"],\"\\\" of a chart filter of widget \\\"\",[\"widgetTitle\"],\"\\\" is not supported on field type \\\"\",[\"effectiveFieldType\"],\"\\\". Supported operands: \",[\"allowedOperandsText\"],\".\"],\"RjTo7h\":[\"Something went wrong while starting the app installation. Please try again.\"],\"RjuW0j\":[\"Failed to create front component.\"],\"RkVX/l\":[\"TaskTarget target\"],\"RksBK0\":[\"Wrong password.\"],\"Rrvufq\":[\"Go to Settings\"],\"RrxR7k\":[\"Pick a specific sub-field of \\\"\",[\"0\"],\"\\\" — composite fields can't be indexed as a whole.\"],\"RsTRse\":[\"A bulk email send to an audience, with delivery stats\"],\"Rth998\":[\"A view filter error occurred.\"],\"RvdHYC\":[\"View with same universal identifier already exists\"],\"RwBHMj\":[\"Row level permission predicate feature is disabled.\"],\"RyBgV/\":[\"Invalid validation token.\"],\"RyE+Of\":[\"Some of the information provided is invalid. Please check your input and try again.\"],\"S+y2Wg\":[\"Field referenced in index does not exist\"],\"S6Ztef\":[\"MessageCampaign\"],\"S7DRR+\":[\"Statuses cannot be set manually.\"],\"S7yZl9\":[\"An error occurred with two-factor authentication data.\"],\"S97dl8\":[\"Settings\"],\"SEdApj\":[\"Time format\"],\"SF3Mp4\":[\"Invalid value for full name.\"],\"SFQl8b\":[\"Invalid subscription interval.\"],\"SHZsn1\":[\"Start Date\"],\"SJEIIJ\":[\"Failed to retry jobs. Please try again later.\"],\"SKKDwB\":[\"Calendar event participants\"],\"SKkz1Y\":[\"Contact's Emails\"],\"SKoxDC\":[\"Invalid configuration type for iframe widget \\\"\",[\"widgetTitle\"],\"\\\". Expected IFRAME, got \",[\"configurationTypeString\"]],\"SMgh5j\":[\"Permission flag to update not found\"],\"SMhyGZ\":[\"A webhook with this configuration already exists.\"],\"SOp/Vw\":[\"An invitation has already been sent to this email.\"],\"SRnMG0\":[\"This campaign cannot be sent. It may be missing a sender, subject or recipient list, or it was already sent.\"],\"SWTQfb\":[\"Workspace member cannot be updated.\"],\"SdXGbu\":[\"Primary axis group by field is required for line chart\"],\"SdwgrQ\":[\"Dashboards\"],\"SejVAR\":[\"Location\"],\"Sf+6YJ\":[\"Invalid value for rich text.\"],\"Sf3H2K\":[\"Deleted at\"],\"SfnmZe\":[\"was linked by\"],\"Sg7rcs\":[\"Message Folder\"],\"Sguqn/\":[\"Please use Settings to remove a workspace member.\"],\"SiXwZL\":[\"Screening\"],\"SjwU+O\":[\"Output field names must use only letters, numbers, underscores, dots or hyphens and be at most 64 characters: \",[\"0\"]],\"SkT3Lf\":[\"Resource path must not contain path traversal (..)\"],\"SkvO+5\":[\"Failed to duplicate dashboard.\"],\"Sl1ElS\":[\"User does not have permission.\"],\"SlSmjG\":[\"Configuration type is required for widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"SlfejT\":[\"Error\"],\"Sn4xhy\":[\"Calendar field metadata not found\"],\"Sndqu7\":[\"Workflow run status\"],\"SoRH5/\":[\"Source app bot/session id, when the source supports bots\"],\"Sof2+k\":[\"FieldMetadataId is required to create a view field.\"],\"SpmRxi\":[\"Unable to retrieve the application package.\"],\"SsRDX3\":[\"\\\"\",[\"payloadKey\"],\"\\\" is not a valid workspace member field.\"],\"Su850d\":[\"Cannot modify predicate group to change its object\"],\"SzCMUQ\":[\"Missing required fields: at least one unique constraint have to be fully populated for {connectFieldName}.\"],\"SzaGv7\":[\"Invalid URL format.\"],\"T+m2GO\":[\"Tasks assigned to the workspace member\"],\"T+v4U0\":[\"Message\"],\"T+yZIr\":[\"Two-factor authentication is already set up.\"],\"T/2cxH\":[\"Discard Draft\"],\"T1gSWA\":[\"Parent navigation menu item not found\"],\"T3eIlb\":[\"The campaign this participant was a recipient of\"],\"T71oyd\":[\"Workflow runs linked to the workflow.\"],\"T9qjpu\":[\"Code Interpreter\"],\"TF/ZV2\":[\"A heads up before your Twenty trial ends\"],\"TJGiwQ\":[\"List Members\"],\"TLSelA\":[\"API key role configuration not found.\"],\"TO+8/Z\":[\"Workflow run status\"],\"TPccfi\":[\"Recurring Event ID\"],\"TRUO3G\":[\"You can have at most \",[\"MAX_CUSTOM_INDEXES_PER_OBJECT\"],\" custom indexes per object. Delete one before creating a new one.\"],\"TUF4YU\":[\"Task record position\"],\"TUocGa\":[\"Linked Object Metadata Id\"],\"TVkCrJ\":[\"Welcome to Twenty: Please Confirm Your Email\"],\"TX9XHL\":[\"Transcript\"],\"TYhxR+\":[\"New email must be different from current email\"],\"TYpgQ/\":[\"Could not resolve the existing object to reconcile its record-page label identifier view field\"],\"TaToDK\":[\"Body must be an object for widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"TesjoU\":[\"Versions\"],\"Tinlvs\":[\"Workflow Runs\"],\"TjN8GI\":[\"A dashboard\"],\"TjUnO1\":[\"This record already exists. Please check your data and try again.\"],\"TkRloV\":[\"Message Direction\"],\"Tp2ptT\":[\"On delete action is only supported for many to one relations\"],\"Ts+YbB\":[\"Field not found.\"],\"TsoT/4\":[\"Configuration type is required for widget \\\"\",[\"title\"],\"\\\"\"],\"Tstlpf\":[\"An unexpected billing error occurred.\"],\"Tsx+z2\":[\"Authentication is required to access this feature. Please sign in and try again.\"],\"TtfDdb\":[\"Pick at least one field for the index.\"],\"TulNnA\":[\"Invalid skill input.\"],\"TxgEcG\":[\"Message Channel Message Associations\"],\"U+zQxx\":[\"Database Event\"],\"U/P/gT\":[\"Cannot switch subscription plan.\"],\"U1u0hG\":[\"Set up two-factor authentication before impersonating users in another workspace.\"],\"U2jKdj\":[\"TS_VECTOR field metadata not found\"],\"U3r7gv\":[\"Invalid string format.\"],\"U4APCE\":[\"Reply\"],\"U4Wdjc\":[\"Invalid value for date: \\\"\",[\"inspectedValue\"],\"\\\". Expected format: 'YYYY-MM-DD'\"],\"U8C7oj\":[\"An unexpected billing error occurred. Please contact support.\"],\"U8mbyw\":[\"Name \\\"\",[\"name\"],\"\\\" is not available as it is already used by another field\"],\"U8sfYC\":[\"Updated by\"],\"UBPzFQ\":[\"Value must be in UPPER_CASE and follow snake_case \\\"\",[\"sanitizedValue\"],\"\\\"\"],\"UKFDwW\":[\"Default Call Recording Layout\"],\"UMn+XF\":[\"Companies\"],\"UNOnO7\":[\"WorkspaceMember\"],\"UOTni0\":[\"ObjectMetadataId is required when creating a view\"],\"UP/TXo\":[\"View group to update not found\"],\"UP3ZAj\":[\"This role cannot be assigned to API keys.\"],\"UQKo1w\":[\"Message Thread Id\"],\"UTxpa1\":[\"Application pre-install logic function failed.\"],\"UUFPvo\":[\"External Recording ID\"],\"UV7Pll\":[\"Invalid viewUniversalIdentifier for fields widget\"],\"Uacq0M\":[\"Notes\"],\"Uadtry\":[\"User's preferred start day of the week\"],\"Ub8R48\":[\"Roles and permissions configuration not found.\"],\"UdSbpW\":[\"Complained count\"],\"UiMJoF\":[\"Invalid value for JSON: \\\"\",[\"inspectedValue\"],\"\\\"\"],\"UkwlVE\":[\"Timeline Activities linked to the opportunity.\"],\"UrzTjS\":[\"Duplicate root resolver found. Each root resolver can only be called once per document.\"],\"UxwIFr\":[\"Agent not found.\"],\"V+Pnck\":[\"Created by\"],\"V2zJDX\":[\"Blocklisted handles\"],\"V5AXjr\":[\"Logic function already exists\"],\"V8DWC+\":[\"GIN indexes work on multi-select, array, JSON, and search-vector columns. \\\"\",[\"0\"],\"\\\" doesn't qualify.\"],\"V8OqY4\":[\"Rate limit exceeded.\"],\"V9yV1R\":[\"Due Date\"],\"VAcXNz\":[\"Wednesday\"],\"VD8J6l\":[\"Trigger not found.\"],\"VDesPB\":[\"Field type POSITION must be named \\\"position\\\"\"],\"VEKoJx\":[\"Invalid verification code. Please try again.\"],\"VEmyIu\":[[\"fullMessage\"]],\"VGVS7x\":[\"See Runs\"],\"VHNm8n\":[\"iCal UID\"],\"VID94s\":[\"An attachment\"],\"VIRlXt\":[\"The workflow automated trigger type\"],\"VNohoc\":[\"Subscription phase not found.\"],\"VPXcr5\":[\"Cannot delete account: you are the only admin. Assign another admin or delete the workspace(s) first.\"],\"VT9cmj\":[\"Two-factor authentication verification is required.\"],\"VUEkq2\":[\"Installed source app that manages or ingested this recording\"],\"VXQpJ+\":[\"View sort to update parent view not found\"],\"VZiHPV\":[\"Front component not found\"],\"VddeYt\":[\"Wrong extension for file.\"],\"VgGXR3\":[\"fieldMetadataId or fieldMetadataUniversalIdentifier must be provided\"],\"Vhbzaf\":[\"Domains\"],\"ViBevc\":[\"Role cannot be assigned to this entity.\"],\"VkSxbb\":[\"Field type TS_VECTOR must have SYSTEM writability\"],\"VkcC68\":[\"User was not created with email/password\"],\"VkdiTS\":[\"Close date\"],\"VmatbA\":[\"Admin role not found.\"],\"Vo3NrU\":[\"Linked Record cached name\"],\"Vq/afT\":[\"Provided and inferred country code are conflicting\"],\"Vr4xfK\":[\"Public domain not found.\"],\"VsCNJG\":[\"See Versions History\"],\"VzpL85\":[\"A task\"],\"W3Ik7m\":[\"Cannot delete the only view for this object\"],\"W5A0Ly\":[\"An unexpected error occurred.\"],\"W5E1kS\":[\"Task Targets\"],\"W5Wgz6\":[\"WorkflowVersion\"],\"W5hpOP\":[\"Missing request body.\"],\"W6HvkH\":[\"A workflow version\"],\"W6LTzL\":[\"A payment processing error occurred.\"],\"WBtp3/\":[\"A user with this email already exists.\"],\"WCKl4k\":[\"You have reached the maximum number of invitations for this step.\"],\"WDgCbh\":[\"Key cannot be changed\"],\"WFQSL0\":[\"We couldn't install this application because some of its metadata could not be applied to your workspace.\"],\"WFVrzW\":[\"Microsoft API authentication is disabled.\"],\"WFhVi3\":[\"Name\"],\"WG8+0x\":[\"AI agent step execution failed.\"],\"WHM6K7\":[\"Invalid value for number: \\\"\",[\"inspectedValue\"],\"\\\"\"],\"WPAHpm\":[\"The application's production dependencies are too large to install. Move packages that are not imported by its logic functions (UI libraries, dev tooling) out of \\\"dependencies\\\".\"],\"WUcQVb\":[\"You cannot set field permissions on system objects as they are managed by the platform.\"],\"WV1dio\":[\"Opportunities\"],\"WWSSTx\":[\"Unique index cannot be created for field \",[\"fieldName\"],\" of type \",[\"fieldType\"]],\"WWmatL\":[\"Default Note Layout\"],\"WXjfKi\":[\"Contact's avatar\"],\"WZzm3R\":[\"View field related view object metadata not found\"],\"Wed+Kp\":[\"Front component is not ready.\"],\"Weq9zb\":[\"General\"],\"WhUgpA\":[\"The creator of the record\"],\"WiNZD1\":[\"Default Calendar Event Participant Layout\"],\"WkctC4\":[\"Core workflow version id\"],\"WlACUp\":[\"Calendar Channel Event Associations\"],\"WlLRwh\":[\"State\"],\"WluVVo\":[\"By Status\"],\"Wnol69\":[\"An agent with this name already exists.\"],\"WreNd7\":[\"Invalid target URL provided\"],\"Wrwici\":[\"Object permission not found\"],\"WsuFPo\":[\"Connection provider name is required\"],\"WtMHh6\":[\"Conflicting phone calling code and country code.\"],\"Wu/pkS\":[\"Multi-select field default value must be an array\"],\"WunOam\":[\"Not recorded\"],\"WvWTez\":[\"Dots and comma\"],\"WwTvrh\":[\"Call Recording\"],\"X/ryFh\":[\"Core workflow id\"],\"X2Xp8v\":[\"This object permission is already set for the role\"],\"X2aLVJ\":[\"Activate\"],\"X2bZC4\":[\"Message Participant record position\"],\"X3mSup\":[\"An error occurred while processing the webhook.\"],\"X7+bC6\":[\"Invalid calling code \",[\"callingCode\"]],\"X7GoTa\":[\"Authentication failed, please sign in again.\"],\"X8wvUh\":[\"Name of the workflow run\"],\"XBYAgs\":[\"Invalid refresh token.\"],\"XD1+oL\":[\"Campaigns\"],\"XFR5me\":[\"You cannot revoke admin panel access from the last server administrator.\"],\"XJlyZS\":[\"View field to delete not found\"],\"XJmtgE\":[\"Field name is not synced with label.\"],\"XLn1DI\":[\"Only error\"],\"XOA98j\":[\"Invalid value for \\\"is\\\" operator\"],\"XVb/r9\":[\"Blocklist\"],\"XX3Gdh\":[\"The provider is temporarily unavailable. Please try again later.\"],\"XXuJwA\":[\"Timeline activities linked to the run\"],\"XZ4djQ\":[\"Configuration is required for widget\"],\"XeWfi3\":[\"Default value cannot be null.\"],\"Xg3NMP\":[\"Job Title\"],\"Xm6R6B\":[\"View field already exists.\"],\"Xn/1qY\":[\"Standard permission flags cannot be modified.\"],\"XoKTtx\":[\"Workflow version position\"],\"XsSVrR\":[\"Workspace creation is restricted to admins\"],\"Xsgh7b\":[\"Parent row level permission predicate group not found\"],\"Xu8Qin\":[\"Experience\"],\"XuTq0a\":[\"Events\"],\"XxkUFT\":[\"Your role in this workspace could not be found. Please contact your workspace administrator.\"],\"XyOToQ\":[\"An error occurred.\"],\"Y/owFW\":[\"Number of emails sent\"],\"Y1vsL7\":[\"System objects cannot be updated directly. Use overrides for cosmetic changes.\"],\"Y2KtrW\":[\"Invalid value for address.\"],\"Y5C3uK\":[\"This provider is not supported.\"],\"Y5Fzhi\":[\"This version is not higher than the currently deployed version. Please bump the version in package.json before deploying again.\"],\"Y7dW06\":[\"The workflow automated trigger settings\"],\"Y8ap4e\":[\"Invalid limit parameter.\"],\"YBkEbP\":[\"Thread\"],\"YCGofH\":[\"Body must be an object\"],\"YCzwBK\":[\"Aggregate operation is required for graph widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"YGewWJ\":[\"Last published Version Id\"],\"YHMiZJ\":[\"Role\"],\"YIzGJ8\":[\"Cc\"],\"YKJLlF\":[\"Search field metadata with same fieldMetadataId and objectMetadataId already exists\"],\"YPsYLa\":[\"Messages sent as part of this campaign\"],\"YPuX9P\":[\"End Date\"],\"YQTVfF\":[\"Connection provider with type 'oauth' is missing oauthConfig\"],\"YT3d3p\":[\"New Campaign\"],\"YXbAfa\":[\"Accounts\"],\"YXvdC2\":[\"Hide deleted\"],\"YYF6YH\":[\"The company name\"],\"Ya6oU7\":[\"FieldMetadataId is required to create a view filter.\"],\"Ybs2Ml\":[\"Workflow\"],\"YcVn4w\":[\"If defined default value must contain at least one value\"],\"Yi0Q/T\":[\"These fields cannot be updated before the workspace is activated: \",[\"fieldsList\"],\".\"],\"Yp5Kn9\":[\"Attachment file category\"],\"Yp8zt3\":[\"Participants\"],\"Ys0vIQ\":[\"An unexpected error occurred while executing the logic function.\"],\"YtFgT4\":[\"Invalid feature flag key.\"],\"YvE7G6\":[\"Workspace member job title\"],\"Yvew2T\":[\"Default Message Channel Message Association Message Folder Layout\"],\"YxBvFz\":[\"We encountered an issue connecting to your email account. Please check your settings and try again.\"],\"YzUxdC\":[\"Prebuilt bundle is not installed on the function. Rebuild and try again.\"],\"Z+s6mX\":[\"Payload must contain either a path or an object metadata item identifier\"],\"Z3Su9z\":[\"Invalid UUID format.\"],\"Z4AMcp\":[\"The app manifest declares an invalid server version requirement.\"],\"Z5N7sB\":[\"Attachments linked to the contact.\"],\"ZCNAGE\":[\"You do not have permission to update this workspace member.\"],\"ZIo8Cj\":[\"User's preferred time format\"],\"ZKtamk\":[\"Page layout not found\"],\"ZM94I5\":[\"\\\"\",[\"0\"],\"\\\" is a one-to-many relation and can't be indexed directly. Index the foreign-key side instead.\"],\"ZPo5fR\":[\"You do not have permission to upload profile pictures. Please contact your workspace administrator for access.\"],\"ZRbuaB\":[\"Attachment name\"],\"ZXnasf\":[\"This version of the application is already installed in this workspace.\"],\"ZYK68w\":[\"Sending\"],\"Zdd8u/\":[\"Restore\"],\"Zi3Ych\":[\"Save Dashboard\"],\"Zi9X+u\":[\"The role you are looking for could not be found. It may have been deleted or you may not have access to it.\"],\"ZjemzY\":[\"Invalid value for UUID: \\\"\",[\"inspectedValue\"],\"\\\"\"],\"ZkHTHm\":[[\"fieldType\"],\" fields cannot be unique.\"],\"ZmVj5N\":[\"Invalid phone number.\"],\"ZoXxz9\":[\"Invalid permission type\"],\"Zqbr+6\":[\"View field with same fieldMetadataUniversalIdentifier and viewUniversalIdentifier already exists\"],\"ZsZeV2\":[\"Email is required\"],\"ZtpeIz\":[\"A note target\"],\"Zuw7oP\":[\"Search vector\"],\"ZyEq3L\":[\"This campaign no longer exists.\"],\"a+k+8J\":[\"Index with same name already exists\"],\"a/WH2z\":[\"Predicate value is not valid for this operand\"],\"a1tUtz\":[\"Status\"],\"a1zyh7\":[\"Server logic function requires authentication.\"],\"a78k8n\":[\"Normalized diarized transcript\"],\"a7ym1l\":[\"Year First\"],\"a9mYsP\":[\"Compose\"],\"aANbrX\":[\"Workflow Automated Triggers\"],\"aBOgPF\":[\"Default Company Layout\"],\"aK2k19\":[\"System indexes are required for Twenty to work and cannot be deleted.\"],\"aNDPqw\":[\"Contact's phone numbers\"],\"aNUhqB\":[\"Company\"],\"aPJopM\":[\"Some workspace memberships could not be found. They may no longer have access to this workspace.\"],\"aVGG1u\":[\"Empty field permissions are not allowed.\"],\"aXBMTb\":[\"This type of record cannot be merged.\"],\"aYt8SY\":[\"Invalid workflow operation.\"],\"aaw408\":[\"Dashboard record Position\"],\"acTNEg\":[\"An unexpected configuration error occurred.\"],\"aeNy7i\":[\"Row level permission predicate to update not found\"],\"aepsXP\":[\"Audit logs require an Enterprise subscription.\"],\"aflzUo\":[\"Opportunities\"],\"akOVAq\":[\"Metadata version not found.\"],\"aqua7x\":[\"Cannot delete this role: it is still assigned to one or more agents, and the workspace default role cannot be assigned to agents. Please reassign these agents to another role first.\"],\"avBuTv\":[\"Reference to the core workflowVersion row\"],\"awsWDN\":[\"Attachment full path\"],\"ax8unE\":[\"We couldn't connect to your email server. Please check your server settings and try again.\"],\"azOBF6\":[\"Channel ID\"],\"b+xWjq\":[\"Connection provider not found.\"],\"b1LFyn\":[\"Attachment\"],\"b3ictS\":[\"Exactly one of \\\"groups\\\" or \\\"fields\\\" must be provided\"],\"b85bAt\":[\"maxNumberOfValues must be defined in settings and be a number greater than 0 and less than or equal to \",[\"FILES_FIELD_MAX_NUMBER_OF_VALUES\"]],\"b8g3PG\":[\"Webhook not found.\"],\"bAGU1r\":[\"The file extension doesn't match the file content. Please check that your file is not corrupted and has the correct extension.\"],\"bAPURS\":[\"You cannot update your own role.\"],\"bCL+CN\":[\"Date when the record was deleted\"],\"bEhTPN\":[\"This operation is not supported.\"],\"bFP5hd\":[\"Email\"],\"bHna44\":[\"This HTTP method is not allowed on this server route.\"],\"bJZ2Tj\":[\"Contact's avatar file\"],\"bK8AyJ\":[\"Workspace \",[\"workspaceId\"],\" is not found.\"],\"bKb5Ip\":[\"Aggregated / filtered event to be displayed on the timeline\"],\"bLsIZe\":[\"Workflow run started at\"],\"bM1MKh\":[\"View filter with this universal identifier already exists\"],\"bMeJkW\":[\"Object to delete not found\"],\"bNNDED\":[\"Invalid filter: use \\\"\",[\"joinColumnName\"],\"\\\" to filter by this relation field\"],\"bQS4UN\":[\"Calendar channel is misconfigured.\"],\"bQaMUu\":[\"A workflow run\"],\"bSLhyc\":[[\"0\"],\" does not belong to this widget's object.\"],\"bTyBrW\":[\"Your Password Has Been Successfully Changed\"],\"bWAwB6\":[\"Authentication required.\"],\"bZ2ltE\":[\"Header message Id\"],\"bcIybO\":[\"Workspace name is required\"],\"bfWCbe\":[\"Stock market (Iframe)\"],\"bgG8mY\":[\"Number of spam complaints received\"],\"bhFnpx\":[\"Avatar\"],\"bhuNSV\":[\"A chart filter of widget \\\"\",[\"widgetTitle\"],\"\\\" has no field metadata universal identifier\"],\"birhbY\":[\"Notes\"],\"bkSXCt\":[\"Call Recording\"],\"bm66XQ\":[\"Opportunity company\"],\"bpGbAD\":[\"Deactivate\"],\"bpqhFq\":[\"Junction target field must be a MANY_TO_ONE relation\"],\"bqFL4g\":[\"Workflow version is not in draft status\"],\"brtxSP\":[\"Invalid universal identifier \",[\"universalIdentifier\"]],\"bs1xxW\":[\"Language\"],\"bx1He3\":[\"A required configuration is missing.\"],\"bxSgKk\":[\"\\\"\",[\"0\"],\"\\\" is not a composite field — remove the sub-field selection.\"],\"bypqPt\":[\"This action is currently unavailable.\"],\"bznmUY\":[\"Invalid workflow edge request.\"],\"c1XRE3\":[\"View group metadata with universal identifier \",[\"flatViewGroupUniversalIdentifier\"],\" already exists\"],\"c1qcYo\":[\"A temporary error occurred. Please try again.\"],\"c4NCfN\":[\"Invalid widget configuration.\"],\"c5P53s\":[\"Export View\"],\"c68K+k\":[\"This role cannot be assigned to users.\"],\"c7uZDh\":[\"Position layoutMode \\\"\",[\"layoutMode\"],\"\\\" does not match tab layoutMode \\\"\",[\"tabLayoutMode\"],\"\\\"\"],\"cCj4vg\":[\"Join column name is required.\"],\"cK8ILP\":[\"Field to create related object not found\"],\"cLUBlS\":[\"No setting type provided in cron trigger\"],\"cOI7+n\":[\"Message\"],\"cTz6/1\":[\"Processing\"],\"cWaEaJ\":[\"A free development instance requires an active production instance on this enterprise subscription.\"],\"ccqQWi\":[\"Value \\\"\",[\"stringifiedValue\"],\"\\\" is not valid for operand \\\"\",[\"operand\"],\"\\\" on field type \\\"\",[\"filterType\"],\"\\\". \",[\"hint\"]],\"cgNV3G\":[\"Authentication is required.\"],\"cgV4xo\":[\"Default role not found.\"],\"cggtYH\":[\"Pipeline Value by Stage\"],\"chHKg8\":[\"You are not authorized to perform this action.\"],\"cizVEW\":[\"Invalid calendar channel input.\"],\"cjqhZq\":[\"The provider denied access to this account. Please reconnect it.\"],\"cmBz2p\":[\"Contradicting field permissions have been detected on a relation field.\"],\"cnGeoo\":[\"Delete\"],\"cq5JGr\":[\"Tasks tied to the company\"],\"crn/PJ\":[\"Go to \",[\"objectLabelPlural\"]],\"crxihq\":[\"Unsupported field metadata type \",[\"fieldType\"]],\"ctpIGF\":[\"Role target is missing identifier.\"],\"cvJ2e6\":[\"Google API authentication is disabled.\"],\"cvWDSJ\":[\"This identifier is reserved by the system\"],\"cyovqN\":[\"See Versions\"],\"czQdYE\":[\"Add a Node\"],\"d6DMa/\":[\"Invalid file ID.\"],\"dBDpp2\":[\"Name \\\"\",[\"name\"],\"\\\" is not available as it is already used by join column name\"],\"dD9Vpa\":[\"Workflow step not found.\"],\"dE2rg+\":[\"Interface Scale\"],\"dFudyC\":[\"Option label must be a string of at least one character\"],\"dIxBwv\":[\"Invalid workflow status.\"],\"dKSPBk\":[\"Permission flag definition to delete not found\"],\"dTYtQr\":[\"Meeting\"],\"dYZHjd\":[\"TaskTarget task\"],\"dZF5Gw\":[\"This suppressed address no longer exists.\"],\"dZPXqH\":[\"Go to Data Model Settings\"],\"daijCZ\":[\"Workflow run not found.\"],\"ddGPbK\":[[\"0\"],\" does not belong to the object \",[\"1\"],\" points to.\"],\"deE0XW\":[\"Unsubscribe topic id\"],\"dhcf1B\":[\"An error occurred during workspace migration.\"],\"dj45uB\":[\"Send\"],\"dmOWfL\":[\"You do not have access to this message folder.\"],\"dmxzg7\":[\"12HRS\"],\"dqLRwc\":[\"Permission flag to delete not found\"],\"dqt3x1\":[\"Invalid file folder.\"],\"drcYgn\":[\"Stage\"],\"dtGxRz\":[\"Provided and inferred calling code are conflicting\"],\"dw+g0N\":[\"Invalid workflow trigger configuration.\"],\"dxfM0y\":[\"This field cannot be updated directly on a workflow version\"],\"dzQfDY\":[\"October\"],\"dzteua\":[\"Filter uses a select option that does not exist\"],\"e/+ykp\":[\"Operand \\\"\",[\"operand\"],\"\\\" is not supported on field type \\\"\",[\"filterType\"],\"\\\". Supported operands: \",[\"0\"],\".\"],\"e1k+No\":[\"Sign up is disabled.\"],\"e2V+x1\":[\"Field cannot be used as label identifier due to its type\"],\"e6tjp1\":[\"Application variable not found\"],\"e6udqn\":[\"Skill with name \\\"\",[\"name\"],\"\\\" already exists\"],\"eAMUPx\":[\"Something went wrong while saving your onboarding progress.\"],\"eC8p5b\":[\"The API key does not have a valid role assigned. Please check your API key configuration.\"],\"eCBMag\":[\"JSON response format requires a schema\"],\"eKi1df\":[\"SDK client archive not found. The SDK client may not have been generated for this application.\"],\"eLQjKW\":[\"Chat thread title cannot be empty.\"],\"eMh4C2\":[\"Message Participants\"],\"ePMKG3\":[\"A workflow automated trigger\"],\"eQmx6a\":[\"Failed to refresh the access token.\"],\"eQwIyW\":[\"Workspace not found for customer event.\"],\"eRIGld\":[\"Not authorized to access this OAuth provider.\"],\"eSaCR/\":[\"Can't connect to \",[\"connectFieldName\"],\". No unique record found with condition: \",[\"formattedConnectCondition\"]],\"eUPMYZ\":[\"View filter group not found\"],\"eW83iC\":[\"An error occurred during messages import\"],\"eWmJYU\":[\"Forbidden updated properties for relation field metadata\"],\"eX6v+/\":[\"Contact's job title\"],\"eYgzEd\":[\"Only field restrictions are allowed.\"],\"eaW27s\":[\"The same column cannot appear twice in an index.\"],\"ecIX3O\":[\"This application is already owned by a workspace.\"],\"ecrchg\":[\"linked a related task\"],\"edc5Bh\":[\"was deleted by\"],\"egii0n\":[\"My First Dashboard\"],\"egz9rA\":[\"Invalid data format.\"],\"eiOt+9\":[\"Application registration variable not found.\"],\"eitC3W\":[\"This operation is not allowed. Please try a different approach or contact support if you need assistance.\"],\"eiujBX\":[\"Cannot modify predicate group belonging to a different object.\"],\"ej/tZF\":[\"Your workspace has been updated with a new data model. Please refresh the page.\"],\"erTWgO\":[\"Chat message not found.\"],\"es5DkC\":[\"Notes\"],\"ezEYQZ\":[\"Creation date\"],\"ezJrlG\":[\"View sort with invalid direction, should be ASC or DESC\"],\"f0e8iZ\":[\"User Email\"],\"f3HJCK\":[\"Workflow run position\"],\"f6BBGv\":[\"Summary\"],\"f7SWSg\":[\"Invalid order by with group by parameter.\"],\"f8ypJ4\":[\"Please use single sign-on to authenticate.\"],\"f9Rp2t\":[\"Workflow version must not be set for this item type\"],\"f9u4+O\":[\"Call recording record position\"],\"fCIz/F\":[\"Message Folders\"],\"fDGNL3\":[\"Claiming is not configured on this server. Ask an administrator to configure the GitHub OAuth app.\"],\"fDI+nJ\":[\"Tasks\"],\"fEazMl\":[\"Row level permission predicate not found.\"],\"fIq00W\":[\"The nested relation field configured for this widget could not be found.\"],\"fNIemA\":[\"Annual Revenue\"],\"fNaXqL\":[\"Invalid message channel input.\"],\"fOgbeX\":[\"Create new \",[\"objectLabelSingular\"]],\"fOmUO9\":[\"Owner\"],\"fPoVsQ\":[\"Json object to provide steps\"],\"fRWsMD\":[\"API key is not configured.\"],\"fV2Bu6\":[\"Wrong password\"],\"fWsBTs\":[\"Something went wrong. Please try again.\"],\"fY2zUQ\":[\"Index to delete not found\"],\"fbDfth\":[\"Messages from the thread.\"],\"fbe2ik\":[\"Create Calendar Event\"],\"fenRdq\":[\"Is Organizer\"],\"ffNEb6\":[\"The workflow name\"],\"ffpvxH\":[\"Add at least one field to update.\"],\"foYipq\":[\"Workspace member\"],\"fpzw+t\":[\"Cannot update standard agent\"],\"ftXaBy\":[\"Workflow run ended at\"],\"fxy039\":[\"This operation references a record that does not exist or cannot be modified due to existing relationships.\"],\"fyryIW\":[\"Create new Campaign\"],\"g+92VU\":[\"Timeline activities linked to the dashboard\"],\"g+pbWz\":[\"Update\"],\"g/dGHV\":[\"Configuration variable not found.\"],\"g2om8o\":[\"Engine component key is required\"],\"g4PB8S\":[\"Invalid configuration type for graph widget \\\"\",[\"widgetTitle\"],\"\\\". Expected one of \",[\"expectedConfigurationTypes\"],\", got \",[\"configurationTypeString\"]],\"g4rOV3\":[\"We couldn't connect to your outgoing email server. Please check your SMTP settings and try again.\"],\"g5/Q0d\":[\"Automated Triggers\"],\"g5Z6no\":[\"User not found. Please check the email or ID.\"],\"g5pJGG\":[\"Could not resolve parent object metadata \\\"\",[\"0\"],\"\\\" for field unique index side effect\"],\"g6X4T4\":[\"Task\"],\"g87L9j\":[\"Relations\"],\"g9BupG\":[\"Tidy up\"],\"gH+wBS\":[\"There is an issue with your token. Please try again.\"],\"gHC5sU\":[\"A view sort error occurred.\"],\"gIacCF\":[\"See Workflow\"],\"gKGO2f\":[\"\\\"\",[\"fieldName\"],\"\\\" received an invalid value.\"],\"gP+fzj\":[\"Conflicting phone calling code.\"],\"gPBck6\":[\"This name is reserved. Use a different name or the system will add \\\"Custom\\\" suffix.\"],\"gaHTjP\":[\"Text Document\"],\"gawQTB\":[\"Go to Emails Settings\"],\"gdJXPD\":[\"Invalid filter: filter value must be an object\"],\"gfZlPy\":[\"Go to General Settings\"],\"gir8T5\":[\"Tasks\"],\"gmoxtb\":[\"Dashboard\"],\"go/Vg1\":[\"Name is too short\"],\"gqz/Jf\":[\"Scheduled\"],\"guEsvP\":[\"Invalid captcha. Please try again.\"],\"gz6uii\":[\"Role target not found.\"],\"h8R4RO\":[\"The provided email address is not valid. Please use a standard email format (e.g., [email protected]).\"],\"h8lHqX\":[\"Option label format not supported\"],\"hGYqrE\":[\"Page layout widget with universal identifier \",[\"flatPageLayoutWidgetUniversalIdentifier\"],\" already exists\"],\"hJpBT6\":[\"Invalid aggregate fields parameter.\"],\"hLEiPe\":[\"Junction target field must be a relation field\"],\"hMX1AE\":[\"You have exhausted your credits. Please upgrade your plan to continue.\"],\"hNJ1TI\":[\"Conference Solution\"],\"hQQZse\":[\"No event name provided in database event trigger\"],\"hRloGP\":[\"Conference Solution\"],\"hU1QaN\":[\"WorkspaceId is required to create a view sort.\"],\"hUOMKq\":[\"Calendar field must belong to the view object\"],\"hVbdKt\":[\"Invalid role target data.\"],\"hY1mx5\":[\"The executor of the workflow\"],\"hYcFSd\":[\"Invalid minute value. Should be integer greater than 1\"],\"hYgDIe\":[\"Create\"],\"ha71hz\":[\"Dashboard\"],\"hbJg5A\":[\"Amount\"],\"heKRt4\":[\"Delivery status\"],\"heMezC\":[\"Configuration is required for iframe widget\"],\"hfYxN9\":[\"A valid pageLayoutUniversalIdentifier is required for PAGE_LAYOUT type\"],\"hg6l4j\":[\"March\"],\"hgvbYY\":[\"September\"],\"hhRoz2\":[\"Default Workflow Run Layout\"],\"hk3cgp\":[\"Logic function not found\"],\"hmg/aY\":[\"The development instance slot for this enterprise key is already in use on another server.\"],\"hmqhWD\":[\"Calendar Event\"],\"hoCDqQ\":[\"Field type TS_VECTOR must be named \\\"searchVector\\\"\"],\"hog3m7\":[\"Email group requires an Enterprise plan.\"],\"hq1K5d\":[\"Automated Trigger Type\"],\"hqdwCt\":[\"Workflow Run\"],\"hr1Spc\":[\"Subject\"],\"hsi+jf\":[\"This feature is not enabled.\"],\"hty0d5\":[\"Monday\"],\"hw7Mwk\":[\"Maximum number of records to upsert is \",[\"QUERY_MAX_RECORDS\"],\".\"],\"hx2IZ4\":[\"The object you are trying to set permissions for could not be found. It may have been deleted.\"],\"hzBM8U\":[\"Last update\"],\"i++4Wk\":[\"Invalid depth parameter.\"],\"i/TzEU\":[\"Send Email\"],\"i/ifeM\":[\"List Member\"],\"i4wotH\":[\"This enterprise key is already in use on another server instance. Release it from that server, or transfer it to this one.\"],\"iBBCnf\":[\"Invalid minute value. Should be integer between 0 and 59\"],\"iCx6+2\":[\"Object permission for this role and object already exists\"],\"iD+jGc\":[\"Operand \\\"\",[\"operand\"],\"\\\" requires a value, an empty predicate would remove the row restriction entirely\"],\"iDDe0p\":[\"Note targets\"],\"iE+St0\":[\"Default Workflow Automated Trigger Layout\"],\"iEZavm\":[[\"hostnameCount\"],\" hostnames found for domain {domainName}. Expect 1\"],\"iHQYLb\":[\"No role assigned to the application.\"],\"iJh5U7\":[\"People\"],\"iLqs3S\":[\"Go to AI Settings\"],\"iMikvq\":[\"Credit grant must expire after it becomes effective.\"],\"iN7doz\":[\"Workspace limit reached. A valid enterprise key is required to create more workspaces.\"],\"iPSuof\":[\"File category\"],\"iWhqvt\":[\"See Runs\"],\"iWv3nK\":[\"Invalid relation field target\"],\"iXSQGo\":[\"Message Channel Message Association Message Folder\"],\"iZ+j0D\":[\"TS_VECTOR field metadata must be of type TS_VECTOR\"],\"icQX0H\":[\"Message Threads\"],\"icnIAm\":[\"Handler name is invalid\"],\"icnMQl\":[\"Task body\"],\"idGnsb\":[\"Emails\"],\"idm+pJ\":[\"A name is required for FOLDER type\"],\"if0x7I\":[\"Default List Layout\"],\"iffSt5\":[\"Incoming\"],\"iiqbeU\":[\"Unknown timeline activity renderer \",[\"0\"]],\"ilJZDO\":[\"The workflow last published version id\"],\"inVepb\":[\"View filter group with this universal identifier already exists\"],\"ipFNcM\":[\"View sort already exists\"],\"irEsRo\":[\"Event Participants\"],\"isIEpm\":[\"Invalid navigation menu item input.\"],\"ixdsnM\":[\"A DNS manager error occurred.\"],\"j0DfGR\":[\"Action Needed to Reset Password\"],\"j3uenD\":[\"Workspace Member\"],\"j4iZI5\":[\"Row level permission predicate group with this universal identifier already exists\"],\"j5w8z0\":[\"MessageList\"],\"j6q6l+\":[\"The connection-provider manifest is missing required fields.\"],\"j7gCou\":[\"A record with this value already exists.\"],\"j81CIH\":[\"Attachments\"],\"j8p0F8\":[\"Video\"],\"jBXpZT\":[\"Stop\"],\"jBrX/g\":[\"Could not find index field related field metadata\"],\"jCBIuc\":[\"External Bot ID\"],\"jDoSzT\":[\"This timeline activity renderer requires the type to reference an object\"],\"jMDu2a\":[\"There is no previous onboarding step to go back to.\"],\"jNnzPT\":[\"Cannot target a role owned by another application\"],\"jNr0+j\":[\"We couldn't find any calendars on your CalDAV server. Please make sure your account has at least one calendar.\"],\"jQMXtD\":[\"WorkspaceId is required to create a view filter.\"],\"jS+jUv\":[\"A valid targetObjectMetadataUniversalIdentifier is required for OBJECT type\"],\"jTDnNG\":[\"Import\"],\"jUt31O\":[\"Invalid connected account ID.\"],\"jX0IPx\":[\"A skill with this name already exists.\"],\"jasdD2\":[\"Default Message Thread Layout\"],\"jfC/xh\":[\"Contact\"],\"jgWZQ6\":[\"The opportunity name\"],\"jlbLNx\":[\"Dashboard not found.\"],\"jm1hwE\":[\"Cannot modify predicate group to change its role\"],\"jmaSDc\":[\"Default Message Participant Layout\"],\"jrTmnG\":[\"This action is not available for your request.\"],\"jtb/lI\":[\"WorkspaceId is required to create a view.\"],\"jxgcg/\":[\"Enum operation failed.\"],\"jyicIO\":[\"Search vector field must be a search vector\"],\"jzhZvB\":[\"A connection provider with this name already exists for this application.\"],\"k/ykpJ\":[\"View sort to delete not found\"],\"k2/sGI\":[\"Role is not editable\"],\"k4DPlQ\":[\"Workflow version does not contain trigger\"],\"k5fVFW\":[\"Import \",[\"objectLabelPlural\"]],\"k6Npai\":[\"Page layout widget already exists\"],\"k6cK5J\":[\"Calendar end field not found\"],\"k731jp\":[\"Label must not contain a comma\"],\"kDjMpp\":[\"handlerName must be a valid JavaScript identifier or dotted path\"],\"kFbvma\":[\"Invalid filter : Operator \\\"\",[\"operator\"],\"\\\" is not valid for this \\\"\",[\"fieldName\"],\"\\\" \",[\"fieldType\"],\" field\"],\"kFsyD4\":[\"The \",[\"reservedViewKey\"],\" view key is reserved for the default view\"],\"kGg4O3\":[\"Is draft\"],\"kIKb9e\":[\"Social\"],\"kNsVJi\":[\"Timeline activity type not found\"],\"kOOXTs\":[\"Cannot delete standard permission flag definition\"],\"kQqVjw\":[\"Response Status\"],\"kRmDjY\":[\"See Workflow\"],\"kUdj5v\":[\"Email campaign record position\"],\"kdTB4e\":[\"The OAuth request is missing required parameters.\"],\"kjLpTn\":[\"WorkspaceId is required to create a view field.\"],\"kkDQ8m\":[\"Thursday\"],\"kkeNYX\":[\"Call Recordings\"],\"klDmCR\":[\"Timeline activities linked to the version\"],\"kmAKx+\":[\"Agent execution failed.\"],\"kqw1qp\":[\"Untitled Rich Text\"],\"krbBsy\":[\"Field permission already exists\"],\"krxpzA\":[\"Default Calendar Event Layout\"],\"ku/9og\":[\"Cannot modify predicate to change its object from \",[\"existingObjectMetadataIdentifier\"],\" to \",[\"updatedObjectMetadataIdentifier\"]],\"kuN9I4\":[\"Form action fields must have a defined label and type\"],\"kuNcoR\":[\"Application post-install logic function failed.\"],\"kx632Q\":[\"One or more redirect URIs are invalid.\"],\"kypFzo\":[\"Message record position\"],\"l+Dvh5\":[\"Value \\\"\",[\"stringifiedValue\"],\"\\\" resolves to no record for operand \\\"\",[\"operand\"],\"\\\", the current record is not available to a row level permission predicate\"],\"l+VvdV\":[\"Tidy up Workflow\"],\"l/RVZK\":[\"Owner\"],\"l4w5Vo\":[\"Is Full Day\"],\"l75CjT\":[\"Yes\"],\"l88nXn\":[\"ViewId is required to create a view field.\"],\"l9dlVi\":[\"User does not have access to this workspace\"],\"lB2pC7\":[\"Campaign\"],\"lCnasH\":[\"Missing decorator configuration.\"],\"lDTqT7\":[\"Cannot give write permission on non-readable objects.\"],\"lG+q53\":[\"Row level permission predicate group already exists\"],\"lGa+Pw\":[\"Task status\"],\"lHCFXi\":[\"Update field restrictions only apply to updatable objects.\"],\"lIud+S\":[\"Universal identifier is reserved for system-managed metadata\"],\"lKiUxC\":[\"Message channel message association message folder record position\"],\"lMbT9y\":[\"Thread id from the messaging provider\"],\"lNKrNc\":[\"Two-factor authentication method not found.\"],\"lNgTSN\":[\"Workspace cannot be deleted: subscription is not yet canceled.\"],\"lOyHVQ\":[\"Invalid request.\"],\"lPC0WB\":[\"Invalid group by parameter.\"],\"lPFYWf\":[\"Deactivate Workflow\"],\"lPd6aN\":[\"Tasks tied to the contact\"],\"lS6C4L\":[\"Resource path must not contain backslashes\"],\"lTGIDF\":[\"Recording lifecycle status\"],\"lUEEso\":[\"User workspace not found.\"],\"lWLaJ5\":[\"Open Records In\"],\"lYf9yG\":[\"Events linked to the workspace member\"],\"liZHXq\":[\"Configuration is required for iframe widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"ljUvzm\":[\"Label identifier field cannot be deactivated\"],\"llR7hT\":[\"Tab 1\"],\"lpSAqb\":[\"Invalid subdomain.\"],\"lr7Nsq\":[\"Event target\"],\"lrTHGl\":[\"Workflow Versions\"],\"lscvqN\":[\"workflowVersionId must not be set when engineComponentKey is FRONT_COMPONENT_RENDERER\"],\"ltvmAF\":[\"Application not found.\"],\"luyinP\":[\"Invalid configuration type for fields widget \\\"\",[\"widgetTitle\"],\"\\\". Expected FIELDS, got \",[\"actualString\"]],\"ly4IhE\":[\"Message Id\"],\"lyfeGa\":[\"Invalid command menu item input.\"],\"m+O/bO\":[\"Description\"],\"m2jBI/\":[\"Direct upload is not supported for this file type.\"],\"m34s12\":[\"workflowVersionId is required when engineComponentKey is TRIGGER_WORKFLOW_VERSION\"],\"m4y7mj\":[\"Invalid response format type\"],\"m8tBqi\":[\"Page layout tab to update not found\"],\"m9fD11\":[\"Email is already verified.\"],\"mANTdg\":[\"Invalid value for emails.\"],\"mAbBLH\":[\"Kanban view must have a main group by field\"],\"mCM5lH\":[\"The OAuth state parameter is invalid or expired.\"],\"mDAXg+\":[\"Invalid subscription.\"],\"mDXkHu\":[\"Agent not found\"],\"mEl3m6\":[\"Month First\"],\"mF5BSU\":[\"Route path already exists.\"],\"mFYgps\":[\"Remove from Favorites\"],\"mFjkYL\":[\"Note Target\"],\"mGHuob\":[\"attended a calendar event\"],\"mGasIh\":[\"Cannot delete this role: it is still assigned to one or more API keys, and the workspace default role cannot be assigned to API keys. Please reassign these API keys to another role first.\"],\"mIrUSZ\":[\"Invalid CALDAV credentials. Please check your username and password.\"],\"mMHHVP\":[\"Invalid permission setting\"],\"mMbNCo\":[\"Workspace not found. Please check the ID.\"],\"mNaQTB\":[\"Invalid workflow run.\"],\"mQj02P\":[\"Text response format should not have a schema\"],\"mTAp1w\":[\"Connection provider not found\"],\"mTFS0z\":[\"Option label exceeds 63 characters\"],\"mTxjri\":[\"There is an issue with your invitation. Please try again.\"],\"mU5fvk\":[\"Approved access domain already registered.\"],\"mUQTd+\":[\"Attachments\"],\"mWj8el\":[\"Failed to delete file \",[\"fileId\"]],\"mX3ym7\":[\"Deal\"],\"mZvaAV\":[\"Logic function execution failed.\"],\"ma0oop\":[\"Cached record name\"],\"mdX5P2\":[\"View field metadata with this universal identifier already exists\"],\"mdxF/u\":[\"Function execution timed out.\"],\"mfqtz7\":[\"Too many workspace invitations sent. Please try again later.\"],\"mgipnr\":[\"Invalid page layout widget data.\"],\"mhEqo/\":[\"WorkflowVersion workflow\"],\"mjE4RD\":[\"This evaluation target could not be found.\"],\"mnANRQ\":[\"Webhook not found\"],\"mqzu5F\":[\"Please confirm your updated email\"],\"mwzvkz\":[\"Add to Favorites\"],\"mxlR2g\":[\"The list the person belongs to\"],\"n+KDCN\":[\"To\"],\"n+OC6R\":[\"Person\"],\"n4/IOE\":[\"Workflow version does not contain at least one step\"],\"n44hqG\":[\"Event Participants\"],\"n6jNyT\":[\"Either workflow version or front component is required.\"],\"n8EtHV\":[\"Configuration validation failed.\"],\"nA3bja\":[\"Object permission to update not found\"],\"nAcEw6\":[\"People in this list\"],\"nCXfEw\":[\"The default role cannot be deleted as it is required for the workspace to function properly.\"],\"nFIPim\":[\"This subdomain is already taken.\"],\"nFIvYZ\":[\"Invalid configuration type for widget \\\"\",[\"widgetTitle\"],\"\\\". Expected \",[\"expectedString\"],\", got \",[\"actualString\"]],\"nOtYs7\":[\"Attachment target\"],\"nPwrik\":[\"You do not have permission to access this workflow.\"],\"nQqNzE\":[\"Option value \\\"\",[\"sanitizedValue\"],\"\\\" is beneath 1 character\"],\"nWIjgD\":[\"Emails\"],\"nWgj2z\":[\"Avatar Url\"],\"nZbise\":[\"This universal identifier is already claimed by another registration.\"],\"naCW6Z\":[\"April\"],\"ndAwoq\":[\"Start Date\"],\"neC452\":[\"Skipped\"],\"nmhjwk\":[\"Object label is too short\"],\"nnWIIb\":[\"Subscription item not found.\"],\"np4/Yp\":[\"Workflow automated triggers linked to the workflow.\"],\"nq15cs\":[\"You must be authenticated to manage blocklist.\"],\"nrH4HK\":[\"Input is too short.\"],\"nrcGtY\":[\"Failed to update record.\"],\"nuFzWZ\":[\"Task Target\"],\"nwC2sc\":[\"Invalid row level permission predicate group data.\"],\"nzBQFi\":[\"Sender address for the campaign\"],\"o/Kt/Y\":[\"This workspace already has a subscription.\"],\"o/bbIF\":[\"Unknown timeline activity action \",[\"0\"]],\"o/rMB1\":[\"This field references an object that could not be found\"],\"o0N9e6\":[\"Source handler path is invalid\"],\"o0VLtQ\":[\"A cache lock error occurred.\"],\"o21Tgt\":[\"Code step execution failed.\"],\"o3xAcd\":[\"Title\"],\"o6DGfJ\":[\"The field \\\"\",[\"field\"],\"\\\" cannot be updated. Please contact your workspace administrator.\"],\"oEsYJM\":[\"System fields cannot be updated\"],\"oH0/eJ\":[\"Configuration type is required\"],\"oJEIzr\":[\"Emails\"],\"oKThPN\":[\"View field group with this universal identifier already exists\"],\"oLh4c+\":[\"Workspace ID and role mismatch.\"],\"oLqCzh\":[\"Invalid value for phones.\"],\"oNYUjk\":[\"Role target not found\"],\"oX1zsX\":[\"Point of Contact\"],\"obQsic\":[\"Send Email\"],\"odCOaU\":[\"GitHub authentication failed. Try connecting your GitHub account again.\"],\"of4ZuG\":[\"Unknown navigation menu item type \",[\"type\"]],\"ofdfh5\":[\"When the campaign finished sending\"],\"offvgc\":[\"Default Person Layout\"],\"oh0oix\":[\"Create View\"],\"oiqUFe\":[\"Default Task Layout\"],\"onFkTP\":[\"See Version\"],\"oqzqZq\":[\"Migration execution failed.\"],\"osscRx\":[\"Workspace schema changes are temporarily locked.\"],\"othZF2\":[\"A field with this name already exists.\"],\"oupUKG\":[\"Stopped\"],\"ovnbNI\":[\"Enable two-factor authentication in your current workspace to manage server administrators.\"],\"oxqc8m\":[\"WorkflowRun\"],\"p3MMwa\":[\"Value \\\"\",[\"stringifiedValue\"],\"\\\" of a chart filter of widget \\\"\",[\"widgetTitle\"],\"\\\" is not valid for operand \\\"\",[\"operand\"],\"\\\" on field type \\\"\",[\"filterType\"],\"\\\".\"],\"p5qcyl\":[\"Navigation menu item not found.\"],\"p6JTHU\":[\"Field type POSITION must be a system field\"],\"p6uSBj\":[\"You do not have access to this calendar channel.\"],\"pAoCL6\":[\"View Previous AI Chats\"],\"pCCxli\":[\"ViewId is required to create a view filter.\"],\"pCsIQQ\":[\"Request has expired, please try again.\"],\"pFC0xF\":[\"Message Channel Message Association\"],\"pGyA0g\":[\"Duplicate Workflow\"],\"pMOjQa\":[\"User is not a member of the workspace.\"],\"pOHI+b\":[\"Invalid enterprise key.\"],\"pOITp3\":[\"Page layout tab not found.\"],\"pOu4u/\":[\"No schedule provided in cron trigger\"],\"pQ5dZU\":[\"Object to update not found\"],\"pQNAUc\":[\"Invalid newFieldDefaultVisibility for fields widget\"],\"pRMOjU\":[\"Blocklist record position\"],\"pRQO5R\":[\"See Version\"],\"pSjWxS\":[\"Invalid action type.\"],\"pTvQqf\":[\"View field already exists\"],\"pUligB\":[\"Failed to delete jobs. Please try again later.\"],\"pXkgL2\":[\"Grid position is required\"],\"pYUji4\":[\"Deleted \",[\"objectLabelPlural\"]],\"pZEIPj\":[\"An agent with this name already exists\"],\"pa3yzc\":[\"Workflow versions linked to the workflow.\"],\"paHOg2\":[\"Approved access domain not found.\"],\"pcBMew\":[\"Field used for full-text search\"],\"pcd2n0\":[\"Duplicate\"],\"pkIuNd\":[\"View field group already exists\"],\"pouguB\":[\"Function code is unchanged.\"],\"ppA1Aq\":[\"Invalid row level permission predicate data.\"],\"prTOhK\":[\"Field name is not synced with field label\"],\"psMxtB\":[\"Files field is not supported for unique fields\"],\"pv+BoZ\":[\"The request is too complex to process. Please try reducing the amount of requested fields.\"],\"pvMXsN\":[\"Invalid answer for this question.\"],\"pwKAVz\":[\"Workspace Member\"],\"px8Wqt\":[\"Permission flag definition with universal identifier \",[\"0\"],\" already exists\"],\"pxTMbt\":[\"Point of Contact\"],\"pxZPo7\":[\"System\"],\"q1On37\":[\"Version status\"],\"q1oDDx\":[\"System fields cannot be deleted\"],\"q4irFa\":[\"Enqueued\"],\"q5OVn+\":[\"You do not have permission to perform this action.\"],\"q7l89c\":[\"Event external ID\"],\"q87JH5\":[\"Email update is restricted to single workspace users.\"],\"q8ZbjA\":[\"An unknown calendar error occurred.\"],\"qAQDfe\":[\"Person record Position\"],\"qAkbUE\":[\"User time zone\"],\"qBrKIA\":[\"Layout is required for bar chart widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"qG245w\":[\"Permission flag for this role and setting already exists\"],\"qH6+tl\":[\"Timeline Activities\"],\"qHZppf\":[\"Custom object is missing a label identifier field.\"],\"qIIg23\":[\"Test\"],\"qJ9V6q\":[\"Page layout tab not found\"],\"qKYG4b\":[\"Join table linking message channel message associations to message folders\"],\"qN3wNQ\":[\"Go to Roles Settings\"],\"qNlIHQ\":[\"Timeline activities linked to the workflow\"],\"qONLh7\":[\"Junction target field not found\"],\"qOe49F\":[\"Ask AI\"],\"qRILxq\":[\"Work\"],\"qSInGy\":[\"Too many recipients.\"],\"qSQPRS\":[\"Workspace does not exist.\"],\"qW+K5e\":[\"Your Twenty trial is ending soon\"],\"qelyBB\":[\"Field does not belong to the indexed object\"],\"qfdnRM\":[\"Message Participant\"],\"qgC2Dq\":[\"Message Thread record position\"],\"qgasuj\":[\"Please provide a password for this connection.\"],\"qiWAf+\":[\"Message id from the messaging provider\"],\"qjrxU8\":[\"Access denied.\"],\"qo/IO1\":[\"Sent\"],\"qpXqpa\":[\"Entity not found.\"],\"qqnpQ9\":[\"A view error occurred.\"],\"qs7GyL\":[\"Could not find \",[\"targetMetadataName\"],\" for given \",[\"universalForeignKey\"]],\"qvqNco\":[\"Invalid value for field \\\"\",[\"fieldName\"],\"\\\"\"],\"qyMa3j\":[\"Calendar events\"],\"r+9b/a\":[\"Invalid price.\"],\"r+kse7\":[\"No verified sending domain matches this from address.\"],\"r4t1DT\":[\"Other\"],\"r4uEo5\":[\"Cannot give write permission without read permission.\"],\"r5C2wB\":[\"Updated field name is not synced with label\"],\"r6zgGo\":[\"December\"],\"rB+mLn\":[\"Title\"],\"rEDXNA\":[\"Boom\"],\"rEIcf+\":[\"Invalid workflow trigger input.\"],\"rExecr\":[\"This role cannot be assigned to agents.\"],\"rFH0az\":[\"Invalid front component input.\"],\"rFV9W+\":[\"Tasks tied to the opportunity\"],\"rFj1tD\":[\"Position must be a finite number\"],\"rHce90\":[\"Object metadata not found.\"],\"rI+dAx\":[\"Label identifier view field has to be in the lowest position\"],\"rL2haJ\":[\"Widget type VIEW is not supported yet.\"],\"rLOFsu\":[\"Position\"],\"rLnr2R\":[\"Hide deleted \",[\"objectLabelPlural\"]],\"rR7vkH\":[\"Field permission to update not found\"],\"rVKk74\":[\"Configuration is required for standalone rich text widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"rWCYgN\":[\"Spreadsheet\"],\"reBsjo\":[\"A temporary network error occurred.\"],\"rej7zQ\":[\"View field group parent view not found\"],\"rfTW6d\":[\"Number of emails that failed to send\"],\"rjyWPb\":[\"January\"],\"rkIGWa\":[\"Billing customer not found.\"],\"rklt6M\":[\"Workspace is not ready to welcome new members\"],\"rl11Jd\":[\"Failed to build function dependencies.\"],\"rnnLQA\":[\"Workspace member not found.\"],\"rpkTUe\":[\"Invalid filter: filtering by relation field \\\"\",[\"key\"],\"\\\" is not supported\"],\"rqDhd1\":[\"Function execution failed.\"],\"rqQpQX\":[\"Call Recordings\"],\"ruD0s1\":[\"Failed to receive real time updates.\"],\"rx63gq\":[\"Content cannot be empty\"],\"rxi3R2\":[\"Please check your connection settings. Make sure the server host, port, and password are correct.\"],\"s+1Ldg\":[\"Unsupported page layout widget type \",[\"widgetType\"]],\"s+CGNO\":[\"Navigation menu item not found\"],\"s+lEnL\":[\"Could not create the index because it must run outside a database transaction.\"],\"s+mvdF\":[\"The webhook subscription could not be managed for this account.\"],\"s2T4KU\":[\"Deals created this month\"],\"s3wAxw\":[\"Page Layout ID\"],\"s6LppJ\":[\"Invalid file extension. Allowed extensions: \",[\"0\"]],\"s6batt\":[\"This domain is already registered.\"],\"s7cqdG\":[\"Resource path must be relative, not absolute\"],\"s8R9ou\":[\"The list name\"],\"s8y6wj\":[\"Widget views must use a widget view type\"],\"s9DUGk\":[\"The object to update could not be found to reconcile its INDEX view\"],\"sAG9OB\":[\"linked a related note\"],\"sDZaHF\":[\"A workspace member\"],\"sDfyvM\":[\"Invalid morph relation input\"],\"sELqwL\":[\"Dashboard page layout\"],\"sFN4Dx\":[\"Value \\\"\",[\"stringifiedValue\"],\"\\\" is not valid for operand \\\"\",[\"operand\"],\"\\\" on field type \\\"\",[\"filterType\"],\"\\\".\"],\"sHcAMD\":[\"Invalid trigger type for enabling workflow trigger\"],\"sI3ixq\":[\"Calendar Channel Event Association\"],\"sMsvyG\":[\"Members\"],\"sOfbGC\":[\"Your Twenty plan renews soon\"],\"sYutYQ\":[\"Actual recording start\"],\"sa9Q+R\":[\"Please select at least 2 records to merge.\"],\"sbHaOg\":[\"View filter already exists\"],\"scar7N\":[\"Workspace Members\"],\"si69+A\":[\"Permission flag definition key cannot be changed after creation\"],\"siJgSI\":[\"User not found.\"],\"sieBE7\":[\"A record with this relationship already exists.\"],\"sjVenv\":[\"Workflow version\"],\"sjYS9x\":[\"You do not have permission to create workspace-level navigation menu items. Please contact your workspace administrator for access.\"],\"smyL3I\":[\"Runs\"],\"snEXuU\":[\"FieldMetadataId is required to create a view sort.\"],\"sndTPB\":[\"System objects cannot be updated\"],\"snetsR\":[\"Community\"],\"spJjXJ\":[\"unlinked a related note\"],\"spfaiG\":[\"Invalid two-factor authentication configuration.\"],\"spjW+Z\":[\"Accepted\"],\"sqmSqj\":[\"Timeline activity type label is required\"],\"sqzMKR\":[\"View field to update parent view object not found\"],\"srkEOV\":[\"Failed to exchange the authorization code for an access token.\"],\"sskdm3\":[\"Calendar Event\"],\"stY5BO\":[\"Field type NUMERIC is not supported. Use Number instead.\"],\"su92Mw\":[\"Email subject line\"],\"sv9P4Q\":[\"Default value should be as quoted string\"],\"swFcOd\":[\"NoteTarget note\"],\"swt/ln\":[\"Campaign\"],\"t/0e9D\":[\"Prompt cannot be empty\"],\"t38VAr\":[\"Navigation menu item hierarchy exceeds maximum depth of \",[\"NAVIGATION_MENU_ITEM_MAX_DEPTH\"]],\"t4AABW\":[\"Invalid order by parameter.\"],\"t77Ey9\":[\"Application not found in this workspace.\"],\"t7SpQO\":[\"Invalid input provided.\"],\"t9QlBd\":[\"November\"],\"tBK3H8\":[\"Configuration is required for front component widget \\\"\",[\"title\"],\"\\\"\"],\"tCbiO2\":[\"Started At\"],\"tEb/hR\":[\"Transformation failed.\"],\"tEncxN\":[\"Unknown operation.\"],\"tG/2Q/\":[\"Invalid Captcha, please try another device\"],\"tGfHmi\":[\"API key role not found.\"],\"tH32bu\":[\"Versions\"],\"tKVJbL\":[\"Go to Admin Panel Settings\"],\"tKm/LA\":[\"was restored by\"],\"tMSida\":[\"Message Channel Association\"],\"tO7kqE\":[\"Id\"],\"tPOpjI\":[\"Email body sent to recipients\"],\"tYtTv9\":[\"Server administrator access changed\"],\"tcYYlR\":[\"NoteTarget record position\"],\"te+g0b\":[\"Notes tied to the contact\"],\"tfoEIq\":[\"Invalid value for FILES field \\\"\",[\"fieldName\"],\"\\\" - \",[\"errorMessage\"]],\"tir/7Q\":[\"View filter group hierarchy exceeds maximum depth of \",[\"VIEW_FILTER_GROUP_MAX_DEPTH\"]],\"tj1Qu0\":[\"Configuration is required for fields widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"tkDOSx\":[\"24HRS\"],\"tks5qw\":[\"Dashboard title\"],\"tkzFzG\":[\"Invalid pricing tiers.\"],\"tl8xOZ\":[\"The provided email address is missing a domain. Please use a standard email format (e.g., [email protected]).\"],\"tlIbgN\":[\"Go to Billing Settings\"],\"tm//h9\":[\"Invalid label format.\"],\"toB/08\":[\"View to delete not found\"],\"tsYhp1\":[\"Recording\"],\"ttuub1\":[\"sent or received an email\"],\"tv4sza\":[\"Call Recordings\"],\"tw1ElT\":[\"Workspace member position\"],\"txhQne\":[\"Version steps\"],\"tz4ASG\":[\"Workspace Member\"],\"tznZvd\":[\"Task title\"],\"u+rv4L\":[\"Step is not a form\"],\"u/Q/SE\":[\"Message id from the message header\"],\"u1Fm8i\":[\"Role \\\"\",[\"roleLabel\"],\"\\\" cannot be assigned to API keys\"],\"u4ex5r\":[\"July\"],\"u5u/QJ\":[\"Go to Community Settings\"],\"u8G1rR\":[\"Restore \",[\"objectLabel\"]],\"u8IV9J\":[\"Missing main alias target.\"],\"u9WDFH\":[\"Archive\"],\"uAJ5BF\":[\"Resource path contains null bytes\"],\"uGUFcy\":[\"ViewId is required to create a view sort.\"],\"uHk5U2\":[\"Merge\"],\"uK5bNo\":[\"Note body\"],\"uK5uBy\":[\"Server keys require the application publisher workspace to have the application installed.\"],\"uNfOVo\":[\"Timeline\"],\"uO9NF0\":[\"View field group to delete not found\"],\"uTPwH1\":[\"Field metadata to delete not found\"],\"uVOjgA\":[\"Workflow version linked to the run.\"],\"uYP2Uw\":[\"The uploaded file does not match the declared size. Please retry the upload.\"],\"uYdN1N\":[\"Notes\"],\"ue106l\":[\"Application is not installed in this workspace. Install it first.\"],\"ufaNs2\":[\"Design\"],\"ugu505\":[\"Field cannot be indexed as it belongs to a different object\"],\"uhRAsd\":[\"Aggregate operation is required for graph widget\"],\"umhXiy\":[\"Cron pattern {pattern} is invalid\"],\"unOidh\":[\"Number of emails that bounced\"],\"uo7UmH\":[\"Subscription not found.\"],\"uoi9Wy\":[\"Cannot modify predicate to change its role from \",[\"existingRoleIdentifier\"],\" to \",[\"updatedRoleIdentifier\"]],\"uwL5YM\":[\"Task assignee\"],\"uyJle/\":[\"Done\"],\"v+527c\":[\"File \",[\"fileId\"],\" was not uploaded for this field. Please re-upload the file.\"],\"v+ozTr\":[\"Invalid workflow step input.\"],\"v1QfnP\":[\"Reply To\"],\"v2G/zq\":[\"Page layout widget to destroy not found\"],\"v874L+\":[\"Primary axis group by field is required for line chart widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"v8UNEA\":[\"We couldn't log in to your email account. Please check your email address and password, then try again.\"],\"vBl1vC\":[\"Calendar event participant record position\"],\"vCvEfM\":[\"Permission flag definition key is required\"],\"vD3FVp\":[\"The server address you entered is not allowed. Please use a public server address.\"],\"vGWuPM\":[\"Settings\"],\"vMP7nZ\":[\"Row level permission predicate group to delete not found\"],\"vNNSFX\":[\"Enter your two-factor authentication code to manage server administrators.\"],\"vOKvb8\":[\"Connection provider with name \",[\"0\"],\" already exists for this application\"],\"vPl+B/\":[\"Go to Members Settings\"],\"vUfYBs\":[\"Permission flag definition already exists\"],\"vVCf2E\":[\"Query execution failed.\"],\"vX8fN0\":[\"Workflow run enqueued at\"],\"vYrPc5\":[\"Role target must have exactly one of: apiKeyId, userWorkspaceId, or agentUniversalIdentifier\"],\"va8c5P\":[\"Row level permission predicate group not found\"],\"vcvSI3\":[\"Permission not found.\"],\"viS7/+\":[\"Configuration is required for standalone rich text widget\"],\"vjIbbe\":[\"Message channel not found.\"],\"vkvP/1\":[\"Event ID\"],\"vngnhF\":[\"Field already exists\"],\"vo/CmK\":[\"Opportunities by Owner\"],\"vplJ+F\":[\"Invalid credit amount.\"],\"vqM7BR\":[\"Opportunity point of contact\"],\"vuzFx0\":[\"was created by\"],\"vxbVwc\":[\"Cannot activate non-draft or non-last-published version\"],\"w/9iNJ\":[\"The object to rename could not be found to update its default relations\"],\"w0nNxn\":[\"This endpoint has moved. Call it at \",[\"publicFunctionUrl\"],\" instead.\"],\"w7dUdB\":[\"Send Campaign\"],\"w8Rv8T\":[\"Label is required\"],\"w943Kr\":[\"Creation DateTime\"],\"w9vY/A\":[\"People\"],\"wEyUsU\":[\"View sort to update not found\"],\"wG8PVB\":[\"Target relation field does not reference the source object\"],\"wHLbpa\":[\"Per-step observability payload (token usage, tool calls, log entries)\"],\"wJMQQx\":[\"Invalid configuration type for fields widget\"],\"wLX74t\":[\"Object label is too long\"],\"wMVBTa\":[\"Flow\"],\"wNJvot\":[\"Cannot switch subscription interval.\"],\"wOVBIH\":[\"Configuration is required for graph widget\"],\"wQ3edW\":[\"This kind of credit grant cannot be created by hand.\"],\"wT0H4O\":[\"Password too weak\"],\"wVLH1M\":[\"Object permission with universal identifier \",[\"0\"],\" already exists\"],\"waPPpZ\":[\"Upsert\"],\"weWV3g\":[\"File not found.\"],\"wg/hr/\":[\"Preferred language\"],\"wgGOAj\":[\"All recipients are suppressed for this email domain.\"],\"wj0hmG\":[\"Linked Record id\"],\"wkRCkw\":[\"Note\"],\"wmdbyt\":[\"Note attachments\"],\"woRk0z\":[\"The role you are trying to modify could not be found.\"],\"wqJIjz\":[\"Aggregate field is required for graph widget\"],\"wz0wTT\":[\"Permission flag definition with key \",[\"flagKey\"],\" is still assigned to a role\"],\"x0Vn7k\":[\"Subscription is not in trial period.\"],\"x31eoV\":[\"Opportunities linked to the company.\"],\"xAAHTC\":[\"Go to Security Settings\"],\"xAF1N9\":[\"An opportunity\"],\"xBSqqt\":[\"Command menu item not found\"],\"xCHHEH\":[\"General\"],\"xCnoll\":[\"Default Workflow Layout\"],\"xD2MTL\":[\"Rate limit reached. Please try again later.\"],\"xE3QEV\":[\"Calendar channel event association record position\"],\"xFQ9H7\":[\"Message Channel Message Association\"],\"xFv7OI\":[\"Timeline activity type describing this event\"],\"xGunO9\":[\"Bounced\"],\"xHFdq5\":[\"Search field metadata to update not found\"],\"xKCu0t\":[\"Retry\"],\"xKvSoz\":[\"The received email content is no longer available.\"],\"xLsFda\":[\"Target relation field does not reference this field\"],\"xM30Ha\":[\"The field configured for this widget could not be found.\"],\"xO923u\":[\"Cannot modify predicate belonging to a different role.\"],\"xQ2DfP\":[\"Connection provider display name is required\"],\"xTE+26\":[\"Workspace member name\"],\"xYLtTf\":[\"Blocklist item not found.\"],\"xaBJxq\":[\"GIN indexes work on multi-select, array, JSON, and search-vector columns. \\\"\",[\"0\"],\"\\\" sub-properties don't qualify.\"],\"xfXYBX\":[\"Invalid input for application registration.\"],\"xiXoMW\":[\"File \",[\"fileId\"],\" upload has not been completed. Please retry the upload.\"],\"xkRCzV\":[\"Source app recording id, when present\"],\"xodh4N\":[\"OAuth provider not found.\"],\"xp3jG9\":[\"Color Scheme\"],\"xqrB9X\":[\"You cannot delete a role you are assigned to. Ask another administrator to delete it.\"],\"xrblgA\":[\"Object metadata not found\"],\"xuYXJX\":[\"Correct direction is required\"],\"xvTxwi\":[\"Invalid value \\\"\",[\"inspectedValue\"],\"\\\" for FILES field \\\"\",[\"fieldName\"],\"\\\" - It should be an array of objects with \\\"fileId\\\" and \\\"label\\\" properties.\"],\"xvV2NJ\":[\"We are experiencing a temporary issue with our database. Please try again later.\"],\"xvfw7w\":[\"Export to PDF\"],\"xw6iqb\":[\"Email is not verified.\"],\"xwq0b4\":[\"Use as Draft\"],\"xyfiio\":[\"Calendar\"],\"xzNMzS\":[\"Invalid seed project configuration.\"],\"y+BSWq\":[\"Email is unchanged.\"],\"y2nks/\":[\"This app requires a newer version than this workspace has finished upgrading to. Please try again once the workspace upgrade completes.\"],\"y3SNqs\":[\"This conversation is too long for the model. Start a new thread to continue.\"],\"y5haJ4\":[\"You cannot grant edit permissions without also granting read permissions. Please enable read access first.\"],\"y8IlfM\":[\"Workflow\"],\"y8LSMh\":[\"Email verification not required.\"],\"yCsIxc\":[\"Page layout widget to update not found\"],\"yEL+R4\":[\"Opportunity amount\"],\"yFLhnq\":[\"Remove this permission from all roles before deleting it\"],\"yGCc6d\":[\"Note title\"],\"yIUmAs\":[\"This name is not available.\"],\"yQDBsf\":[\"Function code failed to compile.\"],\"yRJEYl\":[\"Message Channel Id\"],\"yU57/s\":[\"Configuration is required for fields widget\"],\"yV6160\":[\"URL must be a string for widget \\\"\",[\"widgetTitle\"],\"\\\"\"],\"yVxtzR\":[\"Remote objects are not supported yet\"],\"ycn/wp\":[\"File \",[\"fileId\"],\" is already associated with a permanent files field. Please re-upload the file.\"],\"yg6ThG\":[\"Direction\"],\"ygoA2u\":[\"Event name\"],\"ylQono\":[\"Field restrictions only apply to readable objects.\"],\"yqmAnC\":[\"Field permission not found.\"],\"ysRzX6\":[\"Previous AI Chats\"],\"ysb9m+\":[\"Workflow root step not found.\"],\"yxykz2\":[\"Cannot modify predicate group to change its role from \",[\"existingRoleIdentifier\"],\" to \",[\"updatedRoleIdentifier\"]],\"yzSIu/\":[\"Message Participants\"],\"z+7x/s\":[\"You must be authenticated to perform this action.\"],\"z+srLp\":[\"Linkedin\"],\"z1WJHw\":[\"Notes tied to the opportunity\"],\"z2V1Q6\":[\"Connection provider oauthConfig.\",[\"label\"],\" is required\"],\"z2Vy8H\":[\"Assigned tasks\"],\"z68tnU\":[\"Invalid webhook input.\"],\"z7QJbR\":[\"This question has already been answered.\"],\"z7bcpf\":[\"This domain has already been validated.\"],\"z8/E1J\":[\"frontComponentId must not be set when engineComponentKey is TRIGGER_WORKFLOW_VERSION\"],\"z851aK\":[\"Chart filter operand is not supported for this field type\"],\"zC/oFa\":[\"Duplicate Dashboard\"],\"zEGChV\":[\"Option value format not supported\"],\"zEHtXk\":[\"Reference to the core workflow row\"],\"zGMIAQ\":[\"Tentative\"],\"zISk4k\":[\"This app requires a newer version of the Twenty server. Please upgrade your server or use a compatible app version.\"],\"zIwdvk\":[\"The logic function to run on connect was not found.\"],\"zK+Ntk\":[\"Company record position\"],\"zL+3RN\":[\"Navigate App\"],\"zMMTZj\":[\"Apps\"],\"zSq4aO\":[\"Whether this message is an unsent draft synced from the provider\"],\"zSsbOe\":[\"Workflows\"],\"zU5mL2\":[\"Data Model\"],\"zURS+B\":[\"Message Thread Id\"],\"zUyPBT\":[\"Invalid message folder input.\"],\"zW3WPH\":[\"Complained\"],\"zWj6VZ\":[\"WorkspaceId is required to create a view filter group.\"],\"zYcf9G\":[\"Connection provider displayName is required\"],\"zdTUvE\":[\"Row level permission predicate to delete not found\"],\"zeEQd/\":[\"June\"],\"zeffu9\":[\"Role must have at least one target.\"],\"zey8hv\":[\"OAuth connection provider is missing its oauth config block\"],\"zfvgb0\":[\"Calendar view must have a calendar field\"],\"zhPcjs\":[\"Emails\"],\"zhhpvr\":[\"Edit\"],\"zjh2SJ\":[\"Name is too long\"],\"zlsZBc\":[\"Role permission flag already exists\"],\"znCTbL\":[\"Widget index must be an integer\"],\"znJ6EA\":[\"A view group error occurred.\"],\"zoIkfT\":[\"An unexpected error occurred while handling the server route.\"],\"zqVFya\":[\"Is Organizer\"],\"zrOFFt\":[\"Apostrophe and dot\"],\"zrm54u\":[\"Page layout to destroy not found\"],\"zsYQk/\":[\"Custom domains are disabled for this workspace.\"]}")as Messages;
\ No newline at end of file
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/all-universal-flat-entity-properties-to-compare-and-stringify.constant.spec.ts.snap b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/all-universal-flat-entity-properties-to-compare-and-stringify.constant.spec.ts.snap
index da1c5a1db97..92f7fda2d15 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/all-universal-flat-entity-properties-to-compare-and-stringify.constant.spec.ts.snap
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/all-universal-flat-entity-properties-to-compare-and-stringify.constant.spec.ts.snap
@@ -334,6 +334,17 @@ exports[`ALL_UNIVERSAL_FLAT_ENTITY_PROPERTIES_TO_COMPARE_AND_STRINGIFY should ma
],
"propertiesToStringify": [],
},
+ "timelineActivityType": {
+ "propertiesToCompare": [
+ "name",
+ "label",
+ "action",
+ "icon",
+ "renderer",
+ "objectUniversalIdentifier",
+ ],
+ "propertiesToStringify": [],
+ },
"view": {
"propertiesToCompare": [
"deletedAt",
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/overridable-and-translatable-properties.constant.spec.ts.snap b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/overridable-and-translatable-properties.constant.spec.ts.snap
index 53ca6d8f550..92c1b5cd4e6 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/overridable-and-translatable-properties.constant.spec.ts.snap
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/overridable-and-translatable-properties.constant.spec.ts.snap
@@ -58,6 +58,7 @@ exports[`registry-derived override property maps derives the overridable propert
"rowLevelPermissionPredicateGroup": [],
"searchFieldMetadata": [],
"skill": [],
+ "timelineActivityType": [],
"view": [
"name",
"type",
@@ -123,6 +124,9 @@ exports[`registry-derived override property maps derives the translatable proper
"pageLayoutWidget": [
"title",
],
+ "timelineActivityType": [
+ "label",
+ ],
"view": [
"name",
],
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant.ts b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant.ts
index f8156c52ed3..07383bd5662 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant.ts
@@ -1888,6 +1888,40 @@ export const ALL_ENTITY_PROPERTIES_CONFIGURATION_BY_METADATA_NAME = {
universalProperty: undefined,
},
},
+ timelineActivityType: {
+ name: { toCompare: true, toStringify: false, universalProperty: undefined },
+ label: {
+ toCompare: true,
+ toStringify: false,
+ universalProperty: undefined,
+ },
+ action: {
+ toCompare: true,
+ toStringify: false,
+ universalProperty: undefined,
+ },
+ icon: { toCompare: true, toStringify: false, universalProperty: undefined },
+ renderer: {
+ toCompare: true,
+ toStringify: false,
+ universalProperty: undefined,
+ },
+ objectUniversalIdentifier: {
+ toCompare: true,
+ toStringify: false,
+ universalProperty: undefined,
+ },
+ createdAt: {
+ toCompare: false,
+ toStringify: false,
+ universalProperty: undefined,
+ },
+ updatedAt: {
+ toCompare: false,
+ toStringify: false,
+ universalProperty: undefined,
+ },
+ },
} as const satisfies {
[P in AllMetadataName]: MetadataEntityPropertyConfiguration<P>;
};
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-many-to-one-metadata-foreign-key.constant.ts b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-many-to-one-metadata-foreign-key.constant.ts
index f249be0980d..216fa28af04 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-many-to-one-metadata-foreign-key.constant.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-many-to-one-metadata-foreign-key.constant.ts
@@ -309,6 +309,10 @@ export const ALL_MANY_TO_ONE_METADATA_FOREIGN_KEY = {
workspace: null,
application: null,
},
+ timelineActivityType: {
+ workspace: null,
+ application: null,
+ },
searchFieldMetadata: {
workspace: null,
application: null,
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-many-to-one-metadata-relations.constant.ts b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-many-to-one-metadata-relations.constant.ts
index a3dfaf58de5..1b798ad1f08 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-many-to-one-metadata-relations.constant.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-many-to-one-metadata-relations.constant.ts
@@ -545,6 +545,10 @@ export const ALL_MANY_TO_ONE_METADATA_RELATIONS = {
workspace: null,
application: null,
},
+ timelineActivityType: {
+ workspace: null,
+ application: null,
+ },
searchFieldMetadata: {
workspace: null,
application: null,
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-metadata-entity-by-metadata-name.constant.ts b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-metadata-entity-by-metadata-name.constant.ts
index 0eb44203451..ccbc575fa21 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-metadata-entity-by-metadata-name.constant.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-metadata-entity-by-metadata-name.constant.ts
@@ -32,6 +32,7 @@ import { ViewGroupEntity } from 'src/engine/metadata-modules/view-group/entities
import { ViewEntity } from 'src/engine/metadata-modules/view/entities/view.entity';
import { ViewSortEntity } from 'src/engine/metadata-modules/view-sort/entities/view-sort.entity';
import { SearchFieldMetadataEntity } from 'src/engine/metadata-modules/search-field-metadata/search-field-metadata.entity';
+import { TimelineActivityTypeEntity } from 'src/engine/metadata-modules/timeline-activity-type/entities/timeline-activity-type.entity';
export const ALL_METADATA_ENTITY_BY_METADATA_NAME = {
viewField: ViewFieldEntity,
@@ -65,4 +66,5 @@ export const ALL_METADATA_ENTITY_BY_METADATA_NAME = {
viewSort: ViewSortEntity,
connectionProvider: ConnectionProviderEntity,
searchFieldMetadata: SearchFieldMetadataEntity,
+ timelineActivityType: TimelineActivityTypeEntity,
} as const satisfies Record<AllMetadataName, EntityTarget<ObjectLiteral>>;
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-metadata-required-metadata-for-validation.constant.ts b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-metadata-required-metadata-for-validation.constant.ts
index f12557843c8..57fb8696ade 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-metadata-required-metadata-for-validation.constant.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-metadata-required-metadata-for-validation.constant.ts
@@ -123,4 +123,5 @@ export const ALL_METADATA_REQUIRED_METADATA_FOR_VALIDATION = {
objectMetadata: true,
fieldMetadata: true,
},
+ timelineActivityType: {},
} as const satisfies MetadataRequiredForValidation;
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-metadata-serialized-relation.constant.ts b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-metadata-serialized-relation.constant.ts
index 4d940200122..173b178dc16 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-metadata-serialized-relation.constant.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-metadata-serialized-relation.constant.ts
@@ -53,6 +53,7 @@ export const ALL_METADATA_SERIALIZED_RELATION = {
webhook: {},
applicationVariable: {},
connectionProvider: {},
+ timelineActivityType: {},
searchFieldMetadata: {},
} as const satisfies MetadataSerializedRelationProperties;
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-one-to-many-metadata-relations.constant.ts b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-one-to-many-metadata-relations.constant.ts
index eda03a96a1c..ab2ee268ff3 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-one-to-many-metadata-relations.constant.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-one-to-many-metadata-relations.constant.ts
@@ -273,6 +273,7 @@ export const ALL_ONE_TO_MANY_METADATA_RELATIONS = {
viewSort: {},
connectionProvider: {},
searchFieldMetadata: {},
+ timelineActivityType: {},
} as const satisfies OneToManyMetadataRelationsProperties;
// satisfies with complex mapped types involving nested generics doesn't always catch missing required keys
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/services/workspace-many-or-all-flat-entity-maps-cache.module.ts b/packages/twenty-server/src/engine/metadata-modules/flat-entity/services/workspace-many-or-all-flat-entity-maps-cache.module.ts
index f714c65dfe5..144b5c95f27 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/services/workspace-many-or-all-flat-entity-maps-cache.module.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/services/workspace-many-or-all-flat-entity-maps-cache.module.ts
@@ -22,6 +22,7 @@ import { WorkspaceFlatViewFilterGroupMapCacheService } from 'src/engine/metadata
import { WorkspaceFlatViewFilterMapCacheService } from 'src/engine/metadata-modules/flat-view-filter/services/workspace-flat-view-filter-map-cache.service';
import { WorkspaceFlatViewGroupMapCacheService } from 'src/engine/metadata-modules/flat-view-group/services/workspace-flat-view-group-map-cache.service';
import { WorkspaceFlatSearchFieldMetadataMapCacheService } from 'src/engine/metadata-modules/flat-search-field-metadata/services/workspace-flat-search-field-metadata-map-cache.service';
+import { WorkspaceFlatTimelineActivityTypeMapCacheService } from 'src/engine/metadata-modules/flat-timeline-activity-type/services/workspace-flat-timeline-activity-type-map-cache.service';
import { WorkspaceFlatViewSortMapCacheService } from 'src/engine/metadata-modules/flat-view-sort/services/workspace-flat-view-sort-map-cache.service';
import { WorkspaceFlatViewMapCacheService } from 'src/engine/metadata-modules/flat-view/services/workspace-flat-view-map-cache.service';
import { FrontComponentEntity } from 'src/engine/metadata-modules/front-component/entities/front-component.entity';
@@ -39,6 +40,7 @@ import { RoleEntity } from 'src/engine/metadata-modules/role/role.entity';
import { RowLevelPermissionPredicateGroupEntity } from 'src/engine/metadata-modules/row-level-permission-predicate/entities/row-level-permission-predicate-group.entity';
import { RowLevelPermissionPredicateEntity } from 'src/engine/metadata-modules/row-level-permission-predicate/entities/row-level-permission-predicate.entity';
import { SearchFieldMetadataEntity } from 'src/engine/metadata-modules/search-field-metadata/search-field-metadata.entity';
+import { TimelineActivityTypeEntity } from 'src/engine/metadata-modules/timeline-activity-type/entities/timeline-activity-type.entity';
import { ViewFieldGroupEntity } from 'src/engine/metadata-modules/view-field-group/entities/view-field-group.entity';
import { ViewFieldEntity } from 'src/engine/metadata-modules/view-field/entities/view-field.entity';
import { ViewFilterGroupEntity } from 'src/engine/metadata-modules/view-filter-group/entities/view-filter-group.entity';
@@ -77,6 +79,7 @@ import { WorkspaceCacheModule } from 'src/engine/workspace-cache/workspace-cache
RoleEntity,
FrontComponentEntity,
SearchFieldMetadataEntity,
+ TimelineActivityTypeEntity,
]),
],
providers: [
@@ -101,6 +104,7 @@ import { WorkspaceCacheModule } from 'src/engine/workspace-cache/workspace-cache
WorkspaceFlatPageLayoutWidgetMapCacheService,
WorkspaceFlatRowLevelPermissionPredicateMapCacheService,
WorkspaceFlatRowLevelPermissionPredicateGroupMapCacheService,
+ WorkspaceFlatTimelineActivityTypeMapCacheService,
provideWorkspaceScopedRepository(PermissionFlagEntity),
provideWorkspaceScopedRepository(SearchFieldMetadataEntity),
provideWorkspaceScopedRepository(IndexMetadataEntity),
@@ -119,6 +123,7 @@ import { WorkspaceCacheModule } from 'src/engine/workspace-cache/workspace-cache
provideWorkspaceScopedRepository(RoleEntity),
provideWorkspaceScopedRepository(RowLevelPermissionPredicateEntity),
provideWorkspaceScopedRepository(RowLevelPermissionPredicateGroupEntity),
+ provideWorkspaceScopedRepository(TimelineActivityTypeEntity),
],
exports: [
WorkspaceManyOrAllFlatEntityMapsCacheService,
@@ -142,6 +147,7 @@ import { WorkspaceCacheModule } from 'src/engine/workspace-cache/workspace-cache
WorkspaceFlatPageLayoutWidgetMapCacheService,
WorkspaceFlatRowLevelPermissionPredicateMapCacheService,
WorkspaceFlatRowLevelPermissionPredicateGroupMapCacheService,
+ WorkspaceFlatTimelineActivityTypeMapCacheService,
],
})
export class WorkspaceManyOrAllFlatEntityMapsCacheModule {}
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/types/all-flat-entity-types-by-metadata-name.ts b/packages/twenty-server/src/engine/metadata-modules/flat-entity/types/all-flat-entity-types-by-metadata-name.ts
index d26dba740d2..d7246d00e5e 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/types/all-flat-entity-types-by-metadata-name.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/types/all-flat-entity-types-by-metadata-name.ts
@@ -4,6 +4,8 @@ import { type FlatAgent } from 'src/engine/metadata-modules/flat-agent/types/fla
import { type FlatCommandMenuItemMaps } from 'src/engine/metadata-modules/flat-command-menu-item/types/flat-command-menu-item-maps.type';
import { type FlatConnectionProviderMaps } from 'src/engine/metadata-modules/flat-connection-provider/types/flat-connection-provider-maps.type';
import { type FlatConnectionProvider } from 'src/engine/metadata-modules/flat-connection-provider/types/flat-connection-provider.type';
+import { type FlatTimelineActivityTypeMaps } from 'src/engine/metadata-modules/flat-timeline-activity-type/types/flat-timeline-activity-type-maps.type';
+import { type FlatTimelineActivityType } from 'src/engine/metadata-modules/flat-timeline-activity-type/types/flat-timeline-activity-type.type';
import { type FlatCommandMenuItem } from 'src/engine/metadata-modules/flat-command-menu-item/types/flat-command-menu-item.type';
import { type FlatEntityMaps } from 'src/engine/metadata-modules/flat-entity/types/flat-entity-maps.type';
import { type MetadataEntity } from 'src/engine/metadata-modules/flat-entity/types/metadata-entity.type';
@@ -62,6 +64,7 @@ import { type FlatRowLevelPermissionPredicate } from 'src/engine/metadata-module
import { type UniversalFlatAgent } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/universal-flat-agent.type';
import { type UniversalFlatCommandMenuItem } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/universal-flat-command-menu-item.type';
import { type UniversalFlatConnectionProvider } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/universal-flat-connection-provider.type';
+import { type UniversalFlatTimelineActivityType } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/universal-flat-timeline-activity-type.type';
import { type UniversalFlatEntityFrom } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/universal-flat-entity-from.type';
import { type UniversalFlatFieldPermission } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/universal-flat-field-permission.type';
import { type UniversalFlatFrontComponent } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/universal-flat-front-component.type';
@@ -114,6 +117,14 @@ import {
type UniversalDeleteConnectionProviderAction,
type UniversalUpdateConnectionProviderAction,
} from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/connection-provider/types/workspace-migration-connection-provider-action.type';
+import {
+ type FlatCreateTimelineActivityTypeAction,
+ type FlatDeleteTimelineActivityTypeAction,
+ type FlatUpdateTimelineActivityTypeAction,
+ type UniversalCreateTimelineActivityTypeAction,
+ type UniversalDeleteTimelineActivityTypeAction,
+ type UniversalUpdateTimelineActivityTypeAction,
+} from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/timeline-activity-type/types/workspace-migration-timeline-activity-type-action.type';
import {
type FlatCreateFieldPermissionAction,
type FlatDeleteFieldPermissionAction,
@@ -839,4 +850,20 @@ export type AllFlatEntityTypesByMetadataName = {
universalFlatEntity: UniversalFlatSearchFieldMetadata;
entity: MetadataEntity<'searchFieldMetadata'>;
};
+ timelineActivityType: {
+ flatEntityMaps: FlatTimelineActivityTypeMaps;
+ universalActions: {
+ create: UniversalCreateTimelineActivityTypeAction;
+ update: UniversalUpdateTimelineActivityTypeAction;
+ delete: UniversalDeleteTimelineActivityTypeAction;
+ };
+ flatActions: {
+ create: FlatCreateTimelineActivityTypeAction;
+ update: FlatUpdateTimelineActivityTypeAction;
+ delete: FlatDeleteTimelineActivityTypeAction;
+ };
+ flatEntity: FlatTimelineActivityType;
+ universalFlatEntity: UniversalFlatTimelineActivityType;
+ entity: MetadataEntity<'timelineActivityType'>;
+ };
};
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/utils/__tests__/__snapshots__/get-metadata-related-metadata-names.util.spec.ts.snap b/packages/twenty-server/src/engine/metadata-modules/flat-entity/utils/__tests__/__snapshots__/get-metadata-related-metadata-names.util.spec.ts.snap
index aa2ad070e3b..9ea774365bc 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/utils/__tests__/__snapshots__/get-metadata-related-metadata-names.util.spec.ts.snap
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/utils/__tests__/__snapshots__/get-metadata-related-metadata-names.util.spec.ts.snap
@@ -151,6 +151,8 @@ exports[`getMetadataRelatedMetadataNames should return related metadata names fo
exports[`getMetadataRelatedMetadataNames should return related metadata names for skill 1`] = `[]`;
+exports[`getMetadataRelatedMetadataNames should return related metadata names for timelineActivityType 1`] = `[]`;
+
exports[`getMetadataRelatedMetadataNames should return related metadata names for view 1`] = `
[
"objectMetadata",
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/utils/__tests__/__snapshots__/sort-metadata-names-children-first.util.spec.ts.snap b/packages/twenty-server/src/engine/metadata-modules/flat-entity/utils/__tests__/__snapshots__/sort-metadata-names-children-first.util.spec.ts.snap
index ff6196a1009..6764540356b 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/utils/__tests__/__snapshots__/sort-metadata-names-children-first.util.spec.ts.snap
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/utils/__tests__/__snapshots__/sort-metadata-names-children-first.util.spec.ts.snap
@@ -25,6 +25,7 @@ exports[`sortMetadataNamesChildrenFirst should return metadata names sorted with
"logicFunction",
"pageLayoutTab",
"skill",
+ "timelineActivityType",
"viewFieldGroup",
"viewFilterGroup",
"webhook",
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-timeline-activity-type/constants/flat-timeline-activity-type-editable-properties.constant.ts b/packages/twenty-server/src/engine/metadata-modules/flat-timeline-activity-type/constants/flat-timeline-activity-type-editable-properties.constant.ts
new file mode 100644
index 00000000000..871bf3867e4
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-timeline-activity-type/constants/flat-timeline-activity-type-editable-properties.constant.ts
@@ -0,0 +1,8 @@
+import { type MetadataEntityPropertyName } from 'src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant';
+
+export const FLAT_TIMELINE_ACTIVITY_TYPE_EDITABLE_PROPERTIES = [
+ 'name',
+ 'label',
+ 'action',
+ 'icon',
+] as const satisfies MetadataEntityPropertyName<'timelineActivityType'>[];
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-timeline-activity-type/services/workspace-flat-timeline-activity-type-map-cache.service.ts b/packages/twenty-server/src/engine/metadata-modules/flat-timeline-activity-type/services/workspace-flat-timeline-activity-type-map-cache.service.ts
new file mode 100644
index 00000000000..7237c13ab94
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-timeline-activity-type/services/workspace-flat-timeline-activity-type-map-cache.service.ts
@@ -0,0 +1,62 @@
+import { Injectable } from '@nestjs/common';
+import { InjectRepository } from '@nestjs/typeorm';
+
+import { Repository } from 'typeorm';
+
+import { WorkspaceCacheProvider } from 'src/engine/workspace-cache/interfaces/workspace-cache-provider.service';
+
+import { ApplicationEntity } from 'src/engine/core-modules/application/application.entity';
+import { createEmptyFlatEntityMaps } from 'src/engine/metadata-modules/flat-entity/constant/create-empty-flat-entity-maps.constant';
+import { type FlatTimelineActivityTypeMaps } from 'src/engine/metadata-modules/flat-timeline-activity-type/types/flat-timeline-activity-type-maps.type';
+import { fromTimelineActivityTypeEntityToFlatTimelineActivityType } from 'src/engine/metadata-modules/flat-timeline-activity-type/utils/from-timeline-activity-type-entity-to-flat-timeline-activity-type.util';
+import { TimelineActivityTypeEntity } from 'src/engine/metadata-modules/timeline-activity-type/entities/timeline-activity-type.entity';
+import { InjectWorkspaceScopedRepository } from 'src/engine/twenty-orm/workspace-scoped-repository/inject-workspace-scoped-repository.decorator';
+import { WorkspaceScopedRepository } from 'src/engine/twenty-orm/workspace-scoped-repository/workspace-scoped-repository';
+import { WorkspaceCache } from 'src/engine/workspace-cache/decorators/workspace-cache.decorator';
+import { createIdToUniversalIdentifierMap } from 'src/engine/workspace-cache/utils/create-id-to-universal-identifier-map.util';
+import { addFlatEntityToFlatEntityMapsThroughMutationOrThrow } from 'src/engine/workspace-manager/workspace-migration/utils/add-flat-entity-to-flat-entity-maps-through-mutation-or-throw.util';
+
+@Injectable()
+@WorkspaceCache('flatTimelineActivityTypeMaps', { packingPonderation: 1 })
+export class WorkspaceFlatTimelineActivityTypeMapCacheService extends WorkspaceCacheProvider<FlatTimelineActivityTypeMaps> {
+ constructor(
+ @InjectWorkspaceScopedRepository(TimelineActivityTypeEntity)
+ private readonly timelineActivityTypeRepository: WorkspaceScopedRepository<TimelineActivityTypeEntity>,
+ @InjectRepository(ApplicationEntity)
+ private readonly applicationRepository: Repository<ApplicationEntity>,
+ ) {
+ super();
+ }
+
+ async computeForCache(
+ workspaceId: string,
+ ): Promise<FlatTimelineActivityTypeMaps> {
+ const [timelineActivityTypes, applications] = await Promise.all([
+ this.timelineActivityTypeRepository.find(workspaceId),
+ this.applicationRepository.find({
+ where: { workspaceId },
+ select: ['id', 'universalIdentifier'],
+ }),
+ ]);
+
+ const applicationIdToUniversalIdentifierMap =
+ createIdToUniversalIdentifierMap(applications);
+
+ const flatTimelineActivityTypeMaps = createEmptyFlatEntityMaps();
+
+ for (const timelineActivityTypeEntity of timelineActivityTypes) {
+ const flatTimelineActivityType =
+ fromTimelineActivityTypeEntityToFlatTimelineActivityType({
+ entity: timelineActivityTypeEntity,
+ applicationIdToUniversalIdentifierMap,
+ });
+
+ addFlatEntityToFlatEntityMapsThroughMutationOrThrow({
+ flatEntity: flatTimelineActivityType,
+ flatEntityMapsToMutate: flatTimelineActivityTypeMaps,
+ });
+ }
+
+ return flatTimelineActivityTypeMaps;
+ }
+}
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-timeline-activity-type/types/flat-timeline-activity-type-maps.type.ts b/packages/twenty-server/src/engine/metadata-modules/flat-timeline-activity-type/types/flat-timeline-activity-type-maps.type.ts
new file mode 100644
index 00000000000..bc41bc5cbb4
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-timeline-activity-type/types/flat-timeline-activity-type-maps.type.ts
@@ -0,0 +1,5 @@
+import { type FlatEntityMaps } from 'src/engine/metadata-modules/flat-entity/types/flat-entity-maps.type';
+import { type FlatTimelineActivityType } from 'src/engine/metadata-modules/flat-timeline-activity-type/types/flat-timeline-activity-type.type';
+
+export type FlatTimelineActivityTypeMaps =
+ FlatEntityMaps<FlatTimelineActivityType>;
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-timeline-activity-type/types/flat-timeline-activity-type.type.ts b/packages/twenty-server/src/engine/metadata-modules/flat-timeline-activity-type/types/flat-timeline-activity-type.type.ts
new file mode 100644
index 00000000000..e7d3658ddab
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-timeline-activity-type/types/flat-timeline-activity-type.type.ts
@@ -0,0 +1,5 @@
+import { type FlatEntityFrom } from 'src/engine/metadata-modules/flat-entity/types/flat-entity-from.type';
+import { type TimelineActivityTypeEntity } from 'src/engine/metadata-modules/timeline-activity-type/entities/timeline-activity-type.entity';
+
+export type FlatTimelineActivityType =
+ FlatEntityFrom<TimelineActivityTypeEntity>;
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-timeline-activity-type/utils/from-timeline-activity-type-entity-to-flat-timeline-activity-type.util.ts b/packages/twenty-server/src/engine/metadata-modules/flat-timeline-activity-type/utils/from-timeline-activity-type-entity-to-flat-timeline-activity-type.util.ts
new file mode 100644
index 00000000000..5317535d8c1
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-timeline-activity-type/utils/from-timeline-activity-type-entity-to-flat-timeline-activity-type.util.ts
@@ -0,0 +1,26 @@
+import { fromEntityToScalarEntity } from 'src/engine/metadata-modules/flat-entity/utils/from-entity-to-scalar-entity.util';
+import { type FlatTimelineActivityType } from 'src/engine/metadata-modules/flat-timeline-activity-type/types/flat-timeline-activity-type.type';
+import { type FromEntityToFlatEntityArgs } from 'src/engine/workspace-cache/types/from-entity-to-flat-entity-args.type';
+import { resolveManyToOneRelationIdsToUniversalIdentifiers } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/resolve-many-to-one-relation-ids-to-universal-identifiers.util';
+
+export const fromTimelineActivityTypeEntityToFlatTimelineActivityType = (
+ args: FromEntityToFlatEntityArgs<'timelineActivityType'>,
+): FlatTimelineActivityType => {
+ const { entity: timelineActivityTypeEntity } = args;
+
+ const timelineActivityTypeScalarEntity = fromEntityToScalarEntity({
+ metadataName: 'timelineActivityType',
+ entity: timelineActivityTypeEntity,
+ });
+
+ const relationUniversalIdentifiers =
+ resolveManyToOneRelationIdsToUniversalIdentifiers({
+ metadataName: 'timelineActivityType',
+ ...args,
+ });
+
+ return {
+ ...timelineActivityTypeScalarEntity,
+ ...relationUniversalIdentifiers,
+ };
+};
diff --git a/packages/twenty-server/src/engine/metadata-modules/metadata-engine.module.ts b/packages/twenty-server/src/engine/metadata-modules/metadata-engine.module.ts
index 2974cdb28bd..92f17e4c2ce 100644
--- a/packages/twenty-server/src/engine/metadata-modules/metadata-engine.module.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/metadata-engine.module.ts
@@ -22,6 +22,7 @@ import { MessageChannelMetadataModule } from 'src/engine/metadata-modules/messag
import { MessageFolderMetadataModule } from 'src/engine/metadata-modules/message-folder/message-folder-metadata.module';
import { MetadataTranslationModule } from 'src/engine/metadata-modules/metadata-translation/metadata-translation.module';
import { NavigationMenuItemModule } from 'src/engine/metadata-modules/navigation-menu-item/navigation-menu-item.module';
+import { TimelineActivityTypeModule } from 'src/engine/metadata-modules/timeline-activity-type/timeline-activity-type.module';
import { ObjectMetadataModule } from 'src/engine/metadata-modules/object-metadata/object-metadata.module';
import { PermissionFlagModule } from 'src/engine/metadata-modules/permission-flag/permission-flag.module';
import { PermissionsModule } from 'src/engine/metadata-modules/permissions/permissions.module';
@@ -47,6 +48,7 @@ import { WorkspaceMetadataVersionModule } from 'src/engine/metadata-modules/work
CommandMenuItemModule,
MetadataTranslationModule,
NavigationMenuItemModule,
+ TimelineActivityTypeModule,
AiAgentModule,
AiAgentMonitorModule,
AiChatModule,
@@ -88,6 +90,7 @@ import { WorkspaceMetadataVersionModule } from 'src/engine/metadata-modules/work
SkillModule,
CommandMenuItemModule,
NavigationMenuItemModule,
+ TimelineActivityTypeModule,
AiAgentModule,
AiChatModule,
MinimalMetadataModule,
diff --git a/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/constants/standard-timeline-activity-type-definitions.constant.ts b/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/constants/standard-timeline-activity-type-definitions.constant.ts
new file mode 100644
index 00000000000..3eca10130e6
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/constants/standard-timeline-activity-type-definitions.constant.ts
@@ -0,0 +1,196 @@
+import { type MessageDescriptor } from '@lingui/core';
+import { msg } from '@lingui/core/macro';
+import { STANDARD_OBJECTS } from 'twenty-shared/metadata';
+import {
+ type TimelineActivityAction,
+ type TimelineActivityRenderer,
+} from 'twenty-shared/timeline';
+
+export type StandardTimelineActivityTypeDefinition = {
+ name: string;
+ universalIdentifier: string;
+ label: MessageDescriptor;
+ action: TimelineActivityAction | null;
+ icon: string | null;
+ renderer: TimelineActivityRenderer | null;
+ objectUniversalIdentifier: string | null;
+};
+
+// The vocabulary a timeline row is stamped from. Types carrying an object are
+// preferred for events about that object's records, so a note link renders
+// through its own component; the ones carrying none are the fallback for every
+// other object and for a record's own changes. The stored `name` column these
+// replace conflated the action with the source object and could not tell a
+// linked record being deleted from the link itself being removed.
+export const STANDARD_TIMELINE_ACTIVITY_TYPE_DEFINITIONS: StandardTimelineActivityTypeDefinition[] =
+ [
+ {
+ name: 'recordCreated',
+ universalIdentifier: '20202020-0d1a-4f0e-8a55-1c0a2f0a2c01',
+ label: msg({
+ message: `was created by`,
+ context: 'timelineActivityType.label',
+ }),
+ action: 'created',
+ icon: 'IconCirclePlus',
+ renderer: null,
+ objectUniversalIdentifier: null,
+ },
+ {
+ name: 'recordUpdated',
+ universalIdentifier: '20202020-0d1a-4f0e-8a55-1c0a2f0a2c02',
+ label: msg({
+ message: `updated`,
+ context: 'timelineActivityType.label',
+ }),
+ action: 'updated',
+ icon: 'IconEditCircle',
+ renderer: null,
+ objectUniversalIdentifier: null,
+ },
+ {
+ name: 'recordDeleted',
+ universalIdentifier: '20202020-0d1a-4f0e-8a55-1c0a2f0a2c03',
+ label: msg({
+ message: `was deleted by`,
+ context: 'timelineActivityType.label',
+ }),
+ action: 'deleted',
+ icon: 'IconTrash',
+ renderer: null,
+ objectUniversalIdentifier: null,
+ },
+ {
+ name: 'recordRestored',
+ universalIdentifier: '20202020-0d1a-4f0e-8a55-1c0a2f0a2c04',
+ label: msg({
+ message: `was restored by`,
+ context: 'timelineActivityType.label',
+ }),
+ action: 'restored',
+ icon: 'IconRestore',
+ renderer: null,
+ objectUniversalIdentifier: null,
+ },
+ {
+ name: 'recordLinked',
+ universalIdentifier: '20202020-0d1a-4f0e-8a55-1c0a2f0a2c05',
+ label: msg({
+ message: `was linked by`,
+ context: 'timelineActivityType.label',
+ }),
+ action: 'linked',
+ icon: 'IconLink',
+ renderer: null,
+ objectUniversalIdentifier: null,
+ },
+ {
+ name: 'recordUnlinked',
+ universalIdentifier: '20202020-0d1a-4f0e-8a55-1c0a2f0a2c06',
+ label: msg({
+ message: `was unlinked by`,
+ context: 'timelineActivityType.label',
+ }),
+ action: 'unlinked',
+ icon: 'IconUnlink',
+ renderer: null,
+ objectUniversalIdentifier: null,
+ },
+ {
+ name: 'noteLinked',
+ universalIdentifier: '20202020-0d1a-4f0e-8a55-1c0a2f0a2c09',
+ label: msg({
+ message: `linked a related note`,
+ context: 'timelineActivityType.label',
+ }),
+ action: 'linked',
+ icon: 'IconLink',
+ renderer: 'activity',
+ objectUniversalIdentifier: STANDARD_OBJECTS.note.universalIdentifier,
+ },
+ {
+ name: 'noteUnlinked',
+ universalIdentifier: '20202020-0d1a-4f0e-8a55-1c0a2f0a2c0a',
+ label: msg({
+ message: `unlinked a related note`,
+ context: 'timelineActivityType.label',
+ }),
+ action: 'unlinked',
+ icon: 'IconUnlink',
+ renderer: 'activity',
+ objectUniversalIdentifier: STANDARD_OBJECTS.note.universalIdentifier,
+ },
+ {
+ name: 'noteUpdated',
+ universalIdentifier: '20202020-0d1a-4f0e-8a55-1c0a2f0a2c0b',
+ label: msg({
+ message: `updated a related note`,
+ context: 'timelineActivityType.label',
+ }),
+ action: 'updated',
+ icon: 'IconEditCircle',
+ renderer: 'activity',
+ objectUniversalIdentifier: STANDARD_OBJECTS.note.universalIdentifier,
+ },
+ {
+ name: 'taskLinked',
+ universalIdentifier: '20202020-0d1a-4f0e-8a55-1c0a2f0a2c0c',
+ label: msg({
+ message: `linked a related task`,
+ context: 'timelineActivityType.label',
+ }),
+ action: 'linked',
+ icon: 'IconLink',
+ renderer: 'activity',
+ objectUniversalIdentifier: STANDARD_OBJECTS.task.universalIdentifier,
+ },
+ {
+ name: 'taskUnlinked',
+ universalIdentifier: '20202020-0d1a-4f0e-8a55-1c0a2f0a2c0d',
+ label: msg({
+ message: `unlinked a related task`,
+ context: 'timelineActivityType.label',
+ }),
+ action: 'unlinked',
+ icon: 'IconUnlink',
+ renderer: 'activity',
+ objectUniversalIdentifier: STANDARD_OBJECTS.task.universalIdentifier,
+ },
+ {
+ name: 'taskUpdated',
+ universalIdentifier: '20202020-0d1a-4f0e-8a55-1c0a2f0a2c0e',
+ label: msg({
+ message: `updated a related task`,
+ context: 'timelineActivityType.label',
+ }),
+ action: 'updated',
+ icon: 'IconEditCircle',
+ renderer: 'activity',
+ objectUniversalIdentifier: STANDARD_OBJECTS.task.universalIdentifier,
+ },
+ {
+ name: 'messageLinked',
+ universalIdentifier: '20202020-0d1a-4f0e-8a55-1c0a2f0a2c0f',
+ label: msg({
+ message: `sent or received an email`,
+ context: 'timelineActivityType.label',
+ }),
+ action: 'linked',
+ icon: 'IconMail',
+ renderer: 'message',
+ objectUniversalIdentifier: STANDARD_OBJECTS.message.universalIdentifier,
+ },
+ {
+ name: 'calendarEventLinked',
+ universalIdentifier: '20202020-0d1a-4f0e-8a55-1c0a2f0a2c10',
+ label: msg({
+ message: `attended a calendar event`,
+ context: 'timelineActivityType.label',
+ }),
+ action: 'linked',
+ icon: 'IconCalendar',
+ renderer: 'calendarEvent',
+ objectUniversalIdentifier:
+ STANDARD_OBJECTS.calendarEvent.universalIdentifier,
+ },
+ ];
diff --git a/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/dtos/timeline-activity-type.dto.ts b/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/dtos/timeline-activity-type.dto.ts
new file mode 100644
index 00000000000..acea9c3fd42
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/dtos/timeline-activity-type.dto.ts
@@ -0,0 +1,58 @@
+import { Field, HideField, ObjectType } from '@nestjs/graphql';
+
+import { IsDateString, IsNotEmpty, IsOptional, IsUUID } from 'class-validator';
+import {
+ type TimelineActivityAction,
+ type TimelineActivityRenderer,
+} from 'twenty-shared/timeline';
+
+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';
+
+@ObjectType('TimelineActivityType')
+export class TimelineActivityTypeDTO {
+ @IsUUID()
+ @IsNotEmpty()
+ @Field(() => UUIDScalarType)
+ id: string;
+
+ @IsNotEmpty()
+ @Field()
+ name: string;
+
+ @IsNotEmpty()
+ @Field()
+ label: string;
+
+ // Explicit type: the action union is erased at runtime, so reflection cannot
+ // infer a GraphQL type from it.
+ @IsOptional()
+ @Field(() => String, { nullable: true })
+ action: TimelineActivityAction | null;
+
+ @IsOptional()
+ @Field(() => String, { nullable: true })
+ icon: string | null;
+
+ // Explicit type for the same reason as action: the renderer union is erased.
+ @IsOptional()
+ @Field(() => String, { nullable: true })
+ renderer: TimelineActivityRenderer | null;
+
+ @IsOptional()
+ @Field(() => UUIDScalarType, { nullable: true })
+ objectUniversalIdentifier: string | null;
+
+ @HideField()
+ workspaceId: string;
+
+ @Field(() => UUIDScalarType, { nullable: true })
+ applicationId?: string;
+
+ @IsDateString()
+ @Field()
+ createdAt: Date;
+
+ @IsDateString()
+ @Field()
+ updatedAt: Date;
+}
diff --git a/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/entities/timeline-activity-type.entity.ts b/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/entities/timeline-activity-type.entity.ts
new file mode 100644
index 00000000000..258ebd56259
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/entities/timeline-activity-type.entity.ts
@@ -0,0 +1,59 @@
+import {
+ type TimelineActivityAction,
+ type TimelineActivityRenderer,
+} from 'twenty-shared/timeline';
+import {
+ Column,
+ CreateDateColumn,
+ Entity,
+ PrimaryGeneratedColumn,
+ Unique,
+ UpdateDateColumn,
+} from 'typeorm';
+
+import { SyncableEntity } from 'src/engine/workspace-manager/types/syncable-entity.interface';
+
+@Entity({ name: 'timelineActivityType', schema: 'core' })
+@Unique('IDX_TIMELINE_ACTIVITY_TYPE_NAME_APPLICATION_WORKSPACE_UNIQUE', [
+ 'name',
+ 'applicationId',
+ 'workspaceId',
+])
+export class TimelineActivityTypeEntity
+ extends SyncableEntity
+ implements Required<TimelineActivityTypeEntity>
+{
+ @PrimaryGeneratedColumn('uuid')
+ id: string;
+
+ @Column({ nullable: false, type: 'varchar' })
+ name: string;
+
+ @Column({ nullable: false, type: 'varchar' })
+ label: string;
+
+ // The verb the entry describes. Null leaves the label authoritative for a
+ // custom renderer instead of selecting built-in action copy.
+ @Column({ nullable: true, type: 'varchar' })
+ action: TimelineActivityAction | null;
+
+ @Column({ nullable: true, type: 'varchar' })
+ icon: string | null;
+
+ // Names the frontend component that draws the row. Null falls back to the
+ // generic renderer, which needs nothing but the label and icon.
+ @Column({ nullable: true, type: 'varchar' })
+ renderer: TimelineActivityRenderer | null;
+
+ // The object whose records this entry is about, as a soft reference rather
+ // than a relation: it is resolved through the flat maps at write time to pick
+ // the type for an event, and null means any object.
+ @Column({ nullable: true, type: 'uuid' })
+ objectUniversalIdentifier: string | null;
+
+ @CreateDateColumn({ type: 'timestamptz' })
+ createdAt: Date;
+
+ @UpdateDateColumn({ type: 'timestamptz' })
+ updatedAt: Date;
+}
diff --git a/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/enums/timeline-activity-type-exception-code.enum.ts b/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/enums/timeline-activity-type-exception-code.enum.ts
new file mode 100644
index 00000000000..92f08485267
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/enums/timeline-activity-type-exception-code.enum.ts
@@ -0,0 +1,5 @@
+export enum TimelineActivityTypeExceptionCode {
+ TIMELINE_ACTIVITY_TYPE_NOT_FOUND = 'TIMELINE_ACTIVITY_TYPE_NOT_FOUND',
+ TIMELINE_ACTIVITY_TYPE_NAME_ALREADY_EXISTS = 'TIMELINE_ACTIVITY_TYPE_NAME_ALREADY_EXISTS',
+ INVALID_TIMELINE_ACTIVITY_TYPE_INPUT = 'INVALID_TIMELINE_ACTIVITY_TYPE_INPUT',
+}
diff --git a/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/timeline-activity-type.module.ts b/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/timeline-activity-type.module.ts
new file mode 100644
index 00000000000..078a493e960
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/timeline-activity-type.module.ts
@@ -0,0 +1,16 @@
+import { Module } from '@nestjs/common';
+
+import { ApplicationTranslationCatalogModule } from 'src/engine/metadata-modules/application-translation-catalog/application-translation-catalog.module';
+import { WorkspaceManyOrAllFlatEntityMapsCacheModule } from 'src/engine/metadata-modules/flat-entity/services/workspace-many-or-all-flat-entity-maps-cache.module';
+import { TimelineActivityTypeResolver } from 'src/engine/metadata-modules/timeline-activity-type/timeline-activity-type.resolver';
+import { TimelineActivityTypeService } from 'src/engine/metadata-modules/timeline-activity-type/timeline-activity-type.service';
+
+@Module({
+ imports: [
+ ApplicationTranslationCatalogModule,
+ WorkspaceManyOrAllFlatEntityMapsCacheModule,
+ ],
+ providers: [TimelineActivityTypeService, TimelineActivityTypeResolver],
+ exports: [TimelineActivityTypeService],
+})
+export class TimelineActivityTypeModule {}
diff --git a/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/timeline-activity-type.resolver.ts b/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/timeline-activity-type.resolver.ts
new file mode 100644
index 00000000000..a239fc6a679
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/timeline-activity-type.resolver.ts
@@ -0,0 +1,64 @@
+import { UseGuards } from '@nestjs/common';
+import { Context, Parent, Query, ResolveField } from '@nestjs/graphql';
+
+import { isNonEmptyString } from '@sniptt/guards';
+
+import { MetadataResolver } from 'src/engine/api/graphql/graphql-config/decorators/metadata-resolver.decorator';
+import { type I18nContext } from 'src/engine/core-modules/i18n/types/i18n-context.type';
+import { WorkspaceEntity } from 'src/engine/core-modules/workspace/workspace.entity';
+import { type IDataloaders } from 'src/engine/dataloaders/dataloader.interface';
+import { AuthWorkspace } from 'src/engine/decorators/auth/auth-workspace.decorator';
+import { NoPermissionGuard } from 'src/engine/guards/no-permission.guard';
+import { WorkspaceAuthGuard } from 'src/engine/guards/workspace-auth.guard';
+import { ApplicationTranslationCatalogService } from 'src/engine/metadata-modules/application-translation-catalog/services/application-translation-catalog.service';
+import { TimelineActivityTypeDTO } from 'src/engine/metadata-modules/timeline-activity-type/dtos/timeline-activity-type.dto';
+import { TimelineActivityTypeService } from 'src/engine/metadata-modules/timeline-activity-type/timeline-activity-type.service';
+import { resolveEffectiveEntityProperty } from 'src/engine/metadata-modules/utils/resolve-effective-entity-property.util';
+
+@UseGuards(WorkspaceAuthGuard)
+@MetadataResolver(() => TimelineActivityTypeDTO)
+export class TimelineActivityTypeResolver {
+ constructor(
+ private readonly timelineActivityTypeService: TimelineActivityTypeService,
+ private readonly applicationTranslationCatalogService: ApplicationTranslationCatalogService,
+ ) {}
+
+ @ResolveField(() => String)
+ async label(
+ @Parent() timelineActivityType: TimelineActivityTypeDTO,
+ @Context() context: { loaders: IDataloaders } & I18nContext,
+ @AuthWorkspace() workspace: WorkspaceEntity,
+ ): Promise<string> {
+ if (!isNonEmptyString(timelineActivityType.label)) {
+ return timelineActivityType.label;
+ }
+
+ return resolveEffectiveEntityProperty({
+ metadataName: 'timelineActivityType',
+ baseValue: timelineActivityType.label,
+ // A timeline activity type carries no overrides: a workspace that wants
+ // different wording edits the row, leaving nothing to arbitrate against.
+ overrides: undefined,
+ property: 'label',
+ i18nContext:
+ await this.applicationTranslationCatalogService.buildEffectiveEntityI18nContext(
+ {
+ applicationId: timelineActivityType.applicationId,
+ loaders: context.loaders,
+ locale: context.req.locale,
+ workspaceId: workspace.id,
+ },
+ ),
+ });
+ }
+
+ @Query(() => [TimelineActivityTypeDTO])
+ @UseGuards(NoPermissionGuard)
+ async timelineActivityTypes(
+ @AuthWorkspace() workspace: WorkspaceEntity,
+ ): Promise<TimelineActivityTypeDTO[]> {
+ return await this.timelineActivityTypeService.findAll({
+ workspaceId: workspace.id,
+ });
+ }
+}
diff --git a/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/timeline-activity-type.service.ts b/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/timeline-activity-type.service.ts
new file mode 100644
index 00000000000..20232537a8f
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/timeline-activity-type.service.ts
@@ -0,0 +1,30 @@
+import { Injectable } from '@nestjs/common';
+
+import { isDefined } from 'twenty-shared/utils';
+
+import { WorkspaceManyOrAllFlatEntityMapsCacheService } from 'src/engine/metadata-modules/flat-entity/services/workspace-many-or-all-flat-entity-maps-cache.service';
+import { type TimelineActivityTypeDTO } from 'src/engine/metadata-modules/timeline-activity-type/dtos/timeline-activity-type.dto';
+import { fromFlatTimelineActivityTypeToTimelineActivityTypeDto } from 'src/engine/metadata-modules/timeline-activity-type/utils/from-flat-timeline-activity-type-to-timeline-activity-type-dto.util';
+
+@Injectable()
+export class TimelineActivityTypeService {
+ constructor(
+ private readonly workspaceManyOrAllFlatEntityMapsCacheService: WorkspaceManyOrAllFlatEntityMapsCacheService,
+ ) {}
+
+ async findAll({
+ workspaceId,
+ }: {
+ workspaceId: string;
+ }): Promise<TimelineActivityTypeDTO[]> {
+ const { flatTimelineActivityTypeMaps } =
+ await this.workspaceManyOrAllFlatEntityMapsCacheService.getOrRecomputeManyOrAllFlatEntityMaps(
+ { workspaceId, flatMapsKeys: ['flatTimelineActivityTypeMaps'] },
+ );
+
+ return Object.values(flatTimelineActivityTypeMaps.byUniversalIdentifier)
+ .filter(isDefined)
+ .sort((a, b) => a.name.localeCompare(b.name))
+ .map(fromFlatTimelineActivityTypeToTimelineActivityTypeDto);
+ }
+}
diff --git a/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/utils/from-flat-timeline-activity-type-to-timeline-activity-type-dto.util.ts b/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/utils/from-flat-timeline-activity-type-to-timeline-activity-type-dto.util.ts
new file mode 100644
index 00000000000..2cefe5f9606
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/timeline-activity-type/utils/from-flat-timeline-activity-type-to-timeline-activity-type-dto.util.ts
@@ -0,0 +1,18 @@
+import { type FlatTimelineActivityType } from 'src/engine/metadata-modules/flat-timeline-activity-type/types/flat-timeline-activity-type.type';
+import { type TimelineActivityTypeDTO } from 'src/engine/metadata-modules/timeline-activity-type/dtos/timeline-activity-type.dto';
+
+export const fromFlatTimelineActivityTypeToTimelineActivityTypeDto = (
+ flatTimelineActivityType: FlatTimelineActivityType,
+): TimelineActivityTypeDTO => ({
+ id: flatTimelineActivityType.id,
+ name: flatTimelineActivityType.name,
+ label: flatTimelineActivityType.label,
+ action: flatTimelineActivityType.action,
+ icon: flatTimelineActivityType.icon,
+ renderer: flatTimelineActivityType.renderer,
+ objectUniversalIdentifier: flatTimelineActivityType.objectUniversalIdentifier,
+ workspaceId: flatTimelineActivityType.workspaceId,
+ applicationId: flatTimelineActivityType.applicationId,
+ createdAt: new Date(flatTimelineActivityType.createdAt),
+ updatedAt: new Date(flatTimelineActivityType.updatedAt),
+});
diff --git a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/services/timeline-activity-seeder.service.ts b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/services/timeline-activity-seeder.service.ts
index 024e201bf13..e46b53bdb0c 100644
--- a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/services/timeline-activity-seeder.service.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/data/services/timeline-activity-seeder.service.ts
@@ -1,10 +1,13 @@
import { Injectable } from '@nestjs/common';
import chunk from 'lodash.chunk';
+import { STANDARD_OBJECTS } from 'twenty-shared/metadata';
import { ObjectRecord } from 'twenty-shared/types';
import { capitalize } from 'twenty-shared/utils';
import { ObjectMetadataService } from 'src/engine/metadata-modules/object-metadata/object-metadata.service';
+import { TimelineActivityTypeCacheService } from 'src/modules/timeline/services/timeline-activity-type-cache.service';
+import { type TimelineActivityTypeResolver } from 'src/modules/timeline/utils/resolve-timeline-activity-type-id.util';
import { type WorkspaceEntityManager } from 'src/engine/twenty-orm/entity-manager/workspace-entity-manager';
import { CALENDAR_EVENT_DATA_SEEDS } from 'src/engine/workspace-manager/dev-seeder/data/constants/calendar-event-data-seeds.constant';
import {
@@ -35,7 +38,7 @@ type RecordSeedWithId = Pick<ObjectRecord, 'id'> & Record<string, unknown>;
type TimelineActivitySeedData = Pick<
TimelineActivityWorkspaceEntity,
| 'id'
- | 'name'
+ | 'timelineActivityTypeId'
| 'linkedRecordCachedName'
| 'linkedRecordId'
| 'linkedObjectMetadataId'
@@ -61,6 +64,7 @@ type CreateTimelineActivityParams = {
entityType: string;
recordSeed: RecordSeedWithId;
index: number;
+ resolveTimelineActivityTypeId: TimelineActivityTypeResolver;
};
type CreateLinkedActivityParams = {
@@ -70,6 +74,7 @@ type CreateLinkedActivityParams = {
activityIndex: number;
linkedObjectMetadataId: string;
targetInfo: ActivityTargetInfo;
+ resolveTimelineActivityTypeId: TimelineActivityTypeResolver;
};
type EntityConfig = {
@@ -109,15 +114,10 @@ export class TimelineActivitySeederService {
'message',
]);
- constructor(private readonly objectMetadataService: ObjectMetadataService) {}
-
- private getLinkedActivityName(activityType: string): string {
- if (activityType === 'note' || activityType === 'task') {
- return `linked-${activityType}.created`;
- }
-
- return `${activityType}.linked`;
- }
+ constructor(
+ private readonly objectMetadataService: ObjectMetadataService,
+ private readonly timelineActivityTypeCacheService: TimelineActivityTypeCacheService,
+ ) {}
async seedTimelineActivities({
entityManager,
@@ -133,6 +133,10 @@ export class TimelineActivitySeederService {
const messageParticipants = getMessageParticipantDataSeeds(workspaceId);
const timelineActivities: TimelineActivitySeedData[] = [];
const metadataIds = await this.getObjectMetadataIds(workspaceId);
+ const resolveTimelineActivityTypeId =
+ await this.timelineActivityTypeCacheService.getTimelineActivityTypeResolver(
+ workspaceId,
+ );
let activityIndex = 0;
const entityConfigs: EntityConfig[] = [
@@ -154,6 +158,7 @@ export class TimelineActivitySeederService {
entityType: type,
recordSeed: seed,
index,
+ resolveTimelineActivityTypeId,
});
timelineActivities.push(activity);
@@ -175,6 +180,7 @@ export class TimelineActivitySeederService {
linkedObjectMetadataId,
calendarEventParticipants,
messageParticipants,
+ resolveTimelineActivityTypeId,
});
timelineActivities.push(...linkedActivities);
@@ -196,6 +202,7 @@ export class TimelineActivitySeederService {
linkedObjectMetadataId,
calendarEventParticipants,
messageParticipants,
+ resolveTimelineActivityTypeId,
});
timelineActivities.push(...linkedActivities);
@@ -244,7 +251,7 @@ export class TimelineActivitySeederService {
.insert()
.into(`${schemaName}.timelineActivity`, [
'id',
- 'name',
+ 'timelineActivityTypeId',
'properties',
'linkedRecordCachedName',
'linkedRecordId',
@@ -269,6 +276,7 @@ export class TimelineActivitySeederService {
entityType,
recordSeed,
index,
+ resolveTimelineActivityTypeId,
}: CreateTimelineActivityParams): TimelineActivitySeedData {
const timelineActivityId = this.generateTimelineActivityId(
entityType,
@@ -279,7 +287,8 @@ export class TimelineActivitySeederService {
const timelineActivity: TimelineActivitySeedData = {
id: timelineActivityId,
- name: `${entityType}.created`,
+ timelineActivityTypeId:
+ resolveTimelineActivityTypeId({ action: 'created' }) ?? null,
properties: JSON.stringify({
after: this.getEventAfterRecordProperties(entityType, recordSeed),
}),
@@ -394,6 +403,7 @@ export class TimelineActivitySeederService {
linkedObjectMetadataId,
calendarEventParticipants,
messageParticipants,
+ resolveTimelineActivityTypeId,
}: {
activityType: 'note' | 'task' | 'calendarEvent' | 'message';
recordSeed: RecordSeedWithId;
@@ -402,6 +412,7 @@ export class TimelineActivitySeederService {
linkedObjectMetadataId: string;
calendarEventParticipants: CalendarEventParticipantDataSeed[];
messageParticipants: MessageParticipantDataSeed[];
+ resolveTimelineActivityTypeId: TimelineActivityTypeResolver;
}): TimelineActivitySeedData[] {
const targetInfos = this.getActivityTargetInfos(
activityType,
@@ -422,6 +433,7 @@ export class TimelineActivitySeederService {
activityIndex: activityIndex + targetIndex,
linkedObjectMetadataId,
targetInfo,
+ resolveTimelineActivityTypeId,
}),
);
}
@@ -563,6 +575,7 @@ export class TimelineActivitySeederService {
activityIndex,
linkedObjectMetadataId,
targetInfo,
+ resolveTimelineActivityTypeId,
}: CreateLinkedActivityParams): TimelineActivitySeedData {
const linkedActivityId = this.generateLinkedTimelineActivityId(
activityType,
@@ -575,7 +588,12 @@ export class TimelineActivitySeederService {
const linkedActivity: TimelineActivitySeedData = {
id: linkedActivityId,
- name: this.getLinkedActivityName(activityType),
+ timelineActivityTypeId:
+ resolveTimelineActivityTypeId({
+ action: 'linked',
+ objectUniversalIdentifier:
+ STANDARD_OBJECTS[activityType].universalIdentifier,
+ }) ?? null,
properties: JSON.stringify({ after: linkedProperties }),
linkedRecordCachedName,
linkedRecordId: recordSeed.id,
diff --git a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/dev-seeder.module.ts b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/dev-seeder.module.ts
index 671424d4bf1..3167021b549 100644
--- a/packages/twenty-server/src/engine/workspace-manager/dev-seeder/dev-seeder.module.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/dev-seeder/dev-seeder.module.ts
@@ -28,6 +28,7 @@ import { WorkspaceDataSourceModule } from 'src/engine/workspace-datasource/works
import { DevSeederPermissionsService } from 'src/engine/workspace-manager/dev-seeder/core/services/dev-seeder-permissions.service';
import { DevSeederDataService } from 'src/engine/workspace-manager/dev-seeder/data/services/dev-seeder-data.service';
import { TimelineActivitySeederService } from 'src/engine/workspace-manager/dev-seeder/data/services/timeline-activity-seeder.service';
+import { TimelineActivityModule } from 'src/modules/timeline/timeline-activity.module';
import { DevSeederMetadataService } from 'src/engine/workspace-manager/dev-seeder/metadata/services/dev-seeder-metadata.service';
import { DevSeederService } from 'src/engine/workspace-manager/dev-seeder/services/dev-seeder.service';
import { StandardObjectsPrefillModule } from 'src/engine/workspace-manager/standard-objects-prefill-data/standard-objects-prefill.module';
@@ -36,6 +37,7 @@ import { WorkspaceMigrationModule } from 'src/engine/workspace-manager/workspace
@Module({
imports: [
+ TimelineActivityModule,
ObjectMetadataModule,
FieldMetadataModule,
WorkspaceDataSourceModule,
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/search-fields-by-standard-object-name.constant.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/search-fields-by-standard-object-name.constant.ts
index 1012ab1742a..6d7ae94d0c7 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/search-fields-by-standard-object-name.constant.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/search-fields-by-standard-object-name.constant.ts
@@ -47,7 +47,9 @@ export const SEARCH_FIELDS_BY_STANDARD_OBJECT_NAME = {
{ name: 'bodyV2', type: FieldMetadataType.RICH_TEXT },
],
taskTarget: [{ name: 'id', type: FieldMetadataType.UUID }],
- timelineActivity: [{ name: 'name', type: FieldMetadataType.TEXT }],
+ timelineActivity: [
+ { name: 'linkedRecordCachedName', type: FieldMetadataType.TEXT },
+ ],
workflow: [{ name: 'name', type: FieldMetadataType.TEXT }],
workflowAutomatedTrigger: [{ name: 'id', type: FieldMetadataType.UUID }],
workflowRun: [{ name: 'name', type: FieldMetadataType.TEXT }],
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/twenty-standard-all-metadata-name.constant.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/twenty-standard-all-metadata-name.constant.ts
index 6916621296e..308e1832adb 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/twenty-standard-all-metadata-name.constant.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/twenty-standard-all-metadata-name.constant.ts
@@ -19,4 +19,5 @@ export const TWENTY_STANDARD_ALL_METADATA_NAME = [
'pageLayoutTab',
'pageLayoutWidget',
'commandMenuItem',
+ 'timelineActivityType',
] as const satisfies AllMetadataName[];
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 1e520b8028f..7fb39fb91e1 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
@@ -2424,19 +2424,19 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"id": "00000000-0000-0000-0000-000000000722",
},
"happensAt": {
- "id": "00000000-0000-0000-0000-000000000728",
+ "id": "00000000-0000-0000-0000-000000000729",
},
"id": {
"id": "00000000-0000-0000-0000-000000000719",
},
"linkedObjectMetadataId": {
- "id": "00000000-0000-0000-0000-000000000744",
+ "id": "00000000-0000-0000-0000-000000000745",
},
"linkedRecordCachedName": {
- "id": "00000000-0000-0000-0000-000000000742",
+ "id": "00000000-0000-0000-0000-000000000743",
},
"linkedRecordId": {
- "id": "00000000-0000-0000-0000-000000000743",
+ "id": "00000000-0000-0000-0000-000000000744",
},
"name": {
"id": "00000000-0000-0000-0000-000000000727",
@@ -2445,43 +2445,46 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"id": "00000000-0000-0000-0000-000000000725",
},
"properties": {
- "id": "00000000-0000-0000-0000-000000000729",
+ "id": "00000000-0000-0000-0000-000000000730",
},
"searchVector": {
"id": "00000000-0000-0000-0000-000000000726",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000732",
+ "id": "00000000-0000-0000-0000-000000000733",
},
"targetDashboard": {
- "id": "00000000-0000-0000-0000-000000000739",
+ "id": "00000000-0000-0000-0000-000000000740",
},
"targetMessageCampaign": {
- "id": "00000000-0000-0000-0000-000000000741",
+ "id": "00000000-0000-0000-0000-000000000742",
},
"targetMessageList": {
- "id": "00000000-0000-0000-0000-000000000740",
+ "id": "00000000-0000-0000-0000-000000000741",
},
"targetNote": {
- "id": "00000000-0000-0000-0000-000000000735",
+ "id": "00000000-0000-0000-0000-000000000736",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000733",
+ "id": "00000000-0000-0000-0000-000000000734",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000731",
+ "id": "00000000-0000-0000-0000-000000000732",
},
"targetTask": {
- "id": "00000000-0000-0000-0000-000000000734",
+ "id": "00000000-0000-0000-0000-000000000735",
},
"targetWorkflow": {
- "id": "00000000-0000-0000-0000-000000000736",
+ "id": "00000000-0000-0000-0000-000000000737",
},
"targetWorkflowRun": {
- "id": "00000000-0000-0000-0000-000000000738",
+ "id": "00000000-0000-0000-0000-000000000739",
},
"targetWorkflowVersion": {
- "id": "00000000-0000-0000-0000-000000000737",
+ "id": "00000000-0000-0000-0000-000000000738",
+ },
+ "timelineActivityTypeId": {
+ "id": "00000000-0000-0000-0000-000000000728",
},
"updatedAt": {
"id": "00000000-0000-0000-0000-000000000721",
@@ -2490,50 +2493,50 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"id": "00000000-0000-0000-0000-000000000724",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000730",
+ "id": "00000000-0000-0000-0000-000000000731",
},
},
- "id": "00000000-0000-0000-0000-000000000758",
+ "id": "00000000-0000-0000-0000-000000000759",
"views": {
"allTimelineActivities": {
- "id": "00000000-0000-0000-0000-000000000757",
+ "id": "00000000-0000-0000-0000-000000000758",
"viewFieldGroups": {},
"viewFields": {
"happensAt": {
- "id": "00000000-0000-0000-0000-000000000746",
+ "id": "00000000-0000-0000-0000-000000000747",
},
- "name": {
- "id": "00000000-0000-0000-0000-000000000745",
+ "linkedRecordCachedName": {
+ "id": "00000000-0000-0000-0000-000000000746",
},
"targetCompany": {
- "id": "00000000-0000-0000-0000-000000000749",
+ "id": "00000000-0000-0000-0000-000000000750",
},
"targetDashboard": {
- "id": "00000000-0000-0000-0000-000000000756",
+ "id": "00000000-0000-0000-0000-000000000757",
},
"targetNote": {
- "id": "00000000-0000-0000-0000-000000000752",
+ "id": "00000000-0000-0000-0000-000000000753",
},
"targetOpportunity": {
- "id": "00000000-0000-0000-0000-000000000750",
+ "id": "00000000-0000-0000-0000-000000000751",
},
"targetPerson": {
- "id": "00000000-0000-0000-0000-000000000748",
+ "id": "00000000-0000-0000-0000-000000000749",
},
"targetTask": {
- "id": "00000000-0000-0000-0000-000000000751",
+ "id": "00000000-0000-0000-0000-000000000752",
},
"targetWorkflow": {
- "id": "00000000-0000-0000-0000-000000000753",
+ "id": "00000000-0000-0000-0000-000000000754",
},
"targetWorkflowRun": {
- "id": "00000000-0000-0000-0000-000000000755",
+ "id": "00000000-0000-0000-0000-000000000756",
},
"targetWorkflowVersion": {
- "id": "00000000-0000-0000-0000-000000000754",
+ "id": "00000000-0000-0000-0000-000000000755",
},
"workspaceMember": {
- "id": "00000000-0000-0000-0000-000000000747",
+ "id": "00000000-0000-0000-0000-000000000748",
},
},
"viewGroups": {},
@@ -2543,80 +2546,80 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"workflow": {
"fields": {
"attachments": {
- "id": "00000000-0000-0000-0000-000000000775",
+ "id": "00000000-0000-0000-0000-000000000776",
},
"automatedTriggers": {
- "id": "00000000-0000-0000-0000-000000000773",
+ "id": "00000000-0000-0000-0000-000000000774",
},
"coreWorkflowId": {
- "id": "00000000-0000-0000-0000-000000000769",
+ "id": "00000000-0000-0000-0000-000000000770",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000760",
+ "id": "00000000-0000-0000-0000-000000000761",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000763",
+ "id": "00000000-0000-0000-0000-000000000764",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000762",
+ "id": "00000000-0000-0000-0000-000000000763",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000759",
+ "id": "00000000-0000-0000-0000-000000000760",
},
"lastPublishedVersionId": {
- "id": "00000000-0000-0000-0000-000000000768",
+ "id": "00000000-0000-0000-0000-000000000769",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000767",
+ "id": "00000000-0000-0000-0000-000000000768",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000765",
+ "id": "00000000-0000-0000-0000-000000000766",
},
"runs": {
- "id": "00000000-0000-0000-0000-000000000772",
+ "id": "00000000-0000-0000-0000-000000000773",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000766",
+ "id": "00000000-0000-0000-0000-000000000767",
},
"statuses": {
- "id": "00000000-0000-0000-0000-000000000770",
+ "id": "00000000-0000-0000-0000-000000000771",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000774",
+ "id": "00000000-0000-0000-0000-000000000775",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000761",
+ "id": "00000000-0000-0000-0000-000000000762",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000764",
+ "id": "00000000-0000-0000-0000-000000000765",
},
"versions": {
- "id": "00000000-0000-0000-0000-000000000771",
+ "id": "00000000-0000-0000-0000-000000000772",
},
},
- "id": "00000000-0000-0000-0000-000000000783",
+ "id": "00000000-0000-0000-0000-000000000784",
"views": {
"allWorkflows": {
- "id": "00000000-0000-0000-0000-000000000782",
+ "id": "00000000-0000-0000-0000-000000000783",
"viewFieldGroups": {},
"viewFields": {
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000779",
+ "id": "00000000-0000-0000-0000-000000000780",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000776",
+ "id": "00000000-0000-0000-0000-000000000777",
},
"runs": {
- "id": "00000000-0000-0000-0000-000000000781",
+ "id": "00000000-0000-0000-0000-000000000782",
},
"statuses": {
- "id": "00000000-0000-0000-0000-000000000777",
+ "id": "00000000-0000-0000-0000-000000000778",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000778",
+ "id": "00000000-0000-0000-0000-000000000779",
},
"versions": {
- "id": "00000000-0000-0000-0000-000000000780",
+ "id": "00000000-0000-0000-0000-000000000781",
},
},
"viewGroups": {},
@@ -2626,79 +2629,79 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"workflowAutomatedTrigger": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000785",
+ "id": "00000000-0000-0000-0000-000000000786",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000788",
+ "id": "00000000-0000-0000-0000-000000000789",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000787",
+ "id": "00000000-0000-0000-0000-000000000788",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000784",
+ "id": "00000000-0000-0000-0000-000000000785",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000790",
+ "id": "00000000-0000-0000-0000-000000000791",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000791",
+ "id": "00000000-0000-0000-0000-000000000792",
},
"settings": {
- "id": "00000000-0000-0000-0000-000000000793",
+ "id": "00000000-0000-0000-0000-000000000794",
},
"type": {
- "id": "00000000-0000-0000-0000-000000000792",
+ "id": "00000000-0000-0000-0000-000000000793",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000786",
+ "id": "00000000-0000-0000-0000-000000000787",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000789",
+ "id": "00000000-0000-0000-0000-000000000790",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000794",
+ "id": "00000000-0000-0000-0000-000000000795",
},
},
- "id": "00000000-0000-0000-0000-000000000806",
+ "id": "00000000-0000-0000-0000-000000000807",
"views": {
"allWorkflowAutomatedTriggers": {
- "id": "00000000-0000-0000-0000-000000000798",
+ "id": "00000000-0000-0000-0000-000000000799",
"viewFieldGroups": {},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000797",
+ "id": "00000000-0000-0000-0000-000000000798",
},
"type": {
- "id": "00000000-0000-0000-0000-000000000795",
+ "id": "00000000-0000-0000-0000-000000000796",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000796",
+ "id": "00000000-0000-0000-0000-000000000797",
},
},
"viewGroups": {},
},
"workflowAutomatedTriggerRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000805",
+ "id": "00000000-0000-0000-0000-000000000806",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000803",
+ "id": "00000000-0000-0000-0000-000000000804",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000804",
+ "id": "00000000-0000-0000-0000-000000000805",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000801",
+ "id": "00000000-0000-0000-0000-000000000802",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000802",
+ "id": "00000000-0000-0000-0000-000000000803",
},
"type": {
- "id": "00000000-0000-0000-0000-000000000799",
+ "id": "00000000-0000-0000-0000-000000000800",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000800",
+ "id": "00000000-0000-0000-0000-000000000801",
},
},
"viewGroups": {},
@@ -2708,124 +2711,124 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"workflowRun": {
"fields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000808",
+ "id": "00000000-0000-0000-0000-000000000809",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000811",
+ "id": "00000000-0000-0000-0000-000000000812",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000810",
+ "id": "00000000-0000-0000-0000-000000000811",
},
"endedAt": {
- "id": "00000000-0000-0000-0000-000000000820",
+ "id": "00000000-0000-0000-0000-000000000821",
},
"enqueuedAt": {
- "id": "00000000-0000-0000-0000-000000000818",
+ "id": "00000000-0000-0000-0000-000000000819",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000807",
+ "id": "00000000-0000-0000-0000-000000000808",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000815",
+ "id": "00000000-0000-0000-0000-000000000816",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000813",
+ "id": "00000000-0000-0000-0000-000000000814",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000814",
+ "id": "00000000-0000-0000-0000-000000000815",
},
"startedAt": {
- "id": "00000000-0000-0000-0000-000000000819",
+ "id": "00000000-0000-0000-0000-000000000820",
},
"state": {
- "id": "00000000-0000-0000-0000-000000000822",
+ "id": "00000000-0000-0000-0000-000000000823",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000821",
+ "id": "00000000-0000-0000-0000-000000000822",
},
"stepLogs": {
- "id": "00000000-0000-0000-0000-000000000823",
+ "id": "00000000-0000-0000-0000-000000000824",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000824",
+ "id": "00000000-0000-0000-0000-000000000825",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000809",
+ "id": "00000000-0000-0000-0000-000000000810",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000812",
+ "id": "00000000-0000-0000-0000-000000000813",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000817",
+ "id": "00000000-0000-0000-0000-000000000818",
},
"workflowVersion": {
- "id": "00000000-0000-0000-0000-000000000816",
+ "id": "00000000-0000-0000-0000-000000000817",
},
},
- "id": "00000000-0000-0000-0000-000000000844",
+ "id": "00000000-0000-0000-0000-000000000845",
"views": {
"allWorkflowRuns": {
- "id": "00000000-0000-0000-0000-000000000828",
+ "id": "00000000-0000-0000-0000-000000000829",
"viewFieldGroups": {},
"viewFields": {
"name": {
- "id": "00000000-0000-0000-0000-000000000825",
+ "id": "00000000-0000-0000-0000-000000000826",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000827",
+ "id": "00000000-0000-0000-0000-000000000828",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000826",
+ "id": "00000000-0000-0000-0000-000000000827",
},
},
"viewGroups": {},
},
"workflowRunRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000843",
+ "id": "00000000-0000-0000-0000-000000000844",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000841",
+ "id": "00000000-0000-0000-0000-000000000842",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000842",
+ "id": "00000000-0000-0000-0000-000000000843",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000834",
+ "id": "00000000-0000-0000-0000-000000000835",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000835",
+ "id": "00000000-0000-0000-0000-000000000836",
},
"endedAt": {
- "id": "00000000-0000-0000-0000-000000000833",
+ "id": "00000000-0000-0000-0000-000000000834",
},
"enqueuedAt": {
- "id": "00000000-0000-0000-0000-000000000836",
+ "id": "00000000-0000-0000-0000-000000000837",
},
"startedAt": {
- "id": "00000000-0000-0000-0000-000000000832",
+ "id": "00000000-0000-0000-0000-000000000833",
},
"state": {
- "id": "00000000-0000-0000-0000-000000000837",
+ "id": "00000000-0000-0000-0000-000000000838",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000829",
+ "id": "00000000-0000-0000-0000-000000000830",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000840",
+ "id": "00000000-0000-0000-0000-000000000841",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000838",
+ "id": "00000000-0000-0000-0000-000000000839",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000839",
+ "id": "00000000-0000-0000-0000-000000000840",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000830",
+ "id": "00000000-0000-0000-0000-000000000831",
},
"workflowVersion": {
- "id": "00000000-0000-0000-0000-000000000831",
+ "id": "00000000-0000-0000-0000-000000000832",
},
},
"viewGroups": {},
@@ -2835,118 +2838,118 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"workflowVersion": {
"fields": {
"coreWorkflowVersionId": {
- "id": "00000000-0000-0000-0000-000000000859",
+ "id": "00000000-0000-0000-0000-000000000860",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000846",
+ "id": "00000000-0000-0000-0000-000000000847",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000849",
+ "id": "00000000-0000-0000-0000-000000000850",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000848",
+ "id": "00000000-0000-0000-0000-000000000849",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000845",
+ "id": "00000000-0000-0000-0000-000000000846",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000853",
+ "id": "00000000-0000-0000-0000-000000000854",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000851",
+ "id": "00000000-0000-0000-0000-000000000852",
},
"runs": {
- "id": "00000000-0000-0000-0000-000000000857",
+ "id": "00000000-0000-0000-0000-000000000858",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000852",
+ "id": "00000000-0000-0000-0000-000000000853",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000856",
+ "id": "00000000-0000-0000-0000-000000000857",
},
"steps": {
- "id": "00000000-0000-0000-0000-000000000858",
+ "id": "00000000-0000-0000-0000-000000000859",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000860",
+ "id": "00000000-0000-0000-0000-000000000861",
},
"trigger": {
- "id": "00000000-0000-0000-0000-000000000855",
+ "id": "00000000-0000-0000-0000-000000000856",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000847",
+ "id": "00000000-0000-0000-0000-000000000848",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000850",
+ "id": "00000000-0000-0000-0000-000000000851",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000854",
+ "id": "00000000-0000-0000-0000-000000000855",
},
},
- "id": "00000000-0000-0000-0000-000000000880",
+ "id": "00000000-0000-0000-0000-000000000881",
"views": {
"allWorkflowVersions": {
- "id": "00000000-0000-0000-0000-000000000866",
+ "id": "00000000-0000-0000-0000-000000000867",
"viewFieldGroups": {},
"viewFields": {
"name": {
- "id": "00000000-0000-0000-0000-000000000861",
+ "id": "00000000-0000-0000-0000-000000000862",
},
"runs": {
- "id": "00000000-0000-0000-0000-000000000865",
+ "id": "00000000-0000-0000-0000-000000000866",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000863",
+ "id": "00000000-0000-0000-0000-000000000864",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000864",
+ "id": "00000000-0000-0000-0000-000000000865",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000862",
+ "id": "00000000-0000-0000-0000-000000000863",
},
},
"viewGroups": {},
},
"workflowVersionRecordPageFields": {
- "id": "00000000-0000-0000-0000-000000000879",
+ "id": "00000000-0000-0000-0000-000000000880",
"viewFieldGroups": {
"general": {
- "id": "00000000-0000-0000-0000-000000000877",
+ "id": "00000000-0000-0000-0000-000000000878",
},
"system": {
- "id": "00000000-0000-0000-0000-000000000878",
+ "id": "00000000-0000-0000-0000-000000000879",
},
},
"viewFields": {
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000870",
+ "id": "00000000-0000-0000-0000-000000000871",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000872",
+ "id": "00000000-0000-0000-0000-000000000873",
},
"runs": {
- "id": "00000000-0000-0000-0000-000000000875",
+ "id": "00000000-0000-0000-0000-000000000876",
},
"status": {
- "id": "00000000-0000-0000-0000-000000000867",
+ "id": "00000000-0000-0000-0000-000000000868",
},
"steps": {
- "id": "00000000-0000-0000-0000-000000000871",
+ "id": "00000000-0000-0000-0000-000000000872",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000876",
+ "id": "00000000-0000-0000-0000-000000000877",
},
"trigger": {
- "id": "00000000-0000-0000-0000-000000000869",
+ "id": "00000000-0000-0000-0000-000000000870",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000873",
+ "id": "00000000-0000-0000-0000-000000000874",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000874",
+ "id": "00000000-0000-0000-0000-000000000875",
},
"workflow": {
- "id": "00000000-0000-0000-0000-000000000868",
+ "id": "00000000-0000-0000-0000-000000000869",
},
},
"viewGroups": {},
@@ -2956,110 +2959,110 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object
"workspaceMember": {
"fields": {
"accountOwnerForCompanies": {
- "id": "00000000-0000-0000-0000-000000000900",
+ "id": "00000000-0000-0000-0000-000000000901",
},
"assignedTasks": {
- "id": "00000000-0000-0000-0000-000000000898",
+ "id": "00000000-0000-0000-0000-000000000899",
},
"avatarUrl": {
- "id": "00000000-0000-0000-0000-000000000894",
+ "id": "00000000-0000-0000-0000-000000000895",
},
"blocklist": {
- "id": "00000000-0000-0000-0000-000000000902",
+ "id": "00000000-0000-0000-0000-000000000903",
},
"calendarEventParticipants": {
- "id": "00000000-0000-0000-0000-000000000903",
+ "id": "00000000-0000-0000-0000-000000000904",
},
"calendarStartDay": {
- "id": "00000000-0000-0000-0000-000000000908",
+ "id": "00000000-0000-0000-0000-000000000909",
},
"colorScheme": {
- "id": "00000000-0000-0000-0000-000000000890",
+ "id": "00000000-0000-0000-0000-000000000891",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000882",
+ "id": "00000000-0000-0000-0000-000000000883",
},
"createdBy": {
- "id": "00000000-0000-0000-0000-000000000885",
+ "id": "00000000-0000-0000-0000-000000000886",
},
"dateFormat": {
- "id": "00000000-0000-0000-0000-000000000906",
+ "id": "00000000-0000-0000-0000-000000000907",
},
"deletedAt": {
- "id": "00000000-0000-0000-0000-000000000884",
+ "id": "00000000-0000-0000-0000-000000000885",
},
"id": {
- "id": "00000000-0000-0000-0000-000000000881",
+ "id": "00000000-0000-0000-0000-000000000882",
},
"jobTitle": {
- "id": "00000000-0000-0000-0000-000000000896",
+ "id": "00000000-0000-0000-0000-000000000897",
},
"locale": {
- "id": "00000000-0000-0000-0000-000000000893",
+ "id": "00000000-0000-0000-0000-000000000894",
},
"messageParticipants": {
- "id": "00000000-0000-0000-0000-000000000901",
+ "id": "00000000-0000-0000-0000-000000000902",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000889",
+ "id": "00000000-0000-0000-0000-000000000890",
},
"numberFormat": {
- "id": "00000000-0000-0000-0000-000000000909",
+ "id": "00000000-0000-0000-0000-000000000910",
},
"openRecordIn": {
- "id": "00000000-0000-0000-0000-000000000892",
+ "id": "00000000-0000-0000-0000-000000000893",
},
"ownedOpportunities": {
- "id": "00000000-0000-0000-0000-000000000899",
+ "id": "00000000-0000-0000-0000-000000000900",
},
"position": {
- "id": "00000000-0000-0000-0000-000000000887",
+ "id": "00000000-0000-0000-0000-000000000888",
},
"searchVector": {
- "id": "00000000-0000-0000-0000-000000000888",
+ "id": "00000000-0000-0000-0000-000000000889",
},
"timeFormat": {
- "id": "00000000-0000-0000-0000-000000000907",
+ "id": "00000000-0000-0000-0000-000000000908",
},
"timeZone": {
- "id": "00000000-0000-0000-0000-000000000905",
+ "id": "00000000-0000-0000-0000-000000000906",
},
"timelineActivities": {
- "id": "00000000-0000-0000-0000-000000000904",
+ "id": "00000000-0000-0000-0000-000000000905",
},
"uiScale": {
- "id": "00000000-0000-0000-0000-000000000891",
+ "id": "00000000-0000-0000-0000-000000000892",
},
"updatedAt": {
- "id": "00000000-0000-0000-0000-000000000883",
+ "id": "00000000-0000-0000-0000-000000000884",
},
"updatedBy": {
- "id": "00000000-0000-0000-0000-000000000886",
+ "id": "00000000-0000-0000-0000-000000000887",
},
"userEmail": {
- "id": "00000000-0000-0000-0000-000000000895",
+ "id": "00000000-0000-0000-0000-000000000896",
},
"userId": {
- "id": "00000000-0000-0000-0000-000000000897",
+ "id": "00000000-0000-0000-0000-000000000898",
},
},
- "id": "00000000-0000-0000-0000-000000000915",
+ "id": "00000000-0000-0000-0000-000000000916",
"views": {
"allWorkspaceMembers": {
- "id": "00000000-0000-0000-0000-000000000914",
+ "id": "00000000-0000-0000-0000-000000000915",
"viewFieldGroups": {},
"viewFields": {
"assignedTasks": {
- "id": "00000000-0000-0000-0000-000000000913",
+ "id": "00000000-0000-0000-0000-000000000914",
},
"createdAt": {
- "id": "00000000-0000-0000-0000-000000000911",
+ "id": "00000000-0000-0000-0000-000000000912",
},
"name": {
- "id": "00000000-0000-0000-0000-000000000910",
+ "id": "00000000-0000-0000-0000-000000000911",
},
"ownedOpportunities": {
- "id": "00000000-0000-0000-0000-000000000912",
+ "id": "00000000-0000-0000-0000-000000000913",
},
},
"viewGroups": {},
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-timeline-activity-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-timeline-activity-standard-flat-field-metadata.util.ts
index d87ce75c868..9cd4c268b30 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-timeline-activity-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-timeline-activity-standard-flat-field-metadata.util.ts
@@ -255,6 +255,31 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
twentyStandardApplicationId,
now,
}),
+ timelineActivityTypeId: createStandardFieldFlatMetadata({
+ objectName,
+ workspaceId,
+ context: {
+ fieldName: 'timelineActivityTypeId',
+ type: FieldMetadataType.UUID,
+ label: i18nLabel(
+ msg({ message: `Event type`, context: 'fieldMetadata.label' }),
+ ),
+ description: i18nLabel(
+ msg({
+ message: `Timeline activity type describing this event`,
+ context: 'fieldMetadata.description',
+ }),
+ ),
+ icon: 'IconAbc',
+ isSystem: true,
+ isNullable: true,
+ isUIEditable: false,
+ },
+ standardObjectMetadataRelatedEntityIds,
+ dependencyFlatEntityMaps,
+ twentyStandardApplicationId,
+ now,
+ }),
properties: createStandardFieldFlatMetadata({
objectName,
workspaceId,
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-flat-object-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-flat-object-metadata.util.ts
index 7e7b0a52844..d82433ad1ac 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-flat-object-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-flat-object-metadata.util.ts
@@ -966,7 +966,7 @@ export const STANDARD_FLAT_OBJECT_METADATA_BUILDERS_BY_OBJECT_NAME = {
isSystem: true,
isAuditLogged: false,
isUICreatable: false,
- labelIdentifierFieldMetadataName: 'name',
+ labelIdentifierFieldMetadataName: 'linkedRecordCachedName',
},
workspaceId,
standardObjectMetadataRelatedEntityIds,
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/timeline-activity-type/build-standard-flat-timeline-activity-type-maps.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/timeline-activity-type/build-standard-flat-timeline-activity-type-maps.util.ts
new file mode 100644
index 00000000000..32a73e796e7
--- /dev/null
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/timeline-activity-type/build-standard-flat-timeline-activity-type-maps.util.ts
@@ -0,0 +1,45 @@
+import { v4 } from 'uuid';
+
+import { createEmptyFlatEntityMaps } from 'src/engine/metadata-modules/flat-entity/constant/create-empty-flat-entity-maps.constant';
+import { type FlatEntityMaps } from 'src/engine/metadata-modules/flat-entity/types/flat-entity-maps.type';
+import { addFlatEntityToFlatEntityMapsOrThrow } from 'src/engine/metadata-modules/flat-entity/utils/add-flat-entity-to-flat-entity-maps-or-throw.util';
+import { type FlatTimelineActivityType } from 'src/engine/metadata-modules/flat-timeline-activity-type/types/flat-timeline-activity-type.type';
+import { STANDARD_TIMELINE_ACTIVITY_TYPE_DEFINITIONS } from 'src/engine/metadata-modules/timeline-activity-type/constants/standard-timeline-activity-type-definitions.constant';
+import { TWENTY_STANDARD_APPLICATION } from 'src/engine/workspace-manager/twenty-standard-application/constants/twenty-standard-applications';
+import { i18nLabel } from 'src/engine/workspace-manager/twenty-standard-application/utils/i18n-label.util';
+
+export const buildStandardFlatTimelineActivityTypeMaps = ({
+ now,
+ workspaceId,
+ twentyStandardApplicationId,
+}: {
+ now: string;
+ workspaceId: string;
+ twentyStandardApplicationId: string;
+}): FlatEntityMaps<FlatTimelineActivityType> => {
+ let flatTimelineActivityTypeMaps = createEmptyFlatEntityMaps();
+
+ for (const definition of STANDARD_TIMELINE_ACTIVITY_TYPE_DEFINITIONS) {
+ flatTimelineActivityTypeMaps = addFlatEntityToFlatEntityMapsOrThrow({
+ flatEntity: {
+ id: v4(),
+ name: definition.name,
+ label: i18nLabel(definition.label),
+ action: definition.action,
+ icon: definition.icon,
+ renderer: definition.renderer,
+ objectUniversalIdentifier: definition.objectUniversalIdentifier,
+ workspaceId,
+ applicationId: twentyStandardApplicationId,
+ universalIdentifier: definition.universalIdentifier,
+ applicationUniversalIdentifier:
+ TWENTY_STANDARD_APPLICATION.universalIdentifier,
+ createdAt: now,
+ updatedAt: now,
+ },
+ flatEntityMaps: flatTimelineActivityTypeMaps,
+ });
+ }
+
+ return flatTimelineActivityTypeMaps;
+};
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/twenty-standard-application-all-flat-entity-maps.constant.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/twenty-standard-application-all-flat-entity-maps.constant.ts
index f41c7cbc598..488ea86feda 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/twenty-standard-application-all-flat-entity-maps.constant.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/twenty-standard-application-all-flat-entity-maps.constant.ts
@@ -19,6 +19,7 @@ import { buildStandardFlatPermissionFlagMetadataMaps } from 'src/engine/workspac
import { buildStandardFlatRoleMetadataMaps } from 'src/engine/workspace-manager/twenty-standard-application/utils/role-metadata/build-standard-flat-role-metadata-maps.util';
import { buildStandardFlatSearchFieldMetadataMaps } from 'src/engine/workspace-manager/twenty-standard-application/utils/search-field-metadata/build-standard-flat-search-field-metadata-maps.util';
import { buildStandardFlatSkillMetadataMaps } from 'src/engine/workspace-manager/twenty-standard-application/utils/skill-metadata/build-standard-flat-skill-metadata-maps.util';
+import { buildStandardFlatTimelineActivityTypeMaps } from 'src/engine/workspace-manager/twenty-standard-application/utils/timeline-activity-type/build-standard-flat-timeline-activity-type-maps.util';
import { buildStandardFlatViewFieldMetadataMaps } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field/build-standard-flat-view-field-metadata-maps.util';
import { buildStandardFlatViewFieldGroupMetadataMaps } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-field-group/build-standard-flat-view-field-group-metadata-maps.util';
import { buildStandardFlatViewFilterMetadataMaps } from 'src/engine/workspace-manager/twenty-standard-application/utils/view-filter/build-standard-flat-view-filter-metadata-maps.util';
@@ -222,6 +223,13 @@ export const computeTwentyStandardApplicationAllFlatEntityMaps = ({
},
});
+ const flatTimelineActivityTypeMaps =
+ buildStandardFlatTimelineActivityTypeMaps({
+ now,
+ workspaceId,
+ twentyStandardApplicationId,
+ });
+
const allFlatEntityMaps: TwentyStandardAllFlatEntityMaps = {
flatViewFieldMaps,
flatViewFieldGroupMaps,
@@ -241,6 +249,7 @@ export const computeTwentyStandardApplicationAllFlatEntityMaps = ({
flatPageLayoutTabMaps,
flatPageLayoutWidgetMaps,
flatCommandMenuItemMaps,
+ flatTimelineActivityTypeMaps,
};
const idByUniversalIdentifierByMetadataName: IdByUniversalIdentifierByMetadataName =
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-timeline-activity-view-fields.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-timeline-activity-view-fields.util.ts
index 02eda341de2..6abb142ffad 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-timeline-activity-view-fields.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-timeline-activity-view-fields.util.ts
@@ -8,18 +8,19 @@ export const computeStandardTimelineActivityViewFields = (
args: Omit<CreateStandardViewFieldArgs<'timelineActivity'>, 'context'>,
): Record<string, FlatViewField> => {
return {
- allTimelineActivitiesName: createStandardViewFieldFlatMetadata({
- ...args,
- objectName: 'timelineActivity',
- context: {
- viewName: 'allTimelineActivities',
- viewFieldName: 'name',
- fieldName: 'name',
- position: 0,
- isVisible: true,
- size: 210,
- },
- }),
+ allTimelineActivitiesLinkedRecordCachedName:
+ createStandardViewFieldFlatMetadata({
+ ...args,
+ objectName: 'timelineActivity',
+ context: {
+ viewName: 'allTimelineActivities',
+ viewFieldName: 'linkedRecordCachedName',
+ fieldName: 'linkedRecordCachedName',
+ position: 0,
+ isVisible: true,
+ size: 210,
+ },
+ }),
allTimelineActivitiesHappensAt: createStandardViewFieldFlatMetadata({
...args,
objectName: 'timelineActivity',
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/services/utils/enrich-create-workspace-migration-action-with-ids.util.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/services/utils/enrich-create-workspace-migration-action-with-ids.util.ts
index ba090e8fcbe..3312a475434 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/services/utils/enrich-create-workspace-migration-action-with-ids.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/services/utils/enrich-create-workspace-migration-action-with-ids.util.ts
@@ -306,6 +306,7 @@ export const enrichCreateWorkspaceMigrationActionsWithIds = ({
case 'webhook':
case 'applicationVariable':
case 'connectionProvider':
+ case 'timelineActivityType':
case 'searchFieldMetadata': {
if (!isDefined(idByUniversalIdentifier)) {
return action;
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/services/workspace-migration-build-orchestrator.service.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/services/workspace-migration-build-orchestrator.service.ts
index 6d325230f8b..2832396d582 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/services/workspace-migration-build-orchestrator.service.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/services/workspace-migration-build-orchestrator.service.ts
@@ -28,6 +28,7 @@ import { WorkspaceMigrationAgentActionsBuilderService } from 'src/engine/workspa
import { WorkspaceMigrationApplicationVariableActionsBuilderService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/application-variable/workspace-migration-application-variable-actions-builder.service';
import { WorkspaceMigrationCommandMenuItemActionsBuilderService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/command-menu-item/workspace-migration-command-menu-item-actions-builder.service';
import { WorkspaceMigrationConnectionProviderActionsBuilderService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/connection-provider/workspace-migration-connection-provider-actions-builder.service';
+import { WorkspaceMigrationTimelineActivityTypeActionsBuilderService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/timeline-activity-type/workspace-migration-timeline-activity-type-actions-builder.service';
import { WorkspaceMigrationFieldPermissionActionsBuilderService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/field-permission/workspace-migration-field-permission-actions-builder.service';
import { WorkspaceMigrationFieldActionsBuilderService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/field/workspace-migration-field-actions-builder.service';
import { WorkspaceMigrationFrontComponentActionsBuilderService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/front-component/workspace-migration-front-component-actions-builder.service';
@@ -158,6 +159,7 @@ export class WorkspaceMigrationBuildOrchestratorService {
workspaceMigrationWebhookActionsBuilderService: WorkspaceMigrationWebhookActionsBuilderService,
workspaceMigrationApplicationVariableActionsBuilderService: WorkspaceMigrationApplicationVariableActionsBuilderService,
workspaceMigrationConnectionProviderActionsBuilderService: WorkspaceMigrationConnectionProviderActionsBuilderService,
+ workspaceMigrationTimelineActivityTypeActionsBuilderService: WorkspaceMigrationTimelineActivityTypeActionsBuilderService,
workspaceMigrationSearchFieldMetadataActionsBuilderService: WorkspaceMigrationSearchFieldMetadataActionsBuilderService,
) {
// The order of this array defines the execution order of the per-entity
@@ -291,6 +293,10 @@ export class WorkspaceMigrationBuildOrchestratorService {
ALL_METADATA_NAME.connectionProvider,
workspaceMigrationConnectionProviderActionsBuilderService,
),
+ createEntityActionsBuilderTask(
+ ALL_METADATA_NAME.timelineActivityType,
+ workspaceMigrationTimelineActivityTypeActionsBuilderService,
+ ),
];
}
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/constants/__tests__/__snapshots__/all-universal-flat-entity-foreign-key-aggregator-properties.constant.spec.ts.snap b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/constants/__tests__/__snapshots__/all-universal-flat-entity-foreign-key-aggregator-properties.constant.spec.ts.snap
index 52fab0b9bb9..3af22af75e1 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/constants/__tests__/__snapshots__/all-universal-flat-entity-foreign-key-aggregator-properties.constant.spec.ts.snap
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/constants/__tests__/__snapshots__/all-universal-flat-entity-foreign-key-aggregator-properties.constant.spec.ts.snap
@@ -58,6 +58,7 @@ exports[`ALL_UNIVERSAL_FLAT_ENTITY_FOREIGN_KEY_AGGREGATOR_PROPERTIES should matc
],
"searchFieldMetadata": [],
"skill": [],
+ "timelineActivityType": [],
"view": [
"viewFieldUniversalIdentifiers",
"viewFilterUniversalIdentifiers",
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/constants/all-jsonb-properties-with-serialized-relation-by-metadata-name.constant.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/constants/all-jsonb-properties-with-serialized-relation-by-metadata-name.constant.ts
index c1687b4fd0b..3a2ae45517f 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/constants/all-jsonb-properties-with-serialized-relation-by-metadata-name.constant.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/constants/all-jsonb-properties-with-serialized-relation-by-metadata-name.constant.ts
@@ -49,6 +49,7 @@ export const ALL_JSONB_PROPERTIES_WITH_SERIALIZED_RELATION_BY_METADATA_NAME = {
frontComponent: {},
applicationVariable: {},
connectionProvider: {},
+ timelineActivityType: {},
searchFieldMetadata: {},
} as const satisfies {
[P in AllMetadataName]: Partial<{
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/universal-flat-timeline-activity-type.type.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/universal-flat-timeline-activity-type.type.ts
new file mode 100644
index 00000000000..b3e54e50f93
--- /dev/null
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/universal-flat-timeline-activity-type.type.ts
@@ -0,0 +1,7 @@
+import { type TimelineActivityTypeEntity } from 'src/engine/metadata-modules/timeline-activity-type/entities/timeline-activity-type.entity';
+import { type UniversalFlatEntityFrom } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/universal-flat-entity-from.type';
+
+export type UniversalFlatTimelineActivityType = UniversalFlatEntityFrom<
+ TimelineActivityTypeEntity,
+ 'timelineActivityType'
+>;
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/utils/compute-ordered-migration-actions.util.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/utils/compute-ordered-migration-actions.util.ts
index 466b26e4c08..f51e38fbd74 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/utils/compute-ordered-migration-actions.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/utils/compute-ordered-migration-actions.util.ts
@@ -125,6 +125,9 @@ export const computeOrderedMigrationActions = (
...aggregatedOrchestratorActionsReport.connectionProvider.delete,
...aggregatedOrchestratorActionsReport.connectionProvider.create,
...aggregatedOrchestratorActionsReport.connectionProvider.update,
+ ...aggregatedOrchestratorActionsReport.timelineActivityType.delete,
+ ...aggregatedOrchestratorActionsReport.timelineActivityType.create,
+ ...aggregatedOrchestratorActionsReport.timelineActivityType.update,
///
];
};
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/timeline-activity-type/types/workspace-migration-timeline-activity-type-action.type.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/timeline-activity-type/types/workspace-migration-timeline-activity-type-action.type.ts
new file mode 100644
index 00000000000..8de8a90cb4a
--- /dev/null
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/timeline-activity-type/types/workspace-migration-timeline-activity-type-action.type.ts
@@ -0,0 +1,24 @@
+import { type BaseFlatCreateWorkspaceMigrationAction } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/types/base-flat-create-workspace-migration-action.type';
+import { type BaseFlatDeleteWorkspaceMigrationAction } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/types/base-flat-delete-workspace-migration-action.type';
+import { type BaseFlatUpdateWorkspaceMigrationAction } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/types/base-flat-update-workspace-migration-action.type';
+import { type BaseUniversalCreateWorkspaceMigrationAction } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/types/base-universal-create-workspace-migration-action.type';
+import { type BaseUniversalDeleteWorkspaceMigrationAction } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/types/base-universal-delete-workspace-migration-action.type';
+import { type BaseUniversalUpdateWorkspaceMigrationAction } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/types/base-universal-update-workspace-migration-action.type';
+
+export type FlatCreateTimelineActivityTypeAction =
+ BaseFlatCreateWorkspaceMigrationAction<'timelineActivityType'>;
+
+export type UniversalCreateTimelineActivityTypeAction =
+ BaseUniversalCreateWorkspaceMigrationAction<'timelineActivityType'>;
+
+export type FlatUpdateTimelineActivityTypeAction =
+ BaseFlatUpdateWorkspaceMigrationAction<'timelineActivityType'>;
+
+export type UniversalUpdateTimelineActivityTypeAction =
+ BaseUniversalUpdateWorkspaceMigrationAction<'timelineActivityType'>;
+
+export type UniversalDeleteTimelineActivityTypeAction =
+ BaseUniversalDeleteWorkspaceMigrationAction<'timelineActivityType'>;
+
+export type FlatDeleteTimelineActivityTypeAction =
+ BaseFlatDeleteWorkspaceMigrationAction<'timelineActivityType'>;
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/timeline-activity-type/workspace-migration-timeline-activity-type-actions-builder.service.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/timeline-activity-type/workspace-migration-timeline-activity-type-actions-builder.service.ts
new file mode 100644
index 00000000000..22ccb5162e2
--- /dev/null
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/timeline-activity-type/workspace-migration-timeline-activity-type-actions-builder.service.ts
@@ -0,0 +1,117 @@
+import { Injectable } from '@nestjs/common';
+
+import { ALL_METADATA_NAME } from 'twenty-shared/metadata';
+
+import { UniversalUpdateTimelineActivityTypeAction } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/timeline-activity-type/types/workspace-migration-timeline-activity-type-action.type';
+import { WorkspaceEntityMigrationBuilderService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/services/workspace-entity-migration-builder.service';
+import { FlatEntityUpdateValidationArgs } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/types/universal-flat-entity-update-validation-args.type';
+import { UniversalFlatEntityValidationArgs } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/types/universal-flat-entity-validation-args.type';
+import { UniversalFlatEntityValidationReturnType } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/types/universal-flat-entity-validation-result.type';
+import { FlatTimelineActivityTypeValidatorService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-timeline-activity-type-validator.service';
+
+@Injectable()
+export class WorkspaceMigrationTimelineActivityTypeActionsBuilderService extends WorkspaceEntityMigrationBuilderService<
+ typeof ALL_METADATA_NAME.timelineActivityType
+> {
+ constructor(
+ private readonly flatTimelineActivityTypeValidatorService: FlatTimelineActivityTypeValidatorService,
+ ) {
+ super(ALL_METADATA_NAME.timelineActivityType);
+ }
+
+ protected validateFlatEntityCreation(
+ args: UniversalFlatEntityValidationArgs<
+ typeof ALL_METADATA_NAME.timelineActivityType
+ >,
+ ): UniversalFlatEntityValidationReturnType<
+ typeof ALL_METADATA_NAME.timelineActivityType,
+ 'create'
+ > {
+ const validationResult =
+ this.flatTimelineActivityTypeValidatorService.validateFlatTimelineActivityTypeCreation(
+ args,
+ );
+
+ if (validationResult.errors.length > 0) {
+ return {
+ status: 'fail',
+ ...validationResult,
+ };
+ }
+
+ return {
+ status: 'success',
+ action: {
+ type: 'create',
+ metadataName: 'timelineActivityType',
+ flatEntity: args.flatEntityToValidate,
+ },
+ };
+ }
+
+ protected validateFlatEntityDeletion(
+ args: UniversalFlatEntityValidationArgs<
+ typeof ALL_METADATA_NAME.timelineActivityType
+ >,
+ ): UniversalFlatEntityValidationReturnType<
+ typeof ALL_METADATA_NAME.timelineActivityType,
+ 'delete'
+ > {
+ const validationResult =
+ this.flatTimelineActivityTypeValidatorService.validateFlatTimelineActivityTypeDeletion(
+ args,
+ );
+
+ if (validationResult.errors.length > 0) {
+ return {
+ status: 'fail',
+ ...validationResult,
+ };
+ }
+
+ return {
+ status: 'success',
+ action: {
+ type: 'delete',
+ metadataName: 'timelineActivityType',
+ universalIdentifier: args.flatEntityToValidate.universalIdentifier,
+ },
+ };
+ }
+
+ protected validateFlatEntityUpdate(
+ args: FlatEntityUpdateValidationArgs<
+ typeof ALL_METADATA_NAME.timelineActivityType
+ >,
+ ): UniversalFlatEntityValidationReturnType<
+ typeof ALL_METADATA_NAME.timelineActivityType,
+ 'update'
+ > {
+ const validationResult =
+ this.flatTimelineActivityTypeValidatorService.validateFlatTimelineActivityTypeUpdate(
+ args,
+ );
+
+ if (validationResult.errors.length > 0) {
+ return {
+ status: 'fail',
+ ...validationResult,
+ };
+ }
+
+ const { universalIdentifier, flatEntityUpdate } = args;
+
+ const updateTimelineActivityTypeAction: UniversalUpdateTimelineActivityTypeAction =
+ {
+ type: 'update',
+ metadataName: 'timelineActivityType',
+ universalIdentifier,
+ update: flatEntityUpdate,
+ };
+
+ return {
+ status: 'success',
+ action: updateTimelineActivityTypeAction,
+ };
+ }
+}
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-timeline-activity-type-validator.service.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-timeline-activity-type-validator.service.ts
new file mode 100644
index 00000000000..fc1e549c46d
--- /dev/null
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-timeline-activity-type-validator.service.ts
@@ -0,0 +1,187 @@
+import { Injectable } from '@nestjs/common';
+
+import { msg, t } from '@lingui/core/macro';
+import { isNonEmptyString } from '@sniptt/guards';
+import { ALL_METADATA_NAME } from 'twenty-shared/metadata';
+import {
+ isTimelineActivityAction,
+ isTimelineActivityRenderer,
+ type TimelineActivityRenderer,
+} from 'twenty-shared/timeline';
+import { isDefined } from 'twenty-shared/utils';
+
+import { findFlatEntityByUniversalIdentifier } from 'src/engine/metadata-modules/flat-entity/utils/find-flat-entity-by-universal-identifier.util';
+import { TimelineActivityTypeExceptionCode } from 'src/engine/metadata-modules/timeline-activity-type/enums/timeline-activity-type-exception-code.enum';
+import { type FailedFlatEntityValidation } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/types/failed-flat-entity-validation.type';
+import { getEmptyFlatEntityValidationError } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/utils/get-flat-entity-validation-error.util';
+import { type FlatEntityUpdateValidationArgs } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/types/universal-flat-entity-update-validation-args.type';
+import { type UniversalFlatEntityValidationArgs } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/types/universal-flat-entity-validation-args.type';
+
+// The two renderers that draw from the row itself rather than from a linked
+// record, so they need no object on the type.
+const UNBOUND_TIMELINE_ACTIVITY_RENDERERS: TimelineActivityRenderer[] = [
+ 'mainObject',
+ 'genericLinked',
+];
+
+@Injectable()
+export class FlatTimelineActivityTypeValidatorService {
+ public validateFlatTimelineActivityTypeCreation({
+ flatEntityToValidate: flatTimelineActivityType,
+ optimisticFlatEntityMapsAndRelatedFlatEntityMaps: {
+ flatTimelineActivityTypeMaps: optimisticFlatTimelineActivityTypeMaps,
+ },
+ }: UniversalFlatEntityValidationArgs<
+ typeof ALL_METADATA_NAME.timelineActivityType
+ >): FailedFlatEntityValidation<'timelineActivityType', 'create'> {
+ const validationResult = getEmptyFlatEntityValidationError({
+ flatEntityMinimalInformation: {
+ universalIdentifier: flatTimelineActivityType.universalIdentifier,
+ name: flatTimelineActivityType.name,
+ },
+ metadataName: 'timelineActivityType',
+ type: 'create',
+ });
+
+ if (!isNonEmptyString(flatTimelineActivityType.name)) {
+ validationResult.errors.push({
+ code: TimelineActivityTypeExceptionCode.INVALID_TIMELINE_ACTIVITY_TYPE_INPUT,
+ message: t`Timeline activity type name is required`,
+ userFriendlyMessage: msg`Timeline activity type name is required`,
+ });
+ }
+
+ if (!isNonEmptyString(flatTimelineActivityType.label)) {
+ validationResult.errors.push({
+ code: TimelineActivityTypeExceptionCode.INVALID_TIMELINE_ACTIVITY_TYPE_INPUT,
+ message: t`Timeline activity type label is required`,
+ userFriendlyMessage: msg`Timeline activity type label is required`,
+ });
+ }
+
+ if (
+ isDefined(flatTimelineActivityType.action) &&
+ !isTimelineActivityAction(flatTimelineActivityType.action)
+ ) {
+ validationResult.errors.push({
+ code: TimelineActivityTypeExceptionCode.INVALID_TIMELINE_ACTIVITY_TYPE_INPUT,
+ message: t`Unknown timeline activity action ${flatTimelineActivityType.action}`,
+ userFriendlyMessage: msg`This timeline activity action is not supported`,
+ });
+ }
+
+ if (
+ isDefined(flatTimelineActivityType.renderer) &&
+ !isTimelineActivityRenderer(flatTimelineActivityType.renderer)
+ ) {
+ validationResult.errors.push({
+ code: TimelineActivityTypeExceptionCode.INVALID_TIMELINE_ACTIVITY_TYPE_INPUT,
+ message: t`Unknown timeline activity renderer ${flatTimelineActivityType.renderer}`,
+ userFriendlyMessage: msg`This timeline activity renderer is not supported`,
+ });
+ }
+
+ // Every renderer but the generic ones reads a linked record off the row, so
+ // it only ever makes sense on a type bound to the object it draws.
+ if (
+ isDefined(flatTimelineActivityType.renderer) &&
+ !UNBOUND_TIMELINE_ACTIVITY_RENDERERS.includes(
+ flatTimelineActivityType.renderer,
+ ) &&
+ !isDefined(flatTimelineActivityType.objectUniversalIdentifier)
+ ) {
+ validationResult.errors.push({
+ code: TimelineActivityTypeExceptionCode.INVALID_TIMELINE_ACTIVITY_TYPE_INPUT,
+ message: t`Timeline activity renderer ${flatTimelineActivityType.renderer} requires the type to reference an object`,
+ userFriendlyMessage: msg`This timeline activity renderer requires the type to reference an object`,
+ });
+ }
+
+ const existingByName = Object.values(
+ optimisticFlatTimelineActivityTypeMaps.byUniversalIdentifier,
+ ).find(
+ (existing) =>
+ isDefined(existing) &&
+ existing.name === flatTimelineActivityType.name &&
+ existing.applicationUniversalIdentifier ===
+ flatTimelineActivityType.applicationUniversalIdentifier &&
+ existing.universalIdentifier !==
+ flatTimelineActivityType.universalIdentifier,
+ );
+
+ if (isDefined(existingByName)) {
+ validationResult.errors.push({
+ code: TimelineActivityTypeExceptionCode.TIMELINE_ACTIVITY_TYPE_NAME_ALREADY_EXISTS,
+ message: t`Timeline activity type with name ${flatTimelineActivityType.name} already exists for this application`,
+ userFriendlyMessage: msg`A timeline activity type with this name already exists for this application`,
+ });
+ }
+
+ return validationResult;
+ }
+
+ public validateFlatTimelineActivityTypeDeletion({
+ flatEntityToValidate,
+ optimisticFlatEntityMapsAndRelatedFlatEntityMaps: {
+ flatTimelineActivityTypeMaps: optimisticFlatTimelineActivityTypeMaps,
+ },
+ }: UniversalFlatEntityValidationArgs<
+ typeof ALL_METADATA_NAME.timelineActivityType
+ >): FailedFlatEntityValidation<'timelineActivityType', 'delete'> {
+ const validationResult = getEmptyFlatEntityValidationError({
+ flatEntityMinimalInformation: {
+ universalIdentifier: flatEntityToValidate.universalIdentifier,
+ name: flatEntityToValidate.name,
+ },
+ metadataName: 'timelineActivityType',
+ type: 'delete',
+ });
+
+ const existingTimelineActivityType = findFlatEntityByUniversalIdentifier({
+ universalIdentifier: flatEntityToValidate.universalIdentifier,
+ flatEntityMaps: optimisticFlatTimelineActivityTypeMaps,
+ });
+
+ if (!isDefined(existingTimelineActivityType)) {
+ validationResult.errors.push({
+ code: TimelineActivityTypeExceptionCode.TIMELINE_ACTIVITY_TYPE_NOT_FOUND,
+ message: t`Timeline activity type not found`,
+ userFriendlyMessage: msg`Timeline activity type not found`,
+ });
+ }
+
+ return validationResult;
+ }
+
+ public validateFlatTimelineActivityTypeUpdate({
+ universalIdentifier,
+ optimisticFlatEntityMapsAndRelatedFlatEntityMaps: {
+ flatTimelineActivityTypeMaps: optimisticFlatTimelineActivityTypeMaps,
+ },
+ }: FlatEntityUpdateValidationArgs<
+ typeof ALL_METADATA_NAME.timelineActivityType
+ >): FailedFlatEntityValidation<'timelineActivityType', 'update'> {
+ const validationResult = getEmptyFlatEntityValidationError({
+ flatEntityMinimalInformation: {
+ universalIdentifier,
+ },
+ metadataName: 'timelineActivityType',
+ type: 'update',
+ });
+
+ const fromFlatTimelineActivityType = findFlatEntityByUniversalIdentifier({
+ universalIdentifier,
+ flatEntityMaps: optimisticFlatTimelineActivityTypeMaps,
+ });
+
+ if (!isDefined(fromFlatTimelineActivityType)) {
+ validationResult.errors.push({
+ code: TimelineActivityTypeExceptionCode.TIMELINE_ACTIVITY_TYPE_NOT_FOUND,
+ message: t`Timeline activity type not found`,
+ userFriendlyMessage: msg`Timeline activity type not found`,
+ });
+ }
+
+ return validationResult;
+ }
+}
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/workspace-migration-builder-validators.module.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/workspace-migration-builder-validators.module.ts
index f242a303f60..aa17e1b91d4 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/workspace-migration-builder-validators.module.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/workspace-migration-builder-validators.module.ts
@@ -30,6 +30,7 @@ import { FlatViewSortValidatorService } from 'src/engine/workspace-manager/works
import { FlatApplicationVariableValidatorService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-application-variable-validator.service';
import { FlatWebhookValidatorService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-webhook-validator.service';
import { FlatConnectionProviderValidatorService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-connection-provider-validator.service';
+import { FlatTimelineActivityTypeValidatorService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-timeline-activity-type-validator.service';
import { FlatSearchFieldMetadataValidatorService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-search-field-metadata-validator.service';
@Module({
@@ -64,6 +65,7 @@ import { FlatSearchFieldMetadataValidatorService } from 'src/engine/workspace-ma
FlatWebhookValidatorService,
FlatApplicationVariableValidatorService,
FlatConnectionProviderValidatorService,
+ FlatTimelineActivityTypeValidatorService,
FlatSearchFieldMetadataValidatorService,
],
exports: [
@@ -95,6 +97,7 @@ import { FlatSearchFieldMetadataValidatorService } from 'src/engine/workspace-ma
FlatWebhookValidatorService,
FlatApplicationVariableValidatorService,
FlatConnectionProviderValidatorService,
+ FlatTimelineActivityTypeValidatorService,
FlatSearchFieldMetadataValidatorService,
],
})
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/workspace-migration-builder.module.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/workspace-migration-builder.module.ts
index 176d67f7c2a..e707f9f4c2a 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/workspace-migration-builder.module.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/workspace-migration-builder.module.ts
@@ -33,6 +33,7 @@ import { WorkspaceMigrationViewActionsBuilderService } from 'src/engine/workspac
import { WorkspaceMigrationApplicationVariableActionsBuilderService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/application-variable/workspace-migration-application-variable-actions-builder.service';
import { WorkspaceMigrationWebhookActionsBuilderService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/webhook/workspace-migration-webhook-actions-builder.service';
import { WorkspaceMigrationConnectionProviderActionsBuilderService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/connection-provider/workspace-migration-connection-provider-actions-builder.service';
+import { WorkspaceMigrationTimelineActivityTypeActionsBuilderService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/timeline-activity-type/workspace-migration-timeline-activity-type-actions-builder.service';
import { WorkspaceMigrationSearchFieldMetadataActionsBuilderService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/search-field-metadata/workspace-migration-search-field-metadata-actions.builder.service';
import { WorkspaceMigrationBuilderValidatorsModule } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/workspace-migration-builder-validators.module';
@@ -74,6 +75,7 @@ import { WorkspaceMigrationBuilderValidatorsModule } from 'src/engine/workspace-
WorkspaceMigrationWebhookActionsBuilderService,
WorkspaceMigrationApplicationVariableActionsBuilderService,
WorkspaceMigrationConnectionProviderActionsBuilderService,
+ WorkspaceMigrationTimelineActivityTypeActionsBuilderService,
WorkspaceMigrationSearchFieldMetadataActionsBuilderService,
],
exports: [
@@ -108,6 +110,7 @@ import { WorkspaceMigrationBuilderValidatorsModule } from 'src/engine/workspace-
WorkspaceMigrationWebhookActionsBuilderService,
WorkspaceMigrationApplicationVariableActionsBuilderService,
WorkspaceMigrationConnectionProviderActionsBuilderService,
+ WorkspaceMigrationTimelineActivityTypeActionsBuilderService,
WorkspaceMigrationSearchFieldMetadataActionsBuilderService,
],
})
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/timeline-activity-type/services/create-timeline-activity-type-action-handler.service.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/timeline-activity-type/services/create-timeline-activity-type-action-handler.service.ts
new file mode 100644
index 00000000000..4da6f2bc6c4
--- /dev/null
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/timeline-activity-type/services/create-timeline-activity-type-action-handler.service.ts
@@ -0,0 +1,64 @@
+import { Injectable } from '@nestjs/common';
+
+import { v4 } from 'uuid';
+
+import { WorkspaceMigrationRunnerActionHandler } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/interfaces/workspace-migration-runner-action-handler-service.interface';
+
+import { getUniversalFlatEntityEmptyForeignKeyAggregators } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/reset-universal-flat-entity-foreign-key-aggregators.util';
+import {
+ FlatCreateTimelineActivityTypeAction,
+ UniversalCreateTimelineActivityTypeAction,
+} from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/timeline-activity-type/types/workspace-migration-timeline-activity-type-action.type';
+import {
+ WorkspaceMigrationActionRunnerArgs,
+ WorkspaceMigrationActionRunnerContext,
+} from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/types/workspace-migration-action-runner-args.type';
+
+@Injectable()
+export class CreateTimelineActivityTypeActionHandlerService extends WorkspaceMigrationRunnerActionHandler(
+ 'create',
+ 'timelineActivityType',
+) {
+ constructor() {
+ super();
+ }
+
+ override async transpileUniversalActionToFlatAction({
+ action,
+ flatApplication,
+ workspaceId,
+ }: WorkspaceMigrationActionRunnerArgs<UniversalCreateTimelineActivityTypeAction>): Promise<FlatCreateTimelineActivityTypeAction> {
+ const emptyUniversalForeignKeyAggregators =
+ getUniversalFlatEntityEmptyForeignKeyAggregators({
+ metadataName: 'timelineActivityType',
+ });
+
+ return {
+ ...action,
+ flatEntity: {
+ ...action.flatEntity,
+ applicationId: flatApplication.id,
+ id: action.id ?? v4(),
+ workspaceId,
+ ...emptyUniversalForeignKeyAggregators,
+ },
+ };
+ }
+
+ async executeForMetadata(
+ context: WorkspaceMigrationActionRunnerContext<FlatCreateTimelineActivityTypeAction>,
+ ): Promise<void> {
+ const { flatAction, queryRunner } = context;
+
+ await this.insertFlatEntitiesInRepository({
+ queryRunner,
+ flatEntities: [flatAction.flatEntity],
+ });
+ }
+
+ async executeForWorkspaceSchema(
+ _context: WorkspaceMigrationActionRunnerContext<FlatCreateTimelineActivityTypeAction>,
+ ): Promise<void> {
+ return;
+ }
+}
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/timeline-activity-type/services/delete-timeline-activity-type-action-handler.service.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/timeline-activity-type/services/delete-timeline-activity-type-action-handler.service.ts
new file mode 100644
index 00000000000..255b3644a5d
--- /dev/null
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/timeline-activity-type/services/delete-timeline-activity-type-action-handler.service.ts
@@ -0,0 +1,51 @@
+import { Injectable } from '@nestjs/common';
+
+import { WorkspaceMigrationRunnerActionHandler } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/interfaces/workspace-migration-runner-action-handler-service.interface';
+
+import { TimelineActivityTypeEntity } from 'src/engine/metadata-modules/timeline-activity-type/entities/timeline-activity-type.entity';
+import {
+ FlatDeleteTimelineActivityTypeAction,
+ UniversalDeleteTimelineActivityTypeAction,
+} from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/timeline-activity-type/types/workspace-migration-timeline-activity-type-action.type';
+import {
+ WorkspaceMigrationActionRunnerArgs,
+ WorkspaceMigrationActionRunnerContext,
+} from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/types/workspace-migration-action-runner-args.type';
+
+@Injectable()
+export class DeleteTimelineActivityTypeActionHandlerService extends WorkspaceMigrationRunnerActionHandler(
+ 'delete',
+ 'timelineActivityType',
+) {
+ constructor() {
+ super();
+ }
+
+ override async transpileUniversalActionToFlatAction(
+ context: WorkspaceMigrationActionRunnerArgs<UniversalDeleteTimelineActivityTypeAction>,
+ ): Promise<FlatDeleteTimelineActivityTypeAction> {
+ return this.transpileUniversalDeleteActionToFlatDeleteAction(context);
+ }
+
+ async executeForMetadata(
+ context: WorkspaceMigrationActionRunnerContext<FlatDeleteTimelineActivityTypeAction>,
+ ): Promise<void> {
+ const { flatAction, queryRunner, workspaceId } = context;
+
+ const timelineActivityTypeRepository =
+ queryRunner.manager.getRepository<TimelineActivityTypeEntity>(
+ TimelineActivityTypeEntity,
+ );
+
+ await timelineActivityTypeRepository.delete({
+ id: flatAction.entityId,
+ workspaceId,
+ });
+ }
+
+ async executeForWorkspaceSchema(
+ _context: WorkspaceMigrationActionRunnerContext<FlatDeleteTimelineActivityTypeAction>,
+ ): Promise<void> {
+ return;
+ }
+}
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/timeline-activity-type/services/update-timeline-activity-type-action-handler.service.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/timeline-activity-type/services/update-timeline-activity-type-action-handler.service.ts
new file mode 100644
index 00000000000..49f1d23767e
--- /dev/null
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/timeline-activity-type/services/update-timeline-activity-type-action-handler.service.ts
@@ -0,0 +1,70 @@
+import { Injectable } from '@nestjs/common';
+
+import { WorkspaceMigrationRunnerActionHandler } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/interfaces/workspace-migration-runner-action-handler-service.interface';
+
+import { findFlatEntityByUniversalIdentifierOrThrow } from 'src/engine/metadata-modules/flat-entity/utils/find-flat-entity-by-universal-identifier-or-throw.util';
+import { TimelineActivityTypeEntity } from 'src/engine/metadata-modules/timeline-activity-type/entities/timeline-activity-type.entity';
+import { resolveUniversalUpdateRelationIdentifiersToIds } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/resolve-universal-update-relation-identifiers-to-ids.util';
+import {
+ FlatUpdateTimelineActivityTypeAction,
+ UniversalUpdateTimelineActivityTypeAction,
+} from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/timeline-activity-type/types/workspace-migration-timeline-activity-type-action.type';
+import {
+ WorkspaceMigrationActionRunnerArgs,
+ WorkspaceMigrationActionRunnerContext,
+} from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/types/workspace-migration-action-runner-args.type';
+
+@Injectable()
+export class UpdateTimelineActivityTypeActionHandlerService extends WorkspaceMigrationRunnerActionHandler(
+ 'update',
+ 'timelineActivityType',
+) {
+ override async transpileUniversalActionToFlatAction(
+ context: WorkspaceMigrationActionRunnerArgs<UniversalUpdateTimelineActivityTypeAction>,
+ ): Promise<FlatUpdateTimelineActivityTypeAction> {
+ const { action, allFlatEntityMaps } = context;
+
+ const flatTimelineActivityType = findFlatEntityByUniversalIdentifierOrThrow(
+ {
+ flatEntityMaps: allFlatEntityMaps.flatTimelineActivityTypeMaps,
+ universalIdentifier: action.universalIdentifier,
+ },
+ );
+
+ const update = resolveUniversalUpdateRelationIdentifiersToIds({
+ metadataName: 'timelineActivityType',
+ universalUpdate: action.update,
+ allFlatEntityMaps,
+ });
+
+ return {
+ type: 'update',
+ metadataName: 'timelineActivityType',
+ entityId: flatTimelineActivityType.id,
+ update,
+ };
+ }
+
+ async executeForMetadata(
+ context: WorkspaceMigrationActionRunnerContext<FlatUpdateTimelineActivityTypeAction>,
+ ): Promise<void> {
+ const { flatAction, queryRunner, workspaceId } = context;
+ const { entityId, update } = flatAction;
+
+ const timelineActivityTypeRepository =
+ queryRunner.manager.getRepository<TimelineActivityTypeEntity>(
+ TimelineActivityTypeEntity,
+ );
+
+ await timelineActivityTypeRepository.update(
+ { id: entityId, workspaceId },
+ update,
+ );
+ }
+
+ async executeForWorkspaceSchema(
+ _context: WorkspaceMigrationActionRunnerContext<FlatUpdateTimelineActivityTypeAction>,
+ ): Promise<void> {
+ return;
+ }
+}
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/workspace-schema-migration-runner-action-handlers.module.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/workspace-schema-migration-runner-action-handlers.module.ts
index dc8ed7c32f4..9fb774904d3 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/workspace-schema-migration-runner-action-handlers.module.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/workspace-schema-migration-runner-action-handlers.module.ts
@@ -95,6 +95,9 @@ import { UpdateWebhookActionHandlerService } from 'src/engine/workspace-manager/
import { CreateConnectionProviderActionHandlerService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/connection-provider/services/create-connection-provider-action-handler.service';
import { DeleteConnectionProviderActionHandlerService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/connection-provider/services/delete-connection-provider-action-handler.service';
import { UpdateConnectionProviderActionHandlerService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/connection-provider/services/update-connection-provider-action-handler.service';
+import { CreateTimelineActivityTypeActionHandlerService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/timeline-activity-type/services/create-timeline-activity-type-action-handler.service';
+import { DeleteTimelineActivityTypeActionHandlerService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/timeline-activity-type/services/delete-timeline-activity-type-action-handler.service';
+import { UpdateTimelineActivityTypeActionHandlerService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/timeline-activity-type/services/update-timeline-activity-type-action-handler.service';
import { CreateSearchFieldMetadataActionHandlerService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/search-field-metadata/services/create-search-field-metadata-action-handler.service';
import { DeleteSearchFieldMetadataActionHandlerService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/search-field-metadata/services/delete-search-field-metadata-action-handler.service';
import { UpdateSearchFieldMetadataActionHandlerService } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/search-field-metadata/services/update-search-field-metadata-action-handler.service';
@@ -226,6 +229,9 @@ import { UpdateSearchFieldMetadataActionHandlerService } from 'src/engine/worksp
CreateConnectionProviderActionHandlerService,
UpdateConnectionProviderActionHandlerService,
DeleteConnectionProviderActionHandlerService,
+ CreateTimelineActivityTypeActionHandlerService,
+ UpdateTimelineActivityTypeActionHandlerService,
+ DeleteTimelineActivityTypeActionHandlerService,
CreateSearchFieldMetadataActionHandlerService,
UpdateSearchFieldMetadataActionHandlerService,
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/constants/metadata-event-to-emit.constant.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/constants/metadata-event-to-emit.constant.ts
index 5d86f3c0001..1c99c4704af 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/constants/metadata-event-to-emit.constant.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/constants/metadata-event-to-emit.constant.ts
@@ -31,5 +31,6 @@ export const METADATA_EVENTS_TO_EMIT = {
webhook: false,
applicationVariable: false,
connectionProvider: true,
+ timelineActivityType: true,
searchFieldMetadata: true,
} as const satisfies { [P in AllMetadataName]: boolean };
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/derive-metadata-events-from-create-action.util.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/derive-metadata-events-from-create-action.util.ts
index 60435f88c2f..e2f905aa54c 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/derive-metadata-events-from-create-action.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/derive-metadata-events-from-create-action.util.ts
@@ -99,6 +99,7 @@ const deriveAllMetadataEventsFromCreateAction = (
case 'viewSort':
case 'webhook':
case 'connectionProvider':
+ case 'timelineActivityType':
case 'searchFieldMetadata': {
return [
{
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/derive-metadata-events-from-delete-action.util.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/derive-metadata-events-from-delete-action.util.ts
index 3ab5f114d4d..cef1ce1f4ef 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/derive-metadata-events-from-delete-action.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/derive-metadata-events-from-delete-action.util.ts
@@ -63,6 +63,7 @@ const deriveAllMetadataEventsFromDeleteAction = ({
case 'viewSort':
case 'webhook':
case 'connectionProvider':
+ case 'timelineActivityType':
case 'searchFieldMetadata': {
const flatEntityToDelete = findFlatEntityByIdInFlatEntityMapsOrThrow<
MetadataFlatEntity<typeof flatAction.metadataName>
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/derive-metadata-events-from-update-action.util.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/derive-metadata-events-from-update-action.util.ts
index 5ccde47af69..43b1a50cd65 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/derive-metadata-events-from-update-action.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/derive-metadata-events-from-update-action.util.ts
@@ -141,6 +141,7 @@ const deriveAllMetadataEventsFromUpdateAction = ({
case 'viewSort':
case 'webhook':
case 'connectionProvider':
+ case 'timelineActivityType':
case 'searchFieldMetadata': {
const flatEntityMapsKey = getMetadataFlatEntityMapsKey(
flatAction.metadataName,
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/optimistically-apply-create-action-on-all-flat-entity-maps.util.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/optimistically-apply-create-action-on-all-flat-entity-maps.util.ts
index 607085baa46..39a7546c37b 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/optimistically-apply-create-action-on-all-flat-entity-maps.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/optimistically-apply-create-action-on-all-flat-entity-maps.util.ts
@@ -86,7 +86,8 @@ export const optimisticallyApplyCreateActionOnAllFlatEntityMaps = ({
case 'fieldPermission':
case 'webhook':
case 'applicationVariable':
- case 'connectionProvider': {
+ case 'connectionProvider':
+ case 'timelineActivityType': {
addFlatEntityToFlatEntityAndRelatedEntityMapsThroughMutationOrThrow({
flatEntity: flatAction.flatEntity,
flatEntityAndRelatedMapsToMutate: allFlatEntityMaps,
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/optimistically-apply-delete-action-on-all-flat-entity-maps.util.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/optimistically-apply-delete-action-on-all-flat-entity-maps.util.ts
index d7ef88fad86..f506b34ae83 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/optimistically-apply-delete-action-on-all-flat-entity-maps.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/optimistically-apply-delete-action-on-all-flat-entity-maps.util.ts
@@ -47,6 +47,7 @@ export const optimisticallyApplyDeleteActionOnAllFlatEntityMaps = ({
case 'webhook':
case 'applicationVariable':
case 'connectionProvider':
+ case 'timelineActivityType':
case 'searchFieldMetadata': {
const flatEntityToDelete = findFlatEntityByIdInFlatEntityMapsOrThrow<
MetadataFlatEntity<typeof flatAction.metadataName>
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/optimistically-apply-update-action-on-all-flat-entity-maps.util.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/optimistically-apply-update-action-on-all-flat-entity-maps.util.ts
index a40c055060f..124d8afd440 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/optimistically-apply-update-action-on-all-flat-entity-maps.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/optimistically-apply-update-action-on-all-flat-entity-maps.util.ts
@@ -68,6 +68,7 @@ export const optimisticallyApplyUpdateActionOnAllFlatEntityMaps = ({
case 'webhook':
case 'applicationVariable':
case 'connectionProvider':
+ case 'timelineActivityType':
case 'searchFieldMetadata': {
const flatEntityMapsKey = getMetadataFlatEntityMapsKey(
flatAction.metadataName,
diff --git a/packages/twenty-server/src/modules/calendar/calendar-event-participant-manager/calendar-event-participant-manager.module.ts b/packages/twenty-server/src/modules/calendar/calendar-event-participant-manager/calendar-event-participant-manager.module.ts
index ed6d6ce1a59..c6603859e2c 100644
--- a/packages/twenty-server/src/modules/calendar/calendar-event-participant-manager/calendar-event-participant-manager.module.ts
+++ b/packages/twenty-server/src/modules/calendar/calendar-event-participant-manager/calendar-event-participant-manager.module.ts
@@ -20,6 +20,7 @@ import { CalendarEventParticipantListener } from 'src/modules/calendar/calendar-
import { CalendarEventParticipantService } from 'src/modules/calendar/calendar-event-participant-manager/services/calendar-event-participant.service';
import { ContactCreationManagerModule } from 'src/modules/contact-creation-manager/contact-creation-manager.module';
import { MatchParticipantModule } from 'src/modules/match-participant/match-participant.module';
+import { TimelineActivityModule } from 'src/modules/timeline/timeline-activity.module';
@Module({
imports: [
@@ -34,6 +35,7 @@ import { MatchParticipantModule } from 'src/modules/match-participant/match-part
ContactCreationManagerModule,
MatchParticipantModule,
WorkspaceCacheModule,
+ TimelineActivityModule,
],
providers: [
CalendarEventParticipantService,
diff --git a/packages/twenty-server/src/modules/calendar/calendar-event-participant-manager/listeners/calendar-event-participant.listener.ts b/packages/twenty-server/src/modules/calendar/calendar-event-participant-manager/listeners/calendar-event-participant.listener.ts
index a2062c1238a..4beab8d7484 100644
--- a/packages/twenty-server/src/modules/calendar/calendar-event-participant-manager/listeners/calendar-event-participant.listener.ts
+++ b/packages/twenty-server/src/modules/calendar/calendar-event-participant-manager/listeners/calendar-event-participant.listener.ts
@@ -1,6 +1,7 @@
import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
+import { STANDARD_OBJECTS } from 'twenty-shared/metadata';
import { isDefined } from 'twenty-shared/utils';
import { Repository } from 'typeorm';
@@ -11,6 +12,7 @@ import { InjectObjectMetadataRepository } from 'src/engine/object-metadata-repos
import { CustomWorkspaceEventBatch } from 'src/engine/workspace-event-emitter/types/custom-workspace-batch-event.type';
import { type CalendarEventParticipantWorkspaceEntity } from 'src/modules/calendar/common/standard-objects/calendar-event-participant.workspace-entity';
import { TimelineActivityRepository } from 'src/modules/timeline/repositories/timeline-activity.repository';
+import { TimelineActivityTypeCacheService } from 'src/modules/timeline/services/timeline-activity-type-cache.service';
import { TimelineActivityWorkspaceEntity } from 'src/modules/timeline/standard-objects/timeline-activity.workspace-entity';
@Injectable()
@@ -21,6 +23,7 @@ export class CalendarEventParticipantListener {
@InjectRepository(ObjectMetadataEntity)
private readonly objectMetadataRepository: Repository<ObjectMetadataEntity>,
private readonly featureFlagService: FeatureFlagService,
+ private readonly timelineActivityTypeCacheService: TimelineActivityTypeCacheService,
) {}
@OnCustomBatchEvent('calendarEventParticipant_matched')
@@ -42,6 +45,21 @@ export class CalendarEventParticipantListener {
},
});
+ const resolveTimelineActivityTypeId =
+ await this.timelineActivityTypeCacheService.getTimelineActivityTypeResolver(
+ batchEvent.workspaceId,
+ );
+
+ const timelineActivityTypeId = resolveTimelineActivityTypeId({
+ action: 'linked',
+ objectUniversalIdentifier:
+ STANDARD_OBJECTS.calendarEvent.universalIdentifier,
+ });
+
+ if (!isDefined(timelineActivityTypeId)) {
+ return;
+ }
+
const timelineActivityPayloads = batchEvent.events.flatMap((event) => {
const calendarEventParticipants = event.participants ?? [];
@@ -62,6 +80,7 @@ export class CalendarEventParticipantListener {
return {
name: 'calendarEvent.linked',
+ timelineActivityTypeId,
properties: {},
objectSingularName: 'person',
recordId: participant.personId,
diff --git a/packages/twenty-server/src/modules/messaging/message-participant-manager/listeners/message-participant.listener.ts b/packages/twenty-server/src/modules/messaging/message-participant-manager/listeners/message-participant.listener.ts
index 320cfe9c775..014e74d6bf5 100644
--- a/packages/twenty-server/src/modules/messaging/message-participant-manager/listeners/message-participant.listener.ts
+++ b/packages/twenty-server/src/modules/messaging/message-participant-manager/listeners/message-participant.listener.ts
@@ -1,6 +1,7 @@
import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
+import { STANDARD_OBJECTS } from 'twenty-shared/metadata';
import { isDefined } from 'twenty-shared/utils';
import { Repository } from 'typeorm';
@@ -11,6 +12,7 @@ import { InjectObjectMetadataRepository } from 'src/engine/object-metadata-repos
import { CustomWorkspaceEventBatch } from 'src/engine/workspace-event-emitter/types/custom-workspace-batch-event.type';
import { type MessageParticipantWorkspaceEntity } from 'src/modules/messaging/common/standard-objects/message-participant.workspace-entity';
import { TimelineActivityRepository } from 'src/modules/timeline/repositories/timeline-activity.repository';
+import { TimelineActivityTypeCacheService } from 'src/modules/timeline/services/timeline-activity-type-cache.service';
import { TimelineActivityWorkspaceEntity } from 'src/modules/timeline/standard-objects/timeline-activity.workspace-entity';
@Injectable()
@@ -21,6 +23,7 @@ export class MessageParticipantListener {
@InjectRepository(ObjectMetadataEntity)
private readonly objectMetadataRepository: Repository<ObjectMetadataEntity>,
private readonly featureFlagService: FeatureFlagService,
+ private readonly timelineActivityTypeCacheService: TimelineActivityTypeCacheService,
) {}
@OnCustomBatchEvent('messageParticipant_matched')
@@ -42,6 +45,20 @@ export class MessageParticipantListener {
},
});
+ const resolveTimelineActivityTypeId =
+ await this.timelineActivityTypeCacheService.getTimelineActivityTypeResolver(
+ batchEvent.workspaceId,
+ );
+
+ const timelineActivityTypeId = resolveTimelineActivityTypeId({
+ action: 'linked',
+ objectUniversalIdentifier: STANDARD_OBJECTS.message.universalIdentifier,
+ });
+
+ if (!isDefined(timelineActivityTypeId)) {
+ return;
+ }
+
const timelineActivityPayloads = batchEvent.events.flatMap((event) => {
const messageParticipants = event.participants ?? [];
@@ -61,6 +78,7 @@ export class MessageParticipantListener {
return {
name: 'message.linked',
+ timelineActivityTypeId,
properties: {},
objectSingularName: 'person',
recordId: participant.personId,
diff --git a/packages/twenty-server/src/modules/messaging/message-participant-manager/message-participant-manager.module.ts b/packages/twenty-server/src/modules/messaging/message-participant-manager/message-participant-manager.module.ts
index 629cc5fe862..3ad43e572c0 100644
--- a/packages/twenty-server/src/modules/messaging/message-participant-manager/message-participant-manager.module.ts
+++ b/packages/twenty-server/src/modules/messaging/message-participant-manager/message-participant-manager.module.ts
@@ -23,6 +23,7 @@ import { MessageParticipantWorkspaceMemberListener } from 'src/modules/messaging
import { MessageParticipantListener } from 'src/modules/messaging/message-participant-manager/listeners/message-participant.listener';
import { MessagingMessageParticipantService } from 'src/modules/messaging/message-participant-manager/services/messaging-message-participant.service';
import { TimelineActivityWorkspaceEntity } from 'src/modules/timeline/standard-objects/timeline-activity.workspace-entity';
+import { TimelineActivityModule } from 'src/modules/timeline/timeline-activity.module';
@Module({
imports: [
@@ -41,6 +42,7 @@ import { TimelineActivityWorkspaceEntity } from 'src/modules/timeline/standard-o
MessagingCommonModule,
MatchParticipantModule,
WorkspaceCacheModule,
+ TimelineActivityModule,
],
providers: [
MessagingMessageParticipantService,
diff --git a/packages/twenty-server/src/modules/timeline/repositories/timeline-activity.repository.ts b/packages/twenty-server/src/modules/timeline/repositories/timeline-activity.repository.ts
index 1224582e4d2..d3b63e47395 100644
--- a/packages/twenty-server/src/modules/timeline/repositories/timeline-activity.repository.ts
+++ b/packages/twenty-server/src/modules/timeline/repositories/timeline-activity.repository.ts
@@ -15,12 +15,12 @@ import { buildTimelineActivityRelatedMorphFieldMetadataName } from 'src/modules/
const buildMergeKey = ({
recordId,
workspaceMemberId,
- name,
+ discriminator,
}: {
recordId: string;
workspaceMemberId: string | null | undefined;
- name: string;
-}): string => `${recordId}|${workspaceMemberId ?? null}|${name}`;
+ discriminator: string;
+}): string => `${recordId}|${workspaceMemberId ?? null}|${discriminator}`;
type TimelineActivityPayloadWorkspaceIdAndObjectSingularName = {
payloads: (Omit<TimelineActivityPayload, 'properties'> & {
@@ -50,30 +50,13 @@ export class TimelineActivityRepository {
payloads,
});
- const payloadsToUpsert = payloads.flatMap(
- ({ name, properties, ...rest }) => {
- const [objectName, action] = name.split('.');
- const { diff } = properties;
- const hasDiff = isDefined(diff) && Object.keys(diff).length > 0;
-
- if (objectName.startsWith('linked-')) {
- return [{ ...rest, name, properties: hasDiff ? { diff } : {} }];
- }
-
- if (action === 'updated') {
- return hasDiff ? [{ ...rest, name, properties: { diff } }] : [];
- }
-
- return [{ ...rest, name, properties: {} }];
- },
- );
-
const payloadsToInsert: TimelineActivityPayloadWorkspaceIdAndObjectSingularName['payloads'] =
[];
const mergesToApply: {
id: string;
properties: Partial<ObjectRecord>;
workspaceMemberId: string | undefined;
+ timelineActivityTypeId: string;
}[] = [];
const timelineActivityPropertyName =
@@ -87,35 +70,54 @@ export class TimelineActivityRepository {
>();
for (const timelineActivity of recentTimelineActivities) {
- const mergeKey = buildMergeKey({
- recordId: timelineActivity[timelineActivityPropertyName],
- workspaceMemberId: timelineActivity.workspaceMemberId,
- name: timelineActivity.name,
- });
+ const discriminators = [
+ isDefined(timelineActivity.timelineActivityTypeId)
+ ? `type:${timelineActivity.timelineActivityTypeId}`
+ : undefined,
+ isDefined(timelineActivity.name)
+ ? `name:${timelineActivity.name}`
+ : undefined,
+ ].filter(isDefined);
+
+ for (const discriminator of discriminators) {
+ const mergeKey = buildMergeKey({
+ recordId: timelineActivity[timelineActivityPropertyName],
+ workspaceMemberId: timelineActivity.workspaceMemberId,
+ discriminator,
+ });
- const bucket = recentTimelineActivitiesByMergeKey.get(mergeKey);
+ const bucket = recentTimelineActivitiesByMergeKey.get(mergeKey);
- if (isDefined(bucket)) {
- bucket.push(timelineActivity);
- } else {
- recentTimelineActivitiesByMergeKey.set(mergeKey, [timelineActivity]);
+ if (isDefined(bucket)) {
+ bucket.push(timelineActivity);
+ } else {
+ recentTimelineActivitiesByMergeKey.set(mergeKey, [
+ timelineActivity,
+ ]);
+ }
}
}
- for (const payload of payloadsToUpsert) {
- const recentTimelineActivity = recentTimelineActivitiesByMergeKey
- .get(
- buildMergeKey({
- recordId: payload.recordId,
- workspaceMemberId: payload.workspaceMemberId,
- name: payload.name,
- }),
- )
- ?.find(
- (timelineActivity) =>
- !isDefined(payload.linkedRecordId) ||
- timelineActivity.linkedRecordId === payload.linkedRecordId,
- );
+ for (const payload of payloads) {
+ const typeMergeKey = buildMergeKey({
+ recordId: payload.recordId,
+ workspaceMemberId: payload.workspaceMemberId,
+ discriminator: `type:${payload.timelineActivityTypeId}`,
+ });
+ const nameMergeKey = buildMergeKey({
+ recordId: payload.recordId,
+ workspaceMemberId: payload.workspaceMemberId,
+ discriminator: `name:${payload.name}`,
+ });
+
+ const recentTimelineActivity = [
+ ...(recentTimelineActivitiesByMergeKey.get(typeMergeKey) ?? []),
+ ...(recentTimelineActivitiesByMergeKey.get(nameMergeKey) ?? []),
+ ].find(
+ (timelineActivity) =>
+ !isDefined(payload.linkedRecordId) ||
+ timelineActivity.linkedRecordId === payload.linkedRecordId,
+ );
if (isDefined(recentTimelineActivity)) {
mergesToApply.push({
@@ -125,6 +127,7 @@ export class TimelineActivityRepository {
payload.properties,
),
workspaceMemberId: payload.workspaceMemberId,
+ timelineActivityTypeId: payload.timelineActivityTypeId,
});
} else {
payloadsToInsert.push(payload);
@@ -165,7 +168,6 @@ export class TimelineActivityRepository {
[timelineActivityPropertyName]: In(
payloads.map((payload) => payload.recordId),
),
- name: In(payloads.map((payload) => payload.name)),
workspaceMemberId: In(
payloads.map((payload) => payload.workspaceMemberId || null),
),
@@ -176,7 +178,18 @@ export class TimelineActivityRepository {
// window, so every candidate is fetched: taking a single row would let only
// one payload of a multi record batch merge.
return await timelineActivityTypeORMRepository.find({
- where: whereConditions,
+ where: [
+ {
+ ...whereConditions,
+ timelineActivityTypeId: In(
+ payloads.map((payload) => payload.timelineActivityTypeId),
+ ),
+ },
+ {
+ ...whereConditions,
+ name: In(payloads.map((payload) => payload.name)),
+ },
+ ],
order: { createdAt: 'DESC' },
});
}
@@ -205,6 +218,7 @@ export class TimelineActivityRepository {
return timelineActivityTypeORMRepository.insert(
payloads.map((payload) => ({
name: payload.name,
+ timelineActivityTypeId: payload.timelineActivityTypeId,
properties: payload.properties,
workspaceMemberId: payload.workspaceMemberId,
[timelineActivityPropertyName]: payload.recordId,
@@ -223,6 +237,7 @@ export class TimelineActivityRepository {
id: string;
properties: Partial<ObjectRecord>;
workspaceMemberId: string | undefined;
+ timelineActivityTypeId: string;
}[];
workspaceId: string;
}) {
@@ -240,11 +255,13 @@ export class TimelineActivityRepository {
);
await Promise.all(
- merges.map(({ id, properties, workspaceMemberId }) =>
- timelineActivityTypeORMRepository.update(id, {
- properties,
- workspaceMemberId,
- }),
+ merges.map(
+ ({ id, properties, workspaceMemberId, timelineActivityTypeId }) =>
+ timelineActivityTypeORMRepository.update(id, {
+ properties,
+ workspaceMemberId,
+ timelineActivityTypeId,
+ }),
),
);
}
diff --git a/packages/twenty-server/src/modules/timeline/services/timeline-activity-rule-builder.service.ts b/packages/twenty-server/src/modules/timeline/services/timeline-activity-rule-builder.service.ts
index 82279cce360..0738cd80e40 100644
--- a/packages/twenty-server/src/modules/timeline/services/timeline-activity-rule-builder.service.ts
+++ b/packages/twenty-server/src/modules/timeline/services/timeline-activity-rule-builder.service.ts
@@ -8,6 +8,8 @@ import { findFlatEntityByUniversalIdentifier } from 'src/engine/metadata-modules
import { type FlatFieldMetadata } from 'src/engine/metadata-modules/flat-field-metadata/types/flat-field-metadata.type';
import { type FlatObjectMetadata } from 'src/engine/metadata-modules/flat-object-metadata/types/flat-object-metadata.type';
import { STANDARD_TIMELINE_ACTIVITY_RULES } from 'src/modules/timeline/constants/standard-timeline-activity-rules.constant';
+import { TimelineActivityTypeCacheService } from 'src/modules/timeline/services/timeline-activity-type-cache.service';
+import { type TimelineActivityTypeResolver } from 'src/modules/timeline/utils/resolve-timeline-activity-type-id.util';
import { type TimelineActivityRule } from 'src/modules/timeline/types/timeline-activity-rule.type';
import { buildJunctionTargetShape } from 'src/modules/timeline/utils/build-junction-target-shape.util';
import { deriveDefaultTimelineActivityRule } from 'src/modules/timeline/utils/derive-default-timeline-activity-rule.util';
@@ -20,12 +22,15 @@ type TimelineActivityRulesForEventBatch = {
junctionRules: TimelineActivityRule[];
// Returned so callers reading field metadata do not fetch the cache again
flatFieldMetadataMaps: FlatEntityMaps<FlatFieldMetadata>;
+ // Picks the timeline activity type stamped on the rows a rule produces
+ resolveTimelineActivityTypeId: TimelineActivityTypeResolver;
};
@Injectable()
export class TimelineActivityRuleBuilderService {
constructor(
private readonly workspaceManyOrAllFlatEntityMapsCacheService: WorkspaceManyOrAllFlatEntityMapsCacheService,
+ private readonly timelineActivityTypeCacheService: TimelineActivityTypeCacheService,
) {}
async getRulesForEventBatch({
@@ -64,7 +69,15 @@ export class TimelineActivityRuleBuilderService {
rule.targetShape.junctionObjectMetadataId === flatObjectMetadata.id,
);
- return { sourceRules, junctionRules, flatFieldMetadataMaps };
+ return {
+ sourceRules,
+ junctionRules,
+ flatFieldMetadataMaps,
+ resolveTimelineActivityTypeId:
+ await this.timelineActivityTypeCacheService.getTimelineActivityTypeResolver(
+ workspaceId,
+ ),
+ };
}
private buildStandardRules({
diff --git a/packages/twenty-server/src/modules/timeline/services/timeline-activity-type-cache.service.ts b/packages/twenty-server/src/modules/timeline/services/timeline-activity-type-cache.service.ts
new file mode 100644
index 00000000000..15db02e1c74
--- /dev/null
+++ b/packages/twenty-server/src/modules/timeline/services/timeline-activity-type-cache.service.ts
@@ -0,0 +1,25 @@
+import { Injectable } from '@nestjs/common';
+
+import { WorkspaceManyOrAllFlatEntityMapsCacheService } from 'src/engine/metadata-modules/flat-entity/services/workspace-many-or-all-flat-entity-maps-cache.service';
+import {
+ buildTimelineActivityTypeResolver,
+ type TimelineActivityTypeResolver,
+} from 'src/modules/timeline/utils/resolve-timeline-activity-type-id.util';
+
+@Injectable()
+export class TimelineActivityTypeCacheService {
+ constructor(
+ private readonly workspaceManyOrAllFlatEntityMapsCacheService: WorkspaceManyOrAllFlatEntityMapsCacheService,
+ ) {}
+
+ async getTimelineActivityTypeResolver(
+ workspaceId: string,
+ ): Promise<TimelineActivityTypeResolver> {
+ const { flatTimelineActivityTypeMaps } =
+ await this.workspaceManyOrAllFlatEntityMapsCacheService.getOrRecomputeManyOrAllFlatEntityMaps(
+ { workspaceId, flatMapsKeys: ['flatTimelineActivityTypeMaps'] },
+ );
+
+ return buildTimelineActivityTypeResolver(flatTimelineActivityTypeMaps);
+ }
+}
diff --git a/packages/twenty-server/src/modules/timeline/services/timeline-activity.service.ts b/packages/twenty-server/src/modules/timeline/services/timeline-activity.service.ts
index 7f13be5fa32..4020c5669b7 100644
--- a/packages/twenty-server/src/modules/timeline/services/timeline-activity.service.ts
+++ b/packages/twenty-server/src/modules/timeline/services/timeline-activity.service.ts
@@ -1,4 +1,4 @@
-import { Injectable } from '@nestjs/common';
+import { Injectable, Logger } from '@nestjs/common';
import { type ObjectRecordBaseEvent } from 'twenty-shared/database-events';
import { FieldMetadataType, type ObjectRecord } from 'twenty-shared/types';
@@ -18,6 +18,7 @@ import { WorkspaceEventBatch } from 'src/engine/workspace-event-emitter/types/wo
import { parseEventNameOrThrow } from 'src/engine/workspace-event-emitter/utils/parse-event-name';
import { TimelineActivityRepository } from 'src/modules/timeline/repositories/timeline-activity.repository';
import { TimelineActivityRuleBuilderService } from 'src/modules/timeline/services/timeline-activity-rule-builder.service';
+import { type TimelineActivityTypeResolver } from 'src/modules/timeline/utils/resolve-timeline-activity-type-id.util';
import { TimelineActivityTargetQueryService } from 'src/modules/timeline/services/timeline-activity-target-query.service';
import { TimelineActivityWorkspaceEntity } from 'src/modules/timeline/standard-objects/timeline-activity.workspace-entity';
import { type ResolvedTimelineActivityTarget } from 'src/modules/timeline/types/resolved-timeline-activity-target.type';
@@ -47,11 +48,22 @@ const SOURCE_EVENT_ACTIONS: Partial<
restored: 'restored',
};
+// Only the diff is worth storing: the rest of an event payload is the record
+// itself, which the timeline reads live.
+const keepDiffOnly = (
+ properties: ObjectRecordBaseEvent['properties'],
+): Pick<ObjectRecordBaseEvent['properties'], 'diff'> => {
+ const { diff } = properties;
+
+ return isDefined(diff) && Object.keys(diff).length > 0 ? { diff } : {};
+};
+
// Both event streams write the same row shape; only the linked record, its
// cached name and the persisted properties differ.
const buildLinkedPayload = ({
rule,
- action,
+ name,
+ timelineActivityTypeId,
target,
workspaceMemberId,
linkedRecordId,
@@ -59,31 +71,35 @@ const buildLinkedPayload = ({
properties,
}: {
rule: TimelineActivityRule;
- action: DatabaseEventAction;
+ name: string;
+ timelineActivityTypeId: string;
target: ResolvedTimelineActivityTarget;
workspaceMemberId: string | undefined;
linkedRecordId: string;
linkedRecordCachedName: string | undefined;
properties: ObjectRecordBaseEvent['properties'];
}): TimelineActivityPayload => ({
- name: `linked-${rule.sourceFlatObjectMetadata.nameSingular}.${action}`,
+ name,
+ timelineActivityTypeId,
objectSingularName: target.targetObjectNameSingular,
recordId: target.targetRecordId,
workspaceMemberId,
linkedRecordId,
linkedObjectMetadataId: rule.sourceFlatObjectMetadata.id,
linkedRecordCachedName,
- properties,
+ properties: keepDiffOnly(properties),
});
@Injectable()
export class TimelineActivityService {
+ private readonly logger = new Logger(TimelineActivityService.name);
+
constructor(
@InjectObjectMetadataRepository(TimelineActivityWorkspaceEntity)
private readonly timelineActivityRepository: TimelineActivityRepository,
private readonly globalWorkspaceOrmManager: GlobalWorkspaceOrmManager,
- private readonly timelineActivityRuleResolverService: TimelineActivityRuleBuilderService,
- private readonly timelineActivityTargetResolverService: TimelineActivityTargetQueryService,
+ private readonly timelineActivityRuleBuilderService: TimelineActivityRuleBuilderService,
+ private readonly timelineActivityTargetQueryService: TimelineActivityTargetQueryService,
) {}
async upsertEvents({
@@ -98,11 +114,15 @@ export class TimelineActivityService {
const { action } = parseEventNameOrThrow(name);
- const { sourceRules, junctionRules, flatFieldMetadataMaps } =
- await this.timelineActivityRuleResolverService.getRulesForEventBatch({
- workspaceId,
- flatObjectMetadata: objectMetadata,
- });
+ const {
+ sourceRules,
+ junctionRules,
+ flatFieldMetadataMaps,
+ resolveTimelineActivityTypeId,
+ } = await this.timelineActivityRuleBuilderService.getRulesForEventBatch({
+ workspaceId,
+ flatObjectMetadata: objectMetadata,
+ });
if (sourceRules.length === 0 && junctionRules.length === 0) {
return;
@@ -132,6 +152,7 @@ export class TimelineActivityService {
action,
workspaceId,
flatFieldMetadataMaps,
+ resolveTimelineActivityTypeId,
}),
),
...junctionRules.map((rule) =>
@@ -141,6 +162,7 @@ export class TimelineActivityService {
action,
workspaceId,
flatFieldMetadataMaps,
+ resolveTimelineActivityTypeId,
}),
),
]);
@@ -201,12 +223,14 @@ export class TimelineActivityService {
action,
workspaceId,
flatFieldMetadataMaps,
+ resolveTimelineActivityTypeId,
}: {
rule: TimelineActivityRule;
events: ObjectRecordBaseEvent[];
action: DatabaseEventAction;
workspaceId: string;
flatFieldMetadataMaps: FlatEntityMaps<FlatFieldMetadata>;
+ resolveTimelineActivityTypeId: TimelineActivityTypeResolver;
}): Promise<TimelineActivityPayload[]> {
const ruleAction = SOURCE_EVENT_ACTIONS[action];
@@ -214,6 +238,25 @@ export class TimelineActivityService {
return [];
}
+ // A self rule writes the record's own row, which carries no linked record,
+ // so it must not take the object-bound type: that one renders as a linked
+ // entry and has no linked object to draw.
+ const timelineActivityTypeId = resolveTimelineActivityTypeId({
+ action: ruleAction,
+ objectUniversalIdentifier:
+ rule.targetShape.kind === 'SELF'
+ ? undefined
+ : rule.sourceFlatObjectMetadata.universalIdentifier,
+ });
+
+ if (!isDefined(timelineActivityTypeId)) {
+ this.logger.warn(
+ `No timeline activity type resolves ${ruleAction} on ${rule.sourceFlatObjectMetadata.nameSingular} in workspace ${workspaceId}, dropping ${events.length} events`,
+ );
+
+ return [];
+ }
+
const matchingEvents = events.filter((event) =>
this.ruleMatchesEvent({ rule, ruleAction, event }),
);
@@ -225,17 +268,30 @@ export class TimelineActivityService {
const { nameSingular } = rule.sourceFlatObjectMetadata;
if (rule.targetShape.kind === 'SELF') {
- return matchingEvents.map((event) => ({
- name: `${nameSingular}.${action}`,
- objectSingularName: nameSingular,
- recordId: event.recordId,
- workspaceMemberId: event.workspaceMemberId,
- properties: event.properties,
- }));
+ return matchingEvents.flatMap((event) => {
+ const properties =
+ ruleAction === 'updated' ? keepDiffOnly(event.properties) : {};
+
+ // An update whose whole diff was filtered out has nothing to show
+ if (ruleAction === 'updated' && !isDefined(properties.diff)) {
+ return [];
+ }
+
+ return [
+ {
+ name: `${nameSingular}.${action}`,
+ timelineActivityTypeId,
+ objectSingularName: nameSingular,
+ recordId: event.recordId,
+ workspaceMemberId: event.workspaceMemberId,
+ properties,
+ },
+ ];
+ });
}
const targetsBySourceRecordId =
- await this.timelineActivityTargetResolverService.resolveTargetsBySourceRecordId(
+ await this.timelineActivityTargetQueryService.resolveTargetsBySourceRecordId(
{
rule,
sourceRecordIds: matchingEvents.map((event) => event.recordId),
@@ -247,7 +303,8 @@ export class TimelineActivityService {
(targetsBySourceRecordId.get(event.recordId) ?? []).map((target) =>
buildLinkedPayload({
rule,
- action,
+ name: `linked-${rule.sourceFlatObjectMetadata.nameSingular}.${action}`,
+ timelineActivityTypeId,
target,
workspaceMemberId: event.workspaceMemberId,
linkedRecordId: event.recordId,
@@ -268,12 +325,14 @@ export class TimelineActivityService {
action,
workspaceId,
flatFieldMetadataMaps,
+ resolveTimelineActivityTypeId,
}: {
rule: TimelineActivityRule;
events: ObjectRecordBaseEvent[];
action: DatabaseEventAction;
workspaceId: string;
flatFieldMetadataMaps: FlatEntityMaps<FlatFieldMetadata>;
+ resolveTimelineActivityTypeId: TimelineActivityTypeResolver;
}): Promise<TimelineActivityPayload[]> {
const ruleAction = JUNCTION_EVENT_ACTIONS[action];
@@ -281,6 +340,20 @@ export class TimelineActivityService {
return [];
}
+ const timelineActivityTypeId = resolveTimelineActivityTypeId({
+ action: ruleAction,
+ objectUniversalIdentifier:
+ rule.sourceFlatObjectMetadata.universalIdentifier,
+ });
+
+ if (!isDefined(timelineActivityTypeId)) {
+ this.logger.warn(
+ `No timeline activity type resolves ${ruleAction} on ${rule.sourceFlatObjectMetadata.nameSingular} in workspace ${workspaceId}, dropping ${events.length} events`,
+ );
+
+ return [];
+ }
+
const { junctionSourceJoinColumnName } = rule.targetShape;
const eventsWithJunctionRecord = events
@@ -291,7 +364,7 @@ export class TimelineActivityService {
| undefined;
const target =
- this.timelineActivityTargetResolverService.resolveTargetFromJunctionRecord(
+ this.timelineActivityTargetQueryService.resolveTargetFromJunctionRecord(
{ rule, junctionRecord },
);
@@ -310,7 +383,7 @@ export class TimelineActivityService {
}
const sourceRecordsByRecordId =
- await this.timelineActivityTargetResolverService.findSourceRecordsByRecordId(
+ await this.timelineActivityTargetQueryService.findSourceRecordsByRecordId(
{
rule,
recordIds: eventsWithJunctionRecord.map(
@@ -327,7 +400,8 @@ export class TimelineActivityService {
.map(({ event, target, sourceRecordId }) =>
buildLinkedPayload({
rule,
- action,
+ name: `linked-${rule.sourceFlatObjectMetadata.nameSingular}.${action}`,
+ timelineActivityTypeId,
target,
workspaceMemberId: event.workspaceMemberId,
linkedRecordId: sourceRecordId,
diff --git a/packages/twenty-server/src/modules/timeline/standard-objects/timeline-activity.workspace-entity.ts b/packages/twenty-server/src/modules/timeline/standard-objects/timeline-activity.workspace-entity.ts
index 3b390afdf8c..4843ea565dd 100644
--- a/packages/twenty-server/src/modules/timeline/standard-objects/timeline-activity.workspace-entity.ts
+++ b/packages/twenty-server/src/modules/timeline/standard-objects/timeline-activity.workspace-entity.ts
@@ -17,6 +17,7 @@ import { type WorkspaceMemberWorkspaceEntity } from 'src/modules/workspace-membe
export class TimelineActivityWorkspaceEntity extends BaseWorkspaceEntity {
happensAt: Date;
name: string | null;
+ timelineActivityTypeId: string | null;
properties: JSON | null;
linkedRecordCachedName: string | null;
linkedRecordId: string | null;
diff --git a/packages/twenty-server/src/modules/timeline/timeline-activity.module.ts b/packages/twenty-server/src/modules/timeline/timeline-activity.module.ts
index 27a3966ac9b..bc5c6077713 100644
--- a/packages/twenty-server/src/modules/timeline/timeline-activity.module.ts
+++ b/packages/twenty-server/src/modules/timeline/timeline-activity.module.ts
@@ -5,6 +5,7 @@ import { ObjectMetadataRepositoryModule } from 'src/engine/object-metadata-repos
import { TwentyORMModule } from 'src/engine/twenty-orm/twenty-orm.module';
import { TimelineActivityRuleBuilderService } from 'src/modules/timeline/services/timeline-activity-rule-builder.service';
import { TimelineActivityTargetQueryService } from 'src/modules/timeline/services/timeline-activity-target-query.service';
+import { TimelineActivityTypeCacheService } from 'src/modules/timeline/services/timeline-activity-type-cache.service';
import { TimelineActivityService } from 'src/modules/timeline/services/timeline-activity.service';
import { TimelineActivityWorkspaceEntity } from 'src/modules/timeline/standard-objects/timeline-activity.workspace-entity';
@@ -20,7 +21,8 @@ import { TimelineActivityWorkspaceEntity } from 'src/modules/timeline/standard-o
TimelineActivityService,
TimelineActivityRuleBuilderService,
TimelineActivityTargetQueryService,
+ TimelineActivityTypeCacheService,
],
- exports: [TimelineActivityService],
+ exports: [TimelineActivityService, TimelineActivityTypeCacheService],
})
export class TimelineActivityModule {}
diff --git a/packages/twenty-server/src/modules/timeline/types/timeline-activity-payload.ts b/packages/twenty-server/src/modules/timeline/types/timeline-activity-payload.ts
index 109cf21fd69..9c5c397b88a 100644
--- a/packages/twenty-server/src/modules/timeline/types/timeline-activity-payload.ts
+++ b/packages/twenty-server/src/modules/timeline/types/timeline-activity-payload.ts
@@ -7,6 +7,7 @@ export type TimelineActivityPayload = {
linkedRecordCachedName?: string;
workspaceMemberId?: string;
name: string;
+ timelineActivityTypeId: string;
recordId: string;
objectSingularName?: string;
};
diff --git a/packages/twenty-server/src/modules/timeline/utils/__tests__/resolve-timeline-activity-type-id.util.spec.ts b/packages/twenty-server/src/modules/timeline/utils/__tests__/resolve-timeline-activity-type-id.util.spec.ts
new file mode 100644
index 00000000000..7827e923417
--- /dev/null
+++ b/packages/twenty-server/src/modules/timeline/utils/__tests__/resolve-timeline-activity-type-id.util.spec.ts
@@ -0,0 +1,76 @@
+import {
+ buildTimelineActivityTypeResolver,
+ type TimelineActivityTypeResolutionMaps,
+} from 'src/modules/timeline/utils/resolve-timeline-activity-type-id.util';
+
+const SHARED_LINKED_ID = '00000000-0000-4000-8000-000000000001';
+const NOTE_LINKED_ID = '00000000-0000-4000-8000-000000000002';
+const NOTE_UPDATED_ID = '00000000-0000-4000-8000-000000000003';
+const NOTE_UNIVERSAL_IDENTIFIER = '00000000-0000-4000-8000-000000000010';
+const OTHER_UNIVERSAL_IDENTIFIER = '00000000-0000-4000-8000-000000000011';
+
+const flatTimelineActivityTypeMaps: TimelineActivityTypeResolutionMaps = {
+ byUniversalIdentifier: {
+ recordLinked: {
+ id: SHARED_LINKED_ID,
+ action: 'linked',
+ objectUniversalIdentifier: null,
+ },
+ noteLinked: {
+ id: NOTE_LINKED_ID,
+ action: 'linked',
+ objectUniversalIdentifier: NOTE_UNIVERSAL_IDENTIFIER,
+ },
+ noteUpdated: {
+ id: NOTE_UPDATED_ID,
+ action: 'updated',
+ objectUniversalIdentifier: NOTE_UNIVERSAL_IDENTIFIER,
+ },
+ note: {
+ id: '00000000-0000-4000-8000-000000000004',
+ action: null,
+ objectUniversalIdentifier: null,
+ },
+ },
+};
+
+describe('buildTimelineActivityTypeResolver', () => {
+ const resolve = buildTimelineActivityTypeResolver(
+ flatTimelineActivityTypeMaps,
+ );
+
+ it('prefers the type bound to the object over the shared one', () => {
+ expect(
+ resolve({
+ action: 'linked',
+ objectUniversalIdentifier: NOTE_UNIVERSAL_IDENTIFIER,
+ }),
+ ).toBe(NOTE_LINKED_ID);
+ });
+
+ it('falls back to the shared type when the object has none for that action', () => {
+ expect(
+ resolve({
+ action: 'linked',
+ objectUniversalIdentifier: OTHER_UNIVERSAL_IDENTIFIER,
+ }),
+ ).toBe(SHARED_LINKED_ID);
+ });
+
+ it('uses the shared type when no object is given', () => {
+ expect(resolve({ action: 'linked' })).toBe(SHARED_LINKED_ID);
+ });
+
+ it('returns undefined when nothing covers the action', () => {
+ expect(resolve({ action: 'deleted' })).toBeUndefined();
+ });
+
+ it('resolves an object-bound type for a non-link action', () => {
+ expect(
+ resolve({
+ action: 'updated',
+ objectUniversalIdentifier: NOTE_UNIVERSAL_IDENTIFIER,
+ }),
+ ).toBe(NOTE_UPDATED_ID);
+ });
+});
diff --git a/packages/twenty-server/src/modules/timeline/utils/resolve-timeline-activity-type-id.util.ts b/packages/twenty-server/src/modules/timeline/utils/resolve-timeline-activity-type-id.util.ts
new file mode 100644
index 00000000000..75e8c4b2a83
--- /dev/null
+++ b/packages/twenty-server/src/modules/timeline/utils/resolve-timeline-activity-type-id.util.ts
@@ -0,0 +1,73 @@
+import { type TimelineActivityAction } from 'twenty-shared/timeline';
+import { isDefined } from 'twenty-shared/utils';
+
+import { type FlatTimelineActivityType } from 'src/engine/metadata-modules/flat-timeline-activity-type/types/flat-timeline-activity-type.type';
+
+export type TimelineActivityTypeResolutionMaps = {
+ byUniversalIdentifier: Partial<
+ Record<
+ string,
+ Pick<
+ FlatTimelineActivityType,
+ 'id' | 'action' | 'objectUniversalIdentifier'
+ >
+ >
+ >;
+};
+
+export type TimelineActivityTypeResolver = (args: {
+ action: TimelineActivityAction;
+ objectUniversalIdentifier?: string | null;
+}) => string | undefined;
+
+// A type bound to the event's object wins, so a linked note is stamped with the
+// note type and renders through its own component; the unbound type for the same
+// action is the fallback every other object shares.
+//
+// Candidates are ordered by universal identifier before the first one wins, so a
+// workspace whose types collide on a dispatch key still resolves the same way on
+// every run rather than following map iteration order.
+export const buildTimelineActivityTypeResolver = (
+ flatTimelineActivityTypeMaps: TimelineActivityTypeResolutionMaps,
+): TimelineActivityTypeResolver => {
+ const idByObjectAndAction = new Map<string, string>();
+ const idByAction = new Map<TimelineActivityAction, string>();
+
+ const orderedFlatTimelineActivityTypes = Object.entries(
+ flatTimelineActivityTypeMaps.byUniversalIdentifier,
+ )
+ .sort(([leftUniversalIdentifier], [rightUniversalIdentifier]) =>
+ leftUniversalIdentifier.localeCompare(rightUniversalIdentifier),
+ )
+ .map(([, flatTimelineActivityType]) => flatTimelineActivityType);
+
+ for (const flatTimelineActivityType of orderedFlatTimelineActivityTypes) {
+ if (
+ !isDefined(flatTimelineActivityType) ||
+ !isDefined(flatTimelineActivityType.action)
+ ) {
+ continue;
+ }
+
+ const { action, objectUniversalIdentifier, id } = flatTimelineActivityType;
+
+ if (!isDefined(objectUniversalIdentifier)) {
+ if (!idByAction.has(action)) {
+ idByAction.set(action, id);
+ }
+
+ continue;
+ }
+
+ const key = `${objectUniversalIdentifier}|${action}`;
+
+ if (!idByObjectAndAction.has(key)) {
+ idByObjectAndAction.set(key, id);
+ }
+ }
+
+ return ({ action, objectUniversalIdentifier }) =>
+ (isDefined(objectUniversalIdentifier)
+ ? idByObjectAndAction.get(`${objectUniversalIdentifier}|${action}`)
+ : undefined) ?? idByAction.get(action);
+};
diff --git a/packages/twenty-server/test/integration/graphql/suites/timeline/timeline-activity-write-path.integration-spec.ts b/packages/twenty-server/test/integration/graphql/suites/timeline/timeline-activity-write-path.integration-spec.ts
index 5d2d314f889..62011d89aa5 100644
--- a/packages/twenty-server/test/integration/graphql/suites/timeline/timeline-activity-write-path.integration-spec.ts
+++ b/packages/twenty-server/test/integration/graphql/suites/timeline/timeline-activity-write-path.integration-spec.ts
@@ -5,11 +5,17 @@ import { updateManyOperationFactory } from 'test/integration/graphql/utils/updat
import { makeGraphqlAPIRequest } from 'test/integration/graphql/utils/make-graphql-api-request.util';
import { updateOneOperationFactory } from 'test/integration/graphql/utils/update-one-operation-factory.util';
import { deleteOneOperationFactory } from 'test/integration/graphql/utils/delete-one-operation-factory.util';
+import { gql } from 'graphql-tag';
+import { STANDARD_OBJECTS } from 'twenty-shared/metadata';
+import { makeMetadataAPIRequest } from 'test/integration/metadata/suites/utils/make-metadata-api-request.util';
import { waitForAllJobsToFinish } from 'test/integration/utils/wait-for-all-jobs-to-finish.util';
+import { type TimelineActivityAction } from 'twenty-shared/timeline';
+import { isDefined } from 'twenty-shared/utils';
const TIMELINE_ACTIVITY_GQL_FIELDS = `
id
name
+ timelineActivityTypeId
properties
linkedRecordId
linkedRecordCachedName
@@ -22,7 +28,8 @@ const TIMELINE_ACTIVITY_GQL_FIELDS = `
type TimelineActivityRow = {
id: string;
- name: string;
+ name: string | null;
+ timelineActivityTypeId: string | null;
properties: Record<string, unknown> | null;
linkedRecordId: string | null;
linkedRecordCachedName: string | null;
@@ -98,17 +105,54 @@ const findTimelineActivities = async (
const TEST_SCHEMA_NAME = 'workspace_1wgvd1injqtife6y4rvfbu3h5';
const findTimelineActivityRowsByLinkedRecordId = async ({
- name,
+ timelineActivityTypeId,
linkedRecordId,
}: {
- name: string;
+ timelineActivityTypeId: string;
linkedRecordId: string;
}): Promise<Pick<TimelineActivityRow, 'targetCompanyId' | 'targetNoteId'>[]> =>
global.testDataSource.query(
- `SELECT "targetCompanyId", "targetNoteId" FROM "${TEST_SCHEMA_NAME}"."timelineActivity" WHERE name = $1 AND "linkedRecordId" = $2`,
- [name, linkedRecordId],
+ `SELECT "targetCompanyId", "targetNoteId" FROM "${TEST_SCHEMA_NAME}"."timelineActivity" WHERE "timelineActivityTypeId" = $1 AND "linkedRecordId" = $2`,
+ [timelineActivityTypeId, linkedRecordId],
);
+const FIND_MANY_TIMELINE_ACTIVITY_TYPES = gql`
+ query FindManyTimelineActivityTypes {
+ timelineActivityTypes {
+ id
+ action
+ objectUniversalIdentifier
+ }
+ }
+`;
+
+// Mirrors the server resolver: several types share an action, and the one bound
+// to the event's object wins over the shared one.
+const timelineActivityTypeIdByObjectAndAction = new Map<string, string>();
+
+const buildKey = (
+ action: TimelineActivityAction,
+ objectUniversalIdentifier: string | null,
+): string => `${objectUniversalIdentifier ?? 'shared'}|${action}`;
+
+const timelineActivityTypeIdForOrThrow = (
+ action: TimelineActivityAction,
+ objectUniversalIdentifier: string | null = null,
+): string => {
+ const timelineActivityTypeId =
+ timelineActivityTypeIdByObjectAndAction.get(
+ buildKey(action, objectUniversalIdentifier),
+ ) ?? timelineActivityTypeIdByObjectAndAction.get(buildKey(action, null));
+
+ if (!isDefined(timelineActivityTypeId)) {
+ throw new Error(`No timeline activity type seeded for action ${action}`);
+ }
+
+ return timelineActivityTypeId;
+};
+
+const NOTE_UNIVERSAL_IDENTIFIER = STANDARD_OBJECTS.note.universalIdentifier;
+
const COMPANY_ID = '20202020-7171-4000-8000-000000000001';
const POSITION_COMPANY_ID = '20202020-7171-4000-8000-000000000002';
const MERGE_COMPANY_ID = '20202020-7171-4000-8000-000000000003';
@@ -140,6 +184,27 @@ const CREATED_RECORD_IDS: { objectMetadataSingularName: string; id: string }[] =
// reproduce. Assertions describe what the hardcoded implementation does today,
// including the parts that look accidental.
describe('timeline activity write path (integration)', () => {
+ beforeAll(async () => {
+ const response = await makeMetadataAPIRequest({
+ query: FIND_MANY_TIMELINE_ACTIVITY_TYPES,
+ });
+
+ expect(response.body.errors).toBeUndefined();
+
+ for (const { id, action, objectUniversalIdentifier } of response.body.data
+ .timelineActivityTypes) {
+ if (isDefined(action)) {
+ timelineActivityTypeIdByObjectAndAction.set(
+ buildKey(
+ action as TimelineActivityAction,
+ objectUniversalIdentifier ?? null,
+ ),
+ id,
+ );
+ }
+ }
+ });
+
afterAll(async () => {
for (const { objectMetadataSingularName, id } of CREATED_RECORD_IDS) {
await makeGraphqlAPIRequest(
@@ -167,6 +232,9 @@ describe('timeline activity write path (integration)', () => {
});
expect(timelineActivities).toHaveLength(1);
+ expect(timelineActivities[0].timelineActivityTypeId).toBe(
+ timelineActivityTypeIdForOrThrow('created'),
+ );
expect(timelineActivities[0].name).toBe('company.created');
expect(timelineActivities[0].targetCompanyId).toBe(COMPANY_ID);
expect(timelineActivities[0].linkedRecordId).toBeNull();
@@ -183,7 +251,9 @@ describe('timeline activity write path (integration)', () => {
const timelineActivities = await findTimelineActivities({
targetCompanyId: { eq: COMPANY_ID },
- name: { eq: 'company.updated' },
+ timelineActivityTypeId: {
+ eq: timelineActivityTypeIdForOrThrow('updated'),
+ },
});
expect(timelineActivities).toHaveLength(1);
@@ -225,7 +295,9 @@ describe('timeline activity write path (integration)', () => {
const timelineActivities = await findTimelineActivities({
targetCompanyId: { eq: MERGE_COMPANY_ID },
- name: { eq: 'company.updated' },
+ timelineActivityTypeId: {
+ eq: timelineActivityTypeIdForOrThrow('updated'),
+ },
});
expect(timelineActivities).toHaveLength(1);
@@ -266,7 +338,9 @@ describe('timeline activity write path (integration)', () => {
for (const [index, id] of BATCH_COMPANY_IDS.entries()) {
const timelineActivities = await findTimelineActivities({
targetCompanyId: { eq: id },
- name: { eq: 'company.updated' },
+ timelineActivityTypeId: {
+ eq: timelineActivityTypeIdForOrThrow('updated'),
+ },
});
expect(timelineActivities).toHaveLength(1);
@@ -295,7 +369,9 @@ describe('timeline activity write path (integration)', () => {
const timelineActivities = await findTimelineActivities({
targetCompanyId: { eq: POSITION_COMPANY_ID },
- name: { eq: 'company.updated' },
+ timelineActivityTypeId: {
+ eq: timelineActivityTypeIdForOrThrow('updated'),
+ },
});
expect(timelineActivities).toHaveLength(0);
@@ -326,7 +402,12 @@ describe('timeline activity write path (integration)', () => {
const timelineActivities = await findTimelineActivities({
targetCompanyId: { eq: NOTE_COMPANY_ID },
- name: { eq: 'linked-note.created' },
+ timelineActivityTypeId: {
+ eq: timelineActivityTypeIdForOrThrow(
+ 'linked',
+ NOTE_UNIVERSAL_IDENTIFIER,
+ ),
+ },
});
expect(timelineActivities).toHaveLength(1);
@@ -338,7 +419,9 @@ describe('timeline activity write path (integration)', () => {
it('should write the note own created entry on the note timeline', async () => {
const timelineActivities = await findTimelineActivities({
targetNoteId: { eq: NOTE_ID },
- name: { eq: 'note.created' },
+ timelineActivityTypeId: {
+ eq: timelineActivityTypeIdForOrThrow('created'),
+ },
});
expect(timelineActivities).toHaveLength(1);
@@ -353,7 +436,12 @@ describe('timeline activity write path (integration)', () => {
const onCompany = await findTimelineActivities({
targetCompanyId: { eq: NOTE_COMPANY_ID },
- name: { eq: 'linked-note.updated' },
+ timelineActivityTypeId: {
+ eq: timelineActivityTypeIdForOrThrow(
+ 'updated',
+ NOTE_UNIVERSAL_IDENTIFIER,
+ ),
+ },
});
expect(onCompany).toHaveLength(1);
@@ -367,7 +455,10 @@ describe('timeline activity write path (integration)', () => {
const rowsWithoutTarget = (
await findTimelineActivityRowsByLinkedRecordId({
- name: 'linked-note.updated',
+ timelineActivityTypeId: timelineActivityTypeIdForOrThrow(
+ 'updated',
+ NOTE_UNIVERSAL_IDENTIFIER,
+ ),
linkedRecordId: NOTE_ID,
})
).filter((row) => row.targetCompanyId === null);
@@ -388,7 +479,12 @@ describe('timeline activity write path (integration)', () => {
const onCompany = await findTimelineActivities({
targetCompanyId: { eq: NOTE_COMPANY_ID },
- name: { eq: 'linked-note.updated' },
+ timelineActivityTypeId: {
+ eq: timelineActivityTypeIdForOrThrow(
+ 'updated',
+ NOTE_UNIVERSAL_IDENTIFIER,
+ ),
+ },
});
expect(onCompany).toHaveLength(1);
@@ -410,7 +506,12 @@ describe('timeline activity write path (integration)', () => {
const timelineActivities = await findTimelineActivities({
targetCompanyId: { eq: NOTE_COMPANY_ID },
- name: { eq: 'linked-note.deleted' },
+ timelineActivityTypeId: {
+ eq: timelineActivityTypeIdForOrThrow(
+ 'unlinked',
+ NOTE_UNIVERSAL_IDENTIFIER,
+ ),
+ },
});
expect(timelineActivities).toHaveLength(1);
diff --git a/packages/twenty-shared/src/i18n/translatable-properties-by-metadata-name.ts b/packages/twenty-shared/src/i18n/translatable-properties-by-metadata-name.ts
index 019b2a606f6..8ab7086ee4c 100644
--- a/packages/twenty-shared/src/i18n/translatable-properties-by-metadata-name.ts
+++ b/packages/twenty-shared/src/i18n/translatable-properties-by-metadata-name.ts
@@ -18,6 +18,7 @@ export const TRANSLATABLE_PROPERTIES_BY_METADATA_NAME = {
pageLayoutWidget: ['title'],
commandMenuItem: ['label', 'shortLabel'],
navigationMenuItem: ['name'],
+ timelineActivityType: ['label'],
} as const satisfies Partial<Record<AllMetadataName, readonly string[]>>;
export type TranslatableMetadataName =
diff --git a/packages/twenty-shared/src/metadata/__tests__/__snapshots__/standardObjectUniversalIdentifiers.test.ts.snap b/packages/twenty-shared/src/metadata/__tests__/__snapshots__/standardObjectUniversalIdentifiers.test.ts.snap
index dba6e7b844a..032ff568b23 100644
--- a/packages/twenty-shared/src/metadata/__tests__/__snapshots__/standardObjectUniversalIdentifiers.test.ts.snap
+++ b/packages/twenty-shared/src/metadata/__tests__/__snapshots__/standardObjectUniversalIdentifiers.test.ts.snap
@@ -2647,6 +2647,9 @@ exports[`STANDARD_OBJECTS universal identifiers should never change without an e
"targetWorkflowVersion": {
"universalIdentifier": "2da44ef9-dc63-5c9c-a9fb-58933ed03bc2",
},
+ "timelineActivityTypeId": {
+ "universalIdentifier": "20202020-e5f8-4839-9dcf-781e260624ee",
+ },
"updatedAt": {
"universalIdentifier": "01b33b31-f011-5b55-942f-5bf3ec56f9b3",
},
@@ -2702,8 +2705,8 @@ exports[`STANDARD_OBJECTS universal identifiers should never change without an e
"happensAt": {
"universalIdentifier": "3ccb9611-f9ec-56c5-82df-f12f7e26e694",
},
- "name": {
- "universalIdentifier": "821f0d94-72e0-5b04-ba97-50538f5a73c2",
+ "linkedRecordCachedName": {
+ "universalIdentifier": "a7b9dfbb-4c2b-508f-9901-ae1874600042",
},
"targetCompany": {
"universalIdentifier": "d271d5b4-86ad-513d-a042-d4f8a9c41665",
diff --git a/packages/twenty-shared/src/metadata/constants/all-metadata-name.constant.ts b/packages/twenty-shared/src/metadata/constants/all-metadata-name.constant.ts
index 1653ddcc664..a01925f3294 100644
--- a/packages/twenty-shared/src/metadata/constants/all-metadata-name.constant.ts
+++ b/packages/twenty-shared/src/metadata/constants/all-metadata-name.constant.ts
@@ -30,4 +30,5 @@ export const ALL_METADATA_NAME = {
applicationVariable: 'applicationVariable',
connectionProvider: 'connectionProvider',
searchFieldMetadata: 'searchFieldMetadata',
+ timelineActivityType: 'timelineActivityType',
} as const;
diff --git a/packages/twenty-shared/src/metadata/constants/standard-object-fields.constant.ts b/packages/twenty-shared/src/metadata/constants/standard-object-fields.constant.ts
index ae68bc0dec7..ef92d30cf3a 100644
--- a/packages/twenty-shared/src/metadata/constants/standard-object-fields.constant.ts
+++ b/packages/twenty-shared/src/metadata/constants/standard-object-fields.constant.ts
@@ -25,6 +25,9 @@ export const STANDARD_OBJECT_FIELDS = {
STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS.timelineActivity,
),
name: { universalIdentifier: '20202020-7207-46e8-9dab-849505ae8497' },
+ timelineActivityTypeId: {
+ universalIdentifier: '20202020-e5f8-4839-9dcf-781e260624ee',
+ },
happensAt: {
universalIdentifier: '20202020-9526-4993-b339-c4318c4d39f0',
},
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 1e03addcf24..a9d66b9db26 100644
--- a/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts
+++ b/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts
@@ -1068,7 +1068,7 @@ export const STANDARD_OBJECTS = {
STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS.timelineActivity,
fields: STANDARD_OBJECT_FIELDS.timelineActivity,
viewFieldNames: [
- 'name',
+ 'linkedRecordCachedName',
'happensAt',
'workspaceMember',
'targetPerson',
diff --git a/packages/twenty-shared/src/timeline/TimelineActivityAction.ts b/packages/twenty-shared/src/timeline/TimelineActivityAction.ts
index 8a702b855e1..86e8d98480c 100644
--- a/packages/twenty-shared/src/timeline/TimelineActivityAction.ts
+++ b/packages/twenty-shared/src/timeline/TimelineActivityAction.ts
@@ -1,6 +1,18 @@
-export type TimelineActivityAction =
- | 'created'
- | 'updated'
- | 'deleted'
- | 'restored'
- | 'linked';
+import { isDefined } from '@/utils/validation';
+
+export const TIMELINE_ACTIVITY_ACTIONS = [
+ 'created',
+ 'updated',
+ 'deleted',
+ 'restored',
+ 'linked',
+ 'unlinked',
+] as const;
+
+export type TimelineActivityAction = (typeof TIMELINE_ACTIVITY_ACTIONS)[number];
+
+export const isTimelineActivityAction = (
+ value: string | null | undefined,
+): value is TimelineActivityAction =>
+ isDefined(value) &&
+ (TIMELINE_ACTIVITY_ACTIONS as readonly string[]).includes(value);
diff --git a/packages/twenty-shared/src/timeline/TimelineActivityRenderer.ts b/packages/twenty-shared/src/timeline/TimelineActivityRenderer.ts
new file mode 100644
index 00000000000..8a7b10dd6b8
--- /dev/null
+++ b/packages/twenty-shared/src/timeline/TimelineActivityRenderer.ts
@@ -0,0 +1,20 @@
+import { isDefined } from '@/utils/validation';
+
+// The frontend components a timeline row can be drawn with. A type names one so
+// the row is chosen by metadata rather than by branching on the linked object.
+export const TIMELINE_ACTIVITY_RENDERERS = [
+ 'mainObject',
+ 'genericLinked',
+ 'activity',
+ 'message',
+ 'calendarEvent',
+] as const;
+
+export type TimelineActivityRenderer =
+ (typeof TIMELINE_ACTIVITY_RENDERERS)[number];
+
+export const isTimelineActivityRenderer = (
+ value: string | null | undefined,
+): value is TimelineActivityRenderer =>
+ isDefined(value) &&
+ (TIMELINE_ACTIVITY_RENDERERS as readonly string[]).includes(value);
diff --git a/packages/twenty-shared/src/timeline/__tests__/isTimelineActivityAction.spec.ts b/packages/twenty-shared/src/timeline/__tests__/isTimelineActivityAction.spec.ts
new file mode 100644
index 00000000000..27fd07ee60b
--- /dev/null
+++ b/packages/twenty-shared/src/timeline/__tests__/isTimelineActivityAction.spec.ts
@@ -0,0 +1,14 @@
+import { isTimelineActivityAction } from '@/timeline/TimelineActivityAction';
+
+describe('isTimelineActivityAction', () => {
+ it.each(['created', 'updated', 'deleted', 'restored', 'linked', 'unlinked'])(
+ 'accepts "%s"',
+ (action) => {
+ expect(isTimelineActivityAction(action)).toBe(true);
+ },
+ );
+
+ it.each([null, undefined, '', 'went_cold'])('rejects %p', (value) => {
+ expect(isTimelineActivityAction(value)).toBe(false);
+ });
+});
diff --git a/packages/twenty-shared/src/timeline/index.ts b/packages/twenty-shared/src/timeline/index.ts
index 95f9c2a985b..f8d4a6d7813 100644
--- a/packages/twenty-shared/src/timeline/index.ts
+++ b/packages/twenty-shared/src/timeline/index.ts
@@ -9,3 +9,12 @@
export { parseTimelineActivityAction } from './parseTimelineActivityAction';
export type { TimelineActivityAction } from './TimelineActivityAction';
+export {
+ TIMELINE_ACTIVITY_ACTIONS,
+ isTimelineActivityAction,
+} from './TimelineActivityAction';
+export type { TimelineActivityRenderer } from './TimelineActivityRenderer';
+export {
+ TIMELINE_ACTIVITY_RENDERERS,
+ isTimelineActivityRenderer,
+} from './TimelineActivityRenderer';
diff --git a/packages/twenty-shared/src/timeline/parseTimelineActivityAction.ts b/packages/twenty-shared/src/timeline/parseTimelineActivityAction.ts
index 1a91c4927a3..72f570c270e 100644
--- a/packages/twenty-shared/src/timeline/parseTimelineActivityAction.ts
+++ b/packages/twenty-shared/src/timeline/parseTimelineActivityAction.ts
@@ -1,18 +1,7 @@
-import { type TimelineActivityAction } from '@/timeline/TimelineActivityAction';
-import { isDefined } from '@/utils/validation';
-
-const TIMELINE_ACTIVITY_ACTIONS: TimelineActivityAction[] = [
- 'created',
- 'updated',
- 'deleted',
- 'restored',
- 'linked',
-];
-
-const isTimelineActivityAction = (
- value: string | null | undefined,
-): value is TimelineActivityAction =>
- isDefined(value) && (TIMELINE_ACTIVITY_ACTIONS as string[]).includes(value);
+import {
+ isTimelineActivityAction,
+ type TimelineActivityAction,
+} from '@/timeline/TimelineActivityAction';
export const parseTimelineActivityAction = (
name: string | null | undefined,
diff --git a/packages/twenty-ui/src/navigation/MenuItemMultiSelect/MenuItemMultiSelect.tsx b/packages/twenty-ui/src/navigation/MenuItemMultiSelect/MenuItemMultiSelect.tsx
index 53c8aeb1bf7..0ae4861fd24 100644
--- a/packages/twenty-ui/src/navigation/MenuItemMultiSelect/MenuItemMultiSelect.tsx
+++ b/packages/twenty-ui/src/navigation/MenuItemMultiSelect/MenuItemMultiSelect.tsx
@@ -15,7 +15,7 @@ type MenuItemMultiSelectProps = {
isKeySelected?: boolean;
withIconContainer?: boolean;
text: string;
- className: string;
+ className?: string;
onSelectChange?: (selected: boolean) => void;
};