Skip to content

The open alternative to Salesforce, designed for AI.

Let apps declare message folders on their channels (#28986)

Félix Malfait155a6ae716e1
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
index 45490390553..f2b7715a3aa 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
@@ -376,8 +376,15 @@ enum AppKeyValueScope {
WORKSPACE
}
+input AppMessageFolderInput {
+ externalId: String!
+ isSynced: Boolean
+ name: String!
+}
+
input AppMessageInput {
externalId: String!
+ folderExternalIds: [String!]
participants: [AppMessageParticipantInput!]!
receivedAt: DateTime!
subject: String
@@ -2756,6 +2763,10 @@ input ListAppMessageChannelsInput {
connectedAccountId: UUID
}
+input ListAppMessageFoldersInput {
+ messageChannelId: UUID
+}
+
type Location {
lat: Float
lng: Float
@@ -3359,6 +3370,7 @@ type Mutation {
stopImpersonation: StopImpersonation!
switchBillingPlan(plan: BillingPlanKey): BillingUpdate!
switchSubscriptionInterval: BillingUpdate!
+ syncAppMessageFolders(input: SyncAppMessageFoldersInput!): [MessageFolder!]!
syncApplication(dryRun: Boolean, inferDeletionFromMissingEntities: Boolean, manifest: JSON!): WorkspaceMigration!
syncMarketplaceCatalog: Boolean!
trackAnalytics(event: String, name: String, properties: JSON, type: AnalyticsType!): Analytics!
@@ -3970,6 +3982,7 @@ type Query {
appConnections(filter: ListAppConnectionsInput): [AppConnection!]!
appKeyValue(key: String!, scope: AppKeyValueScope = WORKSPACE): AppKeyValue
appMessageChannels(filter: ListAppMessageChannelsInput): [MessageChannel!]!
+ appMessageFolders(filter: ListAppMessageFoldersInput): [MessageFolder!]!
applicationConnectedAccounts(applicationId: UUID!): [ApplicationConnectedAccountDTO!]!
applicationConnectionProviders(applicationId: UUID!): [ApplicationConnectionProvider!]!
applicationCoreGraphqlSchema(applicationUniversalIdentifier: String!): String!
@@ -4680,6 +4693,11 @@ enum SupportDriver {
NONE
}
+input SyncAppMessageFoldersInput {
+ folders: [AppMessageFolderInput!]!
+ messageChannelId: UUID!
+}
+
type TasksConfiguration {
configurationType: WidgetConfigurationType!
}
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.ts b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
index d8f28fdbd86..aa9168be896 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
@@ -2395,6 +2395,7 @@ export interface Mutation {
stopImpersonation: StopImpersonation
switchBillingPlan: BillingUpdate
switchSubscriptionInterval: BillingUpdate
+ syncAppMessageFolders: MessageFolder[]
syncApplication: WorkspaceMigration
syncMarketplaceCatalog: Scalars['Boolean']
trackAnalytics: Analytics
@@ -2925,6 +2926,7 @@ export interface Query {
appConnections: AppConnection[]
appKeyValue?: AppKeyValue
appMessageChannels: MessageChannel[]
+ appMessageFolders: MessageFolder[]
applicationConnectedAccounts: ApplicationConnectedAccountDTO[]
applicationConnectionProviders: ApplicationConnectionProvider[]
applicationCoreGraphqlSchema: Scalars['String']
@@ -4483,7 +4485,9 @@ export interface AppKeyValueGenqlSelection{
__scalar?: boolean | number
}
-export interface AppMessageInput {externalId: Scalars['String'],participants: AppMessageParticipantInput[],receivedAt: Scalars['DateTime'],subject?: (Scalars['String'] | null),text: Scalars['String'],threadExternalId: Scalars['String']}
+export interface AppMessageFolderInput {externalId: Scalars['String'],isSynced?: (Scalars['Boolean'] | null),name: Scalars['String']}
+
+export interface AppMessageInput {externalId: Scalars['String'],folderExternalIds?: (Scalars['String'][] | null),participants: AppMessageParticipantInput[],receivedAt: Scalars['DateTime'],subject?: (Scalars['String'] | null),text: Scalars['String'],threadExternalId: Scalars['String']}
export interface AppMessageParticipantInput {displayName?: (Scalars['String'] | null),handle: Scalars['String'],personId?: (Scalars['UUID'] | null),role: MessageParticipantRole,workspaceMemberId?: (Scalars['UUID'] | null)}
@@ -6329,6 +6333,8 @@ export interface ListAppConnectionsInput {providerName?: (Scalars['String'] | nu
export interface ListAppMessageChannelsInput {connectedAccountId?: (Scalars['UUID'] | null)}
+export interface ListAppMessageFoldersInput {messageChannelId?: (Scalars['UUID'] | null)}
+
export interface LocationGenqlSelection{
lat?: boolean | number
lng?: boolean | number
@@ -6838,6 +6844,7 @@ export interface MutationGenqlSelection{
stopImpersonation?: StopImpersonationGenqlSelection
switchBillingPlan?: (BillingUpdateGenqlSelection & { __args?: {plan?: (BillingPlanKey | null)} })
switchSubscriptionInterval?: BillingUpdateGenqlSelection
+ syncAppMessageFolders?: (MessageFolderGenqlSelection & { __args: {input: SyncAppMessageFoldersInput} })
syncApplication?: (WorkspaceMigrationGenqlSelection & { __args: {dryRun?: (Scalars['Boolean'] | null), inferDeletionFromMissingEntities?: (Scalars['Boolean'] | null), manifest: Scalars['JSON']} })
syncMarketplaceCatalog?: boolean | number
trackAnalytics?: (AnalyticsGenqlSelection & { __args: {event?: (Scalars['String'] | null), name?: (Scalars['String'] | null), properties?: (Scalars['JSON'] | null), type: AnalyticsType} })
@@ -7406,6 +7413,7 @@ export interface QueryGenqlSelection{
appConnections?: (AppConnectionGenqlSelection & { __args?: {filter?: (ListAppConnectionsInput | null)} })
appKeyValue?: (AppKeyValueGenqlSelection & { __args: {key: Scalars['String'], scope?: (AppKeyValueScope | null)} })
appMessageChannels?: (MessageChannelGenqlSelection & { __args?: {filter?: (ListAppMessageChannelsInput | null)} })
+ appMessageFolders?: (MessageFolderGenqlSelection & { __args?: {filter?: (ListAppMessageFoldersInput | null)} })
applicationConnectedAccounts?: (ApplicationConnectedAccountDTOGenqlSelection & { __args: {applicationId: Scalars['UUID']} })
applicationConnectionProviders?: (ApplicationConnectionProviderGenqlSelection & { __args: {applicationId: Scalars['UUID']} })
applicationCoreGraphqlSchema?: { __args: {applicationUniversalIdentifier: Scalars['String']} }
@@ -7986,6 +7994,8 @@ export interface SupportGenqlSelection{
__scalar?: boolean | number
}
+export interface SyncAppMessageFoldersInput {folders: AppMessageFolderInput[],messageChannelId: Scalars['UUID']}
+
export interface TasksConfigurationGenqlSelection{
configurationType?: 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 ddeabb7d8ca..5e14192b8e9 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/types.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/types.ts
@@ -14,114 +14,114 @@ export default {
32,
34,
41,
- 53,
- 61,
- 71,
- 77,
- 89,
- 93,
+ 54,
+ 62,
+ 72,
+ 78,
+ 90,
94,
- 96,
- 101,
- 106,
- 112,
- 117,
- 123,
- 126,
+ 95,
+ 97,
+ 102,
+ 107,
+ 113,
+ 118,
+ 124,
127,
128,
129,
- 137,
- 139,
- 153,
- 157,
- 159,
- 161,
- 206,
+ 130,
+ 138,
+ 140,
+ 154,
+ 158,
+ 160,
+ 162,
207,
- 234,
- 238,
+ 208,
+ 235,
239,
- 241,
- 251,
- 257,
- 261,
- 265,
- 268,
- 275,
- 290,
- 292,
- 302,
- 309,
+ 240,
+ 242,
+ 252,
+ 258,
+ 262,
+ 266,
+ 269,
+ 276,
+ 291,
+ 293,
+ 303,
310,
311,
- 322,
+ 312,
324,
- 339,
- 340,
+ 326,
341,
342,
343,
344,
+ 345,
346,
- 347,
348,
- 351,
- 352,
+ 349,
+ 350,
+ 353,
354,
- 355,
- 358,
+ 356,
+ 357,
360,
- 364,
- 368,
- 377,
- 384,
- 385,
+ 362,
+ 366,
+ 370,
+ 379,
386,
- 389,
- 393,
- 394,
- 399,
- 403,
- 426,
+ 387,
+ 388,
+ 391,
+ 395,
+ 396,
+ 401,
+ 405,
428,
- 429,
- 432,
- 437,
- 449,
+ 430,
+ 431,
+ 434,
+ 439,
451,
- 455,
- 460,
- 480,
- 492,
- 493,
+ 453,
+ 457,
+ 462,
+ 482,
+ 494,
495,
- 519,
- 521,
- 523,
- 584,
- 604,
- 611,
- 613,
- 617,
- 628,
- 634,
- 635,
+ 497,
+ 522,
+ 524,
+ 526,
+ 587,
+ 607,
+ 614,
+ 616,
+ 620,
+ 631,
637,
638,
640,
641,
- 642,
+ 643,
+ 644,
645,
- 646,
- 651,
- 653,
+ 648,
+ 649,
+ 654,
656,
- 661,
- 662,
- 663,
+ 659,
+ 664,
+ 665,
666,
- 667
+ 669,
+ 670
],
"types": {
"ActivateWorkspaceInput": {
@@ -138,7 +138,7 @@ export default {
1
],
"operationSignature": [
- 309
+ 310
],
"queryId": [
1
@@ -149,10 +149,10 @@ export default {
},
"Agent": {
"applicationId": [
- 519
+ 522
],
"createdAt": [
- 207
+ 208
],
"description": [
1
@@ -161,7 +161,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"isCustom": [
4
@@ -173,7 +173,7 @@ export default {
1
],
"modelConfiguration": [
- 309
+ 310
],
"modelId": [
1
@@ -185,16 +185,16 @@ export default {
1
],
"responseFormat": [
- 309
+ 310
],
"roleId": [
- 519
+ 522
],
"triggers": [
- 309
+ 310
],
"updatedAt": [
- 207
+ 208
],
"__typename": [
1
@@ -209,7 +209,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"isAccessible": [
4
@@ -224,7 +224,7 @@ export default {
6
],
"roleIds": [
- 519
+ 522
],
"__typename": [
1
@@ -240,7 +240,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"label": [
1
@@ -251,7 +251,7 @@ export default {
},
"AgentChatChannelSummary": {
"channelId": [
- 519
+ 522
],
"hasUnreadOpen": [
4
@@ -272,7 +272,7 @@ export default {
4
],
"threadIds": [
- 519
+ 522
],
"__typename": [
1
@@ -281,7 +281,7 @@ export default {
"AgentChatChannelThreadStatus": {},
"AgentChatEvent": {
"event": [
- 309
+ 310
],
"threadId": [
1
@@ -319,10 +319,10 @@ export default {
10
],
"createdAt": [
- 207
+ 208
],
"deletedAt": [
- 207
+ 208
],
"id": [
17
@@ -346,7 +346,7 @@ export default {
10
],
"updatedAt": [
- 207
+ 208
],
"__typename": [
1
@@ -355,28 +355,28 @@ export default {
"ID": {},
"AgentChatThreadParticipant": {
"archivedAt": [
- 207
+ 208
],
"id": [
- 519
+ 522
],
"isSubscribed": [
4
],
"lastMentionedAt": [
- 207
+ 208
],
"lastReadAt": [
- 207
+ 208
],
"snoozedUntil": [
- 207
+ 208
],
"threadId": [
- 519
+ 522
],
"updatedAt": [
- 207
+ 208
],
"__typename": [
1
@@ -384,7 +384,7 @@ export default {
},
"AgentIdInput": {
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -392,19 +392,19 @@ export default {
},
"AgentMessage": {
"agentId": [
- 519
+ 522
],
"createdAt": [
- 207
+ 208
],
"id": [
- 519
+ 522
],
"parts": [
21
],
"processedAt": [
- 207
+ 208
],
"reactions": [
22
@@ -413,19 +413,19 @@ export default {
1
],
"senderUserWorkspaceId": [
- 519
+ 522
],
"senderWorkspaceMemberId": [
- 519
+ 522
],
"status": [
1
],
"threadId": [
- 519
+ 522
],
"turnId": [
- 519
+ 522
],
"__typename": [
1
@@ -433,7 +433,7 @@ export default {
},
"AgentMessagePart": {
"createdAt": [
- 207
+ 208
],
"errorMessage": [
1
@@ -442,7 +442,7 @@ export default {
1
],
"fileId": [
- 519
+ 522
],
"fileMediaType": [
1
@@ -451,10 +451,10 @@ export default {
1
],
"id": [
- 519
+ 522
],
"messageId": [
- 519
+ 522
],
"orderIndex": [
10
@@ -463,7 +463,7 @@ export default {
4
],
"providerMetadata": [
- 309
+ 310
],
"reasoningContent": [
1
@@ -499,13 +499,13 @@ export default {
1
],
"toolInput": [
- 309
+ 310
],
"toolName": [
1
],
"toolOutput": [
- 309
+ 310
],
"type": [
1
@@ -516,7 +516,7 @@ export default {
},
"AgentMessageReactionSummary": {
"agentIds": [
- 519
+ 522
],
"emoji": [
1
@@ -525,7 +525,7 @@ export default {
4
],
"workspaceMemberIds": [
- 519
+ 522
],
"__typename": [
1
@@ -533,7 +533,7 @@ export default {
},
"AgentRun": {
"createdAt": [
- 207
+ 208
],
"creatorName": [
1
@@ -545,13 +545,13 @@ export default {
6
],
"endedAt": [
- 207
+ 208
],
"errorMessage": [
1
],
"id": [
- 519
+ 522
],
"input": [
1
@@ -569,13 +569,13 @@ export default {
1
],
"startedAt": [
- 207
+ 208
],
"status": [
24
],
"threadId": [
- 519
+ 522
],
"threadTitle": [
1
@@ -590,13 +590,13 @@ export default {
"AgentTurnStatus": {},
"AggregateChartConfiguration": {
"aggregateFieldMetadataId": [
- 519
+ 522
],
"aggregateOperation": [
26
],
"configurationType": [
- 645
+ 648
],
"description": [
1
@@ -605,7 +605,7 @@ export default {
4
],
"filter": [
- 309
+ 310
],
"firstDayOfTheWeek": [
10
@@ -614,13 +614,13 @@ export default {
1
],
"numberFormat": [
- 139
+ 140
],
"prefix": [
1
],
"ratioAggregateConfig": [
- 421
+ 423
],
"suffix": [
1
@@ -635,16 +635,16 @@ export default {
"AggregateOperations": {},
"AiChatUsage": {
"consumedValue": [
- 96
+ 97
],
"kind": [
1
],
"limitValue": [
- 96
+ 97
],
"periodEnd": [
- 207
+ 208
],
"__typename": [
1
@@ -652,13 +652,13 @@ export default {
},
"AiChatUserCreditsUsage": {
"consumedValue": [
- 96
+ 97
],
"limitValue": [
- 96
+ 97
],
"periodEnd": [
- 207
+ 208
],
"__typename": [
1
@@ -710,25 +710,25 @@ export default {
},
"ApiKey": {
"createdAt": [
- 207
+ 208
],
"expiresAt": [
- 207
+ 208
],
"id": [
- 519
+ 522
],
"name": [
1
],
"revokedAt": [
- 207
+ 208
],
"role": [
- 443
+ 445
],
"updatedAt": [
- 207
+ 208
],
"__typename": [
1
@@ -736,16 +736,16 @@ export default {
},
"ApiKeyForRole": {
"expiresAt": [
- 207
+ 208
],
"id": [
- 519
+ 522
],
"name": [
1
],
"revokedAt": [
- 207
+ 208
],
"__typename": [
1
@@ -788,7 +788,7 @@ export default {
1
],
"scope": [
- 157
+ 158
],
"scopes": [
1
@@ -814,22 +814,39 @@ export default {
41
],
"value": [
- 309
+ 310
],
"__typename": [
1
]
},
"AppKeyValueScope": {},
+ "AppMessageFolderInput": {
+ "externalId": [
+ 1
+ ],
+ "isSynced": [
+ 4
+ ],
+ "name": [
+ 1
+ ],
+ "__typename": [
+ 1
+ ]
+ },
"AppMessageInput": {
"externalId": [
1
],
+ "folderExternalIds": [
+ 1
+ ],
"participants": [
- 43
+ 44
],
"receivedAt": [
- 207
+ 208
],
"subject": [
1
@@ -852,13 +869,13 @@ export default {
1
],
"personId": [
- 519
+ 522
],
"role": [
- 348
+ 350
],
"workspaceMemberId": [
- 519
+ 522
],
"__typename": [
1
@@ -869,31 +886,31 @@ export default {
3
],
"applicationRegistration": [
- 73
+ 74
],
"applicationRegistrationId": [
- 519
+ 522
],
"applicationVariables": [
- 76
+ 77
],
"autoUpgrade": [
4
],
"availablePackages": [
- 309
+ 310
],
"canBeUninstalled": [
4
],
"commandMenuItems": [
- 152
+ 153
],
"createdAt": [
- 207
+ 208
],
"defaultLogicFunctionRole": [
- 443
+ 445
],
"defaultRoleId": [
1
@@ -902,22 +919,22 @@ export default {
1
],
"frontComponents": [
- 282
+ 283
],
"healthCheckLogicFunctionId": [
- 519
+ 522
],
"id": [
- 519
+ 522
],
"isUninstallBlockedByOtherWorkspaceInstallations": [
4
],
"logicFunctions": [
- 321
+ 323
],
"logoFileId": [
- 519
+ 522
],
"logoUrl": [
1
@@ -926,19 +943,19 @@ export default {
1
],
"objects": [
- 370
+ 372
],
"packageJsonChecksum": [
1
],
"packageJsonFileId": [
- 519
+ 522
],
"settingsCustomTabFrontComponentId": [
- 519
+ 522
],
"settingsMenuItems": [
- 479
+ 481
],
"universalIdentifier": [
1
@@ -950,7 +967,7 @@ export default {
1
],
"yarnLockFileId": [
- 519
+ 522
],
"__typename": [
1
@@ -958,7 +975,7 @@ export default {
},
"ApplicationAuthorization": {
"applicationId": [
- 519
+ 522
],
"applicationName": [
1
@@ -967,22 +984,22 @@ export default {
1
],
"createdAt": [
- 207
+ 208
],
"id": [
- 519
+ 522
],
"lastAuthorizedAt": [
- 207
+ 208
],
"lastUsedAt": [
- 207
+ 208
],
"scopes": [
1
],
"workspaceId": [
- 519
+ 522
],
"__typename": [
1
@@ -993,7 +1010,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -1001,25 +1018,25 @@ export default {
},
"ApplicationConnectedAccountDTO": {
"applicationId": [
- 519
+ 522
],
"archivedAt": [
- 207
+ 208
],
"authFailedAt": [
- 207
+ 208
],
"authFailedReason": [
1
],
"connectionParameters": [
- 417
+ 419
],
"connectionProviderId": [
- 519
+ 522
],
"createdAt": [
- 207
+ 208
],
"handle": [
1
@@ -1028,16 +1045,16 @@ export default {
1
],
"id": [
- 519
+ 522
],
"isOwnedByCurrentUser": [
4
],
"lastCredentialsRefreshedAt": [
- 207
+ 208
],
"lastSignedInAt": [
- 207
+ 208
],
"name": [
1
@@ -1046,16 +1063,16 @@ export default {
1
],
"scope": [
- 157
+ 158
],
"scopes": [
1
],
"updatedAt": [
- 207
+ 208
],
"userWorkspaceId": [
- 519
+ 522
],
"visibility": [
1
@@ -1072,7 +1089,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"logoUrl": [
1
@@ -1081,10 +1098,10 @@ export default {
1
],
"oauth": [
- 49
+ 50
],
"scope": [
- 161
+ 162
],
"type": [
1
@@ -1106,16 +1123,16 @@ export default {
},
"ApplicationExport": {
"application": [
- 51
+ 52
],
"coverage": [
- 52
+ 53
],
"files": [
- 54
+ 55
],
"manifest": [
- 309
+ 310
],
"__typename": [
1
@@ -1126,7 +1143,7 @@ export default {
1
],
"sourceType": [
- 71
+ 72
],
"universalIdentifier": [
1
@@ -1143,7 +1160,7 @@ export default {
1
],
"status": [
- 53
+ 54
],
"universalIdentifier": [
1
@@ -1169,7 +1186,7 @@ export default {
},
"ApplicationFileCompletionError": {
"fileId": [
- 519
+ 522
],
"message": [
1
@@ -1180,7 +1197,7 @@ export default {
},
"ApplicationFileUploadError": {
"fileFolder": [
- 275
+ 276
],
"filePath": [
1
@@ -1194,7 +1211,7 @@ export default {
},
"ApplicationFileUploadRequestInput": {
"fileFolder": [
- 275
+ 276
],
"filePath": [
1
@@ -1211,13 +1228,13 @@ export default {
1
],
"expiresAt": [
- 207
+ 208
],
"fileFolder": [
- 275
+ 276
],
"fileId": [
- 519
+ 522
],
"filePath": [
1
@@ -1242,13 +1259,13 @@ export default {
},
"ApplicationHealthCheckResult": {
"action": [
- 59
+ 60
],
"description": [
1
],
"status": [
- 61
+ 62
],
"title": [
1
@@ -1260,13 +1277,13 @@ export default {
"ApplicationHealthStatus": {},
"ApplicationMonitoring": {
"activity": [
- 63
+ 64
],
"bucketSizeInSeconds": [
10
],
"creditUsage": [
- 64
+ 65
],
"creditsUsed": [
6
@@ -1275,13 +1292,13 @@ export default {
10
],
"functions": [
- 65
+ 66
],
"issues": [
- 66
+ 67
],
"lifecycle": [
- 67
+ 68
],
"lifecycleFailureCount": [
10
@@ -1290,10 +1307,10 @@ export default {
10
],
"periodEnd": [
- 207
+ 208
],
"periodStart": [
- 207
+ 208
],
"rateLimitEventCount": [
10
@@ -1302,7 +1319,7 @@ export default {
10
],
"versions": [
- 68
+ 69
],
"__typename": [
1
@@ -1310,7 +1327,7 @@ export default {
},
"ApplicationMonitoringActivityBucket": {
"bucketStart": [
- 207
+ 208
],
"errorCount": [
10
@@ -1327,7 +1344,7 @@ export default {
},
"ApplicationMonitoringCreditBucket": {
"bucketStart": [
- 207
+ 208
],
"creditsUsed": [
6
@@ -1367,7 +1384,7 @@ export default {
10
],
"lastSeenAt": [
- 207
+ 208
],
"level": [
1
@@ -1387,7 +1404,7 @@ export default {
},
"ApplicationMonitoringLifecycleBucket": {
"bucketStart": [
- 207
+ 208
],
"failedCount": [
10
@@ -1424,16 +1441,16 @@ export default {
},
"ApplicationPreferences": {
"applicationId": [
- 519
+ 522
],
"connectionProviders": [
- 48
+ 49
],
"settingsMenuItems": [
- 479
+ 481
],
"variables": [
- 616
+ 619
],
"__typename": [
1
@@ -1441,13 +1458,13 @@ export default {
},
"ApplicationRegistration": {
"createdAt": [
- 207
+ 208
],
"galleryImagesUrls": [
1
],
"id": [
- 519
+ 522
],
"isConfigured": [
4
@@ -1480,19 +1497,19 @@ export default {
1
],
"ownerWorkspaceId": [
- 519
+ 522
],
"sourcePackage": [
1
],
"sourceType": [
- 71
+ 72
],
"universalIdentifier": [
1
],
"updatedAt": [
- 207
+ 208
],
"__typename": [
1
@@ -1507,7 +1524,7 @@ export default {
10
],
"creditsUsedBreakdown": [
- 204
+ 205
],
"mostInstalledVersion": [
1
@@ -1519,7 +1536,7 @@ export default {
6
],
"versionDistribution": [
- 626
+ 629
],
"__typename": [
1
@@ -1527,7 +1544,7 @@ export default {
},
"ApplicationRegistrationSummary": {
"id": [
- 519
+ 522
],
"latestAvailableVersion": [
1
@@ -1536,7 +1553,7 @@ export default {
1
],
"sourceType": [
- 71
+ 72
],
"__typename": [
1
@@ -1544,13 +1561,13 @@ export default {
},
"ApplicationRegistrationVariable": {
"createdAt": [
- 207
+ 208
],
"description": [
1
],
"id": [
- 519
+ 522
],
"isDeprecated": [
4
@@ -1568,13 +1585,13 @@ export default {
1
],
"options": [
- 309
+ 310
],
"type": [
1
],
"updatedAt": [
- 207
+ 208
],
"value": [
1
@@ -1585,10 +1602,10 @@ export default {
},
"ApplicationTokenPair": {
"applicationAccessToken": [
- 81
+ 82
],
"applicationRefreshToken": [
- 81
+ 82
],
"__typename": [
1
@@ -1599,7 +1616,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"isDeprecated": [
4
@@ -1617,10 +1634,10 @@ export default {
1
],
"options": [
- 309
+ 310
],
"scope": [
- 77
+ 78
],
"type": [
1
@@ -1635,13 +1652,13 @@ export default {
"ApplicationVariableScope": {},
"ApprovedAccessDomain": {
"createdAt": [
- 207
+ 208
],
"domain": [
1
],
"id": [
- 519
+ 522
],
"isValidated": [
4
@@ -1678,7 +1695,7 @@ export default {
4
],
"sso": [
- 459
+ 461
],
"__typename": [
1
@@ -1686,7 +1703,7 @@ export default {
},
"AuthToken": {
"expiresAt": [
- 207
+ 208
],
"token": [
1
@@ -1697,10 +1714,10 @@ export default {
},
"AuthTokenPair": {
"accessOrWorkspaceAgnosticToken": [
- 81
+ 82
],
"refreshToken": [
- 81
+ 82
],
"__typename": [
1
@@ -1708,7 +1725,7 @@ export default {
},
"AuthTokens": {
"tokens": [
- 82
+ 83
],
"__typename": [
1
@@ -1738,7 +1755,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"inviteHash": [
1
@@ -1753,10 +1770,10 @@ export default {
1
],
"sso": [
- 458
+ 460
],
"workspaceUrls": [
- 668
+ 671
],
"__typename": [
1
@@ -1764,10 +1781,10 @@ export default {
},
"AvailableWorkspaces": {
"availableWorkspacesForSignIn": [
- 86
+ 87
],
"availableWorkspacesForSignUp": [
- 86
+ 87
],
"__typename": [
1
@@ -1775,10 +1792,10 @@ export default {
},
"AvailableWorkspacesAndAccessTokens": {
"availableWorkspaces": [
- 87
+ 88
],
"tokens": [
- 82
+ 83
],
"__typename": [
1
@@ -1787,19 +1804,19 @@ export default {
"AxisNameDisplay": {},
"BarChartConfiguration": {
"aggregateFieldMetadataId": [
- 519
+ 522
],
"aggregateOperation": [
26
],
"axisNameDisplay": [
- 89
+ 90
],
"color": [
1
],
"configurationType": [
- 645
+ 648
],
"description": [
1
@@ -1811,31 +1828,31 @@ export default {
4
],
"filter": [
- 309
+ 310
],
"firstDayOfTheWeek": [
10
],
"groupMode": [
- 93
+ 94
],
"isCumulative": [
4
],
"layout": [
- 94
+ 95
],
"numberFormat": [
- 139
+ 140
],
"omitNullValues": [
4
],
"primaryAxisDateGranularity": [
- 384
+ 386
],
"primaryAxisGroupByFieldMetadataId": [
- 519
+ 522
],
"primaryAxisGroupBySubFieldName": [
1
@@ -1844,7 +1861,7 @@ export default {
1
],
"primaryAxisOrderBy": [
- 290
+ 291
],
"rangeMax": [
6
@@ -1853,10 +1870,10 @@ export default {
6
],
"secondaryAxisGroupByDateGranularity": [
- 384
+ 386
],
"secondaryAxisGroupByFieldMetadataId": [
- 519
+ 522
],
"secondaryAxisGroupBySubFieldName": [
1
@@ -1865,7 +1882,7 @@ export default {
1
],
"secondaryAxisOrderBy": [
- 290
+ 291
],
"splitMultiValueFields": [
4
@@ -1879,13 +1896,13 @@ export default {
},
"BarChartData": {
"data": [
- 309
+ 310
],
"formattedToRawLookup": [
- 309
+ 310
],
"groupMode": [
- 93
+ 94
],
"hasTooManyGroups": [
4
@@ -1897,10 +1914,10 @@ export default {
1
],
"layout": [
- 94
+ 95
],
"series": [
- 95
+ 96
],
"showDataLabels": [
4
@@ -1920,10 +1937,10 @@ export default {
},
"BarChartDataInput": {
"configuration": [
- 309
+ 310
],
"objectMetadataId": [
- 519
+ 522
],
"__typename": [
1
@@ -1954,7 +1971,7 @@ export default {
1
],
"trialPeriods": [
- 121
+ 122
],
"__typename": [
1
@@ -1965,10 +1982,10 @@ export default {
4
],
"id": [
- 519
+ 522
],
"userCreditsFallback": [
- 617
+ 620
],
"__typename": [
1
@@ -1979,16 +1996,16 @@ export default {
1
],
"billingSubscriptions": [
- 116
+ 117
],
"currentBillingSubscription": [
- 116
+ 117
],
"hasPaymentMethod": [
4
],
"status": [
- 493
+ 495
],
"__typename": [
1
@@ -1996,7 +2013,7 @@ export default {
},
"BillingEntitlement": {
"key": [
- 101
+ 102
],
"value": [
4
@@ -2014,13 +2031,13 @@ export default {
1
],
"metadata": [
- 113
+ 114
],
"name": [
1
],
"prices": [
- 107
+ 108
],
"__typename": [
1
@@ -2034,13 +2051,13 @@ export default {
1
],
"metadata": [
- 113
+ 114
],
"name": [
1
],
"prices": [
- 108
+ 109
],
"__typename": [
1
@@ -2059,10 +2076,10 @@ export default {
},
"BillingPlan": {
"baseProducts": [
- 102
+ 103
],
"downgradePlanKeys": [
- 106
+ 107
],
"isCheckoutDefault": [
4
@@ -2071,16 +2088,16 @@ export default {
4
],
"meteredProducts": [
- 103
+ 104
],
"planKey": [
- 106
+ 107
],
"resourceCreditProducts": [
- 102
+ 103
],
"upgradePlanKeys": [
- 106
+ 107
],
"__typename": [
1
@@ -2095,10 +2112,10 @@ export default {
4
],
"priceUsageType": [
- 123
+ 124
],
"recurringInterval": [
- 492
+ 494
],
"stripePriceId": [
1
@@ -2112,16 +2129,16 @@ export default {
},
"BillingPriceMetered": {
"priceUsageType": [
- 123
+ 124
],
"recurringInterval": [
- 492
+ 494
],
"stripePriceId": [
1
],
"tiers": [
- 109
+ 110
],
"__typename": [
1
@@ -2149,7 +2166,7 @@ export default {
1
],
"metadata": [
- 113
+ 114
],
"name": [
1
@@ -2166,16 +2183,16 @@ export default {
1
],
"metadata": [
- 113
+ 114
],
"name": [
1
],
"on_BillingLicensedProduct": [
- 102
+ 103
],
"on_BillingMeteredProduct": [
- 103
+ 104
],
"__typename": [
1
@@ -2187,13 +2204,13 @@ export default {
1
],
"planKey": [
- 106
+ 107
],
"priceUsageBased": [
- 123
+ 124
],
"productKey": [
- 112
+ 113
],
"__typename": [
1
@@ -2201,13 +2218,13 @@ export default {
},
"BillingResourceCreditUsage": {
"periodEnd": [
- 207
+ 208
],
"periodStart": [
- 207
+ 208
],
"productKey": [
- 112
+ 113
],
"unitPriceCents": [
6
@@ -2247,34 +2264,34 @@ export default {
},
"BillingSubscription": {
"billingSubscriptionItems": [
- 118
+ 119
],
"cancelAt": [
- 207
+ 208
],
"collectionMethod": [
- 117
+ 118
],
"currentPeriodEnd": [
- 207
+ 208
],
"hasUserCredits": [
4
],
"id": [
- 519
+ 522
],
"interval": [
- 492
+ 494
],
"metadata": [
- 309
+ 310
],
"phases": [
- 119
+ 120
],
"status": [
- 493
+ 495
],
"__typename": [
1
@@ -2283,7 +2300,7 @@ export default {
"BillingSubscriptionCollectionMethod": {},
"BillingSubscriptionItem": {
"billingProduct": [
- 111
+ 112
],
"creditAmount": [
6
@@ -2292,7 +2309,7 @@ export default {
4
],
"id": [
- 519
+ 522
],
"quantity": [
6
@@ -2312,7 +2329,7 @@ export default {
6
],
"items": [
- 120
+ 121
],
"start_date": [
6
@@ -2345,10 +2362,10 @@ export default {
},
"BillingUpdate": {
"billingSubscriptions": [
- 116
+ 117
],
"currentBillingSubscription": [
- 116
+ 117
],
"__typename": [
1
@@ -2368,13 +2385,13 @@ export default {
},
"CalendarChannel": {
"connectedAccountId": [
- 519
+ 522
],
"contactAutoCreationPolicy": [
- 126
+ 127
],
"createdAt": [
- 207
+ 208
],
"excludePrivateEvents": [
4
@@ -2383,7 +2400,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"isContactAutoCreationEnabled": [
4
@@ -2392,25 +2409,25 @@ export default {
4
],
"syncStage": [
- 127
+ 128
],
"syncStageStartedAt": [
- 207
+ 208
],
"syncStatus": [
- 128
+ 129
],
"syncedAt": [
- 207
+ 208
],
"throttleFailureCount": [
6
],
"updatedAt": [
- 207
+ 208
],
"visibility": [
- 129
+ 130
],
"__typename": [
1
@@ -2422,7 +2439,7 @@ export default {
"CalendarChannelVisibility": {},
"CalendarConfiguration": {
"configurationType": [
- 645
+ 648
],
"__typename": [
1
@@ -2430,7 +2447,7 @@ export default {
},
"CallRecordingSummaryConfiguration": {
"configurationType": [
- 645
+ 648
],
"__typename": [
1
@@ -2438,7 +2455,7 @@ export default {
},
"CallRecordingTranscriptConfiguration": {
"configurationType": [
- 645
+ 648
],
"__typename": [
1
@@ -2494,7 +2511,7 @@ export default {
},
"Captcha": {
"provider": [
- 137
+ 138
],
"siteKey": [
1
@@ -2515,7 +2532,7 @@ export default {
"ChartNumberFormat": {},
"ChatConfiguration": {
"configurationType": [
- 645
+ 648
],
"__typename": [
1
@@ -2523,10 +2540,10 @@ export default {
},
"ChatStreamCatchupChunks": {
"chunks": [
- 309
+ 310
],
"error": [
- 142
+ 143
],
"maxSeq": [
10
@@ -2548,7 +2565,7 @@ export default {
},
"ChatThreadsConfiguration": {
"configurationType": [
- 645
+ 648
],
"__typename": [
1
@@ -2673,7 +2690,7 @@ export default {
6
],
"modelFamily": [
- 364
+ 366
],
"modelFamilyLabel": [
1
@@ -2682,7 +2699,7 @@ export default {
1
],
"nativeCapabilities": [
- 366
+ 368
],
"outputCostPerMillionTokens": [
6
@@ -2716,13 +2733,13 @@ export default {
},
"ClientConfig": {
"aiEvaluationModels": [
- 146
+ 147
],
"aiModelTiers": [
- 148
+ 149
],
"aiModels": [
- 147
+ 148
],
"allowRequestsToTwentyIcons": [
4
@@ -2737,10 +2754,10 @@ export default {
1
],
"authProviders": [
- 80
+ 81
],
"billing": [
- 97
+ 98
],
"calendarBookingPageId": [
1
@@ -2749,7 +2766,7 @@ export default {
4
],
"captcha": [
- 136
+ 137
],
"defaultSubdomain": [
1
@@ -2812,16 +2829,16 @@ export default {
4
],
"maintenance": [
- 150
+ 151
],
"publicFeatureFlags": [
- 415
+ 417
],
"publicFunctionDomain": [
1
],
"sentry": [
- 477
+ 479
],
"serverUrl": [
1
@@ -2830,7 +2847,7 @@ export default {
4
],
"support": [
- 494
+ 496
],
"__typename": [
1
@@ -2838,13 +2855,13 @@ export default {
},
"ClientConfigMaintenanceMode": {
"endAt": [
- 207
+ 208
],
"link": [
1
],
"startAt": [
- 207
+ 208
],
"__typename": [
1
@@ -2863,13 +2880,13 @@ export default {
},
"CommandMenuItem": {
"applicationId": [
- 519
+ 522
],
"availabilityObjectMetadataId": [
- 519
+ 522
],
"availabilityType": [
- 153
+ 154
],
"conditionalAvailabilityExpression": [
1
@@ -2878,19 +2895,19 @@ export default {
1
],
"coreWorkflowVersionId": [
- 519
+ 522
],
"createdAt": [
- 207
+ 208
],
"engineComponentKey": [
- 241
+ 242
],
"frontComponent": [
- 282
+ 283
],
"frontComponentId": [
- 519
+ 522
],
"hotKeys": [
1
@@ -2899,7 +2916,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"isActive": [
4
@@ -2911,13 +2928,13 @@ export default {
1
],
"navigationTargetObjectMetadataId": [
- 519
+ 522
],
"pageLayoutId": [
- 519
+ 522
],
"payload": [
- 154
+ 155
],
"position": [
6
@@ -2926,13 +2943,13 @@ export default {
1
],
"universalIdentifier": [
- 519
+ 522
],
"updatedAt": [
- 207
+ 208
],
"workflowVersionId": [
- 519
+ 522
],
"__typename": [
1
@@ -2941,10 +2958,10 @@ export default {
"CommandMenuItemAvailabilityType": {},
"CommandMenuItemPayload": {
"on_ObjectMetadataCommandMenuItemPayload": [
- 376
+ 378
],
"on_PathCommandMenuItemPayload": [
- 401
+ 403
],
"__typename": [
1
@@ -2952,10 +2969,10 @@ export default {
},
"CompleteApplicationFileUploadsResult": {
"errors": [
- 55
+ 56
],
"files": [
- 273
+ 274
],
"__typename": [
1
@@ -2963,25 +2980,25 @@ export default {
},
"ConnectedAccountPublicDTO": {
"applicationId": [
- 519
+ 522
],
"archivedAt": [
- 207
+ 208
],
"authFailedAt": [
- 207
+ 208
],
"authFailedReason": [
1
],
"connectionParameters": [
- 417
+ 419
],
"connectionProviderId": [
- 519
+ 522
],
"createdAt": [
- 207
+ 208
],
"handle": [
1
@@ -2990,13 +3007,13 @@ export default {
1
],
"id": [
- 519
+ 522
],
"lastCredentialsRefreshedAt": [
- 207
+ 208
],
"lastSignedInAt": [
- 207
+ 208
],
"name": [
1
@@ -3005,16 +3022,16 @@ export default {
1
],
"scope": [
- 157
+ 158
],
"scopes": [
1
],
"updatedAt": [
- 207
+ 208
],
"userWorkspaceId": [
- 519
+ 522
],
"visibility": [
1
@@ -3026,19 +3043,19 @@ export default {
"ConnectedAccountScope": {},
"ConnectedImapSmtpCaldavAccount": {
"connectionParameters": [
- 295
+ 296
],
"handle": [
1
],
"id": [
- 519
+ 522
],
"provider": [
1
],
"userWorkspaceId": [
- 519
+ 522
],
"__typename": [
1
@@ -3047,7 +3064,7 @@ export default {
"ConnectionCursor": {},
"ConnectionParametersInput": {
"connectionSecurity": [
- 234
+ 235
],
"host": [
1
@@ -3077,7 +3094,7 @@ export default {
1
],
"roleIds": [
- 519
+ 522
],
"__typename": [
1
@@ -3094,7 +3111,7 @@ export default {
1
],
"modelConfiguration": [
- 309
+ 310
],
"modelId": [
1
@@ -3106,13 +3123,13 @@ export default {
1
],
"responseFormat": [
- 309
+ 310
],
"roleId": [
- 519
+ 522
],
"triggers": [
- 309
+ 310
],
"__typename": [
1
@@ -3129,7 +3146,7 @@ export default {
1
],
"roleId": [
- 519
+ 522
],
"__typename": [
1
@@ -3137,7 +3154,7 @@ export default {
},
"CreateAppMessageChannelInput": {
"connectedAccountId": [
- 519
+ 522
],
"displayName": [
1
@@ -3146,13 +3163,13 @@ export default {
1
],
"messagingProviderUniversalIdentifier": [
- 519
+ 522
],
"participantHandleFieldUniversalIdentifier": [
- 519
+ 522
],
"visibility": [
- 344
+ 346
],
"__typename": [
1
@@ -3160,10 +3177,10 @@ export default {
},
"CreateApplicationFileUploadsResult": {
"errors": [
- 56
+ 57
],
"targets": [
- 58
+ 59
],
"__typename": [
1
@@ -3171,7 +3188,7 @@ export default {
},
"CreateApplicationRegistration": {
"applicationRegistration": [
- 70
+ 71
],
"clientSecret": [
1
@@ -3268,10 +3285,10 @@ export default {
},
"CreateCommandMenuItemInput": {
"availabilityObjectMetadataId": [
- 519
+ 522
],
"availabilityType": [
- 153
+ 154
],
"conditionalAvailabilityExpression": [
1
@@ -3280,13 +3297,13 @@ export default {
1
],
"coreWorkflowVersionId": [
- 519
+ 522
],
"engineComponentKey": [
- 241
+ 242
],
"frontComponentId": [
- 519
+ 522
],
"hotKeys": [
1
@@ -3301,13 +3318,13 @@ export default {
1
],
"navigationTargetObjectMetadataId": [
- 519
+ 522
],
"pageLayoutId": [
- 519
+ 522
],
"payload": [
- 309
+ 310
],
"position": [
6
@@ -3316,7 +3333,7 @@ export default {
1
],
"workflowVersionId": [
- 519
+ 522
],
"__typename": [
1
@@ -3338,7 +3355,7 @@ export default {
1
],
"messageChannel": [
- 338
+ 340
],
"__typename": [
1
@@ -3354,7 +3371,7 @@ export default {
},
"CreateFieldInput": {
"defaultValue": [
- 309
+ 310
],
"description": [
1
@@ -3396,25 +3413,25 @@ export default {
1
],
"morphRelationsCreationPayload": [
- 309
+ 310
],
"name": [
1
],
"objectMetadataId": [
- 519
+ 522
],
"options": [
- 309
+ 310
],
"relationCreationPayload": [
- 309
+ 310
],
"settings": [
- 309
+ 310
],
"type": [
- 268
+ 269
],
"__typename": [
1
@@ -3434,7 +3451,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"name": [
1
@@ -3448,7 +3465,7 @@ export default {
},
"CreateIndexFieldInput": {
"fieldMetadataId": [
- 519
+ 522
],
"subFieldName": [
1
@@ -3459,13 +3476,13 @@ export default {
},
"CreateIndexInput": {
"fields": [
- 178
+ 179
],
"indexType": [
- 302
+ 303
],
"objectMetadataId": [
- 519
+ 522
],
"__typename": [
1
@@ -3473,40 +3490,40 @@ export default {
},
"CreateLogicFunctionFromSourceInput": {
"cronTriggerSettings": [
- 309
+ 310
],
"databaseEventTriggerSettings": [
- 309
+ 310
],
"description": [
1
],
"httpRouteTriggerSettings": [
- 309
+ 310
],
"id": [
- 519
+ 522
],
"name": [
1
],
"serverRouteTriggerSettings": [
- 309
+ 310
],
"source": [
- 309
+ 310
],
"timeoutSeconds": [
6
],
"toolTriggerSettings": [
- 309
+ 310
],
"universalIdentifier": [
- 519
+ 522
],
"workflowActionTriggerSettings": [
- 309
+ 310
],
"__typename": [
1
@@ -3517,7 +3534,7 @@ export default {
1
],
"unsubscribeTopicId": [
- 519
+ 522
],
"__typename": [
1
@@ -3525,19 +3542,19 @@ export default {
},
"CreateNavigationMenuItemInput": {
"agentChatChannelId": [
- 519
+ 522
],
"color": [
1
],
"folderId": [
- 519
+ 522
],
"icon": [
1
],
"id": [
- 519
+ 522
],
"link": [
1
@@ -3546,25 +3563,25 @@ export default {
1
],
"pageLayoutId": [
- 519
+ 522
],
"position": [
6
],
"targetObjectMetadataId": [
- 519
+ 522
],
"targetRecordId": [
- 519
+ 522
],
"type": [
- 368
+ 370
],
"userWorkspaceId": [
- 519
+ 522
],
"viewId": [
- 519
+ 522
],
"__typename": [
1
@@ -3602,7 +3619,7 @@ export default {
1
],
"primaryKeyFieldMetadataSettings": [
- 309
+ 310
],
"shortcut": [
1
@@ -3616,7 +3633,7 @@ export default {
},
"CreateOneFieldMetadataInput": {
"field": [
- 176
+ 177
],
"__typename": [
1
@@ -3624,7 +3641,7 @@ export default {
},
"CreateOneIndexInput": {
"index": [
- 179
+ 180
],
"__typename": [
1
@@ -3632,7 +3649,7 @@ export default {
},
"CreateOneObjectInput": {
"object": [
- 183
+ 184
],
"__typename": [
1
@@ -3643,10 +3660,10 @@ export default {
1
],
"objectMetadataId": [
- 519
+ 522
],
"type": [
- 394
+ 396
],
"__typename": [
1
@@ -3654,10 +3671,10 @@ export default {
},
"CreatePageLayoutTabInput": {
"layoutMode": [
- 393
+ 395
],
"pageLayoutId": [
- 519
+ 522
],
"position": [
6
@@ -3671,22 +3688,22 @@ export default {
},
"CreatePageLayoutWidgetInput": {
"configuration": [
- 309
+ 310
],
"objectMetadataId": [
- 519
+ 522
],
"pageLayoutTabId": [
- 519
+ 522
],
"position": [
- 309
+ 310
],
"title": [
1
],
"type": [
- 646
+ 649
],
"__typename": [
1
@@ -3694,16 +3711,16 @@ export default {
},
"CreateRecordExportInput": {
"fieldMetadataIds": [
- 519
+ 522
],
"filter": [
- 309
+ 310
],
"objectMetadataId": [
- 519
+ 522
],
"orderBy": [
- 309
+ 310
],
"__typename": [
1
@@ -3767,7 +3784,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"label": [
1
@@ -3787,7 +3804,7 @@ export default {
1
],
"visibility": [
- 523
+ 526
],
"__typename": [
1
@@ -3795,16 +3812,16 @@ export default {
},
"CreateUsageLimitInput": {
"burstValue": [
- 96
+ 97
],
"limitKind": [
1
],
"limitValue": [
- 96
+ 97
],
"operationType": [
- 604
+ 607
],
"periodCount": [
10
@@ -3813,7 +3830,7 @@ export default {
1
],
"resourceType": [
- 611
+ 614
],
"spenderId": [
1
@@ -3822,7 +3839,7 @@ export default {
1
],
"unit": [
- 613
+ 616
],
"__typename": [
1
@@ -3833,7 +3850,7 @@ export default {
1
],
"errorFieldMetadataId": [
- 519
+ 522
],
"expression": [
1
@@ -3851,7 +3868,7 @@ export default {
1
],
"objectMetadataId": [
- 519
+ 522
],
"__typename": [
1
@@ -3859,7 +3876,7 @@ export default {
},
"CreateViewFieldGroupInput": {
"id": [
- 519
+ 522
],
"isVisible": [
4
@@ -3871,7 +3888,7 @@ export default {
6
],
"viewId": [
- 519
+ 522
],
"__typename": [
1
@@ -3882,10 +3899,10 @@ export default {
26
],
"fieldMetadataId": [
- 519
+ 522
],
"id": [
- 519
+ 522
],
"isVisible": [
4
@@ -3897,10 +3914,10 @@ export default {
6
],
"viewFieldGroupId": [
- 519
+ 522
],
"viewId": [
- 519
+ 522
],
"__typename": [
1
@@ -3908,19 +3925,19 @@ export default {
},
"CreateViewFilterGroupInput": {
"id": [
- 519
+ 522
],
"logicalOperator": [
- 634
+ 637
],
"parentViewFilterGroupId": [
- 519
+ 522
],
"positionInViewFilterGroup": [
6
],
"viewId": [
- 519
+ 522
],
"__typename": [
1
@@ -3928,31 +3945,31 @@ export default {
},
"CreateViewFilterInput": {
"fieldMetadataId": [
- 519
+ 522
],
"id": [
- 519
+ 522
],
"operand": [
- 635
+ 638
],
"positionInViewFilterGroup": [
6
],
"relationTargetFieldMetadataId": [
- 519
+ 522
],
"subFieldName": [
1
],
"value": [
- 309
+ 310
],
"viewFilterGroupId": [
- 519
+ 522
],
"viewId": [
- 519
+ 522
],
"__typename": [
1
@@ -3963,7 +3980,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"isVisible": [
4
@@ -3972,7 +3989,7 @@ export default {
6
],
"viewId": [
- 519
+ 522
],
"__typename": [
1
@@ -3983,13 +4000,13 @@ export default {
1
],
"calendarEndFieldMetadataId": [
- 519
+ 522
],
"calendarFieldMetadataId": [
- 519
+ 522
],
"calendarLayout": [
- 628
+ 631
],
"groupLoadLimit": [
10
@@ -3998,7 +4015,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"isCompact": [
4
@@ -4007,25 +4024,25 @@ export default {
26
],
"kanbanAggregateOperationFieldMetadataId": [
- 519
+ 522
],
"kanbanColumnWidth": [
10
],
"key": [
- 637
+ 640
],
"mainGroupByFieldMetadataId": [
- 519
+ 522
],
"name": [
1
],
"objectMetadataId": [
- 519
+ 522
],
"openRecordIn": [
- 638
+ 641
],
"position": [
6
@@ -4034,10 +4051,10 @@ export default {
4
],
"type": [
- 641
+ 644
],
"visibility": [
- 642
+ 645
],
"__typename": [
1
@@ -4045,19 +4062,19 @@ export default {
},
"CreateViewSortInput": {
"direction": [
- 640
+ 643
],
"fieldMetadataId": [
- 519
+ 522
],
"id": [
- 519
+ 522
],
"subFieldName": [
1
],
"viewId": [
- 519
+ 522
],
"__typename": [
1
@@ -4068,7 +4085,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"operations": [
1
@@ -4091,10 +4108,10 @@ export default {
1
],
"operation": [
- 604
+ 607
],
"resource": [
- 611
+ 614
],
"__typename": [
1
@@ -4102,10 +4119,10 @@ export default {
},
"CursorPaging": {
"after": [
- 159
+ 160
],
"before": [
- 159
+ 160
],
"first": [
10
@@ -4121,7 +4138,7 @@ export default {
"DateTime": {},
"DeleteApprovedAccessDomainInput": {
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -4129,7 +4146,7 @@ export default {
},
"DeleteOneFieldInput": {
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -4137,7 +4154,7 @@ export default {
},
"DeleteOneIndexInput": {
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -4145,7 +4162,7 @@ export default {
},
"DeleteOneObjectInput": {
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -4153,7 +4170,7 @@ export default {
},
"DeleteSso": {
"identityProviderId": [
- 519
+ 522
],
"__typename": [
1
@@ -4161,7 +4178,7 @@ export default {
},
"DeleteSsoInput": {
"identityProviderId": [
- 519
+ 522
],
"__typename": [
1
@@ -4177,7 +4194,7 @@ export default {
},
"DeleteViewFieldGroupInput": {
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -4185,7 +4202,7 @@ export default {
},
"DeleteViewFieldInput": {
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -4193,7 +4210,7 @@ export default {
},
"DeleteViewFilterInput": {
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -4201,7 +4218,7 @@ export default {
},
"DeleteViewGroupInput": {
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -4209,7 +4226,7 @@ export default {
},
"DeleteViewSortInput": {
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -4220,16 +4237,16 @@ export default {
1
],
"id": [
- 519
+ 522
],
"name": [
- 285
+ 286
],
"userEmail": [
1
],
"userWorkspaceId": [
- 519
+ 522
],
"__typename": [
1
@@ -4237,7 +4254,7 @@ export default {
},
"DestroyViewFieldGroupInput": {
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -4245,7 +4262,7 @@ export default {
},
"DestroyViewFieldInput": {
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -4253,7 +4270,7 @@ export default {
},
"DestroyViewFilterInput": {
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -4261,7 +4278,7 @@ export default {
},
"DestroyViewGroupInput": {
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -4269,7 +4286,7 @@ export default {
},
"DestroyViewSortInput": {
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -4311,13 +4328,13 @@ export default {
1
],
"id": [
- 519
+ 522
],
"isCustomDomainEnabled": [
4
],
"records": [
- 227
+ 228
],
"__typename": [
1
@@ -4328,10 +4345,10 @@ export default {
1
],
"id": [
- 519
+ 522
],
"pageLayoutId": [
- 519
+ 522
],
"position": [
6
@@ -4354,7 +4371,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"memberCount": [
6
@@ -4374,7 +4391,7 @@ export default {
},
"EditSso": {
"id": [
- 519
+ 522
],
"issuer": [
1
@@ -4383,10 +4400,10 @@ export default {
1
],
"status": [
- 460
+ 462
],
"type": [
- 292
+ 293
],
"__typename": [
1
@@ -4394,10 +4411,10 @@ export default {
},
"EditSsoInput": {
"id": [
- 519
+ 522
],
"status": [
- 460
+ 462
],
"__typename": [
1
@@ -4405,13 +4422,13 @@ export default {
},
"EmailAccountConnectionParameters": {
"CALDAV": [
- 160
+ 161
],
"IMAP": [
- 160
+ 161
],
"SMTP": [
- 160
+ 161
],
"name": [
1
@@ -4431,7 +4448,7 @@ export default {
},
"EmailThreadConfiguration": {
"configurationType": [
- 645
+ 648
],
"__typename": [
1
@@ -4439,31 +4456,31 @@ export default {
},
"EmailingDomain": {
"createdAt": [
- 207
+ 208
],
"domain": [
1
],
"id": [
- 519
+ 522
],
"status": [
- 238
+ 239
],
"tenantStatus": [
- 239
+ 240
],
"unsubscribeHostnameStatus": [
- 521
+ 524
],
"updatedAt": [
- 207
+ 208
],
"verificationRecords": [
- 623
+ 626
],
"verifiedAt": [
- 207
+ 208
],
"__typename": [
1
@@ -4473,7 +4490,7 @@ export default {
"EmailingDomainTenantStatus": {},
"EmailsConfiguration": {
"configurationType": [
- 645
+ 648
],
"__typename": [
1
@@ -4491,7 +4508,7 @@ export default {
1
],
"payload": [
- 309
+ 310
],
"retryLimit": [
10
@@ -4505,7 +4522,7 @@ export default {
1
],
"payload": [
- 309
+ 310
],
"__typename": [
1
@@ -4530,13 +4547,13 @@ export default {
10
],
"jobs": [
- 243
+ 244
],
"logicFunctionUniversalIdentifier": [
1
],
"payloads": [
- 309
+ 310
],
"retryLimit": [
10
@@ -4564,7 +4581,7 @@ export default {
},
"EnterpriseLicenseInfoDTO": {
"expiresAt": [
- 207
+ 208
],
"isValid": [
4
@@ -4581,13 +4598,13 @@ export default {
},
"EnterpriseSubscriptionStatusDTO": {
"cancelAt": [
- 207
+ 208
],
"currentPeriodEnd": [
- 207
+ 208
],
"expiresAt": [
- 207
+ 208
],
"isCancellationScheduled": [
4
@@ -4604,10 +4621,10 @@ export default {
},
"EventLogDateRangeInput": {
"end": [
- 207
+ 208
],
"start": [
- 207
+ 208
],
"__typename": [
1
@@ -4618,7 +4635,7 @@ export default {
1
],
"operand": [
- 251
+ 252
],
"values": [
1
@@ -4630,13 +4647,13 @@ export default {
"EventLogFilterOperand": {},
"EventLogFiltersInput": {
"dateRange": [
- 249
+ 250
],
"eventType": [
1
],
"fieldFilters": [
- 250
+ 251
],
"objectMetadataId": [
1
@@ -4667,13 +4684,13 @@ export default {
1
],
"filters": [
- 252
+ 253
],
"first": [
10
],
"table": [
- 257
+ 258
],
"__typename": [
1
@@ -4681,10 +4698,10 @@ export default {
},
"EventLogQueryResult": {
"pageInfo": [
- 253
+ 254
],
"records": [
- 256
+ 257
],
"totalCount": [
10
@@ -4704,13 +4721,13 @@ export default {
1
],
"properties": [
- 309
+ 310
],
"recordId": [
1
],
"timestamp": [
- 207
+ 208
],
"userId": [
1
@@ -4725,13 +4742,13 @@ export default {
1
],
"metadataEvents": [
- 353
+ 355
],
"objectRecordEventsWithQueryIds": [
- 383
+ 385
],
"queueJobEvents": [
- 312
+ 313
],
"__typename": [
1
@@ -4739,10 +4756,10 @@ export default {
},
"ExecuteOneLogicFunctionInput": {
"id": [
- 519
+ 522
],
"payload": [
- 309
+ 310
],
"__typename": [
1
@@ -4750,7 +4767,7 @@ export default {
},
"FeatureFlag": {
"key": [
- 261
+ 262
],
"value": [
4
@@ -4762,13 +4779,13 @@ export default {
"FeatureFlagKey": {},
"Field": {
"applicationId": [
- 519
+ 522
],
"createdAt": [
- 207
+ 208
],
"defaultValue": [
- 309
+ 310
],
"description": [
1
@@ -4777,7 +4794,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"isActive": [
4
@@ -4810,40 +4827,40 @@ export default {
1
],
"morphId": [
- 519
+ 522
],
"morphRelations": [
- 436
+ 438
],
"name": [
1
],
"object": [
- 370
+ 372
],
"objectMetadataId": [
- 519
+ 522
],
"options": [
- 309
+ 310
],
"relation": [
- 436
+ 438
],
"settings": [
- 309
+ 310
],
"type": [
- 268
+ 269
],
"universalIdentifier": [
1
],
"updatedAt": [
- 207
+ 208
],
"writability": [
- 360
+ 362
],
"__typename": [
1
@@ -4851,10 +4868,10 @@ export default {
},
"FieldConfiguration": {
"configurationType": [
- 645
+ 648
],
"fieldDisplayMode": [
- 265
+ 266
],
"fieldMetadataId": [
1
@@ -4874,10 +4891,10 @@ export default {
},
"FieldConnection": {
"edges": [
- 266
+ 267
],
"pageInfo": [
- 390
+ 392
],
"__typename": [
1
@@ -4886,10 +4903,10 @@ export default {
"FieldDisplayMode": {},
"FieldEdge": {
"cursor": [
- 159
+ 160
],
"node": [
- 262
+ 263
],
"__typename": [
1
@@ -4897,28 +4914,28 @@ export default {
},
"FieldFilter": {
"and": [
- 267
+ 268
],
"id": [
- 520
+ 523
],
"isActive": [
- 124
+ 125
],
"isSystem": [
- 124
+ 125
],
"isUIEditable": [
- 124
+ 125
],
"isUIReadOnly": [
- 124
+ 125
],
"objectMetadataId": [
- 520
+ 523
],
"or": [
- 267
+ 268
],
"__typename": [
1
@@ -4933,16 +4950,16 @@ export default {
4
],
"fieldMetadataId": [
- 519
+ 522
],
"id": [
- 519
+ 522
],
"objectMetadataId": [
- 519
+ 522
],
"roleId": [
- 519
+ 522
],
"__typename": [
1
@@ -4956,10 +4973,10 @@ export default {
4
],
"fieldMetadataId": [
- 519
+ 522
],
"objectMetadataId": [
- 519
+ 522
],
"__typename": [
1
@@ -4967,7 +4984,7 @@ export default {
},
"FieldRichTextConfiguration": {
"configurationType": [
- 645
+ 648
],
"__typename": [
1
@@ -4975,7 +4992,7 @@ export default {
},
"FieldsConfiguration": {
"configurationType": [
- 645
+ 648
],
"newFieldDefaultVisibility": [
4
@@ -4992,10 +5009,10 @@ export default {
},
"File": {
"createdAt": [
- 207
+ 208
],
"id": [
- 519
+ 522
],
"path": [
1
@@ -5012,7 +5029,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -5024,10 +5041,10 @@ export default {
1
],
"expiresAt": [
- 207
+ 208
],
"fileId": [
- 519
+ 522
],
"uploadUrl": [
1
@@ -5038,10 +5055,10 @@ export default {
},
"FileWithSignedUrl": {
"createdAt": [
- 207
+ 208
],
"id": [
- 519
+ 522
],
"path": [
1
@@ -5058,7 +5075,7 @@ export default {
},
"FilesConfiguration": {
"configurationType": [
- 645
+ 648
],
"__typename": [
1
@@ -5066,7 +5083,7 @@ export default {
},
"FindAvailableSSOIDP": {
"id": [
- 519
+ 522
],
"issuer": [
1
@@ -5075,13 +5092,13 @@ export default {
1
],
"status": [
- 460
+ 462
],
"type": [
- 292
+ 293
],
"workspace": [
- 665
+ 668
],
"__typename": [
1
@@ -5095,13 +5112,13 @@ export default {
10
],
"reason": [
- 351
+ 353
],
"searchTerm": [
1
],
"unsubscribeTopicId": [
- 519
+ 522
],
"__typename": [
1
@@ -5109,7 +5126,7 @@ export default {
},
"FormFieldConfiguration": {
"configurationType": [
- 645
+ 648
],
"fieldMetadataId": [
1
@@ -5123,16 +5140,16 @@ export default {
1
],
"applicationId": [
- 519
+ 522
],
"applicationName": [
1
],
"applicationTokenPair": [
- 75
+ 76
],
"applicationVariables": [
- 309
+ 310
],
"builtComponentChecksum": [
1
@@ -5144,7 +5161,7 @@ export default {
1
],
"createdAt": [
- 207
+ 208
],
"description": [
1
@@ -5153,7 +5170,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"isHeadless": [
4
@@ -5165,16 +5182,16 @@ export default {
1
],
"universalIdentifier": [
- 519
+ 522
],
"updatedAt": [
- 207
+ 208
],
"usesSdkClient": [
4
],
"widgetAvailability": [
- 284
+ 285
],
"__typename": [
1
@@ -5182,13 +5199,13 @@ export default {
},
"FrontComponentConfiguration": {
"configurationType": [
- 645
+ 648
],
"frontComponentId": [
- 519
+ 522
],
"headerCommandMenuItemUniversalIdentifiers": [
- 519
+ 522
],
"__typename": [
1
@@ -5196,10 +5213,10 @@ export default {
},
"FrontComponentWidgetAvailability": {
"objectMetadataId": [
- 519
+ 522
],
"pageLayoutType": [
- 394
+ 396
],
"__typename": [
1
@@ -5218,7 +5235,7 @@ export default {
},
"GetApiKeyInput": {
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -5229,7 +5246,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"type": [
1
@@ -5240,7 +5257,7 @@ export default {
},
"GetAuthorizationUrlForSSOInput": {
"identityProviderId": [
- 519
+ 522
],
"workspaceInviteHash": [
1
@@ -5251,7 +5268,7 @@ export default {
},
"GrantApplicationCapabilitiesInput": {
"applicationId": [
- 519
+ 522
],
"capabilities": [
1
@@ -5281,7 +5298,7 @@ export default {
"IdentityProviderType": {},
"IframeConfiguration": {
"configurationType": [
- 645
+ 648
],
"url": [
1
@@ -5303,13 +5320,13 @@ export default {
},
"ImapSmtpCaldavPublicConnectionParameters": {
"CALDAV": [
- 296
+ 297
],
"IMAP": [
- 296
+ 297
],
"SMTP": [
- 296
+ 297
],
"name": [
1
@@ -5320,7 +5337,7 @@ export default {
},
"ImapSmtpCaldavPublicConnectionParams": {
"connectionSecurity": [
- 234
+ 235
],
"host": [
1
@@ -5337,10 +5354,10 @@ export default {
},
"Impersonate": {
"loginToken": [
- 81
+ 82
],
"workspace": [
- 669
+ 672
],
"__typename": [
1
@@ -5348,16 +5365,16 @@ export default {
},
"Index": {
"createdAt": [
- 207
+ 208
],
"id": [
- 519
+ 522
],
"indexFieldMetadataList": [
- 300
+ 301
],
"indexType": [
- 302
+ 303
],
"indexWhereClause": [
1
@@ -5372,7 +5389,7 @@ export default {
1
],
"updatedAt": [
- 207
+ 208
],
"__typename": [
1
@@ -5380,10 +5397,10 @@ export default {
},
"IndexEdge": {
"cursor": [
- 159
+ 160
],
"node": [
- 298
+ 299
],
"__typename": [
1
@@ -5391,13 +5408,13 @@ export default {
},
"IndexField": {
"createdAt": [
- 207
+ 208
],
"fieldMetadataId": [
- 519
+ 522
],
"id": [
- 519
+ 522
],
"order": [
6
@@ -5406,7 +5423,7 @@ export default {
1
],
"updatedAt": [
- 207
+ 208
],
"__typename": [
1
@@ -5414,16 +5431,16 @@ export default {
},
"IndexFilter": {
"and": [
- 301
+ 302
],
"id": [
- 520
+ 523
],
"isCustom": [
- 124
+ 125
],
"or": [
- 301
+ 302
],
"__typename": [
1
@@ -5432,10 +5449,10 @@ export default {
"IndexType": {},
"IngestAppMessagesInput": {
"messageChannelId": [
- 519
+ 522
],
"messages": [
- 42
+ 43
],
"__typename": [
1
@@ -5443,7 +5460,7 @@ export default {
},
"IngestAppMessagesOutput": {
"messages": [
- 305
+ 306
],
"__typename": [
1
@@ -5454,10 +5471,10 @@ export default {
1
],
"messageId": [
- 519
+ 522
],
"messageThreadId": [
- 519
+ 522
],
"__typename": [
1
@@ -5516,7 +5533,7 @@ export default {
6
],
"state": [
- 311
+ 312
],
"__typename": [
1
@@ -5524,19 +5541,19 @@ export default {
},
"LineChartConfiguration": {
"aggregateFieldMetadataId": [
- 519
+ 522
],
"aggregateOperation": [
26
],
"axisNameDisplay": [
- 89
+ 90
],
"color": [
1
],
"configurationType": [
- 645
+ 648
],
"description": [
1
@@ -5548,7 +5565,7 @@ export default {
4
],
"filter": [
- 309
+ 310
],
"firstDayOfTheWeek": [
10
@@ -5560,16 +5577,16 @@ export default {
4
],
"numberFormat": [
- 139
+ 140
],
"omitNullValues": [
4
],
"primaryAxisDateGranularity": [
- 384
+ 386
],
"primaryAxisGroupByFieldMetadataId": [
- 519
+ 522
],
"primaryAxisGroupBySubFieldName": [
1
@@ -5578,7 +5595,7 @@ export default {
1
],
"primaryAxisOrderBy": [
- 290
+ 291
],
"rangeMax": [
6
@@ -5587,10 +5604,10 @@ export default {
6
],
"secondaryAxisGroupByDateGranularity": [
- 384
+ 386
],
"secondaryAxisGroupByFieldMetadataId": [
- 519
+ 522
],
"secondaryAxisGroupBySubFieldName": [
1
@@ -5599,7 +5616,7 @@ export default {
1
],
"secondaryAxisOrderBy": [
- 290
+ 291
],
"splitMultiValueFields": [
4
@@ -5613,13 +5630,13 @@ export default {
},
"LineChartData": {
"formattedToRawLookup": [
- 309
+ 310
],
"hasTooManyGroups": [
4
],
"series": [
- 317
+ 318
],
"showDataLabels": [
4
@@ -5639,10 +5656,10 @@ export default {
},
"LineChartDataInput": {
"configuration": [
- 309
+ 310
],
"objectMetadataId": [
- 519
+ 522
],
"__typename": [
1
@@ -5661,7 +5678,7 @@ export default {
},
"LineChartSeries": {
"data": [
- 316
+ 317
],
"key": [
1
@@ -5678,7 +5695,7 @@ export default {
1
],
"scope": [
- 157
+ 158
],
"userWorkspaceId": [
1
@@ -5692,7 +5709,15 @@ export default {
},
"ListAppMessageChannelsInput": {
"connectedAccountId": [
- 519
+ 522
+ ],
+ "__typename": [
+ 1
+ ]
+ },
+ "ListAppMessageFoldersInput": {
+ "messageChannelId": [
+ 522
],
"__typename": [
1
@@ -5711,34 +5736,34 @@ export default {
},
"LogicFunction": {
"applicationId": [
- 519
+ 522
],
"canRunOnDemand": [
4
],
"createdAt": [
- 207
+ 208
],
"cronTriggerSettings": [
- 309
+ 310
],
"databaseEventTriggerSettings": [
- 309
+ 310
],
"description": [
1
],
"executionMode": [
- 322
+ 324
],
"handlerName": [
1
],
"httpRouteTriggerSettings": [
- 309
+ 310
],
"id": [
- 519
+ 522
],
"name": [
1
@@ -5753,16 +5778,16 @@ export default {
6
],
"toolTriggerSettings": [
- 309
+ 310
],
"universalIdentifier": [
- 519
+ 522
],
"updatedAt": [
- 207
+ 208
],
"workflowActionTriggerSettings": [
- 309
+ 310
],
"__typename": [
1
@@ -5771,19 +5796,19 @@ export default {
"LogicFunctionExecutionMode": {},
"LogicFunctionExecutionResult": {
"data": [
- 309
+ 310
],
"duration": [
6
],
"error": [
- 309
+ 310
],
"logs": [
1
],
"status": [
- 324
+ 326
],
"__typename": [
1
@@ -5806,7 +5831,7 @@ export default {
1
],
"universalIdentifier": [
- 519
+ 522
],
"__typename": [
1
@@ -5814,19 +5839,19 @@ export default {
},
"LogicFunctionLogsInput": {
"applicationId": [
- 519
+ 522
],
"applicationUniversalIdentifier": [
- 519
+ 522
],
"id": [
- 519
+ 522
],
"name": [
1
],
"universalIdentifier": [
- 519
+ 522
],
"__typename": [
1
@@ -5834,7 +5859,7 @@ export default {
},
"LoginToken": {
"loginToken": [
- 81
+ 82
],
"__typename": [
1
@@ -5916,13 +5941,13 @@ export default {
1
],
"manifest": [
- 309
+ 310
],
"name": [
1
],
"objects": [
- 331
+ 333
],
"pricingDescription": [
1
@@ -5931,7 +5956,7 @@ export default {
1
],
"roles": [
- 332
+ 334
],
"screenshots": [
1
@@ -5940,7 +5965,7 @@ export default {
1
],
"sourceType": [
- 71
+ 72
],
"termsUrl": [
1
@@ -5992,7 +6017,7 @@ export default {
1
],
"fieldPermissions": [
- 333
+ 335
],
"icon": [
1
@@ -6001,7 +6026,7 @@ export default {
1
],
"objectPermissions": [
- 334
+ 336
],
"permissionFlagUniversalIdentifiers": [
1
@@ -6058,7 +6083,7 @@ export default {
},
"MessageCampaignBodyConfiguration": {
"configurationType": [
- 645
+ 648
],
"__typename": [
1
@@ -6066,7 +6091,7 @@ export default {
},
"MessageCampaignDetailsConfiguration": {
"configurationType": [
- 645
+ 648
],
"__typename": [
1
@@ -6085,16 +6110,16 @@ export default {
},
"MessageChannel": {
"connectedAccount": [
- 156
+ 157
],
"connectedAccountId": [
- 519
+ 522
],
"contactAutoCreationPolicy": [
- 339
+ 341
],
"createdAt": [
- 207
+ 208
],
"displayName": [
1
@@ -6109,7 +6134,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"importProgress": [
10
@@ -6121,43 +6146,43 @@ export default {
4
],
"messageFolderImportPolicy": [
- 346
+ 348
],
"messagingProviderUniversalIdentifier": [
- 519
+ 522
],
"participantHandleFieldUniversalIdentifier": [
- 519
+ 522
],
"pendingGroupEmailsAction": [
- 340
+ 342
],
"syncStage": [
- 341
+ 343
],
"syncStageStartedAt": [
- 207
+ 208
],
"syncStatus": [
- 342
+ 344
],
"syncedAt": [
- 207
+ 208
],
"throttleFailureCount": [
6
],
"throttleRetryAfter": [
- 207
+ 208
],
"type": [
- 343
+ 345
],
"updatedAt": [
- 207
+ 208
],
"visibility": [
- 344
+ 346
],
"__typename": [
1
@@ -6171,13 +6196,13 @@ export default {
"MessageChannelVisibility": {},
"MessageFolder": {
"createdAt": [
- 207
+ 208
],
"externalId": [
1
],
"id": [
- 519
+ 522
],
"isSentFolder": [
4
@@ -6186,7 +6211,7 @@ export default {
4
],
"messageChannelId": [
- 519
+ 522
],
"name": [
1
@@ -6195,10 +6220,10 @@ export default {
1
],
"pendingSyncAction": [
- 347
+ 349
],
"updatedAt": [
- 207
+ 208
],
"__typename": [
1
@@ -6209,22 +6234,22 @@ export default {
"MessageParticipantRole": {},
"MessageSuppression": {
"createdAt": [
- 207
+ 208
],
"emailAddress": [
1
],
"id": [
- 519
+ 522
],
"reason": [
- 351
+ 353
],
"source": [
- 352
+ 354
],
"unsubscribeTopicId": [
- 519
+ 522
],
"__typename": [
1
@@ -6232,7 +6257,7 @@ export default {
},
"MessageSuppressionList": {
"records": [
- 349
+ 351
],
"totalCount": [
10
@@ -6248,13 +6273,13 @@ export default {
1
],
"properties": [
- 382
+ 384
],
"recordId": [
1
],
"type": [
- 354
+ 356
],
"updatedCollectionHash": [
1
@@ -6276,16 +6301,16 @@ export default {
1
],
"objectMetadataId": [
- 519
+ 522
],
"property": [
1
],
"provenance": [
- 358
+ 360
],
"recordId": [
- 519
+ 522
],
"sourceValue": [
1
@@ -6314,13 +6339,13 @@ export default {
"MetadataTranslationProvenance": {},
"MetadataTranslationsInput": {
"fieldMetadataId": [
- 519
+ 522
],
"locale": [
1
],
"objectMetadataId": [
- 519
+ 522
],
"__typename": [
1
@@ -6329,13 +6354,13 @@ export default {
"MetadataWritability": {},
"MinimalMetadata": {
"collectionHashes": [
- 151
+ 152
],
"objectMetadataItems": [
- 362
+ 364
],
"views": [
- 363
+ 365
],
"__typename": [
1
@@ -6349,7 +6374,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"isActive": [
4
@@ -6378,16 +6403,16 @@ export default {
},
"MinimalView": {
"id": [
- 519
+ 522
],
"key": [
- 637
+ 640
],
"objectMetadataId": [
- 519
+ 522
],
"type": [
- 641
+ 644
],
"__typename": [
1
@@ -6396,16 +6421,16 @@ export default {
"ModelFamily": {},
"Mutation": {
"activateSkill": [
- 486,
+ 488,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"activateWorkspace": [
- 650,
+ 653,
{
"data": [
0,
@@ -6421,7 +6446,7 @@ export default {
"String!"
],
"messageId": [
- 519,
+ 522,
"UUID!"
]
}
@@ -6439,10 +6464,10 @@ export default {
4,
{
"assigneeWorkspaceMemberId": [
- 519
+ 522
],
"threadId": [
- 519,
+ 522,
"UUID!"
]
}
@@ -6451,11 +6476,11 @@ export default {
4,
{
"agentId": [
- 519,
+ 522,
"UUID!"
],
"roleId": [
- 519,
+ 522,
"UUID!"
]
}
@@ -6464,17 +6489,17 @@ export default {
4,
{
"apiKeyId": [
- 519,
+ 522,
"UUID!"
],
"roleId": [
- 519,
+ 522,
"UUID!"
]
}
],
"authorizeApp": [
- 84,
+ 85,
{
"clientId": [
1,
@@ -6499,28 +6524,28 @@ export default {
}
],
"cancelMessageCampaign": [
- 135,
+ 136,
{
"input": [
- 134,
+ 135,
"CancelMessageCampaignInput!"
]
}
],
"cancelSwitchBillingInterval": [
- 122
+ 123
],
"cancelSwitchBillingPlan": [
- 122
+ 123
],
"cancelSwitchResourceCreditPrice": [
- 122
+ 123
],
"checkCustomDomainValidRecords": [
- 228
+ 229
],
"checkPublicDomainValidRecords": [
- 228,
+ 229,
{
"domain": [
1,
@@ -6529,14 +6554,14 @@ export default {
}
],
"checkoutSession": [
- 115,
+ 116,
{
"plan": [
- 106,
+ 107,
"BillingPlanKey!"
],
"recurringInterval": [
- 492,
+ 494,
"SubscriptionInterval!"
],
"requirePaymentMethod": [
@@ -6549,7 +6574,7 @@ export default {
}
],
"claimApplicationRegistrationOwnership": [
- 70,
+ 71,
{
"applicationRegistrationId": [
1,
@@ -6558,29 +6583,29 @@ export default {
}
],
"completeAppTarballUpload": [
- 70,
+ 71,
{
"fileId": [
- 519,
+ 522,
"UUID!"
]
}
],
"completeApplicationFileUploads": [
- 155,
+ 156,
{
"applicationUniversalIdentifier": [
1,
"String!"
],
"fileIds": [
- 519,
+ 522,
"[UUID!]!"
]
}
],
"completeBookCallOnboardingStep": [
- 388,
+ 390,
{
"hasBookedCall": [
4,
@@ -6593,7 +6618,7 @@ export default {
}
],
"completeFileUpload": [
- 277,
+ 278,
{
"fileId": [
1,
@@ -6602,7 +6627,7 @@ export default {
}
],
"completeNewWorkspaceLogoUpload": [
- 277,
+ 278,
{
"fileId": [
1,
@@ -6615,7 +6640,7 @@ export default {
}
],
"completeWorkspaceLogoUpload": [
- 277,
+ 278,
{
"fileId": [
1,
@@ -6624,7 +6649,7 @@ export default {
}
],
"completeWorkspaceMemberProfilePictureUpload": [
- 277,
+ 278,
{
"fileId": [
1,
@@ -6636,7 +6661,7 @@ export default {
5,
{
"input": [
- 162,
+ 163,
"CreateAgentChatChannelInput!"
]
}
@@ -6645,59 +6670,59 @@ export default {
36,
{
"input": [
- 164,
+ 165,
"CreateApiKeyInput!"
]
}
],
"createAppMessageChannel": [
- 338,
+ 340,
{
"input": [
- 165,
+ 166,
"CreateAppMessageChannelInput!"
]
}
],
"createApplicationFileUploads": [
- 166,
+ 167,
{
"applicationUniversalIdentifier": [
1,
"String!"
],
"files": [
- 57,
+ 58,
"[ApplicationFileUploadRequestInput!]!"
]
}
],
"createApplicationRegistration": [
- 167,
+ 168,
{
"input": [
- 168,
+ 169,
"CreateApplicationRegistrationInput!"
]
}
],
"createApprovedAccessDomain": [
- 78,
+ 79,
{
"input": [
- 169,
+ 170,
"CreateApprovedAccessDomainInput!"
]
}
],
"createBillingPaymentMethodSetupIntent": [
- 104
+ 105
],
"createCalendarEvent": [
- 171,
+ 172,
{
"input": [
- 170,
+ 171,
"CreateCalendarEventInput!"
]
}
@@ -6706,21 +6731,21 @@ export default {
16,
{
"channelId": [
- 519
+ 522
]
}
],
"createCommandMenuItem": [
- 152,
+ 153,
{
"input": [
- 172,
+ 173,
"CreateCommandMenuItemInput!"
]
}
],
"createDevelopmentApplication": [
- 226,
+ 227,
{
"name": [
1,
@@ -6733,25 +6758,25 @@ export default {
}
],
"createEmailGroupChannel": [
- 174,
+ 175,
{
"input": [
- 173,
+ 174,
"CreateEmailGroupChannelInput!"
]
}
],
"createEmailingDomain": [
- 237,
+ 238,
{
"input": [
- 175,
+ 176,
"CreateEmailingDomainInput!"
]
}
],
"createFileUpload": [
- 276,
+ 277,
{
"fieldMetadataId": [
1
@@ -6760,7 +6785,7 @@ export default {
1
],
"fileFolder": [
- 275,
+ 276,
"FileFolder!"
],
"filename": [
@@ -6774,70 +6799,70 @@ export default {
}
],
"createFrontComponent": [
- 282,
+ 283,
{
"input": [
- 177,
+ 178,
"CreateFrontComponentInput!"
]
}
],
"createManyNavigationMenuItems": [
- 367,
+ 369,
{
"inputs": [
- 182,
+ 183,
"[CreateNavigationMenuItemInput!]!"
]
}
],
"createManyViewFieldGroups": [
- 631,
+ 634,
{
"inputs": [
- 196,
+ 197,
"[CreateViewFieldGroupInput!]!"
]
}
],
"createManyViewFields": [
- 630,
+ 633,
{
"inputs": [
- 197,
+ 198,
"[CreateViewFieldInput!]!"
]
}
],
"createManyViewGroups": [
- 636,
+ 639,
{
"inputs": [
- 200,
+ 201,
"[CreateViewGroupInput!]!"
]
}
],
"createMessageSuppression": [
- 349,
+ 351,
{
"input": [
- 181,
+ 182,
"CreateMessageSuppressionInput!"
]
}
],
"createNavigationMenuItem": [
- 367,
+ 369,
{
"input": [
- 182,
+ 183,
"CreateNavigationMenuItemInput!"
]
}
],
"createNewWorkspaceLogoUpload": [
- 276,
+ 277,
{
"filename": [
1,
@@ -6854,10 +6879,10 @@ export default {
}
],
"createOIDCIdentityProvider": [
- 483,
+ 485,
{
"input": [
- 481,
+ 483,
"SetupOIDCSsoInput!"
]
}
@@ -6870,14 +6895,14 @@ export default {
"String!"
],
"objectMetadataId": [
- 519,
+ 522,
"UUID!"
],
"properties": [
- 309
+ 310
],
"recordId": [
- 519,
+ 522,
"UUID!"
]
}
@@ -6886,85 +6911,85 @@ export default {
3,
{
"input": [
- 163,
+ 164,
"CreateAgentInput!"
]
}
],
"createOneField": [
- 262,
+ 263,
{
"input": [
- 184,
+ 185,
"CreateOneFieldMetadataInput!"
]
}
],
"createOneIndex": [
- 298,
+ 299,
{
"input": [
- 185,
+ 186,
"CreateOneIndexInput!"
]
}
],
"createOneLogicFunction": [
- 321,
+ 323,
{
"input": [
- 180,
+ 181,
"CreateLogicFunctionFromSourceInput!"
]
}
],
"createOneObject": [
- 370,
+ 372,
{
"input": [
- 186,
+ 187,
"CreateOneObjectInput!"
]
}
],
"createOneRole": [
- 443,
+ 445,
{
"createRoleInput": [
- 191,
+ 192,
"CreateRoleInput!"
]
}
],
"createPageLayout": [
- 391,
+ 393,
{
"input": [
- 187,
+ 188,
"CreatePageLayoutInput!"
]
}
],
"createPageLayoutTab": [
- 392,
+ 394,
{
"input": [
- 188,
+ 189,
"CreatePageLayoutTabInput!"
]
}
],
"createPageLayoutWidget": [
- 395,
+ 397,
{
"input": [
- 189,
+ 190,
"CreatePageLayoutWidgetInput!"
]
}
],
"createPublicDomain": [
- 414,
+ 416,
{
"applicationId": [
1,
@@ -6977,36 +7002,36 @@ export default {
}
],
"createSAMLIdentityProvider": [
- 483,
+ 485,
{
"input": [
- 482,
+ 484,
"SetupSAMLSsoInput!"
]
}
],
"createSkill": [
- 486,
+ 488,
{
"input": [
- 192,
+ 193,
"CreateSkillInput!"
]
}
],
"createSubscriptionPaymentIntent": [
- 104,
+ 105,
{
"idempotencyKey": [
1,
"String!"
],
"plan": [
- 106,
+ 107,
"BillingPlanKey!"
],
"recurringInterval": [
- 492,
+ 494,
"SubscriptionInterval!"
],
"requirePaymentMethod": [
@@ -7019,109 +7044,109 @@ export default {
}
],
"createUnsubscribeTopic": [
- 522,
+ 525,
{
"input": [
- 193,
+ 194,
"CreateUnsubscribeTopicInput!"
]
}
],
"createUsageLimit": [
- 602,
+ 605,
{
"input": [
- 194,
+ 195,
"CreateUsageLimitInput!"
]
}
],
"createValidationRule": [
- 622,
+ 625,
{
"input": [
- 195,
+ 196,
"CreateValidationRuleInput!"
]
}
],
"createView": [
- 627,
+ 630,
{
"input": [
- 201,
+ 202,
"CreateViewInput!"
]
}
],
"createViewField": [
- 630,
+ 633,
{
"input": [
- 197,
+ 198,
"CreateViewFieldInput!"
]
}
],
"createViewFieldGroup": [
- 631,
+ 634,
{
"input": [
- 196,
+ 197,
"CreateViewFieldGroupInput!"
]
}
],
"createViewFilter": [
- 632,
+ 635,
{
"input": [
- 199,
+ 200,
"CreateViewFilterInput!"
]
}
],
"createViewFilterGroup": [
- 633,
+ 636,
{
"input": [
- 198,
+ 199,
"CreateViewFilterGroupInput!"
]
}
],
"createViewGroup": [
- 636,
+ 639,
{
"input": [
- 200,
+ 201,
"CreateViewGroupInput!"
]
}
],
"createViewSort": [
- 639,
+ 642,
{
"input": [
- 202,
+ 203,
"CreateViewSortInput!"
]
}
],
"createWebhook": [
- 643,
+ 646,
{
"input": [
- 203,
+ 204,
"CreateWebhookInput!"
]
}
],
"deactivateSkill": [
- 486,
+ 488,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
@@ -7130,11 +7155,11 @@ export default {
4,
{
"channelId": [
- 519,
+ 522,
"UUID!"
],
"destinationChannelId": [
- 519
+ 522
]
}
],
@@ -7151,10 +7176,10 @@ export default {
}
],
"deleteAppMessageChannel": [
- 338,
+ 340,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
@@ -7172,37 +7197,37 @@ export default {
4,
{
"input": [
- 208,
+ 209,
"DeleteApprovedAccessDomainInput!"
]
}
],
"deleteCommandMenuItem": [
- 152,
+ 153,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"deleteConnectedAccount": [
- 156,
+ 157,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"deleteCurrentWorkspace": [
- 650
+ 653
],
"deleteEmailGroupChannel": [
- 338,
+ 340,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
@@ -7217,19 +7242,19 @@ export default {
}
],
"deleteFrontComponent": [
- 282,
+ 283,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"deleteManyNavigationMenuItems": [
- 367,
+ 369,
{
"ids": [
- 519,
+ 522,
"[UUID!]!"
]
}
@@ -7238,16 +7263,16 @@ export default {
4,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"deleteNavigationMenuItem": [
- 367,
+ 369,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
@@ -7262,37 +7287,37 @@ export default {
}
],
"deleteOneField": [
- 262,
+ 263,
{
"input": [
- 209,
+ 210,
"DeleteOneFieldInput!"
]
}
],
"deleteOneIndex": [
- 298,
+ 299,
{
"input": [
- 210,
+ 211,
"DeleteOneIndexInput!"
]
}
],
"deleteOneLogicFunction": [
- 321,
+ 323,
{
"input": [
- 325,
+ 327,
"LogicFunctionIdInput!"
]
}
],
"deleteOneObject": [
- 370,
+ 372,
{
"input": [
- 211,
+ 212,
"DeleteOneObjectInput!"
]
}
@@ -7301,7 +7326,7 @@ export default {
1,
{
"roleId": [
- 519,
+ 522,
"UUID!"
]
}
@@ -7319,34 +7344,34 @@ export default {
4,
{
"messageId": [
- 519,
+ 522,
"UUID!"
]
}
],
"deleteSSOIdentityProvider": [
- 212,
+ 213,
{
"input": [
- 213,
+ 214,
"DeleteSsoInput!"
]
}
],
"deleteSkill": [
- 486,
+ 488,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"deleteTwoFactorAuthenticationMethod": [
- 214,
+ 215,
{
"twoFactorAuthenticationMethodId": [
- 519,
+ 522,
"UUID!"
]
}
@@ -7364,16 +7389,16 @@ export default {
4,
{
"usageLimitId": [
- 519,
+ 522,
"UUID!"
]
}
],
"deleteUser": [
- 615
+ 618
],
"deleteUserFromWorkspace": [
- 619,
+ 622,
{
"workspaceMemberIdToDelete": [
1,
@@ -7382,10 +7407,10 @@ export default {
}
],
"deleteValidationRule": [
- 622,
+ 625,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
@@ -7400,28 +7425,28 @@ export default {
}
],
"deleteViewField": [
- 630,
+ 633,
{
"input": [
- 216,
+ 217,
"DeleteViewFieldInput!"
]
}
],
"deleteViewFieldGroup": [
- 631,
+ 634,
{
"input": [
- 215,
+ 216,
"DeleteViewFieldGroupInput!"
]
}
],
"deleteViewFilter": [
- 632,
+ 635,
{
"input": [
- 217,
+ 218,
"DeleteViewFilterInput!"
]
}
@@ -7436,10 +7461,10 @@ export default {
}
],
"deleteViewGroup": [
- 636,
+ 639,
{
"input": [
- 218,
+ 219,
"DeleteViewGroupInput!"
]
}
@@ -7448,16 +7473,16 @@ export default {
4,
{
"input": [
- 219,
+ 220,
"DeleteViewSortInput!"
]
}
],
"deleteWebhook": [
- 643,
+ 646,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
@@ -7508,28 +7533,28 @@ export default {
}
],
"destroyViewField": [
- 630,
+ 633,
{
"input": [
- 222,
+ 223,
"DestroyViewFieldInput!"
]
}
],
"destroyViewFieldGroup": [
- 631,
+ 634,
{
"input": [
- 221,
+ 222,
"DestroyViewFieldGroupInput!"
]
}
],
"destroyViewFilter": [
- 632,
+ 635,
{
"input": [
- 223,
+ 224,
"DestroyViewFilterInput!"
]
}
@@ -7544,10 +7569,10 @@ export default {
}
],
"destroyViewGroup": [
- 636,
+ 639,
{
"input": [
- 224,
+ 225,
"DestroyViewGroupInput!"
]
}
@@ -7556,49 +7581,49 @@ export default {
4,
{
"input": [
- 225,
+ 226,
"DestroyViewSortInput!"
]
}
],
"disconnectConnectedAccount": [
- 156,
+ 157,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"duplicateDashboard": [
- 229,
+ 230,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"duplicateMessageList": [
- 230,
+ 231,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"editSSOIdentityProvider": [
- 231,
+ 232,
{
"input": [
- 232,
+ 233,
"EditSsoInput!"
]
}
],
"emailPasswordResetLink": [
- 235,
+ 236,
{
"captchaToken": [
1
@@ -7608,39 +7633,39 @@ export default {
"String!"
],
"workspaceId": [
- 519
+ 522
]
}
],
"endSubscriptionTrialPeriod": [
- 99
+ 100
],
"enqueueJob": [
- 244,
+ 245,
{
"input": [
- 242,
+ 243,
"EnqueueJobInput!"
]
}
],
"enqueueJobs": [
- 246,
+ 247,
{
"input": [
- 245,
+ 246,
"EnqueueJobsInput!"
]
}
],
"enrichWorkspaceCompany": [
- 654
+ 657
],
"executeOneLogicFunction": [
- 323,
+ 325,
{
"input": [
- 259,
+ 260,
"ExecuteOneLogicFunctionInput!"
]
}
@@ -7649,7 +7674,7 @@ export default {
38,
{
"apiKeyId": [
- 519,
+ 522,
"UUID!"
],
"expiresAt": [
@@ -7659,34 +7684,34 @@ export default {
}
],
"generateFrontComponentApplicationTokenPair": [
- 75,
+ 76,
{
"applicationId": [
- 519,
+ 522,
"UUID!"
]
}
],
"generatePlaygroundToken": [
- 81
+ 82
],
"generateTransientToken": [
- 502
+ 505
],
"generateTwoFactorAuthenticationRecoveryCode": [
- 516,
+ 519,
{
"otp": [
1
],
"userId": [
- 519,
+ 522,
"UUID!"
]
}
],
"getAuthTokensFromLoginToken": [
- 83,
+ 84,
{
"loginToken": [
1,
@@ -7699,7 +7724,7 @@ export default {
}
],
"getAuthTokensFromOTP": [
- 83,
+ 84,
{
"captchaToken": [
1
@@ -7719,7 +7744,7 @@ export default {
}
],
"getAuthTokensFromSSOExchangeToken": [
- 83,
+ 84,
{
"ssoExchangeToken": [
1,
@@ -7728,7 +7753,7 @@ export default {
}
],
"getAuthTokensFromTwoFactorAuthenticationRecoveryCode": [
- 517,
+ 520,
{
"captchaToken": [
1
@@ -7748,16 +7773,16 @@ export default {
}
],
"getAuthorizationUrlForSSO": [
- 287,
+ 288,
{
"input": [
- 288,
+ 289,
"GetAuthorizationUrlForSSOInput!"
]
}
],
"getLoginTokenFromCredentials": [
- 328,
+ 330,
{
"captchaToken": [
1
@@ -7783,41 +7808,41 @@ export default {
}
],
"goBackToPreviousOnboardingStep": [
- 387
+ 389
],
"grantApplicationCapabilities": [
- 46,
+ 47,
{
"input": [
- 289,
+ 290,
"GrantApplicationCapabilitiesInput!"
]
}
],
"impersonate": [
- 297,
+ 298,
{
"userId": [
- 519,
+ 522,
"UUID!"
],
"workspaceId": [
- 519,
+ 522,
"UUID!"
]
}
],
"ingestAppMessages": [
- 304,
+ 305,
{
"input": [
- 303,
+ 304,
"IngestAppMessagesInput!"
]
}
],
"initiateOTPProvisioning": [
- 306,
+ 307,
{
"loginToken": [
1,
@@ -7830,10 +7855,10 @@ export default {
}
],
"initiateOTPProvisioningForAuthenticatedUser": [
- 306
+ 307
],
"installApplication": [
- 44,
+ 45,
{
"universalIdentifier": [
1,
@@ -7860,7 +7885,7 @@ export default {
4,
{
"threadId": [
- 519,
+ 522,
"UUID!"
]
}
@@ -7869,10 +7894,10 @@ export default {
4,
{
"channelId": [
- 519
+ 522
],
"threadId": [
- 519,
+ 522,
"UUID!"
]
}
@@ -7881,7 +7906,7 @@ export default {
4
],
"releaseEnterpriseServerBinding": [
- 247
+ 248
],
"removeAgentChatMessageReaction": [
22,
@@ -7891,7 +7916,7 @@ export default {
"String!"
],
"messageId": [
- 519,
+ 522,
"UUID!"
]
}
@@ -7900,20 +7925,20 @@ export default {
4,
{
"input": [
- 438,
+ 440,
"RemoveQueryFromEventStreamInput!"
]
}
],
"removeRecordShare": [
- 430,
+ 432,
{
"principal": [
- 427,
+ 429,
"RecordSharePrincipalInput!"
],
"target": [
- 435,
+ 437,
"RecordTargetInput!"
]
}
@@ -7922,13 +7947,13 @@ export default {
4,
{
"agentId": [
- 519,
+ 522,
"UUID!"
]
}
],
"renewApplicationToken": [
- 75,
+ 76,
{
"applicationRefreshToken": [
1,
@@ -7937,7 +7962,7 @@ export default {
}
],
"renewToken": [
- 83,
+ 84,
{
"appToken": [
1,
@@ -7949,7 +7974,7 @@ export default {
4,
{
"threadId": [
- 519,
+ 522,
"UUID!"
]
}
@@ -7958,13 +7983,13 @@ export default {
4,
{
"input": [
- 439,
+ 441,
"ReportAppConnectionAuthFailureInput!"
]
}
],
"resendEmailVerificationToken": [
- 440,
+ 442,
{
"email": [
1,
@@ -7977,7 +8002,7 @@ export default {
}
],
"resendWorkspaceInvitation": [
- 473,
+ 475,
{
"appTokenId": [
1,
@@ -7986,16 +8011,16 @@ export default {
}
],
"resetCommandMenuItem": [
- 152,
+ 153,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"resetPageLayoutTabToDefault": [
- 392,
+ 394,
{
"id": [
1,
@@ -8004,7 +8029,7 @@ export default {
}
],
"resetPageLayoutToDefault": [
- 391,
+ 393,
{
"id": [
1,
@@ -8013,7 +8038,7 @@ export default {
}
],
"resetPageLayoutWidgetToDefault": [
- 395,
+ 397,
{
"id": [
1,
@@ -8022,22 +8047,22 @@ export default {
}
],
"resetTimelineActivityType": [
- 497,
+ 500,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"retryChatMessage": [
- 465,
+ 467,
{
"modelId": [
1
],
"threadId": [
- 519,
+ 522,
"UUID!"
]
}
@@ -8049,7 +8074,7 @@ export default {
36,
{
"input": [
- 441,
+ 443,
"RevokeApiKeyInput!"
]
}
@@ -8058,7 +8083,7 @@ export default {
4,
{
"applicationAuthorizationId": [
- 519,
+ 522,
"UUID!"
]
}
@@ -8067,7 +8092,7 @@ export default {
4,
{
"userId": [
- 519,
+ 522,
"UUID!"
]
}
@@ -8076,13 +8101,13 @@ export default {
4,
{
"userSessionId": [
- 519,
+ 522,
"UUID!"
]
}
],
"rotateApplicationRegistrationClientSecret": [
- 445,
+ 447,
{
"id": [
1,
@@ -8091,28 +8116,28 @@ export default {
}
],
"runAgent": [
- 456,
+ 458,
{
"input": [
- 452,
+ 454,
"RunAgentInput!"
]
}
],
"runApplicationHealthCheck": [
- 60,
+ 61,
{
"applicationId": [
- 519,
+ 522,
"UUID!"
]
}
],
"saveImapSmtpCaldavAccount": [
- 294,
+ 295,
{
"connectionParameters": [
- 233,
+ 234,
"EmailAccountConnectionParameters!"
],
"handle": [
@@ -8120,38 +8145,38 @@ export default {
"String!"
],
"id": [
- 519
+ 522
]
}
],
"sendAppChannelMessage": [
- 464,
+ 466,
{
"input": [
- 463,
+ 465,
"SendAppChannelMessageInput!"
]
}
],
"sendChatMessage": [
- 465,
+ 467,
{
"browsingContext": [
- 309
+ 310
],
"channelId": [
- 519
+ 522
],
"fileAttachments": [
- 274,
+ 275,
"[FileAttachmentInput!]"
],
"mentionedWorkspaceMemberIds": [
- 519,
+ 522,
"[UUID!]"
],
"messageId": [
- 519,
+ 522,
"UUID!"
],
"modelId": [
@@ -8165,55 +8190,55 @@ export default {
"String!"
],
"threadId": [
- 519,
+ 522,
"UUID!"
]
}
],
"sendEmail": [
- 468,
+ 470,
{
"input": [
- 467,
+ 469,
"SendEmailInput!"
]
}
],
"sendInboxMessage": [
- 472,
+ 474,
{
"input": [
- 471,
+ 473,
"SendInboxMessageInput!"
]
}
],
"sendInvitations": [
- 473,
+ 475,
{
"emails": [
1,
"[String!]!"
],
"roleId": [
- 519
+ 522
]
}
],
"sendMessageCampaign": [
- 475,
+ 477,
{
"input": [
- 474,
+ 476,
"SendMessageCampaignInput!"
]
}
],
"sendMessageCampaignTest": [
- 470,
+ 472,
{
"input": [
- 476,
+ 478,
"SendMessageCampaignTestInput!"
]
}
@@ -8222,13 +8247,13 @@ export default {
40,
{
"input": [
- 478,
+ 480,
"SetAppKeyValueInput!"
]
}
],
"setEnterpriseKey": [
- 247,
+ 248,
{
"enterpriseKey": [
1,
@@ -8237,37 +8262,37 @@ export default {
}
],
"setRecordGeneralAccess": [
- 430,
+ 432,
{
"accessLevel": [
- 426,
+ 428,
"RecordShareAccessLevel!"
],
"target": [
- 435,
+ 437,
"RecordTargetInput!"
]
}
],
"setRecordShare": [
- 430,
+ 432,
{
"accessLevel": [
- 426,
+ 428,
"RecordShareAccessLevel!"
],
"principal": [
- 427,
+ 429,
"RecordSharePrincipalInput!"
],
"target": [
- 435,
+ 437,
"RecordTargetInput!"
]
}
],
"setResourceCreditSubscriptionPrice": [
- 122,
+ 123,
{
"priceId": [
1,
@@ -8276,7 +8301,7 @@ export default {
}
],
"signIn": [
- 88,
+ 89,
{
"captchaToken": [
1
@@ -8306,7 +8331,7 @@ export default {
}
],
"signUp": [
- 88,
+ 89,
{
"captchaToken": [
1
@@ -8328,15 +8353,15 @@ export default {
}
],
"signUpInNewWorkspace": [
- 484,
+ 486,
{
"input": [
- 485
+ 487
]
}
],
"signUpInWorkspace": [
- 484,
+ 486,
{
"captchaToken": [
1
@@ -8356,7 +8381,7 @@ export default {
1
],
"workspaceId": [
- 519
+ 522
],
"workspaceInviteHash": [
1
@@ -8367,7 +8392,7 @@ export default {
}
],
"skipSyncEmailOnboardingStep": [
- 388,
+ 390,
{
"isAutoSkipped": [
4,
@@ -8379,32 +8404,32 @@ export default {
4,
{
"snoozedUntil": [
- 207,
+ 208,
"DateTime!"
],
"threadId": [
- 519,
+ 522,
"UUID!"
]
}
],
"startChannelSync": [
- 138,
+ 139,
{
"connectedAccountId": [
- 519,
+ 522,
"UUID!"
]
}
],
"startWorkspaceSetupChat": [
- 488,
+ 490,
{
"companyContext": [
- 309
+ 310
],
"personContext": [
- 309
+ 310
]
}
],
@@ -8412,27 +8437,36 @@ export default {
4,
{
"threadId": [
- 519,
+ 522,
"UUID!"
]
}
],
"stopImpersonation": [
- 489
+ 491
],
"switchBillingPlan": [
- 122,
+ 123,
{
"plan": [
- 106
+ 107
]
}
],
"switchSubscriptionInterval": [
- 122
+ 123
+ ],
+ "syncAppMessageFolders": [
+ 347,
+ {
+ "input": [
+ 498,
+ "SyncAppMessageFoldersInput!"
+ ]
+ }
],
"syncApplication": [
- 664,
+ 667,
{
"dryRun": [
4
@@ -8441,7 +8475,7 @@ export default {
4
],
"manifest": [
- 309,
+ 310,
"JSON!"
]
}
@@ -8459,7 +8493,7 @@ export default {
1
],
"properties": [
- 309
+ 310
],
"type": [
34,
@@ -8468,7 +8502,7 @@ export default {
}
],
"transferApplicationRegistrationOwnership": [
- 70,
+ 71,
{
"applicationRegistrationId": [
1,
@@ -8481,55 +8515,55 @@ export default {
}
],
"triggerAddPeopleToMessageListJob": [
- 504,
+ 507,
{
"input": [
- 503,
+ 506,
"TriggerAddPeopleToMessageListJobInput!"
]
}
],
"triggerInstallApplication": [
- 508,
+ 511,
{
"input": [
- 505,
+ 508,
"TriggerInstallApplicationInput!"
]
}
],
"triggerInstallApplicationJob": [
- 507,
+ 510,
{
"input": [
- 506,
+ 509,
"TriggerInstallApplicationJobInput!"
]
}
],
"triggerUninstallApplication": [
- 512,
+ 515,
{
"input": [
- 509,
+ 512,
"TriggerUninstallApplicationInput!"
]
}
],
"triggerUninstallApplicationJob": [
- 511,
+ 514,
{
"input": [
- 510,
+ 513,
"TriggerUninstallApplicationJobInput!"
]
}
],
"triggerUpgradeApplication": [
- 514,
+ 517,
{
"input": [
- 513,
+ 516,
"TriggerUpgradeApplicationInput!"
]
}
@@ -8547,11 +8581,11 @@ export default {
5,
{
"channelId": [
- 519,
+ 522,
"UUID!"
],
"input": [
- 524,
+ 527,
"UpdateAgentChatChannelInput!"
]
}
@@ -8564,10 +8598,10 @@ export default {
"AgentChatInboxAction!"
],
"snoozedUntil": [
- 207
+ 208
],
"threadIds": [
- 519,
+ 522,
"[UUID!]!"
]
}
@@ -8576,146 +8610,146 @@ export default {
36,
{
"input": [
- 526,
+ 529,
"UpdateApiKeyInput!"
]
}
],
"updateAppMessageChannel": [
- 338,
+ 340,
{
"input": [
- 527,
+ 530,
"UpdateAppMessageChannelInput!"
]
}
],
"updateApplication": [
- 44,
+ 45,
{
"id": [
- 519,
+ 522,
"UUID!"
],
"input": [
- 528,
+ 531,
"UpdateApplicationInput!"
]
}
],
"updateApplicationRegistration": [
- 70,
+ 71,
{
"input": [
- 529,
+ 532,
"UpdateApplicationRegistrationInput!"
]
}
],
"updateApplicationRegistrationVariable": [
- 74,
+ 75,
{
"input": [
- 531,
+ 534,
"UpdateApplicationRegistrationVariableInput!"
]
}
],
"updateCalendarChannel": [
- 125,
+ 126,
{
"input": [
- 533,
+ 536,
"UpdateCalendarChannelInput!"
]
}
],
"updateCommandMenuItem": [
- 152,
+ 153,
{
"input": [
- 535,
+ 538,
"UpdateCommandMenuItemInput!"
]
}
],
"updateEmailGroupChannel": [
- 338,
+ 340,
{
"input": [
- 536,
+ 539,
"UpdateEmailGroupChannelInput!"
]
}
],
"updateFrontComponent": [
- 282,
+ 283,
{
"input": [
- 538,
+ 541,
"UpdateFrontComponentInput!"
]
}
],
"updateLabPublicFeatureFlag": [
- 260,
+ 261,
{
"input": [
- 540,
+ 543,
"UpdateLabPublicFeatureFlagInput!"
]
}
],
"updateManyNavigationMenuItems": [
- 367,
+ 369,
{
"inputs": [
- 551,
+ 554,
"[UpdateOneNavigationMenuItemInput!]!"
]
}
],
"updateManyObjects": [
- 370,
+ 372,
{
"inputs": [
- 552,
+ 555,
"[UpdateOneObjectInput!]!"
]
}
],
"updateManyViewGroups": [
- 636,
+ 639,
{
"inputs": [
- 574,
+ 577,
"[UpdateViewGroupInput!]!"
]
}
],
"updateMessageChannel": [
- 338,
+ 340,
{
"input": [
- 543,
+ 546,
"UpdateMessageChannelInput!"
]
}
],
"updateMessageFolder": [
- 345,
+ 347,
{
"input": [
- 545,
+ 548,
"UpdateMessageFolderInput!"
]
}
],
"updateMessageFolders": [
- 345,
+ 347,
{
"input": [
- 547,
+ 550,
"UpdateMessageFoldersInput!"
]
}
@@ -8738,10 +8772,10 @@ export default {
}
],
"updateNavigationMenuItem": [
- 367,
+ 369,
{
"input": [
- 551,
+ 554,
"UpdateOneNavigationMenuItemInput!"
]
}
@@ -8750,7 +8784,7 @@ export default {
3,
{
"input": [
- 525,
+ 528,
"UpdateAgentInput!"
]
}
@@ -8759,7 +8793,7 @@ export default {
4,
{
"applicationId": [
- 519
+ 522
],
"key": [
1,
@@ -8772,10 +8806,10 @@ export default {
}
],
"updateOneField": [
- 262,
+ 263,
{
"input": [
- 550,
+ 553,
"UpdateOneFieldMetadataInput!"
]
}
@@ -8784,83 +8818,83 @@ export default {
4,
{
"input": [
- 541,
+ 544,
"UpdateLogicFunctionFromSourceInput!"
]
}
],
"updateOneObject": [
- 370,
+ 372,
{
"input": [
- 552,
+ 555,
"UpdateOneObjectInput!"
]
}
],
"updateOneRole": [
- 443,
+ 445,
{
"updateRoleInput": [
- 559,
+ 562,
"UpdateRoleInput!"
]
}
],
"updatePageLayout": [
- 391,
+ 393,
{
"id": [
1,
"String!"
],
"input": [
- 553,
+ 556,
"UpdatePageLayoutInput!"
]
}
],
"updatePageLayoutTab": [
- 392,
+ 394,
{
"id": [
1,
"String!"
],
"input": [
- 554,
+ 557,
"UpdatePageLayoutTabInput!"
]
}
],
"updatePageLayoutWidget": [
- 395,
+ 397,
{
"id": [
1,
"String!"
],
"input": [
- 556,
+ 559,
"UpdatePageLayoutWidgetInput!"
]
}
],
"updatePageLayoutWithTabsAndWidgets": [
- 391,
+ 393,
{
"id": [
1,
"String!"
],
"input": [
- 558,
+ 561,
"UpdatePageLayoutWithTabsInput!"
]
}
],
"updatePasswordViaResetToken": [
- 307,
+ 308,
{
"newPassword": [
1,
@@ -8873,46 +8907,46 @@ export default {
}
],
"updateSkill": [
- 486,
+ 488,
{
"input": [
- 561,
+ 564,
"UpdateSkillInput!"
]
}
],
"updateTimelineActivityType": [
- 497,
+ 500,
{
"input": [
- 562,
+ 565,
"UpdateTimelineActivityTypeInput!"
]
}
],
"updateUnsubscribeTopic": [
- 522,
+ 525,
{
"input": [
- 563,
+ 566,
"UpdateUnsubscribeTopicInput!"
]
}
],
"updateUsageLimit": [
- 602,
+ 605,
{
"input": [
- 564,
+ 567,
"UpdateUsageLimitInput!"
]
}
],
"updateUserCreditsFallback": [
- 98,
+ 99,
{
"userCreditsFallback": [
- 617,
+ 620,
"UserCreditsFallback!"
]
}
@@ -8930,121 +8964,121 @@ export default {
}
],
"updateValidationRule": [
- 622,
+ 625,
{
"input": [
- 565,
+ 568,
"UpdateValidationRuleInput!"
]
}
],
"updateView": [
- 627,
+ 630,
{
"id": [
1,
"String!"
],
"input": [
- 576,
+ 579,
"UpdateViewInput!"
]
}
],
"updateViewField": [
- 630,
+ 633,
{
"input": [
- 569,
+ 572,
"UpdateViewFieldInput!"
]
}
],
"updateViewFieldGroup": [
- 631,
+ 634,
{
"input": [
- 567,
+ 570,
"UpdateViewFieldGroupInput!"
]
}
],
"updateViewFilter": [
- 632,
+ 635,
{
"input": [
- 572,
+ 575,
"UpdateViewFilterInput!"
]
}
],
"updateViewFilterGroup": [
- 633,
+ 636,
{
"id": [
1,
"String!"
],
"input": [
- 571,
+ 574,
"UpdateViewFilterGroupInput!"
]
}
],
"updateViewGroup": [
- 636,
+ 639,
{
"input": [
- 574,
+ 577,
"UpdateViewGroupInput!"
]
}
],
"updateViewSort": [
- 639,
+ 642,
{
"input": [
- 577,
+ 580,
"UpdateViewSortInput!"
]
}
],
"updateWebhook": [
- 643,
+ 646,
{
"input": [
- 579,
+ 582,
"UpdateWebhookInput!"
]
}
],
"updateWorkspace": [
- 650,
+ 653,
{
"data": [
- 582,
+ 585,
"UpdateWorkspaceInput!"
]
}
],
"updateWorkspaceAllowedIframeOrigins": [
- 650,
+ 653,
{
"data": [
- 581,
+ 584,
"UpdateWorkspaceAllowedIframeOriginsInput!"
]
}
],
"updateWorkspaceMemberRole": [
- 659,
+ 662,
{
"roleId": [
- 519,
+ 522,
"UUID!"
],
"workspaceMemberId": [
- 519,
+ 522,
"UUID!"
]
}
@@ -9053,7 +9087,7 @@ export default {
4,
{
"input": [
- 583,
+ 586,
"UpdateWorkspaceMemberSettingsInput!"
]
}
@@ -9072,10 +9106,10 @@ export default {
}
],
"uploadAppTarball": [
- 70,
+ 71,
{
"file": [
- 584,
+ 587,
"Upload!"
],
"universalIdentifier": [
@@ -9084,18 +9118,18 @@ export default {
}
],
"uploadApplicationFile": [
- 273,
+ 274,
{
"applicationUniversalIdentifier": [
1,
"String!"
],
"file": [
- 584,
+ 587,
"Upload!"
],
"fileFolder": [
- 275,
+ 276,
"FileFolder!"
],
"filePath": [
@@ -9105,23 +9139,23 @@ export default {
}
],
"uploadFilesFieldFileByUniversalIdentifier": [
- 277,
+ 278,
{
"fieldMetadataUniversalIdentifier": [
1,
"String!"
],
"file": [
- 584,
+ 587,
"Upload!"
]
}
],
"uploadNewWorkspaceLogo": [
- 277,
+ 278,
{
"file": [
- 584,
+ 587,
"Upload!"
],
"workspaceId": [
@@ -9131,88 +9165,88 @@ export default {
}
],
"uploadWorkspaceLogo": [
- 277,
+ 278,
{
"file": [
- 584,
+ 587,
"Upload!"
]
}
],
"uploadWorkspaceMemberProfilePicture": [
- 277,
+ 278,
{
"file": [
- 584,
+ 587,
"Upload!"
]
}
],
"upsertFieldPermissions": [
- 269,
+ 270,
{
"upsertFieldPermissionsInput": [
- 585,
+ 588,
"UpsertFieldPermissionsInput!"
]
}
],
"upsertFieldsWidget": [
- 627,
+ 630,
{
"input": [
- 588,
+ 591,
"UpsertFieldsWidgetInput!"
]
}
],
"upsertObjectPermissions": [
- 378,
+ 380,
{
"upsertObjectPermissionsInput": [
- 589,
+ 592,
"UpsertObjectPermissionsInput!"
]
}
],
"upsertPermissionFlags": [
- 444,
+ 446,
{
"upsertPermissionFlagsInput": [
- 590,
+ 593,
"UpsertPermissionFlagsInput!"
]
}
],
"upsertRowLevelPermissionPredicates": [
- 592,
+ 595,
{
"input": [
- 591,
+ 594,
"UpsertRowLevelPermissionPredicatesInput!"
]
}
],
"upsertViewWidget": [
- 627,
+ 630,
{
"input": [
- 593,
+ 596,
"UpsertViewWidgetInput!"
]
}
],
"validateApprovedAccessDomain": [
- 78,
+ 79,
{
"input": [
- 620,
+ 623,
"ValidateApprovedAccessDomainInput!"
]
}
],
"verifyEmailAndGetLoginToken": [
- 624,
+ 627,
{
"captchaToken": [
1
@@ -9232,7 +9266,7 @@ export default {
}
],
"verifyEmailAndGetWorkspaceAgnosticToken": [
- 88,
+ 89,
{
"captchaToken": [
1
@@ -9248,7 +9282,7 @@ export default {
}
],
"verifyEmailingDomain": [
- 237,
+ 238,
{
"id": [
1,
@@ -9257,7 +9291,7 @@ export default {
}
],
"verifyTwoFactorAuthenticationMethodForAuthenticatedUser": [
- 625,
+ 628,
{
"otp": [
1,
@@ -9282,25 +9316,25 @@ export default {
},
"NavigationMenuItem": {
"agentChatChannelId": [
- 519
+ 522
],
"applicationId": [
- 519
+ 522
],
"color": [
1
],
"createdAt": [
- 207
+ 208
],
"folderId": [
- 519
+ 522
],
"icon": [
1
],
"id": [
- 519
+ 522
],
"link": [
1
@@ -9309,31 +9343,31 @@ export default {
1
],
"pageLayoutId": [
- 519
+ 522
],
"position": [
6
],
"targetObjectMetadataId": [
- 519
+ 522
],
"targetRecordId": [
- 519
+ 522
],
"targetRecordIdentifier": [
- 423
+ 425
],
"type": [
- 368
+ 370
],
"updatedAt": [
- 207
+ 208
],
"userWorkspaceId": [
- 519
+ 522
],
"viewId": [
- 519
+ 522
],
"__typename": [
1
@@ -9342,7 +9376,7 @@ export default {
"NavigationMenuItemType": {},
"NotesConfiguration": {
"configurationType": [
- 645
+ 648
],
"__typename": [
1
@@ -9350,13 +9384,13 @@ export default {
},
"Object": {
"applicationId": [
- 519
+ 522
],
"color": [
1
],
"createdAt": [
- 207
+ 208
],
"description": [
1
@@ -9368,42 +9402,42 @@ export default {
1
],
"fields": [
- 373,
+ 375,
{
"filter": [
- 267,
+ 268,
"FieldFilter!"
],
"paging": [
- 205,
+ 206,
"CursorPaging!"
]
}
],
"fieldsList": [
- 262
+ 263
],
"icon": [
1
],
"id": [
- 519
+ 522
],
"imageIdentifierFieldMetadataId": [
- 519
+ 522
],
"indexMetadataList": [
- 298
+ 299
],
"indexMetadatas": [
- 375,
+ 377,
{
"filter": [
- 301,
+ 302,
"IndexFilter!"
],
"paging": [
- 205,
+ 206,
"CursorPaging!"
]
}
@@ -9433,7 +9467,7 @@ export default {
4
],
"labelIdentifierFieldMetadataId": [
- 519
+ 522
],
"labelPlural": [
1
@@ -9448,19 +9482,19 @@ export default {
1
],
"openRecordIn": [
- 377
+ 379
],
"readability": [
- 355
+ 357
],
"readabilityParentFieldUniversalIdentifiers": [
- 519
+ 522
],
"searchFieldMetadataList": [
- 462
+ 464
],
"sharingReach": [
- 385
+ 387
],
"shortcut": [
1
@@ -9469,10 +9503,10 @@ export default {
1
],
"updatedAt": [
- 207
+ 208
],
"writability": [
- 360
+ 362
],
"__typename": [
1
@@ -9480,10 +9514,10 @@ export default {
},
"ObjectConnection": {
"edges": [
- 372
+ 374
],
"pageInfo": [
- 390
+ 392
],
"__typename": [
1
@@ -9491,10 +9525,10 @@ export default {
},
"ObjectEdge": {
"cursor": [
- 159
+ 160
],
"node": [
- 370
+ 372
],
"__typename": [
1
@@ -9502,10 +9536,10 @@ export default {
},
"ObjectFieldsConnection": {
"edges": [
- 266
+ 267
],
"pageInfo": [
- 390
+ 392
],
"__typename": [
1
@@ -9513,37 +9547,37 @@ export default {
},
"ObjectFilter": {
"and": [
- 374
+ 376
],
"id": [
- 520
+ 523
],
"isActive": [
- 124
+ 125
],
"isRemote": [
- 124
+ 125
],
"isSearchable": [
- 124
+ 125
],
"isSystem": [
- 124
+ 125
],
"isUICreatable": [
- 124
+ 125
],
"isUIEditable": [
- 124
+ 125
],
"isUIReadOnly": [
- 124
+ 125
],
"or": [
- 374
+ 376
],
"universalIdentifier": [
- 520
+ 523
],
"__typename": [
1
@@ -9551,10 +9585,10 @@ export default {
},
"ObjectIndexMetadatasConnection": {
"edges": [
- 299
+ 300
],
"pageInfo": [
- 390
+ 392
],
"__typename": [
1
@@ -9562,7 +9596,7 @@ export default {
},
"ObjectMetadataCommandMenuItemPayload": {
"objectMetadataItemId": [
- 519
+ 522
],
"__typename": [
1
@@ -9583,16 +9617,16 @@ export default {
4
],
"objectMetadataId": [
- 519
+ 522
],
"restrictedFields": [
- 309
+ 310
],
"rowLevelPermissionPredicateGroups": [
- 447
+ 449
],
"rowLevelPermissionPredicates": [
- 446
+ 448
],
"__typename": [
1
@@ -9612,7 +9646,7 @@ export default {
4
],
"objectMetadataId": [
- 519
+ 522
],
"__typename": [
1
@@ -9631,13 +9665,13 @@ export default {
},
"ObjectRecordEvent": {
"action": [
- 206
+ 207
],
"objectNameSingular": [
1
],
"properties": [
- 382
+ 384
],
"recordId": [
1
@@ -9654,13 +9688,13 @@ export default {
},
"ObjectRecordEventProperties": {
"after": [
- 309
+ 310
],
"before": [
- 309
+ 310
],
"diff": [
- 309
+ 310
],
"updatedFields": [
1
@@ -9671,7 +9705,7 @@ export default {
},
"ObjectRecordEventWithQueryIds": {
"objectRecordEvent": [
- 381
+ 383
],
"queryIds": [
1
@@ -9685,10 +9719,10 @@ export default {
"OnboardingStatus": {},
"OnboardingStepNavigation": {
"onboardingStatus": [
- 386
+ 388
],
"previousOnboardingStatus": [
- 386
+ 388
],
"__typename": [
1
@@ -9705,7 +9739,7 @@ export default {
"OpenRecordIn": {},
"PageInfo": {
"endCursor": [
- 159
+ 160
],
"hasNextPage": [
4
@@ -9714,7 +9748,7 @@ export default {
4
],
"startCursor": [
- 159
+ 160
],
"__typename": [
1
@@ -9722,19 +9756,19 @@ export default {
},
"PageLayout": {
"applicationId": [
- 519
+ 522
],
"createdAt": [
- 207
+ 208
],
"defaultTabToFocusOnMobileAndSidePanelId": [
- 519
+ 522
],
"deletedAt": [
- 207
+ 208
],
"id": [
- 519
+ 522
],
"isFirstTabPinned": [
4
@@ -9746,19 +9780,19 @@ export default {
1
],
"objectMetadataId": [
- 519
+ 522
],
"tabs": [
- 392
+ 394
],
"type": [
- 394
+ 396
],
"universalIdentifier": [
- 519
+ 522
],
"updatedAt": [
- 207
+ 208
],
"__typename": [
1
@@ -9766,19 +9800,19 @@ export default {
},
"PageLayoutTab": {
"applicationId": [
- 519
+ 522
],
"createdAt": [
- 207
+ 208
],
"deletedAt": [
- 207
+ 208
],
"icon": [
1
],
"id": [
- 519
+ 522
],
"isActive": [
4
@@ -9790,10 +9824,10 @@ export default {
4
],
"layoutMode": [
- 393
+ 395
],
"pageLayoutId": [
- 519
+ 522
],
"position": [
6
@@ -9802,13 +9836,13 @@ export default {
1
],
"universalIdentifier": [
- 519
+ 522
],
"updatedAt": [
- 207
+ 208
],
"widgets": [
- 395
+ 397
],
"__typename": [
1
@@ -9818,28 +9852,28 @@ export default {
"PageLayoutType": {},
"PageLayoutWidget": {
"applicationId": [
- 519
+ 522
],
"conditionalAvailabilityExpression": [
1
],
"conditionalDisplay": [
- 309
+ 310
],
"configuration": [
- 644
+ 647
],
"createdAt": [
- 207
+ 208
],
"deletedAt": [
- 207
+ 208
],
"gridPosition": [
- 291
+ 292
],
"id": [
- 519
+ 522
],
"isActive": [
4
@@ -9851,25 +9885,25 @@ export default {
4
],
"objectMetadataId": [
- 519
+ 522
],
"pageLayoutTabId": [
- 519
+ 522
],
"position": [
- 398
+ 400
],
"title": [
1
],
"type": [
- 646
+ 649
],
"universalIdentifier": [
- 519
+ 522
],
"updatedAt": [
- 207
+ 208
],
"__typename": [
1
@@ -9877,7 +9911,7 @@ export default {
},
"PageLayoutWidgetCanvasPosition": {
"layoutMode": [
- 393
+ 395
],
"__typename": [
1
@@ -9891,7 +9925,7 @@ export default {
10
],
"layoutMode": [
- 393
+ 395
],
"row": [
10
@@ -9905,13 +9939,13 @@ export default {
},
"PageLayoutWidgetPosition": {
"on_PageLayoutWidgetCanvasPosition": [
- 396
+ 398
],
"on_PageLayoutWidgetGridPosition": [
- 397
+ 399
],
"on_PageLayoutWidgetVerticalListPosition": [
- 400
+ 402
],
"__typename": [
1
@@ -9920,13 +9954,13 @@ export default {
"PageLayoutWidgetVerticalListHeightBehavior": {},
"PageLayoutWidgetVerticalListPosition": {
"heightBehavior": [
- 399
+ 401
],
"index": [
10
],
"layoutMode": [
- 393
+ 395
],
"__typename": [
1
@@ -9942,10 +9976,10 @@ export default {
},
"PermissionFlag": {
"applicationId": [
- 519
+ 522
],
"createdAt": [
- 207
+ 208
],
"description": [
1
@@ -9954,7 +9988,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"key": [
1
@@ -9966,10 +10000,10 @@ export default {
1
],
"universalIdentifier": [
- 519
+ 522
],
"updatedAt": [
- 207
+ 208
],
"__typename": [
1
@@ -9978,7 +10012,7 @@ export default {
"PermissionFlagType": {},
"PieChartConfiguration": {
"aggregateFieldMetadataId": [
- 519
+ 522
],
"aggregateOperation": [
26
@@ -9987,10 +10021,10 @@ export default {
1
],
"configurationType": [
- 645
+ 648
],
"dateGranularity": [
- 384
+ 386
],
"description": [
1
@@ -10002,13 +10036,13 @@ export default {
4
],
"filter": [
- 309
+ 310
],
"firstDayOfTheWeek": [
10
],
"groupByFieldMetadataId": [
- 519
+ 522
],
"groupBySubFieldName": [
1
@@ -10020,10 +10054,10 @@ export default {
1
],
"numberFormat": [
- 139
+ 140
],
"orderBy": [
- 290
+ 291
],
"showCenterMetric": [
4
@@ -10040,10 +10074,10 @@ export default {
},
"PieChartData": {
"data": [
- 407
+ 409
],
"formattedToRawLookup": [
- 309
+ 310
],
"hasTooManyGroups": [
4
@@ -10063,10 +10097,10 @@ export default {
},
"PieChartDataInput": {
"configuration": [
- 309
+ 310
],
"objectMetadataId": [
- 519
+ 522
],
"__typename": [
1
@@ -10091,7 +10125,7 @@ export default {
1
],
"location": [
- 320
+ 322
],
"postcode": [
1
@@ -10122,7 +10156,7 @@ export default {
1
],
"scheduledAt": [
- 207
+ 208
],
"__typename": [
1
@@ -10130,10 +10164,10 @@ export default {
},
"PreviewMessageCampaignSendOutputDTO": {
"audience": [
- 133
+ 134
],
"blockers": [
- 337
+ 339
],
"__typename": [
1
@@ -10141,7 +10175,7 @@ export default {
},
"PublicApplicationRegistration": {
"id": [
- 519
+ 522
],
"logoUrl": [
1
@@ -10161,7 +10195,7 @@ export default {
},
"PublicConnectionParametersOutput": {
"connectionSecurity": [
- 234
+ 235
],
"host": [
1
@@ -10178,16 +10212,16 @@ export default {
},
"PublicDomain": {
"applicationId": [
- 519
+ 522
],
"createdAt": [
- 207
+ 208
],
"domain": [
1
],
"id": [
- 519
+ 522
],
"isValidated": [
4
@@ -10198,10 +10232,10 @@ export default {
},
"PublicFeatureFlag": {
"key": [
- 261
+ 262
],
"metadata": [
- 416
+ 418
],
"__typename": [
1
@@ -10226,13 +10260,13 @@ export default {
},
"PublicImapSmtpCaldavConnectionParameters": {
"CALDAV": [
- 413
+ 415
],
"IMAP": [
- 413
+ 415
],
"SMTP": [
- 413
+ 415
],
"__typename": [
1
@@ -10240,22 +10274,22 @@ export default {
},
"PublicWorkspaceData": {
"authBypassProviders": [
- 79
+ 80
],
"authProviders": [
- 80
+ 81
],
"displayName": [
1
],
"id": [
- 519
+ 522
],
"logo": [
1
],
"workspaceUrls": [
- 668
+ 671
],
"__typename": [
1
@@ -10266,7 +10300,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"logo": [
1
@@ -10292,7 +10326,7 @@ export default {
7
],
"channelId": [
- 519,
+ 522,
"UUID!"
],
"first": [
@@ -10313,7 +10347,7 @@ export default {
23,
{
"agentId": [
- 519,
+ 522,
"UUID!"
],
"limit": [
@@ -10332,7 +10366,7 @@ export default {
36,
{
"input": [
- 286,
+ 287,
"GetApiKeyInput!"
]
}
@@ -10353,7 +10387,7 @@ export default {
39,
{
"filter": [
- 318
+ 319
]
}
],
@@ -10370,27 +10404,35 @@ export default {
}
],
"appMessageChannels": [
- 338,
+ 340,
{
"filter": [
- 319
+ 320
+ ]
+ }
+ ],
+ "appMessageFolders": [
+ 347,
+ {
+ "filter": [
+ 321
]
}
],
"applicationConnectedAccounts": [
- 47,
+ 48,
{
"applicationId": [
- 519,
+ 522,
"UUID!"
]
}
],
"applicationConnectionProviders": [
- 48,
+ 49,
{
"applicationId": [
- 519,
+ 522,
"UUID!"
]
}
@@ -10414,19 +10456,19 @@ export default {
}
],
"applicationSdkClientChecksums": [
- 461,
+ 463,
{
"applicationId": [
- 519,
+ 522,
"UUID!"
]
}
],
"barChartData": [
- 91,
+ 92,
{
"input": [
- 92,
+ 93,
"BarChartDataInput!"
]
}
@@ -10435,7 +10477,7 @@ export default {
105
],
"billingPortalSession": [
- 115,
+ 116,
{
"forPaymentMethodUpdate": [
4
@@ -10446,10 +10488,10 @@ export default {
}
],
"callRecordingIdForCalendarEvent": [
- 519,
+ 522,
{
"calendarEventId": [
- 519,
+ 522,
"UUID!"
]
}
@@ -10458,16 +10500,16 @@ export default {
20,
{
"threadId": [
- 519,
+ 522,
"UUID!"
]
}
],
"chatStreamCatchupChunks": [
- 141,
+ 142,
{
"threadId": [
- 519,
+ 522,
"UUID!"
]
}
@@ -10476,13 +10518,13 @@ export default {
16,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"checkUserExists": [
- 144,
+ 145,
{
"captchaToken": [
1
@@ -10494,7 +10536,7 @@ export default {
}
],
"checkWorkspaceInviteHashIsValid": [
- 658,
+ 661,
{
"inviteHash": [
1,
@@ -10503,7 +10545,7 @@ export default {
}
],
"checkWorkspaceSubdomainAvailability": [
- 490,
+ 492,
{
"subdomain": [
1,
@@ -10512,28 +10554,28 @@ export default {
}
],
"commandMenuItem": [
- 152,
+ 153,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"commandMenuItems": [
- 152
+ 153
],
"currentUser": [
- 615
+ 618
],
"currentUserApplicationAuthorizations": [
- 45
+ 46
],
"currentUserSessions": [
- 618
+ 621
],
"currentWorkspace": [
- 650
+ 653
],
"enterpriseCheckoutSession": [
1,
@@ -10552,50 +10594,50 @@ export default {
}
],
"enterpriseSubscriptionStatus": [
- 248
+ 249
],
"eventLogs": [
- 255,
+ 256,
{
"input": [
- 254,
+ 255,
"EventLogQueryInput!"
]
}
],
"exportApplication": [
- 50,
+ 51,
{
"universalIdentifier": [
- 519,
+ 522,
"UUID!"
]
}
],
"field": [
- 262,
+ 263,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"fields": [
- 264,
+ 265,
{
"filter": [
- 267,
+ 268,
"FieldFilter!"
],
"paging": [
- 205,
+ 206,
"CursorPaging!"
]
}
],
"findApplicationRegistrationByClientId": [
- 412,
+ 414,
{
"clientId": [
1,
@@ -10604,7 +10646,7 @@ export default {
}
],
"findApplicationRegistrationByUniversalIdentifier": [
- 70,
+ 71,
{
"universalIdentifier": [
1,
@@ -10613,37 +10655,37 @@ export default {
}
],
"findApplicationRegistrationMonitoring": [
- 62,
+ 63,
{
"id": [
1,
"String!"
],
"periodEnd": [
- 207
+ 208
],
"periodStart": [
- 207
+ 208
]
}
],
"findApplicationRegistrationStats": [
- 72,
+ 73,
{
"id": [
1,
"String!"
],
"periodEnd": [
- 207
+ 208
],
"periodStart": [
- 207
+ 208
]
}
],
"findApplicationRegistrationVariables": [
- 74,
+ 75,
{
"applicationRegistrationId": [
1,
@@ -10652,7 +10694,7 @@ export default {
}
],
"findClaimableApplicationRegistration": [
- 145,
+ 146,
{
"sourcePackage": [
1
@@ -10663,7 +10705,7 @@ export default {
}
],
"findInstallApplicationJobStatus": [
- 312,
+ 313,
{
"jobId": [
1
@@ -10678,16 +10720,16 @@ export default {
3
],
"findManyApplicationRegistrations": [
- 70
+ 71
],
"findManyApplications": [
- 44
+ 45
],
"findManyLogicFunctions": [
- 321
+ 323
],
"findManyMarketplaceApps": [
- 329,
+ 331,
{
"universalIdentifiers": [
1,
@@ -10696,10 +10738,10 @@ export default {
}
],
"findManyPublicDomains": [
- 414
+ 416
],
"findMarketplaceAppDetail": [
- 330,
+ 332,
{
"universalIdentifier": [
1,
@@ -10717,18 +10759,18 @@ export default {
}
],
"findOneApplication": [
- 44,
+ 45,
{
"id": [
- 519
+ 522
],
"universalIdentifier": [
- 519
+ 522
]
}
],
"findOneApplicationRegistration": [
- 70,
+ 71,
{
"id": [
1,
@@ -10737,16 +10779,16 @@ export default {
}
],
"findOneLogicFunction": [
- 321,
+ 323,
{
"input": [
- 325,
+ 327,
"LogicFunctionIdInput!"
]
}
],
"findUninstallApplicationJobStatus": [
- 312,
+ 313,
{
"jobId": [
1
@@ -10758,7 +10800,7 @@ export default {
}
],
"findUpgradeApplicationJobStatus": [
- 312,
+ 313,
{
"jobId": [
1
@@ -10770,10 +10812,10 @@ export default {
}
],
"findWorkspaceAiStats": [
- 652
+ 655
],
"findWorkspaceFromInviteHash": [
- 650,
+ 653,
{
"inviteHash": [
1,
@@ -10782,22 +10824,22 @@ export default {
}
],
"findWorkspaceInvitations": [
- 657
+ 660
],
"frontComponent": [
- 282,
+ 283,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"frontComponents": [
- 282
+ 283
],
"getAddressDetails": [
- 408,
+ 410,
{
"placeId": [
1,
@@ -10813,13 +10855,13 @@ export default {
30
],
"getApiKeyRoles": [
- 443
+ 445
],
"getApprovedAccessDomains": [
- 78
+ 79
],
"getAutoCompleteAddress": [
- 85,
+ 86,
{
"address": [
1,
@@ -10838,31 +10880,31 @@ export default {
}
],
"getAvailablePackages": [
- 309,
+ 310,
{
"input": [
- 325,
+ 327,
"LogicFunctionIdInput!"
]
}
],
"getConnectedImapSmtpCaldavAccount": [
- 158,
+ 159,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"getEmailingDomains": [
- 237
+ 238
],
"getInviteSuggestions": [
- 308
+ 309
],
"getJobs": [
- 312,
+ 313,
{
"jobIds": [
1,
@@ -10874,13 +10916,13 @@ export default {
1,
{
"input": [
- 325,
+ 327,
"LogicFunctionIdInput!"
]
}
],
"getPageLayout": [
- 391,
+ 393,
{
"id": [
1,
@@ -10889,7 +10931,7 @@ export default {
}
],
"getPageLayoutTab": [
- 392,
+ 394,
{
"id": [
1,
@@ -10898,7 +10940,7 @@ export default {
}
],
"getPageLayoutTabs": [
- 392,
+ 394,
{
"pageLayoutId": [
1,
@@ -10907,7 +10949,7 @@ export default {
}
],
"getPageLayoutWidget": [
- 395,
+ 397,
{
"id": [
1,
@@ -10916,7 +10958,7 @@ export default {
}
],
"getPageLayoutWidgets": [
- 395,
+ 397,
{
"pageLayoutTabId": [
1,
@@ -10925,21 +10967,21 @@ export default {
}
],
"getPageLayouts": [
- 391,
+ 393,
{
"objectMetadataId": [
1
],
"pageLayoutType": [
- 394
+ 396
]
}
],
"getPermissionFlags": [
- 402
+ 404
],
"getPublicWorkspaceDataByDomain": [
- 418,
+ 420,
{
"origin": [
1
@@ -10947,37 +10989,37 @@ export default {
}
],
"getPublicWorkspaceDataById": [
- 419,
+ 421,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"getResourceCreditUsage": [
- 114
+ 115
],
"getRole": [
- 443,
+ 445,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"getRoles": [
- 443
+ 445
],
"getSSOIdentityProviders": [
- 279
+ 280
],
"getToolIndex": [
- 501
+ 504
],
"getToolInputSchema": [
- 309,
+ 310,
{
"toolName": [
1,
@@ -10986,15 +11028,15 @@ export default {
}
],
"getUsageAnalytics": [
- 599,
+ 602,
{
"input": [
- 600
+ 603
]
}
],
"getView": [
- 627,
+ 630,
{
"id": [
1,
@@ -11003,7 +11045,7 @@ export default {
}
],
"getViewField": [
- 630,
+ 633,
{
"id": [
1,
@@ -11012,7 +11054,7 @@ export default {
}
],
"getViewFieldGroup": [
- 631,
+ 634,
{
"id": [
1,
@@ -11021,7 +11063,7 @@ export default {
}
],
"getViewFieldGroups": [
- 631,
+ 634,
{
"viewId": [
1,
@@ -11030,7 +11072,7 @@ export default {
}
],
"getViewFields": [
- 630,
+ 633,
{
"viewId": [
1,
@@ -11039,7 +11081,7 @@ export default {
}
],
"getViewFilter": [
- 632,
+ 635,
{
"id": [
1,
@@ -11048,7 +11090,7 @@ export default {
}
],
"getViewFilterGroup": [
- 633,
+ 636,
{
"id": [
1,
@@ -11057,7 +11099,7 @@ export default {
}
],
"getViewFilterGroups": [
- 633,
+ 636,
{
"viewId": [
1
@@ -11065,7 +11107,7 @@ export default {
}
],
"getViewFilters": [
- 632,
+ 635,
{
"viewId": [
1
@@ -11073,7 +11115,7 @@ export default {
}
],
"getViewGroup": [
- 636,
+ 639,
{
"id": [
1,
@@ -11082,7 +11124,7 @@ export default {
}
],
"getViewGroups": [
- 636,
+ 639,
{
"viewId": [
1
@@ -11090,7 +11132,7 @@ export default {
}
],
"getViewSort": [
- 639,
+ 642,
{
"id": [
1,
@@ -11099,7 +11141,7 @@ export default {
}
],
"getViewSorts": [
- 639,
+ 642,
{
"viewId": [
1
@@ -11107,19 +11149,19 @@ export default {
}
],
"getViews": [
- 627,
+ 630,
{
"objectMetadataId": [
1
],
"viewTypes": [
- 641,
+ 644,
"[ViewType!]"
]
}
],
"getWorkspaceCreationDefaults": [
- 655
+ 658
],
"githubClaimAuthorizationUrl": [
1,
@@ -11140,146 +11182,146 @@ export default {
}
],
"lineChartData": [
- 314,
+ 315,
{
"input": [
- 315,
+ 316,
"LineChartDataInput!"
]
}
],
"listPlans": [
- 105
+ 106
],
"messageSuppressions": [
- 350,
+ 352,
{
"input": [
- 280,
+ 281,
"FindMessageSuppressionsInput!"
]
}
],
"metadataTranslations": [
- 356,
+ 358,
{
"input": [
- 359,
+ 361,
"MetadataTranslationsInput!"
]
}
],
"minimalMetadata": [
- 361
+ 363
],
"mostlyEmptyFieldMetadataIds": [
- 519,
+ 522,
{
"objectMetadataId": [
- 519,
+ 522,
"UUID!"
]
}
],
"myApplicationPreferences": [
- 69
+ 70
],
"myCalendarChannels": [
- 125,
+ 126,
{
"connectedAccountId": [
- 519
+ 522
]
}
],
"myConnectedAccounts": [
- 156
+ 157
],
"myMessageChannels": [
- 338,
+ 340,
{
"connectedAccountId": [
- 519
+ 522
]
}
],
"myMessageFolders": [
- 345,
+ 347,
{
"messageChannelId": [
- 519
+ 522
]
}
],
"myUserApplicationVariables": [
- 660
+ 663
],
"navigationMenuItem": [
- 367,
+ 369,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"navigationMenuItems": [
- 367
+ 369
],
"object": [
- 370,
+ 372,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"objectRecordCounts": [
- 380
+ 382
],
"objects": [
- 371,
+ 373,
{
"filter": [
- 374,
+ 376,
"ObjectFilter!"
],
"paging": [
- 205,
+ 206,
"CursorPaging!"
]
}
],
"pieChartData": [
- 405,
+ 407,
{
"input": [
- 406,
+ 408,
"PieChartDataInput!"
]
}
],
"previewMessageCampaignAudience": [
- 133,
+ 134,
{
"input": [
- 409,
+ 411,
"PreviewMessageCampaignAudienceInput!"
]
}
],
"previewMessageCampaignSend": [
- 411,
+ 413,
{
"input": [
- 410,
+ 412,
"PreviewMessageCampaignSendInput!"
]
}
],
"publicMarketplaceAppDetail": [
- 330,
+ 332,
{
"universalIdentifier": [
1,
@@ -11288,7 +11330,7 @@ export default {
}
],
"publicMarketplaceApps": [
- 329,
+ 331,
{
"isVetted": [
4,
@@ -11297,70 +11339,70 @@ export default {
}
],
"recordPermissions": [
- 425,
+ 427,
{
"targets": [
- 435,
+ 437,
"[RecordTargetInput!]!"
]
}
],
"recordSharing": [
- 430,
+ 432,
{
"target": [
- 435,
+ 437,
"RecordTargetInput!"
]
}
],
"skill": [
- 486,
+ 488,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"skills": [
- 486
+ 488
],
"timelineActivityTypes": [
- 497
+ 500
],
"twoFactorAuthenticationRecoveryStatus": [
- 518,
+ 521,
{
"userId": [
- 519,
+ 522,
"UUID!"
]
}
],
"unsubscribeTopics": [
- 522
+ 525
],
"usageLimits": [
- 602
+ 605
],
"usageQuotaDefinitions": [
- 606
+ 609
],
"usageQuotaScopeConsumption": [
- 608,
+ 611,
{
"input": [
- 609,
+ 612,
"UsageQuotaScopeInput!"
]
}
],
"usageQuotasWithConsumption": [
- 610
+ 613
],
"validatePasswordResetToken": [
- 621,
+ 624,
{
"passwordResetToken": [
1,
@@ -11369,25 +11411,25 @@ export default {
}
],
"validationRules": [
- 622,
+ 625,
{
"objectMetadataId": [
- 519,
+ 522,
"UUID!"
]
}
],
"webhook": [
- 643,
+ 646,
{
"id": [
- 519,
+ 522,
"UUID!"
]
}
],
"webhooks": [
- 643
+ 646
],
"__typename": [
1
@@ -11395,7 +11437,7 @@ export default {
},
"RatioAggregateConfig": {
"fieldMetadataId": [
- 519
+ 522
],
"optionValue": [
1
@@ -11415,7 +11457,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"progress": [
10
@@ -11426,7 +11468,7 @@ export default {
},
"RecordIdentifier": {
"id": [
- 519
+ 522
],
"imageIdentifier": [
1
@@ -11457,13 +11499,13 @@ export default {
},
"RecordPermissionsResult": {
"objectMetadataId": [
- 519
+ 522
],
"permissions": [
- 424
+ 426
],
"recordId": [
- 519
+ 522
],
"__typename": [
1
@@ -11472,10 +11514,10 @@ export default {
"RecordShareAccessLevel": {},
"RecordSharePrincipalInput": {
"roleId": [
- 519
+ 522
],
"workspaceMemberId": [
- 519
+ 522
],
"__typename": [
1
@@ -11488,25 +11530,25 @@ export default {
4
],
"defaultGeneralAccessLevel": [
- 426
+ 428
],
"generalAccessLevel": [
- 426
+ 428
],
"hasManagedGeneralAccess": [
4
],
"permissions": [
- 424
+ 426
],
"roles": [
- 433
+ 435
],
"shares": [
- 431
+ 433
],
"sharingMode": [
- 432
+ 434
],
"__typename": [
1
@@ -11514,22 +11556,22 @@ export default {
},
"RecordSharingGrantDTO": {
"accessLevel": [
- 426
+ 428
],
"id": [
17
],
"principalId": [
- 519
+ 522
],
"principalRoleId": [
- 519
+ 522
],
"principalType": [
- 428
+ 430
],
"rowCause": [
- 429
+ 431
],
"__typename": [
1
@@ -11544,7 +11586,7 @@ export default {
4
],
"id": [
- 519
+ 522
],
"label": [
1
@@ -11555,7 +11597,7 @@ export default {
},
"RecordTableConfiguration": {
"configurationType": [
- 645
+ 648
],
"isUIEditable": [
4
@@ -11572,10 +11614,10 @@ export default {
},
"RecordTargetInput": {
"objectMetadataId": [
- 519
+ 522
],
"recordId": [
- 519
+ 522
],
"__typename": [
1
@@ -11583,19 +11625,19 @@ export default {
},
"Relation": {
"sourceFieldMetadata": [
- 262
+ 263
],
"sourceObjectMetadata": [
- 370
+ 372
],
"targetFieldMetadata": [
- 262
+ 263
],
"targetObjectMetadata": [
- 370
+ 372
],
"type": [
- 437
+ 439
],
"__typename": [
1
@@ -11634,7 +11676,7 @@ export default {
},
"RevokeApiKeyInput": {
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -11662,7 +11704,7 @@ export default {
37
],
"applicationId": [
- 519
+ 522
],
"canAccessAllAgentChatChannels": [
4
@@ -11698,13 +11740,13 @@ export default {
1
],
"fieldPermissions": [
- 269
+ 270
],
"icon": [
1
],
"id": [
- 519
+ 522
],
"isEditable": [
4
@@ -11713,22 +11755,22 @@ export default {
1
],
"objectPermissions": [
- 378
+ 380
],
"permissionFlags": [
- 444
+ 446
],
"rowLevelPermissionPredicateGroups": [
- 447
+ 449
],
"rowLevelPermissionPredicates": [
- 446
+ 448
],
"universalIdentifier": [
- 519
+ 522
],
"workspaceMembers": [
- 659
+ 662
],
"__typename": [
1
@@ -11739,10 +11781,10 @@ export default {
1
],
"id": [
- 519
+ 522
],
"roleId": [
- 519
+ 522
],
"__typename": [
1
@@ -11767,7 +11809,7 @@ export default {
1
],
"operand": [
- 451
+ 453
],
"positionInRowLevelPermissionPredicateGroup": [
6
@@ -11782,7 +11824,7 @@ export default {
1
],
"value": [
- 309
+ 310
],
"workspaceMemberFieldMetadataId": [
1
@@ -11799,7 +11841,7 @@ export default {
1
],
"logicalOperator": [
- 449
+ 451
],
"objectMetadataId": [
1
@@ -11819,16 +11861,16 @@ export default {
},
"RowLevelPermissionPredicateGroupInput": {
"id": [
- 519
+ 522
],
"logicalOperator": [
- 449
+ 451
],
"objectMetadataId": [
- 519
+ 522
],
"parentRowLevelPermissionPredicateGroupId": [
- 519
+ 522
],
"positionInRowLevelPermissionPredicateGroup": [
6
@@ -11840,25 +11882,25 @@ export default {
"RowLevelPermissionPredicateGroupLogicalOperator": {},
"RowLevelPermissionPredicateInput": {
"fieldMetadataId": [
- 519
+ 522
],
"id": [
- 519
+ 522
],
"operand": [
- 451
+ 453
],
"positionInRowLevelPermissionPredicateGroup": [
6
],
"rowLevelPermissionPredicateGroupId": [
- 519
+ 522
],
"subFieldName": [
1
],
"value": [
- 309
+ 310
],
"workspaceMemberFieldMetadataId": [
1
@@ -11879,22 +11921,22 @@ export default {
1
],
"input": [
- 454
+ 456
],
"messages": [
- 454
+ 456
],
"prompt": [
1
],
"responseFormat": [
- 309
+ 310
],
"runAsWorkspaceMemberId": [
- 519
+ 522
],
"thread": [
- 457
+ 459
],
"waitForCompletion": [
4
@@ -11905,7 +11947,7 @@ export default {
},
"RunAgentMessageAttachmentInput": {
"fileId": [
- 519
+ 522
],
"filename": [
1
@@ -11916,13 +11958,13 @@ export default {
},
"RunAgentMessageInput": {
"attachments": [
- 453
+ 455
],
"content": [
1
],
"role": [
- 455
+ 457
],
"__typename": [
1
@@ -11934,7 +11976,7 @@ export default {
1
],
"result": [
- 309
+ 310
],
"status": [
1
@@ -11943,7 +11985,7 @@ export default {
4
],
"threadId": [
- 519
+ 522
],
"__typename": [
1
@@ -11962,7 +12004,7 @@ export default {
},
"SSOConnection": {
"id": [
- 519
+ 522
],
"issuer": [
1
@@ -11971,10 +12013,10 @@ export default {
1
],
"status": [
- 460
+ 462
],
"type": [
- 292
+ 293
],
"__typename": [
1
@@ -11982,7 +12024,7 @@ export default {
},
"SSOIdentityProvider": {
"id": [
- 519
+ 522
],
"issuer": [
1
@@ -11991,10 +12033,10 @@ export default {
1
],
"status": [
- 460
+ 462
],
"type": [
- 292
+ 293
],
"__typename": [
1
@@ -12014,22 +12056,22 @@ export default {
},
"SearchField": {
"createdAt": [
- 207
+ 208
],
"fieldMetadataId": [
- 519
+ 522
],
"id": [
- 519
+ 522
],
"position": [
6
],
"tsVectorFieldMetadataId": [
- 519
+ 522
],
"updatedAt": [
- 207
+ 208
],
"__typename": [
1
@@ -12037,13 +12079,13 @@ export default {
},
"SendAppChannelMessageInput": {
"idempotencyKey": [
- 519
+ 522
],
"messageChannelId": [
- 519
+ 522
],
"messageThreadId": [
- 519
+ 522
],
"text": [
1
@@ -12054,10 +12096,10 @@ export default {
},
"SendAppChannelMessageOutput": {
"messageId": [
- 519
+ 522
],
"messageThreadId": [
- 519
+ 522
],
"__typename": [
1
@@ -12065,7 +12107,7 @@ export default {
},
"SendChatMessageResult": {
"mentionedParticipantWorkspaceMemberIds": [
- 519
+ 522
],
"messageId": [
1
@@ -12108,7 +12150,7 @@ export default {
1
],
"files": [
- 466
+ 468
],
"fromHandle": [
1
@@ -12120,7 +12162,7 @@ export default {
1
],
"targetRecord": [
- 469
+ 471
],
"to": [
1
@@ -12148,7 +12190,7 @@ export default {
1
],
"recordId": [
- 519
+ 522
],
"__typename": [
1
@@ -12176,10 +12218,10 @@ export default {
1
],
"toolCall": [
- 309
+ 310
],
"workspaceMemberIds": [
- 519
+ 522
],
"__typename": [
1
@@ -12187,7 +12229,7 @@ export default {
},
"SendInboxMessageResult": {
"threadId": [
- 519
+ 522
],
"__typename": [
1
@@ -12198,7 +12240,7 @@ export default {
1
],
"result": [
- 657
+ 660
],
"success": [
4
@@ -12212,7 +12254,7 @@ export default {
1
],
"scheduledAt": [
- 207
+ 208
],
"__typename": [
1
@@ -12220,7 +12262,7 @@ export default {
},
"SendMessageCampaignOutputDTO": {
"audience": [
- 133
+ 134
],
"campaignId": [
1
@@ -12277,7 +12319,7 @@ export default {
41
],
"value": [
- 309
+ 310
],
"__typename": [
1
@@ -12285,34 +12327,34 @@ export default {
},
"SettingsMenuItem": {
"applicationId": [
- 519
+ 522
],
"createdAt": [
- 207
+ 208
],
"frontComponentId": [
- 519
+ 522
],
"icon": [
1
],
"id": [
- 519
+ 522
],
"position": [
6
],
"scope": [
- 480
+ 482
],
"title": [
1
],
"universalIdentifier": [
- 519
+ 522
],
"updatedAt": [
- 207
+ 208
],
"__typename": [
1
@@ -12344,7 +12386,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"issuer": [
1
@@ -12361,7 +12403,7 @@ export default {
},
"SetupSso": {
"id": [
- 519
+ 522
],
"issuer": [
1
@@ -12370,10 +12412,10 @@ export default {
1
],
"status": [
- 460
+ 462
],
"type": [
- 292
+ 293
],
"__typename": [
1
@@ -12381,10 +12423,10 @@ export default {
},
"SignUp": {
"loginToken": [
- 81
+ 82
],
"workspace": [
- 669
+ 672
],
"__typename": [
1
@@ -12409,13 +12451,13 @@ export default {
},
"Skill": {
"applicationId": [
- 519
+ 522
],
"content": [
1
],
"createdAt": [
- 207
+ 208
],
"description": [
1
@@ -12424,7 +12466,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"isActive": [
4
@@ -12442,7 +12484,7 @@ export default {
1
],
"updatedAt": [
- 207
+ 208
],
"__typename": [
1
@@ -12450,10 +12492,10 @@ export default {
},
"StandaloneRichTextConfiguration": {
"body": [
- 442
+ 444
],
"configurationType": [
- 645
+ 648
],
"__typename": [
1
@@ -12461,7 +12503,7 @@ export default {
},
"StartWorkspaceSetupChatResult": {
"outcome": [
- 667
+ 670
],
"thread": [
16
@@ -12497,32 +12539,32 @@ export default {
},
"Subscription": {
"eventLogsLive": [
- 256,
+ 257,
{
"fieldFilters": [
- 250,
+ 251,
"[EventLogFieldFilterInput!]"
],
"table": [
- 257,
+ 258,
"EventLogTable!"
]
}
],
"exportRecords": [
- 422,
+ 424,
{
"input": [
- 190,
+ 191,
"CreateRecordExportInput!"
]
}
],
"logicFunctionLogs": [
- 326,
+ 328,
{
"input": [
- 327,
+ 329,
"LogicFunctionLogsInput!"
]
}
@@ -12531,13 +12573,13 @@ export default {
13,
{
"threadId": [
- 519,
+ 522,
"UUID!"
]
}
],
"onEventSubscription": [
- 258,
+ 259,
{
"eventStreamId": [
1,
@@ -12553,7 +12595,7 @@ export default {
"SubscriptionStatus": {},
"Support": {
"supportDriver": [
- 495
+ 497
],
"supportFrontChatId": [
1
@@ -12563,9 +12605,20 @@ export default {
]
},
"SupportDriver": {},
+ "SyncAppMessageFoldersInput": {
+ "folders": [
+ 42
+ ],
+ "messageChannelId": [
+ 522
+ ],
+ "__typename": [
+ 1
+ ]
+ },
"TasksConfiguration": {
"configurationType": [
- 645
+ 648
],
"__typename": [
1
@@ -12576,22 +12629,22 @@ export default {
1
],
"applicationId": [
- 519
+ 522
],
"createdAt": [
- 207
+ 208
],
"emit": [
- 498
+ 501
],
"frontComponentUniversalIdentifier": [
- 519
+ 522
],
"icon": [
1
],
"id": [
- 519
+ 522
],
"isActive": [
4
@@ -12603,16 +12656,16 @@ export default {
1
],
"objectUniversalIdentifier": [
- 519
+ 522
],
"replacesTimelineActivityTypeUniversalIdentifier": [
- 519
+ 522
],
"universalIdentifier": [
- 519
+ 522
],
"updatedAt": [
- 207
+ 208
],
"__typename": [
1
@@ -12620,13 +12673,13 @@ export default {
},
"TimelineActivityTypeEmit": {
"objectUniversalIdentifier": [
- 519
+ 522
],
"on": [
1
],
"through": [
- 499
+ 502
],
"__typename": [
1
@@ -12634,13 +12687,13 @@ export default {
},
"TimelineActivityTypeEmitThrough": {
"happensAtFieldUniversalIdentifier": [
- 519
+ 522
],
"relationFieldUniversalIdentifier": [
- 519
+ 522
],
"triggerFieldUniversalIdentifiers": [
- 519
+ 522
],
"__typename": [
1
@@ -12648,7 +12701,7 @@ export default {
},
"TimelineConfiguration": {
"configurationType": [
- 645
+ 648
],
"__typename": [
1
@@ -12668,7 +12721,7 @@ export default {
1
],
"inputSchema": [
- 309
+ 310
],
"label": [
1
@@ -12688,7 +12741,7 @@ export default {
},
"TransientToken": {
"transientToken": [
- 81
+ 82
],
"__typename": [
1
@@ -12696,10 +12749,10 @@ export default {
},
"TriggerAddPeopleToMessageListJobInput": {
"messageListId": [
- 519
+ 522
],
"personFilter": [
- 309
+ 310
],
"__typename": [
1
@@ -12804,7 +12857,7 @@ export default {
1
],
"twoFactorAuthenticationMethodId": [
- 519
+ 522
],
"__typename": [
1
@@ -12812,7 +12865,7 @@ export default {
},
"TwoFactorAuthenticationRecoveryCode": {
"expiresAt": [
- 207
+ 208
],
"recoveryCode": [
1
@@ -12826,7 +12879,7 @@ export default {
1
],
"tokens": [
- 82
+ 83
],
"__typename": [
1
@@ -12840,7 +12893,7 @@ export default {
4
],
"pendingRecoveryCodeExpiresAt": [
- 207
+ 208
],
"__typename": [
1
@@ -12849,19 +12902,19 @@ export default {
"UUID": {},
"UUIDFilterComparison": {
"eq": [
- 519
+ 522
],
"gt": [
- 519
+ 522
],
"gte": [
- 519
+ 522
],
"iLike": [
- 519
+ 522
],
"in": [
- 519
+ 522
],
"is": [
4
@@ -12870,25 +12923,25 @@ export default {
4
],
"like": [
- 519
+ 522
],
"lt": [
- 519
+ 522
],
"lte": [
- 519
+ 522
],
"neq": [
- 519
+ 522
],
"notILike": [
- 519
+ 522
],
"notIn": [
- 519
+ 522
],
"notLike": [
- 519
+ 522
],
"__typename": [
1
@@ -12897,22 +12950,22 @@ export default {
"UnsubscribeHostnameStatus": {},
"UnsubscribeTopic": {
"createdAt": [
- 207
+ 208
],
"description": [
1
],
"id": [
- 519
+ 522
],
"name": [
1
],
"updatedAt": [
- 207
+ 208
],
"visibility": [
- 523
+ 526
],
"__typename": [
1
@@ -12933,7 +12986,7 @@ export default {
6
],
"roleIds": [
- 519
+ 522
],
"__typename": [
1
@@ -12947,13 +13000,13 @@ export default {
1
],
"id": [
- 519
+ 522
],
"label": [
1
],
"modelConfiguration": [
- 309
+ 310
],
"modelId": [
1
@@ -12965,13 +13018,13 @@ export default {
1
],
"responseFormat": [
- 309
+ 310
],
"roleId": [
- 519
+ 522
],
"triggers": [
- 309
+ 310
],
"__typename": [
1
@@ -12982,7 +13035,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"name": [
1
@@ -12999,16 +13052,16 @@ export default {
1
],
"id": [
- 519
+ 522
],
"isSyncEnabled": [
4
],
"messagingProviderUniversalIdentifier": [
- 519
+ 522
],
"visibility": [
- 344
+ 346
],
"__typename": [
1
@@ -13027,7 +13080,7 @@ export default {
1
],
"update": [
- 530
+ 533
],
"__typename": [
1
@@ -13052,7 +13105,7 @@ export default {
1
],
"update": [
- 532
+ 535
],
"__typename": [
1
@@ -13074,10 +13127,10 @@ export default {
},
"UpdateCalendarChannelInput": {
"id": [
- 519
+ 522
],
"update": [
- 534
+ 537
],
"__typename": [
1
@@ -13085,7 +13138,7 @@ export default {
},
"UpdateCalendarChannelInputUpdates": {
"contactAutoCreationPolicy": [
- 126
+ 127
],
"excludePrivateEvents": [
4
@@ -13097,7 +13150,7 @@ export default {
4
],
"visibility": [
- 129
+ 130
],
"__typename": [
1
@@ -13105,13 +13158,13 @@ export default {
},
"UpdateCommandMenuItemInput": {
"availabilityObjectMetadataId": [
- 519
+ 522
],
"availabilityType": [
- 153
+ 154
],
"engineComponentKey": [
- 241
+ 242
],
"hotKeys": [
1
@@ -13120,7 +13173,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"isPinned": [
4
@@ -13129,7 +13182,7 @@ export default {
1
],
"pageLayoutId": [
- 519
+ 522
],
"position": [
6
@@ -13146,7 +13199,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -13154,7 +13207,7 @@ export default {
},
"UpdateFieldInput": {
"defaultValue": [
- 309
+ 310
],
"description": [
1
@@ -13193,22 +13246,22 @@ export default {
1
],
"morphRelationsUpdatePayload": [
- 309
+ 310
],
"name": [
1
],
"objectMetadataId": [
- 519
+ 522
],
"options": [
- 309
+ 310
],
"settings": [
- 309
+ 310
],
"translations": [
- 357
+ 359
],
"universalIdentifier": [
1
@@ -13219,10 +13272,10 @@ export default {
},
"UpdateFrontComponentInput": {
"id": [
- 519
+ 522
],
"update": [
- 539
+ 542
],
"__typename": [
1
@@ -13252,10 +13305,10 @@ export default {
},
"UpdateLogicFunctionFromSourceInput": {
"id": [
- 519
+ 522
],
"update": [
- 542
+ 545
],
"__typename": [
1
@@ -13263,10 +13316,10 @@ export default {
},
"UpdateLogicFunctionFromSourceInputUpdates": {
"cronTriggerSettings": [
- 309
+ 310
],
"databaseEventTriggerSettings": [
- 309
+ 310
],
"description": [
1
@@ -13275,7 +13328,7 @@ export default {
1
],
"httpRouteTriggerSettings": [
- 309
+ 310
],
"name": [
1
@@ -13290,10 +13343,10 @@ export default {
6
],
"toolTriggerSettings": [
- 309
+ 310
],
"workflowActionTriggerSettings": [
- 309
+ 310
],
"__typename": [
1
@@ -13301,10 +13354,10 @@ export default {
},
"UpdateMessageChannelInput": {
"id": [
- 519
+ 522
],
"update": [
- 544
+ 547
],
"__typename": [
1
@@ -13312,7 +13365,7 @@ export default {
},
"UpdateMessageChannelInputUpdates": {
"contactAutoCreationPolicy": [
- 339
+ 341
],
"excludeGroupEmails": [
4
@@ -13327,10 +13380,10 @@ export default {
4
],
"messageFolderImportPolicy": [
- 346
+ 348
],
"visibility": [
- 344
+ 346
],
"__typename": [
1
@@ -13338,10 +13391,10 @@ export default {
},
"UpdateMessageFolderInput": {
"id": [
- 519
+ 522
],
"update": [
- 546
+ 549
],
"__typename": [
1
@@ -13357,10 +13410,10 @@ export default {
},
"UpdateMessageFoldersInput": {
"ids": [
- 519
+ 522
],
"update": [
- 546
+ 549
],
"__typename": [
1
@@ -13371,7 +13424,7 @@ export default {
1
],
"folderId": [
- 519
+ 522
],
"icon": [
1
@@ -13383,7 +13436,7 @@ export default {
1
],
"pageLayoutId": [
- 519
+ 522
],
"position": [
6
@@ -13403,7 +13456,7 @@ export default {
1
],
"imageIdentifierFieldMetadataId": [
- 519
+ 522
],
"isActive": [
4
@@ -13415,7 +13468,7 @@ export default {
4
],
"labelIdentifierFieldMetadataId": [
- 519
+ 522
],
"labelPlural": [
1
@@ -13430,19 +13483,19 @@ export default {
1
],
"openRecordIn": [
- 377
+ 379
],
"readability": [
- 355
+ 357
],
"sharingReach": [
- 385
+ 387
],
"shortcut": [
1
],
"translations": [
- 357
+ 359
],
"__typename": [
1
@@ -13450,10 +13503,10 @@ export default {
},
"UpdateOneFieldMetadataInput": {
"id": [
- 519
+ 522
],
"update": [
- 537
+ 540
],
"__typename": [
1
@@ -13461,10 +13514,10 @@ export default {
},
"UpdateOneNavigationMenuItemInput": {
"id": [
- 519
+ 522
],
"update": [
- 548
+ 551
],
"__typename": [
1
@@ -13472,10 +13525,10 @@ export default {
},
"UpdateOneObjectInput": {
"id": [
- 519
+ 522
],
"update": [
- 549
+ 552
],
"__typename": [
1
@@ -13486,10 +13539,10 @@ export default {
1
],
"objectMetadataId": [
- 519
+ 522
],
"type": [
- 394
+ 396
],
"__typename": [
1
@@ -13500,7 +13553,7 @@ export default {
1
],
"layoutMode": [
- 393
+ 395
],
"position": [
6
@@ -13517,10 +13570,10 @@ export default {
1
],
"id": [
- 519
+ 522
],
"layoutMode": [
- 393
+ 395
],
"position": [
6
@@ -13529,7 +13582,7 @@ export default {
1
],
"widgets": [
- 557
+ 560
],
"__typename": [
1
@@ -13540,28 +13593,28 @@ export default {
1
],
"conditionalDisplay": [
- 309
+ 310
],
"configuration": [
- 309
+ 310
],
"isActive": [
4
],
"objectMetadataId": [
- 519
+ 522
],
"pageLayoutTabId": [
- 519
+ 522
],
"position": [
- 309
+ 310
],
"title": [
1
],
"type": [
- 646
+ 649
],
"__typename": [
1
@@ -13572,28 +13625,28 @@ export default {
1
],
"conditionalDisplay": [
- 309
+ 310
],
"configuration": [
- 309
+ 310
],
"id": [
- 519
+ 522
],
"objectMetadataId": [
- 519
+ 522
],
"pageLayoutTabId": [
- 519
+ 522
],
"position": [
- 309
+ 310
],
"title": [
1
],
"type": [
- 646
+ 649
],
"__typename": [
1
@@ -13607,13 +13660,13 @@ export default {
1
],
"objectMetadataId": [
- 519
+ 522
],
"tabs": [
- 555
+ 558
],
"type": [
- 394
+ 396
],
"__typename": [
1
@@ -13621,10 +13674,10 @@ export default {
},
"UpdateRoleInput": {
"id": [
- 519
+ 522
],
"update": [
- 560
+ 563
],
"__typename": [
1
@@ -13685,7 +13738,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"isActive": [
4
@@ -13705,7 +13758,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"isActive": [
4
@@ -13714,7 +13767,7 @@ export default {
1
],
"translations": [
- 357
+ 359
],
"__typename": [
1
@@ -13731,7 +13784,7 @@ export default {
1
],
"visibility": [
- 523
+ 526
],
"__typename": [
1
@@ -13739,10 +13792,10 @@ export default {
},
"UpdateUsageLimitInput": {
"id": [
- 519
+ 522
],
"payload": [
- 194
+ 195
],
"__typename": [
1
@@ -13750,10 +13803,10 @@ export default {
},
"UpdateValidationRuleInput": {
"id": [
- 519
+ 522
],
"update": [
- 566
+ 569
],
"__typename": [
1
@@ -13764,7 +13817,7 @@ export default {
1
],
"errorFieldMetadataId": [
- 519
+ 522
],
"expression": [
1
@@ -13787,10 +13840,10 @@ export default {
},
"UpdateViewFieldGroupInput": {
"id": [
- 519
+ 522
],
"update": [
- 568
+ 571
],
"__typename": [
1
@@ -13815,10 +13868,10 @@ export default {
},
"UpdateViewFieldInput": {
"id": [
- 519
+ 522
],
"update": [
- 570
+ 573
],
"__typename": [
1
@@ -13838,7 +13891,7 @@ export default {
6
],
"viewFieldGroupId": [
- 519
+ 522
],
"__typename": [
1
@@ -13846,19 +13899,19 @@ export default {
},
"UpdateViewFilterGroupInput": {
"id": [
- 519
+ 522
],
"logicalOperator": [
- 634
+ 637
],
"parentViewFilterGroupId": [
- 519
+ 522
],
"positionInViewFilterGroup": [
6
],
"viewId": [
- 519
+ 522
],
"__typename": [
1
@@ -13866,10 +13919,10 @@ export default {
},
"UpdateViewFilterInput": {
"id": [
- 519
+ 522
],
"update": [
- 573
+ 576
],
"__typename": [
1
@@ -13877,25 +13930,25 @@ export default {
},
"UpdateViewFilterInputUpdates": {
"fieldMetadataId": [
- 519
+ 522
],
"operand": [
- 635
+ 638
],
"positionInViewFilterGroup": [
6
],
"relationTargetFieldMetadataId": [
- 519
+ 522
],
"subFieldName": [
1
],
"value": [
- 309
+ 310
],
"viewFilterGroupId": [
- 519
+ 522
],
"__typename": [
1
@@ -13903,10 +13956,10 @@ export default {
},
"UpdateViewGroupInput": {
"id": [
- 519
+ 522
],
"update": [
- 575
+ 578
],
"__typename": [
1
@@ -13914,7 +13967,7 @@ export default {
},
"UpdateViewGroupInputUpdates": {
"fieldMetadataId": [
- 519
+ 522
],
"fieldValue": [
1
@@ -13934,13 +13987,13 @@ export default {
1
],
"calendarEndFieldMetadataId": [
- 519
+ 522
],
"calendarFieldMetadataId": [
- 519
+ 522
],
"calendarLayout": [
- 628
+ 631
],
"groupLoadLimit": [
10
@@ -13949,7 +14002,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"isCompact": [
4
@@ -13958,19 +14011,19 @@ export default {
26
],
"kanbanAggregateOperationFieldMetadataId": [
- 519
+ 522
],
"kanbanColumnWidth": [
10
],
"mainGroupByFieldMetadataId": [
- 519
+ 522
],
"name": [
1
],
"openRecordIn": [
- 638
+ 641
],
"position": [
6
@@ -13979,10 +14032,10 @@ export default {
4
],
"type": [
- 641
+ 644
],
"visibility": [
- 642
+ 645
],
"__typename": [
1
@@ -13990,10 +14043,10 @@ export default {
},
"UpdateViewSortInput": {
"id": [
- 519
+ 522
],
"update": [
- 578
+ 581
],
"__typename": [
1
@@ -14001,7 +14054,7 @@ export default {
},
"UpdateViewSortInputUpdates": {
"direction": [
- 640
+ 643
],
"subFieldName": [
1
@@ -14012,10 +14065,10 @@ export default {
},
"UpdateWebhookInput": {
"id": [
- 519
+ 522
],
"update": [
- 580
+ 583
],
"__typename": [
1
@@ -14063,7 +14116,7 @@ export default {
1
],
"aiModelIdByTier": [
- 309
+ 310
],
"allowImpersonation": [
4
@@ -14072,7 +14125,7 @@ export default {
1
],
"defaultRoleId": [
- 519
+ 522
],
"displayName": [
1
@@ -14132,7 +14185,7 @@ export default {
6
],
"workspaceDiscoverability": [
- 656
+ 659
],
"__typename": [
1
@@ -14140,10 +14193,10 @@ export default {
},
"UpdateWorkspaceMemberSettingsInput": {
"update": [
- 309
+ 310
],
"workspaceMemberId": [
- 519
+ 522
],
"__typename": [
1
@@ -14152,10 +14205,10 @@ export default {
"Upload": {},
"UpsertFieldPermissionsInput": {
"fieldPermissions": [
- 270
+ 271
],
"roleId": [
- 519
+ 522
],
"__typename": [
1
@@ -14163,7 +14216,7 @@ export default {
},
"UpsertFieldsWidgetFieldInput": {
"fieldMetadataId": [
- 519
+ 522
],
"isVisible": [
4
@@ -14172,7 +14225,7 @@ export default {
6
],
"viewFieldId": [
- 519
+ 522
],
"__typename": [
1
@@ -14180,10 +14233,10 @@ export default {
},
"UpsertFieldsWidgetGroupInput": {
"fields": [
- 586
+ 589
],
"id": [
- 519
+ 522
],
"isVisible": [
4
@@ -14200,13 +14253,13 @@ export default {
},
"UpsertFieldsWidgetInput": {
"fields": [
- 586
+ 589
],
"groups": [
- 587
+ 590
],
"widgetId": [
- 519
+ 522
],
"__typename": [
1
@@ -14214,10 +14267,10 @@ export default {
},
"UpsertObjectPermissionsInput": {
"objectPermissions": [
- 379
+ 381
],
"roleId": [
- 519
+ 522
],
"__typename": [
1
@@ -14228,7 +14281,7 @@ export default {
1
],
"roleId": [
- 519
+ 522
],
"__typename": [
1
@@ -14236,16 +14289,16 @@ export default {
},
"UpsertRowLevelPermissionPredicatesInput": {
"objectMetadataId": [
- 519
+ 522
],
"predicateGroups": [
- 448
+ 450
],
"predicates": [
- 450
+ 452
],
"roleId": [
- 519
+ 522
],
"__typename": [
1
@@ -14253,10 +14306,10 @@ export default {
},
"UpsertRowLevelPermissionPredicatesResult": {
"predicateGroups": [
- 447
+ 449
],
"predicates": [
- 446
+ 448
],
"__typename": [
1
@@ -14264,22 +14317,22 @@ export default {
},
"UpsertViewWidgetInput": {
"view": [
- 597
+ 600
],
"viewFields": [
- 594
+ 597
],
"viewFilterGroups": [
- 595
+ 598
],
"viewFilters": [
- 596
+ 599
],
"viewSorts": [
- 598
+ 601
],
"widgetId": [
- 519
+ 522
],
"__typename": [
1
@@ -14290,7 +14343,7 @@ export default {
26
],
"fieldMetadataId": [
- 519
+ 522
],
"isVisible": [
4
@@ -14302,7 +14355,7 @@ export default {
6
],
"viewFieldId": [
- 519
+ 522
],
"__typename": [
1
@@ -14310,13 +14363,13 @@ export default {
},
"UpsertViewWidgetViewFilterGroupInput": {
"id": [
- 519
+ 522
],
"logicalOperator": [
- 634
+ 637
],
"parentViewFilterGroupId": [
- 519
+ 522
],
"positionInViewFilterGroup": [
6
@@ -14327,28 +14380,28 @@ export default {
},
"UpsertViewWidgetViewFilterInput": {
"fieldMetadataId": [
- 519
+ 522
],
"id": [
- 519
+ 522
],
"operand": [
- 635
+ 638
],
"positionInViewFilterGroup": [
6
],
"relationTargetFieldMetadataId": [
- 519
+ 522
],
"subFieldName": [
1
],
"value": [
- 309
+ 310
],
"viewFilterGroupId": [
- 519
+ 522
],
"__typename": [
1
@@ -14356,34 +14409,34 @@ export default {
},
"UpsertViewWidgetViewSettingsInput": {
"calendarEndFieldMetadataId": [
- 519
+ 522
],
"calendarFieldMetadataId": [
- 519
+ 522
],
"calendarLayout": [
- 628
+ 631
],
"kanbanAggregateOperation": [
26
],
"kanbanAggregateOperationFieldMetadataId": [
- 519
+ 522
],
"kanbanColumnWidth": [
10
],
"mainGroupByFieldMetadataId": [
- 519
+ 522
],
"openRecordIn": [
- 638
+ 641
],
"shouldHideEmptyGroups": [
4
],
"type": [
- 641
+ 644
],
"__typename": [
1
@@ -14391,13 +14444,13 @@ export default {
},
"UpsertViewWidgetViewSortInput": {
"direction": [
- 640
+ 643
],
"fieldMetadataId": [
- 519
+ 522
],
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -14405,28 +14458,28 @@ export default {
},
"UsageAnalytics": {
"periodEnd": [
- 207
+ 208
],
"periodStart": [
- 207
+ 208
],
"timeSeries": [
- 612
+ 615
],
"usageByApplication": [
- 601
+ 604
],
"usageByModel": [
- 601
+ 604
],
"usageByOperationType": [
- 601
+ 604
],
"usageByUser": [
- 601
+ 604
],
"userDailyUsage": [
- 614
+ 617
],
"__typename": [
1
@@ -14434,13 +14487,13 @@ export default {
},
"UsageAnalyticsInput": {
"operationTypes": [
- 604
+ 607
],
"periodEnd": [
- 207
+ 208
],
"periodStart": [
- 207
+ 208
],
"userWorkspaceId": [
1
@@ -14471,22 +14524,22 @@ export default {
},
"UsageLimit": {
"burstValue": [
- 96
+ 97
],
"createdAt": [
- 207
+ 208
],
"id": [
- 519
+ 522
],
"limitKind": [
1
],
"limitValue": [
- 96
+ 97
],
"operationType": [
- 604
+ 607
],
"periodCount": [
10
@@ -14495,7 +14548,7 @@ export default {
1
],
"resourceType": [
- 611
+ 614
],
"spenderId": [
1
@@ -14504,10 +14557,10 @@ export default {
1
],
"unit": [
- 613
+ 616
],
"updatedAt": [
- 207
+ 208
],
"__typename": [
1
@@ -14515,10 +14568,10 @@ export default {
},
"UsageLimitOperationDefinition": {
"allowedUnits": [
- 613
+ 616
],
"operationType": [
- 604
+ 607
],
"__typename": [
1
@@ -14527,7 +14580,7 @@ export default {
"UsageOperationType": {},
"UsageQuotaDefinition": {
"allowedOperations": [
- 603
+ 606
],
"allowedSpenderTypes": [
1
@@ -14536,10 +14589,10 @@ export default {
1
],
"operatorOnlyScopes": [
- 607
+ 610
],
"resourceType": [
- 611
+ 614
],
"__typename": [
1
@@ -14547,7 +14600,7 @@ export default {
},
"UsageQuotaDefinitions": {
"definitions": [
- 605
+ 608
],
"hasAllowancePeriod": [
4
@@ -14561,7 +14614,7 @@ export default {
},
"UsageQuotaOperatorOnlyScope": {
"operationType": [
- 604
+ 607
],
"periodUnit": [
1
@@ -14570,7 +14623,7 @@ export default {
1
],
"unit": [
- 613
+ 616
],
"__typename": [
1
@@ -14578,13 +14631,13 @@ export default {
},
"UsageQuotaScopeConsumption": {
"consumedValue": [
- 96
+ 97
],
"periodEnd": [
- 207
+ 208
],
"periodStart": [
- 207
+ 208
],
"__typename": [
1
@@ -14592,13 +14645,13 @@ export default {
},
"UsageQuotaScopeInput": {
"operationType": [
- 604
+ 607
],
"periodUnit": [
1
],
"resourceType": [
- 611
+ 614
],
"spenderId": [
1
@@ -14607,7 +14660,7 @@ export default {
1
],
"unit": [
- 613
+ 616
],
"__typename": [
1
@@ -14615,34 +14668,34 @@ export default {
},
"UsageQuotaWithConsumption": {
"consumedValue": [
- 96
+ 97
],
"id": [
- 519
+ 522
],
"isEnforced": [
4
],
"limitValue": [
- 96
+ 97
],
"operationType": [
- 604
+ 607
],
"periodEnd": [
- 207
+ 208
],
"periodStart": [
- 207
+ 208
],
"periodUnit": [
1
],
"remainingValue": [
- 96
+ 97
],
"resourceType": [
- 611
+ 614
],
"spenderId": [
1
@@ -14654,7 +14707,7 @@ export default {
1
],
"unit": [
- 613
+ 616
],
"__typename": [
1
@@ -14678,7 +14731,7 @@ export default {
"UsageUnit": {},
"UsageUserDaily": {
"dailyUsage": [
- 612
+ 615
],
"userWorkspaceId": [
1
@@ -14689,7 +14742,7 @@ export default {
},
"User": {
"availableWorkspaces": [
- 87
+ 88
],
"canAccessFullAdminPanel": [
4
@@ -14698,19 +14751,19 @@ export default {
4
],
"createdAt": [
- 207
+ 208
],
"currentUserWorkspace": [
- 619
+ 622
],
"currentWorkspace": [
- 650
+ 653
],
"deletedAt": [
- 207
+ 208
],
"deletedWorkspaceMembers": [
- 220
+ 221
],
"disabled": [
4
@@ -14725,7 +14778,7 @@ export default {
4
],
"id": [
- 519
+ 522
],
"isEmailVerified": [
4
@@ -14740,31 +14793,31 @@ export default {
1
],
"onboardingStatus": [
- 386
+ 388
],
"previousOnboardingStatus": [
- 386
+ 388
],
"supportUserHash": [
1
],
"updatedAt": [
- 207
+ 208
],
"userVars": [
- 310
+ 311
],
"userWorkspaces": [
- 619
+ 622
],
"workspaceMember": [
- 659
+ 662
],
"workspaceMembers": [
- 659
+ 662
],
"workspaces": [
- 619
+ 622
],
"__typename": [
1
@@ -14790,7 +14843,7 @@ export default {
1
],
"options": [
- 309
+ 310
],
"type": [
1
@@ -14808,13 +14861,13 @@ export default {
1
],
"createdAt": [
- 207
+ 208
],
"expiresAt": [
- 207
+ 208
],
"id": [
- 519
+ 522
],
"ipAddress": [
1
@@ -14826,13 +14879,13 @@ export default {
4
],
"lastActiveAt": [
- 207
+ 208
],
"userAgent": [
1
],
"workspaceId": [
- 519
+ 522
],
"__typename": [
1
@@ -14840,13 +14893,13 @@ export default {
},
"UserWorkspace": {
"createdAt": [
- 207
+ 208
],
"deletedAt": [
- 207
+ 208
],
"id": [
- 519
+ 522
],
"isImpersonating": [
4
@@ -14855,25 +14908,25 @@ export default {
1
],
"objectPermissions": [
- 378
+ 380
],
"objectsPermissions": [
- 378
+ 380
],
"permissionFlags": [
- 403
+ 405
],
"twoFactorAuthenticationMethodSummary": [
- 515
+ 518
],
"updatedAt": [
- 207
+ 208
],
"user": [
- 615
+ 618
],
"userId": [
- 519
+ 522
],
"__typename": [
1
@@ -14881,7 +14934,7 @@ export default {
},
"ValidateApprovedAccessDomainInput": {
"approvedAccessDomainId": [
- 519
+ 522
],
"validationToken": [
1
@@ -14898,7 +14951,7 @@ export default {
4
],
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -14909,7 +14962,7 @@ export default {
1
],
"errorFieldMetadataId": [
- 519
+ 522
],
"expression": [
1
@@ -14918,7 +14971,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"isActive": [
4
@@ -14930,7 +14983,7 @@ export default {
1
],
"objectMetadataId": [
- 519
+ 522
],
"__typename": [
1
@@ -14958,10 +15011,10 @@ export default {
},
"VerifyEmailAndGetLoginToken": {
"loginToken": [
- 81
+ 82
],
"workspaceUrls": [
- 668
+ 671
],
"__typename": [
1
@@ -14991,25 +15044,25 @@ export default {
1
],
"applicationId": [
- 519
+ 522
],
"calendarEndFieldMetadataId": [
- 519
+ 522
],
"calendarFieldMetadataId": [
- 519
+ 522
],
"calendarLayout": [
- 628
+ 631
],
"createdAt": [
- 207
+ 208
],
"createdByUserWorkspaceId": [
- 519
+ 522
],
"deletedAt": [
- 207
+ 208
],
"groupLoadLimit": [
10
@@ -15018,7 +15071,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"isActive": [
4
@@ -15036,25 +15089,25 @@ export default {
26
],
"kanbanAggregateOperationFieldMetadataId": [
- 519
+ 522
],
"kanbanColumnWidth": [
10
],
"key": [
- 637
+ 640
],
"mainGroupByFieldMetadataId": [
- 519
+ 522
],
"name": [
1
],
"objectMetadataId": [
- 519
+ 522
],
"openRecordIn": [
- 638
+ 641
],
"position": [
6
@@ -15063,37 +15116,37 @@ export default {
4
],
"type": [
- 641
+ 644
],
"universalIdentifier": [
- 519
+ 522
],
"updatedAt": [
- 207
+ 208
],
"viewFieldGroups": [
- 631
+ 634
],
"viewFields": [
- 630
+ 633
],
"viewFilterGroups": [
- 633
+ 636
],
"viewFilters": [
- 632
+ 635
],
"viewGroups": [
- 636
+ 639
],
"viewSorts": [
- 639
+ 642
],
"visibility": [
- 642
+ 645
],
"workspaceId": [
- 519
+ 522
],
"__typename": [
1
@@ -15102,7 +15155,7 @@ export default {
"ViewCalendarLayout": {},
"ViewConfiguration": {
"configurationType": [
- 645
+ 648
],
"__typename": [
1
@@ -15113,19 +15166,19 @@ export default {
26
],
"applicationId": [
- 519
+ 522
],
"createdAt": [
- 207
+ 208
],
"deletedAt": [
- 207
+ 208
],
"fieldMetadataId": [
- 519
+ 522
],
"id": [
- 519
+ 522
],
"isActive": [
4
@@ -15146,19 +15199,19 @@ export default {
6
],
"universalIdentifier": [
- 519
+ 522
],
"updatedAt": [
- 207
+ 208
],
"viewFieldGroupId": [
- 519
+ 522
],
"viewId": [
- 519
+ 522
],
"workspaceId": [
- 519
+ 522
],
"__typename": [
1
@@ -15166,13 +15219,13 @@ export default {
},
"ViewFieldGroup": {
"createdAt": [
- 207
+ 208
],
"deletedAt": [
- 207
+ 208
],
"id": [
- 519
+ 522
],
"isActive": [
4
@@ -15190,16 +15243,16 @@ export default {
6
],
"updatedAt": [
- 207
+ 208
],
"viewFields": [
- 630
+ 633
],
"viewId": [
- 519
+ 522
],
"workspaceId": [
- 519
+ 522
],
"__typename": [
1
@@ -15207,43 +15260,43 @@ export default {
},
"ViewFilter": {
"createdAt": [
- 207
+ 208
],
"deletedAt": [
- 207
+ 208
],
"fieldMetadataId": [
- 519
+ 522
],
"id": [
- 519
+ 522
],
"operand": [
- 635
+ 638
],
"positionInViewFilterGroup": [
6
],
"relationTargetFieldMetadataId": [
- 519
+ 522
],
"subFieldName": [
1
],
"updatedAt": [
- 207
+ 208
],
"value": [
- 309
+ 310
],
"viewFilterGroupId": [
- 519
+ 522
],
"viewId": [
- 519
+ 522
],
"workspaceId": [
- 519
+ 522
],
"__typename": [
1
@@ -15251,31 +15304,31 @@ export default {
},
"ViewFilterGroup": {
"createdAt": [
- 207
+ 208
],
"deletedAt": [
- 207
+ 208
],
"id": [
- 519
+ 522
],
"logicalOperator": [
- 634
+ 637
],
"parentViewFilterGroupId": [
- 519
+ 522
],
"positionInViewFilterGroup": [
6
],
"updatedAt": [
- 207
+ 208
],
"viewId": [
- 519
+ 522
],
"workspaceId": [
- 519
+ 522
],
"__typename": [
1
@@ -15285,16 +15338,16 @@ export default {
"ViewFilterOperand": {},
"ViewGroup": {
"createdAt": [
- 207
+ 208
],
"deletedAt": [
- 207
+ 208
],
"fieldValue": [
1
],
"id": [
- 519
+ 522
],
"isVisible": [
4
@@ -15303,13 +15356,13 @@ export default {
6
],
"updatedAt": [
- 207
+ 208
],
"viewId": [
- 519
+ 522
],
"workspaceId": [
- 519
+ 522
],
"__typename": [
1
@@ -15319,31 +15372,31 @@ export default {
"ViewOpenRecordIn": {},
"ViewSort": {
"createdAt": [
- 207
+ 208
],
"deletedAt": [
- 207
+ 208
],
"direction": [
- 640
+ 643
],
"fieldMetadataId": [
- 519
+ 522
],
"id": [
- 519
+ 522
],
"subFieldName": [
1
],
"updatedAt": [
- 207
+ 208
],
"viewId": [
- 519
+ 522
],
"workspaceId": [
- 519
+ 522
],
"__typename": [
1
@@ -15354,19 +15407,19 @@ export default {
"ViewVisibility": {},
"Webhook": {
"applicationId": [
- 519
+ 522
],
"createdAt": [
- 207
+ 208
],
"deletedAt": [
- 207
+ 208
],
"description": [
1
],
"id": [
- 519
+ 522
],
"operations": [
1
@@ -15378,7 +15431,7 @@ export default {
1
],
"updatedAt": [
- 207
+ 208
],
"__typename": [
1
@@ -15389,88 +15442,88 @@ export default {
25
],
"on_BarChartConfiguration": [
- 90
+ 91
],
"on_CalendarConfiguration": [
- 130
+ 131
],
"on_CallRecordingSummaryConfiguration": [
- 131
+ 132
],
"on_CallRecordingTranscriptConfiguration": [
- 132
+ 133
],
"on_ChatConfiguration": [
- 140
+ 141
],
"on_ChatThreadsConfiguration": [
- 143
+ 144
],
"on_EmailThreadConfiguration": [
- 236
+ 237
],
"on_EmailsConfiguration": [
- 240
+ 241
],
"on_FieldConfiguration": [
- 263
+ 264
],
"on_FieldRichTextConfiguration": [
- 271
+ 272
],
"on_FieldsConfiguration": [
- 272
+ 273
],
"on_FilesConfiguration": [
- 278
+ 279
],
"on_FormFieldConfiguration": [
- 281
+ 282
],
"on_FrontComponentConfiguration": [
- 283
+ 284
],
"on_IframeConfiguration": [
- 293
+ 294
],
"on_LineChartConfiguration": [
- 313
+ 314
],
"on_MessageCampaignBodyConfiguration": [
- 335
+ 337
],
"on_MessageCampaignDetailsConfiguration": [
- 336
+ 338
],
"on_NotesConfiguration": [
- 369
+ 371
],
"on_PieChartConfiguration": [
- 404
+ 406
],
"on_RecordTableConfiguration": [
- 434
+ 436
],
"on_StandaloneRichTextConfiguration": [
- 487
+ 489
],
"on_TasksConfiguration": [
- 496
+ 499
],
"on_TimelineConfiguration": [
- 500
+ 503
],
"on_ViewConfiguration": [
- 629
+ 632
],
"on_WorkflowConfiguration": [
- 647
+ 650
],
"on_WorkflowRunConfiguration": [
- 648
+ 651
],
"on_WorkflowVersionConfiguration": [
- 649
+ 652
],
"__typename": [
1
@@ -15480,7 +15533,7 @@ export default {
"WidgetType": {},
"WorkflowConfiguration": {
"configurationType": [
- 645
+ 648
],
"__typename": [
1
@@ -15488,7 +15541,7 @@ export default {
},
"WorkflowRunConfiguration": {
"configurationType": [
- 645
+ 648
],
"__typename": [
1
@@ -15496,7 +15549,7 @@ export default {
},
"WorkflowVersionConfiguration": {
"configurationType": [
- 645
+ 648
],
"__typename": [
1
@@ -15504,7 +15557,7 @@ export default {
},
"Workspace": {
"activationStatus": [
- 651
+ 654
],
"aiAdditionalInstructions": [
1
@@ -15519,7 +15572,7 @@ export default {
1
],
"aiModelIdByTier": [
- 309
+ 310
],
"allowImpersonation": [
4
@@ -15528,19 +15581,19 @@ export default {
1
],
"billingCustomer": [
- 98
+ 99
],
"billingEntitlements": [
- 100
+ 101
],
"billingSubscriptions": [
- 116
+ 117
],
"createdAt": [
- 207
+ 208
],
"currentBillingSubscription": [
- 116
+ 117
],
"customDomain": [
1
@@ -15549,10 +15602,10 @@ export default {
1
],
"defaultRole": [
- 443
+ 445
],
"deletedAt": [
- 207
+ 208
],
"displayName": [
1
@@ -15564,7 +15617,7 @@ export default {
6
],
"featureFlags": [
- 260
+ 261
],
"hasValidEnterpriseValidityToken": [
4
@@ -15573,10 +15626,10 @@ export default {
4
],
"id": [
- 519
+ 522
],
"installedApplications": [
- 44
+ 45
],
"inviteHash": [
1
@@ -15627,7 +15680,7 @@ export default {
1
],
"logoFileId": [
- 519
+ 522
],
"metadataVersion": [
6
@@ -15639,40 +15692,40 @@ export default {
6
],
"updatedAt": [
- 207
+ 208
],
"viewFields": [
- 630
+ 633
],
"viewFilterGroups": [
- 633
+ 636
],
"viewFilters": [
- 632
+ 635
],
"viewGroups": [
- 636
+ 639
],
"viewSorts": [
- 639
+ 642
],
"views": [
- 627
+ 630
],
"workspaceCustomApplication": [
- 44
+ 45
],
"workspaceCustomApplicationId": [
1
],
"workspaceDiscoverability": [
- 656
+ 659
],
"workspaceMembersCount": [
6
],
"workspaceUrls": [
- 668
+ 671
],
"__typename": [
1
@@ -15696,19 +15749,19 @@ export default {
"WorkspaceCompanyEnrichmentOutcome": {},
"WorkspaceCompanyEnrichmentResult": {
"enrichment": [
- 309
+ 310
],
"isBookCallOnboardingStepPending": [
4
],
"outcome": [
- 653
+ 656
],
"personEnrichment": [
- 309
+ 310
],
"personOutcome": [
- 666
+ 669
],
"__typename": [
1
@@ -15731,13 +15784,13 @@ export default {
1
],
"expiresAt": [
- 207
+ 208
],
"id": [
- 519
+ 522
],
"roleId": [
- 519
+ 522
],
"__typename": [
1
@@ -15762,28 +15815,28 @@ export default {
1
],
"dateFormat": [
- 661
+ 664
],
"id": [
- 519
+ 522
],
"locale": [
1
],
"name": [
- 285
+ 286
],
"numberFormat": [
- 662
+ 665
],
"openRecordIn": [
- 389
+ 391
],
"roles": [
- 443
+ 445
],
"timeFormat": [
- 663
+ 666
],
"timeZone": [
1
@@ -15795,10 +15848,10 @@ export default {
1
],
"userId": [
- 519
+ 522
],
"userWorkspaceId": [
- 519
+ 522
],
"__typename": [
1
@@ -15806,13 +15859,13 @@ export default {
},
"WorkspaceMemberApplicationVariables": {
"userWorkspaceId": [
- 519
+ 522
],
"variables": [
- 616
+ 619
],
"workspaceMemberId": [
- 519
+ 522
],
"__typename": [
1
@@ -15823,7 +15876,7 @@ export default {
"WorkspaceMemberTimeFormatEnum": {},
"WorkspaceMigration": {
"actions": [
- 309
+ 310
],
"applicationUniversalIdentifier": [
1
@@ -15837,7 +15890,7 @@ export default {
1
],
"id": [
- 519
+ 522
],
"__typename": [
1
@@ -15858,10 +15911,10 @@ export default {
},
"WorkspaceUrlsAndId": {
"id": [
- 519
+ 522
],
"workspaceUrls": [
- 668
+ 671
],
"__typename": [
1
diff --git a/packages/twenty-docs/developers/extend/apps/logic/messaging-channels.mdx b/packages/twenty-docs/developers/extend/apps/logic/messaging-channels.mdx
index 74aff1eaa0a..67328d9bb7e 100644
--- a/packages/twenty-docs/developers/extend/apps/logic/messaging-channels.mdx
+++ b/packages/twenty-docs/developers/extend/apps/logic/messaging-channels.mdx
@@ -280,6 +280,154 @@ Your app only ever sees channels created against its own connections. Channels b
A channel is also only reachable by the person whose connection it speaks through, when that connection is private to them. A run triggered by another member of the workspace cannot see it, change it or ingest into it; a run with nobody behind it — a cron, a webhook, an install hook — acts as the application and reaches every channel the app owns.
+## Folders
+
+Some providers split one account into sub-streams: inboxes in a shared helpdesk, numbers on a WhatsApp account, channels in a Slack workspace. Declare them as **folders** on the channel, the same records Twenty uses for mailbox folders and Gmail labels, and tag each message with the folders it belongs to.
+
+Folders are optional. A channel without folders works exactly as described above.
+
+### Declaring folders on connect
+
+`syncMessageFolders` takes the channel's **full** folder list and makes the stored folders match it, keyed on `externalId`:
+
+- an unknown `externalId` creates a folder
+- a known one is renamed if its `name` changed
+- a stored folder missing from the list is removed, along with its links to messages. The messages themselves stay.
+
+The natural place to call it is the connection provider's `onConnect` hook, right after creating the channel. Here is a complete setup for a helpdesk app, where each inbox becomes a folder:
+
+```ts src/connection-providers/helpdesk-connection.ts
+import { defineConnectionProvider } from 'twenty-sdk/define';
+
+import {
+ HELPDESK_CONNECTION_PROVIDER_UNIVERSAL_IDENTIFIER,
+ HELPDESK_ON_CONNECT_UNIVERSAL_IDENTIFIER,
+} from 'src/constants/universal-identifiers';
+
+export default defineConnectionProvider({
+ universalIdentifier: HELPDESK_CONNECTION_PROVIDER_UNIVERSAL_IDENTIFIER,
+ name: 'helpdesk',
+ displayName: 'Helpdesk',
+ type: 'oauth',
+ oauth: {
+ /* ... */
+ },
+ onConnectLogicFunction: {
+ universalIdentifier: HELPDESK_ON_CONNECT_UNIVERSAL_IDENTIFIER,
+ },
+});
+```
+
+```ts src/logic-functions/helpdesk-on-connect.ts
+import { defineLogicFunction } from 'twenty-sdk/define';
+import {
+ createMessageChannel,
+ enqueueJobs,
+ getConnection,
+ listMessageChannels,
+ syncMessageFolders,
+} from 'twenty-sdk/logic-function';
+import { MessageChannelVisibility } from 'twenty-shared/types';
+
+import {
+ HELPDESK_BACKFILL_FOLDER_UNIVERSAL_IDENTIFIER,
+ HELPDESK_ON_CONNECT_UNIVERSAL_IDENTIFIER,
+} from 'src/constants/universal-identifiers';
+
+export default defineLogicFunction({
+ universalIdentifier: HELPDESK_ON_CONNECT_UNIVERSAL_IDENTIFIER,
+ name: 'helpdesk-on-connect',
+ timeoutSeconds: 60,
+ handler: async ({ connectedAccountId }: { connectedAccountId: string }) => {
+ const connection = await getConnection(connectedAccountId);
+ const inboxes = await fetchHelpdeskInboxes(connection.accessToken);
+
+ const [existingChannel] = await listMessageChannels({ connectedAccountId });
+
+ const channel =
+ existingChannel ??
+ (await createMessageChannel({
+ connectedAccountId,
+ handle: connection.handle,
+ visibility: MessageChannelVisibility.SHARE_EVERYTHING,
+ }));
+
+ const folders = await syncMessageFolders({
+ messageChannelId: channel.id,
+ folders: inboxes.map((inbox) => ({
+ externalId: inbox.id,
+ name: inbox.name,
+ })),
+ });
+
+ const syncedFolders = folders.filter((folder) => folder.isSynced);
+
+ if (syncedFolders.length > 0) {
+ await enqueueJobs({
+ logicFunctionUniversalIdentifier:
+ HELPDESK_BACKFILL_FOLDER_UNIVERSAL_IDENTIFIER,
+ jobs: syncedFolders.map((folder) => ({
+ payload: {
+ messageChannelId: channel.id,
+ folderExternalId: folder.externalId,
+ },
+ })),
+ });
+ }
+ },
+});
+```
+
+A few things this example relies on:
+
+- **One channel per connection.** The hook reuses the connection's channel when it already has one, since `onConnect` is enqueued and may run again. Settings shows the folders of that single channel, so don't split one connection across several channels.
+- **Repeatable sync.** Sending the full list again is safe: unchanged folders are left alone. Call `syncMessageFolders` again whenever the provider's list may have changed, on a cron or on the provider's "inbox created" webhook.
+- **Backfill per folder.** Each synced folder gets its own [background job](/developers/extend/apps/logic/background-jobs), which pages through the provider's history and calls `ingestMessages`.
+
+### Choosing which folders to import
+
+Each folder has an `isSynced` flag. Members turn folders on and off under **Folders** on the connection's page (**Settings → Applications →** your app **→** the connection), which appears once the channel has folders.
+
+A new folder starts synced unless you pass `isSynced: false`. Omitting `isSynced` on a later sync keeps the stored value, so a provider refresh never resets what a member picked. Your app can still set the flag itself by passing it to `syncMessageFolders`.
+
+<Note>
+`isSynced` is **advisory** on app channels: Twenty stores it but does not filter ingestion on it, and nothing backfills a folder when it is turned on. Your app reads it with `listMessageFolders` (filtered by `messageChannelId`, or across all its channels when called without a filter), skips messages from unsynced folders, and backfills a folder when it becomes synced.
+</Note>
+
+```ts
+import { listMessageFolders } from 'twenty-sdk/logic-function';
+
+const folders = await listMessageFolders({ messageChannelId: channel.id });
+
+const syncedInboxIds = new Set(
+ folders.filter((folder) => folder.isSynced).map((folder) => folder.externalId),
+);
+```
+
+### Tagging messages
+
+Pass the folders a message belongs to as `folderExternalIds` when ingesting:
+
+```ts
+import { ingestMessages } from 'twenty-sdk/logic-function';
+
+await ingestMessages({
+ messageChannelId: channel.id,
+ messages: [
+ {
+ externalId: message.id,
+ threadExternalId: conversation.id,
+ text: message.text,
+ receivedAt: new Date(message.createdAt),
+ participants,
+ folderExternalIds: [conversation.inboxId],
+ },
+ ],
+});
+```
+
+Every id must belong to a folder already declared on the channel; an unknown one rejects the whole batch. Links add up: re-ingesting a message with another folder adds that folder and keeps the earlier ones, so a conversation moved between inboxes ends up in both.
+
## Retiring a channel
Call `deleteMessageChannel(id)` from the connection provider's `onDisconnect` hook so a channel never outlives the credential it speaks through.
diff --git a/packages/twenty-front/src/generated-metadata/graphql.ts b/packages/twenty-front/src/generated-metadata/graphql.ts
index 726d609a3c3..7d46966ff44 100644
--- a/packages/twenty-front/src/generated-metadata/graphql.ts
+++ b/packages/twenty-front/src/generated-metadata/graphql.ts
@@ -422,8 +422,15 @@ export enum AppKeyValueScope {
WORKSPACE = 'WORKSPACE'
}
+export type AppMessageFolderInput = {
+ externalId: Scalars['String']['input'];
+ isSynced?: InputMaybe<Scalars['Boolean']['input']>;
+ name: Scalars['String']['input'];
+};
+
export type AppMessageInput = {
externalId: Scalars['String']['input'];
+ folderExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
participants: Array<AppMessageParticipantInput>;
receivedAt: Scalars['DateTime']['input'];
subject?: InputMaybe<Scalars['String']['input']>;
@@ -2917,6 +2924,10 @@ export type ListAppMessageChannelsInput = {
connectedAccountId?: InputMaybe<Scalars['UUID']['input']>;
};
+export type ListAppMessageFoldersInput = {
+ messageChannelId?: InputMaybe<Scalars['UUID']['input']>;
+};
+
export type Location = {
__typename?: 'Location';
lat?: Maybe<Scalars['Float']['output']>;
@@ -3542,6 +3553,7 @@ export type Mutation = {
stopImpersonation: StopImpersonation;
switchBillingPlan: BillingUpdate;
switchSubscriptionInterval: BillingUpdate;
+ syncAppMessageFolders: Array<MessageFolder>;
syncApplication: WorkspaceMigration;
syncMarketplaceCatalog: Scalars['Boolean']['output'];
trackAnalytics: Analytics;
@@ -4651,6 +4663,11 @@ export type MutationSwitchBillingPlanArgs = {
};
+export type MutationSyncAppMessageFoldersArgs = {
+ input: SyncAppMessageFoldersInput;
+};
+
+
export type MutationSyncApplicationArgs = {
dryRun?: InputMaybe<Scalars['Boolean']['input']>;
inferDeletionFromMissingEntities?: InputMaybe<Scalars['Boolean']['input']>;
@@ -5639,6 +5656,7 @@ export type Query = {
appConnections: Array<AppConnection>;
appKeyValue?: Maybe<AppKeyValue>;
appMessageChannels: Array<MessageChannel>;
+ appMessageFolders: Array<MessageFolder>;
applicationConnectedAccounts: Array<ApplicationConnectedAccountDto>;
applicationConnectionProviders: Array<ApplicationConnectionProvider>;
applicationCoreGraphqlSchema: Scalars['String']['output'];
@@ -5818,6 +5836,11 @@ export type QueryAppMessageChannelsArgs = {
};
+export type QueryAppMessageFoldersArgs = {
+ filter?: InputMaybe<ListAppMessageFoldersInput>;
+};
+
+
export type QueryApplicationConnectedAccountsArgs = {
applicationId: Scalars['UUID']['input'];
};
@@ -6924,6 +6947,11 @@ export enum SupportDriver {
NONE = 'NONE'
}
+export type SyncAppMessageFoldersInput = {
+ folders: Array<AppMessageFolderInput>;
+ messageChannelId: Scalars['UUID']['input'];
+};
+
export type TasksConfiguration = {
__typename?: 'TasksConfiguration';
configurationType: WidgetConfigurationType;
diff --git a/packages/twenty-front/src/modules/settings/accounts/hooks/useMyMessageChannels.ts b/packages/twenty-front/src/modules/settings/accounts/hooks/useMyMessageChannels.ts
index 063a49e44c0..dbf7b7601f3 100644
--- a/packages/twenty-front/src/modules/settings/accounts/hooks/useMyMessageChannels.ts
+++ b/packages/twenty-front/src/modules/settings/accounts/hooks/useMyMessageChannels.ts
@@ -2,13 +2,14 @@ import { type MessageChannel } from '@/accounts/types/MessageChannel';
import { GET_MY_MESSAGE_CHANNELS } from '@/settings/accounts/graphql/queries/getMyMessageChannels';
import { useApolloClient, useQuery } from '@apollo/client/react';
-export const useMyMessageChannels = () => {
+export const useMyMessageChannels = (connectedAccountId?: string) => {
const apolloClient = useApolloClient();
const { data, loading } = useQuery<{
myMessageChannels: MessageChannel[];
}>(GET_MY_MESSAGE_CHANNELS, {
client: apolloClient,
+ variables: connectedAccountId ? { connectedAccountId } : undefined,
});
return {
diff --git a/packages/twenty-front/src/pages/settings/applications/SettingsApplicationConnectionDetail.tsx b/packages/twenty-front/src/pages/settings/applications/SettingsApplicationConnectionDetail.tsx
index 75f22107498..ea32f33e678 100644
--- a/packages/twenty-front/src/pages/settings/applications/SettingsApplicationConnectionDetail.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/SettingsApplicationConnectionDetail.tsx
@@ -29,6 +29,7 @@ import {
FindOneApplicationDocument,
} from '~/generated-metadata/graphql';
import { useNavigateSettings } from '~/hooks/useNavigateSettings';
+import { SettingsApplicationConnectionMessageFolders } from '~/pages/settings/applications/components/SettingsApplicationConnectionMessageFolders';
import { useFindApplicationConnectionProviders } from '~/pages/settings/applications/hooks/useFindApplicationConnectionProviders';
import {
type ApplicationConnectedAccount,
@@ -344,6 +345,9 @@ export const SettingsApplicationConnectionDetail = () => {
</TableSection>
</Table>
</Section.Root>
+ <SettingsApplicationConnectionMessageFolders
+ connectedAccountId={connection.id}
+ />
<ConfirmationDialog
dialogId={removeDialogId}
title={t`Remove connection?`}
diff --git a/packages/twenty-front/src/pages/settings/applications/__tests__/SettingsApplicationConnectionDetail.test.tsx b/packages/twenty-front/src/pages/settings/applications/__tests__/SettingsApplicationConnectionDetail.test.tsx
index 190457afb75..22d3ce5a193 100644
--- a/packages/twenty-front/src/pages/settings/applications/__tests__/SettingsApplicationConnectionDetail.test.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/__tests__/SettingsApplicationConnectionDetail.test.tsx
@@ -34,6 +34,13 @@ jest.mock(
}),
);
+jest.mock(
+ '~/pages/settings/applications/components/SettingsApplicationConnectionMessageFolders',
+ () => ({
+ SettingsApplicationConnectionMessageFolders: () => null,
+ }),
+);
+
jest.mock('@/settings/applications/hooks/useTriggerAppOAuth', () => ({
useTriggerAppOAuth: jest.fn(() => ({
triggerAppOAuth: mockTriggerAppOAuth,
diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationConnectionMessageFolders.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationConnectionMessageFolders.tsx
new file mode 100644
index 00000000000..bc4e44532e6
--- /dev/null
+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationConnectionMessageFolders.tsx
@@ -0,0 +1,58 @@
+import { useQuery } from '@apollo/client/react';
+import { useLingui } from '@lingui/react/macro';
+import { isDefined, isNonEmptyArray } from 'twenty-shared/utils';
+import { Section } from 'twenty-ui/components/layout';
+
+import { type MessageFolder } from '@/accounts/types/MessageFolder';
+import { SettingsAccountsMessageFoldersCard } from '@/settings/accounts/components/message-folders/SettingsAccountsMessageFoldersCard';
+import { GET_MY_MESSAGE_FOLDERS } from '@/settings/accounts/graphql/queries/getMyMessageFolders';
+import { useMyMessageChannels } from '@/settings/accounts/hooks/useMyMessageChannels';
+import { settingsAccountsSelectedMessageChannelState } from '@/settings/accounts/states/settingsAccountsSelectedMessageChannelState';
+import { SettingsSectionSkeletonLoader } from '@/settings/components/SettingsSectionSkeletonLoader';
+import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';
+import { SettingsAccountsConfigurationSelectedMessageChannelEffect } from '~/pages/settings/accounts/SettingsAccountsConfigurationSelectedMessageChannelEffect';
+
+type SettingsApplicationConnectionMessageFoldersProps = {
+ connectedAccountId: string;
+};
+
+export const SettingsApplicationConnectionMessageFolders = ({
+ connectedAccountId,
+}: SettingsApplicationConnectionMessageFoldersProps) => {
+ const { t } = useLingui();
+ const { channels } = useMyMessageChannels(connectedAccountId);
+ const [messageChannel] = channels;
+
+ const { data } = useQuery<{ myMessageFolders: MessageFolder[] }>(
+ GET_MY_MESSAGE_FOLDERS,
+ {
+ variables: { messageChannelId: messageChannel?.id },
+ skip: !isDefined(messageChannel),
+ },
+ );
+
+ const settingsAccountsSelectedMessageChannel = useAtomStateValue(
+ settingsAccountsSelectedMessageChannelState,
+ );
+
+ if (!isDefined(messageChannel) || !isNonEmptyArray(data?.myMessageFolders)) {
+ return null;
+ }
+
+ return (
+ <Section.Root>
+ <Section.Header
+ title={t`Folders`}
+ description={t`Choose which folders this application imports`}
+ />
+ <SettingsAccountsConfigurationSelectedMessageChannelEffect
+ messageChannel={messageChannel}
+ />
+ {settingsAccountsSelectedMessageChannel?.id === messageChannel.id ? (
+ <SettingsAccountsMessageFoldersCard />
+ ) : (
+ <SettingsSectionSkeletonLoader />
+ )}
+ </Section.Root>
+ );
+};
diff --git a/packages/twenty-front/src/pages/settings/applications/components/__tests__/SettingsApplicationConnectionMessageFolders.test.tsx b/packages/twenty-front/src/pages/settings/applications/components/__tests__/SettingsApplicationConnectionMessageFolders.test.tsx
new file mode 100644
index 00000000000..18cfb989d46
--- /dev/null
+++ b/packages/twenty-front/src/pages/settings/applications/components/__tests__/SettingsApplicationConnectionMessageFolders.test.tsx
@@ -0,0 +1,98 @@
+import { useApolloClient, useQuery } from '@apollo/client/react';
+import { i18n } from '@lingui/core';
+import { I18nProvider } from '@lingui/react';
+import { render, screen } from '@testing-library/react';
+
+import { GET_MY_MESSAGE_CHANNELS } from '@/settings/accounts/graphql/queries/getMyMessageChannels';
+import { GET_MY_MESSAGE_FOLDERS } from '@/settings/accounts/graphql/queries/getMyMessageFolders';
+import { SettingsApplicationConnectionMessageFolders } from '~/pages/settings/applications/components/SettingsApplicationConnectionMessageFolders';
+
+jest.mock('@apollo/client/react', () => ({
+ ...jest.requireActual('@apollo/client/react'),
+ useApolloClient: jest.fn(),
+ useQuery: jest.fn(),
+}));
+
+jest.mock(
+ '@/settings/accounts/components/message-folders/SettingsAccountsMessageFoldersCard',
+ () => ({
+ SettingsAccountsMessageFoldersCard: () => <div>Folder picker</div>,
+ }),
+);
+
+const mockedUseQuery = useQuery as jest.MockedFunction<typeof useQuery>;
+const mockedUseApolloClient = useApolloClient as jest.MockedFunction<
+ typeof useApolloClient
+>;
+
+const FRONT_CHANNEL = {
+ id: 'channel-1',
+ connectedAccountId: 'account-1',
+ type: 'APP',
+};
+
+const SUPPORT_FOLDER = {
+ id: 'folder-1',
+ name: 'Support',
+ isSynced: true,
+ messageChannelId: 'channel-1',
+};
+
+const mockQueries = ({
+ channels,
+ folders,
+}: {
+ channels: (typeof FRONT_CHANNEL)[];
+ folders: (typeof SUPPORT_FOLDER)[];
+}) => {
+ mockedUseQuery.mockImplementation(((query: unknown) => {
+ if (query === GET_MY_MESSAGE_CHANNELS) {
+ return { data: { myMessageChannels: channels }, loading: false };
+ }
+
+ if (query === GET_MY_MESSAGE_FOLDERS) {
+ return { data: { myMessageFolders: folders }, loading: false };
+ }
+
+ return { data: undefined, loading: false };
+ }) as never);
+};
+
+const renderFolders = () =>
+ render(
+ <I18nProvider i18n={i18n}>
+ <SettingsApplicationConnectionMessageFolders connectedAccountId="account-1" />
+ </I18nProvider>,
+ );
+
+describe('SettingsApplicationConnectionMessageFolders', () => {
+ beforeEach(() => {
+ jest.clearAllMocks();
+ mockedUseApolloClient.mockReturnValue({} as never);
+ });
+
+ it("lets members pick the folders of the connection's channel", async () => {
+ mockQueries({ channels: [FRONT_CHANNEL], folders: [SUPPORT_FOLDER] });
+
+ renderFolders();
+
+ expect(screen.getByText('Folders')).toBeInTheDocument();
+ expect(await screen.findByText('Folder picker')).toBeInTheDocument();
+ });
+
+ it('renders nothing for a channel without folders', () => {
+ mockQueries({ channels: [FRONT_CHANNEL], folders: [] });
+
+ renderFolders();
+
+ expect(screen.queryByText('Folders')).not.toBeInTheDocument();
+ });
+
+ it('renders nothing for a connection without a channel', () => {
+ mockQueries({ channels: [], folders: [] });
+
+ renderFolders();
+
+ expect(screen.queryByText('Folders')).not.toBeInTheDocument();
+ });
+});
diff --git a/packages/twenty-sdk/src/sdk/logic-function/index.ts b/packages/twenty-sdk/src/sdk/logic-function/index.ts
index 270810f3603..c19b835cbe8 100644
--- a/packages/twenty-sdk/src/sdk/logic-function/index.ts
+++ b/packages/twenty-sdk/src/sdk/logic-function/index.ts
@@ -75,6 +75,11 @@ export type {
IngestMessageParticipant,
} from '@/sdk/logic-function/messaging/types/ingest-message.type';
export type { AppMessageChannel } from '@/sdk/logic-function/messaging/types/app-message-channel.type';
+export { listMessageFolders } from '@/sdk/logic-function/messaging/list-message-folders';
+export type { ListMessageFoldersFilter } from '@/sdk/logic-function/messaging/list-message-folders';
+export { syncMessageFolders } from '@/sdk/logic-function/messaging/sync-message-folders';
+export type { SyncMessageFoldersInput } from '@/sdk/logic-function/messaging/sync-message-folders';
+export type { AppMessageFolder } from '@/sdk/logic-function/messaging/types/app-message-folder.type';
export { runAgent } from '@/sdk/logic-function/agents/run-agent';
export type { RunAgentInput, RunAgentResult } from 'twenty-shared/application';
diff --git a/packages/twenty-sdk/src/sdk/logic-function/messaging/list-message-folders.ts b/packages/twenty-sdk/src/sdk/logic-function/messaging/list-message-folders.ts
new file mode 100644
index 00000000000..908f81e4ac7
--- /dev/null
+++ b/packages/twenty-sdk/src/sdk/logic-function/messaging/list-message-folders.ts
@@ -0,0 +1,30 @@
+import { APP_MESSAGE_FOLDER_SELECTION } from '@/sdk/logic-function/messaging/message-folder-fields.constant';
+import { type AppMessageFolder } from '@/sdk/logic-function/messaging/types/app-message-folder.type';
+import { postGraphqlRequest } from '@/sdk/logic-function/utils/post-graphql-request.util';
+
+const LIST_APP_MESSAGE_FOLDERS_QUERY = `
+ query ListAppMessageFolders($filter: ListAppMessageFoldersInput) {
+ appMessageFolders(filter: $filter) {
+ ${APP_MESSAGE_FOLDER_SELECTION}
+ }
+ }
+`;
+
+export type ListMessageFoldersFilter = {
+ messageChannelId?: string;
+};
+
+export const listMessageFolders = async (
+ filter: ListMessageFoldersFilter = {},
+): Promise<AppMessageFolder[]> => {
+ const { appMessageFolders } = await postGraphqlRequest<
+ { filter: ListMessageFoldersFilter },
+ { appMessageFolders: AppMessageFolder[] }
+ >({
+ query: LIST_APP_MESSAGE_FOLDERS_QUERY,
+ variables: { filter },
+ caller: 'listMessageFolders',
+ });
+
+ return appMessageFolders;
+};
diff --git a/packages/twenty-sdk/src/sdk/logic-function/messaging/message-folder-fields.constant.ts b/packages/twenty-sdk/src/sdk/logic-function/messaging/message-folder-fields.constant.ts
new file mode 100644
index 00000000000..a906d8107d5
--- /dev/null
+++ b/packages/twenty-sdk/src/sdk/logic-function/messaging/message-folder-fields.constant.ts
@@ -0,0 +1,7 @@
+export const APP_MESSAGE_FOLDER_SELECTION = `
+ id
+ externalId
+ name
+ isSynced
+ messageChannelId
+`;
diff --git a/packages/twenty-sdk/src/sdk/logic-function/messaging/sync-message-folders.ts b/packages/twenty-sdk/src/sdk/logic-function/messaging/sync-message-folders.ts
new file mode 100644
index 00000000000..3aa4d788762
--- /dev/null
+++ b/packages/twenty-sdk/src/sdk/logic-function/messaging/sync-message-folders.ts
@@ -0,0 +1,35 @@
+import { APP_MESSAGE_FOLDER_SELECTION } from '@/sdk/logic-function/messaging/message-folder-fields.constant';
+import { type AppMessageFolder } from '@/sdk/logic-function/messaging/types/app-message-folder.type';
+import { postGraphqlRequest } from '@/sdk/logic-function/utils/post-graphql-request.util';
+
+const SYNC_APP_MESSAGE_FOLDERS_MUTATION = `
+ mutation SyncAppMessageFolders($input: SyncAppMessageFoldersInput!) {
+ syncAppMessageFolders(input: $input) {
+ ${APP_MESSAGE_FOLDER_SELECTION}
+ }
+ }
+`;
+
+export type SyncMessageFoldersInput = {
+ messageChannelId: string;
+ folders: {
+ externalId: string;
+ name: string;
+ isSynced?: boolean;
+ }[];
+};
+
+export const syncMessageFolders = async (
+ input: SyncMessageFoldersInput,
+): Promise<AppMessageFolder[]> => {
+ const { syncAppMessageFolders } = await postGraphqlRequest<
+ { input: SyncMessageFoldersInput },
+ { syncAppMessageFolders: AppMessageFolder[] }
+ >({
+ query: SYNC_APP_MESSAGE_FOLDERS_MUTATION,
+ variables: { input },
+ caller: 'syncMessageFolders',
+ });
+
+ return syncAppMessageFolders;
+};
diff --git a/packages/twenty-sdk/src/sdk/logic-function/messaging/types/app-message-folder.type.ts b/packages/twenty-sdk/src/sdk/logic-function/messaging/types/app-message-folder.type.ts
new file mode 100644
index 00000000000..77a586b3d8f
--- /dev/null
+++ b/packages/twenty-sdk/src/sdk/logic-function/messaging/types/app-message-folder.type.ts
@@ -0,0 +1 @@
+export type { AppMessageFolder } from 'twenty-shared/application';
diff --git a/packages/twenty-sdk/src/sdk/logic-function/messaging/types/ingest-message.type.ts b/packages/twenty-sdk/src/sdk/logic-function/messaging/types/ingest-message.type.ts
index 021c67619f4..2004402219d 100644
--- a/packages/twenty-sdk/src/sdk/logic-function/messaging/types/ingest-message.type.ts
+++ b/packages/twenty-sdk/src/sdk/logic-function/messaging/types/ingest-message.type.ts
@@ -23,6 +23,7 @@ export type IngestMessage = {
text: string;
receivedAt: Date;
participants: IngestMessageParticipant[];
+ folderExternalIds?: string[];
};
export type IngestedMessage = {
diff --git a/packages/twenty-server/src/engine/metadata-modules/message-channel/constants/app-ingestion-lock-options.constant.ts b/packages/twenty-server/src/engine/metadata-modules/message-channel/constants/app-ingestion-lock-options.constant.ts
new file mode 100644
index 00000000000..f5958f6fac1
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/message-channel/constants/app-ingestion-lock-options.constant.ts
@@ -0,0 +1,11 @@
+const APP_INGESTION_LOCK_TTL_MS = 60_000;
+const APP_INGESTION_LOCK_RETRY_INTERVAL_MS = 500;
+
+export const APP_INGESTION_LOCK_OPTIONS = {
+ ttl: APP_INGESTION_LOCK_TTL_MS,
+ ms: APP_INGESTION_LOCK_RETRY_INTERVAL_MS,
+ maxRetries:
+ Math.ceil(
+ APP_INGESTION_LOCK_TTL_MS / APP_INGESTION_LOCK_RETRY_INTERVAL_MS,
+ ) + 10,
+};
diff --git a/packages/twenty-server/src/engine/metadata-modules/message-channel/dtos/ingest-app-messages.input.ts b/packages/twenty-server/src/engine/metadata-modules/message-channel/dtos/ingest-app-messages.input.ts
index 7e641341527..43e3d5e2bd8 100644
--- a/packages/twenty-server/src/engine/metadata-modules/message-channel/dtos/ingest-app-messages.input.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/message-channel/dtos/ingest-app-messages.input.ts
@@ -27,6 +27,8 @@ export const INGEST_APP_MESSAGES_MAX_BATCH_SIZE = 100;
// above a long plain-text message, well below what would strain a full batch's transaction
export const MAX_APP_MESSAGE_TEXT_LENGTH = 262_144;
+export const MAX_APP_MESSAGE_FOLDERS_PER_MESSAGE = 32;
+
@InputType('AppMessageParticipantInput')
export class AppMessageParticipantInput {
@Field(() => MessageParticipantRole)
@@ -99,6 +101,15 @@ export class AppMessageInput {
@ValidateNested({ each: true })
@Type(() => AppMessageParticipantInput)
participants: AppMessageParticipantInput[];
+
+ @Field(() => [String], { nullable: true })
+ @IsOptional()
+ @IsArray()
+ @ArrayMaxSize(MAX_APP_MESSAGE_FOLDERS_PER_MESSAGE)
+ @IsString({ each: true })
+ @IsNotEmpty({ each: true })
+ @MaxLength(512, { each: true })
+ folderExternalIds?: string[];
}
@InputType('IngestAppMessagesInput')
diff --git a/packages/twenty-server/src/engine/metadata-modules/message-channel/dtos/list-app-message-folders.input.ts b/packages/twenty-server/src/engine/metadata-modules/message-channel/dtos/list-app-message-folders.input.ts
new file mode 100644
index 00000000000..e3702ab5fe9
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/message-channel/dtos/list-app-message-folders.input.ts
@@ -0,0 +1,13 @@
+import { Field, InputType } from '@nestjs/graphql';
+
+import { IsOptional, IsUUID } from 'class-validator';
+
+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';
+
+@InputType('ListAppMessageFoldersInput')
+export class ListAppMessageFoldersInput {
+ @Field(() => UUIDScalarType, { nullable: true })
+ @IsOptional()
+ @IsUUID()
+ messageChannelId?: string;
+}
diff --git a/packages/twenty-server/src/engine/metadata-modules/message-channel/dtos/sync-app-message-folders.input.ts b/packages/twenty-server/src/engine/metadata-modules/message-channel/dtos/sync-app-message-folders.input.ts
new file mode 100644
index 00000000000..053f913b36c
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/message-channel/dtos/sync-app-message-folders.input.ts
@@ -0,0 +1,53 @@
+import { Field, InputType } from '@nestjs/graphql';
+
+import { Type } from 'class-transformer';
+import {
+ ArrayMaxSize,
+ IsArray,
+ IsBoolean,
+ IsNotEmpty,
+ IsOptional,
+ IsString,
+ IsUUID,
+ MaxLength,
+ ValidateNested,
+} from 'class-validator';
+
+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';
+
+export const SYNC_APP_MESSAGE_FOLDERS_MAX_FOLDERS = 1_000;
+
+@InputType('AppMessageFolderInput')
+export class AppMessageFolderInput {
+ @Field()
+ @IsString()
+ @IsNotEmpty()
+ @MaxLength(512)
+ externalId: string;
+
+ @Field()
+ @IsString()
+ @IsNotEmpty()
+ @MaxLength(255)
+ name: string;
+
+ @Field({ nullable: true })
+ @IsOptional()
+ @IsBoolean()
+ isSynced?: boolean;
+}
+
+@InputType('SyncAppMessageFoldersInput')
+export class SyncAppMessageFoldersInput {
+ @Field(() => UUIDScalarType)
+ @IsUUID()
+ @IsNotEmpty()
+ messageChannelId: string;
+
+ @Field(() => [AppMessageFolderInput])
+ @IsArray()
+ @ArrayMaxSize(SYNC_APP_MESSAGE_FOLDERS_MAX_FOLDERS)
+ @ValidateNested({ each: true })
+ @Type(() => AppMessageFolderInput)
+ folders: AppMessageFolderInput[];
+}
diff --git a/packages/twenty-server/src/engine/metadata-modules/message-channel/message-channel-metadata.module.ts b/packages/twenty-server/src/engine/metadata-modules/message-channel/message-channel-metadata.module.ts
index a0cb6ce7ad1..0107cbaf6aa 100644
--- a/packages/twenty-server/src/engine/metadata-modules/message-channel/message-channel-metadata.module.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/message-channel/message-channel-metadata.module.ts
@@ -8,10 +8,12 @@ import { ConnectedAccountEntity } from 'src/engine/metadata-modules/connected-ac
import { MessageChannelEntity } from 'src/engine/metadata-modules/message-channel/entities/message-channel.entity';
import { MessageChannelMetadataService } from 'src/engine/metadata-modules/message-channel/message-channel-metadata.service';
import { ApplicationMessageChannelsResolver } from 'src/engine/metadata-modules/message-channel/resolvers/application-message-channels.resolver';
+import { ApplicationMessageFoldersResolver } from 'src/engine/metadata-modules/message-channel/resolvers/application-message-folders.resolver';
import { ApplicationMessageIngestionResolver } from 'src/engine/metadata-modules/message-channel/resolvers/application-message-ingestion.resolver';
import { ApplicationMessageSendResolver } from 'src/engine/metadata-modules/message-channel/resolvers/application-message-send.resolver';
import { MessageChannelResolver } from 'src/engine/metadata-modules/message-channel/resolvers/message-channel.resolver';
import { ApplicationMessageChannelsService } from 'src/engine/metadata-modules/message-channel/services/application-message-channels.service';
+import { ApplicationMessageFoldersService } from 'src/engine/metadata-modules/message-channel/services/application-message-folders.service';
import { ApplicationMessageIngestionService } from 'src/engine/metadata-modules/message-channel/services/application-message-ingestion.service';
import { ApplicationMessageSendService } from 'src/engine/metadata-modules/message-channel/services/application-message-send.service';
import { MessageFolderEntity } from 'src/engine/metadata-modules/message-folder/entities/message-folder.entity';
@@ -45,6 +47,8 @@ import { WorkspaceCacheModule } from 'src/engine/workspace-cache/workspace-cache
MessageChannelResolver,
ApplicationMessageChannelsService,
ApplicationMessageChannelsResolver,
+ ApplicationMessageFoldersService,
+ ApplicationMessageFoldersResolver,
ApplicationMessageIngestionService,
ApplicationMessageIngestionResolver,
ApplicationMessageSendService,
diff --git a/packages/twenty-server/src/engine/metadata-modules/message-channel/resolvers/application-message-folders.resolver.ts b/packages/twenty-server/src/engine/metadata-modules/message-channel/resolvers/application-message-folders.resolver.ts
new file mode 100644
index 00000000000..8f5815fa609
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/message-channel/resolvers/application-message-folders.resolver.ts
@@ -0,0 +1,75 @@
+import {
+ UseGuards,
+ UseInterceptors,
+ UsePipes,
+ UseFilters,
+} from '@nestjs/common';
+import { Args, Mutation, Query } from '@nestjs/graphql';
+
+import { MetadataResolver } from 'src/engine/api/graphql/graphql-config/decorators/metadata-resolver.decorator';
+import { type FlatApplication } from 'src/engine/core-modules/application/types/flat-application.type';
+import { AuthGraphqlApiExceptionFilter } from 'src/engine/core-modules/auth/filters/auth-graphql-api-exception.filter';
+import { ResolverValidationPipe } from 'src/engine/core-modules/graphql/pipes/resolver-validation.pipe';
+import { type FlatWorkspace } from 'src/engine/core-modules/workspace/types/flat-workspace.type';
+import { AuthApplication } from 'src/engine/decorators/auth/auth-application.decorator';
+import { AuthUserWorkspaceId } from 'src/engine/decorators/auth/auth-user-workspace-id.decorator';
+import { AuthWorkspace } from 'src/engine/decorators/auth/auth-workspace.decorator';
+import { AuthPrincipalGuard } from 'src/engine/guards/auth-principal.guard';
+import { NoPermissionGuard } from 'src/engine/guards/no-permission.guard';
+import { ListAppMessageFoldersInput } from 'src/engine/metadata-modules/message-channel/dtos/list-app-message-folders.input';
+import { SyncAppMessageFoldersInput } from 'src/engine/metadata-modules/message-channel/dtos/sync-app-message-folders.input';
+import { MessageChannelGraphqlApiExceptionInterceptor } from 'src/engine/metadata-modules/message-channel/interceptors/message-channel-graphql-api-exception.interceptor';
+import { ApplicationMessageFoldersService } from 'src/engine/metadata-modules/message-channel/services/application-message-folders.service';
+import { MessageFolderDTO } from 'src/engine/metadata-modules/message-folder/dtos/message-folder.dto';
+
+@UseGuards(
+ AuthPrincipalGuard({
+ userSession: false,
+ apiKey: false,
+ oauthClient: false,
+ application: true,
+ }),
+ NoPermissionGuard,
+)
+@UseInterceptors(MessageChannelGraphqlApiExceptionInterceptor)
+@UsePipes(ResolverValidationPipe)
+@MetadataResolver()
+@UseFilters(AuthGraphqlApiExceptionFilter)
+export class ApplicationMessageFoldersResolver {
+ constructor(
+ private readonly applicationMessageFoldersService: ApplicationMessageFoldersService,
+ ) {}
+
+ @Query(() => [MessageFolderDTO])
+ async appMessageFolders(
+ @AuthApplication() application: FlatApplication,
+ @AuthWorkspace() workspace: FlatWorkspace,
+ @AuthUserWorkspaceId({ allowUndefined: true })
+ userWorkspaceId: string | undefined,
+ @Args('filter', { nullable: true }) filter?: ListAppMessageFoldersInput,
+ ): Promise<MessageFolderDTO[]> {
+ return this.applicationMessageFoldersService.list({
+ applicationId: application.id,
+ workspaceId: workspace.id,
+ requestUserWorkspaceId: userWorkspaceId ?? null,
+ messageChannelId: filter?.messageChannelId,
+ });
+ }
+
+ @Mutation(() => [MessageFolderDTO])
+ async syncAppMessageFolders(
+ @AuthApplication() application: FlatApplication,
+ @AuthWorkspace() workspace: FlatWorkspace,
+ @AuthUserWorkspaceId({ allowUndefined: true })
+ userWorkspaceId: string | undefined,
+ @Args('input') input: SyncAppMessageFoldersInput,
+ ): Promise<MessageFolderDTO[]> {
+ return this.applicationMessageFoldersService.sync({
+ applicationId: application.id,
+ workspaceId: workspace.id,
+ requestUserWorkspaceId: userWorkspaceId ?? null,
+ messageChannelId: input.messageChannelId,
+ folders: input.folders,
+ });
+ }
+}
diff --git a/packages/twenty-server/src/engine/metadata-modules/message-channel/services/application-message-folders.service.ts b/packages/twenty-server/src/engine/metadata-modules/message-channel/services/application-message-folders.service.ts
new file mode 100644
index 00000000000..07d81e12507
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/message-channel/services/application-message-folders.service.ts
@@ -0,0 +1,212 @@
+import { Injectable } from '@nestjs/common';
+
+import { MessageFolderPendingSyncAction } from 'twenty-shared/types';
+import { isDefined, isNonEmptyArray } from 'twenty-shared/utils';
+import { In } from 'typeorm';
+
+import { CacheLockService } from 'src/engine/core-modules/cache-lock/cache-lock.service';
+import { APP_INGESTION_LOCK_OPTIONS } from 'src/engine/metadata-modules/message-channel/constants/app-ingestion-lock-options.constant';
+import { type AppMessageFolderInput } from 'src/engine/metadata-modules/message-channel/dtos/sync-app-message-folders.input';
+import {
+ MessageChannelException,
+ MessageChannelExceptionCode,
+} from 'src/engine/metadata-modules/message-channel/message-channel.exception';
+import { ApplicationMessageChannelsService } from 'src/engine/metadata-modules/message-channel/services/application-message-channels.service';
+import { buildAppIngestionLockKey } from 'src/engine/metadata-modules/message-channel/utils/build-app-ingestion-lock-key.util';
+import { computeAppMessageFolderSyncPlan } from 'src/engine/metadata-modules/message-channel/utils/compute-app-message-folder-sync-plan.util';
+import { type MessageFolderDTO } from 'src/engine/metadata-modules/message-folder/dtos/message-folder.dto';
+import { MessageFolderEntity } from 'src/engine/metadata-modules/message-folder/entities/message-folder.entity';
+import { WorkspaceOrmManager } from 'src/engine/twenty-orm/workspace-orm.manager';
+import { buildSystemAuthContext } from 'src/engine/twenty-orm/utils/build-system-auth-context.util';
+import { InjectWorkspaceScopedRepository } from 'src/engine/twenty-orm/workspace-scoped-repository/inject-workspace-scoped-repository.decorator';
+import { WorkspaceScopedRepository } from 'src/engine/twenty-orm/workspace-scoped-repository/workspace-scoped-repository';
+import { type MessageChannelMessageAssociationMessageFolderWorkspaceEntity } from 'src/modules/messaging/common/standard-objects/message-channel-message-association-message-folder.workspace-entity';
+
+type ApplicationScope = {
+ applicationId: string;
+ workspaceId: string;
+ requestUserWorkspaceId: string | null;
+};
+
+type ChannelScope = ApplicationScope & {
+ messageChannelId: string;
+};
+
+@Injectable()
+export class ApplicationMessageFoldersService {
+ constructor(
+ private readonly applicationMessageChannelsService: ApplicationMessageChannelsService,
+ @InjectWorkspaceScopedRepository(MessageFolderEntity)
+ private readonly messageFolderRepository: WorkspaceScopedRepository<MessageFolderEntity>,
+ private readonly workspaceOrmManager: WorkspaceOrmManager,
+ private readonly cacheLockService: CacheLockService,
+ ) {}
+
+ async list({
+ messageChannelId,
+ ...applicationScope
+ }: ApplicationScope & {
+ messageChannelId?: string;
+ }): Promise<MessageFolderDTO[]> {
+ if (isDefined(messageChannelId)) {
+ await this.findOwnedChannelOrThrow({
+ ...applicationScope,
+ messageChannelId,
+ });
+
+ return this.findFolders({
+ workspaceId: applicationScope.workspaceId,
+ messageChannelIds: [messageChannelId],
+ });
+ }
+
+ const reachableChannels =
+ await this.applicationMessageChannelsService.list(applicationScope);
+
+ return this.findFolders({
+ workspaceId: applicationScope.workspaceId,
+ messageChannelIds: reachableChannels.map((channel) => channel.id),
+ });
+ }
+
+ async sync({
+ folders,
+ ...scope
+ }: ChannelScope & {
+ folders: AppMessageFolderInput[];
+ }): Promise<MessageFolderDTO[]> {
+ await this.findOwnedChannelOrThrow(scope);
+
+ this.assertExternalIdsAreUnique(folders);
+
+ const { workspaceId, messageChannelId } = scope;
+
+ await this.cacheLockService.withLock(
+ () => this.applySync({ workspaceId, messageChannelId, folders }),
+ buildAppIngestionLockKey({ workspaceId, messageChannelId }),
+ APP_INGESTION_LOCK_OPTIONS,
+ );
+
+ return this.findFolders({
+ workspaceId,
+ messageChannelIds: [messageChannelId],
+ });
+ }
+
+ private async applySync({
+ workspaceId,
+ messageChannelId,
+ folders,
+ }: {
+ workspaceId: string;
+ messageChannelId: string;
+ folders: AppMessageFolderInput[];
+ }): Promise<void> {
+ const existingFolders = await this.messageFolderRepository.find(
+ workspaceId,
+ { where: { messageChannelId } },
+ );
+
+ const { foldersToCreate, foldersToUpdate, folderIdsToDelete } =
+ computeAppMessageFolderSyncPlan({
+ existingFolders,
+ requestedFolders: folders,
+ });
+
+ if (foldersToCreate.length > 0) {
+ await this.messageFolderRepository.insert(
+ workspaceId,
+ foldersToCreate.map((folder) => ({
+ messageChannelId,
+ externalId: folder.externalId,
+ name: folder.name,
+ isSynced: folder.isSynced,
+ isSentFolder: false,
+ parentFolderId: null,
+ pendingSyncAction: MessageFolderPendingSyncAction.NONE,
+ })),
+ );
+ }
+
+ for (const { id, update } of foldersToUpdate) {
+ await this.messageFolderRepository.update(workspaceId, { id }, update);
+ }
+
+ if (folderIdsToDelete.length > 0) {
+ await this.deleteFolderMessageLinks({
+ workspaceId,
+ messageFolderIds: folderIdsToDelete,
+ });
+
+ await this.messageFolderRepository.delete(workspaceId, {
+ id: In(folderIdsToDelete),
+ });
+ }
+ }
+
+ private async deleteFolderMessageLinks({
+ workspaceId,
+ messageFolderIds,
+ }: {
+ workspaceId: string;
+ messageFolderIds: string[];
+ }): Promise<void> {
+ await this.workspaceOrmManager.executeInWorkspaceContext(
+ async () => {
+ const messageFolderAssociationRepository =
+ this.workspaceOrmManager.getRepository<MessageChannelMessageAssociationMessageFolderWorkspaceEntity>(
+ 'messageChannelMessageAssociationMessageFolder',
+ { shouldBypassPermissionChecks: true },
+ );
+
+ await messageFolderAssociationRepository.delete({
+ messageFolderId: In(messageFolderIds),
+ });
+ },
+ buildSystemAuthContext(workspaceId),
+ { lite: true },
+ );
+ }
+
+ private async findOwnedChannelOrThrow({
+ messageChannelId,
+ ...applicationScope
+ }: ChannelScope): Promise<void> {
+ await this.applicationMessageChannelsService.findOwnedOrThrow({
+ ...applicationScope,
+ id: messageChannelId,
+ });
+ }
+
+ private async findFolders({
+ workspaceId,
+ messageChannelIds,
+ }: {
+ workspaceId: string;
+ messageChannelIds: string[];
+ }): Promise<MessageFolderDTO[]> {
+ if (!isNonEmptyArray(messageChannelIds)) {
+ return [];
+ }
+
+ return this.messageFolderRepository.find(workspaceId, {
+ where: { messageChannelId: In(messageChannelIds) },
+ order: { name: 'ASC', id: 'ASC' },
+ });
+ }
+
+ private assertExternalIdsAreUnique(folders: AppMessageFolderInput[]): void {
+ const externalIds = new Set<string>();
+
+ for (const folder of folders) {
+ if (externalIds.has(folder.externalId)) {
+ throw new MessageChannelException(
+ `Folder externalId ${folder.externalId} appears more than once`,
+ MessageChannelExceptionCode.INVALID_MESSAGE_CHANNEL_INPUT,
+ );
+ }
+
+ externalIds.add(folder.externalId);
+ }
+ }
+}
diff --git a/packages/twenty-server/src/engine/metadata-modules/message-channel/services/application-message-ingestion.service.ts b/packages/twenty-server/src/engine/metadata-modules/message-channel/services/application-message-ingestion.service.ts
index 07a38abfae5..ed62736e8eb 100644
--- a/packages/twenty-server/src/engine/metadata-modules/message-channel/services/application-message-ingestion.service.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/message-channel/services/application-message-ingestion.service.ts
@@ -5,6 +5,7 @@ import { isDefined } from 'twenty-shared/utils';
import { In } from 'typeorm';
import { CacheLockService } from 'src/engine/core-modules/cache-lock/cache-lock.service';
+import { APP_INGESTION_LOCK_OPTIONS } from 'src/engine/metadata-modules/message-channel/constants/app-ingestion-lock-options.constant';
import { type MessageChannelEntity } from 'src/engine/metadata-modules/message-channel/entities/message-channel.entity';
import { type AppMessageInput } from 'src/engine/metadata-modules/message-channel/dtos/ingest-app-messages.input';
import { type IngestAppMessagesOutput } from 'src/engine/metadata-modules/message-channel/dtos/ingest-app-messages.output';
@@ -17,25 +18,16 @@ import { buildAppIngestionLockKey } from 'src/engine/metadata-modules/message-ch
import { buildAppMessageHeaderMessageId } from 'src/engine/metadata-modules/message-channel/utils/build-app-message-header-message-id.util';
import { resolveAppMessageDirection } from 'src/engine/metadata-modules/message-channel/utils/resolve-app-message-direction.util';
import { withCanonicalParticipantHandlesOrThrow } from 'src/engine/metadata-modules/message-channel/utils/with-canonical-participant-handles-or-throw.util';
+import { MessageFolderEntity } from 'src/engine/metadata-modules/message-folder/entities/message-folder.entity';
import { WorkspaceOrmManager } from 'src/engine/twenty-orm/workspace-orm.manager';
import { buildSystemAuthContext } from 'src/engine/twenty-orm/utils/build-system-auth-context.util';
+import { InjectWorkspaceScopedRepository } from 'src/engine/twenty-orm/workspace-scoped-repository/inject-workspace-scoped-repository.decorator';
+import { WorkspaceScopedRepository } from 'src/engine/twenty-orm/workspace-scoped-repository/workspace-scoped-repository';
import { PersonHandleFieldService } from 'src/modules/match-participant/person-handle-field/person-handle-field.service';
import { type PersonHandleField } from 'src/modules/match-participant/person-handle-field/types/person-handle-field.type';
import { MessagingSaveMessagesAndEnqueueContactCreationService } from 'src/modules/messaging/message-import-manager/services/messaging-save-messages-and-enqueue-contact-creation.service';
import { type MessageWithParticipants } from 'src/modules/messaging/message-import-manager/types/message.type';
-// the lease must outlast a full batch save, or the next delivery gets in and duplicates
-// withLock does not renew, so waiters must outlast the lease left behind by a crashed holder
-const INGESTION_LOCK_TTL_MS = 60_000;
-const INGESTION_LOCK_RETRY_INTERVAL_MS = 500;
-
-const INGESTION_LOCK_OPTIONS = {
- ttl: INGESTION_LOCK_TTL_MS,
- ms: INGESTION_LOCK_RETRY_INTERVAL_MS,
- maxRetries:
- Math.ceil(INGESTION_LOCK_TTL_MS / INGESTION_LOCK_RETRY_INTERVAL_MS) + 10,
-};
-
type IngestArgs = {
applicationId: string;
workspaceId: string;
@@ -53,6 +45,8 @@ export class ApplicationMessageIngestionService {
private readonly workspaceOrmManager: WorkspaceOrmManager,
private readonly cacheLockService: CacheLockService,
private readonly personHandleFieldService: PersonHandleFieldService,
+ @InjectWorkspaceScopedRepository(MessageFolderEntity)
+ private readonly messageFolderRepository: WorkspaceScopedRepository<MessageFolderEntity>,
) {}
async ingest({
@@ -103,9 +97,13 @@ export class ApplicationMessageIngestionService {
// save reads before writing and headerMessageId has no unique index, so concurrent redeliveries would duplicate
// locked per channel, the narrowest scope since dedup never spans channels
const savedMessages = await this.cacheLockService.withLock(
- () =>
+ async () =>
this.saveMessagesService.saveMessagesAndEnqueueContactCreation({
- messagesToSave,
+ messagesToSave: await this.withMessageFolderIdsOrThrow({
+ workspaceId,
+ messageChannelId,
+ messages: messagesToSave,
+ }),
// the save path only reads inert settings and the id off the channel
messageChannel,
connectedAccount,
@@ -113,7 +111,7 @@ export class ApplicationMessageIngestionService {
personHandleField: personHandleField ?? undefined,
}),
buildAppIngestionLockKey({ workspaceId, messageChannelId }),
- INGESTION_LOCK_OPTIONS,
+ APP_INGESTION_LOCK_OPTIONS,
);
if (!isDefined(savedMessages)) {
@@ -173,6 +171,7 @@ export class ApplicationMessageIngestionService {
isDraft: false,
externalId: message.externalId,
messageThreadExternalId: message.threadExternalId,
+ messageFolderExternalIds: [...new Set(message.folderExternalIds ?? [])],
direction: resolveAppMessageDirection({
participants: message.participants,
channelHandle: messageChannel.handle,
@@ -188,6 +187,61 @@ export class ApplicationMessageIngestionService {
};
}
+ private async withMessageFolderIdsOrThrow({
+ workspaceId,
+ messageChannelId,
+ messages,
+ }: {
+ workspaceId: string;
+ messageChannelId: string;
+ messages: MessageWithParticipants[];
+ }): Promise<MessageWithParticipants[]> {
+ const folderExternalIds = [
+ ...new Set(
+ messages.flatMap((message) => message.messageFolderExternalIds ?? []),
+ ),
+ ];
+
+ if (folderExternalIds.length === 0) {
+ return messages;
+ }
+
+ const messageFolders = await this.messageFolderRepository.find(
+ workspaceId,
+ {
+ where: { messageChannelId, externalId: In(folderExternalIds) },
+ select: { id: true, externalId: true },
+ },
+ );
+
+ const messageFolderIdByExternalId = new Map(
+ messageFolders.map((messageFolder) => [
+ messageFolder.externalId,
+ messageFolder.id,
+ ]),
+ );
+
+ const unknownFolderExternalIds = folderExternalIds.filter(
+ (folderExternalId) => !messageFolderIdByExternalId.has(folderExternalId),
+ );
+
+ if (unknownFolderExternalIds.length > 0) {
+ throw new MessageChannelException(
+ `Unknown folder externalId(s) on message channel ${messageChannelId}: ${unknownFolderExternalIds.join(', ')}. Declare them with syncAppMessageFolders first`,
+ MessageChannelExceptionCode.INVALID_MESSAGE_CHANNEL_INPUT,
+ );
+ }
+
+ return messages.map((message) => ({
+ ...message,
+ messageFolderIds: (message.messageFolderExternalIds ?? [])
+ .map((folderExternalId) =>
+ messageFolderIdByExternalId.get(folderExternalId),
+ )
+ .filter(isDefined),
+ }));
+ }
+
// raw handles would mix with the canonical ones already stored and stop matching the channel's own handle
private async findPersonHandleFieldOrThrow({
workspaceId,
diff --git a/packages/twenty-server/src/engine/metadata-modules/message-channel/utils/__tests__/compute-app-message-folder-sync-plan.util.spec.ts b/packages/twenty-server/src/engine/metadata-modules/message-channel/utils/__tests__/compute-app-message-folder-sync-plan.util.spec.ts
new file mode 100644
index 00000000000..9ef512e2071
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/message-channel/utils/__tests__/compute-app-message-folder-sync-plan.util.spec.ts
@@ -0,0 +1,79 @@
+import { computeAppMessageFolderSyncPlan } from 'src/engine/metadata-modules/message-channel/utils/compute-app-message-folder-sync-plan.util';
+
+const SUPPORT_FOLDER = {
+ id: 'folder-support',
+ externalId: 'inb_support',
+ name: 'Support',
+ isSynced: true,
+};
+
+const SALES_FOLDER = {
+ id: 'folder-sales',
+ externalId: 'inb_sales',
+ name: 'Sales',
+ isSynced: false,
+};
+
+describe('computeAppMessageFolderSyncPlan', () => {
+ it('creates unknown folders, synced unless the app says otherwise', () => {
+ const plan = computeAppMessageFolderSyncPlan({
+ existingFolders: [],
+ requestedFolders: [
+ { externalId: 'inb_support', name: 'Support' },
+ { externalId: 'inb_sales', name: 'Sales', isSynced: false },
+ ],
+ });
+
+ expect(plan).toEqual({
+ foldersToCreate: [
+ { externalId: 'inb_support', name: 'Support', isSynced: true },
+ { externalId: 'inb_sales', name: 'Sales', isSynced: false },
+ ],
+ foldersToUpdate: [],
+ folderIdsToDelete: [],
+ });
+ });
+
+ it('keeps the stored isSynced when the app omits it', () => {
+ const plan = computeAppMessageFolderSyncPlan({
+ existingFolders: [SALES_FOLDER],
+ requestedFolders: [{ externalId: 'inb_sales', name: 'Sales' }],
+ });
+
+ expect(plan.foldersToUpdate).toEqual([]);
+ });
+
+ it('renames and toggles existing folders matched on externalId', () => {
+ const plan = computeAppMessageFolderSyncPlan({
+ existingFolders: [SUPPORT_FOLDER, SALES_FOLDER],
+ requestedFolders: [
+ { externalId: 'inb_support', name: 'Customer support' },
+ { externalId: 'inb_sales', name: 'Sales', isSynced: true },
+ ],
+ });
+
+ expect(plan.foldersToUpdate).toEqual([
+ { id: 'folder-support', update: { name: 'Customer support' } },
+ { id: 'folder-sales', update: { isSynced: true } },
+ ]);
+ expect(plan.foldersToCreate).toEqual([]);
+ });
+
+ it('deletes folders missing from the request', () => {
+ const plan = computeAppMessageFolderSyncPlan({
+ existingFolders: [SUPPORT_FOLDER, SALES_FOLDER],
+ requestedFolders: [{ externalId: 'inb_support', name: 'Support' }],
+ });
+
+ expect(plan.folderIdsToDelete).toEqual(['folder-sales']);
+ });
+
+ it('deletes every folder for an empty request', () => {
+ const plan = computeAppMessageFolderSyncPlan({
+ existingFolders: [SUPPORT_FOLDER, SALES_FOLDER],
+ requestedFolders: [],
+ });
+
+ expect(plan.folderIdsToDelete).toEqual(['folder-support', 'folder-sales']);
+ });
+});
diff --git a/packages/twenty-server/src/engine/metadata-modules/message-channel/utils/compute-app-message-folder-sync-plan.util.ts b/packages/twenty-server/src/engine/metadata-modules/message-channel/utils/compute-app-message-folder-sync-plan.util.ts
new file mode 100644
index 00000000000..17bba42caf6
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/message-channel/utils/compute-app-message-folder-sync-plan.util.ts
@@ -0,0 +1,81 @@
+import { isDefined } from 'twenty-shared/utils';
+
+import { type AppMessageFolderInput } from 'src/engine/metadata-modules/message-channel/dtos/sync-app-message-folders.input';
+import { type MessageFolderEntity } from 'src/engine/metadata-modules/message-folder/entities/message-folder.entity';
+
+type ExistingFolder = Pick<
+ MessageFolderEntity,
+ 'id' | 'externalId' | 'name' | 'isSynced'
+>;
+
+export type AppMessageFolderSyncPlan = {
+ foldersToCreate: Required<AppMessageFolderInput>[];
+ foldersToUpdate: {
+ id: string;
+ update: Partial<Pick<MessageFolderEntity, 'name' | 'isSynced'>>;
+ }[];
+ folderIdsToDelete: string[];
+};
+
+export const computeAppMessageFolderSyncPlan = ({
+ existingFolders,
+ requestedFolders,
+}: {
+ existingFolders: ExistingFolder[];
+ requestedFolders: AppMessageFolderInput[];
+}): AppMessageFolderSyncPlan => {
+ const existingFoldersByExternalId = new Map(
+ existingFolders
+ .filter((folder) => isDefined(folder.externalId))
+ .map((folder) => [folder.externalId, folder]),
+ );
+ const requestedExternalIds = new Set(
+ requestedFolders.map((folder) => folder.externalId),
+ );
+
+ const foldersToCreate: AppMessageFolderSyncPlan['foldersToCreate'] = [];
+ const foldersToUpdate: AppMessageFolderSyncPlan['foldersToUpdate'] = [];
+
+ for (const requestedFolder of requestedFolders) {
+ const existingFolder = existingFoldersByExternalId.get(
+ requestedFolder.externalId,
+ );
+
+ if (!isDefined(existingFolder)) {
+ foldersToCreate.push({
+ externalId: requestedFolder.externalId,
+ name: requestedFolder.name,
+ isSynced: requestedFolder.isSynced ?? true,
+ });
+ continue;
+ }
+
+ const update: AppMessageFolderSyncPlan['foldersToUpdate'][number]['update'] =
+ {};
+
+ if (existingFolder.name !== requestedFolder.name) {
+ update.name = requestedFolder.name;
+ }
+
+ if (
+ isDefined(requestedFolder.isSynced) &&
+ existingFolder.isSynced !== requestedFolder.isSynced
+ ) {
+ update.isSynced = requestedFolder.isSynced;
+ }
+
+ if (Object.keys(update).length > 0) {
+ foldersToUpdate.push({ id: existingFolder.id, update });
+ }
+ }
+
+ const folderIdsToDelete = existingFolders
+ .filter(
+ (folder) =>
+ !isDefined(folder.externalId) ||
+ !requestedExternalIds.has(folder.externalId),
+ )
+ .map((folder) => folder.id);
+
+ return { foldersToCreate, foldersToUpdate, folderIdsToDelete };
+};
diff --git a/packages/twenty-server/src/engine/metadata-modules/message-folder/message-folder-metadata.service.ts b/packages/twenty-server/src/engine/metadata-modules/message-folder/message-folder-metadata.service.ts
index 8fbe5a16815..eebb536b21c 100644
--- a/packages/twenty-server/src/engine/metadata-modules/message-folder/message-folder-metadata.service.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/message-folder/message-folder-metadata.service.ts
@@ -121,7 +121,7 @@ export class MessageFolderMetadataService {
return this.repository.findOne(workspaceId, { where: { id } });
}
- async verifyOwnership({
+ async verifyAdministrableByCaller({
id,
userWorkspaceId,
workspaceId,
@@ -141,27 +141,12 @@ export class MessageFolderMetadataService {
);
}
- const userAccountIds =
- await this.connectedAccountMetadataService.getUserConnectedAccountIds({
- userWorkspaceId,
- workspaceId,
- });
-
- const messageChannel = await this.messageChannelMetadataService.findById({
+ await this.messageChannelMetadataService.verifyAdministrableByCaller({
id: messageFolder.messageChannelId,
+ userWorkspaceId,
workspaceId,
});
- if (
- !messageChannel ||
- !userAccountIds.includes(messageChannel.connectedAccountId)
- ) {
- throw new MessageFolderException(
- `Message folder ${id} does not belong to user workspace ${userWorkspaceId}`,
- MessageFolderExceptionCode.MESSAGE_FOLDER_OWNERSHIP_VIOLATION,
- );
- }
-
return messageFolder;
}
diff --git a/packages/twenty-server/src/engine/metadata-modules/message-folder/resolvers/message-folder.resolver.ts b/packages/twenty-server/src/engine/metadata-modules/message-folder/resolvers/message-folder.resolver.ts
index 060356fa6c2..ac7a7e7f79a 100644
--- a/packages/twenty-server/src/engine/metadata-modules/message-folder/resolvers/message-folder.resolver.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/message-folder/resolvers/message-folder.resolver.ts
@@ -70,7 +70,7 @@ export class MessageFolderResolver {
@AuthWorkspace() workspace: WorkspaceEntity,
@AuthUserWorkspaceId() userWorkspaceId: string,
): Promise<MessageFolderDTO> {
- await this.messageFolderMetadataService.verifyOwnership({
+ await this.messageFolderMetadataService.verifyAdministrableByCaller({
id: input.id,
userWorkspaceId,
workspaceId: workspace.id,
@@ -92,7 +92,7 @@ export class MessageFolderResolver {
): Promise<MessageFolderDTO[]> {
await Promise.all(
input.ids.map((id) =>
- this.messageFolderMetadataService.verifyOwnership({
+ this.messageFolderMetadataService.verifyAdministrableByCaller({
id,
userWorkspaceId,
workspaceId: workspace.id,
diff --git a/packages/twenty-server/test/integration/endpoint-permissions/__snapshots__/endpoint-permission-declarations.integration-spec.ts.snap b/packages/twenty-server/test/integration/endpoint-permissions/__snapshots__/endpoint-permission-declarations.integration-spec.ts.snap
index 3b847925f3a..8fb368bf570 100644
--- a/packages/twenty-server/test/integration/endpoint-permissions/__snapshots__/endpoint-permission-declarations.integration-spec.ts.snap
+++ b/packages/twenty-server/test/integration/endpoint-permissions/__snapshots__/endpoint-permission-declarations.integration-spec.ts.snap
@@ -154,6 +154,8 @@ exports[`endpoint permission declarations should match the auth principals, perm
"ApplicationMessageChannelsResolver.createAppMessageChannel {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":false,"application":{"withAgent":false,"withUser":true,"withoutUser":true},"oauthClient":{"withUser":false,"withoutUser":false},"userSession":{"impersonated":false,"playground":false,"standard":false,"workspaceAgnostic":false}}],"requiredFeatureFlags":[],"requiredPermissionFlags":[]}",
"ApplicationMessageChannelsResolver.deleteAppMessageChannel {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":false,"application":{"withAgent":false,"withUser":true,"withoutUser":true},"oauthClient":{"withUser":false,"withoutUser":false},"userSession":{"impersonated":false,"playground":false,"standard":false,"workspaceAgnostic":false}}],"requiredFeatureFlags":[],"requiredPermissionFlags":[]}",
"ApplicationMessageChannelsResolver.updateAppMessageChannel {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":false,"application":{"withAgent":false,"withUser":true,"withoutUser":true},"oauthClient":{"withUser":false,"withoutUser":false},"userSession":{"impersonated":false,"playground":false,"standard":false,"workspaceAgnostic":false}}],"requiredFeatureFlags":[],"requiredPermissionFlags":[]}",
+ "ApplicationMessageFoldersResolver.appMessageFolders {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":false,"application":{"withAgent":false,"withUser":true,"withoutUser":true},"oauthClient":{"withUser":false,"withoutUser":false},"userSession":{"impersonated":false,"playground":false,"standard":false,"workspaceAgnostic":false}}],"requiredFeatureFlags":[],"requiredPermissionFlags":[]}",
+ "ApplicationMessageFoldersResolver.syncAppMessageFolders {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":false,"application":{"withAgent":false,"withUser":true,"withoutUser":true},"oauthClient":{"withUser":false,"withoutUser":false},"userSession":{"impersonated":false,"playground":false,"standard":false,"workspaceAgnostic":false}}],"requiredFeatureFlags":[],"requiredPermissionFlags":[]}",
"ApplicationMessageIngestionResolver.ingestAppMessages {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":false,"application":{"withAgent":false,"withUser":true,"withoutUser":true},"oauthClient":{"withUser":false,"withoutUser":false},"userSession":{"impersonated":false,"playground":false,"standard":false,"workspaceAgnostic":false}}],"requiredFeatureFlags":[],"requiredPermissionFlags":[]}",
"ApplicationMessageSendResolver.sendAppChannelMessage {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":false,"application":{"withAgent":false,"withUser":false,"withoutUser":false},"oauthClient":{"withUser":false,"withoutUser":false},"userSession":{"impersonated":true,"playground":false,"standard":true,"workspaceAgnostic":false}}],"requiredFeatureFlags":[],"requiredPermissionFlags":["SEND_EMAIL_TOOL"]}",
"ApplicationMonitoringResolver.findApplicationRegistrationMonitoring {"applicationTarget":{"argName":"id","kind":"applicationRegistrationId","requireApplicationRegistrationOwnership":true,"source":"graphqlArg"},"authPrincipalGuards":[{"apiKey":false,"application":{"withAgent":false,"withUser":false,"withoutUser":false},"oauthClient":{"withUser":false,"withoutUser":false},"userSession":{"impersonated":true,"playground":true,"standard":true,"workspaceAgnostic":false}}],"requiredFeatureFlags":[],"requiredPermissionFlags":["API_KEYS_AND_WEBHOOKS"]}",
diff --git a/packages/twenty-server/test/integration/metadata/suites/application/__snapshots__/failing-application-only-endpoint-access.integration-spec.ts.snap b/packages/twenty-server/test/integration/metadata/suites/application/__snapshots__/failing-application-only-endpoint-access.integration-spec.ts.snap
index 1a6277e15e6..d5c33de862c 100644
--- a/packages/twenty-server/test/integration/metadata/suites/application/__snapshots__/failing-application-only-endpoint-access.integration-spec.ts.snap
+++ b/packages/twenty-server/test/integration/metadata/suites/application/__snapshots__/failing-application-only-endpoint-access.integration-spec.ts.snap
@@ -84,6 +84,16 @@ exports[`Application-only endpoints with a non-application caller should fail wi
}
`;
+exports[`Application-only endpoints with a non-application caller should fail with a member session should refuse appMessageFolders and leave state unchanged 1`] = `
+{
+ "extensions": {
+ "code": "FORBIDDEN",
+ "userFriendlyMessage": "You do not have permission to perform this action.",
+ },
+ "message": "This endpoint is not available to this caller",
+}
+`;
+
exports[`Application-only endpoints with a non-application caller should fail with a member session should refuse createAppMessageChannel and leave state unchanged 1`] = `
{
"extensions": {
@@ -174,6 +184,16 @@ exports[`Application-only endpoints with a non-application caller should fail wi
}
`;
+exports[`Application-only endpoints with a non-application caller should fail with a member session should refuse syncAppMessageFolders and leave state unchanged 1`] = `
+{
+ "extensions": {
+ "code": "FORBIDDEN",
+ "userFriendlyMessage": "You do not have permission to perform this action.",
+ },
+ "message": "This endpoint is not available to this caller",
+}
+`;
+
exports[`Application-only endpoints with a non-application caller should fail with a member session should refuse updateAppMessageChannel and leave state unchanged 1`] = `
{
"extensions": {
@@ -268,6 +288,16 @@ exports[`Application-only endpoints with a non-application caller should fail wi
}
`;
+exports[`Application-only endpoints with a non-application caller should fail with an API key should refuse appMessageFolders and leave state unchanged 1`] = `
+{
+ "extensions": {
+ "code": "FORBIDDEN",
+ "userFriendlyMessage": "You do not have permission to perform this action.",
+ },
+ "message": "This endpoint is not available to this caller",
+}
+`;
+
exports[`Application-only endpoints with a non-application caller should fail with an API key should refuse createAppMessageChannel and leave state unchanged 1`] = `
{
"extensions": {
@@ -358,6 +388,16 @@ exports[`Application-only endpoints with a non-application caller should fail wi
}
`;
+exports[`Application-only endpoints with a non-application caller should fail with an API key should refuse syncAppMessageFolders and leave state unchanged 1`] = `
+{
+ "extensions": {
+ "code": "FORBIDDEN",
+ "userFriendlyMessage": "You do not have permission to perform this action.",
+ },
+ "message": "This endpoint is not available to this caller",
+}
+`;
+
exports[`Application-only endpoints with a non-application caller should fail with an API key should refuse updateAppMessageChannel and leave state unchanged 1`] = `
{
"extensions": {
@@ -452,6 +492,16 @@ exports[`Application-only endpoints with a non-application caller should fail wi
}
`;
+exports[`Application-only endpoints with a non-application caller should fail with an OAuth-only client token should refuse appMessageFolders and leave state unchanged 1`] = `
+{
+ "extensions": {
+ "code": "FORBIDDEN",
+ "userFriendlyMessage": "You do not have permission to perform this action.",
+ },
+ "message": "This endpoint is not available to this caller",
+}
+`;
+
exports[`Application-only endpoints with a non-application caller should fail with an OAuth-only client token should refuse createAppMessageChannel and leave state unchanged 1`] = `
{
"extensions": {
@@ -542,6 +592,16 @@ exports[`Application-only endpoints with a non-application caller should fail wi
}
`;
+exports[`Application-only endpoints with a non-application caller should fail with an OAuth-only client token should refuse syncAppMessageFolders and leave state unchanged 1`] = `
+{
+ "extensions": {
+ "code": "FORBIDDEN",
+ "userFriendlyMessage": "You do not have permission to perform this action.",
+ },
+ "message": "This endpoint is not available to this caller",
+}
+`;
+
exports[`Application-only endpoints with a non-application caller should fail with an OAuth-only client token should refuse updateAppMessageChannel and leave state unchanged 1`] = `
{
"extensions": {
diff --git a/packages/twenty-server/test/integration/metadata/suites/application/failing-application-only-endpoint-access.integration-spec.ts b/packages/twenty-server/test/integration/metadata/suites/application/failing-application-only-endpoint-access.integration-spec.ts
index ae1c1653191..7b53ef5bdc4 100644
--- a/packages/twenty-server/test/integration/metadata/suites/application/failing-application-only-endpoint-access.integration-spec.ts
+++ b/packages/twenty-server/test/integration/metadata/suites/application/failing-application-only-endpoint-access.integration-spec.ts
@@ -103,6 +103,14 @@ const readIngestedMessages: StateReader = ({ target }) =>
[target.messageChannelId],
);
+const readMessageFolders: StateReader = ({ target }) =>
+ globalThis.testDataSource.query(
+ `SELECT id, "externalId", name, "isSynced"
+ FROM core."messageFolder"
+ WHERE "messageChannelId" = $1 ORDER BY id`,
+ [target.messageChannelId],
+ );
+
const readNothing: StateReader = async () => null;
const GRAPHQL_STATE_READERS: Partial<
@@ -116,6 +124,7 @@ const GRAPHQL_STATE_READERS: Partial<
createAppMessageChannel: readMessageChannels,
updateAppMessageChannel: readMessageChannels,
deleteAppMessageChannel: readMessageChannels,
+ syncAppMessageFolders: readMessageFolders,
ingestAppMessages: readIngestedMessages,
};
diff --git a/packages/twenty-server/test/integration/metadata/suites/application/utils/application-only-endpoint-request-factories.util.ts b/packages/twenty-server/test/integration/metadata/suites/application/utils/application-only-endpoint-request-factories.util.ts
index 51eb17bd29f..68a87c0e300 100644
--- a/packages/twenty-server/test/integration/metadata/suites/application/utils/application-only-endpoint-request-factories.util.ts
+++ b/packages/twenty-server/test/integration/metadata/suites/application/utils/application-only-endpoint-request-factories.util.ts
@@ -191,6 +191,40 @@ export const APPLICATION_ONLY_GRAPHQL_OPERATION_FACTORIES = {
`,
variables: { id: messageChannelId },
}),
+ appMessageFolders: ({
+ messageChannelId,
+ }: Pick<ApplicationOnlyEndpointTarget, 'messageChannelId'>) => ({
+ query: gql`
+ query AppMessageFolders($filter: ListAppMessageFoldersInput) {
+ appMessageFolders(filter: $filter) {
+ id
+ }
+ }
+ `,
+ variables: { filter: { messageChannelId } },
+ }),
+ syncAppMessageFolders: ({
+ messageChannelId,
+ }: Pick<ApplicationOnlyEndpointTarget, 'messageChannelId'>) => ({
+ query: gql`
+ mutation SyncAppMessageFolders($input: SyncAppMessageFoldersInput!) {
+ syncAppMessageFolders(input: $input) {
+ id
+ }
+ }
+ `,
+ variables: {
+ input: {
+ messageChannelId,
+ folders: [
+ {
+ externalId: 'application-only-probe',
+ name: 'application-only-probe',
+ },
+ ],
+ },
+ },
+ }),
ingestAppMessages: ({
messageChannelId,
}: Pick<ApplicationOnlyEndpointTarget, 'messageChannelId'>) => ({
diff --git a/packages/twenty-server/test/integration/metadata/suites/message-channel/app-message-channels.integration-spec.ts b/packages/twenty-server/test/integration/metadata/suites/message-channel/app-message-channels.integration-spec.ts
index fee3c6e684f..006a1658ff9 100644
--- a/packages/twenty-server/test/integration/metadata/suites/message-channel/app-message-channels.integration-spec.ts
+++ b/packages/twenty-server/test/integration/metadata/suites/message-channel/app-message-channels.integration-spec.ts
@@ -89,6 +89,39 @@ const INGEST_MESSAGES_MUTATION = gql`
}
`;
+const LIST_FOLDERS_QUERY = gql`
+ query AppMessageFolders($filter: ListAppMessageFoldersInput) {
+ appMessageFolders(filter: $filter) {
+ id
+ externalId
+ name
+ isSynced
+ messageChannelId
+ }
+ }
+`;
+
+const SYNC_FOLDERS_MUTATION = gql`
+ mutation SyncAppMessageFolders($input: SyncAppMessageFoldersInput!) {
+ syncAppMessageFolders(input: $input) {
+ id
+ externalId
+ name
+ isSynced
+ messageChannelId
+ }
+ }
+`;
+
+const UPDATE_MESSAGE_FOLDERS_MUTATION = gql`
+ mutation UpdateMessageFolders($input: UpdateMessageFoldersInput!) {
+ updateMessageFolders(input: $input) {
+ id
+ isSynced
+ }
+ }
+`;
+
const buildManifestWithProvider = ({
appId,
roleId,
@@ -144,6 +177,13 @@ type AppMessagePayload = {
text: string;
receivedAt: string;
participants: AppMessageParticipantPayload[];
+ folderExternalIds?: string[];
+};
+
+type AppMessageFolderPayload = {
+ externalId: string;
+ name: string;
+ isSynced?: boolean;
};
const buildMessage = ({
@@ -192,6 +232,7 @@ describe('app message channels API (e2e)', () => {
let ownConnectionId: string;
let otherAppConnectionId: string;
let foreignMemberConnectionId: string;
+ let foreignWorkspaceConnectionId: string;
const insertAppConnection = async ({
id,
@@ -283,6 +324,55 @@ describe('app message channels API (e2e)', () => {
token,
);
+ const syncFolders = ({
+ messageChannelId,
+ folders,
+ token,
+ }: {
+ messageChannelId: string;
+ folders: AppMessageFolderPayload[];
+ token?: string;
+ }) =>
+ request(
+ {
+ query: SYNC_FOLDERS_MUTATION,
+ variables: { input: { messageChannelId, folders } },
+ },
+ token,
+ );
+
+ const findFolder = ({
+ folders,
+ externalId,
+ }: {
+ folders: { id: string; externalId: string }[];
+ externalId: string;
+ }) => {
+ const folder = folders.find(
+ (candidate) => candidate.externalId === externalId,
+ );
+
+ if (!isDefined(folder)) {
+ throw new Error(`Folder ${externalId} was not returned`);
+ }
+
+ return folder;
+ };
+
+ const findLinkedFolderIds = async (messageId: string): Promise<string[]> => {
+ const rows: { messageFolderId: string }[] =
+ await globalThis.testDataSource.query(
+ `SELECT folder."messageFolderId"
+ FROM "${WORKSPACE_SCHEMA}"."messageChannelMessageAssociationMessageFolder" folder
+ JOIN "${WORKSPACE_SCHEMA}"."messageChannelMessageAssociation" association
+ ON association.id = folder."messageChannelMessageAssociationId"
+ WHERE association."messageId" = $1`,
+ [messageId],
+ );
+
+ return rows.map((row) => row.messageFolderId);
+ };
+
const findAssociation = async (
messageId: string,
): Promise<{ direction: string; messageExternalId: string }> => {
@@ -366,6 +456,7 @@ describe('app message channels API (e2e)', () => {
ownConnectionId = uuidv4();
otherAppConnectionId = uuidv4();
foreignMemberConnectionId = uuidv4();
+ foreignWorkspaceConnectionId = uuidv4();
await insertAppConnection({
id: ownConnectionId,
@@ -390,6 +481,14 @@ describe('app message channels API (e2e)', () => {
scope: 'USER',
userWorkspaceId: uuidv4(),
});
+
+ await insertAppConnection({
+ id: foreignWorkspaceConnectionId,
+ applicationId: owningApplicationDbId,
+ connectionProviderId: owningProviderDbId,
+ scope: 'WORKSPACE',
+ userWorkspaceId: uuidv4(),
+ });
}, 180000);
afterEach(async () => {
@@ -447,7 +546,14 @@ describe('app message channels API (e2e)', () => {
await globalThis.testDataSource.query(
`DELETE FROM core."messageChannel" WHERE "connectedAccountId" = ANY($1)`,
- [[ownConnectionId, otherAppConnectionId, foreignMemberConnectionId]],
+ [
+ [
+ ownConnectionId,
+ otherAppConnectionId,
+ foreignMemberConnectionId,
+ foreignWorkspaceConnectionId,
+ ],
+ ],
);
});
@@ -860,4 +966,354 @@ describe('app message channels API (e2e)', () => {
expect(Number(count)).toBe(0);
});
});
+
+ describe('syncAppMessageFolders', () => {
+ it('creates folders, synced unless the app says otherwise', async () => {
+ const channel = await createChannelOrThrow();
+
+ const response = await syncFolders({
+ messageChannelId: channel.id,
+ folders: [
+ { externalId: 'inb_support', name: 'Support' },
+ { externalId: 'inb_sales', name: 'Sales', isSynced: false },
+ ],
+ });
+
+ expect(response.body.errors).toBeUndefined();
+ expect(response.body.data.syncAppMessageFolders).toEqual([
+ expect.objectContaining({
+ externalId: 'inb_sales',
+ name: 'Sales',
+ isSynced: false,
+ }),
+ expect.objectContaining({
+ externalId: 'inb_support',
+ name: 'Support',
+ isSynced: true,
+ messageChannelId: channel.id,
+ }),
+ ]);
+ });
+
+ it('renames, keeps an omitted isSynced and removes folders missing from the list', async () => {
+ const channel = await createChannelOrThrow();
+
+ const first = await syncFolders({
+ messageChannelId: channel.id,
+ folders: [
+ { externalId: 'inb_support', name: 'Support', isSynced: false },
+ { externalId: 'inb_sales', name: 'Sales' },
+ ],
+ });
+
+ const supportFolder = findFolder({
+ folders: first.body.data.syncAppMessageFolders,
+ externalId: 'inb_support',
+ });
+
+ const second = await syncFolders({
+ messageChannelId: channel.id,
+ folders: [{ externalId: 'inb_support', name: 'Customer support' }],
+ });
+
+ expect(second.body.errors).toBeUndefined();
+ expect(second.body.data.syncAppMessageFolders).toEqual([
+ expect.objectContaining({
+ id: supportFolder.id,
+ name: 'Customer support',
+ isSynced: false,
+ }),
+ ]);
+ });
+
+ it('refuses the same externalId twice in one list', async () => {
+ const channel = await createChannelOrThrow();
+
+ const response = await syncFolders({
+ messageChannelId: channel.id,
+ folders: [
+ { externalId: 'inb_support', name: 'Support' },
+ { externalId: 'inb_support', name: 'Support again' },
+ ],
+ });
+
+ expect(response.body.errors?.[0]?.extensions?.code).toBe(
+ 'BAD_USER_INPUT',
+ );
+ });
+
+ it('does not tell another application that the channel exists', async () => {
+ const channel = await createChannelOrThrow();
+
+ const response = await syncFolders({
+ messageChannelId: channel.id,
+ folders: [{ externalId: 'inb_support', name: 'Support' }],
+ token: otherApplicationToken,
+ });
+
+ expect(response.body.errors?.[0]?.extensions?.code).toBe('NOT_FOUND');
+ });
+ });
+
+ describe('appMessageFolders', () => {
+ it("lists the channel's folders", async () => {
+ const channel = await createChannelOrThrow();
+
+ await syncFolders({
+ messageChannelId: channel.id,
+ folders: [{ externalId: 'inb_support', name: 'Support' }],
+ });
+
+ const response = await request({
+ query: LIST_FOLDERS_QUERY,
+ variables: { filter: { messageChannelId: channel.id } },
+ });
+
+ expect(response.body.errors).toBeUndefined();
+ expect(response.body.data.appMessageFolders).toEqual([
+ expect.objectContaining({
+ externalId: 'inb_support',
+ name: 'Support',
+ isSynced: true,
+ }),
+ ]);
+ });
+
+ it("lists folders across the application's channels and nothing else without a filter", async () => {
+ const channel = await createChannelOrThrow();
+ const otherHandleChannel = await createChannelOrThrow({
+ handle: '[email protected]',
+ });
+ const foreignChannel = await createChannelOrThrow({
+ connectedAccountId: otherAppConnectionId,
+ token: otherApplicationToken,
+ });
+
+ await syncFolders({
+ messageChannelId: channel.id,
+ folders: [{ externalId: 'inb_support', name: 'Support' }],
+ });
+ await syncFolders({
+ messageChannelId: otherHandleChannel.id,
+ folders: [{ externalId: 'inb_sales', name: 'Sales' }],
+ });
+ await syncFolders({
+ messageChannelId: foreignChannel.id,
+ folders: [{ externalId: 'inb_foreign', name: 'Foreign' }],
+ token: otherApplicationToken,
+ });
+
+ const response = await request({ query: LIST_FOLDERS_QUERY });
+
+ expect(response.body.errors).toBeUndefined();
+ expect(
+ response.body.data.appMessageFolders.map(
+ (folder: { externalId: string }) => folder.externalId,
+ ),
+ ).toEqual(['inb_sales', 'inb_support']);
+ });
+
+ it("refuses another application's channel", async () => {
+ const channel = await createChannelOrThrow();
+
+ const response = await request(
+ {
+ query: LIST_FOLDERS_QUERY,
+ variables: { filter: { messageChannelId: channel.id } },
+ },
+ otherApplicationToken,
+ );
+
+ expect(response.body.errors?.[0]?.extensions?.code).toBe('NOT_FOUND');
+ });
+ });
+
+ describe('ingestAppMessages with folders', () => {
+ it('links a message to its folders, adding folders on re-ingestion', async () => {
+ const channel = await createChannelOrThrow();
+ const threadExternalId = `thread-${uuidv4()}`;
+
+ const syncResponse = await syncFolders({
+ messageChannelId: channel.id,
+ folders: [
+ { externalId: 'inb_support', name: 'Support' },
+ { externalId: 'inb_sales', name: 'Sales' },
+ ],
+ });
+
+ const supportFolder = findFolder({
+ folders: syncResponse.body.data.syncAppMessageFolders,
+ externalId: 'inb_support',
+ });
+ const salesFolder = findFolder({
+ folders: syncResponse.body.data.syncAppMessageFolders,
+ externalId: 'inb_sales',
+ });
+
+ const message = buildMessage({
+ externalId: 'in-support',
+ threadExternalId,
+ senderHandle: '[email protected]',
+ });
+
+ const first = await ingest({
+ messageChannelId: channel.id,
+ messages: [{ ...message, folderExternalIds: ['inb_support'] }],
+ });
+
+ expect(first.body.errors).toBeUndefined();
+
+ const [{ messageId }] = first.body.data.ingestAppMessages.messages;
+
+ expect(await findLinkedFolderIds(messageId)).toEqual([supportFolder.id]);
+
+ const second = await ingest({
+ messageChannelId: channel.id,
+ messages: [{ ...message, folderExternalIds: ['inb_sales'] }],
+ });
+
+ expect(second.body.errors).toBeUndefined();
+ expect((await findLinkedFolderIds(messageId)).sort()).toEqual(
+ [supportFolder.id, salesFolder.id].sort(),
+ );
+ });
+
+ it('refuses a folder the channel has not declared and saves nothing', async () => {
+ const channel = await createChannelOrThrow();
+
+ const response = await ingest({
+ messageChannelId: channel.id,
+ messages: [
+ {
+ ...buildMessage({
+ externalId: 'in-unknown-folder',
+ threadExternalId: `thread-${uuidv4()}`,
+ senderHandle: '[email protected]',
+ }),
+ folderExternalIds: ['inb_unknown'],
+ },
+ ],
+ });
+
+ expect(response.body.errors?.[0]?.extensions?.code).toBe(
+ 'BAD_USER_INPUT',
+ );
+
+ const [{ count }] = await globalThis.testDataSource.query(
+ `SELECT count(*) AS count FROM "${WORKSPACE_SCHEMA}"."message"
+ WHERE "headerMessageId" LIKE $1`,
+ [`app:${owningApplicationDbId}:${channel.id}:%`],
+ );
+
+ expect(Number(count)).toBe(0);
+ });
+
+ it('keeps the message when its folder is removed', async () => {
+ const channel = await createChannelOrThrow();
+
+ await syncFolders({
+ messageChannelId: channel.id,
+ folders: [{ externalId: 'inb_support', name: 'Support' }],
+ });
+
+ const response = await ingest({
+ messageChannelId: channel.id,
+ messages: [
+ {
+ ...buildMessage({
+ externalId: 'outlives-its-folder',
+ threadExternalId: `thread-${uuidv4()}`,
+ senderHandle: '[email protected]',
+ }),
+ folderExternalIds: ['inb_support'],
+ },
+ ],
+ });
+
+ const [{ messageId }] = response.body.data.ingestAppMessages.messages;
+
+ const removal = await syncFolders({
+ messageChannelId: channel.id,
+ folders: [],
+ });
+
+ expect(removal.body.errors).toBeUndefined();
+ expect(removal.body.data.syncAppMessageFolders).toEqual([]);
+ expect(await findLinkedFolderIds(messageId)).toEqual([]);
+ expect(await findAssociation(messageId)).toMatchObject({
+ messageExternalId: 'outlives-its-folder',
+ });
+ });
+ });
+
+ describe('updateMessageFolders on an app channel', () => {
+ const createFolderOnForeignWorkspaceConnection = async () => {
+ const channel = await createChannelOrThrow({
+ connectedAccountId: foreignWorkspaceConnectionId,
+ });
+
+ const response = await syncFolders({
+ messageChannelId: channel.id,
+ folders: [{ externalId: 'inb_support', name: 'Support' }],
+ });
+
+ return findFolder({
+ folders: response.body.data.syncAppMessageFolders,
+ externalId: 'inb_support',
+ });
+ };
+
+ const updateFolders = ({
+ messageFolderIds,
+ isSynced,
+ token,
+ }: {
+ messageFolderIds: string[];
+ isSynced: boolean;
+ token: string;
+ }) =>
+ makeMetadataApiRequest(
+ {
+ query: UPDATE_MESSAGE_FOLDERS_MUTATION,
+ variables: {
+ input: { ids: messageFolderIds, update: { isSynced } },
+ },
+ },
+ token,
+ );
+
+ it("lets a workspace admin toggle a folder on a workspace-shared connection they don't own", async () => {
+ const folder = await createFolderOnForeignWorkspaceConnection();
+
+ const response = await updateFolders({
+ messageFolderIds: [folder.id],
+ isSynced: false,
+ token: APPLE_JANE_ADMIN_ACCESS_TOKEN,
+ });
+
+ expect(response.body.errors).toBeUndefined();
+ expect(response.body.data.updateMessageFolders).toEqual([
+ { id: folder.id, isSynced: false },
+ ]);
+ });
+
+ it('refuses a member without the applications permission', async () => {
+ const folder = await createFolderOnForeignWorkspaceConnection();
+
+ const response = await updateFolders({
+ messageFolderIds: [folder.id],
+ isSynced: false,
+ token: APPLE_JONY_MEMBER_ACCESS_TOKEN,
+ });
+
+ expect(response.body.errors?.[0]?.extensions?.code).toBe('FORBIDDEN');
+
+ const [storedFolder] = await globalThis.testDataSource.query(
+ `SELECT "isSynced" FROM core."messageFolder" WHERE id = $1`,
+ [folder.id],
+ );
+
+ expect(storedFolder.isSynced).toBe(true);
+ });
+ });
});
diff --git a/packages/twenty-shared/src/application/appMessageFolderType.ts b/packages/twenty-shared/src/application/appMessageFolderType.ts
new file mode 100644
index 00000000000..30c794e7a53
--- /dev/null
+++ b/packages/twenty-shared/src/application/appMessageFolderType.ts
@@ -0,0 +1,7 @@
+export type AppMessageFolder = {
+ id: string;
+ externalId: string;
+ name: string;
+ isSynced: boolean;
+ messageChannelId: string;
+};
diff --git a/packages/twenty-shared/src/application/index.ts b/packages/twenty-shared/src/application/index.ts
index 75fc558f037..c6bcbe7dd37 100644
--- a/packages/twenty-shared/src/application/index.ts
+++ b/packages/twenty-shared/src/application/index.ts
@@ -72,6 +72,7 @@ export {
DEFAULT_APPLICATION_VARIABLE_SCOPE,
} from './applicationVariablesType';
export type { AppMessageChannel } from './appMessageChannelType';
+export type { AppMessageFolder } from './appMessageFolderType';
export type { AssetManifest } from './assetManifestType';
export type {
BillableOperationManifest,