Skip to content

The open alternative to Salesforce, designed for AI.

Link a sent email to the record it was sent from (#28554)

Félix Malfait5f842479ec45
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
index f86e6821f53..c37db8b83fd 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
@@ -4454,6 +4454,7 @@ input SendEmailInput {
fromHandle: String
inReplyTo: String
subject: String!
+ targetRecord: SendEmailTargetRecordInput
to: String!
}
@@ -4463,6 +4464,11 @@ type SendEmailOutput {
success: Boolean!
}
+input SendEmailTargetRecordInput {
+ objectNameSingular: String!
+ recordId: UUID!
+}
+
type SendEmailViaDomainOutput {
messageId: String!
}
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.ts b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
index 467f21cc2b0..7bdaf72d917 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
@@ -7774,7 +7774,7 @@ export interface SendChatMessageResultGenqlSelection{
export interface SendEmailAttachmentInput {id: Scalars['String'],name: Scalars['String']}
-export interface SendEmailInput {bcc?: (Scalars['String'] | null),body: Scalars['String'],cc?: (Scalars['String'] | null),connectedAccountId: Scalars['String'],draftMessageId?: (Scalars['String'] | null),files?: (SendEmailAttachmentInput[] | null),fromHandle?: (Scalars['String'] | null),inReplyTo?: (Scalars['String'] | null),subject: Scalars['String'],to: Scalars['String']}
+export interface SendEmailInput {bcc?: (Scalars['String'] | null),body: Scalars['String'],cc?: (Scalars['String'] | null),connectedAccountId: Scalars['String'],draftMessageId?: (Scalars['String'] | null),files?: (SendEmailAttachmentInput[] | null),fromHandle?: (Scalars['String'] | null),inReplyTo?: (Scalars['String'] | null),subject: Scalars['String'],targetRecord?: (SendEmailTargetRecordInput | null),to: Scalars['String']}
export interface SendEmailOutputGenqlSelection{
error?: boolean | number
@@ -7784,6 +7784,8 @@ export interface SendEmailOutputGenqlSelection{
__scalar?: boolean | number
}
+export interface SendEmailTargetRecordInput {objectNameSingular: Scalars['String'],recordId: Scalars['UUID']}
+
export interface SendEmailViaDomainOutputGenqlSelection{
messageId?: boolean | number
__typename?: boolean | number
diff --git a/packages/twenty-client-sdk/src/metadata/generated/types.ts b/packages/twenty-client-sdk/src/metadata/generated/types.ts
index 5f94e8c313d..73f051697ae 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/types.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/types.ts
@@ -92,36 +92,36 @@ export default {
450,
454,
459,
- 476,
- 488,
+ 477,
489,
- 491,
- 515,
- 517,
- 519,
- 580,
- 600,
- 607,
- 609,
- 613,
- 624,
- 630,
+ 490,
+ 492,
+ 516,
+ 518,
+ 520,
+ 581,
+ 601,
+ 608,
+ 610,
+ 614,
+ 625,
631,
- 633,
+ 632,
634,
- 636,
+ 635,
637,
638,
- 641,
+ 639,
642,
- 647,
- 649,
- 652,
- 657,
+ 643,
+ 648,
+ 650,
+ 653,
658,
659,
- 662,
- 663
+ 660,
+ 663,
+ 664
],
"types": {
"ActivateWorkspaceInput": {
@@ -149,7 +149,7 @@ export default {
},
"Agent": {
"applicationId": [
- 515
+ 516
],
"createdAt": [
206
@@ -161,7 +161,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isCustom": [
4
@@ -188,7 +188,7 @@ export default {
308
],
"roleId": [
- 515
+ 516
],
"triggers": [
308
@@ -209,7 +209,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isAccessible": [
4
@@ -224,7 +224,7 @@ export default {
6
],
"roleIds": [
- 515
+ 516
],
"__typename": [
1
@@ -240,7 +240,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"label": [
1
@@ -251,7 +251,7 @@ export default {
},
"AgentChatChannelSummary": {
"channelId": [
- 515
+ 516
],
"hasUnreadOpen": [
4
@@ -272,7 +272,7 @@ export default {
4
],
"threadIds": [
- 515
+ 516
],
"__typename": [
1
@@ -358,7 +358,7 @@ export default {
206
],
"id": [
- 515
+ 516
],
"isSubscribed": [
4
@@ -373,7 +373,7 @@ export default {
206
],
"threadId": [
- 515
+ 516
],
"updatedAt": [
206
@@ -384,7 +384,7 @@ export default {
},
"AgentIdInput": {
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -392,13 +392,13 @@ export default {
},
"AgentMessage": {
"agentId": [
- 515
+ 516
],
"createdAt": [
206
],
"id": [
- 515
+ 516
],
"parts": [
21
@@ -413,19 +413,19 @@ export default {
1
],
"senderUserWorkspaceId": [
- 515
+ 516
],
"senderWorkspaceMemberId": [
- 515
+ 516
],
"status": [
1
],
"threadId": [
- 515
+ 516
],
"turnId": [
- 515
+ 516
],
"__typename": [
1
@@ -442,7 +442,7 @@ export default {
1
],
"fileId": [
- 515
+ 516
],
"fileMediaType": [
1
@@ -451,10 +451,10 @@ export default {
1
],
"id": [
- 515
+ 516
],
"messageId": [
- 515
+ 516
],
"orderIndex": [
10
@@ -516,7 +516,7 @@ export default {
},
"AgentMessageReactionSummary": {
"agentIds": [
- 515
+ 516
],
"emoji": [
1
@@ -525,7 +525,7 @@ export default {
4
],
"workspaceMemberIds": [
- 515
+ 516
],
"__typename": [
1
@@ -551,7 +551,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"input": [
1
@@ -575,7 +575,7 @@ export default {
24
],
"threadId": [
- 515
+ 516
],
"threadTitle": [
1
@@ -590,13 +590,13 @@ export default {
"AgentTurnStatus": {},
"AggregateChartConfiguration": {
"aggregateFieldMetadataId": [
- 515
+ 516
],
"aggregateOperation": [
26
],
"configurationType": [
- 641
+ 642
],
"description": [
1
@@ -702,7 +702,7 @@ export default {
206
],
"id": [
- 515
+ 516
],
"name": [
1
@@ -725,7 +725,7 @@ export default {
206
],
"id": [
- 515
+ 516
],
"name": [
1
@@ -835,13 +835,13 @@ export default {
1
],
"personId": [
- 515
+ 516
],
"role": [
347
],
"workspaceMemberId": [
- 515
+ 516
],
"__typename": [
1
@@ -855,7 +855,7 @@ export default {
72
],
"applicationRegistrationId": [
- 515
+ 516
],
"applicationVariables": [
75
@@ -888,10 +888,10 @@ export default {
281
],
"healthCheckLogicFunctionId": [
- 515
+ 516
],
"id": [
- 515
+ 516
],
"isUninstallBlockedByOtherWorkspaceInstallations": [
4
@@ -900,7 +900,7 @@ export default {
320
],
"logoFileId": [
- 515
+ 516
],
"logoUrl": [
1
@@ -915,13 +915,13 @@ export default {
1
],
"packageJsonFileId": [
- 515
+ 516
],
"settingsCustomTabFrontComponentId": [
- 515
+ 516
],
"settingsMenuItems": [
- 475
+ 476
],
"universalIdentifier": [
1
@@ -933,7 +933,7 @@ export default {
1
],
"yarnLockFileId": [
- 515
+ 516
],
"__typename": [
1
@@ -941,7 +941,7 @@ export default {
},
"ApplicationAuthorization": {
"applicationId": [
- 515
+ 516
],
"applicationName": [
1
@@ -953,7 +953,7 @@ export default {
206
],
"id": [
- 515
+ 516
],
"lastAuthorizedAt": [
206
@@ -965,7 +965,7 @@ export default {
1
],
"workspaceId": [
- 515
+ 516
],
"__typename": [
1
@@ -976,7 +976,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -984,7 +984,7 @@ export default {
},
"ApplicationConnectedAccountDTO": {
"applicationId": [
- 515
+ 516
],
"archivedAt": [
206
@@ -999,7 +999,7 @@ export default {
416
],
"connectionProviderId": [
- 515
+ 516
],
"createdAt": [
206
@@ -1011,7 +1011,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isOwnedByCurrentUser": [
4
@@ -1038,7 +1038,7 @@ export default {
206
],
"userWorkspaceId": [
- 515
+ 516
],
"visibility": [
1
@@ -1055,7 +1055,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"logoUrl": [
1
@@ -1152,7 +1152,7 @@ export default {
},
"ApplicationFileCompletionError": {
"fileId": [
- 515
+ 516
],
"message": [
1
@@ -1200,7 +1200,7 @@ export default {
274
],
"fileId": [
- 515
+ 516
],
"filePath": [
1
@@ -1404,13 +1404,13 @@ export default {
},
"ApplicationPreferences": {
"applicationId": [
- 515
+ 516
],
"settingsMenuItems": [
- 475
+ 476
],
"variables": [
- 612
+ 613
],
"__typename": [
1
@@ -1424,7 +1424,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isConfigured": [
4
@@ -1457,7 +1457,7 @@ export default {
1
],
"ownerWorkspaceId": [
- 515
+ 516
],
"sourcePackage": [
1
@@ -1496,7 +1496,7 @@ export default {
6
],
"versionDistribution": [
- 622
+ 623
],
"__typename": [
1
@@ -1504,7 +1504,7 @@ export default {
},
"ApplicationRegistrationSummary": {
"id": [
- 515
+ 516
],
"latestAvailableVersion": [
1
@@ -1527,7 +1527,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isDeprecated": [
4
@@ -1576,7 +1576,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isDeprecated": [
4
@@ -1618,7 +1618,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isValidated": [
4
@@ -1715,7 +1715,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"inviteHash": [
1
@@ -1733,7 +1733,7 @@ export default {
457
],
"workspaceUrls": [
- 664
+ 665
],
"__typename": [
1
@@ -1764,7 +1764,7 @@ export default {
"AxisNameDisplay": {},
"BarChartConfiguration": {
"aggregateFieldMetadataId": [
- 515
+ 516
],
"aggregateOperation": [
26
@@ -1776,7 +1776,7 @@ export default {
1
],
"configurationType": [
- 641
+ 642
],
"description": [
1
@@ -1812,7 +1812,7 @@ export default {
383
],
"primaryAxisGroupByFieldMetadataId": [
- 515
+ 516
],
"primaryAxisGroupBySubFieldName": [
1
@@ -1833,7 +1833,7 @@ export default {
383
],
"secondaryAxisGroupByFieldMetadataId": [
- 515
+ 516
],
"secondaryAxisGroupBySubFieldName": [
1
@@ -1900,7 +1900,7 @@ export default {
308
],
"objectMetadataId": [
- 515
+ 516
],
"__typename": [
1
@@ -1942,10 +1942,10 @@ export default {
4
],
"id": [
- 515
+ 516
],
"userCreditsFallback": [
- 613
+ 614
],
"__typename": [
1
@@ -1965,7 +1965,7 @@ export default {
4
],
"status": [
- 489
+ 490
],
"__typename": [
1
@@ -2075,7 +2075,7 @@ export default {
122
],
"recurringInterval": [
- 488
+ 489
],
"stripePriceId": [
1
@@ -2092,7 +2092,7 @@ export default {
122
],
"recurringInterval": [
- 488
+ 489
],
"stripePriceId": [
1
@@ -2236,10 +2236,10 @@ export default {
206
],
"id": [
- 515
+ 516
],
"interval": [
- 488
+ 489
],
"metadata": [
308
@@ -2248,7 +2248,7 @@ export default {
118
],
"status": [
- 489
+ 490
],
"__typename": [
1
@@ -2266,7 +2266,7 @@ export default {
4
],
"id": [
- 515
+ 516
],
"quantity": [
6
@@ -2342,7 +2342,7 @@ export default {
},
"CalendarChannel": {
"connectedAccountId": [
- 515
+ 516
],
"contactAutoCreationPolicy": [
125
@@ -2357,7 +2357,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isContactAutoCreationEnabled": [
4
@@ -2396,7 +2396,7 @@ export default {
"CalendarChannelVisibility": {},
"CalendarConfiguration": {
"configurationType": [
- 641
+ 642
],
"__typename": [
1
@@ -2404,7 +2404,7 @@ export default {
},
"CallRecordingSummaryConfiguration": {
"configurationType": [
- 641
+ 642
],
"__typename": [
1
@@ -2412,7 +2412,7 @@ export default {
},
"CallRecordingTranscriptConfiguration": {
"configurationType": [
- 641
+ 642
],
"__typename": [
1
@@ -2489,7 +2489,7 @@ export default {
"ChartNumberFormat": {},
"ChatConfiguration": {
"configurationType": [
- 641
+ 642
],
"__typename": [
1
@@ -2522,7 +2522,7 @@ export default {
},
"ChatThreadsConfiguration": {
"configurationType": [
- 641
+ 642
],
"__typename": [
1
@@ -2795,7 +2795,7 @@ export default {
1
],
"sentry": [
- 473
+ 474
],
"serverUrl": [
1
@@ -2804,7 +2804,7 @@ export default {
4
],
"support": [
- 490
+ 491
],
"__typename": [
1
@@ -2837,10 +2837,10 @@ export default {
},
"CommandMenuItem": {
"applicationId": [
- 515
+ 516
],
"availabilityObjectMetadataId": [
- 515
+ 516
],
"availabilityType": [
152
@@ -2852,7 +2852,7 @@ export default {
1
],
"coreWorkflowVersionId": [
- 515
+ 516
],
"createdAt": [
206
@@ -2864,7 +2864,7 @@ export default {
281
],
"frontComponentId": [
- 515
+ 516
],
"hotKeys": [
1
@@ -2873,7 +2873,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isActive": [
4
@@ -2885,10 +2885,10 @@ export default {
1
],
"navigationTargetObjectMetadataId": [
- 515
+ 516
],
"pageLayoutId": [
- 515
+ 516
],
"payload": [
153
@@ -2900,13 +2900,13 @@ export default {
1
],
"universalIdentifier": [
- 515
+ 516
],
"updatedAt": [
206
],
"workflowVersionId": [
- 515
+ 516
],
"__typename": [
1
@@ -2937,7 +2937,7 @@ export default {
},
"ConnectedAccountPublicDTO": {
"applicationId": [
- 515
+ 516
],
"archivedAt": [
206
@@ -2952,7 +2952,7 @@ export default {
416
],
"connectionProviderId": [
- 515
+ 516
],
"createdAt": [
206
@@ -2964,7 +2964,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"lastCredentialsRefreshedAt": [
206
@@ -2988,7 +2988,7 @@ export default {
206
],
"userWorkspaceId": [
- 515
+ 516
],
"visibility": [
1
@@ -3006,13 +3006,13 @@ export default {
1
],
"id": [
- 515
+ 516
],
"provider": [
1
],
"userWorkspaceId": [
- 515
+ 516
],
"__typename": [
1
@@ -3051,7 +3051,7 @@ export default {
1
],
"roleIds": [
- 515
+ 516
],
"__typename": [
1
@@ -3083,7 +3083,7 @@ export default {
308
],
"roleId": [
- 515
+ 516
],
"triggers": [
308
@@ -3103,7 +3103,7 @@ export default {
1
],
"roleId": [
- 515
+ 516
],
"__typename": [
1
@@ -3111,7 +3111,7 @@ export default {
},
"CreateAppMessageChannelInput": {
"connectedAccountId": [
- 515
+ 516
],
"displayName": [
1
@@ -3236,7 +3236,7 @@ export default {
},
"CreateCommandMenuItemInput": {
"availabilityObjectMetadataId": [
- 515
+ 516
],
"availabilityType": [
152
@@ -3248,13 +3248,13 @@ export default {
1
],
"coreWorkflowVersionId": [
- 515
+ 516
],
"engineComponentKey": [
240
],
"frontComponentId": [
- 515
+ 516
],
"hotKeys": [
1
@@ -3269,10 +3269,10 @@ export default {
1
],
"navigationTargetObjectMetadataId": [
- 515
+ 516
],
"pageLayoutId": [
- 515
+ 516
],
"payload": [
308
@@ -3284,7 +3284,7 @@ export default {
1
],
"workflowVersionId": [
- 515
+ 516
],
"__typename": [
1
@@ -3370,7 +3370,7 @@ export default {
1
],
"objectMetadataId": [
- 515
+ 516
],
"options": [
308
@@ -3402,7 +3402,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"name": [
1
@@ -3416,7 +3416,7 @@ export default {
},
"CreateIndexFieldInput": {
"fieldMetadataId": [
- 515
+ 516
],
"subFieldName": [
1
@@ -3433,7 +3433,7 @@ export default {
301
],
"objectMetadataId": [
- 515
+ 516
],
"__typename": [
1
@@ -3453,7 +3453,7 @@ export default {
308
],
"id": [
- 515
+ 516
],
"name": [
1
@@ -3471,7 +3471,7 @@ export default {
308
],
"universalIdentifier": [
- 515
+ 516
],
"workflowActionTriggerSettings": [
308
@@ -3485,7 +3485,7 @@ export default {
1
],
"unsubscribeTopicId": [
- 515
+ 516
],
"__typename": [
1
@@ -3493,19 +3493,19 @@ export default {
},
"CreateNavigationMenuItemInput": {
"agentChatChannelId": [
- 515
+ 516
],
"color": [
1
],
"folderId": [
- 515
+ 516
],
"icon": [
1
],
"id": [
- 515
+ 516
],
"link": [
1
@@ -3514,25 +3514,25 @@ export default {
1
],
"pageLayoutId": [
- 515
+ 516
],
"position": [
6
],
"targetObjectMetadataId": [
- 515
+ 516
],
"targetRecordId": [
- 515
+ 516
],
"type": [
367
],
"userWorkspaceId": [
- 515
+ 516
],
"viewId": [
- 515
+ 516
],
"__typename": [
1
@@ -3611,7 +3611,7 @@ export default {
1
],
"objectMetadataId": [
- 515
+ 516
],
"type": [
393
@@ -3625,7 +3625,7 @@ export default {
392
],
"pageLayoutId": [
- 515
+ 516
],
"position": [
6
@@ -3642,10 +3642,10 @@ export default {
308
],
"objectMetadataId": [
- 515
+ 516
],
"pageLayoutTabId": [
- 515
+ 516
],
"position": [
308
@@ -3654,7 +3654,7 @@ export default {
1
],
"type": [
- 642
+ 643
],
"__typename": [
1
@@ -3662,13 +3662,13 @@ export default {
},
"CreateRecordExportInput": {
"fieldMetadataIds": [
- 515
+ 516
],
"filter": [
308
],
"objectMetadataId": [
- 515
+ 516
],
"orderBy": [
308
@@ -3735,7 +3735,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"label": [
1
@@ -3755,7 +3755,7 @@ export default {
1
],
"visibility": [
- 519
+ 520
],
"__typename": [
1
@@ -3772,7 +3772,7 @@ export default {
95
],
"operationType": [
- 600
+ 601
],
"periodCount": [
10
@@ -3781,7 +3781,7 @@ export default {
1
],
"resourceType": [
- 607
+ 608
],
"spenderId": [
1
@@ -3790,7 +3790,7 @@ export default {
1
],
"unit": [
- 609
+ 610
],
"__typename": [
1
@@ -3801,7 +3801,7 @@ export default {
1
],
"errorFieldMetadataId": [
- 515
+ 516
],
"expression": [
1
@@ -3819,7 +3819,7 @@ export default {
1
],
"objectMetadataId": [
- 515
+ 516
],
"__typename": [
1
@@ -3827,7 +3827,7 @@ export default {
},
"CreateViewFieldGroupInput": {
"id": [
- 515
+ 516
],
"isVisible": [
4
@@ -3839,7 +3839,7 @@ export default {
6
],
"viewId": [
- 515
+ 516
],
"__typename": [
1
@@ -3850,10 +3850,10 @@ export default {
26
],
"fieldMetadataId": [
- 515
+ 516
],
"id": [
- 515
+ 516
],
"isVisible": [
4
@@ -3865,10 +3865,10 @@ export default {
6
],
"viewFieldGroupId": [
- 515
+ 516
],
"viewId": [
- 515
+ 516
],
"__typename": [
1
@@ -3876,19 +3876,19 @@ export default {
},
"CreateViewFilterGroupInput": {
"id": [
- 515
+ 516
],
"logicalOperator": [
- 630
+ 631
],
"parentViewFilterGroupId": [
- 515
+ 516
],
"positionInViewFilterGroup": [
6
],
"viewId": [
- 515
+ 516
],
"__typename": [
1
@@ -3896,19 +3896,19 @@ export default {
},
"CreateViewFilterInput": {
"fieldMetadataId": [
- 515
+ 516
],
"id": [
- 515
+ 516
],
"operand": [
- 631
+ 632
],
"positionInViewFilterGroup": [
6
],
"relationTargetFieldMetadataId": [
- 515
+ 516
],
"subFieldName": [
1
@@ -3917,10 +3917,10 @@ export default {
308
],
"viewFilterGroupId": [
- 515
+ 516
],
"viewId": [
- 515
+ 516
],
"__typename": [
1
@@ -3931,7 +3931,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isVisible": [
4
@@ -3940,7 +3940,7 @@ export default {
6
],
"viewId": [
- 515
+ 516
],
"__typename": [
1
@@ -3951,13 +3951,13 @@ export default {
1
],
"calendarEndFieldMetadataId": [
- 515
+ 516
],
"calendarFieldMetadataId": [
- 515
+ 516
],
"calendarLayout": [
- 624
+ 625
],
"groupLoadLimit": [
10
@@ -3966,7 +3966,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isCompact": [
4
@@ -3975,25 +3975,25 @@ export default {
26
],
"kanbanAggregateOperationFieldMetadataId": [
- 515
+ 516
],
"kanbanColumnWidth": [
10
],
"key": [
- 633
+ 634
],
"mainGroupByFieldMetadataId": [
- 515
+ 516
],
"name": [
1
],
"objectMetadataId": [
- 515
+ 516
],
"openRecordIn": [
- 634
+ 635
],
"position": [
6
@@ -4002,10 +4002,10 @@ export default {
4
],
"type": [
- 637
+ 638
],
"visibility": [
- 638
+ 639
],
"__typename": [
1
@@ -4013,19 +4013,19 @@ export default {
},
"CreateViewSortInput": {
"direction": [
- 636
+ 637
],
"fieldMetadataId": [
- 515
+ 516
],
"id": [
- 515
+ 516
],
"subFieldName": [
1
],
"viewId": [
- 515
+ 516
],
"__typename": [
1
@@ -4036,7 +4036,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"operations": [
1
@@ -4059,10 +4059,10 @@ export default {
1
],
"operation": [
- 600
+ 601
],
"resource": [
- 607
+ 608
],
"__typename": [
1
@@ -4089,7 +4089,7 @@ export default {
"DateTime": {},
"DeleteApprovedAccessDomainInput": {
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -4097,7 +4097,7 @@ export default {
},
"DeleteOneFieldInput": {
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -4105,7 +4105,7 @@ export default {
},
"DeleteOneIndexInput": {
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -4113,7 +4113,7 @@ export default {
},
"DeleteOneObjectInput": {
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -4121,7 +4121,7 @@ export default {
},
"DeleteSso": {
"identityProviderId": [
- 515
+ 516
],
"__typename": [
1
@@ -4129,7 +4129,7 @@ export default {
},
"DeleteSsoInput": {
"identityProviderId": [
- 515
+ 516
],
"__typename": [
1
@@ -4145,7 +4145,7 @@ export default {
},
"DeleteViewFieldGroupInput": {
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -4153,7 +4153,7 @@ export default {
},
"DeleteViewFieldInput": {
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -4161,7 +4161,7 @@ export default {
},
"DeleteViewFilterInput": {
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -4169,7 +4169,7 @@ export default {
},
"DeleteViewGroupInput": {
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -4177,7 +4177,7 @@ export default {
},
"DeleteViewSortInput": {
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -4188,7 +4188,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"name": [
284
@@ -4197,7 +4197,7 @@ export default {
1
],
"userWorkspaceId": [
- 515
+ 516
],
"__typename": [
1
@@ -4205,7 +4205,7 @@ export default {
},
"DestroyViewFieldGroupInput": {
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -4213,7 +4213,7 @@ export default {
},
"DestroyViewFieldInput": {
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -4221,7 +4221,7 @@ export default {
},
"DestroyViewFilterInput": {
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -4229,7 +4229,7 @@ export default {
},
"DestroyViewGroupInput": {
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -4237,7 +4237,7 @@ export default {
},
"DestroyViewSortInput": {
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -4279,7 +4279,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isCustomDomainEnabled": [
4
@@ -4296,10 +4296,10 @@ export default {
1
],
"id": [
- 515
+ 516
],
"pageLayoutId": [
- 515
+ 516
],
"position": [
6
@@ -4322,7 +4322,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"memberCount": [
6
@@ -4342,7 +4342,7 @@ export default {
},
"EditSso": {
"id": [
- 515
+ 516
],
"issuer": [
1
@@ -4362,7 +4362,7 @@ export default {
},
"EditSsoInput": {
"id": [
- 515
+ 516
],
"status": [
459
@@ -4399,7 +4399,7 @@ export default {
},
"EmailThreadConfiguration": {
"configurationType": [
- 641
+ 642
],
"__typename": [
1
@@ -4413,7 +4413,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"status": [
237
@@ -4422,13 +4422,13 @@ export default {
238
],
"unsubscribeHostnameStatus": [
- 517
+ 518
],
"updatedAt": [
206
],
"verificationRecords": [
- 619
+ 620
],
"verifiedAt": [
206
@@ -4441,7 +4441,7 @@ export default {
"EmailingDomainTenantStatus": {},
"EmailsConfiguration": {
"configurationType": [
- 641
+ 642
],
"__typename": [
1
@@ -4707,7 +4707,7 @@ export default {
},
"ExecuteOneLogicFunctionInput": {
"id": [
- 515
+ 516
],
"payload": [
308
@@ -4730,7 +4730,7 @@ export default {
"FeatureFlagKey": {},
"Field": {
"applicationId": [
- 515
+ 516
],
"createdAt": [
206
@@ -4745,7 +4745,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isActive": [
4
@@ -4778,7 +4778,7 @@ export default {
1
],
"morphId": [
- 515
+ 516
],
"morphRelations": [
435
@@ -4790,7 +4790,7 @@ export default {
369
],
"objectMetadataId": [
- 515
+ 516
],
"options": [
308
@@ -4819,7 +4819,7 @@ export default {
},
"FieldConfiguration": {
"configurationType": [
- 641
+ 642
],
"fieldDisplayMode": [
264
@@ -4868,7 +4868,7 @@ export default {
266
],
"id": [
- 516
+ 517
],
"isActive": [
123
@@ -4883,7 +4883,7 @@ export default {
123
],
"objectMetadataId": [
- 516
+ 517
],
"or": [
266
@@ -4901,16 +4901,16 @@ export default {
4
],
"fieldMetadataId": [
- 515
+ 516
],
"id": [
- 515
+ 516
],
"objectMetadataId": [
- 515
+ 516
],
"roleId": [
- 515
+ 516
],
"__typename": [
1
@@ -4924,10 +4924,10 @@ export default {
4
],
"fieldMetadataId": [
- 515
+ 516
],
"objectMetadataId": [
- 515
+ 516
],
"__typename": [
1
@@ -4935,7 +4935,7 @@ export default {
},
"FieldRichTextConfiguration": {
"configurationType": [
- 641
+ 642
],
"__typename": [
1
@@ -4943,7 +4943,7 @@ export default {
},
"FieldsConfiguration": {
"configurationType": [
- 641
+ 642
],
"newFieldDefaultVisibility": [
4
@@ -4963,7 +4963,7 @@ export default {
206
],
"id": [
- 515
+ 516
],
"path": [
1
@@ -4980,7 +4980,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -4995,7 +4995,7 @@ export default {
206
],
"fileId": [
- 515
+ 516
],
"uploadUrl": [
1
@@ -5009,7 +5009,7 @@ export default {
206
],
"id": [
- 515
+ 516
],
"path": [
1
@@ -5026,7 +5026,7 @@ export default {
},
"FilesConfiguration": {
"configurationType": [
- 641
+ 642
],
"__typename": [
1
@@ -5034,7 +5034,7 @@ export default {
},
"FindAvailableSSOIDP": {
"id": [
- 515
+ 516
],
"issuer": [
1
@@ -5049,7 +5049,7 @@ export default {
291
],
"workspace": [
- 661
+ 662
],
"__typename": [
1
@@ -5069,7 +5069,7 @@ export default {
1
],
"unsubscribeTopicId": [
- 515
+ 516
],
"__typename": [
1
@@ -5077,7 +5077,7 @@ export default {
},
"FormFieldConfiguration": {
"configurationType": [
- 641
+ 642
],
"fieldMetadataId": [
1
@@ -5091,7 +5091,7 @@ export default {
1
],
"applicationId": [
- 515
+ 516
],
"applicationName": [
1
@@ -5121,7 +5121,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isHeadless": [
4
@@ -5133,7 +5133,7 @@ export default {
1
],
"universalIdentifier": [
- 515
+ 516
],
"updatedAt": [
206
@@ -5150,13 +5150,13 @@ export default {
},
"FrontComponentConfiguration": {
"configurationType": [
- 641
+ 642
],
"frontComponentId": [
- 515
+ 516
],
"headerCommandMenuItemUniversalIdentifiers": [
- 515
+ 516
],
"__typename": [
1
@@ -5164,7 +5164,7 @@ export default {
},
"FrontComponentWidgetAvailability": {
"objectMetadataId": [
- 515
+ 516
],
"pageLayoutType": [
393
@@ -5186,7 +5186,7 @@ export default {
},
"GetApiKeyInput": {
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -5197,7 +5197,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"type": [
1
@@ -5208,7 +5208,7 @@ export default {
},
"GetAuthorizationUrlForSSOInput": {
"identityProviderId": [
- 515
+ 516
],
"workspaceInviteHash": [
1
@@ -5219,7 +5219,7 @@ export default {
},
"GrantApplicationCapabilitiesInput": {
"applicationId": [
- 515
+ 516
],
"capabilities": [
1
@@ -5249,7 +5249,7 @@ export default {
"IdentityProviderType": {},
"IframeConfiguration": {
"configurationType": [
- 641
+ 642
],
"url": [
1
@@ -5308,7 +5308,7 @@ export default {
80
],
"workspace": [
- 665
+ 666
],
"__typename": [
1
@@ -5319,7 +5319,7 @@ export default {
206
],
"id": [
- 515
+ 516
],
"indexFieldMetadataList": [
299
@@ -5362,10 +5362,10 @@ export default {
206
],
"fieldMetadataId": [
- 515
+ 516
],
"id": [
- 515
+ 516
],
"order": [
6
@@ -5385,7 +5385,7 @@ export default {
300
],
"id": [
- 516
+ 517
],
"isCustom": [
123
@@ -5400,7 +5400,7 @@ export default {
"IndexType": {},
"IngestAppMessagesInput": {
"messageChannelId": [
- 515
+ 516
],
"messages": [
41
@@ -5422,10 +5422,10 @@ export default {
1
],
"messageId": [
- 515
+ 516
],
"messageThreadId": [
- 515
+ 516
],
"__typename": [
1
@@ -5492,7 +5492,7 @@ export default {
},
"LineChartConfiguration": {
"aggregateFieldMetadataId": [
- 515
+ 516
],
"aggregateOperation": [
26
@@ -5504,7 +5504,7 @@ export default {
1
],
"configurationType": [
- 641
+ 642
],
"description": [
1
@@ -5537,7 +5537,7 @@ export default {
383
],
"primaryAxisGroupByFieldMetadataId": [
- 515
+ 516
],
"primaryAxisGroupBySubFieldName": [
1
@@ -5558,7 +5558,7 @@ export default {
383
],
"secondaryAxisGroupByFieldMetadataId": [
- 515
+ 516
],
"secondaryAxisGroupBySubFieldName": [
1
@@ -5610,7 +5610,7 @@ export default {
308
],
"objectMetadataId": [
- 515
+ 516
],
"__typename": [
1
@@ -5660,7 +5660,7 @@ export default {
},
"ListAppMessageChannelsInput": {
"connectedAccountId": [
- 515
+ 516
],
"__typename": [
1
@@ -5679,7 +5679,7 @@ export default {
},
"LogicFunction": {
"applicationId": [
- 515
+ 516
],
"canRunOnDemand": [
4
@@ -5706,7 +5706,7 @@ export default {
308
],
"id": [
- 515
+ 516
],
"name": [
1
@@ -5724,7 +5724,7 @@ export default {
308
],
"universalIdentifier": [
- 515
+ 516
],
"updatedAt": [
206
@@ -5774,7 +5774,7 @@ export default {
1
],
"universalIdentifier": [
- 515
+ 516
],
"__typename": [
1
@@ -5782,19 +5782,19 @@ export default {
},
"LogicFunctionLogsInput": {
"applicationId": [
- 515
+ 516
],
"applicationUniversalIdentifier": [
- 515
+ 516
],
"id": [
- 515
+ 516
],
"name": [
1
],
"universalIdentifier": [
- 515
+ 516
],
"__typename": [
1
@@ -6026,7 +6026,7 @@ export default {
},
"MessageCampaignBodyConfiguration": {
"configurationType": [
- 641
+ 642
],
"__typename": [
1
@@ -6034,7 +6034,7 @@ export default {
},
"MessageCampaignDetailsConfiguration": {
"configurationType": [
- 641
+ 642
],
"__typename": [
1
@@ -6056,7 +6056,7 @@ export default {
155
],
"connectedAccountId": [
- 515
+ 516
],
"contactAutoCreationPolicy": [
338
@@ -6077,7 +6077,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"importProgress": [
10
@@ -6139,7 +6139,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isSentFolder": [
4
@@ -6148,7 +6148,7 @@ export default {
4
],
"messageChannelId": [
- 515
+ 516
],
"name": [
1
@@ -6177,7 +6177,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"reason": [
350
@@ -6186,7 +6186,7 @@ export default {
351
],
"unsubscribeTopicId": [
- 515
+ 516
],
"__typename": [
1
@@ -6238,7 +6238,7 @@ export default {
1
],
"objectMetadataId": [
- 515
+ 516
],
"property": [
1
@@ -6247,7 +6247,7 @@ export default {
357
],
"recordId": [
- 515
+ 516
],
"sourceValue": [
1
@@ -6276,13 +6276,13 @@ export default {
"MetadataTranslationProvenance": {},
"MetadataTranslationsInput": {
"fieldMetadataId": [
- 515
+ 516
],
"locale": [
1
],
"objectMetadataId": [
- 515
+ 516
],
"__typename": [
1
@@ -6311,7 +6311,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isActive": [
4
@@ -6340,16 +6340,16 @@ export default {
},
"MinimalView": {
"id": [
- 515
+ 516
],
"key": [
- 633
+ 634
],
"objectMetadataId": [
- 515
+ 516
],
"type": [
- 637
+ 638
],
"__typename": [
1
@@ -6358,16 +6358,16 @@ export default {
"ModelFamily": {},
"Mutation": {
"activateSkill": [
- 482,
+ 483,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
],
"activateWorkspace": [
- 646,
+ 647,
{
"data": [
0,
@@ -6383,7 +6383,7 @@ export default {
"String!"
],
"messageId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -6401,10 +6401,10 @@ export default {
4,
{
"assigneeWorkspaceMemberId": [
- 515
+ 516
],
"threadId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -6413,11 +6413,11 @@ export default {
4,
{
"agentId": [
- 515,
+ 516,
"UUID!"
],
"roleId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -6426,11 +6426,11 @@ export default {
4,
{
"apiKeyId": [
- 515,
+ 516,
"UUID!"
],
"roleId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -6498,7 +6498,7 @@ export default {
"BillingPlanKey!"
],
"recurringInterval": [
- 488,
+ 489,
"SubscriptionInterval!"
],
"requirePaymentMethod": [
@@ -6523,7 +6523,7 @@ export default {
69,
{
"fileId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -6536,7 +6536,7 @@ export default {
"String!"
],
"fileIds": [
- 515,
+ 516,
"[UUID!]!"
]
}
@@ -6668,7 +6668,7 @@ export default {
16,
{
"channelId": [
- 515
+ 516
]
}
],
@@ -6754,7 +6754,7 @@ export default {
}
],
"createManyViewFieldGroups": [
- 627,
+ 628,
{
"inputs": [
195,
@@ -6763,7 +6763,7 @@ export default {
}
],
"createManyViewFields": [
- 626,
+ 627,
{
"inputs": [
196,
@@ -6772,7 +6772,7 @@ export default {
}
],
"createManyViewGroups": [
- 632,
+ 633,
{
"inputs": [
199,
@@ -6816,10 +6816,10 @@ export default {
}
],
"createOIDCIdentityProvider": [
- 479,
+ 480,
{
"input": [
- 477,
+ 478,
"SetupOIDCSsoInput!"
]
}
@@ -6832,14 +6832,14 @@ export default {
"String!"
],
"objectMetadataId": [
- 515,
+ 516,
"UUID!"
],
"properties": [
308
],
"recordId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -6939,16 +6939,16 @@ export default {
}
],
"createSAMLIdentityProvider": [
- 479,
+ 480,
{
"input": [
- 478,
+ 479,
"SetupSAMLSsoInput!"
]
}
],
"createSkill": [
- 482,
+ 483,
{
"input": [
191,
@@ -6968,7 +6968,7 @@ export default {
"BillingPlanKey!"
],
"recurringInterval": [
- 488,
+ 489,
"SubscriptionInterval!"
],
"requirePaymentMethod": [
@@ -6981,7 +6981,7 @@ export default {
}
],
"createUnsubscribeTopic": [
- 518,
+ 519,
{
"input": [
192,
@@ -6990,7 +6990,7 @@ export default {
}
],
"createUsageLimit": [
- 598,
+ 599,
{
"input": [
193,
@@ -6999,7 +6999,7 @@ export default {
}
],
"createValidationRule": [
- 618,
+ 619,
{
"input": [
194,
@@ -7008,7 +7008,7 @@ export default {
}
],
"createView": [
- 623,
+ 624,
{
"input": [
200,
@@ -7017,7 +7017,7 @@ export default {
}
],
"createViewField": [
- 626,
+ 627,
{
"input": [
196,
@@ -7026,7 +7026,7 @@ export default {
}
],
"createViewFieldGroup": [
- 627,
+ 628,
{
"input": [
195,
@@ -7035,7 +7035,7 @@ export default {
}
],
"createViewFilter": [
- 628,
+ 629,
{
"input": [
198,
@@ -7044,7 +7044,7 @@ export default {
}
],
"createViewFilterGroup": [
- 629,
+ 630,
{
"input": [
197,
@@ -7053,7 +7053,7 @@ export default {
}
],
"createViewGroup": [
- 632,
+ 633,
{
"input": [
199,
@@ -7062,7 +7062,7 @@ export default {
}
],
"createViewSort": [
- 635,
+ 636,
{
"input": [
201,
@@ -7071,7 +7071,7 @@ export default {
}
],
"createWebhook": [
- 639,
+ 640,
{
"input": [
202,
@@ -7080,10 +7080,10 @@ export default {
}
],
"deactivateSkill": [
- 482,
+ 483,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7092,11 +7092,11 @@ export default {
4,
{
"channelId": [
- 515,
+ 516,
"UUID!"
],
"destinationChannelId": [
- 515
+ 516
]
}
],
@@ -7116,7 +7116,7 @@ export default {
337,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7143,7 +7143,7 @@ export default {
151,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7152,19 +7152,19 @@ export default {
155,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
],
"deleteCurrentWorkspace": [
- 646
+ 647
],
"deleteEmailGroupChannel": [
337,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7182,7 +7182,7 @@ export default {
281,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7191,7 +7191,7 @@ export default {
366,
{
"ids": [
- 515,
+ 516,
"[UUID!]!"
]
}
@@ -7200,7 +7200,7 @@ export default {
4,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7209,7 +7209,7 @@ export default {
366,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7263,7 +7263,7 @@ export default {
1,
{
"roleId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7281,7 +7281,7 @@ export default {
4,
{
"messageId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7296,10 +7296,10 @@ export default {
}
],
"deleteSkill": [
- 482,
+ 483,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7308,7 +7308,7 @@ export default {
213,
{
"twoFactorAuthenticationMethodId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7326,16 +7326,16 @@ export default {
4,
{
"usageLimitId": [
- 515,
+ 516,
"UUID!"
]
}
],
"deleteUser": [
- 611
+ 612
],
"deleteUserFromWorkspace": [
- 615,
+ 616,
{
"workspaceMemberIdToDelete": [
1,
@@ -7344,10 +7344,10 @@ export default {
}
],
"deleteValidationRule": [
- 618,
+ 619,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7362,7 +7362,7 @@ export default {
}
],
"deleteViewField": [
- 626,
+ 627,
{
"input": [
215,
@@ -7371,7 +7371,7 @@ export default {
}
],
"deleteViewFieldGroup": [
- 627,
+ 628,
{
"input": [
214,
@@ -7380,7 +7380,7 @@ export default {
}
],
"deleteViewFilter": [
- 628,
+ 629,
{
"input": [
216,
@@ -7398,7 +7398,7 @@ export default {
}
],
"deleteViewGroup": [
- 632,
+ 633,
{
"input": [
217,
@@ -7416,10 +7416,10 @@ export default {
}
],
"deleteWebhook": [
- 639,
+ 640,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7470,7 +7470,7 @@ export default {
}
],
"destroyViewField": [
- 626,
+ 627,
{
"input": [
221,
@@ -7479,7 +7479,7 @@ export default {
}
],
"destroyViewFieldGroup": [
- 627,
+ 628,
{
"input": [
220,
@@ -7488,7 +7488,7 @@ export default {
}
],
"destroyViewFilter": [
- 628,
+ 629,
{
"input": [
222,
@@ -7506,7 +7506,7 @@ export default {
}
],
"destroyViewGroup": [
- 632,
+ 633,
{
"input": [
223,
@@ -7527,7 +7527,7 @@ export default {
155,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7536,7 +7536,7 @@ export default {
228,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7545,7 +7545,7 @@ export default {
229,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7570,7 +7570,7 @@ export default {
"String!"
],
"workspaceId": [
- 515
+ 516
]
}
],
@@ -7596,7 +7596,7 @@ export default {
}
],
"enrichWorkspaceCompany": [
- 650
+ 651
],
"executeOneLogicFunction": [
322,
@@ -7611,7 +7611,7 @@ export default {
37,
{
"apiKeyId": [
- 515,
+ 516,
"UUID!"
],
"expiresAt": [
@@ -7624,7 +7624,7 @@ export default {
74,
{
"applicationId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7633,16 +7633,16 @@ export default {
80
],
"generateTransientToken": [
- 498
+ 499
],
"generateTwoFactorAuthenticationRecoveryCode": [
- 512,
+ 513,
{
"otp": [
1
],
"userId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7690,7 +7690,7 @@ export default {
}
],
"getAuthTokensFromTwoFactorAuthenticationRecoveryCode": [
- 513,
+ 514,
{
"captchaToken": [
1
@@ -7760,11 +7760,11 @@ export default {
296,
{
"userId": [
- 515,
+ 516,
"UUID!"
],
"workspaceId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7822,7 +7822,7 @@ export default {
4,
{
"threadId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7831,10 +7831,10 @@ export default {
4,
{
"channelId": [
- 515
+ 516
],
"threadId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7853,7 +7853,7 @@ export default {
"String!"
],
"messageId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7884,7 +7884,7 @@ export default {
4,
{
"agentId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7911,7 +7911,7 @@ export default {
4,
{
"threadId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7939,7 +7939,7 @@ export default {
}
],
"resendWorkspaceInvitation": [
- 469,
+ 470,
{
"appTokenId": [
1,
@@ -7951,7 +7951,7 @@ export default {
151,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7984,10 +7984,10 @@ export default {
}
],
"resetTimelineActivityType": [
- 493,
+ 494,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -7999,7 +7999,7 @@ export default {
1
],
"threadId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -8020,7 +8020,7 @@ export default {
4,
{
"applicationAuthorizationId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -8029,7 +8029,7 @@ export default {
4,
{
"userId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -8038,7 +8038,7 @@ export default {
4,
{
"userSessionId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -8065,7 +8065,7 @@ export default {
59,
{
"applicationId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -8082,7 +8082,7 @@ export default {
"String!"
],
"id": [
- 515
+ 516
]
}
],
@@ -8093,18 +8093,18 @@ export default {
308
],
"channelId": [
- 515
+ 516
],
"fileAttachments": [
273,
"[FileAttachmentInput!]"
],
"mentionedWorkspaceMemberIds": [
- 515,
+ 516,
"[UUID!]"
],
"messageId": [
- 515,
+ 516,
"UUID!"
],
"modelId": [
@@ -8118,7 +8118,7 @@ export default {
"String!"
],
"threadId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -8133,40 +8133,40 @@ export default {
}
],
"sendInboxMessage": [
- 468,
+ 469,
{
"input": [
- 467,
+ 468,
"SendInboxMessageInput!"
]
}
],
"sendInvitations": [
- 469,
+ 470,
{
"emails": [
1,
"[String!]!"
],
"roleId": [
- 515
+ 516
]
}
],
"sendMessageCampaign": [
- 471,
+ 472,
{
"input": [
- 470,
+ 471,
"SendMessageCampaignInput!"
]
}
],
"sendMessageCampaignTest": [
- 466,
+ 467,
{
"input": [
- 472,
+ 473,
"SendMessageCampaignTestInput!"
]
}
@@ -8175,7 +8175,7 @@ export default {
39,
{
"input": [
- 474,
+ 475,
"SetAppKeyValueInput!"
]
}
@@ -8281,15 +8281,15 @@ export default {
}
],
"signUpInNewWorkspace": [
- 480,
+ 481,
{
"input": [
- 481
+ 482
]
}
],
"signUpInWorkspace": [
- 480,
+ 481,
{
"captchaToken": [
1
@@ -8309,7 +8309,7 @@ export default {
1
],
"workspaceId": [
- 515
+ 516
],
"workspaceInviteHash": [
1
@@ -8336,7 +8336,7 @@ export default {
"DateTime!"
],
"threadId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -8345,13 +8345,13 @@ export default {
137,
{
"connectedAccountId": [
- 515,
+ 516,
"UUID!"
]
}
],
"startWorkspaceSetupChat": [
- 484,
+ 485,
{
"companyContext": [
308
@@ -8365,13 +8365,13 @@ export default {
4,
{
"threadId": [
- 515,
+ 516,
"UUID!"
]
}
],
"stopImpersonation": [
- 485
+ 486
],
"switchBillingPlan": [
121,
@@ -8385,7 +8385,7 @@ export default {
121
],
"syncApplication": [
- 660,
+ 661,
{
"dryRun": [
4
@@ -8434,55 +8434,55 @@ export default {
}
],
"triggerAddPeopleToMessageListJob": [
- 500,
+ 501,
{
"input": [
- 499,
+ 500,
"TriggerAddPeopleToMessageListJobInput!"
]
}
],
"triggerInstallApplication": [
- 504,
+ 505,
{
"input": [
- 501,
+ 502,
"TriggerInstallApplicationInput!"
]
}
],
"triggerInstallApplicationJob": [
- 503,
+ 504,
{
"input": [
- 502,
+ 503,
"TriggerInstallApplicationJobInput!"
]
}
],
"triggerUninstallApplication": [
- 508,
+ 509,
{
"input": [
- 505,
+ 506,
"TriggerUninstallApplicationInput!"
]
}
],
"triggerUninstallApplicationJob": [
- 507,
+ 508,
{
"input": [
- 506,
+ 507,
"TriggerUninstallApplicationJobInput!"
]
}
],
"triggerUpgradeApplication": [
- 510,
+ 511,
{
"input": [
- 509,
+ 510,
"TriggerUpgradeApplicationInput!"
]
}
@@ -8500,11 +8500,11 @@ export default {
5,
{
"channelId": [
- 515,
+ 516,
"UUID!"
],
"input": [
- 520,
+ 521,
"UpdateAgentChatChannelInput!"
]
}
@@ -8520,7 +8520,7 @@ export default {
206
],
"threadIds": [
- 515,
+ 516,
"[UUID!]!"
]
}
@@ -8529,7 +8529,7 @@ export default {
35,
{
"input": [
- 522,
+ 523,
"UpdateApiKeyInput!"
]
}
@@ -8538,7 +8538,7 @@ export default {
337,
{
"input": [
- 523,
+ 524,
"UpdateAppMessageChannelInput!"
]
}
@@ -8547,11 +8547,11 @@ export default {
43,
{
"id": [
- 515,
+ 516,
"UUID!"
],
"input": [
- 524,
+ 525,
"UpdateApplicationInput!"
]
}
@@ -8560,7 +8560,7 @@ export default {
69,
{
"input": [
- 525,
+ 526,
"UpdateApplicationRegistrationInput!"
]
}
@@ -8569,7 +8569,7 @@ export default {
73,
{
"input": [
- 527,
+ 528,
"UpdateApplicationRegistrationVariableInput!"
]
}
@@ -8578,7 +8578,7 @@ export default {
124,
{
"input": [
- 529,
+ 530,
"UpdateCalendarChannelInput!"
]
}
@@ -8587,7 +8587,7 @@ export default {
151,
{
"input": [
- 531,
+ 532,
"UpdateCommandMenuItemInput!"
]
}
@@ -8596,7 +8596,7 @@ export default {
337,
{
"input": [
- 532,
+ 533,
"UpdateEmailGroupChannelInput!"
]
}
@@ -8605,7 +8605,7 @@ export default {
281,
{
"input": [
- 534,
+ 535,
"UpdateFrontComponentInput!"
]
}
@@ -8614,7 +8614,7 @@ export default {
259,
{
"input": [
- 536,
+ 537,
"UpdateLabPublicFeatureFlagInput!"
]
}
@@ -8623,7 +8623,7 @@ export default {
366,
{
"inputs": [
- 547,
+ 548,
"[UpdateOneNavigationMenuItemInput!]!"
]
}
@@ -8632,16 +8632,16 @@ export default {
369,
{
"inputs": [
- 548,
+ 549,
"[UpdateOneObjectInput!]!"
]
}
],
"updateManyViewGroups": [
- 632,
+ 633,
{
"inputs": [
- 570,
+ 571,
"[UpdateViewGroupInput!]!"
]
}
@@ -8650,7 +8650,7 @@ export default {
337,
{
"input": [
- 539,
+ 540,
"UpdateMessageChannelInput!"
]
}
@@ -8659,7 +8659,7 @@ export default {
344,
{
"input": [
- 541,
+ 542,
"UpdateMessageFolderInput!"
]
}
@@ -8668,7 +8668,7 @@ export default {
344,
{
"input": [
- 543,
+ 544,
"UpdateMessageFoldersInput!"
]
}
@@ -8694,7 +8694,7 @@ export default {
366,
{
"input": [
- 547,
+ 548,
"UpdateOneNavigationMenuItemInput!"
]
}
@@ -8703,7 +8703,7 @@ export default {
3,
{
"input": [
- 521,
+ 522,
"UpdateAgentInput!"
]
}
@@ -8712,7 +8712,7 @@ export default {
4,
{
"applicationId": [
- 515
+ 516
],
"key": [
1,
@@ -8728,7 +8728,7 @@ export default {
261,
{
"input": [
- 546,
+ 547,
"UpdateOneFieldMetadataInput!"
]
}
@@ -8737,7 +8737,7 @@ export default {
4,
{
"input": [
- 537,
+ 538,
"UpdateLogicFunctionFromSourceInput!"
]
}
@@ -8746,7 +8746,7 @@ export default {
369,
{
"input": [
- 548,
+ 549,
"UpdateOneObjectInput!"
]
}
@@ -8755,7 +8755,7 @@ export default {
442,
{
"updateRoleInput": [
- 555,
+ 556,
"UpdateRoleInput!"
]
}
@@ -8768,7 +8768,7 @@ export default {
"String!"
],
"input": [
- 549,
+ 550,
"UpdatePageLayoutInput!"
]
}
@@ -8781,7 +8781,7 @@ export default {
"String!"
],
"input": [
- 550,
+ 551,
"UpdatePageLayoutTabInput!"
]
}
@@ -8794,7 +8794,7 @@ export default {
"String!"
],
"input": [
- 552,
+ 553,
"UpdatePageLayoutWidgetInput!"
]
}
@@ -8807,7 +8807,7 @@ export default {
"String!"
],
"input": [
- 554,
+ 555,
"UpdatePageLayoutWithTabsInput!"
]
}
@@ -8826,37 +8826,37 @@ export default {
}
],
"updateSkill": [
- 482,
+ 483,
{
"input": [
- 557,
+ 558,
"UpdateSkillInput!"
]
}
],
"updateTimelineActivityType": [
- 493,
+ 494,
{
"input": [
- 558,
+ 559,
"UpdateTimelineActivityTypeInput!"
]
}
],
"updateUnsubscribeTopic": [
- 518,
+ 519,
{
"input": [
- 559,
+ 560,
"UpdateUnsubscribeTopicInput!"
]
}
],
"updateUsageLimit": [
- 598,
+ 599,
{
"input": [
- 560,
+ 561,
"UpdateUsageLimitInput!"
]
}
@@ -8865,7 +8865,7 @@ export default {
97,
{
"userCreditsFallback": [
- 613,
+ 614,
"UserCreditsFallback!"
]
}
@@ -8883,121 +8883,121 @@ export default {
}
],
"updateValidationRule": [
- 618,
+ 619,
{
"input": [
- 561,
+ 562,
"UpdateValidationRuleInput!"
]
}
],
"updateView": [
- 623,
+ 624,
{
"id": [
1,
"String!"
],
"input": [
- 572,
+ 573,
"UpdateViewInput!"
]
}
],
"updateViewField": [
- 626,
+ 627,
{
"input": [
- 565,
+ 566,
"UpdateViewFieldInput!"
]
}
],
"updateViewFieldGroup": [
- 627,
+ 628,
{
"input": [
- 563,
+ 564,
"UpdateViewFieldGroupInput!"
]
}
],
"updateViewFilter": [
- 628,
+ 629,
{
"input": [
- 568,
+ 569,
"UpdateViewFilterInput!"
]
}
],
"updateViewFilterGroup": [
- 629,
+ 630,
{
"id": [
1,
"String!"
],
"input": [
- 567,
+ 568,
"UpdateViewFilterGroupInput!"
]
}
],
"updateViewGroup": [
- 632,
+ 633,
{
"input": [
- 570,
+ 571,
"UpdateViewGroupInput!"
]
}
],
"updateViewSort": [
- 635,
+ 636,
{
"input": [
- 573,
+ 574,
"UpdateViewSortInput!"
]
}
],
"updateWebhook": [
- 639,
+ 640,
{
"input": [
- 575,
+ 576,
"UpdateWebhookInput!"
]
}
],
"updateWorkspace": [
- 646,
+ 647,
{
"data": [
- 578,
+ 579,
"UpdateWorkspaceInput!"
]
}
],
"updateWorkspaceAllowedIframeOrigins": [
- 646,
+ 647,
{
"data": [
- 577,
+ 578,
"UpdateWorkspaceAllowedIframeOriginsInput!"
]
}
],
"updateWorkspaceMemberRole": [
- 655,
+ 656,
{
"roleId": [
- 515,
+ 516,
"UUID!"
],
"workspaceMemberId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -9006,7 +9006,7 @@ export default {
4,
{
"input": [
- 579,
+ 580,
"UpdateWorkspaceMemberSettingsInput!"
]
}
@@ -9028,7 +9028,7 @@ export default {
69,
{
"file": [
- 580,
+ 581,
"Upload!"
],
"universalIdentifier": [
@@ -9044,7 +9044,7 @@ export default {
"String!"
],
"file": [
- 580,
+ 581,
"Upload!"
],
"fileFolder": [
@@ -9065,7 +9065,7 @@ export default {
"String!"
],
"file": [
- 580,
+ 581,
"Upload!"
]
}
@@ -9074,7 +9074,7 @@ export default {
276,
{
"file": [
- 580,
+ 581,
"Upload!"
],
"workspaceId": [
@@ -9087,7 +9087,7 @@ export default {
276,
{
"file": [
- 580,
+ 581,
"Upload!"
]
}
@@ -9096,7 +9096,7 @@ export default {
276,
{
"file": [
- 580,
+ 581,
"Upload!"
]
}
@@ -9105,16 +9105,16 @@ export default {
268,
{
"upsertFieldPermissionsInput": [
- 581,
+ 582,
"UpsertFieldPermissionsInput!"
]
}
],
"upsertFieldsWidget": [
- 623,
+ 624,
{
"input": [
- 584,
+ 585,
"UpsertFieldsWidgetInput!"
]
}
@@ -9123,7 +9123,7 @@ export default {
377,
{
"upsertObjectPermissionsInput": [
- 585,
+ 586,
"UpsertObjectPermissionsInput!"
]
}
@@ -9132,25 +9132,25 @@ export default {
443,
{
"upsertPermissionFlagsInput": [
- 586,
+ 587,
"UpsertPermissionFlagsInput!"
]
}
],
"upsertRowLevelPermissionPredicates": [
- 588,
+ 589,
{
"input": [
- 587,
+ 588,
"UpsertRowLevelPermissionPredicatesInput!"
]
}
],
"upsertViewWidget": [
- 623,
+ 624,
{
"input": [
- 589,
+ 590,
"UpsertViewWidgetInput!"
]
}
@@ -9159,13 +9159,13 @@ export default {
77,
{
"input": [
- 616,
+ 617,
"ValidateApprovedAccessDomainInput!"
]
}
],
"verifyEmailAndGetLoginToken": [
- 620,
+ 621,
{
"captchaToken": [
1
@@ -9210,7 +9210,7 @@ export default {
}
],
"verifyTwoFactorAuthenticationMethodForAuthenticatedUser": [
- 621,
+ 622,
{
"otp": [
1,
@@ -9235,10 +9235,10 @@ export default {
},
"NavigationMenuItem": {
"agentChatChannelId": [
- 515
+ 516
],
"applicationId": [
- 515
+ 516
],
"color": [
1
@@ -9247,13 +9247,13 @@ export default {
206
],
"folderId": [
- 515
+ 516
],
"icon": [
1
],
"id": [
- 515
+ 516
],
"link": [
1
@@ -9262,16 +9262,16 @@ export default {
1
],
"pageLayoutId": [
- 515
+ 516
],
"position": [
6
],
"targetObjectMetadataId": [
- 515
+ 516
],
"targetRecordId": [
- 515
+ 516
],
"targetRecordIdentifier": [
422
@@ -9283,10 +9283,10 @@ export default {
206
],
"userWorkspaceId": [
- 515
+ 516
],
"viewId": [
- 515
+ 516
],
"__typename": [
1
@@ -9295,7 +9295,7 @@ export default {
"NavigationMenuItemType": {},
"NotesConfiguration": {
"configurationType": [
- 641
+ 642
],
"__typename": [
1
@@ -9303,7 +9303,7 @@ export default {
},
"Object": {
"applicationId": [
- 515
+ 516
],
"color": [
1
@@ -9337,10 +9337,10 @@ export default {
1
],
"id": [
- 515
+ 516
],
"imageIdentifierFieldMetadataId": [
- 515
+ 516
],
"indexMetadataList": [
297
@@ -9383,7 +9383,7 @@ export default {
4
],
"labelIdentifierFieldMetadataId": [
- 515
+ 516
],
"labelPlural": [
1
@@ -9404,7 +9404,7 @@ export default {
354
],
"readabilityParentFieldUniversalIdentifiers": [
- 515
+ 516
],
"searchFieldMetadataList": [
461
@@ -9466,7 +9466,7 @@ export default {
373
],
"id": [
- 516
+ 517
],
"isActive": [
123
@@ -9493,7 +9493,7 @@ export default {
373
],
"universalIdentifier": [
- 516
+ 517
],
"__typename": [
1
@@ -9512,7 +9512,7 @@ export default {
},
"ObjectMetadataCommandMenuItemPayload": {
"objectMetadataItemId": [
- 515
+ 516
],
"__typename": [
1
@@ -9533,7 +9533,7 @@ export default {
4
],
"objectMetadataId": [
- 515
+ 516
],
"restrictedFields": [
308
@@ -9562,7 +9562,7 @@ export default {
4
],
"objectMetadataId": [
- 515
+ 516
],
"__typename": [
1
@@ -9672,19 +9672,19 @@ export default {
},
"PageLayout": {
"applicationId": [
- 515
+ 516
],
"createdAt": [
206
],
"defaultTabToFocusOnMobileAndSidePanelId": [
- 515
+ 516
],
"deletedAt": [
206
],
"id": [
- 515
+ 516
],
"isFirstTabPinned": [
4
@@ -9696,7 +9696,7 @@ export default {
1
],
"objectMetadataId": [
- 515
+ 516
],
"tabs": [
391
@@ -9705,7 +9705,7 @@ export default {
393
],
"universalIdentifier": [
- 515
+ 516
],
"updatedAt": [
206
@@ -9716,7 +9716,7 @@ export default {
},
"PageLayoutTab": {
"applicationId": [
- 515
+ 516
],
"createdAt": [
206
@@ -9728,7 +9728,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isActive": [
4
@@ -9743,7 +9743,7 @@ export default {
392
],
"pageLayoutId": [
- 515
+ 516
],
"position": [
6
@@ -9752,7 +9752,7 @@ export default {
1
],
"universalIdentifier": [
- 515
+ 516
],
"updatedAt": [
206
@@ -9768,7 +9768,7 @@ export default {
"PageLayoutType": {},
"PageLayoutWidget": {
"applicationId": [
- 515
+ 516
],
"conditionalAvailabilityExpression": [
1
@@ -9777,7 +9777,7 @@ export default {
308
],
"configuration": [
- 640
+ 641
],
"createdAt": [
206
@@ -9789,7 +9789,7 @@ export default {
290
],
"id": [
- 515
+ 516
],
"isActive": [
4
@@ -9801,10 +9801,10 @@ export default {
4
],
"objectMetadataId": [
- 515
+ 516
],
"pageLayoutTabId": [
- 515
+ 516
],
"position": [
397
@@ -9813,10 +9813,10 @@ export default {
1
],
"type": [
- 642
+ 643
],
"universalIdentifier": [
- 515
+ 516
],
"updatedAt": [
206
@@ -9892,7 +9892,7 @@ export default {
},
"PermissionFlag": {
"applicationId": [
- 515
+ 516
],
"createdAt": [
206
@@ -9904,7 +9904,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"key": [
1
@@ -9916,7 +9916,7 @@ export default {
1
],
"universalIdentifier": [
- 515
+ 516
],
"updatedAt": [
206
@@ -9928,7 +9928,7 @@ export default {
"PermissionFlagType": {},
"PieChartConfiguration": {
"aggregateFieldMetadataId": [
- 515
+ 516
],
"aggregateOperation": [
26
@@ -9937,7 +9937,7 @@ export default {
1
],
"configurationType": [
- 641
+ 642
],
"dateGranularity": [
383
@@ -9958,7 +9958,7 @@ export default {
10
],
"groupByFieldMetadataId": [
- 515
+ 516
],
"groupBySubFieldName": [
1
@@ -10016,7 +10016,7 @@ export default {
308
],
"objectMetadataId": [
- 515
+ 516
],
"__typename": [
1
@@ -10091,7 +10091,7 @@ export default {
},
"PublicApplicationRegistration": {
"id": [
- 515
+ 516
],
"logoUrl": [
1
@@ -10128,7 +10128,7 @@ export default {
},
"PublicDomain": {
"applicationId": [
- 515
+ 516
],
"createdAt": [
206
@@ -10137,7 +10137,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isValidated": [
4
@@ -10199,13 +10199,13 @@ export default {
1
],
"id": [
- 515
+ 516
],
"logo": [
1
],
"workspaceUrls": [
- 664
+ 665
],
"__typename": [
1
@@ -10216,7 +10216,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"logo": [
1
@@ -10242,7 +10242,7 @@ export default {
7
],
"channelId": [
- 515,
+ 516,
"UUID!"
],
"first": [
@@ -10263,7 +10263,7 @@ export default {
23,
{
"agentId": [
- 515,
+ 516,
"UUID!"
],
"limit": [
@@ -10328,7 +10328,7 @@ export default {
46,
{
"applicationId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -10337,7 +10337,7 @@ export default {
47,
{
"applicationId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -10364,7 +10364,7 @@ export default {
460,
{
"applicationId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -10390,10 +10390,10 @@ export default {
}
],
"callRecordingIdForCalendarEvent": [
- 515,
+ 516,
{
"calendarEventId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -10402,7 +10402,7 @@ export default {
20,
{
"threadId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -10411,7 +10411,7 @@ export default {
140,
{
"threadId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -10420,7 +10420,7 @@ export default {
16,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -10438,7 +10438,7 @@ export default {
}
],
"checkWorkspaceInviteHashIsValid": [
- 654,
+ 655,
{
"inviteHash": [
1,
@@ -10447,7 +10447,7 @@ export default {
}
],
"checkWorkspaceSubdomainAvailability": [
- 486,
+ 487,
{
"subdomain": [
1,
@@ -10459,7 +10459,7 @@ export default {
151,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -10468,16 +10468,16 @@ export default {
151
],
"currentUser": [
- 611
+ 612
],
"currentUserApplicationAuthorizations": [
44
],
"currentUserSessions": [
- 614
+ 615
],
"currentWorkspace": [
- 646
+ 647
],
"enterpriseCheckoutSession": [
1,
@@ -10511,7 +10511,7 @@ export default {
49,
{
"universalIdentifier": [
- 515,
+ 516,
"UUID!"
]
}
@@ -10520,7 +10520,7 @@ export default {
261,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -10664,10 +10664,10 @@ export default {
43,
{
"id": [
- 515
+ 516
],
"universalIdentifier": [
- 515
+ 516
]
}
],
@@ -10714,10 +10714,10 @@ export default {
}
],
"findWorkspaceAiStats": [
- 648
+ 649
],
"findWorkspaceFromInviteHash": [
- 646,
+ 647,
{
"inviteHash": [
1,
@@ -10726,13 +10726,13 @@ export default {
}
],
"findWorkspaceInvitations": [
- 653
+ 654
],
"frontComponent": [
281,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -10794,7 +10794,7 @@ export default {
157,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -10894,7 +10894,7 @@ export default {
418,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -10906,7 +10906,7 @@ export default {
442,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -10918,7 +10918,7 @@ export default {
278
],
"getToolIndex": [
- 497
+ 498
],
"getToolInputSchema": [
308,
@@ -10930,15 +10930,15 @@ export default {
}
],
"getUsageAnalytics": [
- 595,
+ 596,
{
"input": [
- 596
+ 597
]
}
],
"getView": [
- 623,
+ 624,
{
"id": [
1,
@@ -10947,7 +10947,7 @@ export default {
}
],
"getViewField": [
- 626,
+ 627,
{
"id": [
1,
@@ -10956,7 +10956,7 @@ export default {
}
],
"getViewFieldGroup": [
- 627,
+ 628,
{
"id": [
1,
@@ -10965,7 +10965,7 @@ export default {
}
],
"getViewFieldGroups": [
- 627,
+ 628,
{
"viewId": [
1,
@@ -10974,7 +10974,7 @@ export default {
}
],
"getViewFields": [
- 626,
+ 627,
{
"viewId": [
1,
@@ -10983,7 +10983,7 @@ export default {
}
],
"getViewFilter": [
- 628,
+ 629,
{
"id": [
1,
@@ -10992,7 +10992,7 @@ export default {
}
],
"getViewFilterGroup": [
- 629,
+ 630,
{
"id": [
1,
@@ -11001,7 +11001,7 @@ export default {
}
],
"getViewFilterGroups": [
- 629,
+ 630,
{
"viewId": [
1
@@ -11009,7 +11009,7 @@ export default {
}
],
"getViewFilters": [
- 628,
+ 629,
{
"viewId": [
1
@@ -11017,7 +11017,7 @@ export default {
}
],
"getViewGroup": [
- 632,
+ 633,
{
"id": [
1,
@@ -11026,7 +11026,7 @@ export default {
}
],
"getViewGroups": [
- 632,
+ 633,
{
"viewId": [
1
@@ -11034,7 +11034,7 @@ export default {
}
],
"getViewSort": [
- 635,
+ 636,
{
"id": [
1,
@@ -11043,7 +11043,7 @@ export default {
}
],
"getViewSorts": [
- 635,
+ 636,
{
"viewId": [
1
@@ -11051,19 +11051,19 @@ export default {
}
],
"getViews": [
- 623,
+ 624,
{
"objectMetadataId": [
1
],
"viewTypes": [
- 637,
+ 638,
"[ViewType!]"
]
}
],
"getWorkspaceCreationDefaults": [
- 651
+ 652
],
"githubClaimAuthorizationUrl": [
1,
@@ -11117,10 +11117,10 @@ export default {
360
],
"mostlyEmptyFieldMetadataIds": [
- 515,
+ 516,
{
"objectMetadataId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -11132,7 +11132,7 @@ export default {
124,
{
"connectedAccountId": [
- 515
+ 516
]
}
],
@@ -11143,7 +11143,7 @@ export default {
337,
{
"connectedAccountId": [
- 515
+ 516
]
}
],
@@ -11151,18 +11151,18 @@ export default {
344,
{
"messageChannelId": [
- 515
+ 516
]
}
],
"myUserApplicationVariables": [
- 656
+ 657
],
"navigationMenuItem": [
366,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -11174,7 +11174,7 @@ export default {
369,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
@@ -11259,52 +11259,52 @@ export default {
}
],
"skill": [
- 482,
+ 483,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
],
"skills": [
- 482
+ 483
],
"timelineActivityTypes": [
- 493
+ 494
],
"twoFactorAuthenticationRecoveryStatus": [
- 514,
+ 515,
{
"userId": [
- 515,
+ 516,
"UUID!"
]
}
],
"unsubscribeTopics": [
- 518
+ 519
],
"usageLimits": [
- 598
+ 599
],
"usageQuotaDefinitions": [
- 602
+ 603
],
"usageQuotaScopeConsumption": [
- 604,
+ 605,
{
"input": [
- 605,
+ 606,
"UsageQuotaScopeInput!"
]
}
],
"usageQuotasWithConsumption": [
- 606
+ 607
],
"validatePasswordResetToken": [
- 617,
+ 618,
{
"passwordResetToken": [
1,
@@ -11313,25 +11313,25 @@ export default {
}
],
"validationRules": [
- 618,
+ 619,
{
"objectMetadataId": [
- 515,
+ 516,
"UUID!"
]
}
],
"webhook": [
- 639,
+ 640,
{
"id": [
- 515,
+ 516,
"UUID!"
]
}
],
"webhooks": [
- 639
+ 640
],
"__typename": [
1
@@ -11339,7 +11339,7 @@ export default {
},
"RatioAggregateConfig": {
"fieldMetadataId": [
- 515
+ 516
],
"optionValue": [
1
@@ -11359,7 +11359,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"progress": [
10
@@ -11370,7 +11370,7 @@ export default {
},
"RecordIdentifier": {
"id": [
- 515
+ 516
],
"imageIdentifier": [
1
@@ -11401,13 +11401,13 @@ export default {
},
"RecordPermissionsResult": {
"objectMetadataId": [
- 515
+ 516
],
"permissions": [
423
],
"recordId": [
- 515
+ 516
],
"__typename": [
1
@@ -11416,10 +11416,10 @@ export default {
"RecordShareAccessLevel": {},
"RecordSharePrincipalInput": {
"roleId": [
- 515
+ 516
],
"workspaceMemberId": [
- 515
+ 516
],
"__typename": [
1
@@ -11464,10 +11464,10 @@ export default {
17
],
"principalId": [
- 515
+ 516
],
"principalRoleId": [
- 515
+ 516
],
"principalType": [
427
@@ -11488,7 +11488,7 @@ export default {
4
],
"id": [
- 515
+ 516
],
"label": [
1
@@ -11499,7 +11499,7 @@ export default {
},
"RecordTableConfiguration": {
"configurationType": [
- 641
+ 642
],
"isUIEditable": [
4
@@ -11516,10 +11516,10 @@ export default {
},
"RecordTargetInput": {
"objectMetadataId": [
- 515
+ 516
],
"recordId": [
- 515
+ 516
],
"__typename": [
1
@@ -11578,7 +11578,7 @@ export default {
},
"RevokeApiKeyInput": {
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -11606,7 +11606,7 @@ export default {
36
],
"applicationId": [
- 515
+ 516
],
"canAccessAllAgentChatChannels": [
4
@@ -11648,7 +11648,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isEditable": [
4
@@ -11669,10 +11669,10 @@ export default {
445
],
"universalIdentifier": [
- 515
+ 516
],
"workspaceMembers": [
- 655
+ 656
],
"__typename": [
1
@@ -11683,10 +11683,10 @@ export default {
1
],
"id": [
- 515
+ 516
],
"roleId": [
- 515
+ 516
],
"__typename": [
1
@@ -11763,16 +11763,16 @@ export default {
},
"RowLevelPermissionPredicateGroupInput": {
"id": [
- 515
+ 516
],
"logicalOperator": [
448
],
"objectMetadataId": [
- 515
+ 516
],
"parentRowLevelPermissionPredicateGroupId": [
- 515
+ 516
],
"positionInRowLevelPermissionPredicateGroup": [
6
@@ -11784,10 +11784,10 @@ export default {
"RowLevelPermissionPredicateGroupLogicalOperator": {},
"RowLevelPermissionPredicateInput": {
"fieldMetadataId": [
- 515
+ 516
],
"id": [
- 515
+ 516
],
"operand": [
450
@@ -11796,7 +11796,7 @@ export default {
6
],
"rowLevelPermissionPredicateGroupId": [
- 515
+ 516
],
"subFieldName": [
1
@@ -11835,7 +11835,7 @@ export default {
308
],
"runAsWorkspaceMemberId": [
- 515
+ 516
],
"thread": [
456
@@ -11849,7 +11849,7 @@ export default {
},
"RunAgentMessageAttachmentInput": {
"fileId": [
- 515
+ 516
],
"filename": [
1
@@ -11887,7 +11887,7 @@ export default {
4
],
"threadId": [
- 515
+ 516
],
"__typename": [
1
@@ -11906,7 +11906,7 @@ export default {
},
"SSOConnection": {
"id": [
- 515
+ 516
],
"issuer": [
1
@@ -11926,7 +11926,7 @@ export default {
},
"SSOIdentityProvider": {
"id": [
- 515
+ 516
],
"issuer": [
1
@@ -11961,16 +11961,16 @@ export default {
206
],
"fieldMetadataId": [
- 515
+ 516
],
"id": [
- 515
+ 516
],
"position": [
6
],
"tsVectorFieldMetadataId": [
- 515
+ 516
],
"updatedAt": [
206
@@ -11981,7 +11981,7 @@ export default {
},
"SendChatMessageResult": {
"mentionedParticipantWorkspaceMemberIds": [
- 515
+ 516
],
"messageId": [
1
@@ -12035,6 +12035,9 @@ export default {
"subject": [
1
],
+ "targetRecord": [
+ 466
+ ],
"to": [
1
],
@@ -12056,6 +12059,17 @@ export default {
1
]
},
+ "SendEmailTargetRecordInput": {
+ "objectNameSingular": [
+ 1
+ ],
+ "recordId": [
+ 516
+ ],
+ "__typename": [
+ 1
+ ]
+ },
"SendEmailViaDomainOutput": {
"messageId": [
1
@@ -12081,7 +12095,7 @@ export default {
308
],
"workspaceMemberIds": [
- 515
+ 516
],
"__typename": [
1
@@ -12089,7 +12103,7 @@ export default {
},
"SendInboxMessageResult": {
"threadId": [
- 515
+ 516
],
"__typename": [
1
@@ -12100,7 +12114,7 @@ export default {
1
],
"result": [
- 653
+ 654
],
"success": [
4
@@ -12187,31 +12201,31 @@ export default {
},
"SettingsMenuItem": {
"applicationId": [
- 515
+ 516
],
"createdAt": [
206
],
"frontComponentId": [
- 515
+ 516
],
"icon": [
1
],
"id": [
- 515
+ 516
],
"position": [
6
],
"scope": [
- 476
+ 477
],
"title": [
1
],
"universalIdentifier": [
- 515
+ 516
],
"updatedAt": [
206
@@ -12246,7 +12260,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"issuer": [
1
@@ -12263,7 +12277,7 @@ export default {
},
"SetupSso": {
"id": [
- 515
+ 516
],
"issuer": [
1
@@ -12286,7 +12300,7 @@ export default {
80
],
"workspace": [
- 665
+ 666
],
"__typename": [
1
@@ -12308,7 +12322,7 @@ export default {
},
"Skill": {
"applicationId": [
- 515
+ 516
],
"content": [
1
@@ -12323,7 +12337,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isActive": [
4
@@ -12352,7 +12366,7 @@ export default {
441
],
"configurationType": [
- 641
+ 642
],
"__typename": [
1
@@ -12360,7 +12374,7 @@ export default {
},
"StartWorkspaceSetupChatResult": {
"outcome": [
- 663
+ 664
],
"thread": [
16
@@ -12430,7 +12444,7 @@ export default {
13,
{
"threadId": [
- 515,
+ 516,
"UUID!"
]
}
@@ -12452,7 +12466,7 @@ export default {
"SubscriptionStatus": {},
"Support": {
"supportDriver": [
- 491
+ 492
],
"supportFrontChatId": [
1
@@ -12464,7 +12478,7 @@ export default {
"SupportDriver": {},
"TasksConfiguration": {
"configurationType": [
- 641
+ 642
],
"__typename": [
1
@@ -12475,22 +12489,22 @@ export default {
1
],
"applicationId": [
- 515
+ 516
],
"createdAt": [
206
],
"emit": [
- 494
+ 495
],
"frontComponentUniversalIdentifier": [
- 515
+ 516
],
"icon": [
1
],
"id": [
- 515
+ 516
],
"isActive": [
4
@@ -12502,13 +12516,13 @@ export default {
1
],
"objectUniversalIdentifier": [
- 515
+ 516
],
"replacesTimelineActivityTypeUniversalIdentifier": [
- 515
+ 516
],
"universalIdentifier": [
- 515
+ 516
],
"updatedAt": [
206
@@ -12519,13 +12533,13 @@ export default {
},
"TimelineActivityTypeEmit": {
"objectUniversalIdentifier": [
- 515
+ 516
],
"on": [
1
],
"through": [
- 495
+ 496
],
"__typename": [
1
@@ -12533,13 +12547,13 @@ export default {
},
"TimelineActivityTypeEmitThrough": {
"happensAtFieldUniversalIdentifier": [
- 515
+ 516
],
"relationFieldUniversalIdentifier": [
- 515
+ 516
],
"triggerFieldUniversalIdentifiers": [
- 515
+ 516
],
"__typename": [
1
@@ -12547,7 +12561,7 @@ export default {
},
"TimelineConfiguration": {
"configurationType": [
- 641
+ 642
],
"__typename": [
1
@@ -12595,7 +12609,7 @@ export default {
},
"TriggerAddPeopleToMessageListJobInput": {
"messageListId": [
- 515
+ 516
],
"personFilter": [
308
@@ -12703,7 +12717,7 @@ export default {
1
],
"twoFactorAuthenticationMethodId": [
- 515
+ 516
],
"__typename": [
1
@@ -12748,19 +12762,19 @@ export default {
"UUID": {},
"UUIDFilterComparison": {
"eq": [
- 515
+ 516
],
"gt": [
- 515
+ 516
],
"gte": [
- 515
+ 516
],
"iLike": [
- 515
+ 516
],
"in": [
- 515
+ 516
],
"is": [
4
@@ -12769,25 +12783,25 @@ export default {
4
],
"like": [
- 515
+ 516
],
"lt": [
- 515
+ 516
],
"lte": [
- 515
+ 516
],
"neq": [
- 515
+ 516
],
"notILike": [
- 515
+ 516
],
"notIn": [
- 515
+ 516
],
"notLike": [
- 515
+ 516
],
"__typename": [
1
@@ -12802,7 +12816,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"name": [
1
@@ -12811,7 +12825,7 @@ export default {
206
],
"visibility": [
- 519
+ 520
],
"__typename": [
1
@@ -12832,7 +12846,7 @@ export default {
6
],
"roleIds": [
- 515
+ 516
],
"__typename": [
1
@@ -12846,7 +12860,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"label": [
1
@@ -12867,7 +12881,7 @@ export default {
308
],
"roleId": [
- 515
+ 516
],
"triggers": [
308
@@ -12881,7 +12895,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"name": [
1
@@ -12898,7 +12912,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isSyncEnabled": [
4
@@ -12923,7 +12937,7 @@ export default {
1
],
"update": [
- 526
+ 527
],
"__typename": [
1
@@ -12948,7 +12962,7 @@ export default {
1
],
"update": [
- 528
+ 529
],
"__typename": [
1
@@ -12970,10 +12984,10 @@ export default {
},
"UpdateCalendarChannelInput": {
"id": [
- 515
+ 516
],
"update": [
- 530
+ 531
],
"__typename": [
1
@@ -13001,7 +13015,7 @@ export default {
},
"UpdateCommandMenuItemInput": {
"availabilityObjectMetadataId": [
- 515
+ 516
],
"availabilityType": [
152
@@ -13016,7 +13030,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isPinned": [
4
@@ -13025,7 +13039,7 @@ export default {
1
],
"pageLayoutId": [
- 515
+ 516
],
"position": [
6
@@ -13042,7 +13056,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -13095,7 +13109,7 @@ export default {
1
],
"objectMetadataId": [
- 515
+ 516
],
"options": [
308
@@ -13115,10 +13129,10 @@ export default {
},
"UpdateFrontComponentInput": {
"id": [
- 515
+ 516
],
"update": [
- 535
+ 536
],
"__typename": [
1
@@ -13148,10 +13162,10 @@ export default {
},
"UpdateLogicFunctionFromSourceInput": {
"id": [
- 515
+ 516
],
"update": [
- 538
+ 539
],
"__typename": [
1
@@ -13197,10 +13211,10 @@ export default {
},
"UpdateMessageChannelInput": {
"id": [
- 515
+ 516
],
"update": [
- 540
+ 541
],
"__typename": [
1
@@ -13234,10 +13248,10 @@ export default {
},
"UpdateMessageFolderInput": {
"id": [
- 515
+ 516
],
"update": [
- 542
+ 543
],
"__typename": [
1
@@ -13253,10 +13267,10 @@ export default {
},
"UpdateMessageFoldersInput": {
"ids": [
- 515
+ 516
],
"update": [
- 542
+ 543
],
"__typename": [
1
@@ -13267,7 +13281,7 @@ export default {
1
],
"folderId": [
- 515
+ 516
],
"icon": [
1
@@ -13279,7 +13293,7 @@ export default {
1
],
"pageLayoutId": [
- 515
+ 516
],
"position": [
6
@@ -13299,7 +13313,7 @@ export default {
1
],
"imageIdentifierFieldMetadataId": [
- 515
+ 516
],
"isActive": [
4
@@ -13311,7 +13325,7 @@ export default {
4
],
"labelIdentifierFieldMetadataId": [
- 515
+ 516
],
"labelPlural": [
1
@@ -13346,10 +13360,10 @@ export default {
},
"UpdateOneFieldMetadataInput": {
"id": [
- 515
+ 516
],
"update": [
- 533
+ 534
],
"__typename": [
1
@@ -13357,10 +13371,10 @@ export default {
},
"UpdateOneNavigationMenuItemInput": {
"id": [
- 515
+ 516
],
"update": [
- 544
+ 545
],
"__typename": [
1
@@ -13368,10 +13382,10 @@ export default {
},
"UpdateOneObjectInput": {
"id": [
- 515
+ 516
],
"update": [
- 545
+ 546
],
"__typename": [
1
@@ -13382,7 +13396,7 @@ export default {
1
],
"objectMetadataId": [
- 515
+ 516
],
"type": [
393
@@ -13413,7 +13427,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"layoutMode": [
392
@@ -13425,7 +13439,7 @@ export default {
1
],
"widgets": [
- 553
+ 554
],
"__typename": [
1
@@ -13445,10 +13459,10 @@ export default {
4
],
"objectMetadataId": [
- 515
+ 516
],
"pageLayoutTabId": [
- 515
+ 516
],
"position": [
308
@@ -13457,7 +13471,7 @@ export default {
1
],
"type": [
- 642
+ 643
],
"__typename": [
1
@@ -13474,13 +13488,13 @@ export default {
308
],
"id": [
- 515
+ 516
],
"objectMetadataId": [
- 515
+ 516
],
"pageLayoutTabId": [
- 515
+ 516
],
"position": [
308
@@ -13489,7 +13503,7 @@ export default {
1
],
"type": [
- 642
+ 643
],
"__typename": [
1
@@ -13503,10 +13517,10 @@ export default {
1
],
"objectMetadataId": [
- 515
+ 516
],
"tabs": [
- 551
+ 552
],
"type": [
393
@@ -13517,10 +13531,10 @@ export default {
},
"UpdateRoleInput": {
"id": [
- 515
+ 516
],
"update": [
- 556
+ 557
],
"__typename": [
1
@@ -13581,7 +13595,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isActive": [
4
@@ -13601,7 +13615,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isActive": [
4
@@ -13627,7 +13641,7 @@ export default {
1
],
"visibility": [
- 519
+ 520
],
"__typename": [
1
@@ -13635,7 +13649,7 @@ export default {
},
"UpdateUsageLimitInput": {
"id": [
- 515
+ 516
],
"payload": [
193
@@ -13646,10 +13660,10 @@ export default {
},
"UpdateValidationRuleInput": {
"id": [
- 515
+ 516
],
"update": [
- 562
+ 563
],
"__typename": [
1
@@ -13660,7 +13674,7 @@ export default {
1
],
"errorFieldMetadataId": [
- 515
+ 516
],
"expression": [
1
@@ -13683,10 +13697,10 @@ export default {
},
"UpdateViewFieldGroupInput": {
"id": [
- 515
+ 516
],
"update": [
- 564
+ 565
],
"__typename": [
1
@@ -13711,10 +13725,10 @@ export default {
},
"UpdateViewFieldInput": {
"id": [
- 515
+ 516
],
"update": [
- 566
+ 567
],
"__typename": [
1
@@ -13734,7 +13748,7 @@ export default {
6
],
"viewFieldGroupId": [
- 515
+ 516
],
"__typename": [
1
@@ -13742,19 +13756,19 @@ export default {
},
"UpdateViewFilterGroupInput": {
"id": [
- 515
+ 516
],
"logicalOperator": [
- 630
+ 631
],
"parentViewFilterGroupId": [
- 515
+ 516
],
"positionInViewFilterGroup": [
6
],
"viewId": [
- 515
+ 516
],
"__typename": [
1
@@ -13762,10 +13776,10 @@ export default {
},
"UpdateViewFilterInput": {
"id": [
- 515
+ 516
],
"update": [
- 569
+ 570
],
"__typename": [
1
@@ -13773,16 +13787,16 @@ export default {
},
"UpdateViewFilterInputUpdates": {
"fieldMetadataId": [
- 515
+ 516
],
"operand": [
- 631
+ 632
],
"positionInViewFilterGroup": [
6
],
"relationTargetFieldMetadataId": [
- 515
+ 516
],
"subFieldName": [
1
@@ -13791,7 +13805,7 @@ export default {
308
],
"viewFilterGroupId": [
- 515
+ 516
],
"__typename": [
1
@@ -13799,10 +13813,10 @@ export default {
},
"UpdateViewGroupInput": {
"id": [
- 515
+ 516
],
"update": [
- 571
+ 572
],
"__typename": [
1
@@ -13810,7 +13824,7 @@ export default {
},
"UpdateViewGroupInputUpdates": {
"fieldMetadataId": [
- 515
+ 516
],
"fieldValue": [
1
@@ -13830,13 +13844,13 @@ export default {
1
],
"calendarEndFieldMetadataId": [
- 515
+ 516
],
"calendarFieldMetadataId": [
- 515
+ 516
],
"calendarLayout": [
- 624
+ 625
],
"groupLoadLimit": [
10
@@ -13845,7 +13859,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isCompact": [
4
@@ -13854,19 +13868,19 @@ export default {
26
],
"kanbanAggregateOperationFieldMetadataId": [
- 515
+ 516
],
"kanbanColumnWidth": [
10
],
"mainGroupByFieldMetadataId": [
- 515
+ 516
],
"name": [
1
],
"openRecordIn": [
- 634
+ 635
],
"position": [
6
@@ -13875,10 +13889,10 @@ export default {
4
],
"type": [
- 637
+ 638
],
"visibility": [
- 638
+ 639
],
"__typename": [
1
@@ -13886,10 +13900,10 @@ export default {
},
"UpdateViewSortInput": {
"id": [
- 515
+ 516
],
"update": [
- 574
+ 575
],
"__typename": [
1
@@ -13897,7 +13911,7 @@ export default {
},
"UpdateViewSortInputUpdates": {
"direction": [
- 636
+ 637
],
"subFieldName": [
1
@@ -13908,10 +13922,10 @@ export default {
},
"UpdateWebhookInput": {
"id": [
- 515
+ 516
],
"update": [
- 576
+ 577
],
"__typename": [
1
@@ -13968,7 +13982,7 @@ export default {
1
],
"defaultRoleId": [
- 515
+ 516
],
"displayName": [
1
@@ -14028,7 +14042,7 @@ export default {
6
],
"workspaceDiscoverability": [
- 652
+ 653
],
"__typename": [
1
@@ -14039,7 +14053,7 @@ export default {
308
],
"workspaceMemberId": [
- 515
+ 516
],
"__typename": [
1
@@ -14051,7 +14065,7 @@ export default {
269
],
"roleId": [
- 515
+ 516
],
"__typename": [
1
@@ -14059,7 +14073,7 @@ export default {
},
"UpsertFieldsWidgetFieldInput": {
"fieldMetadataId": [
- 515
+ 516
],
"isVisible": [
4
@@ -14068,7 +14082,7 @@ export default {
6
],
"viewFieldId": [
- 515
+ 516
],
"__typename": [
1
@@ -14076,10 +14090,10 @@ export default {
},
"UpsertFieldsWidgetGroupInput": {
"fields": [
- 582
+ 583
],
"id": [
- 515
+ 516
],
"isVisible": [
4
@@ -14096,13 +14110,13 @@ export default {
},
"UpsertFieldsWidgetInput": {
"fields": [
- 582
+ 583
],
"groups": [
- 583
+ 584
],
"widgetId": [
- 515
+ 516
],
"__typename": [
1
@@ -14113,7 +14127,7 @@ export default {
378
],
"roleId": [
- 515
+ 516
],
"__typename": [
1
@@ -14124,7 +14138,7 @@ export default {
1
],
"roleId": [
- 515
+ 516
],
"__typename": [
1
@@ -14132,7 +14146,7 @@ export default {
},
"UpsertRowLevelPermissionPredicatesInput": {
"objectMetadataId": [
- 515
+ 516
],
"predicateGroups": [
447
@@ -14141,7 +14155,7 @@ export default {
449
],
"roleId": [
- 515
+ 516
],
"__typename": [
1
@@ -14160,22 +14174,22 @@ export default {
},
"UpsertViewWidgetInput": {
"view": [
- 593
+ 594
],
"viewFields": [
- 590
+ 591
],
"viewFilterGroups": [
- 591
+ 592
],
"viewFilters": [
- 592
+ 593
],
"viewSorts": [
- 594
+ 595
],
"widgetId": [
- 515
+ 516
],
"__typename": [
1
@@ -14186,7 +14200,7 @@ export default {
26
],
"fieldMetadataId": [
- 515
+ 516
],
"isVisible": [
4
@@ -14198,7 +14212,7 @@ export default {
6
],
"viewFieldId": [
- 515
+ 516
],
"__typename": [
1
@@ -14206,13 +14220,13 @@ export default {
},
"UpsertViewWidgetViewFilterGroupInput": {
"id": [
- 515
+ 516
],
"logicalOperator": [
- 630
+ 631
],
"parentViewFilterGroupId": [
- 515
+ 516
],
"positionInViewFilterGroup": [
6
@@ -14223,19 +14237,19 @@ export default {
},
"UpsertViewWidgetViewFilterInput": {
"fieldMetadataId": [
- 515
+ 516
],
"id": [
- 515
+ 516
],
"operand": [
- 631
+ 632
],
"positionInViewFilterGroup": [
6
],
"relationTargetFieldMetadataId": [
- 515
+ 516
],
"subFieldName": [
1
@@ -14244,7 +14258,7 @@ export default {
308
],
"viewFilterGroupId": [
- 515
+ 516
],
"__typename": [
1
@@ -14252,34 +14266,34 @@ export default {
},
"UpsertViewWidgetViewSettingsInput": {
"calendarEndFieldMetadataId": [
- 515
+ 516
],
"calendarFieldMetadataId": [
- 515
+ 516
],
"calendarLayout": [
- 624
+ 625
],
"kanbanAggregateOperation": [
26
],
"kanbanAggregateOperationFieldMetadataId": [
- 515
+ 516
],
"kanbanColumnWidth": [
10
],
"mainGroupByFieldMetadataId": [
- 515
+ 516
],
"openRecordIn": [
- 634
+ 635
],
"shouldHideEmptyGroups": [
4
],
"type": [
- 637
+ 638
],
"__typename": [
1
@@ -14287,13 +14301,13 @@ export default {
},
"UpsertViewWidgetViewSortInput": {
"direction": [
- 636
+ 637
],
"fieldMetadataId": [
- 515
+ 516
],
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -14307,22 +14321,22 @@ export default {
206
],
"timeSeries": [
- 608
+ 609
],
"usageByApplication": [
- 597
+ 598
],
"usageByModel": [
- 597
+ 598
],
"usageByOperationType": [
- 597
+ 598
],
"usageByUser": [
- 597
+ 598
],
"userDailyUsage": [
- 610
+ 611
],
"__typename": [
1
@@ -14330,7 +14344,7 @@ export default {
},
"UsageAnalyticsInput": {
"operationTypes": [
- 600
+ 601
],
"periodEnd": [
206
@@ -14373,7 +14387,7 @@ export default {
206
],
"id": [
- 515
+ 516
],
"limitKind": [
1
@@ -14382,7 +14396,7 @@ export default {
95
],
"operationType": [
- 600
+ 601
],
"periodCount": [
10
@@ -14391,7 +14405,7 @@ export default {
1
],
"resourceType": [
- 607
+ 608
],
"spenderId": [
1
@@ -14400,7 +14414,7 @@ export default {
1
],
"unit": [
- 609
+ 610
],
"updatedAt": [
206
@@ -14411,10 +14425,10 @@ export default {
},
"UsageLimitOperationDefinition": {
"allowedUnits": [
- 609
+ 610
],
"operationType": [
- 600
+ 601
],
"__typename": [
1
@@ -14423,7 +14437,7 @@ export default {
"UsageOperationType": {},
"UsageQuotaDefinition": {
"allowedOperations": [
- 599
+ 600
],
"allowedSpenderTypes": [
1
@@ -14432,10 +14446,10 @@ export default {
1
],
"operatorOnlyScopes": [
- 603
+ 604
],
"resourceType": [
- 607
+ 608
],
"__typename": [
1
@@ -14443,7 +14457,7 @@ export default {
},
"UsageQuotaDefinitions": {
"definitions": [
- 601
+ 602
],
"hasAllowancePeriod": [
4
@@ -14457,7 +14471,7 @@ export default {
},
"UsageQuotaOperatorOnlyScope": {
"operationType": [
- 600
+ 601
],
"periodUnit": [
1
@@ -14466,7 +14480,7 @@ export default {
1
],
"unit": [
- 609
+ 610
],
"__typename": [
1
@@ -14488,13 +14502,13 @@ export default {
},
"UsageQuotaScopeInput": {
"operationType": [
- 600
+ 601
],
"periodUnit": [
1
],
"resourceType": [
- 607
+ 608
],
"spenderId": [
1
@@ -14503,7 +14517,7 @@ export default {
1
],
"unit": [
- 609
+ 610
],
"__typename": [
1
@@ -14514,7 +14528,7 @@ export default {
95
],
"id": [
- 515
+ 516
],
"isEnforced": [
4
@@ -14523,7 +14537,7 @@ export default {
95
],
"operationType": [
- 600
+ 601
],
"periodEnd": [
206
@@ -14538,7 +14552,7 @@ export default {
95
],
"resourceType": [
- 607
+ 608
],
"spenderId": [
1
@@ -14550,7 +14564,7 @@ export default {
1
],
"unit": [
- 609
+ 610
],
"__typename": [
1
@@ -14574,7 +14588,7 @@ export default {
"UsageUnit": {},
"UsageUserDaily": {
"dailyUsage": [
- 608
+ 609
],
"userWorkspaceId": [
1
@@ -14597,10 +14611,10 @@ export default {
206
],
"currentUserWorkspace": [
- 615
+ 616
],
"currentWorkspace": [
- 646
+ 647
],
"deletedAt": [
206
@@ -14621,7 +14635,7 @@ export default {
4
],
"id": [
- 515
+ 516
],
"isEmailVerified": [
4
@@ -14651,16 +14665,16 @@ export default {
309
],
"userWorkspaces": [
- 615
+ 616
],
"workspaceMember": [
- 655
+ 656
],
"workspaceMembers": [
- 655
+ 656
],
"workspaces": [
- 615
+ 616
],
"__typename": [
1
@@ -14710,7 +14724,7 @@ export default {
206
],
"id": [
- 515
+ 516
],
"ipAddress": [
1
@@ -14728,7 +14742,7 @@ export default {
1
],
"workspaceId": [
- 515
+ 516
],
"__typename": [
1
@@ -14742,7 +14756,7 @@ export default {
206
],
"id": [
- 515
+ 516
],
"isImpersonating": [
4
@@ -14760,16 +14774,16 @@ export default {
402
],
"twoFactorAuthenticationMethodSummary": [
- 511
+ 512
],
"updatedAt": [
206
],
"user": [
- 611
+ 612
],
"userId": [
- 515
+ 516
],
"__typename": [
1
@@ -14777,7 +14791,7 @@ export default {
},
"ValidateApprovedAccessDomainInput": {
"approvedAccessDomainId": [
- 515
+ 516
],
"validationToken": [
1
@@ -14794,7 +14808,7 @@ export default {
4
],
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -14805,7 +14819,7 @@ export default {
1
],
"errorFieldMetadataId": [
- 515
+ 516
],
"expression": [
1
@@ -14814,7 +14828,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isActive": [
4
@@ -14826,7 +14840,7 @@ export default {
1
],
"objectMetadataId": [
- 515
+ 516
],
"__typename": [
1
@@ -14857,7 +14871,7 @@ export default {
80
],
"workspaceUrls": [
- 664
+ 665
],
"__typename": [
1
@@ -14887,22 +14901,22 @@ export default {
1
],
"applicationId": [
- 515
+ 516
],
"calendarEndFieldMetadataId": [
- 515
+ 516
],
"calendarFieldMetadataId": [
- 515
+ 516
],
"calendarLayout": [
- 624
+ 625
],
"createdAt": [
206
],
"createdByUserWorkspaceId": [
- 515
+ 516
],
"deletedAt": [
206
@@ -14914,7 +14928,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isActive": [
4
@@ -14932,25 +14946,25 @@ export default {
26
],
"kanbanAggregateOperationFieldMetadataId": [
- 515
+ 516
],
"kanbanColumnWidth": [
10
],
"key": [
- 633
+ 634
],
"mainGroupByFieldMetadataId": [
- 515
+ 516
],
"name": [
1
],
"objectMetadataId": [
- 515
+ 516
],
"openRecordIn": [
- 634
+ 635
],
"position": [
6
@@ -14959,37 +14973,37 @@ export default {
4
],
"type": [
- 637
+ 638
],
"universalIdentifier": [
- 515
+ 516
],
"updatedAt": [
206
],
"viewFieldGroups": [
- 627
+ 628
],
"viewFields": [
- 626
+ 627
],
"viewFilterGroups": [
- 629
+ 630
],
"viewFilters": [
- 628
+ 629
],
"viewGroups": [
- 632
+ 633
],
"viewSorts": [
- 635
+ 636
],
"visibility": [
- 638
+ 639
],
"workspaceId": [
- 515
+ 516
],
"__typename": [
1
@@ -14998,7 +15012,7 @@ export default {
"ViewCalendarLayout": {},
"ViewConfiguration": {
"configurationType": [
- 641
+ 642
],
"__typename": [
1
@@ -15009,7 +15023,7 @@ export default {
26
],
"applicationId": [
- 515
+ 516
],
"createdAt": [
206
@@ -15018,10 +15032,10 @@ export default {
206
],
"fieldMetadataId": [
- 515
+ 516
],
"id": [
- 515
+ 516
],
"isActive": [
4
@@ -15042,19 +15056,19 @@ export default {
6
],
"universalIdentifier": [
- 515
+ 516
],
"updatedAt": [
206
],
"viewFieldGroupId": [
- 515
+ 516
],
"viewId": [
- 515
+ 516
],
"workspaceId": [
- 515
+ 516
],
"__typename": [
1
@@ -15068,7 +15082,7 @@ export default {
206
],
"id": [
- 515
+ 516
],
"isActive": [
4
@@ -15089,13 +15103,13 @@ export default {
206
],
"viewFields": [
- 626
+ 627
],
"viewId": [
- 515
+ 516
],
"workspaceId": [
- 515
+ 516
],
"__typename": [
1
@@ -15109,19 +15123,19 @@ export default {
206
],
"fieldMetadataId": [
- 515
+ 516
],
"id": [
- 515
+ 516
],
"operand": [
- 631
+ 632
],
"positionInViewFilterGroup": [
6
],
"relationTargetFieldMetadataId": [
- 515
+ 516
],
"subFieldName": [
1
@@ -15133,13 +15147,13 @@ export default {
308
],
"viewFilterGroupId": [
- 515
+ 516
],
"viewId": [
- 515
+ 516
],
"workspaceId": [
- 515
+ 516
],
"__typename": [
1
@@ -15153,13 +15167,13 @@ export default {
206
],
"id": [
- 515
+ 516
],
"logicalOperator": [
- 630
+ 631
],
"parentViewFilterGroupId": [
- 515
+ 516
],
"positionInViewFilterGroup": [
6
@@ -15168,10 +15182,10 @@ export default {
206
],
"viewId": [
- 515
+ 516
],
"workspaceId": [
- 515
+ 516
],
"__typename": [
1
@@ -15190,7 +15204,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"isVisible": [
4
@@ -15202,10 +15216,10 @@ export default {
206
],
"viewId": [
- 515
+ 516
],
"workspaceId": [
- 515
+ 516
],
"__typename": [
1
@@ -15221,13 +15235,13 @@ export default {
206
],
"direction": [
- 636
+ 637
],
"fieldMetadataId": [
- 515
+ 516
],
"id": [
- 515
+ 516
],
"subFieldName": [
1
@@ -15236,10 +15250,10 @@ export default {
206
],
"viewId": [
- 515
+ 516
],
"workspaceId": [
- 515
+ 516
],
"__typename": [
1
@@ -15250,7 +15264,7 @@ export default {
"ViewVisibility": {},
"Webhook": {
"applicationId": [
- 515
+ 516
],
"createdAt": [
206
@@ -15262,7 +15276,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"operations": [
1
@@ -15348,25 +15362,25 @@ export default {
433
],
"on_StandaloneRichTextConfiguration": [
- 483
+ 484
],
"on_TasksConfiguration": [
- 492
+ 493
],
"on_TimelineConfiguration": [
- 496
+ 497
],
"on_ViewConfiguration": [
- 625
+ 626
],
"on_WorkflowConfiguration": [
- 643
+ 644
],
"on_WorkflowRunConfiguration": [
- 644
+ 645
],
"on_WorkflowVersionConfiguration": [
- 645
+ 646
],
"__typename": [
1
@@ -15376,7 +15390,7 @@ export default {
"WidgetType": {},
"WorkflowConfiguration": {
"configurationType": [
- 641
+ 642
],
"__typename": [
1
@@ -15384,7 +15398,7 @@ export default {
},
"WorkflowRunConfiguration": {
"configurationType": [
- 641
+ 642
],
"__typename": [
1
@@ -15392,7 +15406,7 @@ export default {
},
"WorkflowVersionConfiguration": {
"configurationType": [
- 641
+ 642
],
"__typename": [
1
@@ -15400,7 +15414,7 @@ export default {
},
"Workspace": {
"activationStatus": [
- 647
+ 648
],
"aiAdditionalInstructions": [
1
@@ -15469,7 +15483,7 @@ export default {
4
],
"id": [
- 515
+ 516
],
"installedApplications": [
43
@@ -15520,7 +15534,7 @@ export default {
1
],
"logoFileId": [
- 515
+ 516
],
"metadataVersion": [
6
@@ -15535,22 +15549,22 @@ export default {
206
],
"viewFields": [
- 626
+ 627
],
"viewFilterGroups": [
- 629
+ 630
],
"viewFilters": [
- 628
+ 629
],
"viewGroups": [
- 632
+ 633
],
"viewSorts": [
- 635
+ 636
],
"views": [
- 623
+ 624
],
"workspaceCustomApplication": [
43
@@ -15559,13 +15573,13 @@ export default {
1
],
"workspaceDiscoverability": [
- 652
+ 653
],
"workspaceMembersCount": [
6
],
"workspaceUrls": [
- 664
+ 665
],
"__typename": [
1
@@ -15595,13 +15609,13 @@ export default {
4
],
"outcome": [
- 649
+ 650
],
"personEnrichment": [
308
],
"personOutcome": [
- 662
+ 663
],
"__typename": [
1
@@ -15627,10 +15641,10 @@ export default {
206
],
"id": [
- 515
+ 516
],
"roleId": [
- 515
+ 516
],
"__typename": [
1
@@ -15655,10 +15669,10 @@ export default {
1
],
"dateFormat": [
- 657
+ 658
],
"id": [
- 515
+ 516
],
"locale": [
1
@@ -15667,7 +15681,7 @@ export default {
284
],
"numberFormat": [
- 658
+ 659
],
"openRecordIn": [
388
@@ -15676,7 +15690,7 @@ export default {
442
],
"timeFormat": [
- 659
+ 660
],
"timeZone": [
1
@@ -15688,10 +15702,10 @@ export default {
1
],
"userId": [
- 515
+ 516
],
"userWorkspaceId": [
- 515
+ 516
],
"__typename": [
1
@@ -15699,13 +15713,13 @@ export default {
},
"WorkspaceMemberApplicationVariables": {
"userWorkspaceId": [
- 515
+ 516
],
"variables": [
- 612
+ 613
],
"workspaceMemberId": [
- 515
+ 516
],
"__typename": [
1
@@ -15730,7 +15744,7 @@ export default {
1
],
"id": [
- 515
+ 516
],
"__typename": [
1
@@ -15751,10 +15765,10 @@ export default {
},
"WorkspaceUrlsAndId": {
"id": [
- 515
+ 516
],
"workspaceUrls": [
- 664
+ 665
],
"__typename": [
1
diff --git a/packages/twenty-front/src/generated-metadata/graphql.ts b/packages/twenty-front/src/generated-metadata/graphql.ts
index 58d27291057..63c1d6d9abc 100644
--- a/packages/twenty-front/src/generated-metadata/graphql.ts
+++ b/packages/twenty-front/src/generated-metadata/graphql.ts
@@ -6649,6 +6649,7 @@ export type SendEmailInput = {
fromHandle?: InputMaybe<Scalars['String']['input']>;
inReplyTo?: InputMaybe<Scalars['String']['input']>;
subject: Scalars['String']['input'];
+ targetRecord?: InputMaybe<SendEmailTargetRecordInput>;
to: Scalars['String']['input'];
};
@@ -6659,6 +6660,11 @@ export type SendEmailOutput = {
success: Scalars['Boolean']['output'];
};
+export type SendEmailTargetRecordInput = {
+ objectNameSingular: Scalars['String']['input'];
+ recordId: Scalars['UUID']['input'];
+};
+
export type SendEmailViaDomainOutput = {
__typename?: 'SendEmailViaDomainOutput';
messageId: Scalars['String']['output'];
diff --git a/packages/twenty-front/src/modules/activities/emails/hooks/__tests__/useEmailComposerState.test.tsx b/packages/twenty-front/src/modules/activities/emails/hooks/__tests__/useEmailComposerState.test.tsx
index b08272d973f..dc08d2f5833 100644
--- a/packages/twenty-front/src/modules/activities/emails/hooks/__tests__/useEmailComposerState.test.tsx
+++ b/packages/twenty-front/src/modules/activities/emails/hooks/__tests__/useEmailComposerState.test.tsx
@@ -19,6 +19,7 @@ jest.mock('@/object-metadata/hooks/useApolloCoreClient', () => ({
const createSendEmailMock = (input: {
connectedAccountId: string;
fromHandle?: string;
+ targetRecord?: { objectNameSingular: string; recordId: string };
}) => ({
request: {
query: SEND_EMAIL,
@@ -32,6 +33,7 @@ const createSendEmailMock = (input: {
inReplyTo: undefined,
draftMessageId: undefined,
files: undefined,
+ targetRecord: undefined,
...input,
},
},
@@ -47,16 +49,22 @@ const createSendEmailMock = (input: {
},
});
-const renderComposerState = (
- mocks: ReturnType<typeof createSendEmailMock>[],
- onSent: (messageThreadId: string | null) => void,
-) =>
+const renderComposerState = ({
+ mocks,
+ onSent,
+ contextRecord,
+}: {
+ mocks: ReturnType<typeof createSendEmailMock>[];
+ onSent: (messageThreadId: string | null) => void;
+ contextRecord?: { objectNameSingular: string; recordId: string };
+}) =>
renderHook(
() =>
useEmailComposerState({
connectedAccountId: 'account-1',
defaultTo: '[email protected]',
defaultSubject: 'Hello',
+ contextRecord,
onSent,
}),
{
@@ -74,15 +82,15 @@ describe('useEmailComposerState', () => {
it('sends from the connected account when no alias was picked', async () => {
const onSent = jest.fn();
- const { result } = renderComposerState(
- [
+ const { result } = renderComposerState({
+ mocks: [
createSendEmailMock({
connectedAccountId: 'account-1',
fromHandle: undefined,
}),
],
onSent,
- );
+ });
await act(async () => {
await result.current.handleSend();
@@ -94,15 +102,15 @@ describe('useEmailComposerState', () => {
it('sends from the picked alias together with the account owning it', async () => {
const onSent = jest.fn();
- const { result } = renderComposerState(
- [
+ const { result } = renderComposerState({
+ mocks: [
createSendEmailMock({
connectedAccountId: 'account-2',
fromHandle: '[email protected]',
}),
],
onSent,
- );
+ });
act(() => {
result.current.setSender({
@@ -121,6 +129,32 @@ describe('useEmailComposerState', () => {
);
});
+ it('sends the record the composer was opened from so the thread gets linked to it', async () => {
+ const onSent = jest.fn();
+ const contextRecord = {
+ objectNameSingular: 'opportunity',
+ recordId: 'opportunity-1',
+ };
+
+ const { result } = renderComposerState({
+ mocks: [
+ createSendEmailMock({
+ connectedAccountId: 'account-1',
+ fromHandle: undefined,
+ targetRecord: contextRecord,
+ }),
+ ],
+ onSent,
+ contextRecord,
+ });
+
+ await act(async () => {
+ await result.current.handleSend();
+ });
+
+ expect(onSent).toHaveBeenCalledWith('message-thread-1');
+ });
+
it('drops a picked alias when the reply moves to another account', () => {
const { result, rerender } = renderHook(
({ connectedAccountId }: { connectedAccountId: string }) =>
diff --git a/packages/twenty-front/src/modules/activities/emails/hooks/useEmailComposerState.ts b/packages/twenty-front/src/modules/activities/emails/hooks/useEmailComposerState.ts
index ec15864c77e..f6e587bf59a 100644
--- a/packages/twenty-front/src/modules/activities/emails/hooks/useEmailComposerState.ts
+++ b/packages/twenty-front/src/modules/activities/emails/hooks/useEmailComposerState.ts
@@ -9,6 +9,7 @@ import { parseEmailRecipients } from '@/activities/emails/recipients/utils/parse
import { serializeEmailRecipients } from '@/activities/emails/recipients/utils/serializeEmailRecipients';
import { type ConnectedAccountSender } from '@/accounts/types/ConnectedAccountSender';
import { type EmailDraftPrefill } from '@/activities/emails/types/EmailDraftPrefill';
+import { type EmailComposerContextRecord } from '@/activities/emails/recipients/types/EmailComposerContextRecord';
type UseEmailComposerStateArgs = {
connectedAccountId: string;
@@ -16,6 +17,7 @@ type UseEmailComposerStateArgs = {
defaultTo?: string;
defaultSubject?: string;
defaultInReplyTo?: string;
+ contextRecord?: EmailComposerContextRecord | null;
onSent?: (messageThreadId: string | null) => void;
};
@@ -30,6 +32,7 @@ export const useEmailComposerState = ({
defaultTo = '',
defaultSubject = '',
defaultInReplyTo,
+ contextRecord,
onSent,
}: UseEmailComposerStateArgs) => {
const initialTo = draftPrefill?.to ?? defaultTo;
@@ -107,6 +110,7 @@ export const useEmailComposerState = ({
inReplyTo: defaultInReplyTo,
draftMessageId: draftPrefill?.messageId,
files: files.length > 0 ? files : undefined,
+ targetRecord: contextRecord ?? undefined,
});
if (success) {
@@ -124,6 +128,7 @@ export const useEmailComposerState = ({
defaultInReplyTo,
draftPrefill?.messageId,
files,
+ contextRecord,
sendEmail,
onSent,
]);
diff --git a/packages/twenty-front/src/modules/activities/emails/hooks/useSendEmail.ts b/packages/twenty-front/src/modules/activities/emails/hooks/useSendEmail.ts
index 1e08b46e79e..689e0663ca7 100644
--- a/packages/twenty-front/src/modules/activities/emails/hooks/useSendEmail.ts
+++ b/packages/twenty-front/src/modules/activities/emails/hooks/useSendEmail.ts
@@ -3,6 +3,7 @@ import { useCallback } from 'react';
import { type EmailAttachment } from 'twenty-shared/types';
import { SEND_EMAIL } from '@/activities/emails/graphql/mutations/sendEmail';
+import { type EmailComposerContextRecord } from '@/activities/emails/recipients/types/EmailComposerContextRecord';
import { getTimelineThreadsFromObjectRecord } from '@/activities/emails/graphql/queries/getTimelineThreadsFromObjectRecord';
import { useApolloCoreClient } from '@/object-metadata/hooks/useApolloCoreClient';
import { t } from '@lingui/core/macro';
@@ -28,6 +29,7 @@ type SendEmailParams = {
inReplyTo?: string;
draftMessageId?: string;
files?: EmailAttachment[];
+ targetRecord?: EmailComposerContextRecord;
};
export const useSendEmail = () => {
@@ -56,6 +58,7 @@ export const useSendEmail = () => {
inReplyTo: params.inReplyTo,
draftMessageId: params.draftMessageId,
files: params.files,
+ targetRecord: params.targetRecord,
},
},
});
diff --git a/packages/twenty-front/src/modules/side-panel/pages/compose-email/components/SidePanelComposeEmailPage.tsx b/packages/twenty-front/src/modules/side-panel/pages/compose-email/components/SidePanelComposeEmailPage.tsx
index f0519c9debe..346ae3be1bd 100644
--- a/packages/twenty-front/src/modules/side-panel/pages/compose-email/components/SidePanelComposeEmailPage.tsx
+++ b/packages/twenty-front/src/modules/side-panel/pages/compose-email/components/SidePanelComposeEmailPage.tsx
@@ -57,6 +57,7 @@ export const SidePanelComposeEmailPage = () => {
defaultTo: composeEmailDefaultTo ?? '',
defaultSubject: composeEmailDefaultSubject ?? '',
defaultInReplyTo: composeEmailDefaultInReplyTo ?? undefined,
+ contextRecord: composeEmailContextRecord,
onSent: goBackFromSidePanel,
});
diff --git a/packages/twenty-server/src/modules/messaging/message-outbound-manager/dtos/send-email.input.ts b/packages/twenty-server/src/modules/messaging/message-outbound-manager/dtos/send-email.input.ts
index d0cda3ac99f..94e8cfd2e91 100644
--- a/packages/twenty-server/src/modules/messaging/message-outbound-manager/dtos/send-email.input.ts
+++ b/packages/twenty-server/src/modules/messaging/message-outbound-manager/dtos/send-email.input.ts
@@ -1,5 +1,7 @@
import { Field, InputType } from '@nestjs/graphql';
+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';
+
@InputType()
export class SendEmailAttachmentInput {
@Field(() => String)
@@ -9,6 +11,15 @@ export class SendEmailAttachmentInput {
name: string;
}
+@InputType()
+export class SendEmailTargetRecordInput {
+ @Field(() => String)
+ objectNameSingular: string;
+
+ @Field(() => UUIDScalarType)
+ recordId: string;
+}
+
@InputType()
export class SendEmailInput {
@Field(() => String)
@@ -40,4 +51,7 @@ export class SendEmailInput {
@Field(() => [SendEmailAttachmentInput], { nullable: true })
files?: SendEmailAttachmentInput[];
+
+ @Field(() => SendEmailTargetRecordInput, { nullable: true })
+ targetRecord?: SendEmailTargetRecordInput;
}
diff --git a/packages/twenty-server/src/modules/messaging/message-outbound-manager/resolvers/__tests__/send-email.resolver.spec.ts b/packages/twenty-server/src/modules/messaging/message-outbound-manager/resolvers/__tests__/send-email.resolver.spec.ts
index ee4aca11b2d..ec0daf6c6b1 100644
--- a/packages/twenty-server/src/modules/messaging/message-outbound-manager/resolvers/__tests__/send-email.resolver.spec.ts
+++ b/packages/twenty-server/src/modules/messaging/message-outbound-manager/resolvers/__tests__/send-email.resolver.spec.ts
@@ -1,4 +1,5 @@
import { type MessageDescriptor } from '@lingui/core';
+import { isDefined } from 'twenty-shared/utils';
import { type I18nContext } from 'src/engine/core-modules/i18n/types/i18n-context.type';
import {
@@ -34,6 +35,7 @@ describe('SendEmailResolver errors', () => {
{ composeEmail } as never,
{} as never,
{} as never,
+ {} as never,
i18nService as never,
);
@@ -96,3 +98,111 @@ describe('SendEmailResolver errors', () => {
expect(result).toStrictEqual({ success: false });
});
});
+
+const AUTH_CONTEXT = { workspace: { id: WORKSPACE_ID } };
+
+jest.mock(
+ 'src/engine/core-modules/auth/storage/workspace-auth-context.storage',
+ () => ({ getWorkspaceAuthContext: () => AUTH_CONTEXT }),
+);
+
+describe('SendEmailResolver target record linking', () => {
+ const workspace = { id: WORKSPACE_ID } as WorkspaceEntity;
+ const context: I18nContext = { req: { locale: 'en' } };
+ const baseInput = {
+ connectedAccountId: 'connected-account-id',
+ subject: 'Subject',
+ body: '<p>body</p>',
+ } as SendEmailInput;
+
+ const buildResolver = ({
+ persistedMessageThreadId,
+ }: {
+ persistedMessageThreadId?: string;
+ }) => {
+ const linkSentMessageThreadToRecord = jest.fn();
+
+ const resolver = new SendEmailResolver(
+ { verifyUsableByCaller: jest.fn() } as never,
+ {
+ composeEmail: jest.fn().mockResolvedValue({
+ success: true,
+ data: { shouldPersistMessage: true },
+ }),
+ } as never,
+ { deleteFiles: jest.fn() } as never,
+ {
+ sendComposedEmail: jest.fn().mockResolvedValue({}),
+ persistSentMessage: jest.fn().mockResolvedValue(
+ isDefined(persistedMessageThreadId)
+ ? {
+ messageId: 'message-id',
+ messageThreadId: persistedMessageThreadId,
+ }
+ : undefined,
+ ),
+ } as never,
+ { linkSentMessageThreadToRecord } as never,
+ {} as never,
+ );
+
+ return { resolver, linkSentMessageThreadToRecord };
+ };
+
+ it('links the sent thread to the record the email was sent from', async () => {
+ const { resolver, linkSentMessageThreadToRecord } = buildResolver({
+ persistedMessageThreadId: 'message-thread-id',
+ });
+
+ const result = await resolver.sendEmail(
+ {
+ ...baseInput,
+ targetRecord: {
+ objectNameSingular: 'opportunity',
+ recordId: 'opportunity-id',
+ },
+ },
+ workspace,
+ USER_WORKSPACE_ID,
+ context,
+ );
+
+ expect(result).toEqual({ success: true, messageThreadId: undefined });
+ expect(linkSentMessageThreadToRecord).toHaveBeenCalledWith({
+ authContext: AUTH_CONTEXT,
+ messageThreadId: 'message-thread-id',
+ objectNameSingular: 'opportunity',
+ recordId: 'opportunity-id',
+ });
+ });
+
+ it('does not link anything without a target record', async () => {
+ const { resolver, linkSentMessageThreadToRecord } = buildResolver({
+ persistedMessageThreadId: 'message-thread-id',
+ });
+
+ await resolver.sendEmail(baseInput, workspace, USER_WORKSPACE_ID, context);
+
+ expect(linkSentMessageThreadToRecord).not.toHaveBeenCalled();
+ });
+
+ it('does not link anything when the sent message could not be persisted', async () => {
+ const { resolver, linkSentMessageThreadToRecord } = buildResolver({});
+
+ await resolver.sendEmail(
+ {
+ ...baseInput,
+ targetRecord: {
+ objectNameSingular: 'opportunity',
+ recordId: 'opportunity-id',
+ },
+ },
+ workspace,
+ USER_WORKSPACE_ID,
+ context,
+ );
+
+ expect(linkSentMessageThreadToRecord).not.toHaveBeenCalled();
+ });
+});
diff --git a/packages/twenty-server/src/modules/messaging/message-outbound-manager/resolvers/send-email.resolver.ts b/packages/twenty-server/src/modules/messaging/message-outbound-manager/resolvers/send-email.resolver.ts
index e98a638d438..26324c8f8ec 100644
--- a/packages/twenty-server/src/modules/messaging/message-outbound-manager/resolvers/send-email.resolver.ts
+++ b/packages/twenty-server/src/modules/messaging/message-outbound-manager/resolvers/send-email.resolver.ts
@@ -10,6 +10,7 @@ import { Args, Context, Mutation } from '@nestjs/graphql';
import { PermissionFlagType } from 'twenty-shared/constants';
+import { getWorkspaceAuthContext } from 'src/engine/core-modules/auth/storage/workspace-auth-context.storage';
import { MetadataResolver } from 'src/engine/api/graphql/graphql-config/decorators/metadata-resolver.decorator';
import { AuthGraphqlApiExceptionFilter } from 'src/engine/core-modules/auth/filters/auth-graphql-api-exception.filter';
import { FileEmailAttachmentService } from 'src/engine/core-modules/file/file-email-attachment/services/file-email-attachment.service';
@@ -26,6 +27,7 @@ import { ConnectedAccountMetadataService } from 'src/engine/metadata-modules/con
import { SendEmailOutputDTO } from 'src/modules/messaging/message-outbound-manager/dtos/send-email-output.dto';
import { SendEmailInput } from 'src/modules/messaging/message-outbound-manager/dtos/send-email.input';
import { SendEmailService } from 'src/modules/messaging/message-outbound-manager/services/send-email.service';
+import { SentMessageRecordLinkService } from 'src/modules/messaging/message-outbound-manager/services/sent-message-record-link.service';
import { CustomException } from 'src/utils/custom-exception';
import { isDefined } from 'twenty-shared/utils';
import { isNonEmptyString } from '@sniptt/guards';
@@ -55,6 +57,7 @@ export class SendEmailResolver {
private readonly emailComposerService: EmailComposerService,
private readonly fileEmailAttachmentService: FileEmailAttachmentService,
private readonly sendEmailService: SendEmailService,
+ private readonly sentMessageRecordLinkService: SentMessageRecordLinkService,
private readonly i18nService: I18nService,
) {}
@@ -112,13 +115,13 @@ export class SendEmailResolver {
let messageThreadId: string | undefined;
try {
- if (data.shouldPersistMessage) {
- await this.sendEmailService.persistSentMessage(
- sendResult,
- data,
- workspace.id,
- );
- }
+ const persistedSentMessage = data.shouldPersistMessage
+ ? await this.sendEmailService.persistSentMessage(
+ sendResult,
+ data,
+ workspace.id,
+ )
+ : undefined;
if (isDefined(input.draftMessageId)) {
await this.sendEmailService.deleteSentDraft(
@@ -148,6 +151,20 @@ export class SendEmailResolver {
workspaceId: workspace.id,
});
}
+
+ const sentMessageThreadId =
+ persistedSentMessage?.messageThreadId ?? messageThreadId;
+
+ if (isDefined(input.targetRecord) && isDefined(sentMessageThreadId)) {
+ await this.sentMessageRecordLinkService.linkSentMessageThreadToRecord(
+ {
+ authContext: getWorkspaceAuthContext(),
+ messageThreadId: sentMessageThreadId,
+ objectNameSingular: input.targetRecord.objectNameSingular,
+ recordId: input.targetRecord.recordId,
+ },
+ );
+ }
} catch (postSendError) {
this.logger.warn(
`Email sent but post-send cleanup failed (sync will recover): ${postSendError}`,
diff --git a/packages/twenty-server/src/modules/messaging/message-outbound-manager/send-email.module.ts b/packages/twenty-server/src/modules/messaging/message-outbound-manager/send-email.module.ts
index 4299c2f28cc..b0eb71e322f 100644
--- a/packages/twenty-server/src/modules/messaging/message-outbound-manager/send-email.module.ts
+++ b/packages/twenty-server/src/modules/messaging/message-outbound-manager/send-email.module.ts
@@ -4,8 +4,10 @@ import { FileEmailAttachmentModule } from 'src/engine/core-modules/file/file-ema
import { ToolModule } from 'src/engine/core-modules/tool/tool.module';
import { ConnectedAccountMetadataModule } from 'src/engine/metadata-modules/connected-account/connected-account-metadata.module';
import { PermissionsModule } from 'src/engine/metadata-modules/permissions/permissions.module';
+import { RecordPermissionsModule } from 'src/engine/metadata-modules/record-permissions/record-permissions.module';
import { SendEmailResolver } from 'src/modules/messaging/message-outbound-manager/resolvers/send-email.resolver';
import { MessagingSendManagerModule } from 'src/modules/messaging/message-outbound-manager/messaging-send-manager.module';
+import { SentMessageRecordLinkService } from 'src/modules/messaging/message-outbound-manager/services/sent-message-record-link.service';
@Module({
imports: [
@@ -14,7 +16,8 @@ import { MessagingSendManagerModule } from 'src/modules/messaging/message-outbou
MessagingSendManagerModule,
ConnectedAccountMetadataModule,
PermissionsModule,
+ RecordPermissionsModule,
],
- providers: [SendEmailResolver],
+ providers: [SendEmailResolver, SentMessageRecordLinkService],
})
export class SendEmailModule {}
diff --git a/packages/twenty-server/src/modules/messaging/message-outbound-manager/services/__tests__/sent-message-record-link.service.spec.ts b/packages/twenty-server/src/modules/messaging/message-outbound-manager/services/__tests__/sent-message-record-link.service.spec.ts
new file mode 100644
index 00000000000..06b74269c68
--- /dev/null
+++ b/packages/twenty-server/src/modules/messaging/message-outbound-manager/services/__tests__/sent-message-record-link.service.spec.ts
@@ -0,0 +1,113 @@
+import { SentMessageRecordLinkService } from 'src/modules/messaging/message-outbound-manager/services/sent-message-record-link.service';
+
+const buildService = ({
+ canUpdateRecord = true,
+ existingMessageThreadTarget = null,
+}: {
+ canUpdateRecord?: boolean;
+ existingMessageThreadTarget?: {
+ id: string;
+ isManuallyAssigned: boolean;
+ } | null;
+}) => {
+ const messageThreadTargetRepository = {
+ findOne: jest.fn().mockResolvedValue(existingMessageThreadTarget),
+ insert: jest.fn(),
+ update: jest.fn(),
+ };
+ const workspaceOrmManager = {
+ executeInWorkspaceContext: jest.fn((callback: () => Promise<void>) =>
+ callback(),
+ ),
+ getRepository: jest.fn(() => messageThreadTargetRepository),
+ };
+ const recordPermissionsService = {
+ getPermissionsForRecords: jest
+ .fn()
+ .mockResolvedValue(
+ new Map([['opportunity-id', { canUpdate: canUpdateRecord }]]),
+ ),
+ };
+
+ const service = new SentMessageRecordLinkService(
+ workspaceOrmManager as never,
+ recordPermissionsService as never,
+ );
+
+ return { service, messageThreadTargetRepository, recordPermissionsService };
+};
+
+const LINK_ARGS = {
+ authContext: { workspace: { id: 'workspace-id' } } as never,
+ messageThreadId: 'message-thread-id',
+ objectNameSingular: 'opportunity',
+ recordId: 'opportunity-id',
+};
+
+describe('SentMessageRecordLinkService', () => {
+ it('creates a manual link between the sent thread and the record', async () => {
+ const { service, messageThreadTargetRepository } = buildService({});
+
+ await service.linkSentMessageThreadToRecord(LINK_ARGS);
+
+ expect(messageThreadTargetRepository.insert).toHaveBeenCalledWith({
+ messageThreadId: 'message-thread-id',
+ targetOpportunityId: 'opportunity-id',
+ isAutomaticallyAssigned: false,
+ isManuallyAssigned: true,
+ });
+ });
+
+ it('marks an existing automatic link as manual instead of duplicating it', async () => {
+ const { service, messageThreadTargetRepository } = buildService({
+ existingMessageThreadTarget: {
+ id: 'message-thread-target-id',
+ isManuallyAssigned: false,
+ },
+ });
+
+ await service.linkSentMessageThreadToRecord(LINK_ARGS);
+
+ expect(messageThreadTargetRepository.update).toHaveBeenCalledWith(
+ 'message-thread-target-id',
+ { isManuallyAssigned: true },
+ );
+ expect(messageThreadTargetRepository.insert).not.toHaveBeenCalled();
+ });
+
+ it('checks the sender access to the record itself, row-level rules included', async () => {
+ const { service, recordPermissionsService } = buildService({});
+
+ await service.linkSentMessageThreadToRecord(LINK_ARGS);
+
+ expect(
+ recordPermissionsService.getPermissionsForRecords,
+ ).toHaveBeenCalledWith({
+ authContext: LINK_ARGS.authContext,
+ flatObjectMetadata: { nameSingular: 'opportunity' },
+ recordIds: ['opportunity-id'],
+ });
+ });
+
+ it('does not link a record the sender cannot update or does not see', async () => {
+ const { service, messageThreadTargetRepository } = buildService({
+ canUpdateRecord: false,
+ });
+
+ await service.linkSentMessageThreadToRecord(LINK_ARGS);
+
+ expect(messageThreadTargetRepository.insert).not.toHaveBeenCalled();
+ expect(messageThreadTargetRepository.update).not.toHaveBeenCalled();
+ });
+
+ it('ignores objects that cannot be targeted by a thread', async () => {
+ const { service, messageThreadTargetRepository } = buildService({});
+
+ await service.linkSentMessageThreadToRecord({
+ ...LINK_ARGS,
+ objectNameSingular: 'pet',
+ });
+
+ expect(messageThreadTargetRepository.insert).not.toHaveBeenCalled();
+ });
+});
diff --git a/packages/twenty-server/src/modules/messaging/message-outbound-manager/services/sent-message-record-link.service.ts b/packages/twenty-server/src/modules/messaging/message-outbound-manager/services/sent-message-record-link.service.ts
new file mode 100644
index 00000000000..fbdde9bc1fd
--- /dev/null
+++ b/packages/twenty-server/src/modules/messaging/message-outbound-manager/services/sent-message-record-link.service.ts
@@ -0,0 +1,80 @@
+import { Injectable } from '@nestjs/common';
+
+import { isDefined } from 'twenty-shared/utils';
+
+import { type WorkspaceAuthContext } from 'src/engine/core-modules/auth/types/workspace-auth-context.type';
+import { getTargetFieldNameForObjectRecord } from 'src/engine/core-modules/target/utils/get-target-field-name-for-object-record.util';
+import { RecordPermissionsService } from 'src/engine/metadata-modules/record-permissions/services/record-permissions.service';
+import { buildSystemAuthContext } from 'src/engine/twenty-orm/utils/build-system-auth-context.util';
+import { WorkspaceOrmManager } from 'src/engine/twenty-orm/workspace-orm.manager';
+import { type MessageThreadTargetWorkspaceEntity } from 'src/modules/messaging/common/standard-objects/message-thread-target.workspace-entity';
+
+@Injectable()
+export class SentMessageRecordLinkService {
+ constructor(
+ private readonly workspaceOrmManager: WorkspaceOrmManager,
+ private readonly recordPermissionsService: RecordPermissionsService,
+ ) {}
+
+ async linkSentMessageThreadToRecord({
+ authContext,
+ messageThreadId,
+ objectNameSingular,
+ recordId,
+ }: {
+ authContext: WorkspaceAuthContext;
+ messageThreadId: string;
+ objectNameSingular: string;
+ recordId: string;
+ }): Promise<void> {
+ const targetFieldName =
+ getTargetFieldNameForObjectRecord(objectNameSingular);
+
+ if (!isDefined(targetFieldName)) {
+ return;
+ }
+
+ // The link is written in a system context, so the caller's own access to this record, row-level rules included, gates it
+ const permissionsByRecordId =
+ await this.recordPermissionsService.getPermissionsForRecords({
+ authContext,
+ flatObjectMetadata: { nameSingular: objectNameSingular },
+ recordIds: [recordId],
+ });
+
+ if (!permissionsByRecordId.get(recordId)?.canUpdate) {
+ return;
+ }
+
+ await this.workspaceOrmManager.executeInWorkspaceContext(async () => {
+ const messageThreadTargetRepository =
+ this.workspaceOrmManager.getRepository<MessageThreadTargetWorkspaceEntity>(
+ 'messageThreadTarget',
+ { shouldBypassPermissionChecks: true },
+ );
+
+ const existingMessageThreadTarget =
+ await messageThreadTargetRepository.findOne({
+ where: { messageThreadId, [targetFieldName]: recordId },
+ });
+
+ if (isDefined(existingMessageThreadTarget)) {
+ if (!existingMessageThreadTarget.isManuallyAssigned) {
+ await messageThreadTargetRepository.update(
+ existingMessageThreadTarget.id,
+ { isManuallyAssigned: true },
+ );
+ }
+
+ return;
+ }
+
+ await messageThreadTargetRepository.insert({
+ messageThreadId,
+ [targetFieldName]: recordId,
+ isAutomaticallyAssigned: false,
+ isManuallyAssigned: true,
+ });
+ }, buildSystemAuthContext(authContext.workspace.id));
+ }
+}