Skip to content

The open alternative to Salesforce, designed for AI.

Marketplace launch UX pass: consent screen, states and copy (#27958)

martmulle293b48a1eab
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
index 998a0cb0f41..3798f3cb7ee 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
@@ -2689,6 +2689,7 @@ type MarketplaceAppDetail {
logoUrl: String
manifest: JSON @deprecated(reason: "Use the explicit MarketplaceAppDetail fields (description, author, roles, ...) instead")
name: String!
+ objects: [MarketplaceAppObject!]
pricingDescription: String
requestedCapabilities: [String!]!
roles: [MarketplaceAppRole!]
@@ -2700,6 +2701,12 @@ type MarketplaceAppDetail {
websiteUrl: String
}
+type MarketplaceAppObject {
+ labelPlural: String!
+ labelSingular: String!
+ universalIdentifier: String!
+}
+
type MarketplaceAppRole {
canAccessAllTools: Boolean
canDestroyAllObjectRecords: Boolean
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.ts b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
index ec786be1c68..b66b12c1ea1 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
@@ -1802,6 +1802,7 @@ export interface MarketplaceAppDetail {
/** @deprecated Use the explicit MarketplaceAppDetail fields (description, author, roles, ...) instead */
manifest?: Scalars['JSON']
name: Scalars['String']
+ objects?: MarketplaceAppObject[]
pricingDescription?: Scalars['String']
requestedCapabilities: Scalars['String'][]
roles?: MarketplaceAppRole[]
@@ -1815,6 +1816,13 @@ export interface MarketplaceAppDetail {
__typename: 'MarketplaceAppDetail'
}
+export interface MarketplaceAppObject {
+ labelPlural: Scalars['String']
+ labelSingular: Scalars['String']
+ universalIdentifier: Scalars['String']
+ __typename: 'MarketplaceAppObject'
+}
+
export interface MarketplaceAppRole {
canAccessAllTools?: Scalars['Boolean']
canDestroyAllObjectRecords?: Scalars['Boolean']
@@ -6022,6 +6030,7 @@ export interface MarketplaceAppDetailGenqlSelection{
/** @deprecated Use the explicit MarketplaceAppDetail fields (description, author, roles, ...) instead */
manifest?: boolean | number
name?: boolean | number
+ objects?: MarketplaceAppObjectGenqlSelection
pricingDescription?: boolean | number
requestedCapabilities?: boolean | number
roles?: MarketplaceAppRoleGenqlSelection
@@ -6036,6 +6045,14 @@ export interface MarketplaceAppDetailGenqlSelection{
__scalar?: boolean | number
}
+export interface MarketplaceAppObjectGenqlSelection{
+ labelPlural?: boolean | number
+ labelSingular?: boolean | number
+ universalIdentifier?: boolean | number
+ __typename?: boolean | number
+ __scalar?: boolean | number
+}
+
export interface MarketplaceAppRoleGenqlSelection{
canAccessAllTools?: boolean | number
canDestroyAllObjectRecords?: boolean | number
@@ -9893,6 +9910,14 @@ export interface WorkspaceUrlsAndIdGenqlSelection{
+ const MarketplaceAppObject_possibleTypes: string[] = ['MarketplaceAppObject']
+ export const isMarketplaceAppObject = (obj?: { __typename?: any } | null): obj is MarketplaceAppObject => {
+ if (!obj?.__typename) throw new Error('__typename is missing in "isMarketplaceAppObject"')
+ return MarketplaceAppObject_possibleTypes.includes(obj.__typename)
+ }
+
+
+
const MarketplaceAppRole_possibleTypes: string[] = ['MarketplaceAppRole']
export const isMarketplaceAppRole = (obj?: { __typename?: any } | null): obj is MarketplaceAppRole => {
if (!obj?.__typename) throw new Error('__typename is missing in "isMarketplaceAppRole"')
diff --git a/packages/twenty-client-sdk/src/metadata/generated/types.ts b/packages/twenty-client-sdk/src/metadata/generated/types.ts
index d83a5f291e0..e98e3894084 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/types.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/types.ts
@@ -53,70 +53,70 @@ export default {
291,
302,
304,
- 317,
318,
319,
320,
321,
322,
- 324,
+ 323,
325,
326,
- 329,
+ 327,
330,
- 332,
+ 331,
333,
- 336,
- 338,
- 342,
- 346,
- 355,
- 362,
+ 334,
+ 337,
+ 339,
+ 343,
+ 347,
+ 356,
363,
364,
- 367,
- 371,
+ 365,
+ 368,
372,
- 377,
- 381,
- 402,
- 404,
+ 373,
+ 378,
+ 382,
+ 403,
405,
- 408,
- 413,
- 425,
- 427,
- 431,
- 436,
- 453,
- 465,
+ 406,
+ 409,
+ 414,
+ 426,
+ 428,
+ 432,
+ 437,
+ 454,
466,
- 468,
- 492,
- 494,
- 496,
- 556,
- 576,
- 583,
- 585,
- 599,
- 605,
+ 467,
+ 469,
+ 493,
+ 495,
+ 497,
+ 557,
+ 577,
+ 584,
+ 586,
+ 600,
606,
- 608,
+ 607,
609,
- 611,
+ 610,
612,
613,
- 616,
+ 614,
617,
- 622,
- 624,
- 627,
- 632,
+ 618,
+ 623,
+ 625,
+ 628,
633,
634,
- 637,
- 638
+ 635,
+ 638,
+ 639
],
"types": {
"ActivateWorkspaceInput": {
@@ -144,7 +144,7 @@ export default {
},
"Agent": {
"applicationId": [
- 492
+ 493
],
"createdAt": [
187
@@ -156,7 +156,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isCustom": [
4
@@ -183,7 +183,7 @@ export default {
289
],
"roleId": [
- 492
+ 493
],
"triggers": [
289
@@ -277,7 +277,7 @@ export default {
187
],
"id": [
- 492
+ 493
],
"isSubscribed": [
4
@@ -292,7 +292,7 @@ export default {
187
],
"threadId": [
- 492
+ 493
],
"updatedAt": [
187
@@ -303,7 +303,7 @@ export default {
},
"AgentIdInput": {
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -311,13 +311,13 @@ export default {
},
"AgentMessage": {
"agentId": [
- 492
+ 493
],
"createdAt": [
187
],
"id": [
- 492
+ 493
],
"parts": [
15
@@ -329,19 +329,19 @@ export default {
1
],
"senderUserWorkspaceId": [
- 492
+ 493
],
"senderWorkspaceMemberId": [
- 492
+ 493
],
"status": [
1
],
"threadId": [
- 492
+ 493
],
"turnId": [
- 492
+ 493
],
"__typename": [
1
@@ -358,7 +358,7 @@ export default {
1
],
"fileId": [
- 492
+ 493
],
"fileMediaType": [
1
@@ -367,10 +367,10 @@ export default {
1
],
"id": [
- 492
+ 493
],
"messageId": [
- 492
+ 493
],
"orderIndex": [
8
@@ -450,7 +450,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"input": [
1
@@ -474,7 +474,7 @@ export default {
17
],
"threadId": [
- 492
+ 493
],
"threadTitle": [
1
@@ -489,13 +489,13 @@ export default {
"AgentTurnStatus": {},
"AggregateChartConfiguration": {
"aggregateFieldMetadataId": [
- 492
+ 493
],
"aggregateOperation": [
19
],
"configurationType": [
- 616
+ 617
],
"description": [
1
@@ -519,7 +519,7 @@ export default {
1
],
"ratioAggregateConfig": [
- 397
+ 398
],
"suffix": [
1
@@ -601,7 +601,7 @@ export default {
187
],
"id": [
- 492
+ 493
],
"name": [
1
@@ -610,7 +610,7 @@ export default {
187
],
"role": [
- 419
+ 420
],
"updatedAt": [
187
@@ -624,7 +624,7 @@ export default {
187
],
"id": [
- 492
+ 493
],
"name": [
1
@@ -728,13 +728,13 @@ export default {
1
],
"personId": [
- 492
+ 493
],
"role": [
- 326
+ 327
],
"workspaceMemberId": [
- 492
+ 493
],
"__typename": [
1
@@ -748,7 +748,7 @@ export default {
57
],
"applicationRegistrationId": [
- 492
+ 493
],
"applicationVariables": [
60
@@ -769,7 +769,7 @@ export default {
187
],
"defaultLogicFunctionRole": [
- 419
+ 420
],
"defaultRoleId": [
1
@@ -781,10 +781,10 @@ export default {
262
],
"healthCheckLogicFunctionId": [
- 492
+ 493
],
"id": [
- 492
+ 493
],
"isUninstallBlockedByOtherWorkspaceInstallations": [
4
@@ -793,7 +793,7 @@ export default {
301
],
"logoFileId": [
- 492
+ 493
],
"logoUrl": [
1
@@ -802,19 +802,19 @@ export default {
1
],
"objects": [
- 348
+ 349
],
"packageJsonChecksum": [
1
],
"packageJsonFileId": [
- 492
+ 493
],
"settingsCustomTabFrontComponentId": [
- 492
+ 493
],
"settingsMenuItems": [
- 452
+ 453
],
"universalIdentifier": [
1
@@ -826,7 +826,7 @@ export default {
1
],
"yarnLockFileId": [
- 492
+ 493
],
"__typename": [
1
@@ -834,7 +834,7 @@ export default {
},
"ApplicationAuthorization": {
"applicationId": [
- 492
+ 493
],
"applicationName": [
1
@@ -846,7 +846,7 @@ export default {
187
],
"id": [
- 492
+ 493
],
"lastAuthorizedAt": [
187
@@ -858,7 +858,7 @@ export default {
1
],
"workspaceId": [
- 492
+ 493
],
"__typename": [
1
@@ -869,7 +869,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -877,7 +877,7 @@ export default {
},
"ApplicationConnectedAccountDTO": {
"applicationId": [
- 492
+ 493
],
"archivedAt": [
187
@@ -889,10 +889,10 @@ export default {
1
],
"connectionParameters": [
- 393
+ 394
],
"connectionProviderId": [
- 492
+ 493
],
"createdAt": [
187
@@ -904,7 +904,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isOwnedByCurrentUser": [
4
@@ -928,7 +928,7 @@ export default {
187
],
"userWorkspaceId": [
- 492
+ 493
],
"visibility": [
1
@@ -945,7 +945,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"logoUrl": [
1
@@ -1039,7 +1039,7 @@ export default {
},
"ApplicationFileCompletionError": {
"fileId": [
- 492
+ 493
],
"message": [
1
@@ -1087,7 +1087,7 @@ export default {
255
],
"fileId": [
- 492
+ 493
],
"filePath": [
1
@@ -1136,7 +1136,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isConfigured": [
4
@@ -1169,7 +1169,7 @@ export default {
1
],
"ownerWorkspaceId": [
- 492
+ 493
],
"sourcePackage": [
1
@@ -1199,7 +1199,7 @@ export default {
8
],
"versionDistribution": [
- 597
+ 598
],
"__typename": [
1
@@ -1207,7 +1207,7 @@ export default {
},
"ApplicationRegistrationSummary": {
"id": [
- 492
+ 493
],
"latestAvailableVersion": [
1
@@ -1230,7 +1230,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isDeprecated": [
4
@@ -1279,7 +1279,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isDeprecated": [
4
@@ -1321,7 +1321,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isValidated": [
4
@@ -1358,7 +1358,7 @@ export default {
4
],
"sso": [
- 435
+ 436
],
"__typename": [
1
@@ -1418,7 +1418,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"inviteHash": [
1
@@ -1433,10 +1433,10 @@ export default {
1
],
"sso": [
- 434
+ 435
],
"workspaceUrls": [
- 639
+ 640
],
"__typename": [
1
@@ -1467,7 +1467,7 @@ export default {
"AxisNameDisplay": {},
"BarChartConfiguration": {
"aggregateFieldMetadataId": [
- 492
+ 493
],
"aggregateOperation": [
19
@@ -1479,7 +1479,7 @@ export default {
1
],
"configurationType": [
- 616
+ 617
],
"description": [
1
@@ -1512,10 +1512,10 @@ export default {
4
],
"primaryAxisDateGranularity": [
- 362
+ 363
],
"primaryAxisGroupByFieldMetadataId": [
- 492
+ 493
],
"primaryAxisGroupBySubFieldName": [
1
@@ -1533,10 +1533,10 @@ export default {
11
],
"secondaryAxisGroupByDateGranularity": [
- 362
+ 363
],
"secondaryAxisGroupByFieldMetadataId": [
- 492
+ 493
],
"secondaryAxisGroupBySubFieldName": [
1
@@ -1603,7 +1603,7 @@ export default {
289
],
"objectMetadataId": [
- 492
+ 493
],
"__typename": [
1
@@ -1645,7 +1645,7 @@ export default {
4
],
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -1665,7 +1665,7 @@ export default {
4
],
"status": [
- 466
+ 467
],
"__typename": [
1
@@ -1763,7 +1763,7 @@ export default {
107
],
"recurringInterval": [
- 465
+ 466
],
"stripePriceId": [
1
@@ -1780,7 +1780,7 @@ export default {
107
],
"recurringInterval": [
- 465
+ 466
],
"stripePriceId": [
1
@@ -1915,10 +1915,10 @@ export default {
187
],
"id": [
- 492
+ 493
],
"interval": [
- 465
+ 466
],
"metadata": [
289
@@ -1927,7 +1927,7 @@ export default {
103
],
"status": [
- 466
+ 467
],
"__typename": [
1
@@ -1945,7 +1945,7 @@ export default {
4
],
"id": [
- 492
+ 493
],
"quantity": [
11
@@ -2021,7 +2021,7 @@ export default {
},
"CalendarChannel": {
"connectedAccountId": [
- 492
+ 493
],
"contactAutoCreationPolicy": [
110
@@ -2033,7 +2033,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isContactAutoCreationEnabled": [
4
@@ -2072,7 +2072,7 @@ export default {
"CalendarChannelVisibility": {},
"CalendarConfiguration": {
"configurationType": [
- 616
+ 617
],
"__typename": [
1
@@ -2080,7 +2080,7 @@ export default {
},
"CallRecordingSummaryConfiguration": {
"configurationType": [
- 616
+ 617
],
"__typename": [
1
@@ -2088,7 +2088,7 @@ export default {
},
"CallRecordingTranscriptConfiguration": {
"configurationType": [
- 616
+ 617
],
"__typename": [
1
@@ -2165,7 +2165,7 @@ export default {
"ChartNumberFormat": {},
"ChatConfiguration": {
"configurationType": [
- 616
+ 617
],
"__typename": [
1
@@ -2198,7 +2198,7 @@ export default {
},
"ChatThreadsConfiguration": {
"configurationType": [
- 616
+ 617
],
"__typename": [
1
@@ -2323,7 +2323,7 @@ export default {
11
],
"modelFamily": [
- 342
+ 343
],
"modelFamilyLabel": [
1
@@ -2332,7 +2332,7 @@ export default {
1
],
"nativeCapabilities": [
- 344
+ 345
],
"outputCostPerMillionTokens": [
11
@@ -2465,13 +2465,13 @@ export default {
134
],
"publicFeatureFlags": [
- 391
+ 392
],
"publicFunctionDomain": [
1
],
"sentry": [
- 450
+ 451
],
"serverUrl": [
1
@@ -2480,7 +2480,7 @@ export default {
4
],
"support": [
- 467
+ 468
],
"__typename": [
1
@@ -2513,10 +2513,10 @@ export default {
},
"CommandMenuItem": {
"applicationId": [
- 492
+ 493
],
"availabilityObjectMetadataId": [
- 492
+ 493
],
"availabilityType": [
137
@@ -2528,7 +2528,7 @@ export default {
1
],
"coreWorkflowVersionId": [
- 492
+ 493
],
"createdAt": [
187
@@ -2540,7 +2540,7 @@ export default {
262
],
"frontComponentId": [
- 492
+ 493
],
"hotKeys": [
1
@@ -2549,7 +2549,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isActive": [
4
@@ -2561,10 +2561,10 @@ export default {
1
],
"navigationTargetObjectMetadataId": [
- 492
+ 493
],
"pageLayoutId": [
- 492
+ 493
],
"payload": [
138
@@ -2576,13 +2576,13 @@ export default {
1
],
"universalIdentifier": [
- 492
+ 493
],
"updatedAt": [
187
],
"workflowVersionId": [
- 492
+ 493
],
"__typename": [
1
@@ -2591,10 +2591,10 @@ export default {
"CommandMenuItemAvailabilityType": {},
"CommandMenuItemPayload": {
"on_ObjectMetadataCommandMenuItemPayload": [
- 354
+ 355
],
"on_PathCommandMenuItemPayload": [
- 379
+ 380
],
"__typename": [
1
@@ -2613,7 +2613,7 @@ export default {
},
"ConnectedAccountPublicDTO": {
"applicationId": [
- 492
+ 493
],
"archivedAt": [
187
@@ -2625,10 +2625,10 @@ export default {
1
],
"connectionParameters": [
- 393
+ 394
],
"connectionProviderId": [
- 492
+ 493
],
"createdAt": [
187
@@ -2640,7 +2640,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"lastCredentialsRefreshedAt": [
187
@@ -2661,7 +2661,7 @@ export default {
187
],
"userWorkspaceId": [
- 492
+ 493
],
"visibility": [
1
@@ -2678,13 +2678,13 @@ export default {
1
],
"id": [
- 492
+ 493
],
"provider": [
1
],
"userWorkspaceId": [
- 492
+ 493
],
"__typename": [
1
@@ -2737,7 +2737,7 @@ export default {
289
],
"roleId": [
- 492
+ 493
],
"triggers": [
289
@@ -2757,7 +2757,7 @@ export default {
1
],
"roleId": [
- 492
+ 493
],
"__typename": [
1
@@ -2765,7 +2765,7 @@ export default {
},
"CreateAppMessageChannelInput": {
"connectedAccountId": [
- 492
+ 493
],
"displayName": [
1
@@ -2774,7 +2774,7 @@ export default {
1
],
"visibility": [
- 322
+ 323
],
"__typename": [
1
@@ -2890,7 +2890,7 @@ export default {
},
"CreateCommandMenuItemInput": {
"availabilityObjectMetadataId": [
- 492
+ 493
],
"availabilityType": [
137
@@ -2902,13 +2902,13 @@ export default {
1
],
"coreWorkflowVersionId": [
- 492
+ 493
],
"engineComponentKey": [
221
],
"frontComponentId": [
- 492
+ 493
],
"hotKeys": [
1
@@ -2923,10 +2923,10 @@ export default {
1
],
"navigationTargetObjectMetadataId": [
- 492
+ 493
],
"pageLayoutId": [
- 492
+ 493
],
"payload": [
289
@@ -2938,7 +2938,7 @@ export default {
1
],
"workflowVersionId": [
- 492
+ 493
],
"__typename": [
1
@@ -2960,7 +2960,7 @@ export default {
1
],
"messageChannel": [
- 316
+ 317
],
"__typename": [
1
@@ -3024,7 +3024,7 @@ export default {
1
],
"objectMetadataId": [
- 492
+ 493
],
"options": [
289
@@ -3056,7 +3056,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"name": [
1
@@ -3070,7 +3070,7 @@ export default {
},
"CreateIndexFieldInput": {
"fieldMetadataId": [
- 492
+ 493
],
"subFieldName": [
1
@@ -3087,7 +3087,7 @@ export default {
282
],
"objectMetadataId": [
- 492
+ 493
],
"__typename": [
1
@@ -3107,7 +3107,7 @@ export default {
289
],
"id": [
- 492
+ 493
],
"name": [
1
@@ -3125,7 +3125,7 @@ export default {
289
],
"universalIdentifier": [
- 492
+ 493
],
"workflowActionTriggerSettings": [
289
@@ -3139,7 +3139,7 @@ export default {
1
],
"unsubscribeTopicId": [
- 492
+ 493
],
"__typename": [
1
@@ -3150,13 +3150,13 @@ export default {
1
],
"folderId": [
- 492
+ 493
],
"icon": [
1
],
"id": [
- 492
+ 493
],
"link": [
1
@@ -3165,25 +3165,25 @@ export default {
1
],
"pageLayoutId": [
- 492
+ 493
],
"position": [
11
],
"targetObjectMetadataId": [
- 492
+ 493
],
"targetRecordId": [
- 492
+ 493
],
"type": [
- 346
+ 347
],
"userWorkspaceId": [
- 492
+ 493
],
"viewId": [
- 492
+ 493
],
"__typename": [
1
@@ -3262,10 +3262,10 @@ export default {
1
],
"objectMetadataId": [
- 492
+ 493
],
"type": [
- 372
+ 373
],
"__typename": [
1
@@ -3273,10 +3273,10 @@ export default {
},
"CreatePageLayoutTabInput": {
"layoutMode": [
- 371
+ 372
],
"pageLayoutId": [
- 492
+ 493
],
"position": [
11
@@ -3293,10 +3293,10 @@ export default {
289
],
"objectMetadataId": [
- 492
+ 493
],
"pageLayoutTabId": [
- 492
+ 493
],
"position": [
289
@@ -3305,7 +3305,7 @@ export default {
1
],
"type": [
- 617
+ 618
],
"__typename": [
1
@@ -3313,13 +3313,13 @@ export default {
},
"CreateRecordExportInput": {
"fieldMetadataIds": [
- 492
+ 493
],
"filter": [
289
],
"objectMetadataId": [
- 492
+ 493
],
"orderBy": [
289
@@ -3383,7 +3383,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"label": [
1
@@ -3403,7 +3403,7 @@ export default {
1
],
"visibility": [
- 496
+ 497
],
"__typename": [
1
@@ -3420,7 +3420,7 @@ export default {
80
],
"operationType": [
- 576
+ 577
],
"periodCount": [
8
@@ -3429,7 +3429,7 @@ export default {
1
],
"resourceType": [
- 583
+ 584
],
"spenderId": [
1
@@ -3438,7 +3438,7 @@ export default {
1
],
"unit": [
- 585
+ 586
],
"__typename": [
1
@@ -3449,7 +3449,7 @@ export default {
1
],
"errorFieldMetadataId": [
- 492
+ 493
],
"expression": [
1
@@ -3467,7 +3467,7 @@ export default {
1
],
"objectMetadataId": [
- 492
+ 493
],
"__typename": [
1
@@ -3475,7 +3475,7 @@ export default {
},
"CreateViewFieldGroupInput": {
"id": [
- 492
+ 493
],
"isVisible": [
4
@@ -3487,7 +3487,7 @@ export default {
11
],
"viewId": [
- 492
+ 493
],
"__typename": [
1
@@ -3498,10 +3498,10 @@ export default {
19
],
"fieldMetadataId": [
- 492
+ 493
],
"id": [
- 492
+ 493
],
"isVisible": [
4
@@ -3513,10 +3513,10 @@ export default {
11
],
"viewFieldGroupId": [
- 492
+ 493
],
"viewId": [
- 492
+ 493
],
"__typename": [
1
@@ -3524,19 +3524,19 @@ export default {
},
"CreateViewFilterGroupInput": {
"id": [
- 492
+ 493
],
"logicalOperator": [
- 605
+ 606
],
"parentViewFilterGroupId": [
- 492
+ 493
],
"positionInViewFilterGroup": [
11
],
"viewId": [
- 492
+ 493
],
"__typename": [
1
@@ -3544,19 +3544,19 @@ export default {
},
"CreateViewFilterInput": {
"fieldMetadataId": [
- 492
+ 493
],
"id": [
- 492
+ 493
],
"operand": [
- 606
+ 607
],
"positionInViewFilterGroup": [
11
],
"relationTargetFieldMetadataId": [
- 492
+ 493
],
"subFieldName": [
1
@@ -3565,10 +3565,10 @@ export default {
289
],
"viewFilterGroupId": [
- 492
+ 493
],
"viewId": [
- 492
+ 493
],
"__typename": [
1
@@ -3579,7 +3579,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isVisible": [
4
@@ -3588,7 +3588,7 @@ export default {
11
],
"viewId": [
- 492
+ 493
],
"__typename": [
1
@@ -3599,13 +3599,13 @@ export default {
1
],
"calendarEndFieldMetadataId": [
- 492
+ 493
],
"calendarFieldMetadataId": [
- 492
+ 493
],
"calendarLayout": [
- 599
+ 600
],
"groupLoadLimit": [
8
@@ -3614,7 +3614,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isCompact": [
4
@@ -3623,25 +3623,25 @@ export default {
19
],
"kanbanAggregateOperationFieldMetadataId": [
- 492
+ 493
],
"kanbanColumnWidth": [
8
],
"key": [
- 608
+ 609
],
"mainGroupByFieldMetadataId": [
- 492
+ 493
],
"name": [
1
],
"objectMetadataId": [
- 492
+ 493
],
"openRecordIn": [
- 609
+ 610
],
"position": [
11
@@ -3650,10 +3650,10 @@ export default {
4
],
"type": [
- 612
+ 613
],
"visibility": [
- 613
+ 614
],
"__typename": [
1
@@ -3661,19 +3661,19 @@ export default {
},
"CreateViewSortInput": {
"direction": [
- 611
+ 612
],
"fieldMetadataId": [
- 492
+ 493
],
"id": [
- 492
+ 493
],
"subFieldName": [
1
],
"viewId": [
- 492
+ 493
],
"__typename": [
1
@@ -3684,7 +3684,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"operations": [
1
@@ -3720,7 +3720,7 @@ export default {
"DateTime": {},
"DeleteApprovedAccessDomainInput": {
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -3728,7 +3728,7 @@ export default {
},
"DeleteOneFieldInput": {
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -3736,7 +3736,7 @@ export default {
},
"DeleteOneIndexInput": {
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -3744,7 +3744,7 @@ export default {
},
"DeleteOneObjectInput": {
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -3752,7 +3752,7 @@ export default {
},
"DeleteSso": {
"identityProviderId": [
- 492
+ 493
],
"__typename": [
1
@@ -3760,7 +3760,7 @@ export default {
},
"DeleteSsoInput": {
"identityProviderId": [
- 492
+ 493
],
"__typename": [
1
@@ -3776,7 +3776,7 @@ export default {
},
"DeleteViewFieldGroupInput": {
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -3784,7 +3784,7 @@ export default {
},
"DeleteViewFieldInput": {
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -3792,7 +3792,7 @@ export default {
},
"DeleteViewFilterInput": {
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -3800,7 +3800,7 @@ export default {
},
"DeleteViewGroupInput": {
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -3808,7 +3808,7 @@ export default {
},
"DeleteViewSortInput": {
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -3819,7 +3819,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"name": [
265
@@ -3828,7 +3828,7 @@ export default {
1
],
"userWorkspaceId": [
- 492
+ 493
],
"__typename": [
1
@@ -3836,7 +3836,7 @@ export default {
},
"DestroyViewFieldGroupInput": {
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -3844,7 +3844,7 @@ export default {
},
"DestroyViewFieldInput": {
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -3852,7 +3852,7 @@ export default {
},
"DestroyViewFilterInput": {
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -3860,7 +3860,7 @@ export default {
},
"DestroyViewGroupInput": {
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -3868,7 +3868,7 @@ export default {
},
"DestroyViewSortInput": {
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -3910,7 +3910,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isCustomDomainEnabled": [
4
@@ -3927,10 +3927,10 @@ export default {
1
],
"id": [
- 492
+ 493
],
"pageLayoutId": [
- 492
+ 493
],
"position": [
11
@@ -3953,7 +3953,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"memberCount": [
11
@@ -3973,7 +3973,7 @@ export default {
},
"EditSso": {
"id": [
- 492
+ 493
],
"issuer": [
1
@@ -3982,7 +3982,7 @@ export default {
1
],
"status": [
- 436
+ 437
],
"type": [
272
@@ -3993,10 +3993,10 @@ export default {
},
"EditSsoInput": {
"id": [
- 492
+ 493
],
"status": [
- 436
+ 437
],
"__typename": [
1
@@ -4030,7 +4030,7 @@ export default {
},
"EmailThreadConfiguration": {
"configurationType": [
- 616
+ 617
],
"__typename": [
1
@@ -4044,7 +4044,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"status": [
218
@@ -4053,13 +4053,13 @@ export default {
219
],
"unsubscribeHostnameStatus": [
- 494
+ 495
],
"updatedAt": [
187
],
"verificationRecords": [
- 594
+ 595
],
"verifiedAt": [
187
@@ -4072,7 +4072,7 @@ export default {
"EmailingDomainTenantStatus": {},
"EmailsConfiguration": {
"configurationType": [
- 616
+ 617
],
"__typename": [
1
@@ -4324,10 +4324,10 @@ export default {
1
],
"metadataEvents": [
- 331
+ 332
],
"objectRecordEventsWithQueryIds": [
- 361
+ 362
],
"queueJobEvents": [
292
@@ -4338,7 +4338,7 @@ export default {
},
"ExecuteOneLogicFunctionInput": {
"id": [
- 492
+ 493
],
"payload": [
289
@@ -4361,7 +4361,7 @@ export default {
"FeatureFlagKey": {},
"Field": {
"applicationId": [
- 492
+ 493
],
"createdAt": [
187
@@ -4376,7 +4376,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isActive": [
4
@@ -4409,25 +4409,25 @@ export default {
1
],
"morphId": [
- 492
+ 493
],
"morphRelations": [
- 412
+ 413
],
"name": [
1
],
"object": [
- 348
+ 349
],
"objectMetadataId": [
- 492
+ 493
],
"options": [
289
],
"relation": [
- 412
+ 413
],
"settings": [
289
@@ -4442,7 +4442,7 @@ export default {
187
],
"writability": [
- 338
+ 339
],
"__typename": [
1
@@ -4450,7 +4450,7 @@ export default {
},
"FieldConfiguration": {
"configurationType": [
- 616
+ 617
],
"fieldDisplayMode": [
245
@@ -4476,7 +4476,7 @@ export default {
246
],
"pageInfo": [
- 368
+ 369
],
"__typename": [
1
@@ -4499,7 +4499,7 @@ export default {
247
],
"id": [
- 493
+ 494
],
"isActive": [
108
@@ -4514,7 +4514,7 @@ export default {
108
],
"objectMetadataId": [
- 493
+ 494
],
"or": [
247
@@ -4532,16 +4532,16 @@ export default {
4
],
"fieldMetadataId": [
- 492
+ 493
],
"id": [
- 492
+ 493
],
"objectMetadataId": [
- 492
+ 493
],
"roleId": [
- 492
+ 493
],
"__typename": [
1
@@ -4555,10 +4555,10 @@ export default {
4
],
"fieldMetadataId": [
- 492
+ 493
],
"objectMetadataId": [
- 492
+ 493
],
"__typename": [
1
@@ -4566,7 +4566,7 @@ export default {
},
"FieldRichTextConfiguration": {
"configurationType": [
- 616
+ 617
],
"__typename": [
1
@@ -4574,7 +4574,7 @@ export default {
},
"FieldsConfiguration": {
"configurationType": [
- 616
+ 617
],
"newFieldDefaultVisibility": [
4
@@ -4594,7 +4594,7 @@ export default {
187
],
"id": [
- 492
+ 493
],
"path": [
1
@@ -4611,7 +4611,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -4626,7 +4626,7 @@ export default {
187
],
"fileId": [
- 492
+ 493
],
"uploadUrl": [
1
@@ -4640,7 +4640,7 @@ export default {
187
],
"id": [
- 492
+ 493
],
"path": [
1
@@ -4657,7 +4657,7 @@ export default {
},
"FilesConfiguration": {
"configurationType": [
- 616
+ 617
],
"__typename": [
1
@@ -4665,7 +4665,7 @@ export default {
},
"FindAvailableSSOIDP": {
"id": [
- 492
+ 493
],
"issuer": [
1
@@ -4674,13 +4674,13 @@ export default {
1
],
"status": [
- 436
+ 437
],
"type": [
272
],
"workspace": [
- 636
+ 637
],
"__typename": [
1
@@ -4694,13 +4694,13 @@ export default {
8
],
"reason": [
- 329
+ 330
],
"searchTerm": [
1
],
"unsubscribeTopicId": [
- 492
+ 493
],
"__typename": [
1
@@ -4708,7 +4708,7 @@ export default {
},
"FormFieldConfiguration": {
"configurationType": [
- 616
+ 617
],
"fieldMetadataId": [
1
@@ -4722,7 +4722,7 @@ export default {
1
],
"applicationId": [
- 492
+ 493
],
"applicationName": [
1
@@ -4752,7 +4752,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isHeadless": [
4
@@ -4764,7 +4764,7 @@ export default {
1
],
"universalIdentifier": [
- 492
+ 493
],
"updatedAt": [
187
@@ -4781,13 +4781,13 @@ export default {
},
"FrontComponentConfiguration": {
"configurationType": [
- 616
+ 617
],
"frontComponentId": [
- 492
+ 493
],
"headerCommandMenuItemUniversalIdentifiers": [
- 492
+ 493
],
"__typename": [
1
@@ -4795,10 +4795,10 @@ export default {
},
"FrontComponentWidgetAvailability": {
"objectMetadataId": [
- 492
+ 493
],
"pageLayoutType": [
- 372
+ 373
],
"__typename": [
1
@@ -4817,7 +4817,7 @@ export default {
},
"GetApiKeyInput": {
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -4828,7 +4828,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"type": [
1
@@ -4839,7 +4839,7 @@ export default {
},
"GetAuthorizationUrlForSSOInput": {
"identityProviderId": [
- 492
+ 493
],
"workspaceInviteHash": [
1
@@ -4850,7 +4850,7 @@ export default {
},
"GrantApplicationCapabilitiesInput": {
"applicationId": [
- 492
+ 493
],
"capabilities": [
1
@@ -4880,7 +4880,7 @@ export default {
"IdentityProviderType": {},
"IframeConfiguration": {
"configurationType": [
- 616
+ 617
],
"url": [
1
@@ -4939,7 +4939,7 @@ export default {
65
],
"workspace": [
- 640
+ 641
],
"__typename": [
1
@@ -4950,7 +4950,7 @@ export default {
187
],
"id": [
- 492
+ 493
],
"indexFieldMetadataList": [
280
@@ -4993,10 +4993,10 @@ export default {
187
],
"fieldMetadataId": [
- 492
+ 493
],
"id": [
- 492
+ 493
],
"order": [
11
@@ -5016,7 +5016,7 @@ export default {
281
],
"id": [
- 493
+ 494
],
"isCustom": [
108
@@ -5031,7 +5031,7 @@ export default {
"IndexType": {},
"IngestAppMessagesInput": {
"messageChannelId": [
- 492
+ 493
],
"messages": [
34
@@ -5053,10 +5053,10 @@ export default {
1
],
"messageId": [
- 492
+ 493
],
"messageThreadId": [
- 492
+ 493
],
"__typename": [
1
@@ -5123,7 +5123,7 @@ export default {
},
"LineChartConfiguration": {
"aggregateFieldMetadataId": [
- 492
+ 493
],
"aggregateOperation": [
19
@@ -5135,7 +5135,7 @@ export default {
1
],
"configurationType": [
- 616
+ 617
],
"description": [
1
@@ -5165,10 +5165,10 @@ export default {
4
],
"primaryAxisDateGranularity": [
- 362
+ 363
],
"primaryAxisGroupByFieldMetadataId": [
- 492
+ 493
],
"primaryAxisGroupBySubFieldName": [
1
@@ -5186,10 +5186,10 @@ export default {
11
],
"secondaryAxisGroupByDateGranularity": [
- 362
+ 363
],
"secondaryAxisGroupByFieldMetadataId": [
- 492
+ 493
],
"secondaryAxisGroupBySubFieldName": [
1
@@ -5241,7 +5241,7 @@ export default {
289
],
"objectMetadataId": [
- 492
+ 493
],
"__typename": [
1
@@ -5288,7 +5288,7 @@ export default {
},
"ListAppMessageChannelsInput": {
"connectedAccountId": [
- 492
+ 493
],
"__typename": [
1
@@ -5307,7 +5307,7 @@ export default {
},
"LogicFunction": {
"applicationId": [
- 492
+ 493
],
"canRunOnDemand": [
4
@@ -5334,7 +5334,7 @@ export default {
289
],
"id": [
- 492
+ 493
],
"name": [
1
@@ -5352,7 +5352,7 @@ export default {
289
],
"universalIdentifier": [
- 492
+ 493
],
"updatedAt": [
187
@@ -5402,7 +5402,7 @@ export default {
1
],
"universalIdentifier": [
- 492
+ 493
],
"__typename": [
1
@@ -5410,19 +5410,19 @@ export default {
},
"LogicFunctionLogsInput": {
"applicationId": [
- 492
+ 493
],
"applicationUniversalIdentifier": [
- 492
+ 493
],
"id": [
- 492
+ 493
],
"name": [
1
],
"universalIdentifier": [
- 492
+ 493
],
"__typename": [
1
@@ -5517,6 +5517,9 @@ export default {
"name": [
1
],
+ "objects": [
+ 311
+ ],
"pricingDescription": [
1
],
@@ -5524,7 +5527,7 @@ export default {
1
],
"roles": [
- 311
+ 312
],
"screenshots": [
1
@@ -5548,6 +5551,20 @@ export default {
1
]
},
+ "MarketplaceAppObject": {
+ "labelPlural": [
+ 1
+ ],
+ "labelSingular": [
+ 1
+ ],
+ "universalIdentifier": [
+ 1
+ ],
+ "__typename": [
+ 1
+ ]
+ },
"MarketplaceAppRole": {
"canAccessAllTools": [
4
@@ -5571,7 +5588,7 @@ export default {
1
],
"fieldPermissions": [
- 312
+ 313
],
"icon": [
1
@@ -5580,7 +5597,7 @@ export default {
1
],
"objectPermissions": [
- 313
+ 314
],
"permissionFlagUniversalIdentifiers": [
1
@@ -5637,7 +5654,7 @@ export default {
},
"MessageCampaignBodyConfiguration": {
"configurationType": [
- 616
+ 617
],
"__typename": [
1
@@ -5645,7 +5662,7 @@ export default {
},
"MessageCampaignDetailsConfiguration": {
"configurationType": [
- 616
+ 617
],
"__typename": [
1
@@ -5656,10 +5673,10 @@ export default {
140
],
"connectedAccountId": [
- 492
+ 493
],
"contactAutoCreationPolicy": [
- 317
+ 318
],
"createdAt": [
187
@@ -5677,7 +5694,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isContactAutoCreationEnabled": [
4
@@ -5686,19 +5703,19 @@ export default {
4
],
"messageFolderImportPolicy": [
- 324
+ 325
],
"pendingGroupEmailsAction": [
- 318
+ 319
],
"syncStage": [
- 319
+ 320
],
"syncStageStartedAt": [
187
],
"syncStatus": [
- 320
+ 321
],
"syncedAt": [
187
@@ -5710,13 +5727,13 @@ export default {
187
],
"type": [
- 321
+ 322
],
"updatedAt": [
187
],
"visibility": [
- 322
+ 323
],
"__typename": [
1
@@ -5736,7 +5753,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isSentFolder": [
4
@@ -5745,7 +5762,7 @@ export default {
4
],
"messageChannelId": [
- 492
+ 493
],
"name": [
1
@@ -5754,7 +5771,7 @@ export default {
1
],
"pendingSyncAction": [
- 325
+ 326
],
"updatedAt": [
187
@@ -5774,16 +5791,16 @@ export default {
1
],
"id": [
- 492
+ 493
],
"reason": [
- 329
+ 330
],
"source": [
- 330
+ 331
],
"unsubscribeTopicId": [
- 492
+ 493
],
"__typename": [
1
@@ -5791,7 +5808,7 @@ export default {
},
"MessageSuppressionList": {
"records": [
- 327
+ 328
],
"totalCount": [
8
@@ -5807,13 +5824,13 @@ export default {
1
],
"properties": [
- 360
+ 361
],
"recordId": [
1
],
"type": [
- 332
+ 333
],
"updatedCollectionHash": [
1
@@ -5835,16 +5852,16 @@ export default {
1
],
"objectMetadataId": [
- 492
+ 493
],
"property": [
1
],
"provenance": [
- 336
+ 337
],
"recordId": [
- 492
+ 493
],
"sourceValue": [
1
@@ -5873,13 +5890,13 @@ export default {
"MetadataTranslationProvenance": {},
"MetadataTranslationsInput": {
"fieldMetadataId": [
- 492
+ 493
],
"locale": [
1
],
"objectMetadataId": [
- 492
+ 493
],
"__typename": [
1
@@ -5891,10 +5908,10 @@ export default {
135
],
"objectMetadataItems": [
- 340
+ 341
],
"views": [
- 341
+ 342
],
"__typename": [
1
@@ -5908,7 +5925,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isActive": [
4
@@ -5937,16 +5954,16 @@ export default {
},
"MinimalView": {
"id": [
- 492
+ 493
],
"key": [
- 608
+ 609
],
"objectMetadataId": [
- 492
+ 493
],
"type": [
- 612
+ 613
],
"__typename": [
1
@@ -5955,16 +5972,16 @@ export default {
"ModelFamily": {},
"Mutation": {
"activateSkill": [
- 459,
+ 460,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
],
"activateWorkspace": [
- 621,
+ 622,
{
"data": [
0,
@@ -5985,10 +6002,10 @@ export default {
4,
{
"assigneeWorkspaceMemberId": [
- 492
+ 493
],
"threadId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -5997,11 +6014,11 @@ export default {
4,
{
"agentId": [
- 492,
+ 493,
"UUID!"
],
"roleId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -6010,11 +6027,11 @@ export default {
4,
{
"apiKeyId": [
- 492,
+ 493,
"UUID!"
],
"roleId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -6082,7 +6099,7 @@ export default {
"BillingPlanKey!"
],
"recurringInterval": [
- 465,
+ 466,
"SubscriptionInterval!"
],
"requirePaymentMethod": [
@@ -6107,7 +6124,7 @@ export default {
54,
{
"fileId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -6120,13 +6137,13 @@ export default {
"String!"
],
"fileIds": [
- 492,
+ 493,
"[UUID!]!"
]
}
],
"completeBookCallOnboardingStep": [
- 366,
+ 367,
{
"hasBookedCall": [
4,
@@ -6188,7 +6205,7 @@ export default {
}
],
"createAppMessageChannel": [
- 316,
+ 317,
{
"input": [
146,
@@ -6315,7 +6332,7 @@ export default {
}
],
"createManyNavigationMenuItems": [
- 345,
+ 346,
{
"inputs": [
163,
@@ -6324,7 +6341,7 @@ export default {
}
],
"createManyViewFieldGroups": [
- 602,
+ 603,
{
"inputs": [
177,
@@ -6333,7 +6350,7 @@ export default {
}
],
"createManyViewFields": [
- 601,
+ 602,
{
"inputs": [
178,
@@ -6342,7 +6359,7 @@ export default {
}
],
"createManyViewGroups": [
- 607,
+ 608,
{
"inputs": [
181,
@@ -6351,7 +6368,7 @@ export default {
}
],
"createMessageSuppression": [
- 327,
+ 328,
{
"input": [
162,
@@ -6360,7 +6377,7 @@ export default {
}
],
"createNavigationMenuItem": [
- 345,
+ 346,
{
"input": [
163,
@@ -6386,10 +6403,10 @@ export default {
}
],
"createOIDCIdentityProvider": [
- 456,
+ 457,
{
"input": [
- 454,
+ 455,
"SetupOIDCSsoInput!"
]
}
@@ -6402,14 +6419,14 @@ export default {
"String!"
],
"objectMetadataId": [
- 492,
+ 493,
"UUID!"
],
"properties": [
289
],
"recordId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -6451,7 +6468,7 @@ export default {
}
],
"createOneObject": [
- 348,
+ 349,
{
"input": [
167,
@@ -6460,7 +6477,7 @@ export default {
}
],
"createOneRole": [
- 419,
+ 420,
{
"createRoleInput": [
172,
@@ -6469,7 +6486,7 @@ export default {
}
],
"createPageLayout": [
- 369,
+ 370,
{
"input": [
168,
@@ -6478,7 +6495,7 @@ export default {
}
],
"createPageLayoutTab": [
- 370,
+ 371,
{
"input": [
169,
@@ -6487,7 +6504,7 @@ export default {
}
],
"createPageLayoutWidget": [
- 373,
+ 374,
{
"input": [
170,
@@ -6496,7 +6513,7 @@ export default {
}
],
"createPublicDomain": [
- 390,
+ 391,
{
"applicationId": [
1,
@@ -6509,16 +6526,16 @@ export default {
}
],
"createSAMLIdentityProvider": [
- 456,
+ 457,
{
"input": [
- 455,
+ 456,
"SetupSAMLSsoInput!"
]
}
],
"createSkill": [
- 459,
+ 460,
{
"input": [
173,
@@ -6538,7 +6555,7 @@ export default {
"BillingPlanKey!"
],
"recurringInterval": [
- 465,
+ 466,
"SubscriptionInterval!"
],
"requirePaymentMethod": [
@@ -6551,7 +6568,7 @@ export default {
}
],
"createUnsubscribeTopic": [
- 495,
+ 496,
{
"input": [
174,
@@ -6560,7 +6577,7 @@ export default {
}
],
"createUsageLimit": [
- 574,
+ 575,
{
"input": [
175,
@@ -6569,7 +6586,7 @@ export default {
}
],
"createValidationRule": [
- 593,
+ 594,
{
"input": [
176,
@@ -6578,7 +6595,7 @@ export default {
}
],
"createView": [
- 598,
+ 599,
{
"input": [
182,
@@ -6587,7 +6604,7 @@ export default {
}
],
"createViewField": [
- 601,
+ 602,
{
"input": [
178,
@@ -6596,7 +6613,7 @@ export default {
}
],
"createViewFieldGroup": [
- 602,
+ 603,
{
"input": [
177,
@@ -6605,7 +6622,7 @@ export default {
}
],
"createViewFilter": [
- 603,
+ 604,
{
"input": [
180,
@@ -6614,7 +6631,7 @@ export default {
}
],
"createViewFilterGroup": [
- 604,
+ 605,
{
"input": [
179,
@@ -6623,7 +6640,7 @@ export default {
}
],
"createViewGroup": [
- 607,
+ 608,
{
"input": [
181,
@@ -6632,7 +6649,7 @@ export default {
}
],
"createViewSort": [
- 610,
+ 611,
{
"input": [
183,
@@ -6641,7 +6658,7 @@ export default {
}
],
"createWebhook": [
- 614,
+ 615,
{
"input": [
184,
@@ -6650,10 +6667,10 @@ export default {
}
],
"deactivateSkill": [
- 459,
+ 460,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
@@ -6671,10 +6688,10 @@ export default {
}
],
"deleteAppMessageChannel": [
- 316,
+ 317,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
@@ -6701,7 +6718,7 @@ export default {
136,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
@@ -6710,19 +6727,19 @@ export default {
140,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
],
"deleteCurrentWorkspace": [
- 621
+ 622
],
"deleteEmailGroupChannel": [
- 316,
+ 317,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
@@ -6740,16 +6757,16 @@ export default {
262,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
],
"deleteManyNavigationMenuItems": [
- 345,
+ 346,
{
"ids": [
- 492,
+ 493,
"[UUID!]!"
]
}
@@ -6758,16 +6775,16 @@ export default {
4,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
],
"deleteNavigationMenuItem": [
- 345,
+ 346,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
@@ -6809,7 +6826,7 @@ export default {
}
],
"deleteOneObject": [
- 348,
+ 349,
{
"input": [
191,
@@ -6821,7 +6838,7 @@ export default {
1,
{
"roleId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -6839,7 +6856,7 @@ export default {
4,
{
"messageId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -6854,10 +6871,10 @@ export default {
}
],
"deleteSkill": [
- 459,
+ 460,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
@@ -6866,7 +6883,7 @@ export default {
194,
{
"twoFactorAuthenticationMethodId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -6884,16 +6901,16 @@ export default {
4,
{
"usageLimitId": [
- 492,
+ 493,
"UUID!"
]
}
],
"deleteUser": [
- 587
+ 588
],
"deleteUserFromWorkspace": [
- 590,
+ 591,
{
"workspaceMemberIdToDelete": [
1,
@@ -6902,10 +6919,10 @@ export default {
}
],
"deleteValidationRule": [
- 593,
+ 594,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
@@ -6920,7 +6937,7 @@ export default {
}
],
"deleteViewField": [
- 601,
+ 602,
{
"input": [
196,
@@ -6929,7 +6946,7 @@ export default {
}
],
"deleteViewFieldGroup": [
- 602,
+ 603,
{
"input": [
195,
@@ -6938,7 +6955,7 @@ export default {
}
],
"deleteViewFilter": [
- 603,
+ 604,
{
"input": [
197,
@@ -6956,7 +6973,7 @@ export default {
}
],
"deleteViewGroup": [
- 607,
+ 608,
{
"input": [
198,
@@ -6974,10 +6991,10 @@ export default {
}
],
"deleteWebhook": [
- 614,
+ 615,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
@@ -7028,7 +7045,7 @@ export default {
}
],
"destroyViewField": [
- 601,
+ 602,
{
"input": [
202,
@@ -7037,7 +7054,7 @@ export default {
}
],
"destroyViewFieldGroup": [
- 602,
+ 603,
{
"input": [
201,
@@ -7046,7 +7063,7 @@ export default {
}
],
"destroyViewFilter": [
- 603,
+ 604,
{
"input": [
203,
@@ -7064,7 +7081,7 @@ export default {
}
],
"destroyViewGroup": [
- 607,
+ 608,
{
"input": [
204,
@@ -7085,7 +7102,7 @@ export default {
140,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
@@ -7094,7 +7111,7 @@ export default {
209,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
@@ -7103,7 +7120,7 @@ export default {
210,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
@@ -7128,7 +7145,7 @@ export default {
"String!"
],
"workspaceId": [
- 492
+ 493
]
}
],
@@ -7154,7 +7171,7 @@ export default {
}
],
"enrichWorkspaceCompany": [
- 625
+ 626
],
"executeOneLogicFunction": [
303,
@@ -7169,7 +7186,7 @@ export default {
30,
{
"apiKeyId": [
- 492,
+ 493,
"UUID!"
],
"expiresAt": [
@@ -7182,7 +7199,7 @@ export default {
59,
{
"applicationId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -7191,16 +7208,16 @@ export default {
65
],
"generateTransientToken": [
- 475
+ 476
],
"generateTwoFactorAuthenticationRecoveryCode": [
- 489,
+ 490,
{
"otp": [
1
],
"userId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -7248,7 +7265,7 @@ export default {
}
],
"getAuthTokensFromTwoFactorAuthenticationRecoveryCode": [
- 490,
+ 491,
{
"captchaToken": [
1
@@ -7303,7 +7320,7 @@ export default {
}
],
"goBackToPreviousOnboardingStep": [
- 365
+ 366
],
"grantApplicationCapabilities": [
38,
@@ -7318,11 +7335,11 @@ export default {
277,
{
"userId": [
- 492,
+ 493,
"UUID!"
],
"workspaceId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -7386,20 +7403,20 @@ export default {
4,
{
"input": [
- 414,
+ 415,
"RemoveQueryFromEventStreamInput!"
]
}
],
"removeRecordShare": [
- 406,
+ 407,
{
"principal": [
- 403,
+ 404,
"RecordSharePrincipalInput!"
],
"target": [
- 411,
+ 412,
"RecordTargetInput!"
]
}
@@ -7408,7 +7425,7 @@ export default {
4,
{
"agentId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -7435,13 +7452,13 @@ export default {
4,
{
"input": [
- 415,
+ 416,
"ReportAppConnectionAuthFailureInput!"
]
}
],
"resendEmailVerificationToken": [
- 416,
+ 417,
{
"email": [
1,
@@ -7454,7 +7471,7 @@ export default {
}
],
"resendWorkspaceInvitation": [
- 446,
+ 447,
{
"appTokenId": [
1,
@@ -7466,13 +7483,13 @@ export default {
136,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
],
"resetPageLayoutTabToDefault": [
- 370,
+ 371,
{
"id": [
1,
@@ -7481,7 +7498,7 @@ export default {
}
],
"resetPageLayoutToDefault": [
- 369,
+ 370,
{
"id": [
1,
@@ -7490,7 +7507,7 @@ export default {
}
],
"resetPageLayoutWidgetToDefault": [
- 373,
+ 374,
{
"id": [
1,
@@ -7499,22 +7516,22 @@ export default {
}
],
"resetTimelineActivityType": [
- 470,
+ 471,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
],
"retryChatMessage": [
- 439,
+ 440,
{
"modelId": [
1
],
"threadId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -7526,7 +7543,7 @@ export default {
28,
{
"input": [
- 417,
+ 418,
"RevokeApiKeyInput!"
]
}
@@ -7535,7 +7552,7 @@ export default {
4,
{
"applicationAuthorizationId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -7544,7 +7561,7 @@ export default {
4,
{
"userId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -7553,13 +7570,13 @@ export default {
4,
{
"userSessionId": [
- 492,
+ 493,
"UUID!"
]
}
],
"rotateApplicationRegistrationClientSecret": [
- 421,
+ 422,
{
"id": [
1,
@@ -7568,10 +7585,10 @@ export default {
}
],
"runAgent": [
- 432,
+ 433,
{
"input": [
- 428,
+ 429,
"RunAgentInput!"
]
}
@@ -7580,7 +7597,7 @@ export default {
52,
{
"applicationId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -7597,12 +7614,12 @@ export default {
"String!"
],
"id": [
- 492
+ 493
]
}
],
"sendChatMessage": [
- 439,
+ 440,
{
"browsingContext": [
289
@@ -7612,11 +7629,11 @@ export default {
"[FileAttachmentInput!]"
],
"mentionedWorkspaceMemberIds": [
- 492,
+ 493,
"[UUID!]"
],
"messageId": [
- 492,
+ 493,
"UUID!"
],
"modelId": [
@@ -7627,55 +7644,55 @@ export default {
"String!"
],
"threadId": [
- 492,
+ 493,
"UUID!"
]
}
],
"sendEmail": [
- 442,
+ 443,
{
"input": [
- 441,
+ 442,
"SendEmailInput!"
]
}
],
"sendInboxMessage": [
- 445,
+ 446,
{
"input": [
- 444,
+ 445,
"SendInboxMessageInput!"
]
}
],
"sendInvitations": [
- 446,
+ 447,
{
"emails": [
1,
"[String!]!"
],
"roleId": [
- 492
+ 493
]
}
],
"sendMessageCampaign": [
- 448,
+ 449,
{
"input": [
- 447,
+ 448,
"SendMessageCampaignInput!"
]
}
],
"sendMessageCampaignTest": [
- 443,
+ 444,
{
"input": [
- 449,
+ 450,
"SendMessageCampaignTestInput!"
]
}
@@ -7684,7 +7701,7 @@ export default {
32,
{
"input": [
- 451,
+ 452,
"SetAppKeyValueInput!"
]
}
@@ -7699,31 +7716,31 @@ export default {
}
],
"setRecordGeneralAccess": [
- 406,
+ 407,
{
"accessLevel": [
- 402,
+ 403,
"RecordShareAccessLevel!"
],
"target": [
- 411,
+ 412,
"RecordTargetInput!"
]
}
],
"setRecordShare": [
- 406,
+ 407,
{
"accessLevel": [
- 402,
+ 403,
"RecordShareAccessLevel!"
],
"principal": [
- 403,
+ 404,
"RecordSharePrincipalInput!"
],
"target": [
- 411,
+ 412,
"RecordTargetInput!"
]
}
@@ -7790,15 +7807,15 @@ export default {
}
],
"signUpInNewWorkspace": [
- 457,
+ 458,
{
"input": [
- 458
+ 459
]
}
],
"signUpInWorkspace": [
- 457,
+ 458,
{
"captchaToken": [
1
@@ -7818,7 +7835,7 @@ export default {
1
],
"workspaceId": [
- 492
+ 493
],
"workspaceInviteHash": [
1
@@ -7829,7 +7846,7 @@ export default {
}
],
"skipSyncEmailOnboardingStep": [
- 366,
+ 367,
{
"isAutoSkipped": [
4,
@@ -7841,13 +7858,13 @@ export default {
122,
{
"connectedAccountId": [
- 492,
+ 493,
"UUID!"
]
}
],
"startWorkspaceSetupChat": [
- 461,
+ 462,
{
"companyContext": [
289
@@ -7861,13 +7878,13 @@ export default {
4,
{
"threadId": [
- 492,
+ 493,
"UUID!"
]
}
],
"stopImpersonation": [
- 462
+ 463
],
"switchBillingPlan": [
106
@@ -7876,7 +7893,7 @@ export default {
106
],
"syncApplication": [
- 635,
+ 636,
{
"dryRun": [
4
@@ -7925,55 +7942,55 @@ export default {
}
],
"triggerAddPeopleToMessageListJob": [
- 477,
+ 478,
{
"input": [
- 476,
+ 477,
"TriggerAddPeopleToMessageListJobInput!"
]
}
],
"triggerInstallApplication": [
- 481,
+ 482,
{
"input": [
- 478,
+ 479,
"TriggerInstallApplicationInput!"
]
}
],
"triggerInstallApplicationJob": [
- 480,
+ 481,
{
"input": [
- 479,
+ 480,
"TriggerInstallApplicationJobInput!"
]
}
],
"triggerUninstallApplication": [
- 485,
+ 486,
{
"input": [
- 482,
+ 483,
"TriggerUninstallApplicationInput!"
]
}
],
"triggerUninstallApplicationJob": [
- 484,
+ 485,
{
"input": [
- 483,
+ 484,
"TriggerUninstallApplicationJobInput!"
]
}
],
"triggerUpgradeApplication": [
- 487,
+ 488,
{
"input": [
- 486,
+ 487,
"TriggerUpgradeApplicationInput!"
]
}
@@ -7998,7 +8015,7 @@ export default {
187
],
"threadIds": [
- 492,
+ 493,
"[UUID!]!"
]
}
@@ -8007,16 +8024,16 @@ export default {
28,
{
"input": [
- 498,
+ 499,
"UpdateApiKeyInput!"
]
}
],
"updateAppMessageChannel": [
- 316,
+ 317,
{
"input": [
- 499,
+ 500,
"UpdateAppMessageChannelInput!"
]
}
@@ -8025,11 +8042,11 @@ export default {
36,
{
"id": [
- 492,
+ 493,
"UUID!"
],
"input": [
- 500,
+ 501,
"UpdateApplicationInput!"
]
}
@@ -8038,7 +8055,7 @@ export default {
54,
{
"input": [
- 501,
+ 502,
"UpdateApplicationRegistrationInput!"
]
}
@@ -8047,7 +8064,7 @@ export default {
58,
{
"input": [
- 503,
+ 504,
"UpdateApplicationRegistrationVariableInput!"
]
}
@@ -8056,7 +8073,7 @@ export default {
109,
{
"input": [
- 505,
+ 506,
"UpdateCalendarChannelInput!"
]
}
@@ -8065,16 +8082,16 @@ export default {
136,
{
"input": [
- 507,
+ 508,
"UpdateCommandMenuItemInput!"
]
}
],
"updateEmailGroupChannel": [
- 316,
+ 317,
{
"input": [
- 508,
+ 509,
"UpdateEmailGroupChannelInput!"
]
}
@@ -8083,7 +8100,7 @@ export default {
262,
{
"input": [
- 510,
+ 511,
"UpdateFrontComponentInput!"
]
}
@@ -8092,61 +8109,61 @@ export default {
240,
{
"input": [
- 512,
+ 513,
"UpdateLabPublicFeatureFlagInput!"
]
}
],
"updateManyNavigationMenuItems": [
- 345,
+ 346,
{
"inputs": [
- 523,
+ 524,
"[UpdateOneNavigationMenuItemInput!]!"
]
}
],
"updateManyObjects": [
- 348,
+ 349,
{
"inputs": [
- 524,
+ 525,
"[UpdateOneObjectInput!]!"
]
}
],
"updateManyViewGroups": [
- 607,
+ 608,
{
"inputs": [
- 546,
+ 547,
"[UpdateViewGroupInput!]!"
]
}
],
"updateMessageChannel": [
- 316,
+ 317,
{
"input": [
- 515,
+ 516,
"UpdateMessageChannelInput!"
]
}
],
"updateMessageFolder": [
- 323,
+ 324,
{
"input": [
- 517,
+ 518,
"UpdateMessageFolderInput!"
]
}
],
"updateMessageFolders": [
- 323,
+ 324,
{
"input": [
- 519,
+ 520,
"UpdateMessageFoldersInput!"
]
}
@@ -8169,10 +8186,10 @@ export default {
}
],
"updateNavigationMenuItem": [
- 345,
+ 346,
{
"input": [
- 523,
+ 524,
"UpdateOneNavigationMenuItemInput!"
]
}
@@ -8181,7 +8198,7 @@ export default {
3,
{
"input": [
- 497,
+ 498,
"UpdateAgentInput!"
]
}
@@ -8190,7 +8207,7 @@ export default {
4,
{
"applicationId": [
- 492
+ 493
],
"key": [
1,
@@ -8206,7 +8223,7 @@ export default {
242,
{
"input": [
- 522,
+ 523,
"UpdateOneFieldMetadataInput!"
]
}
@@ -8215,77 +8232,77 @@ export default {
4,
{
"input": [
- 513,
+ 514,
"UpdateLogicFunctionFromSourceInput!"
]
}
],
"updateOneObject": [
- 348,
+ 349,
{
"input": [
- 524,
+ 525,
"UpdateOneObjectInput!"
]
}
],
"updateOneRole": [
- 419,
+ 420,
{
"updateRoleInput": [
- 531,
+ 532,
"UpdateRoleInput!"
]
}
],
"updatePageLayout": [
- 369,
+ 370,
{
"id": [
1,
"String!"
],
"input": [
- 525,
+ 526,
"UpdatePageLayoutInput!"
]
}
],
"updatePageLayoutTab": [
- 370,
+ 371,
{
"id": [
1,
"String!"
],
"input": [
- 526,
+ 527,
"UpdatePageLayoutTabInput!"
]
}
],
"updatePageLayoutWidget": [
- 373,
+ 374,
{
"id": [
1,
"String!"
],
"input": [
- 528,
+ 529,
"UpdatePageLayoutWidgetInput!"
]
}
],
"updatePageLayoutWithTabsAndWidgets": [
- 369,
+ 370,
{
"id": [
1,
"String!"
],
"input": [
- 530,
+ 531,
"UpdatePageLayoutWithTabsInput!"
]
}
@@ -8304,37 +8321,37 @@ export default {
}
],
"updateSkill": [
- 459,
+ 460,
{
"input": [
- 533,
+ 534,
"UpdateSkillInput!"
]
}
],
"updateTimelineActivityType": [
- 470,
+ 471,
{
"input": [
- 534,
+ 535,
"UpdateTimelineActivityTypeInput!"
]
}
],
"updateUnsubscribeTopic": [
- 495,
+ 496,
{
"input": [
- 535,
+ 536,
"UpdateUnsubscribeTopicInput!"
]
}
],
"updateUsageLimit": [
- 574,
+ 575,
{
"input": [
- 536,
+ 537,
"UpdateUsageLimitInput!"
]
}
@@ -8352,121 +8369,121 @@ export default {
}
],
"updateValidationRule": [
- 593,
+ 594,
{
"input": [
- 537,
+ 538,
"UpdateValidationRuleInput!"
]
}
],
"updateView": [
- 598,
+ 599,
{
"id": [
1,
"String!"
],
"input": [
- 548,
+ 549,
"UpdateViewInput!"
]
}
],
"updateViewField": [
- 601,
+ 602,
{
"input": [
- 541,
+ 542,
"UpdateViewFieldInput!"
]
}
],
"updateViewFieldGroup": [
- 602,
+ 603,
{
"input": [
- 539,
+ 540,
"UpdateViewFieldGroupInput!"
]
}
],
"updateViewFilter": [
- 603,
+ 604,
{
"input": [
- 544,
+ 545,
"UpdateViewFilterInput!"
]
}
],
"updateViewFilterGroup": [
- 604,
+ 605,
{
"id": [
1,
"String!"
],
"input": [
- 543,
+ 544,
"UpdateViewFilterGroupInput!"
]
}
],
"updateViewGroup": [
- 607,
+ 608,
{
"input": [
- 546,
+ 547,
"UpdateViewGroupInput!"
]
}
],
"updateViewSort": [
- 610,
+ 611,
{
"input": [
- 549,
+ 550,
"UpdateViewSortInput!"
]
}
],
"updateWebhook": [
- 614,
+ 615,
{
"input": [
- 551,
+ 552,
"UpdateWebhookInput!"
]
}
],
"updateWorkspace": [
- 621,
+ 622,
{
"data": [
- 554,
+ 555,
"UpdateWorkspaceInput!"
]
}
],
"updateWorkspaceAllowedIframeOrigins": [
- 621,
+ 622,
{
"data": [
- 553,
+ 554,
"UpdateWorkspaceAllowedIframeOriginsInput!"
]
}
],
"updateWorkspaceMemberRole": [
- 630,
+ 631,
{
"roleId": [
- 492,
+ 493,
"UUID!"
],
"workspaceMemberId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -8475,7 +8492,7 @@ export default {
4,
{
"input": [
- 555,
+ 556,
"UpdateWorkspaceMemberSettingsInput!"
]
}
@@ -8497,7 +8514,7 @@ export default {
54,
{
"file": [
- 556,
+ 557,
"Upload!"
],
"universalIdentifier": [
@@ -8513,7 +8530,7 @@ export default {
"String!"
],
"file": [
- 556,
+ 557,
"Upload!"
],
"fileFolder": [
@@ -8534,7 +8551,7 @@ export default {
"String!"
],
"file": [
- 556,
+ 557,
"Upload!"
]
}
@@ -8543,7 +8560,7 @@ export default {
257,
{
"file": [
- 556,
+ 557,
"Upload!"
],
"workspaceId": [
@@ -8556,7 +8573,7 @@ export default {
257,
{
"file": [
- 556,
+ 557,
"Upload!"
]
}
@@ -8565,7 +8582,7 @@ export default {
257,
{
"file": [
- 556,
+ 557,
"Upload!"
]
}
@@ -8574,52 +8591,52 @@ export default {
249,
{
"upsertFieldPermissionsInput": [
- 557,
+ 558,
"UpsertFieldPermissionsInput!"
]
}
],
"upsertFieldsWidget": [
- 598,
+ 599,
{
"input": [
- 560,
+ 561,
"UpsertFieldsWidgetInput!"
]
}
],
"upsertObjectPermissions": [
- 356,
+ 357,
{
"upsertObjectPermissionsInput": [
- 561,
+ 562,
"UpsertObjectPermissionsInput!"
]
}
],
"upsertPermissionFlags": [
- 420,
+ 421,
{
"upsertPermissionFlagsInput": [
- 562,
+ 563,
"UpsertPermissionFlagsInput!"
]
}
],
"upsertRowLevelPermissionPredicates": [
- 564,
+ 565,
{
"input": [
- 563,
+ 564,
"UpsertRowLevelPermissionPredicatesInput!"
]
}
],
"upsertViewWidget": [
- 598,
+ 599,
{
"input": [
- 565,
+ 566,
"UpsertViewWidgetInput!"
]
}
@@ -8628,13 +8645,13 @@ export default {
62,
{
"input": [
- 591,
+ 592,
"ValidateApprovedAccessDomainInput!"
]
}
],
"verifyEmailAndGetLoginToken": [
- 595,
+ 596,
{
"captchaToken": [
1
@@ -8679,7 +8696,7 @@ export default {
}
],
"verifyTwoFactorAuthenticationMethodForAuthenticatedUser": [
- 596,
+ 597,
{
"otp": [
1,
@@ -8704,7 +8721,7 @@ export default {
},
"NavigationMenuItem": {
"applicationId": [
- 492
+ 493
],
"color": [
1
@@ -8713,13 +8730,13 @@ export default {
187
],
"folderId": [
- 492
+ 493
],
"icon": [
1
],
"id": [
- 492
+ 493
],
"link": [
1
@@ -8728,31 +8745,31 @@ export default {
1
],
"pageLayoutId": [
- 492
+ 493
],
"position": [
11
],
"targetObjectMetadataId": [
- 492
+ 493
],
"targetRecordId": [
- 492
+ 493
],
"targetRecordIdentifier": [
- 399
+ 400
],
"type": [
- 346
+ 347
],
"updatedAt": [
187
],
"userWorkspaceId": [
- 492
+ 493
],
"viewId": [
- 492
+ 493
],
"__typename": [
1
@@ -8761,7 +8778,7 @@ export default {
"NavigationMenuItemType": {},
"NotesConfiguration": {
"configurationType": [
- 616
+ 617
],
"__typename": [
1
@@ -8769,7 +8786,7 @@ export default {
},
"Object": {
"applicationId": [
- 492
+ 493
],
"color": [
1
@@ -8784,7 +8801,7 @@ export default {
1
],
"fields": [
- 351,
+ 352,
{
"filter": [
247,
@@ -8803,16 +8820,16 @@ export default {
1
],
"id": [
- 492
+ 493
],
"imageIdentifierFieldMetadataId": [
- 492
+ 493
],
"indexMetadataList": [
278
],
"indexMetadatas": [
- 353,
+ 354,
{
"filter": [
281,
@@ -8849,7 +8866,7 @@ export default {
4
],
"labelIdentifierFieldMetadataId": [
- 492
+ 493
],
"labelPlural": [
1
@@ -8864,19 +8881,19 @@ export default {
1
],
"openRecordIn": [
- 355
+ 356
],
"readability": [
- 333
+ 334
],
"readabilityParentFieldUniversalIdentifiers": [
- 492
+ 493
],
"searchFieldMetadataList": [
- 438
+ 439
],
"sharingReach": [
- 363
+ 364
],
"shortcut": [
1
@@ -8888,7 +8905,7 @@ export default {
187
],
"writability": [
- 338
+ 339
],
"__typename": [
1
@@ -8896,10 +8913,10 @@ export default {
},
"ObjectConnection": {
"edges": [
- 350
+ 351
],
"pageInfo": [
- 368
+ 369
],
"__typename": [
1
@@ -8910,7 +8927,7 @@ export default {
142
],
"node": [
- 348
+ 349
],
"__typename": [
1
@@ -8921,7 +8938,7 @@ export default {
246
],
"pageInfo": [
- 368
+ 369
],
"__typename": [
1
@@ -8929,10 +8946,10 @@ export default {
},
"ObjectFilter": {
"and": [
- 352
+ 353
],
"id": [
- 493
+ 494
],
"isActive": [
108
@@ -8956,10 +8973,10 @@ export default {
108
],
"or": [
- 352
+ 353
],
"universalIdentifier": [
- 493
+ 494
],
"__typename": [
1
@@ -8970,7 +8987,7 @@ export default {
279
],
"pageInfo": [
- 368
+ 369
],
"__typename": [
1
@@ -8978,7 +8995,7 @@ export default {
},
"ObjectMetadataCommandMenuItemPayload": {
"objectMetadataItemId": [
- 492
+ 493
],
"__typename": [
1
@@ -8999,16 +9016,16 @@ export default {
4
],
"objectMetadataId": [
- 492
+ 493
],
"restrictedFields": [
289
],
"rowLevelPermissionPredicateGroups": [
- 423
+ 424
],
"rowLevelPermissionPredicates": [
- 422
+ 423
],
"__typename": [
1
@@ -9028,7 +9045,7 @@ export default {
4
],
"objectMetadataId": [
- 492
+ 493
],
"__typename": [
1
@@ -9053,7 +9070,7 @@ export default {
1
],
"properties": [
- 360
+ 361
],
"recordId": [
1
@@ -9087,7 +9104,7 @@ export default {
},
"ObjectRecordEventWithQueryIds": {
"objectRecordEvent": [
- 359
+ 360
],
"queryIds": [
1
@@ -9101,10 +9118,10 @@ export default {
"OnboardingStatus": {},
"OnboardingStepNavigation": {
"onboardingStatus": [
- 364
+ 365
],
"previousOnboardingStatus": [
- 364
+ 365
],
"__typename": [
1
@@ -9138,19 +9155,19 @@ export default {
},
"PageLayout": {
"applicationId": [
- 492
+ 493
],
"createdAt": [
187
],
"defaultTabToFocusOnMobileAndSidePanelId": [
- 492
+ 493
],
"deletedAt": [
187
],
"id": [
- 492
+ 493
],
"isFirstTabPinned": [
4
@@ -9162,16 +9179,16 @@ export default {
1
],
"objectMetadataId": [
- 492
+ 493
],
"tabs": [
- 370
+ 371
],
"type": [
- 372
+ 373
],
"universalIdentifier": [
- 492
+ 493
],
"updatedAt": [
187
@@ -9182,7 +9199,7 @@ export default {
},
"PageLayoutTab": {
"applicationId": [
- 492
+ 493
],
"createdAt": [
187
@@ -9194,7 +9211,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isActive": [
4
@@ -9206,10 +9223,10 @@ export default {
4
],
"layoutMode": [
- 371
+ 372
],
"pageLayoutId": [
- 492
+ 493
],
"position": [
11
@@ -9218,13 +9235,13 @@ export default {
1
],
"universalIdentifier": [
- 492
+ 493
],
"updatedAt": [
187
],
"widgets": [
- 373
+ 374
],
"__typename": [
1
@@ -9234,7 +9251,7 @@ export default {
"PageLayoutType": {},
"PageLayoutWidget": {
"applicationId": [
- 492
+ 493
],
"conditionalAvailabilityExpression": [
1
@@ -9243,7 +9260,7 @@ export default {
289
],
"configuration": [
- 615
+ 616
],
"createdAt": [
187
@@ -9255,7 +9272,7 @@ export default {
271
],
"id": [
- 492
+ 493
],
"isActive": [
4
@@ -9267,22 +9284,22 @@ export default {
4
],
"objectMetadataId": [
- 492
+ 493
],
"pageLayoutTabId": [
- 492
+ 493
],
"position": [
- 376
+ 377
],
"title": [
1
],
"type": [
- 617
+ 618
],
"universalIdentifier": [
- 492
+ 493
],
"updatedAt": [
187
@@ -9293,7 +9310,7 @@ export default {
},
"PageLayoutWidgetCanvasPosition": {
"layoutMode": [
- 371
+ 372
],
"__typename": [
1
@@ -9307,7 +9324,7 @@ export default {
8
],
"layoutMode": [
- 371
+ 372
],
"row": [
8
@@ -9321,13 +9338,13 @@ export default {
},
"PageLayoutWidgetPosition": {
"on_PageLayoutWidgetCanvasPosition": [
- 374
+ 375
],
"on_PageLayoutWidgetGridPosition": [
- 375
+ 376
],
"on_PageLayoutWidgetVerticalListPosition": [
- 378
+ 379
],
"__typename": [
1
@@ -9336,13 +9353,13 @@ export default {
"PageLayoutWidgetVerticalListHeightBehavior": {},
"PageLayoutWidgetVerticalListPosition": {
"heightBehavior": [
- 377
+ 378
],
"index": [
8
],
"layoutMode": [
- 371
+ 372
],
"__typename": [
1
@@ -9358,7 +9375,7 @@ export default {
},
"PermissionFlag": {
"applicationId": [
- 492
+ 493
],
"createdAt": [
187
@@ -9370,7 +9387,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"key": [
1
@@ -9382,7 +9399,7 @@ export default {
1
],
"universalIdentifier": [
- 492
+ 493
],
"updatedAt": [
187
@@ -9394,7 +9411,7 @@ export default {
"PermissionFlagType": {},
"PieChartConfiguration": {
"aggregateFieldMetadataId": [
- 492
+ 493
],
"aggregateOperation": [
19
@@ -9403,10 +9420,10 @@ export default {
1
],
"configurationType": [
- 616
+ 617
],
"dateGranularity": [
- 362
+ 363
],
"description": [
1
@@ -9424,7 +9441,7 @@ export default {
8
],
"groupByFieldMetadataId": [
- 492
+ 493
],
"groupBySubFieldName": [
1
@@ -9456,7 +9473,7 @@ export default {
},
"PieChartData": {
"data": [
- 385
+ 386
],
"formattedToRawLookup": [
289
@@ -9482,7 +9499,7 @@ export default {
289
],
"objectMetadataId": [
- 492
+ 493
],
"__typename": [
1
@@ -9535,7 +9552,7 @@ export default {
},
"PublicApplicationRegistration": {
"id": [
- 492
+ 493
],
"logoUrl": [
1
@@ -9572,7 +9589,7 @@ export default {
},
"PublicDomain": {
"applicationId": [
- 492
+ 493
],
"createdAt": [
187
@@ -9581,7 +9598,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isValidated": [
4
@@ -9595,7 +9612,7 @@ export default {
241
],
"metadata": [
- 392
+ 393
],
"__typename": [
1
@@ -9620,13 +9637,13 @@ export default {
},
"PublicImapSmtpCaldavConnectionParameters": {
"CALDAV": [
- 389
+ 390
],
"IMAP": [
- 389
+ 390
],
"SMTP": [
- 389
+ 390
],
"__typename": [
1
@@ -9643,13 +9660,13 @@ export default {
1
],
"id": [
- 492
+ 493
],
"logo": [
1
],
"workspaceUrls": [
- 639
+ 640
],
"__typename": [
1
@@ -9660,7 +9677,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"logo": [
1
@@ -9677,7 +9694,7 @@ export default {
16,
{
"agentId": [
- 492,
+ 493,
"UUID!"
],
"limit": [
@@ -9731,7 +9748,7 @@ export default {
}
],
"appMessageChannels": [
- 316,
+ 317,
{
"filter": [
299
@@ -9742,7 +9759,7 @@ export default {
39,
{
"applicationId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -9751,7 +9768,7 @@ export default {
40,
{
"applicationId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -9775,10 +9792,10 @@ export default {
}
],
"applicationSdkClientChecksums": [
- 437,
+ 438,
{
"applicationId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -9804,10 +9821,10 @@ export default {
}
],
"callRecordingIdForCalendarEvent": [
- 492,
+ 493,
{
"calendarEventId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -9816,7 +9833,7 @@ export default {
14,
{
"threadId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -9825,7 +9842,7 @@ export default {
125,
{
"threadId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -9834,7 +9851,7 @@ export default {
9,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
@@ -9852,7 +9869,7 @@ export default {
}
],
"checkWorkspaceInviteHashIsValid": [
- 629,
+ 630,
{
"inviteHash": [
1,
@@ -9861,7 +9878,7 @@ export default {
}
],
"checkWorkspaceSubdomainAvailability": [
- 463,
+ 464,
{
"subdomain": [
1,
@@ -9873,7 +9890,7 @@ export default {
136,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
@@ -9882,16 +9899,16 @@ export default {
136
],
"currentUser": [
- 587
+ 588
],
"currentUserApplicationAuthorizations": [
37
],
"currentUserSessions": [
- 589
+ 590
],
"currentWorkspace": [
- 621
+ 622
],
"enterpriseCheckoutSession": [
1,
@@ -9925,7 +9942,7 @@ export default {
42,
{
"universalIdentifier": [
- 492,
+ 493,
"UUID!"
]
}
@@ -9934,7 +9951,7 @@ export default {
242,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
@@ -9953,7 +9970,7 @@ export default {
}
],
"findApplicationRegistrationByClientId": [
- 388,
+ 389,
{
"clientId": [
1,
@@ -10030,7 +10047,7 @@ export default {
}
],
"findManyPublicDomains": [
- 390
+ 391
],
"findMarketplaceAppDetail": [
310,
@@ -10054,10 +10071,10 @@ export default {
36,
{
"id": [
- 492
+ 493
],
"universalIdentifier": [
- 492
+ 493
]
}
],
@@ -10098,10 +10115,10 @@ export default {
}
],
"findWorkspaceAiStats": [
- 623
+ 624
],
"findWorkspaceFromInviteHash": [
- 621,
+ 622,
{
"inviteHash": [
1,
@@ -10110,13 +10127,13 @@ export default {
}
],
"findWorkspaceInvitations": [
- 628
+ 629
],
"frontComponent": [
262,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
@@ -10125,7 +10142,7 @@ export default {
262
],
"getAddressDetails": [
- 386,
+ 387,
{
"placeId": [
1,
@@ -10141,7 +10158,7 @@ export default {
22
],
"getApiKeyRoles": [
- 419
+ 420
],
"getApprovedAccessDomains": [
62
@@ -10178,7 +10195,7 @@ export default {
141,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
@@ -10208,7 +10225,7 @@ export default {
}
],
"getPageLayout": [
- 369,
+ 370,
{
"id": [
1,
@@ -10217,7 +10234,7 @@ export default {
}
],
"getPageLayoutTab": [
- 370,
+ 371,
{
"id": [
1,
@@ -10226,7 +10243,7 @@ export default {
}
],
"getPageLayoutTabs": [
- 370,
+ 371,
{
"pageLayoutId": [
1,
@@ -10235,7 +10252,7 @@ export default {
}
],
"getPageLayoutWidget": [
- 373,
+ 374,
{
"id": [
1,
@@ -10244,7 +10261,7 @@ export default {
}
],
"getPageLayoutWidgets": [
- 373,
+ 374,
{
"pageLayoutTabId": [
1,
@@ -10253,21 +10270,21 @@ export default {
}
],
"getPageLayouts": [
- 369,
+ 370,
{
"objectMetadataId": [
1
],
"pageLayoutType": [
- 372
+ 373
]
}
],
"getPermissionFlags": [
- 380
+ 381
],
"getPublicWorkspaceDataByDomain": [
- 394,
+ 395,
{
"origin": [
1
@@ -10275,10 +10292,10 @@ export default {
}
],
"getPublicWorkspaceDataById": [
- 395,
+ 396,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
@@ -10287,22 +10304,22 @@ export default {
98
],
"getRole": [
- 419,
+ 420,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
],
"getRoles": [
- 419
+ 420
],
"getSSOIdentityProviders": [
259
],
"getToolIndex": [
- 474
+ 475
],
"getToolInputSchema": [
289,
@@ -10314,15 +10331,15 @@ export default {
}
],
"getUsageAnalytics": [
- 571,
+ 572,
{
"input": [
- 572
+ 573
]
}
],
"getView": [
- 598,
+ 599,
{
"id": [
1,
@@ -10331,7 +10348,7 @@ export default {
}
],
"getViewField": [
- 601,
+ 602,
{
"id": [
1,
@@ -10340,7 +10357,7 @@ export default {
}
],
"getViewFieldGroup": [
- 602,
+ 603,
{
"id": [
1,
@@ -10349,7 +10366,7 @@ export default {
}
],
"getViewFieldGroups": [
- 602,
+ 603,
{
"viewId": [
1,
@@ -10358,7 +10375,7 @@ export default {
}
],
"getViewFields": [
- 601,
+ 602,
{
"viewId": [
1,
@@ -10367,7 +10384,7 @@ export default {
}
],
"getViewFilter": [
- 603,
+ 604,
{
"id": [
1,
@@ -10376,7 +10393,7 @@ export default {
}
],
"getViewFilterGroup": [
- 604,
+ 605,
{
"id": [
1,
@@ -10385,7 +10402,7 @@ export default {
}
],
"getViewFilterGroups": [
- 604,
+ 605,
{
"viewId": [
1
@@ -10393,7 +10410,7 @@ export default {
}
],
"getViewFilters": [
- 603,
+ 604,
{
"viewId": [
1
@@ -10401,7 +10418,7 @@ export default {
}
],
"getViewGroup": [
- 607,
+ 608,
{
"id": [
1,
@@ -10410,7 +10427,7 @@ export default {
}
],
"getViewGroups": [
- 607,
+ 608,
{
"viewId": [
1
@@ -10418,7 +10435,7 @@ export default {
}
],
"getViewSort": [
- 610,
+ 611,
{
"id": [
1,
@@ -10427,7 +10444,7 @@ export default {
}
],
"getViewSorts": [
- 610,
+ 611,
{
"viewId": [
1
@@ -10435,19 +10452,19 @@ export default {
}
],
"getViews": [
- 598,
+ 599,
{
"objectMetadataId": [
1
],
"viewTypes": [
- 612,
+ 613,
"[ViewType!]"
]
}
],
"getWorkspaceCreationDefaults": [
- 626
+ 627
],
"githubClaimAuthorizationUrl": [
1,
@@ -10480,7 +10497,7 @@ export default {
89
],
"messageSuppressions": [
- 328,
+ 329,
{
"input": [
260,
@@ -10489,22 +10506,22 @@ export default {
}
],
"metadataTranslations": [
- 334,
+ 335,
{
"input": [
- 337,
+ 338,
"MetadataTranslationsInput!"
]
}
],
"minimalMetadata": [
- 339
+ 340
],
"mostlyEmptyFieldMetadataIds": [
- 492,
+ 493,
{
"objectMetadataId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -10513,7 +10530,7 @@ export default {
109,
{
"connectedAccountId": [
- 492
+ 493
]
}
],
@@ -10521,53 +10538,53 @@ export default {
140
],
"myMessageChannels": [
- 316,
+ 317,
{
"connectedAccountId": [
- 492
+ 493
]
}
],
"myMessageFolders": [
- 323,
+ 324,
{
"messageChannelId": [
- 492
+ 493
]
}
],
"myUserApplicationVariables": [
- 631
+ 632
],
"navigationMenuItem": [
- 345,
+ 346,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
],
"navigationMenuItems": [
- 345
+ 346
],
"object": [
- 348,
+ 349,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
],
"objectRecordCounts": [
- 358
+ 359
],
"objects": [
- 349,
+ 350,
{
"filter": [
- 352,
+ 353,
"ObjectFilter!"
],
"paging": [
@@ -10577,10 +10594,10 @@ export default {
}
],
"pieChartData": [
- 383,
+ 384,
{
"input": [
- 384,
+ 385,
"PieChartDataInput!"
]
}
@@ -10589,7 +10606,7 @@ export default {
117,
{
"input": [
- 387,
+ 388,
"PreviewMessageCampaignAudienceInput!"
]
}
@@ -10613,70 +10630,70 @@ export default {
}
],
"recordPermissions": [
- 401,
+ 402,
{
"targets": [
- 411,
+ 412,
"[RecordTargetInput!]!"
]
}
],
"recordSharing": [
- 406,
+ 407,
{
"target": [
- 411,
+ 412,
"RecordTargetInput!"
]
}
],
"skill": [
- 459,
+ 460,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
],
"skills": [
- 459
+ 460
],
"timelineActivityTypes": [
- 470
+ 471
],
"twoFactorAuthenticationRecoveryStatus": [
- 491,
+ 492,
{
"userId": [
- 492,
+ 493,
"UUID!"
]
}
],
"unsubscribeTopics": [
- 495
+ 496
],
"usageLimits": [
- 574
+ 575
],
"usageQuotaDefinitions": [
- 578
+ 579
],
"usageQuotaScopeConsumption": [
- 580,
+ 581,
{
"input": [
- 581,
+ 582,
"UsageQuotaScopeInput!"
]
}
],
"usageQuotasWithConsumption": [
- 582
+ 583
],
"validatePasswordResetToken": [
- 592,
+ 593,
{
"passwordResetToken": [
1,
@@ -10685,25 +10702,25 @@ export default {
}
],
"validationRules": [
- 593,
+ 594,
{
"objectMetadataId": [
- 492,
+ 493,
"UUID!"
]
}
],
"webhook": [
- 614,
+ 615,
{
"id": [
- 492,
+ 493,
"UUID!"
]
}
],
"webhooks": [
- 614
+ 615
],
"__typename": [
1
@@ -10711,7 +10728,7 @@ export default {
},
"RatioAggregateConfig": {
"fieldMetadataId": [
- 492
+ 493
],
"optionValue": [
1
@@ -10731,7 +10748,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"progress": [
8
@@ -10742,7 +10759,7 @@ export default {
},
"RecordIdentifier": {
"id": [
- 492
+ 493
],
"imageIdentifier": [
1
@@ -10773,13 +10790,13 @@ export default {
},
"RecordPermissionsResult": {
"objectMetadataId": [
- 492
+ 493
],
"permissions": [
- 400
+ 401
],
"recordId": [
- 492
+ 493
],
"__typename": [
1
@@ -10788,10 +10805,10 @@ export default {
"RecordShareAccessLevel": {},
"RecordSharePrincipalInput": {
"roleId": [
- 492
+ 493
],
"workspaceMemberId": [
- 492
+ 493
],
"__typename": [
1
@@ -10804,25 +10821,25 @@ export default {
4
],
"defaultGeneralAccessLevel": [
- 402
+ 403
],
"generalAccessLevel": [
- 402
+ 403
],
"hasManagedGeneralAccess": [
4
],
"permissions": [
- 400
+ 401
],
"roles": [
- 409
+ 410
],
"shares": [
- 407
+ 408
],
"sharingMode": [
- 408
+ 409
],
"__typename": [
1
@@ -10830,22 +10847,22 @@ export default {
},
"RecordSharingGrantDTO": {
"accessLevel": [
- 402
+ 403
],
"id": [
10
],
"principalId": [
- 492
+ 493
],
"principalRoleId": [
- 492
+ 493
],
"principalType": [
- 404
+ 405
],
"rowCause": [
- 405
+ 406
],
"__typename": [
1
@@ -10860,7 +10877,7 @@ export default {
4
],
"id": [
- 492
+ 493
],
"label": [
1
@@ -10871,7 +10888,7 @@ export default {
},
"RecordTableConfiguration": {
"configurationType": [
- 616
+ 617
],
"isUIEditable": [
4
@@ -10888,10 +10905,10 @@ export default {
},
"RecordTargetInput": {
"objectMetadataId": [
- 492
+ 493
],
"recordId": [
- 492
+ 493
],
"__typename": [
1
@@ -10902,16 +10919,16 @@ export default {
242
],
"sourceObjectMetadata": [
- 348
+ 349
],
"targetFieldMetadata": [
242
],
"targetObjectMetadata": [
- 348
+ 349
],
"type": [
- 413
+ 414
],
"__typename": [
1
@@ -10950,7 +10967,7 @@ export default {
},
"RevokeApiKeyInput": {
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -11011,7 +11028,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isEditable": [
4
@@ -11020,22 +11037,22 @@ export default {
1
],
"objectPermissions": [
- 356
+ 357
],
"permissionFlags": [
- 420
+ 421
],
"rowLevelPermissionPredicateGroups": [
- 423
+ 424
],
"rowLevelPermissionPredicates": [
- 422
+ 423
],
"universalIdentifier": [
- 492
+ 493
],
"workspaceMembers": [
- 630
+ 631
],
"__typename": [
1
@@ -11046,10 +11063,10 @@ export default {
1
],
"id": [
- 492
+ 493
],
"roleId": [
- 492
+ 493
],
"__typename": [
1
@@ -11074,7 +11091,7 @@ export default {
1
],
"operand": [
- 427
+ 428
],
"positionInRowLevelPermissionPredicateGroup": [
11
@@ -11106,7 +11123,7 @@ export default {
1
],
"logicalOperator": [
- 425
+ 426
],
"objectMetadataId": [
1
@@ -11126,16 +11143,16 @@ export default {
},
"RowLevelPermissionPredicateGroupInput": {
"id": [
- 492
+ 493
],
"logicalOperator": [
- 425
+ 426
],
"objectMetadataId": [
- 492
+ 493
],
"parentRowLevelPermissionPredicateGroupId": [
- 492
+ 493
],
"positionInRowLevelPermissionPredicateGroup": [
11
@@ -11147,19 +11164,19 @@ export default {
"RowLevelPermissionPredicateGroupLogicalOperator": {},
"RowLevelPermissionPredicateInput": {
"fieldMetadataId": [
- 492
+ 493
],
"id": [
- 492
+ 493
],
"operand": [
- 427
+ 428
],
"positionInRowLevelPermissionPredicateGroup": [
11
],
"rowLevelPermissionPredicateGroupId": [
- 492
+ 493
],
"subFieldName": [
1
@@ -11186,19 +11203,19 @@ export default {
1
],
"input": [
- 430
+ 431
],
"messages": [
- 430
+ 431
],
"prompt": [
1
],
"runAsWorkspaceMemberId": [
- 492
+ 493
],
"thread": [
- 433
+ 434
],
"__typename": [
1
@@ -11206,7 +11223,7 @@ export default {
},
"RunAgentMessageAttachmentInput": {
"fileId": [
- 492
+ 493
],
"filename": [
1
@@ -11217,13 +11234,13 @@ export default {
},
"RunAgentMessageInput": {
"attachments": [
- 429
+ 430
],
"content": [
1
],
"role": [
- 431
+ 432
],
"__typename": [
1
@@ -11244,7 +11261,7 @@ export default {
4
],
"threadId": [
- 492
+ 493
],
"__typename": [
1
@@ -11263,7 +11280,7 @@ export default {
},
"SSOConnection": {
"id": [
- 492
+ 493
],
"issuer": [
1
@@ -11272,7 +11289,7 @@ export default {
1
],
"status": [
- 436
+ 437
],
"type": [
272
@@ -11283,7 +11300,7 @@ export default {
},
"SSOIdentityProvider": {
"id": [
- 492
+ 493
],
"issuer": [
1
@@ -11292,7 +11309,7 @@ export default {
1
],
"status": [
- 436
+ 437
],
"type": [
272
@@ -11318,16 +11335,16 @@ export default {
187
],
"fieldMetadataId": [
- 492
+ 493
],
"id": [
- 492
+ 493
],
"position": [
11
],
"tsVectorFieldMetadataId": [
- 492
+ 493
],
"updatedAt": [
187
@@ -11338,7 +11355,7 @@ export default {
},
"SendChatMessageResult": {
"mentionedParticipantWorkspaceMemberIds": [
- 492
+ 493
],
"messageId": [
1
@@ -11381,7 +11398,7 @@ export default {
1
],
"files": [
- 440
+ 441
],
"fromHandle": [
1
@@ -11438,7 +11455,7 @@ export default {
289
],
"workspaceMemberIds": [
- 492
+ 493
],
"__typename": [
1
@@ -11446,7 +11463,7 @@ export default {
},
"SendInboxMessageResult": {
"threadId": [
- 492
+ 493
],
"__typename": [
1
@@ -11457,7 +11474,7 @@ export default {
1
],
"result": [
- 628
+ 629
],
"success": [
4
@@ -11544,31 +11561,31 @@ export default {
},
"SettingsMenuItem": {
"applicationId": [
- 492
+ 493
],
"createdAt": [
187
],
"frontComponentId": [
- 492
+ 493
],
"icon": [
1
],
"id": [
- 492
+ 493
],
"position": [
11
],
"scope": [
- 453
+ 454
],
"title": [
1
],
"universalIdentifier": [
- 492
+ 493
],
"updatedAt": [
187
@@ -11603,7 +11620,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"issuer": [
1
@@ -11620,7 +11637,7 @@ export default {
},
"SetupSso": {
"id": [
- 492
+ 493
],
"issuer": [
1
@@ -11629,7 +11646,7 @@ export default {
1
],
"status": [
- 436
+ 437
],
"type": [
272
@@ -11643,7 +11660,7 @@ export default {
65
],
"workspace": [
- 640
+ 641
],
"__typename": [
1
@@ -11665,7 +11682,7 @@ export default {
},
"Skill": {
"applicationId": [
- 492
+ 493
],
"content": [
1
@@ -11680,7 +11697,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isActive": [
4
@@ -11706,10 +11723,10 @@ export default {
},
"StandaloneRichTextConfiguration": {
"body": [
- 418
+ 419
],
"configurationType": [
- 616
+ 617
],
"__typename": [
1
@@ -11717,7 +11734,7 @@ export default {
},
"StartWorkspaceSetupChatResult": {
"outcome": [
- 638
+ 639
],
"thread": [
9
@@ -11766,7 +11783,7 @@ export default {
}
],
"exportRecords": [
- 398,
+ 399,
{
"input": [
171,
@@ -11787,7 +11804,7 @@ export default {
5,
{
"threadId": [
- 492,
+ 493,
"UUID!"
]
}
@@ -11809,7 +11826,7 @@ export default {
"SubscriptionStatus": {},
"Support": {
"supportDriver": [
- 468
+ 469
],
"supportFrontChatId": [
1
@@ -11821,7 +11838,7 @@ export default {
"SupportDriver": {},
"TasksConfiguration": {
"configurationType": [
- 616
+ 617
],
"__typename": [
1
@@ -11832,22 +11849,22 @@ export default {
1
],
"applicationId": [
- 492
+ 493
],
"createdAt": [
187
],
"emit": [
- 471
+ 472
],
"frontComponentUniversalIdentifier": [
- 492
+ 493
],
"icon": [
1
],
"id": [
- 492
+ 493
],
"isActive": [
4
@@ -11859,13 +11876,13 @@ export default {
1
],
"objectUniversalIdentifier": [
- 492
+ 493
],
"replacesTimelineActivityTypeUniversalIdentifier": [
- 492
+ 493
],
"universalIdentifier": [
- 492
+ 493
],
"updatedAt": [
187
@@ -11876,13 +11893,13 @@ export default {
},
"TimelineActivityTypeEmit": {
"objectUniversalIdentifier": [
- 492
+ 493
],
"on": [
1
],
"through": [
- 472
+ 473
],
"__typename": [
1
@@ -11890,13 +11907,13 @@ export default {
},
"TimelineActivityTypeEmitThrough": {
"happensAtFieldUniversalIdentifier": [
- 492
+ 493
],
"relationFieldUniversalIdentifier": [
- 492
+ 493
],
"triggerFieldUniversalIdentifiers": [
- 492
+ 493
],
"__typename": [
1
@@ -11904,7 +11921,7 @@ export default {
},
"TimelineConfiguration": {
"configurationType": [
- 616
+ 617
],
"__typename": [
1
@@ -11952,7 +11969,7 @@ export default {
},
"TriggerAddPeopleToMessageListJobInput": {
"messageListId": [
- 492
+ 493
],
"personFilter": [
289
@@ -12060,7 +12077,7 @@ export default {
1
],
"twoFactorAuthenticationMethodId": [
- 492
+ 493
],
"__typename": [
1
@@ -12105,19 +12122,19 @@ export default {
"UUID": {},
"UUIDFilterComparison": {
"eq": [
- 492
+ 493
],
"gt": [
- 492
+ 493
],
"gte": [
- 492
+ 493
],
"iLike": [
- 492
+ 493
],
"in": [
- 492
+ 493
],
"is": [
4
@@ -12126,25 +12143,25 @@ export default {
4
],
"like": [
- 492
+ 493
],
"lt": [
- 492
+ 493
],
"lte": [
- 492
+ 493
],
"neq": [
- 492
+ 493
],
"notILike": [
- 492
+ 493
],
"notIn": [
- 492
+ 493
],
"notLike": [
- 492
+ 493
],
"__typename": [
1
@@ -12159,7 +12176,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"name": [
1
@@ -12168,7 +12185,7 @@ export default {
187
],
"visibility": [
- 496
+ 497
],
"__typename": [
1
@@ -12183,7 +12200,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"label": [
1
@@ -12204,7 +12221,7 @@ export default {
289
],
"roleId": [
- 492
+ 493
],
"triggers": [
289
@@ -12218,7 +12235,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"name": [
1
@@ -12235,13 +12252,13 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isSyncEnabled": [
4
],
"visibility": [
- 322
+ 323
],
"__typename": [
1
@@ -12260,7 +12277,7 @@ export default {
1
],
"update": [
- 502
+ 503
],
"__typename": [
1
@@ -12285,7 +12302,7 @@ export default {
1
],
"update": [
- 504
+ 505
],
"__typename": [
1
@@ -12307,10 +12324,10 @@ export default {
},
"UpdateCalendarChannelInput": {
"id": [
- 492
+ 493
],
"update": [
- 506
+ 507
],
"__typename": [
1
@@ -12335,7 +12352,7 @@ export default {
},
"UpdateCommandMenuItemInput": {
"availabilityObjectMetadataId": [
- 492
+ 493
],
"availabilityType": [
137
@@ -12350,7 +12367,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isPinned": [
4
@@ -12359,7 +12376,7 @@ export default {
1
],
"pageLayoutId": [
- 492
+ 493
],
"position": [
11
@@ -12376,7 +12393,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -12429,7 +12446,7 @@ export default {
1
],
"objectMetadataId": [
- 492
+ 493
],
"options": [
289
@@ -12438,7 +12455,7 @@ export default {
289
],
"translations": [
- 335
+ 336
],
"universalIdentifier": [
1
@@ -12449,10 +12466,10 @@ export default {
},
"UpdateFrontComponentInput": {
"id": [
- 492
+ 493
],
"update": [
- 511
+ 512
],
"__typename": [
1
@@ -12482,10 +12499,10 @@ export default {
},
"UpdateLogicFunctionFromSourceInput": {
"id": [
- 492
+ 493
],
"update": [
- 514
+ 515
],
"__typename": [
1
@@ -12531,10 +12548,10 @@ export default {
},
"UpdateMessageChannelInput": {
"id": [
- 492
+ 493
],
"update": [
- 516
+ 517
],
"__typename": [
1
@@ -12542,7 +12559,7 @@ export default {
},
"UpdateMessageChannelInputUpdates": {
"contactAutoCreationPolicy": [
- 317
+ 318
],
"excludeGroupEmails": [
4
@@ -12557,10 +12574,10 @@ export default {
4
],
"messageFolderImportPolicy": [
- 324
+ 325
],
"visibility": [
- 322
+ 323
],
"__typename": [
1
@@ -12568,10 +12585,10 @@ export default {
},
"UpdateMessageFolderInput": {
"id": [
- 492
+ 493
],
"update": [
- 518
+ 519
],
"__typename": [
1
@@ -12587,10 +12604,10 @@ export default {
},
"UpdateMessageFoldersInput": {
"ids": [
- 492
+ 493
],
"update": [
- 518
+ 519
],
"__typename": [
1
@@ -12601,7 +12618,7 @@ export default {
1
],
"folderId": [
- 492
+ 493
],
"icon": [
1
@@ -12613,7 +12630,7 @@ export default {
1
],
"pageLayoutId": [
- 492
+ 493
],
"position": [
11
@@ -12633,7 +12650,7 @@ export default {
1
],
"imageIdentifierFieldMetadataId": [
- 492
+ 493
],
"isActive": [
4
@@ -12645,7 +12662,7 @@ export default {
4
],
"labelIdentifierFieldMetadataId": [
- 492
+ 493
],
"labelPlural": [
1
@@ -12660,19 +12677,19 @@ export default {
1
],
"openRecordIn": [
- 355
+ 356
],
"readability": [
- 333
+ 334
],
"sharingReach": [
- 363
+ 364
],
"shortcut": [
1
],
"translations": [
- 335
+ 336
],
"__typename": [
1
@@ -12680,10 +12697,10 @@ export default {
},
"UpdateOneFieldMetadataInput": {
"id": [
- 492
+ 493
],
"update": [
- 509
+ 510
],
"__typename": [
1
@@ -12691,10 +12708,10 @@ export default {
},
"UpdateOneNavigationMenuItemInput": {
"id": [
- 492
+ 493
],
"update": [
- 520
+ 521
],
"__typename": [
1
@@ -12702,10 +12719,10 @@ export default {
},
"UpdateOneObjectInput": {
"id": [
- 492
+ 493
],
"update": [
- 521
+ 522
],
"__typename": [
1
@@ -12716,10 +12733,10 @@ export default {
1
],
"objectMetadataId": [
- 492
+ 493
],
"type": [
- 372
+ 373
],
"__typename": [
1
@@ -12730,7 +12747,7 @@ export default {
1
],
"layoutMode": [
- 371
+ 372
],
"position": [
11
@@ -12747,10 +12764,10 @@ export default {
1
],
"id": [
- 492
+ 493
],
"layoutMode": [
- 371
+ 372
],
"position": [
11
@@ -12759,7 +12776,7 @@ export default {
1
],
"widgets": [
- 529
+ 530
],
"__typename": [
1
@@ -12779,10 +12796,10 @@ export default {
4
],
"objectMetadataId": [
- 492
+ 493
],
"pageLayoutTabId": [
- 492
+ 493
],
"position": [
289
@@ -12791,7 +12808,7 @@ export default {
1
],
"type": [
- 617
+ 618
],
"__typename": [
1
@@ -12808,13 +12825,13 @@ export default {
289
],
"id": [
- 492
+ 493
],
"objectMetadataId": [
- 492
+ 493
],
"pageLayoutTabId": [
- 492
+ 493
],
"position": [
289
@@ -12823,7 +12840,7 @@ export default {
1
],
"type": [
- 617
+ 618
],
"__typename": [
1
@@ -12837,13 +12854,13 @@ export default {
1
],
"objectMetadataId": [
- 492
+ 493
],
"tabs": [
- 527
+ 528
],
"type": [
- 372
+ 373
],
"__typename": [
1
@@ -12851,10 +12868,10 @@ export default {
},
"UpdateRoleInput": {
"id": [
- 492
+ 493
],
"update": [
- 532
+ 533
],
"__typename": [
1
@@ -12912,7 +12929,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isActive": [
4
@@ -12932,7 +12949,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isActive": [
4
@@ -12941,7 +12958,7 @@ export default {
1
],
"translations": [
- 335
+ 336
],
"__typename": [
1
@@ -12958,7 +12975,7 @@ export default {
1
],
"visibility": [
- 496
+ 497
],
"__typename": [
1
@@ -12966,7 +12983,7 @@ export default {
},
"UpdateUsageLimitInput": {
"id": [
- 492
+ 493
],
"payload": [
175
@@ -12977,10 +12994,10 @@ export default {
},
"UpdateValidationRuleInput": {
"id": [
- 492
+ 493
],
"update": [
- 538
+ 539
],
"__typename": [
1
@@ -12991,7 +13008,7 @@ export default {
1
],
"errorFieldMetadataId": [
- 492
+ 493
],
"expression": [
1
@@ -13014,10 +13031,10 @@ export default {
},
"UpdateViewFieldGroupInput": {
"id": [
- 492
+ 493
],
"update": [
- 540
+ 541
],
"__typename": [
1
@@ -13042,10 +13059,10 @@ export default {
},
"UpdateViewFieldInput": {
"id": [
- 492
+ 493
],
"update": [
- 542
+ 543
],
"__typename": [
1
@@ -13065,7 +13082,7 @@ export default {
11
],
"viewFieldGroupId": [
- 492
+ 493
],
"__typename": [
1
@@ -13073,19 +13090,19 @@ export default {
},
"UpdateViewFilterGroupInput": {
"id": [
- 492
+ 493
],
"logicalOperator": [
- 605
+ 606
],
"parentViewFilterGroupId": [
- 492
+ 493
],
"positionInViewFilterGroup": [
11
],
"viewId": [
- 492
+ 493
],
"__typename": [
1
@@ -13093,10 +13110,10 @@ export default {
},
"UpdateViewFilterInput": {
"id": [
- 492
+ 493
],
"update": [
- 545
+ 546
],
"__typename": [
1
@@ -13104,16 +13121,16 @@ export default {
},
"UpdateViewFilterInputUpdates": {
"fieldMetadataId": [
- 492
+ 493
],
"operand": [
- 606
+ 607
],
"positionInViewFilterGroup": [
11
],
"relationTargetFieldMetadataId": [
- 492
+ 493
],
"subFieldName": [
1
@@ -13122,7 +13139,7 @@ export default {
289
],
"viewFilterGroupId": [
- 492
+ 493
],
"__typename": [
1
@@ -13130,10 +13147,10 @@ export default {
},
"UpdateViewGroupInput": {
"id": [
- 492
+ 493
],
"update": [
- 547
+ 548
],
"__typename": [
1
@@ -13141,7 +13158,7 @@ export default {
},
"UpdateViewGroupInputUpdates": {
"fieldMetadataId": [
- 492
+ 493
],
"fieldValue": [
1
@@ -13161,13 +13178,13 @@ export default {
1
],
"calendarEndFieldMetadataId": [
- 492
+ 493
],
"calendarFieldMetadataId": [
- 492
+ 493
],
"calendarLayout": [
- 599
+ 600
],
"groupLoadLimit": [
8
@@ -13176,7 +13193,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isCompact": [
4
@@ -13185,19 +13202,19 @@ export default {
19
],
"kanbanAggregateOperationFieldMetadataId": [
- 492
+ 493
],
"kanbanColumnWidth": [
8
],
"mainGroupByFieldMetadataId": [
- 492
+ 493
],
"name": [
1
],
"openRecordIn": [
- 609
+ 610
],
"position": [
11
@@ -13206,10 +13223,10 @@ export default {
4
],
"type": [
- 612
+ 613
],
"visibility": [
- 613
+ 614
],
"__typename": [
1
@@ -13217,10 +13234,10 @@ export default {
},
"UpdateViewSortInput": {
"id": [
- 492
+ 493
],
"update": [
- 550
+ 551
],
"__typename": [
1
@@ -13228,7 +13245,7 @@ export default {
},
"UpdateViewSortInputUpdates": {
"direction": [
- 611
+ 612
],
"subFieldName": [
1
@@ -13239,10 +13256,10 @@ export default {
},
"UpdateWebhookInput": {
"id": [
- 492
+ 493
],
"update": [
- 552
+ 553
],
"__typename": [
1
@@ -13299,7 +13316,7 @@ export default {
1
],
"defaultRoleId": [
- 492
+ 493
],
"displayName": [
1
@@ -13359,7 +13376,7 @@ export default {
11
],
"workspaceDiscoverability": [
- 627
+ 628
],
"__typename": [
1
@@ -13370,7 +13387,7 @@ export default {
289
],
"workspaceMemberId": [
- 492
+ 493
],
"__typename": [
1
@@ -13382,7 +13399,7 @@ export default {
250
],
"roleId": [
- 492
+ 493
],
"__typename": [
1
@@ -13390,7 +13407,7 @@ export default {
},
"UpsertFieldsWidgetFieldInput": {
"fieldMetadataId": [
- 492
+ 493
],
"isVisible": [
4
@@ -13399,7 +13416,7 @@ export default {
11
],
"viewFieldId": [
- 492
+ 493
],
"__typename": [
1
@@ -13407,10 +13424,10 @@ export default {
},
"UpsertFieldsWidgetGroupInput": {
"fields": [
- 558
+ 559
],
"id": [
- 492
+ 493
],
"isVisible": [
4
@@ -13427,13 +13444,13 @@ export default {
},
"UpsertFieldsWidgetInput": {
"fields": [
- 558
+ 559
],
"groups": [
- 559
+ 560
],
"widgetId": [
- 492
+ 493
],
"__typename": [
1
@@ -13441,10 +13458,10 @@ export default {
},
"UpsertObjectPermissionsInput": {
"objectPermissions": [
- 357
+ 358
],
"roleId": [
- 492
+ 493
],
"__typename": [
1
@@ -13455,7 +13472,7 @@ export default {
1
],
"roleId": [
- 492
+ 493
],
"__typename": [
1
@@ -13463,16 +13480,16 @@ export default {
},
"UpsertRowLevelPermissionPredicatesInput": {
"objectMetadataId": [
- 492
+ 493
],
"predicateGroups": [
- 424
+ 425
],
"predicates": [
- 426
+ 427
],
"roleId": [
- 492
+ 493
],
"__typename": [
1
@@ -13480,10 +13497,10 @@ export default {
},
"UpsertRowLevelPermissionPredicatesResult": {
"predicateGroups": [
- 423
+ 424
],
"predicates": [
- 422
+ 423
],
"__typename": [
1
@@ -13491,22 +13508,22 @@ export default {
},
"UpsertViewWidgetInput": {
"view": [
- 569
+ 570
],
"viewFields": [
- 566
+ 567
],
"viewFilterGroups": [
- 567
+ 568
],
"viewFilters": [
- 568
+ 569
],
"viewSorts": [
- 570
+ 571
],
"widgetId": [
- 492
+ 493
],
"__typename": [
1
@@ -13517,7 +13534,7 @@ export default {
19
],
"fieldMetadataId": [
- 492
+ 493
],
"isVisible": [
4
@@ -13529,7 +13546,7 @@ export default {
11
],
"viewFieldId": [
- 492
+ 493
],
"__typename": [
1
@@ -13537,13 +13554,13 @@ export default {
},
"UpsertViewWidgetViewFilterGroupInput": {
"id": [
- 492
+ 493
],
"logicalOperator": [
- 605
+ 606
],
"parentViewFilterGroupId": [
- 492
+ 493
],
"positionInViewFilterGroup": [
11
@@ -13554,19 +13571,19 @@ export default {
},
"UpsertViewWidgetViewFilterInput": {
"fieldMetadataId": [
- 492
+ 493
],
"id": [
- 492
+ 493
],
"operand": [
- 606
+ 607
],
"positionInViewFilterGroup": [
11
],
"relationTargetFieldMetadataId": [
- 492
+ 493
],
"subFieldName": [
1
@@ -13575,7 +13592,7 @@ export default {
289
],
"viewFilterGroupId": [
- 492
+ 493
],
"__typename": [
1
@@ -13583,34 +13600,34 @@ export default {
},
"UpsertViewWidgetViewSettingsInput": {
"calendarEndFieldMetadataId": [
- 492
+ 493
],
"calendarFieldMetadataId": [
- 492
+ 493
],
"calendarLayout": [
- 599
+ 600
],
"kanbanAggregateOperation": [
19
],
"kanbanAggregateOperationFieldMetadataId": [
- 492
+ 493
],
"kanbanColumnWidth": [
8
],
"mainGroupByFieldMetadataId": [
- 492
+ 493
],
"openRecordIn": [
- 609
+ 610
],
"shouldHideEmptyGroups": [
4
],
"type": [
- 612
+ 613
],
"__typename": [
1
@@ -13618,13 +13635,13 @@ export default {
},
"UpsertViewWidgetViewSortInput": {
"direction": [
- 611
+ 612
],
"fieldMetadataId": [
- 492
+ 493
],
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -13638,22 +13655,22 @@ export default {
187
],
"timeSeries": [
- 584
+ 585
],
"usageByApplication": [
- 573
+ 574
],
"usageByModel": [
- 573
+ 574
],
"usageByOperationType": [
- 573
+ 574
],
"usageByUser": [
- 573
+ 574
],
"userDailyUsage": [
- 586
+ 587
],
"__typename": [
1
@@ -13661,7 +13678,7 @@ export default {
},
"UsageAnalyticsInput": {
"operationTypes": [
- 576
+ 577
],
"periodEnd": [
187
@@ -13698,7 +13715,7 @@ export default {
187
],
"id": [
- 492
+ 493
],
"limitKind": [
1
@@ -13707,7 +13724,7 @@ export default {
80
],
"operationType": [
- 576
+ 577
],
"periodCount": [
8
@@ -13716,7 +13733,7 @@ export default {
1
],
"resourceType": [
- 583
+ 584
],
"spenderId": [
1
@@ -13725,7 +13742,7 @@ export default {
1
],
"unit": [
- 585
+ 586
],
"updatedAt": [
187
@@ -13736,10 +13753,10 @@ export default {
},
"UsageLimitOperationDefinition": {
"allowedUnits": [
- 585
+ 586
],
"operationType": [
- 576
+ 577
],
"__typename": [
1
@@ -13748,7 +13765,7 @@ export default {
"UsageOperationType": {},
"UsageQuotaDefinition": {
"allowedOperations": [
- 575
+ 576
],
"allowedSpenderTypes": [
1
@@ -13757,10 +13774,10 @@ export default {
1
],
"operatorOnlyScopes": [
- 579
+ 580
],
"resourceType": [
- 583
+ 584
],
"__typename": [
1
@@ -13768,7 +13785,7 @@ export default {
},
"UsageQuotaDefinitions": {
"definitions": [
- 577
+ 578
],
"hasAllowancePeriod": [
4
@@ -13782,7 +13799,7 @@ export default {
},
"UsageQuotaOperatorOnlyScope": {
"operationType": [
- 576
+ 577
],
"periodUnit": [
1
@@ -13791,7 +13808,7 @@ export default {
1
],
"unit": [
- 585
+ 586
],
"__typename": [
1
@@ -13813,13 +13830,13 @@ export default {
},
"UsageQuotaScopeInput": {
"operationType": [
- 576
+ 577
],
"periodUnit": [
1
],
"resourceType": [
- 583
+ 584
],
"spenderId": [
1
@@ -13828,7 +13845,7 @@ export default {
1
],
"unit": [
- 585
+ 586
],
"__typename": [
1
@@ -13839,7 +13856,7 @@ export default {
80
],
"id": [
- 492
+ 493
],
"isEnforced": [
4
@@ -13848,7 +13865,7 @@ export default {
80
],
"operationType": [
- 576
+ 577
],
"periodEnd": [
187
@@ -13863,7 +13880,7 @@ export default {
80
],
"resourceType": [
- 583
+ 584
],
"spenderId": [
1
@@ -13875,7 +13892,7 @@ export default {
1
],
"unit": [
- 585
+ 586
],
"__typename": [
1
@@ -13896,7 +13913,7 @@ export default {
"UsageUnit": {},
"UsageUserDaily": {
"dailyUsage": [
- 584
+ 585
],
"userWorkspaceId": [
1
@@ -13919,10 +13936,10 @@ export default {
187
],
"currentUserWorkspace": [
- 590
+ 591
],
"currentWorkspace": [
- 621
+ 622
],
"deletedAt": [
187
@@ -13943,7 +13960,7 @@ export default {
4
],
"id": [
- 492
+ 493
],
"isEmailVerified": [
4
@@ -13958,10 +13975,10 @@ export default {
1
],
"onboardingStatus": [
- 364
+ 365
],
"previousOnboardingStatus": [
- 364
+ 365
],
"supportUserHash": [
1
@@ -13973,16 +13990,16 @@ export default {
290
],
"userWorkspaces": [
- 590
+ 591
],
"workspaceMember": [
- 630
+ 631
],
"workspaceMembers": [
- 630
+ 631
],
"workspaces": [
- 590
+ 591
],
"__typename": [
1
@@ -14031,7 +14048,7 @@ export default {
187
],
"id": [
- 492
+ 493
],
"ipAddress": [
1
@@ -14049,7 +14066,7 @@ export default {
1
],
"workspaceId": [
- 492
+ 493
],
"__typename": [
1
@@ -14063,7 +14080,7 @@ export default {
187
],
"id": [
- 492
+ 493
],
"isImpersonating": [
4
@@ -14072,25 +14089,25 @@ export default {
1
],
"objectPermissions": [
- 356
+ 357
],
"objectsPermissions": [
- 356
+ 357
],
"permissionFlags": [
- 381
+ 382
],
"twoFactorAuthenticationMethodSummary": [
- 488
+ 489
],
"updatedAt": [
187
],
"user": [
- 587
+ 588
],
"userId": [
- 492
+ 493
],
"__typename": [
1
@@ -14098,7 +14115,7 @@ export default {
},
"ValidateApprovedAccessDomainInput": {
"approvedAccessDomainId": [
- 492
+ 493
],
"validationToken": [
1
@@ -14115,7 +14132,7 @@ export default {
4
],
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -14126,7 +14143,7 @@ export default {
1
],
"errorFieldMetadataId": [
- 492
+ 493
],
"expression": [
1
@@ -14135,7 +14152,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isActive": [
4
@@ -14147,7 +14164,7 @@ export default {
1
],
"objectMetadataId": [
- 492
+ 493
],
"__typename": [
1
@@ -14178,7 +14195,7 @@ export default {
65
],
"workspaceUrls": [
- 639
+ 640
],
"__typename": [
1
@@ -14208,22 +14225,22 @@ export default {
1
],
"applicationId": [
- 492
+ 493
],
"calendarEndFieldMetadataId": [
- 492
+ 493
],
"calendarFieldMetadataId": [
- 492
+ 493
],
"calendarLayout": [
- 599
+ 600
],
"createdAt": [
187
],
"createdByUserWorkspaceId": [
- 492
+ 493
],
"deletedAt": [
187
@@ -14235,7 +14252,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isActive": [
4
@@ -14253,25 +14270,25 @@ export default {
19
],
"kanbanAggregateOperationFieldMetadataId": [
- 492
+ 493
],
"kanbanColumnWidth": [
8
],
"key": [
- 608
+ 609
],
"mainGroupByFieldMetadataId": [
- 492
+ 493
],
"name": [
1
],
"objectMetadataId": [
- 492
+ 493
],
"openRecordIn": [
- 609
+ 610
],
"position": [
11
@@ -14280,37 +14297,37 @@ export default {
4
],
"type": [
- 612
+ 613
],
"universalIdentifier": [
- 492
+ 493
],
"updatedAt": [
187
],
"viewFieldGroups": [
- 602
+ 603
],
"viewFields": [
- 601
+ 602
],
"viewFilterGroups": [
- 604
+ 605
],
"viewFilters": [
- 603
+ 604
],
"viewGroups": [
- 607
+ 608
],
"viewSorts": [
- 610
+ 611
],
"visibility": [
- 613
+ 614
],
"workspaceId": [
- 492
+ 493
],
"__typename": [
1
@@ -14319,7 +14336,7 @@ export default {
"ViewCalendarLayout": {},
"ViewConfiguration": {
"configurationType": [
- 616
+ 617
],
"__typename": [
1
@@ -14330,7 +14347,7 @@ export default {
19
],
"applicationId": [
- 492
+ 493
],
"createdAt": [
187
@@ -14339,10 +14356,10 @@ export default {
187
],
"fieldMetadataId": [
- 492
+ 493
],
"id": [
- 492
+ 493
],
"isActive": [
4
@@ -14363,19 +14380,19 @@ export default {
11
],
"universalIdentifier": [
- 492
+ 493
],
"updatedAt": [
187
],
"viewFieldGroupId": [
- 492
+ 493
],
"viewId": [
- 492
+ 493
],
"workspaceId": [
- 492
+ 493
],
"__typename": [
1
@@ -14389,7 +14406,7 @@ export default {
187
],
"id": [
- 492
+ 493
],
"isActive": [
4
@@ -14410,13 +14427,13 @@ export default {
187
],
"viewFields": [
- 601
+ 602
],
"viewId": [
- 492
+ 493
],
"workspaceId": [
- 492
+ 493
],
"__typename": [
1
@@ -14430,19 +14447,19 @@ export default {
187
],
"fieldMetadataId": [
- 492
+ 493
],
"id": [
- 492
+ 493
],
"operand": [
- 606
+ 607
],
"positionInViewFilterGroup": [
11
],
"relationTargetFieldMetadataId": [
- 492
+ 493
],
"subFieldName": [
1
@@ -14454,13 +14471,13 @@ export default {
289
],
"viewFilterGroupId": [
- 492
+ 493
],
"viewId": [
- 492
+ 493
],
"workspaceId": [
- 492
+ 493
],
"__typename": [
1
@@ -14474,13 +14491,13 @@ export default {
187
],
"id": [
- 492
+ 493
],
"logicalOperator": [
- 605
+ 606
],
"parentViewFilterGroupId": [
- 492
+ 493
],
"positionInViewFilterGroup": [
11
@@ -14489,10 +14506,10 @@ export default {
187
],
"viewId": [
- 492
+ 493
],
"workspaceId": [
- 492
+ 493
],
"__typename": [
1
@@ -14511,7 +14528,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"isVisible": [
4
@@ -14523,10 +14540,10 @@ export default {
187
],
"viewId": [
- 492
+ 493
],
"workspaceId": [
- 492
+ 493
],
"__typename": [
1
@@ -14542,13 +14559,13 @@ export default {
187
],
"direction": [
- 611
+ 612
],
"fieldMetadataId": [
- 492
+ 493
],
"id": [
- 492
+ 493
],
"subFieldName": [
1
@@ -14557,10 +14574,10 @@ export default {
187
],
"viewId": [
- 492
+ 493
],
"workspaceId": [
- 492
+ 493
],
"__typename": [
1
@@ -14571,7 +14588,7 @@ export default {
"ViewVisibility": {},
"Webhook": {
"applicationId": [
- 492
+ 493
],
"createdAt": [
187
@@ -14583,7 +14600,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"operations": [
1
@@ -14654,40 +14671,40 @@ export default {
293
],
"on_MessageCampaignBodyConfiguration": [
- 314
+ 315
],
"on_MessageCampaignDetailsConfiguration": [
- 315
+ 316
],
"on_NotesConfiguration": [
- 347
+ 348
],
"on_PieChartConfiguration": [
- 382
+ 383
],
"on_RecordTableConfiguration": [
- 410
+ 411
],
"on_StandaloneRichTextConfiguration": [
- 460
+ 461
],
"on_TasksConfiguration": [
- 469
+ 470
],
"on_TimelineConfiguration": [
- 473
+ 474
],
"on_ViewConfiguration": [
- 600
+ 601
],
"on_WorkflowConfiguration": [
- 618
+ 619
],
"on_WorkflowRunConfiguration": [
- 619
+ 620
],
"on_WorkflowVersionConfiguration": [
- 620
+ 621
],
"__typename": [
1
@@ -14697,7 +14714,7 @@ export default {
"WidgetType": {},
"WorkflowConfiguration": {
"configurationType": [
- 616
+ 617
],
"__typename": [
1
@@ -14705,7 +14722,7 @@ export default {
},
"WorkflowRunConfiguration": {
"configurationType": [
- 616
+ 617
],
"__typename": [
1
@@ -14713,7 +14730,7 @@ export default {
},
"WorkflowVersionConfiguration": {
"configurationType": [
- 616
+ 617
],
"__typename": [
1
@@ -14721,7 +14738,7 @@ export default {
},
"Workspace": {
"activationStatus": [
- 622
+ 623
],
"aiAdditionalInstructions": [
1
@@ -14766,7 +14783,7 @@ export default {
1
],
"defaultRole": [
- 419
+ 420
],
"deletedAt": [
187
@@ -14790,7 +14807,7 @@ export default {
4
],
"id": [
- 492
+ 493
],
"installedApplications": [
36
@@ -14841,7 +14858,7 @@ export default {
1
],
"logoFileId": [
- 492
+ 493
],
"metadataVersion": [
11
@@ -14856,22 +14873,22 @@ export default {
187
],
"viewFields": [
- 601
+ 602
],
"viewFilterGroups": [
- 604
+ 605
],
"viewFilters": [
- 603
+ 604
],
"viewGroups": [
- 607
+ 608
],
"viewSorts": [
- 610
+ 611
],
"views": [
- 598
+ 599
],
"workspaceCustomApplication": [
36
@@ -14880,13 +14897,13 @@ export default {
1
],
"workspaceDiscoverability": [
- 627
+ 628
],
"workspaceMembersCount": [
11
],
"workspaceUrls": [
- 639
+ 640
],
"__typename": [
1
@@ -14916,13 +14933,13 @@ export default {
4
],
"outcome": [
- 624
+ 625
],
"personEnrichment": [
289
],
"personOutcome": [
- 637
+ 638
],
"__typename": [
1
@@ -14948,10 +14965,10 @@ export default {
187
],
"id": [
- 492
+ 493
],
"roleId": [
- 492
+ 493
],
"__typename": [
1
@@ -14976,10 +14993,10 @@ export default {
1
],
"dateFormat": [
- 632
+ 633
],
"id": [
- 492
+ 493
],
"locale": [
1
@@ -14988,16 +15005,16 @@ export default {
265
],
"numberFormat": [
- 633
+ 634
],
"openRecordIn": [
- 367
+ 368
],
"roles": [
- 419
+ 420
],
"timeFormat": [
- 634
+ 635
],
"timeZone": [
1
@@ -15009,10 +15026,10 @@ export default {
1
],
"userId": [
- 492
+ 493
],
"userWorkspaceId": [
- 492
+ 493
],
"__typename": [
1
@@ -15020,13 +15037,13 @@ export default {
},
"WorkspaceMemberApplicationVariables": {
"userWorkspaceId": [
- 492
+ 493
],
"variables": [
- 588
+ 589
],
"workspaceMemberId": [
- 492
+ 493
],
"__typename": [
1
@@ -15051,7 +15068,7 @@ export default {
1
],
"id": [
- 492
+ 493
],
"__typename": [
1
@@ -15072,10 +15089,10 @@ export default {
},
"WorkspaceUrlsAndId": {
"id": [
- 492
+ 493
],
"workspaceUrls": [
- 639
+ 640
],
"__typename": [
1
diff --git a/packages/twenty-front/src/generated-metadata/graphql.ts b/packages/twenty-front/src/generated-metadata/graphql.ts
index afadfe95f0b..5fd43970dac 100644
--- a/packages/twenty-front/src/generated-metadata/graphql.ts
+++ b/packages/twenty-front/src/generated-metadata/graphql.ts
@@ -2837,6 +2837,7 @@ export type MarketplaceAppDetail = {
/** @deprecated Use the explicit MarketplaceAppDetail fields (description, author, roles, ...) instead */
manifest?: Maybe<Scalars['JSON']['output']>;
name: Scalars['String']['output'];
+ objects?: Maybe<Array<MarketplaceAppObject>>;
pricingDescription?: Maybe<Scalars['String']['output']>;
requestedCapabilities: Array<Scalars['String']['output']>;
roles?: Maybe<Array<MarketplaceAppRole>>;
@@ -2849,6 +2850,13 @@ export type MarketplaceAppDetail = {
websiteUrl?: Maybe<Scalars['String']['output']>;
};
+export type MarketplaceAppObject = {
+ __typename?: 'MarketplaceAppObject';
+ labelPlural: Scalars['String']['output'];
+ labelSingular: Scalars['String']['output'];
+ universalIdentifier: Scalars['String']['output'];
+};
+
export type MarketplaceAppRole = {
__typename?: 'MarketplaceAppRole';
canAccessAllTools?: Maybe<Scalars['Boolean']['output']>;
@@ -9058,7 +9066,7 @@ export type GetLogicFunctionSourceCodeQueryVariables = Exact<{
export type GetLogicFunctionSourceCodeQuery = { __typename?: 'Query', getLogicFunctionSourceCode?: string | null };
-export type MarketplaceAppDetailFieldsFragment = { __typename?: 'MarketplaceAppDetail', id: string, universalIdentifier: string, name: string, sourceType: ApplicationRegistrationSourceType, sourcePackage?: string | null, latestAvailableVersion?: string | null, isListed: boolean, isVetted: boolean, description?: string | null, author?: string | null, category?: string | null, logoUrl?: string | null, websiteUrl?: string | null, aboutDescription?: string | null, pricingDescription?: string | null, termsUrl?: string | null, emailSupport?: string | null, issueReportUrl?: string | null, galleryImages: Array<string>, installCount: number, defaultRoleUniversalIdentifier?: string | null, requestedCapabilities: Array<string>, billsCredits: boolean, roles?: Array<{ __typename?: 'MarketplaceAppRole', universalIdentifier: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings?: boolean | null, canAccessAllTools?: boolean | null, canReadAllObjectRecords?: boolean | null, canUpdateAllObjectRecords?: boolean | null, canSoftDeleteAllObjectRecords?: boolean | null, canDestroyAllObjectRecords?: boolean | null, permissionFlagUniversalIdentifiers?: Array<string> | null, objectPermissions?: Array<{ __typename?: 'MarketplaceAppRoleObjectPermission', universalIdentifier: string, objectUniversalIdentifier: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null }> | null, fieldPermissions?: Array<{ __typename?: 'MarketplaceAppRoleFieldPermission', universalIdentifier: string, objectUniversalIdentifier: string, fieldUniversalIdentifier: string, canReadFieldValue?: boolean | null, canUpdateFieldValue?: boolean | null }> | null }> | null };
+export type MarketplaceAppDetailFieldsFragment = { __typename?: 'MarketplaceAppDetail', id: string, universalIdentifier: string, name: string, sourceType: ApplicationRegistrationSourceType, sourcePackage?: string | null, latestAvailableVersion?: string | null, isListed: boolean, isVetted: boolean, description?: string | null, author?: string | null, category?: string | null, logoUrl?: string | null, websiteUrl?: string | null, aboutDescription?: string | null, pricingDescription?: string | null, termsUrl?: string | null, emailSupport?: string | null, issueReportUrl?: string | null, galleryImages: Array<string>, installCount: number, defaultRoleUniversalIdentifier?: string | null, requestedCapabilities: Array<string>, billsCredits: boolean, objects?: Array<{ __typename?: 'MarketplaceAppObject', universalIdentifier: string }> | null, roles?: Array<{ __typename?: 'MarketplaceAppRole', universalIdentifier: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings?: boolean | null, canAccessAllTools?: boolean | null, canReadAllObjectRecords?: boolean | null, canUpdateAllObjectRecords?: boolean | null, canSoftDeleteAllObjectRecords?: boolean | null, canDestroyAllObjectRecords?: boolean | null, permissionFlagUniversalIdentifiers?: Array<string> | null, objectPermissions?: Array<{ __typename?: 'MarketplaceAppRoleObjectPermission', universalIdentifier: string, objectUniversalIdentifier: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null }> | null, fieldPermissions?: Array<{ __typename?: 'MarketplaceAppRoleFieldPermission', universalIdentifier: string, objectUniversalIdentifier: string, fieldUniversalIdentifier: string, canReadFieldValue?: boolean | null, canUpdateFieldValue?: boolean | null }> | null }> | null };
export type MarketplaceAppFieldsFragment = { __typename?: 'MarketplaceApp', id: string, name: string, description: string, author: string, category: string, logoUrl?: string | null, sourcePackage?: string | null, isVetted: boolean };
@@ -9105,7 +9113,7 @@ export type FindMarketplaceAppDetailQueryVariables = Exact<{
}>;
-export type FindMarketplaceAppDetailQuery = { __typename?: 'Query', findMarketplaceAppDetail: { __typename?: 'MarketplaceAppDetail', id: string, universalIdentifier: string, name: string, sourceType: ApplicationRegistrationSourceType, sourcePackage?: string | null, latestAvailableVersion?: string | null, isListed: boolean, isVetted: boolean, description?: string | null, author?: string | null, category?: string | null, logoUrl?: string | null, websiteUrl?: string | null, aboutDescription?: string | null, pricingDescription?: string | null, termsUrl?: string | null, emailSupport?: string | null, issueReportUrl?: string | null, galleryImages: Array<string>, installCount: number, defaultRoleUniversalIdentifier?: string | null, requestedCapabilities: Array<string>, billsCredits: boolean, roles?: Array<{ __typename?: 'MarketplaceAppRole', universalIdentifier: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings?: boolean | null, canAccessAllTools?: boolean | null, canReadAllObjectRecords?: boolean | null, canUpdateAllObjectRecords?: boolean | null, canSoftDeleteAllObjectRecords?: boolean | null, canDestroyAllObjectRecords?: boolean | null, permissionFlagUniversalIdentifiers?: Array<string> | null, objectPermissions?: Array<{ __typename?: 'MarketplaceAppRoleObjectPermission', universalIdentifier: string, objectUniversalIdentifier: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null }> | null, fieldPermissions?: Array<{ __typename?: 'MarketplaceAppRoleFieldPermission', universalIdentifier: string, objectUniversalIdentifier: string, fieldUniversalIdentifier: string, canReadFieldValue?: boolean | null, canUpdateFieldValue?: boolean | null }> | null }> | null } };
+export type FindMarketplaceAppDetailQuery = { __typename?: 'Query', findMarketplaceAppDetail: { __typename?: 'MarketplaceAppDetail', id: string, universalIdentifier: string, name: string, sourceType: ApplicationRegistrationSourceType, sourcePackage?: string | null, latestAvailableVersion?: string | null, isListed: boolean, isVetted: boolean, description?: string | null, author?: string | null, category?: string | null, logoUrl?: string | null, websiteUrl?: string | null, aboutDescription?: string | null, pricingDescription?: string | null, termsUrl?: string | null, emailSupport?: string | null, issueReportUrl?: string | null, galleryImages: Array<string>, installCount: number, defaultRoleUniversalIdentifier?: string | null, requestedCapabilities: Array<string>, billsCredits: boolean, objects?: Array<{ __typename?: 'MarketplaceAppObject', universalIdentifier: string }> | null, roles?: Array<{ __typename?: 'MarketplaceAppRole', universalIdentifier: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings?: boolean | null, canAccessAllTools?: boolean | null, canReadAllObjectRecords?: boolean | null, canUpdateAllObjectRecords?: boolean | null, canSoftDeleteAllObjectRecords?: boolean | null, canDestroyAllObjectRecords?: boolean | null, permissionFlagUniversalIdentifiers?: Array<string> | null, objectPermissions?: Array<{ __typename?: 'MarketplaceAppRoleObjectPermission', universalIdentifier: string, objectUniversalIdentifier: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null }> | null, fieldPermissions?: Array<{ __typename?: 'MarketplaceAppRoleFieldPermission', universalIdentifier: string, objectUniversalIdentifier: string, fieldUniversalIdentifier: string, canReadFieldValue?: boolean | null, canUpdateFieldValue?: boolean | null }> | null }> | null } };
export type FindMarketplaceAppManifestQueryVariables = Exact<{
universalIdentifier: Scalars['String']['input'];
@@ -10850,7 +10858,7 @@ export const CommandMenuItemFieldsFragmentDoc = {"kind":"Document","definitions"
export const PageLayoutWidgetFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PageLayoutWidgetFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutWidget"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isSystemSideEffect"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}},{"kind":"Field","name":{"kind":"Name","value":"conditionalDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"conditionalAvailabilityExpression"}},{"kind":"Field","name":{"kind":"Name","value":"gridPosition"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"column"}},{"kind":"Field","name":{"kind":"Name","value":"columnSpan"}},{"kind":"Field","name":{"kind":"Name","value":"row"}},{"kind":"Field","name":{"kind":"Name","value":"rowSpan"}}]}},{"kind":"Field","name":{"kind":"Name","value":"position"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutWidgetGridPosition"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layoutMode"}},{"kind":"Field","name":{"kind":"Name","value":"row"}},{"kind":"Field","name":{"kind":"Name","value":"column"}},{"kind":"Field","name":{"kind":"Name","value":"rowSpan"}},{"kind":"Field","name":{"kind":"Name","value":"columnSpan"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutWidgetVerticalListPosition"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layoutMode"}},{"kind":"Field","name":{"kind":"Name","value":"index"}},{"kind":"Field","name":{"kind":"Name","value":"heightBehavior"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutWidgetCanvasPosition"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layoutMode"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"configuration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BarChartConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisGroupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisGroupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisDateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisOrderBy"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisManualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupByDateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisOrderBy"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisManualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"omitNullValues"}},{"kind":"Field","name":{"kind":"Name","value":"axisNameDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"displayDataLabel"}},{"kind":"Field","name":{"kind":"Name","value":"displayLegend"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}},{"kind":"Field","name":{"kind":"Name","value":"rangeMin"}},{"kind":"Field","name":{"kind":"Name","value":"rangeMax"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"filter"}},{"kind":"Field","name":{"kind":"Name","value":"groupMode"}},{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"isCumulative"}},{"kind":"Field","name":{"kind":"Name","value":"splitMultiValueFields"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"firstDayOfTheWeek"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LineChartConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisGroupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisGroupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisDateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisOrderBy"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisManualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupByDateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisOrderBy"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisManualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"omitNullValues"}},{"kind":"Field","name":{"kind":"Name","value":"axisNameDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"displayDataLabel"}},{"kind":"Field","name":{"kind":"Name","value":"displayLegend"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}},{"kind":"Field","name":{"kind":"Name","value":"rangeMin"}},{"kind":"Field","name":{"kind":"Name","value":"rangeMax"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"filter"}},{"kind":"Field","name":{"kind":"Name","value":"isStacked"}},{"kind":"Field","name":{"kind":"Name","value":"isCumulative"}},{"kind":"Field","name":{"kind":"Name","value":"splitMultiValueFields"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"firstDayOfTheWeek"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PieChartConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"groupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"groupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"dateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"orderBy"}},{"kind":"Field","name":{"kind":"Name","value":"manualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"displayDataLabel"}},{"kind":"Field","name":{"kind":"Name","value":"showCenterMetric"}},{"kind":"Field","name":{"kind":"Name","value":"displayLegend"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}},{"kind":"Field","name":{"kind":"Name","value":"hideEmptyCategory"}},{"kind":"Field","name":{"kind":"Name","value":"splitMultiValueFields"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"filter"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"firstDayOfTheWeek"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AggregateChartConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"displayDataLabel"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"filter"}},{"kind":"Field","name":{"kind":"Name","value":"prefix"}},{"kind":"Field","name":{"kind":"Name","value":"suffix"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"firstDayOfTheWeek"}},{"kind":"Field","name":{"kind":"Name","value":"ratioAggregateConfig"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"optionValue"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IframeConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StandaloneRichTextConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"body"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"blocknote"}},{"kind":"Field","name":{"kind":"Name","value":"markdown"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CalendarConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EmailsConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EmailThreadConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CallRecordingSummaryConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CallRecordingTranscriptConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChatThreadsConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChatConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MessageCampaignBodyConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MessageCampaignDetailsConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FieldConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"fieldDisplayMode"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"nestedRelationFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FieldRichTextConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FieldsConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"newFieldDefaultVisibility"}},{"kind":"Field","name":{"kind":"Name","value":"shouldAllowUserToSeeHiddenFields"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FormFieldConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FilesConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NotesConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TasksConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TimelineConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RecordTableConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"recordLimit"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkflowConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkflowRunConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkflowVersionConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FrontComponentConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"frontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"headerCommandMenuItemUniversalIdentifiers"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageLayoutTabId"}}]}}]} as unknown as DocumentNode<PageLayoutWidgetFragmentFragment, unknown>;
export const PageLayoutTabFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PageLayoutTabFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutTab"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isSystemSideEffect"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"layoutMode"}},{"kind":"Field","name":{"kind":"Name","value":"widgets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PageLayoutWidgetFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageLayoutId"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PageLayoutWidgetFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutWidget"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isSystemSideEffect"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}},{"kind":"Field","name":{"kind":"Name","value":"conditionalDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"conditionalAvailabilityExpression"}},{"kind":"Field","name":{"kind":"Name","value":"gridPosition"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"column"}},{"kind":"Field","name":{"kind":"Name","value":"columnSpan"}},{"kind":"Field","name":{"kind":"Name","value":"row"}},{"kind":"Field","name":{"kind":"Name","value":"rowSpan"}}]}},{"kind":"Field","name":{"kind":"Name","value":"position"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutWidgetGridPosition"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layoutMode"}},{"kind":"Field","name":{"kind":"Name","value":"row"}},{"kind":"Field","name":{"kind":"Name","value":"column"}},{"kind":"Field","name":{"kind":"Name","value":"rowSpan"}},{"kind":"Field","name":{"kind":"Name","value":"columnSpan"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutWidgetVerticalListPosition"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layoutMode"}},{"kind":"Field","name":{"kind":"Name","value":"index"}},{"kind":"Field","name":{"kind":"Name","value":"heightBehavior"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutWidgetCanvasPosition"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layoutMode"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"configuration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BarChartConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisGroupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisGroupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisDateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisOrderBy"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisManualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupByDateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisOrderBy"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisManualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"omitNullValues"}},{"kind":"Field","name":{"kind":"Name","value":"axisNameDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"displayDataLabel"}},{"kind":"Field","name":{"kind":"Name","value":"displayLegend"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}},{"kind":"Field","name":{"kind":"Name","value":"rangeMin"}},{"kind":"Field","name":{"kind":"Name","value":"rangeMax"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"filter"}},{"kind":"Field","name":{"kind":"Name","value":"groupMode"}},{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"isCumulative"}},{"kind":"Field","name":{"kind":"Name","value":"splitMultiValueFields"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"firstDayOfTheWeek"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LineChartConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisGroupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisGroupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisDateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisOrderBy"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisManualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupByDateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisOrderBy"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisManualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"omitNullValues"}},{"kind":"Field","name":{"kind":"Name","value":"axisNameDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"displayDataLabel"}},{"kind":"Field","name":{"kind":"Name","value":"displayLegend"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}},{"kind":"Field","name":{"kind":"Name","value":"rangeMin"}},{"kind":"Field","name":{"kind":"Name","value":"rangeMax"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"filter"}},{"kind":"Field","name":{"kind":"Name","value":"isStacked"}},{"kind":"Field","name":{"kind":"Name","value":"isCumulative"}},{"kind":"Field","name":{"kind":"Name","value":"splitMultiValueFields"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"firstDayOfTheWeek"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PieChartConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"groupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"groupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"dateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"orderBy"}},{"kind":"Field","name":{"kind":"Name","value":"manualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"displayDataLabel"}},{"kind":"Field","name":{"kind":"Name","value":"showCenterMetric"}},{"kind":"Field","name":{"kind":"Name","value":"displayLegend"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}},{"kind":"Field","name":{"kind":"Name","value":"hideEmptyCategory"}},{"kind":"Field","name":{"kind":"Name","value":"splitMultiValueFields"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"filter"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"firstDayOfTheWeek"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AggregateChartConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"displayDataLabel"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"filter"}},{"kind":"Field","name":{"kind":"Name","value":"prefix"}},{"kind":"Field","name":{"kind":"Name","value":"suffix"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"firstDayOfTheWeek"}},{"kind":"Field","name":{"kind":"Name","value":"ratioAggregateConfig"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"optionValue"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IframeConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StandaloneRichTextConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"body"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"blocknote"}},{"kind":"Field","name":{"kind":"Name","value":"markdown"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CalendarConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EmailsConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EmailThreadConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CallRecordingSummaryConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CallRecordingTranscriptConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChatThreadsConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChatConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MessageCampaignBodyConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MessageCampaignDetailsConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FieldConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"fieldDisplayMode"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"nestedRelationFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FieldRichTextConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FieldsConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"newFieldDefaultVisibility"}},{"kind":"Field","name":{"kind":"Name","value":"shouldAllowUserToSeeHiddenFields"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FormFieldConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FilesConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NotesConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TasksConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TimelineConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RecordTableConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"recordLimit"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkflowConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkflowRunConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkflowVersionConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FrontComponentConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"frontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"headerCommandMenuItemUniversalIdentifiers"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageLayoutTabId"}}]}}]} as unknown as DocumentNode<PageLayoutTabFragmentFragment, unknown>;
export const PageLayoutFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PageLayoutFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayout"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isSystemSideEffect"}},{"kind":"Field","name":{"kind":"Name","value":"isFirstTabPinned"}},{"kind":"Field","name":{"kind":"Name","value":"defaultTabToFocusOnMobileAndSidePanelId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"tabs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PageLayoutTabFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PageLayoutWidgetFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutWidget"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isSystemSideEffect"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}},{"kind":"Field","name":{"kind":"Name","value":"conditionalDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"conditionalAvailabilityExpression"}},{"kind":"Field","name":{"kind":"Name","value":"gridPosition"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"column"}},{"kind":"Field","name":{"kind":"Name","value":"columnSpan"}},{"kind":"Field","name":{"kind":"Name","value":"row"}},{"kind":"Field","name":{"kind":"Name","value":"rowSpan"}}]}},{"kind":"Field","name":{"kind":"Name","value":"position"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutWidgetGridPosition"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layoutMode"}},{"kind":"Field","name":{"kind":"Name","value":"row"}},{"kind":"Field","name":{"kind":"Name","value":"column"}},{"kind":"Field","name":{"kind":"Name","value":"rowSpan"}},{"kind":"Field","name":{"kind":"Name","value":"columnSpan"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutWidgetVerticalListPosition"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layoutMode"}},{"kind":"Field","name":{"kind":"Name","value":"index"}},{"kind":"Field","name":{"kind":"Name","value":"heightBehavior"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutWidgetCanvasPosition"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layoutMode"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"configuration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BarChartConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisGroupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisGroupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisDateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisOrderBy"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisManualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupByDateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisOrderBy"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisManualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"omitNullValues"}},{"kind":"Field","name":{"kind":"Name","value":"axisNameDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"displayDataLabel"}},{"kind":"Field","name":{"kind":"Name","value":"displayLegend"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}},{"kind":"Field","name":{"kind":"Name","value":"rangeMin"}},{"kind":"Field","name":{"kind":"Name","value":"rangeMax"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"filter"}},{"kind":"Field","name":{"kind":"Name","value":"groupMode"}},{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"isCumulative"}},{"kind":"Field","name":{"kind":"Name","value":"splitMultiValueFields"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"firstDayOfTheWeek"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LineChartConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisGroupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisGroupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisDateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisOrderBy"}},{"kind":"Field","name":{"kind":"Name","value":"primaryAxisManualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisGroupByDateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisOrderBy"}},{"kind":"Field","name":{"kind":"Name","value":"secondaryAxisManualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"omitNullValues"}},{"kind":"Field","name":{"kind":"Name","value":"axisNameDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"displayDataLabel"}},{"kind":"Field","name":{"kind":"Name","value":"displayLegend"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}},{"kind":"Field","name":{"kind":"Name","value":"rangeMin"}},{"kind":"Field","name":{"kind":"Name","value":"rangeMax"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"filter"}},{"kind":"Field","name":{"kind":"Name","value":"isStacked"}},{"kind":"Field","name":{"kind":"Name","value":"isCumulative"}},{"kind":"Field","name":{"kind":"Name","value":"splitMultiValueFields"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"firstDayOfTheWeek"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PieChartConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"groupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"groupBySubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"dateGranularity"}},{"kind":"Field","name":{"kind":"Name","value":"orderBy"}},{"kind":"Field","name":{"kind":"Name","value":"manualSortOrder"}},{"kind":"Field","name":{"kind":"Name","value":"displayDataLabel"}},{"kind":"Field","name":{"kind":"Name","value":"showCenterMetric"}},{"kind":"Field","name":{"kind":"Name","value":"displayLegend"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}},{"kind":"Field","name":{"kind":"Name","value":"hideEmptyCategory"}},{"kind":"Field","name":{"kind":"Name","value":"splitMultiValueFields"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"filter"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"firstDayOfTheWeek"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AggregateChartConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"displayDataLabel"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"filter"}},{"kind":"Field","name":{"kind":"Name","value":"prefix"}},{"kind":"Field","name":{"kind":"Name","value":"suffix"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"firstDayOfTheWeek"}},{"kind":"Field","name":{"kind":"Name","value":"ratioAggregateConfig"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"optionValue"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IframeConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StandaloneRichTextConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"body"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"blocknote"}},{"kind":"Field","name":{"kind":"Name","value":"markdown"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CalendarConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EmailsConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EmailThreadConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CallRecordingSummaryConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CallRecordingTranscriptConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChatThreadsConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChatConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MessageCampaignBodyConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MessageCampaignDetailsConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FieldConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"fieldDisplayMode"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"nestedRelationFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FieldRichTextConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FieldsConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"newFieldDefaultVisibility"}},{"kind":"Field","name":{"kind":"Name","value":"shouldAllowUserToSeeHiddenFields"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FormFieldConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FilesConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NotesConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TasksConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TimelineConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RecordTableConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"recordLimit"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkflowConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkflowRunConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkflowVersionConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FrontComponentConfiguration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurationType"}},{"kind":"Field","name":{"kind":"Name","value":"frontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"headerCommandMenuItemUniversalIdentifiers"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageLayoutTabId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PageLayoutTabFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageLayoutTab"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isSystemSideEffect"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"layoutMode"}},{"kind":"Field","name":{"kind":"Name","value":"widgets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PageLayoutWidgetFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageLayoutId"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<PageLayoutFragmentFragment, unknown>;
-export const MarketplaceAppDetailFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MarketplaceAppDetailFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MarketplaceAppDetail"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"sourcePackage"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"isListed"}},{"kind":"Field","name":{"kind":"Name","value":"isVetted"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"author"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"websiteUrl"}},{"kind":"Field","name":{"kind":"Name","value":"aboutDescription"}},{"kind":"Field","name":{"kind":"Name","value":"pricingDescription"}},{"kind":"Field","name":{"kind":"Name","value":"termsUrl"}},{"kind":"Field","name":{"kind":"Name","value":"emailSupport"}},{"kind":"Field","name":{"kind":"Name","value":"issueReportUrl"}},{"kind":"Field","name":{"kind":"Name","value":"galleryImages"}},{"kind":"Field","name":{"kind":"Name","value":"installCount"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRoleUniversalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"requestedCapabilities"}},{"kind":"Field","name":{"kind":"Name","value":"billsCredits"}},{"kind":"Field","name":{"kind":"Name","value":"roles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllSettings"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllTools"}},{"kind":"Field","name":{"kind":"Name","value":"canReadAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"permissionFlagUniversalIdentifiers"}},{"kind":"Field","name":{"kind":"Name","value":"objectPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"objectUniversalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"canReadObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyObjectRecords"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"objectUniversalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"fieldUniversalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"canReadFieldValue"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateFieldValue"}}]}}]}}]}}]} as unknown as DocumentNode<MarketplaceAppDetailFieldsFragment, unknown>;
+export const MarketplaceAppDetailFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MarketplaceAppDetailFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MarketplaceAppDetail"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"sourcePackage"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"isListed"}},{"kind":"Field","name":{"kind":"Name","value":"isVetted"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"author"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"websiteUrl"}},{"kind":"Field","name":{"kind":"Name","value":"aboutDescription"}},{"kind":"Field","name":{"kind":"Name","value":"pricingDescription"}},{"kind":"Field","name":{"kind":"Name","value":"termsUrl"}},{"kind":"Field","name":{"kind":"Name","value":"emailSupport"}},{"kind":"Field","name":{"kind":"Name","value":"issueReportUrl"}},{"kind":"Field","name":{"kind":"Name","value":"galleryImages"}},{"kind":"Field","name":{"kind":"Name","value":"installCount"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRoleUniversalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"requestedCapabilities"}},{"kind":"Field","name":{"kind":"Name","value":"billsCredits"}},{"kind":"Field","name":{"kind":"Name","value":"objects"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}}]}},{"kind":"Field","name":{"kind":"Name","value":"roles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllSettings"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllTools"}},{"kind":"Field","name":{"kind":"Name","value":"canReadAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"permissionFlagUniversalIdentifiers"}},{"kind":"Field","name":{"kind":"Name","value":"objectPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"objectUniversalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"canReadObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyObjectRecords"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"objectUniversalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"fieldUniversalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"canReadFieldValue"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateFieldValue"}}]}}]}}]}}]} as unknown as DocumentNode<MarketplaceAppDetailFieldsFragment, unknown>;
export const MarketplaceAppFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MarketplaceAppFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MarketplaceApp"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"author"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"sourcePackage"}},{"kind":"Field","name":{"kind":"Name","value":"isVetted"}}]}}]} as unknown as DocumentNode<MarketplaceAppFieldsFragment, unknown>;
export const NavigationMenuItemFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavigationMenuItemFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NavigationMenuItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"targetRecordId"}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"folderId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"link"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"pageLayoutId"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<NavigationMenuItemFieldsFragment, unknown>;
export const NavigationMenuItemQueryFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavigationMenuItemQueryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NavigationMenuItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavigationMenuItemFields"}},{"kind":"Field","name":{"kind":"Name","value":"targetRecordIdentifier"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifier"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavigationMenuItemFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NavigationMenuItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"targetRecordId"}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"folderId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"link"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"pageLayoutId"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<NavigationMenuItemQueryFieldsFragment, unknown>;
@@ -11000,7 +11008,7 @@ export const TriggerInstallApplicationDocument = {"kind":"Document","definitions
export const TriggerUpgradeApplicationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"TriggerUpgradeApplication"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"TriggerUpgradeApplicationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"triggerUpgradeApplication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"jobId"}}]}}]}}]} as unknown as DocumentNode<TriggerUpgradeApplicationMutation, TriggerUpgradeApplicationMutationVariables>;
export const FindInstallApplicationJobStatusDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindInstallApplicationJobStatus"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findInstallApplicationJobStatus"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"universalIdentifier"},"value":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"jobId"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"failedReason"}},{"kind":"Field","name":{"kind":"Name","value":"progress"}}]}}]}}]} as unknown as DocumentNode<FindInstallApplicationJobStatusQuery, FindInstallApplicationJobStatusQueryVariables>;
export const FindManyMarketplaceAppsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindManyMarketplaceApps"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findManyMarketplaceApps"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MarketplaceAppFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MarketplaceAppFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MarketplaceApp"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"author"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"sourcePackage"}},{"kind":"Field","name":{"kind":"Name","value":"isVetted"}}]}}]} as unknown as DocumentNode<FindManyMarketplaceAppsQuery, FindManyMarketplaceAppsQueryVariables>;
-export const FindMarketplaceAppDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindMarketplaceAppDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findMarketplaceAppDetail"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"universalIdentifier"},"value":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MarketplaceAppDetailFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MarketplaceAppDetailFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MarketplaceAppDetail"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"sourcePackage"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"isListed"}},{"kind":"Field","name":{"kind":"Name","value":"isVetted"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"author"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"websiteUrl"}},{"kind":"Field","name":{"kind":"Name","value":"aboutDescription"}},{"kind":"Field","name":{"kind":"Name","value":"pricingDescription"}},{"kind":"Field","name":{"kind":"Name","value":"termsUrl"}},{"kind":"Field","name":{"kind":"Name","value":"emailSupport"}},{"kind":"Field","name":{"kind":"Name","value":"issueReportUrl"}},{"kind":"Field","name":{"kind":"Name","value":"galleryImages"}},{"kind":"Field","name":{"kind":"Name","value":"installCount"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRoleUniversalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"requestedCapabilities"}},{"kind":"Field","name":{"kind":"Name","value":"billsCredits"}},{"kind":"Field","name":{"kind":"Name","value":"roles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllSettings"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllTools"}},{"kind":"Field","name":{"kind":"Name","value":"canReadAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"permissionFlagUniversalIdentifiers"}},{"kind":"Field","name":{"kind":"Name","value":"objectPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"objectUniversalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"canReadObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyObjectRecords"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"objectUniversalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"fieldUniversalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"canReadFieldValue"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateFieldValue"}}]}}]}}]}}]} as unknown as DocumentNode<FindMarketplaceAppDetailQuery, FindMarketplaceAppDetailQueryVariables>;
+export const FindMarketplaceAppDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindMarketplaceAppDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findMarketplaceAppDetail"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"universalIdentifier"},"value":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MarketplaceAppDetailFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MarketplaceAppDetailFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MarketplaceAppDetail"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"sourcePackage"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"isListed"}},{"kind":"Field","name":{"kind":"Name","value":"isVetted"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"author"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"websiteUrl"}},{"kind":"Field","name":{"kind":"Name","value":"aboutDescription"}},{"kind":"Field","name":{"kind":"Name","value":"pricingDescription"}},{"kind":"Field","name":{"kind":"Name","value":"termsUrl"}},{"kind":"Field","name":{"kind":"Name","value":"emailSupport"}},{"kind":"Field","name":{"kind":"Name","value":"issueReportUrl"}},{"kind":"Field","name":{"kind":"Name","value":"galleryImages"}},{"kind":"Field","name":{"kind":"Name","value":"installCount"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRoleUniversalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"requestedCapabilities"}},{"kind":"Field","name":{"kind":"Name","value":"billsCredits"}},{"kind":"Field","name":{"kind":"Name","value":"objects"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}}]}},{"kind":"Field","name":{"kind":"Name","value":"roles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllSettings"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllTools"}},{"kind":"Field","name":{"kind":"Name","value":"canReadAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"permissionFlagUniversalIdentifiers"}},{"kind":"Field","name":{"kind":"Name","value":"objectPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"objectUniversalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"canReadObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyObjectRecords"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"objectUniversalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"fieldUniversalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"canReadFieldValue"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateFieldValue"}}]}}]}}]}}]} as unknown as DocumentNode<FindMarketplaceAppDetailQuery, FindMarketplaceAppDetailQueryVariables>;
export const FindMarketplaceAppManifestDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindMarketplaceAppManifest"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findMarketplaceAppDetail"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"universalIdentifier"},"value":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"manifest"}}]}}]}}]} as unknown as DocumentNode<FindMarketplaceAppManifestQuery, FindMarketplaceAppManifestQueryVariables>;
export const FindUpgradeApplicationJobStatusDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindUpgradeApplicationJobStatus"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findUpgradeApplicationJobStatus"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"universalIdentifier"},"value":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"jobId"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"failedReason"}},{"kind":"Field","name":{"kind":"Name","value":"progress"}}]}}]}}]} as unknown as DocumentNode<FindUpgradeApplicationJobStatusQuery, FindUpgradeApplicationJobStatusQueryVariables>;
export const FindMinimalMetadataDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindMinimalMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"minimalMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectMetadataItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}}]}},{"kind":"Field","name":{"kind":"Name","value":"views"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}}]}},{"kind":"Field","name":{"kind":"Name","value":"collectionHashes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"collectionName"}},{"kind":"Field","name":{"kind":"Name","value":"hash"}}]}}]}}]}}]} as unknown as DocumentNode<FindMinimalMetadataQuery, FindMinimalMetadataQueryVariables>;
diff --git a/packages/twenty-front/src/modules/ai/utils/tool-display/buildNamedItemsStatusMessage.ts b/packages/twenty-front/src/modules/ai/utils/tool-display/buildNamedItemsStatusMessage.ts
index 6c418f098bb..31d45c35bfd 100644
--- a/packages/twenty-front/src/modules/ai/utils/tool-display/buildNamedItemsStatusMessage.ts
+++ b/packages/twenty-front/src/modules/ai/utils/tool-display/buildNamedItemsStatusMessage.ts
@@ -1,5 +1,5 @@
import { type ToolDisplayContext } from '@/ai/types/ToolDisplayContext';
-import { formatDisplayList } from '@/ai/utils/tool-display/formatDisplayList';
+import { formatDisplayList } from '~/utils/format/formatDisplayList';
import { getInnerToolName } from '@/ai/utils/tool-display/getInnerToolName';
import { pickStatusLabel } from '@/ai/utils/tool-display/pickStatusLabel';
diff --git a/packages/twenty-front/src/modules/marketplace/components/SettingsApplicationInstallPermissionValidationModal.tsx b/packages/twenty-front/src/modules/marketplace/components/SettingsApplicationInstallPermissionValidationModal.tsx
index ca96cf142dd..381d1953ada 100644
--- a/packages/twenty-front/src/modules/marketplace/components/SettingsApplicationInstallPermissionValidationModal.tsx
+++ b/packages/twenty-front/src/modules/marketplace/components/SettingsApplicationInstallPermissionValidationModal.tsx
@@ -1,4 +1,4 @@
-import { Dialog } from 'twenty-ui/primitives/surfaces';
+import { Dialog, Tooltip } from 'twenty-ui/primitives/surfaces';
import { DialogInstance } from '@/ui/layout/dialog/components/DialogInstance';
import { AppConnectionHeader } from '@/applications/components/AppConnectionHeader';
import { AuthorizeActionButtons } from '@/applications/components/AuthorizeActionButtons';
@@ -8,22 +8,32 @@ import {
buildPermissionSummaryFromRoleManifest,
type PermissionSummaryItem,
} from '@/marketplace/utils/buildPermissionSummaryFromRoleManifest';
+import { useObjectMetadataItems } from '@/object-metadata/hooks/useObjectMetadataItems';
import { useDialog } from '@/ui/layout/dialog/hooks/useDialog';
+import { TooltipDelay } from '@/ui/layout/tooltip/constants/TooltipDelay';
import { styled } from '@linaria/react';
import { t } from '@lingui/core/macro';
import { useMemo } from 'react';
import { type RoleManifest } from 'twenty-shared/application';
+import { isDefined } from 'twenty-shared/utils';
+import { InlineBanner } from 'twenty-ui/components/feedback';
import { LightButton } from 'twenty-ui/components/input';
-import { IconChevronLeft } from 'twenty-ui/icon';
+import { IconAlertTriangle, IconChevronLeft } from 'twenty-ui/icon';
import { themeCssVariables } from 'twenty-ui/theme';
+type MarketplaceAppObject = {
+ universalIdentifier: string;
+};
+
type SettingsApplicationInstallPermissionValidationModalProps = {
modalInstanceId: string;
appDisplayName: string;
appLogoUrl?: string;
defaultRole?: RoleManifest;
+ appObjects?: MarketplaceAppObject[];
requestedCapabilities?: string[];
billsCredits?: boolean;
+ isVetted?: boolean;
onAuthorize: () => void;
isInstalling?: boolean;
};
@@ -31,23 +41,27 @@ type SettingsApplicationInstallPermissionValidationModalProps = {
const StyledFullscreenContainer = styled.div`
align-items: center;
background: ${themeCssVariables.background.secondary};
+ box-sizing: border-box;
display: flex;
flex-direction: column;
height: 100%;
- justify-content: center;
+ overflow-y: auto;
+ padding: ${themeCssVariables.spacing[16]} ${themeCssVariables.spacing[4]};
position: relative;
width: 100%;
`;
const StyledLightButton = styled(LightButton)`
left: ${themeCssVariables.spacing[4]};
- position: absolute;
+ position: fixed;
top: ${themeCssVariables.spacing[4]};
`;
const StyledContent = styled.div`
display: flex;
flex-direction: column;
+ flex-shrink: 0;
+ margin: auto 0;
max-width: 400px;
width: 100%;
`;
@@ -64,6 +78,10 @@ const StyledTitle = styled.div`
text-align: center;
`;
+const StyledNotVettedBannerContainer = styled.div`
+ margin-bottom: ${themeCssVariables.spacing[4]};
+`;
+
const StyledPermissionsCard = styled.div`
background: ${themeCssVariables.background.primary};
border: 1px solid ${themeCssVariables.border.color.medium};
@@ -93,21 +111,73 @@ const StyledPermissionIcon = styled.div`
display: flex;
`;
+const StyledPermissionLabel = styled.span`
+ border-radius: ${themeCssVariables.border.radius.sm};
+ cursor: default;
+
+ &:focus-visible {
+ outline: 1px solid ${themeCssVariables.color.blue9};
+ }
+`;
+
+const StyledObjectListTitle = styled.div`
+ margin-bottom: ${themeCssVariables.spacing[1]};
+`;
+
+const StyledObjectList = styled.ul`
+ list-style: disc;
+ margin: 0;
+ padding-left: ${themeCssVariables.spacing[4]};
+`;
+
+const StyledNoPermissionText = styled.div`
+ color: ${themeCssVariables.font.color.secondary};
+ font-size: ${themeCssVariables.font.size.md};
+`;
+
export const SettingsApplicationInstallPermissionValidationModal = ({
modalInstanceId,
appDisplayName,
appLogoUrl,
defaultRole,
+ appObjects,
requestedCapabilities = [],
billsCredits = false,
+ isVetted = false,
onAuthorize,
isInstalling,
}: SettingsApplicationInstallPermissionValidationModalProps) => {
const { closeDialog } = useDialog();
+ const { objectMetadataItems } = useObjectMetadataItems();
+
+ const objectLabelsByUniversalIdentifier = useMemo(
+ (): Record<string, string> =>
+ Object.fromEntries(
+ objectMetadataItems.map(({ universalIdentifier, labelSingular }) => [
+ universalIdentifier,
+ labelSingular,
+ ]),
+ ),
+ [objectMetadataItems],
+ );
+
+ const appObjectUniversalIdentifiers = useMemo(
+ () =>
+ new Set(
+ (appObjects ?? []).map(
+ ({ universalIdentifier }) => universalIdentifier,
+ ),
+ ),
+ [appObjects],
+ );
+
const permissionItems: PermissionSummaryItem[] = useMemo(() => {
const rolePermissionItems = defaultRole
- ? buildPermissionSummaryFromRoleManifest(defaultRole)
+ ? buildPermissionSummaryFromRoleManifest(defaultRole, {
+ objectLabelsByUniversalIdentifier,
+ appObjectUniversalIdentifiers,
+ })
: [];
return [
@@ -115,7 +185,13 @@ export const SettingsApplicationInstallPermissionValidationModal = ({
...buildApplicationCapabilitySummary(requestedCapabilities),
...buildApplicationBillingSummary(billsCredits),
];
- }, [requestedCapabilities, defaultRole, billsCredits]);
+ }, [
+ requestedCapabilities,
+ defaultRole,
+ objectLabelsByUniversalIdentifier,
+ appObjectUniversalIdentifiers,
+ billsCredits,
+ ]);
const handleAuthorize = () => {
closeDialog(modalInstanceId);
@@ -131,6 +207,7 @@ export const SettingsApplicationInstallPermissionValidationModal = ({
dialogId={modalInstanceId}
dismissible
onClose={handleClose}
+ renderInDocumentBody
>
{({ onKeyDown }) => (
<Dialog.Popup
@@ -157,22 +234,63 @@ export const SettingsApplicationInstallPermissionValidationModal = ({
{t`Install ${appDisplayName} on your workspace`}
</StyledTitle>
- {permissionItems.length > 0 && (
- <StyledPermissionsCard>
- <StyledPermissionsTitle>
- {t`${appDisplayName} would like to:`}
- </StyledPermissionsTitle>
- {permissionItems.map((item) => (
- <StyledPermissionRow key={item.label}>
- <StyledPermissionIcon>
- <item.Icon size={16} />
- </StyledPermissionIcon>
- {item.label}
- </StyledPermissionRow>
- ))}
- </StyledPermissionsCard>
+ {!isVetted && (
+ <StyledNotVettedBannerContainer>
+ <InlineBanner
+ status="warning"
+ layout="compact"
+ icon={<IconAlertTriangle aria-hidden="true" />}
+ >{t`This application is not vetted by Twenty. Use at your own risk.`}</InlineBanner>
+ </StyledNotVettedBannerContainer>
)}
+ <StyledPermissionsCard>
+ {permissionItems.length > 0 ? (
+ <>
+ <StyledPermissionsTitle>
+ {t`${appDisplayName} would like to:`}
+ </StyledPermissionsTitle>
+ {permissionItems.map((item) => (
+ <StyledPermissionRow key={item.label}>
+ <StyledPermissionIcon>
+ <item.Icon size={16} aria-hidden />
+ </StyledPermissionIcon>
+ {isDefined(item.details) ? (
+ <Tooltip
+ content={
+ <>
+ <StyledObjectListTitle>
+ {item.details.title}
+ </StyledObjectListTitle>
+ <StyledObjectList>
+ {item.details.items.map((detailItem) => (
+ <li key={detailItem}>{detailItem}</li>
+ ))}
+ </StyledObjectList>
+ </>
+ }
+ arrow
+ side="top"
+ delay={TooltipDelay.shortDelay}
+ positionMethod="fixed"
+ >
+ <StyledPermissionLabel tabIndex={0}>
+ {item.label}
+ </StyledPermissionLabel>
+ </Tooltip>
+ ) : (
+ item.label
+ )}
+ </StyledPermissionRow>
+ ))}
+ </>
+ ) : (
+ <StyledNoPermissionText>
+ {t`${appDisplayName} does not request any permission on your workspace.`}
+ </StyledNoPermissionText>
+ )}
+ </StyledPermissionsCard>
+
<AuthorizeActionButtons
onCancel={handleClose}
onAuthorize={handleAuthorize}
diff --git a/packages/twenty-front/src/modules/marketplace/constants/PermissionFlagSummaryConfigs.ts b/packages/twenty-front/src/modules/marketplace/constants/PermissionFlagSummaryConfigs.ts
new file mode 100644
index 00000000000..c886f8200c7
--- /dev/null
+++ b/packages/twenty-front/src/modules/marketplace/constants/PermissionFlagSummaryConfigs.ts
@@ -0,0 +1,145 @@
+import { t } from '@lingui/core/macro';
+import { PermissionFlagType } from 'twenty-shared/constants';
+import {
+ IconApi,
+ IconApps,
+ IconAppWindow,
+ IconAt,
+ IconCalendarEvent,
+ IconCode,
+ type IconComponent,
+ IconCreditCard,
+ IconDownload,
+ IconFileExport,
+ IconFileImport,
+ IconFileUpload,
+ IconHierarchy,
+ IconKey,
+ IconLock,
+ IconMail,
+ IconPlug,
+ IconSettings,
+ IconSettingsAutomation,
+ IconShield,
+ IconShoppingBag,
+ IconSparkles,
+ IconSpy,
+ IconTable,
+ IconUser,
+ IconUsers,
+} from 'twenty-ui/icon';
+
+export type PermissionFlagSummaryConfig = {
+ Icon: IconComponent;
+ getLabel: () => string;
+};
+
+export const PERMISSION_FLAG_SUMMARY_CONFIGS: Record<
+ PermissionFlagType,
+ PermissionFlagSummaryConfig
+> = {
+ [PermissionFlagType.API_KEYS_AND_WEBHOOKS]: {
+ Icon: IconPlug,
+ getLabel: () => t`Manage MCP, API keys, and webhooks`,
+ },
+ [PermissionFlagType.WORKSPACE]: {
+ Icon: IconSettings,
+ getLabel: () => t`Manage workspace preferences`,
+ },
+ [PermissionFlagType.WORKSPACE_MEMBERS]: {
+ Icon: IconUsers,
+ getLabel: () => t`Manage workspace members`,
+ },
+ [PermissionFlagType.ROLES]: {
+ Icon: IconLock,
+ getLabel: () => t`Manage roles and permissions`,
+ },
+ [PermissionFlagType.DATA_MODEL]: {
+ Icon: IconHierarchy,
+ getLabel: () => t`Read and write data model configuration`,
+ },
+ [PermissionFlagType.SECURITY]: {
+ Icon: IconKey,
+ getLabel: () => t`Manage security settings`,
+ },
+ [PermissionFlagType.WORKFLOWS]: {
+ Icon: IconSettingsAutomation,
+ getLabel: () => t`Manage workflows`,
+ },
+ [PermissionFlagType.IMPERSONATE]: {
+ Icon: IconSpy,
+ getLabel: () => t`Impersonate workspace members`,
+ },
+ [PermissionFlagType.SSO_BYPASS]: {
+ Icon: IconShield,
+ getLabel: () => t`Bypass single sign-on`,
+ },
+ [PermissionFlagType.APPLICATIONS]: {
+ Icon: IconApps,
+ getLabel: () => t`Install and manage applications`,
+ },
+ [PermissionFlagType.MARKETPLACE_APPS]: {
+ Icon: IconShoppingBag,
+ getLabel: () => t`Manage the marketplace catalog`,
+ },
+ [PermissionFlagType.LAYOUTS]: {
+ Icon: IconAppWindow,
+ getLabel: () => t`Customize page layouts`,
+ },
+ [PermissionFlagType.BILLING]: {
+ Icon: IconCreditCard,
+ getLabel: () => t`Manage billing`,
+ },
+ [PermissionFlagType.AI_SETTINGS]: {
+ Icon: IconSparkles,
+ getLabel: () => t`Configure AI agents`,
+ },
+ [PermissionFlagType.AI]: {
+ Icon: IconSparkles,
+ getLabel: () => t`Run AI agents`,
+ },
+ [PermissionFlagType.VIEWS]: {
+ Icon: IconTable,
+ getLabel: () => t`Manage views`,
+ },
+ [PermissionFlagType.UPLOAD_FILE]: {
+ Icon: IconFileUpload,
+ getLabel: () => t`Upload files`,
+ },
+ [PermissionFlagType.DOWNLOAD_FILE]: {
+ Icon: IconDownload,
+ getLabel: () => t`Download files`,
+ },
+ [PermissionFlagType.SEND_EMAIL_TOOL]: {
+ Icon: IconMail,
+ getLabel: () => t`Send emails from connected accounts`,
+ },
+ [PermissionFlagType.CREATE_CALENDAR_EVENT_TOOL]: {
+ Icon: IconCalendarEvent,
+ getLabel: () => t`Create calendar events`,
+ },
+ [PermissionFlagType.HTTP_REQUEST_TOOL]: {
+ Icon: IconApi,
+ getLabel: () => t`Make HTTP requests to external services`,
+ },
+ [PermissionFlagType.CODE_INTERPRETER_TOOL]: {
+ Icon: IconCode,
+ getLabel: () => t`Run code`,
+ },
+ [PermissionFlagType.IMPORT_CSV]: {
+ Icon: IconFileImport,
+ getLabel: () => t`Import CSV files`,
+ },
+ [PermissionFlagType.EXPORT_CSV]: {
+ Icon: IconFileExport,
+ getLabel: () => t`Export CSV files`,
+ },
+ [PermissionFlagType.CONNECTED_ACCOUNTS]: {
+ Icon: IconAt,
+ getLabel: () => t`Sync email and calendar accounts`,
+ },
+ [PermissionFlagType.PROFILE_INFORMATION]: {
+ Icon: IconUser,
+ getLabel: () => t`Edit profile information`,
+ },
+};
diff --git a/packages/twenty-front/src/modules/marketplace/constants/PermissionFlagTypeByUniversalIdentifier.ts b/packages/twenty-front/src/modules/marketplace/constants/PermissionFlagTypeByUniversalIdentifier.ts
new file mode 100644
index 00000000000..8885248b6a9
--- /dev/null
+++ b/packages/twenty-front/src/modules/marketplace/constants/PermissionFlagTypeByUniversalIdentifier.ts
@@ -0,0 +1,14 @@
+import {
+ PermissionFlagType,
+ SystemPermissionFlag,
+} from 'twenty-shared/constants';
+
+export const PERMISSION_FLAG_TYPE_BY_UNIVERSAL_IDENTIFIER = new Map<
+ string,
+ PermissionFlagType
+>(
+ Object.values(PermissionFlagType).map((flagType) => [
+ SystemPermissionFlag[flagType],
+ flagType,
+ ]),
+);
diff --git a/packages/twenty-front/src/modules/marketplace/graphql/fragments/marketplaceAppDetailFragment.ts b/packages/twenty-front/src/modules/marketplace/graphql/fragments/marketplaceAppDetailFragment.ts
index e92f10b0c90..c6d0eafff1f 100644
--- a/packages/twenty-front/src/modules/marketplace/graphql/fragments/marketplaceAppDetailFragment.ts
+++ b/packages/twenty-front/src/modules/marketplace/graphql/fragments/marketplaceAppDetailFragment.ts
@@ -25,6 +25,9 @@ export const MARKETPLACE_APP_DETAIL_FRAGMENT = gql`
defaultRoleUniversalIdentifier
requestedCapabilities
billsCredits
+ objects {
+ universalIdentifier
+ }
roles {
universalIdentifier
label
diff --git a/packages/twenty-front/src/modules/marketplace/hooks/useMarketplaceApps.ts b/packages/twenty-front/src/modules/marketplace/hooks/useMarketplaceApps.ts
index 6e6efb72d46..b16a7bb0bf2 100644
--- a/packages/twenty-front/src/modules/marketplace/hooks/useMarketplaceApps.ts
+++ b/packages/twenty-front/src/modules/marketplace/hooks/useMarketplaceApps.ts
@@ -2,11 +2,15 @@ import { useQuery } from '@apollo/client/react';
import { FindManyMarketplaceAppsDocument } from '~/generated-metadata/graphql';
export const useMarketplaceApps = () => {
- const { data, loading, error } = useQuery(FindManyMarketplaceAppsDocument);
+ const { data, loading, error, refetch } = useQuery(
+ FindManyMarketplaceAppsDocument,
+ { notifyOnNetworkStatusChange: true },
+ );
return {
data: data?.findManyMarketplaceApps ?? [],
isLoading: loading,
error,
+ refetch,
};
};
diff --git a/packages/twenty-front/src/modules/marketplace/types/PermissionSummaryItem.ts b/packages/twenty-front/src/modules/marketplace/types/PermissionSummaryItem.ts
new file mode 100644
index 00000000000..104190a80b7
--- /dev/null
+++ b/packages/twenty-front/src/modules/marketplace/types/PermissionSummaryItem.ts
@@ -0,0 +1,10 @@
+import { type IconComponent } from 'twenty-ui/icon';
+
+export type PermissionSummaryItem = {
+ Icon: IconComponent;
+ label: string;
+ details?: {
+ title: string;
+ items: string[];
+ };
+};
diff --git a/packages/twenty-front/src/modules/marketplace/types/RecordAccess.ts b/packages/twenty-front/src/modules/marketplace/types/RecordAccess.ts
new file mode 100644
index 00000000000..7a0050e47ea
--- /dev/null
+++ b/packages/twenty-front/src/modules/marketplace/types/RecordAccess.ts
@@ -0,0 +1,5 @@
+export type RecordAccess = {
+ canRead: boolean;
+ canWrite: boolean;
+ canDelete: boolean;
+};
diff --git a/packages/twenty-front/src/modules/marketplace/utils/__tests__/buildPermissionSummaryFromRoleManifest.test.ts b/packages/twenty-front/src/modules/marketplace/utils/__tests__/buildPermissionSummaryFromRoleManifest.test.ts
index 10a96e263c8..259d6ca0c2d 100644
--- a/packages/twenty-front/src/modules/marketplace/utils/__tests__/buildPermissionSummaryFromRoleManifest.test.ts
+++ b/packages/twenty-front/src/modules/marketplace/utils/__tests__/buildPermissionSummaryFromRoleManifest.test.ts
@@ -8,313 +8,447 @@ const baseRole: RoleManifest = {
label: 'Test Role',
};
-describe('buildPermissionSummaryFromRoleManifest', () => {
- it('should return empty array when role has no permissions', () => {
- const result = buildPermissionSummaryFromRoleManifest(baseRole);
-
- expect(result).toEqual([]);
- });
-
- describe('record permissions', () => {
- it('should return "Read records" for read-only', () => {
- const role: RoleManifest = {
- ...baseRole,
- canReadAllObjectRecords: true,
- };
-
- const result = buildPermissionSummaryFromRoleManifest(role);
-
- expect(result).toHaveLength(1);
- expect(result[0].label).toBe('Read records');
- });
-
- it('should return "Write records" for write-only', () => {
- const role: RoleManifest = {
- ...baseRole,
- canUpdateAllObjectRecords: true,
- };
-
- const result = buildPermissionSummaryFromRoleManifest(role);
-
- expect(result).toHaveLength(1);
- expect(result[0].label).toBe('Write records');
- });
-
- it('should return "Read and write records" for read+write', () => {
- const role: RoleManifest = {
- ...baseRole,
- canReadAllObjectRecords: true,
- canUpdateAllObjectRecords: true,
- };
-
- const result = buildPermissionSummaryFromRoleManifest(role);
-
- expect(result).toHaveLength(1);
- expect(result[0].label).toBe('Read and write records');
- });
+const PERSON_OBJECT_UNIVERSAL_IDENTIFIER =
+ '20202020-e674-48e5-a542-72570eee7213';
+const COMPANY_OBJECT_UNIVERSAL_IDENTIFIER =
+ '20202020-b374-4779-a561-80086cb2e17f';
+const TASK_OBJECT_UNIVERSAL_IDENTIFIER = '20202020-1ba1-48ba-bc83-ef7e5990ed10';
+const APP_OBJECT_UNIVERSAL_IDENTIFIER = 'a1b2c3d4-0000-4000-8000-0000000000a1';
+
+const objectLabelsByUniversalIdentifier = {
+ [PERSON_OBJECT_UNIVERSAL_IDENTIFIER]: 'Person',
+ [COMPANY_OBJECT_UNIVERSAL_IDENTIFIER]: 'Company',
+ [TASK_OBJECT_UNIVERSAL_IDENTIFIER]: 'Task',
+};
- it('should return "Delete records" for soft-delete only', () => {
- const role: RoleManifest = {
- ...baseRole,
- canSoftDeleteAllObjectRecords: true,
- };
+const getLabels = (
+ role: RoleManifest,
+ options?: Parameters<typeof buildPermissionSummaryFromRoleManifest>[1],
+) =>
+ buildPermissionSummaryFromRoleManifest(role, options).map(
+ ({ label }) => label,
+ );
+
+const getDetails = (
+ role: RoleManifest,
+ options?: Parameters<typeof buildPermissionSummaryFromRoleManifest>[1],
+) =>
+ buildPermissionSummaryFromRoleManifest(role, options).map(
+ ({ details }) => details?.items,
+ );
- const result = buildPermissionSummaryFromRoleManifest(role);
+describe('buildPermissionSummaryFromRoleManifest', () => {
+ it('returns nothing for a role without permissions', () => {
+ expect(buildPermissionSummaryFromRoleManifest(baseRole)).toEqual([]);
+ });
- expect(result).toHaveLength(1);
- expect(result[0].label).toBe('Delete records');
+ describe('all-record permissions', () => {
+ it.each([
+ [{ canReadAllObjectRecords: true }, 'Read all records'],
+ [{ canUpdateAllObjectRecords: true }, 'Write all records'],
+ [{ canSoftDeleteAllObjectRecords: true }, 'Delete all records'],
+ [{ canDestroyAllObjectRecords: true }, 'Delete all records'],
+ [
+ { canReadAllObjectRecords: true, canUpdateAllObjectRecords: true },
+ 'Read and write all records',
+ ],
+ [
+ { canReadAllObjectRecords: true, canSoftDeleteAllObjectRecords: true },
+ 'Read and delete all records',
+ ],
+ [
+ {
+ canUpdateAllObjectRecords: true,
+ canDestroyAllObjectRecords: true,
+ },
+ 'Write and delete all records',
+ ],
+ [
+ {
+ canReadAllObjectRecords: true,
+ canUpdateAllObjectRecords: true,
+ canSoftDeleteAllObjectRecords: true,
+ },
+ 'Read, write, and delete all records',
+ ],
+ ])('summarizes %o as "%s"', (permissions, expectedLabel) => {
+ expect(getLabels({ ...baseRole, ...permissions })).toEqual([
+ expectedLabel,
+ ]);
});
- it('should return "Delete records" for destroy only', () => {
- const role: RoleManifest = {
- ...baseRole,
- canDestroyAllObjectRecords: true,
- };
-
- const result = buildPermissionSummaryFromRoleManifest(role);
-
- expect(result).toHaveLength(1);
- expect(result[0].label).toBe('Delete records');
+ it('lists object-level grants that go beyond the all-record access', () => {
+ expect(
+ getLabels(
+ {
+ ...baseRole,
+ canReadAllObjectRecords: true,
+ objectPermissions: [
+ {
+ universalIdentifier: 'perm-1',
+ objectUniversalIdentifier: PERSON_OBJECT_UNIVERSAL_IDENTIFIER,
+ canReadObjectRecords: true,
+ canUpdateObjectRecords: true,
+ },
+ {
+ universalIdentifier: 'perm-2',
+ objectUniversalIdentifier: TASK_OBJECT_UNIVERSAL_IDENTIFIER,
+ canReadObjectRecords: true,
+ canDestroyObjectRecords: true,
+ },
+ ],
+ },
+ { objectLabelsByUniversalIdentifier },
+ ),
+ ).toEqual(['Read all records', 'Write 1 object', 'Delete 1 object']);
});
- it('should return "Read and delete records" for read+delete', () => {
- const role: RoleManifest = {
- ...baseRole,
- canReadAllObjectRecords: true,
- canSoftDeleteAllObjectRecords: true,
- };
-
- const result = buildPermissionSummaryFromRoleManifest(role);
-
- expect(result).toHaveLength(1);
- expect(result[0].label).toBe('Read and delete records');
+ it('does not repeat object-level grants already covered by the all-record access', () => {
+ expect(
+ getLabels(
+ {
+ ...baseRole,
+ canReadAllObjectRecords: true,
+ canUpdateAllObjectRecords: true,
+ objectPermissions: [
+ {
+ universalIdentifier: 'perm-1',
+ objectUniversalIdentifier: PERSON_OBJECT_UNIVERSAL_IDENTIFIER,
+ canReadObjectRecords: true,
+ canUpdateObjectRecords: true,
+ },
+ ],
+ },
+ { objectLabelsByUniversalIdentifier },
+ ),
+ ).toEqual(['Read and write all records']);
});
+ });
- it('should return "Read, write, and delete records" with Oxford comma for all three', () => {
- const role: RoleManifest = {
- ...baseRole,
- canReadAllObjectRecords: true,
- canUpdateAllObjectRecords: true,
- canSoftDeleteAllObjectRecords: true,
- };
-
- const result = buildPermissionSummaryFromRoleManifest(role);
-
- expect(result).toHaveLength(1);
- expect(result[0].label).toBe('Read, write, and delete records');
+ describe('object-level permissions', () => {
+ it('counts the objects and groups them by access level', () => {
+ expect(
+ getLabels(
+ {
+ ...baseRole,
+ objectPermissions: [
+ {
+ universalIdentifier: 'perm-1',
+ objectUniversalIdentifier: PERSON_OBJECT_UNIVERSAL_IDENTIFIER,
+ canReadObjectRecords: true,
+ canUpdateObjectRecords: true,
+ },
+ {
+ universalIdentifier: 'perm-2',
+ objectUniversalIdentifier: COMPANY_OBJECT_UNIVERSAL_IDENTIFIER,
+ canReadObjectRecords: true,
+ canUpdateObjectRecords: true,
+ },
+ {
+ universalIdentifier: 'perm-3',
+ objectUniversalIdentifier: TASK_OBJECT_UNIVERSAL_IDENTIFIER,
+ canReadObjectRecords: true,
+ },
+ ],
+ },
+ { objectLabelsByUniversalIdentifier },
+ ),
+ ).toEqual(['Read and write 2 objects', 'Read 1 object']);
});
- it('should treat destroy the same as soft-delete for label purposes', () => {
- const role: RoleManifest = {
- ...baseRole,
- canReadAllObjectRecords: true,
- canUpdateAllObjectRecords: true,
- canDestroyAllObjectRecords: true,
- };
-
- const result = buildPermissionSummaryFromRoleManifest(role);
-
- expect(result[0].label).toBe('Read, write, and delete records');
+ it('counts objects whose label is unknown too', () => {
+ expect(
+ getLabels(
+ {
+ ...baseRole,
+ objectPermissions: [
+ {
+ universalIdentifier: 'perm-1',
+ objectUniversalIdentifier: PERSON_OBJECT_UNIVERSAL_IDENTIFIER,
+ canReadObjectRecords: true,
+ },
+ {
+ universalIdentifier: 'perm-2',
+ objectUniversalIdentifier: 'unknown-object-1',
+ canReadObjectRecords: true,
+ },
+ {
+ universalIdentifier: 'perm-3',
+ objectUniversalIdentifier: 'unknown-object-2',
+ canReadObjectRecords: true,
+ },
+ ],
+ },
+ { objectLabelsByUniversalIdentifier },
+ ),
+ ).toEqual(['Read 3 objects']);
});
- });
- describe('object permissions fallback', () => {
- it('should show "Access specific object records" when objectPermissions exist but no global record flags', () => {
- const role: RoleManifest = {
- ...baseRole,
- objectPermissions: [
+ it('does not resolve object labels from Object prototype properties', () => {
+ expect(
+ getDetails(
{
- universalIdentifier: 'perm-1',
- objectUniversalIdentifier: 'obj-1',
- canReadObjectRecords: true,
+ ...baseRole,
+ objectPermissions: [
+ {
+ universalIdentifier: 'perm-1',
+ objectUniversalIdentifier: PERSON_OBJECT_UNIVERSAL_IDENTIFIER,
+ canReadObjectRecords: true,
+ },
+ {
+ universalIdentifier: 'perm-2',
+ objectUniversalIdentifier: 'constructor',
+ canReadObjectRecords: true,
+ },
+ {
+ universalIdentifier: 'perm-3',
+ objectUniversalIdentifier: 'hasOwnProperty',
+ canReadObjectRecords: true,
+ },
+ ],
},
- ],
- };
-
- const result = buildPermissionSummaryFromRoleManifest(role);
+ { objectLabelsByUniversalIdentifier },
+ ),
+ ).toEqual([['Person', '2 other objects']]);
+ });
- expect(result).toHaveLength(1);
- expect(result[0].label).toBe('Access specific object records');
+ it('lists the singular labels of the resolved objects as details', () => {
+ const [item] = buildPermissionSummaryFromRoleManifest(
+ {
+ ...baseRole,
+ objectPermissions: [
+ {
+ universalIdentifier: 'perm-1',
+ objectUniversalIdentifier: PERSON_OBJECT_UNIVERSAL_IDENTIFIER,
+ canReadObjectRecords: true,
+ },
+ {
+ universalIdentifier: 'perm-2',
+ objectUniversalIdentifier: COMPANY_OBJECT_UNIVERSAL_IDENTIFIER,
+ canReadObjectRecords: true,
+ },
+ {
+ universalIdentifier: 'perm-3',
+ objectUniversalIdentifier: 'unknown-object-1',
+ canReadObjectRecords: true,
+ },
+ ],
+ },
+ { objectLabelsByUniversalIdentifier },
+ );
+
+ expect(item.label).toBe('Read 3 objects');
+ expect(item.details).toEqual({
+ title: 'Read 3 object records:',
+ items: ['Person', 'Company', '1 other object'],
+ });
});
- it('should not show object permissions fallback when global record flags are set', () => {
- const role: RoleManifest = {
+ it('has no details when no object label is resolved', () => {
+ const [item] = buildPermissionSummaryFromRoleManifest({
...baseRole,
- canReadAllObjectRecords: true,
objectPermissions: [
{
universalIdentifier: 'perm-1',
- objectUniversalIdentifier: 'obj-1',
+ objectUniversalIdentifier: 'unknown-object-1',
canReadObjectRecords: true,
},
],
- };
+ });
- const result = buildPermissionSummaryFromRoleManifest(role);
-
- expect(result).toHaveLength(1);
- expect(result[0].label).toBe('Read records');
- });
- });
-
- describe('permission flags', () => {
- it('should add DATA_MODEL flag as "Read and write data model configuration"', () => {
- const role: RoleManifest = {
- ...baseRole,
- permissionFlagUniversalIdentifiers: [SystemPermissionFlag.DATA_MODEL],
- };
-
- const result = buildPermissionSummaryFromRoleManifest(role);
-
- expect(result).toHaveLength(1);
- expect(result[0].label).toBe('Read and write data model configuration');
- });
-
- it('should add WORKFLOWS flag', () => {
- const role: RoleManifest = {
- ...baseRole,
- permissionFlagUniversalIdentifiers: [SystemPermissionFlag.WORKFLOWS],
- };
-
- const result = buildPermissionSummaryFromRoleManifest(role);
-
- expect(result).toHaveLength(1);
- expect(result[0].label).toBe('Manage workflows');
+ expect(item.label).toBe('Read 1 object');
+ expect(item.details).toBeUndefined();
});
- it('should add SECURITY flag', () => {
- const role: RoleManifest = {
- ...baseRole,
- permissionFlagUniversalIdentifiers: [SystemPermissionFlag.SECURITY],
- };
-
- const result = buildPermissionSummaryFromRoleManifest(role);
-
- expect(result).toHaveLength(1);
- expect(result[0].label).toBe('Manage security settings');
+ it('leaves out grants on objects the application defines itself', () => {
+ const [item, ...otherItems] = buildPermissionSummaryFromRoleManifest(
+ {
+ ...baseRole,
+ objectPermissions: [
+ {
+ universalIdentifier: 'perm-1',
+ objectUniversalIdentifier: APP_OBJECT_UNIVERSAL_IDENTIFIER,
+ canReadObjectRecords: true,
+ canUpdateObjectRecords: true,
+ canDestroyObjectRecords: true,
+ },
+ {
+ universalIdentifier: 'perm-2',
+ objectUniversalIdentifier: PERSON_OBJECT_UNIVERSAL_IDENTIFIER,
+ canReadObjectRecords: true,
+ },
+ ],
+ },
+ {
+ objectLabelsByUniversalIdentifier,
+ appObjectUniversalIdentifiers: new Set([
+ APP_OBJECT_UNIVERSAL_IDENTIFIER,
+ ]),
+ },
+ );
+
+ expect(otherItems).toEqual([]);
+ expect(item.label).toBe('Read 1 object');
+ expect(item.details).toEqual({
+ title: 'Read 1 object record:',
+ items: ['Person'],
+ });
});
- it('should add WORKSPACE_MEMBERS flag', () => {
- const role: RoleManifest = {
- ...baseRole,
- permissionFlagUniversalIdentifiers: [
- SystemPermissionFlag.WORKSPACE_MEMBERS,
- ],
- };
-
- const result = buildPermissionSummaryFromRoleManifest(role);
-
- expect(result).toHaveLength(1);
- expect(result[0].label).toBe('Manage workspace members');
- });
-
- it('should add BILLING flag', () => {
- const role: RoleManifest = {
- ...baseRole,
- permissionFlagUniversalIdentifiers: [SystemPermissionFlag.BILLING],
- };
-
- const result = buildPermissionSummaryFromRoleManifest(role);
-
- expect(result).toHaveLength(1);
- expect(result[0].label).toBe('Manage billing');
+ it('requests nothing when the role only grants access to its own objects', () => {
+ expect(
+ buildPermissionSummaryFromRoleManifest(
+ {
+ ...baseRole,
+ objectPermissions: [
+ {
+ universalIdentifier: 'perm-1',
+ objectUniversalIdentifier: APP_OBJECT_UNIVERSAL_IDENTIFIER,
+ canReadObjectRecords: true,
+ canUpdateObjectRecords: true,
+ },
+ ],
+ },
+ {
+ appObjectUniversalIdentifiers: new Set([
+ APP_OBJECT_UNIVERSAL_IDENTIFIER,
+ ]),
+ },
+ ),
+ ).toEqual([]);
});
- it('should add API_KEYS_AND_WEBHOOKS flag', () => {
- const role: RoleManifest = {
- ...baseRole,
- permissionFlagUniversalIdentifiers: [
- SystemPermissionFlag.API_KEYS_AND_WEBHOOKS,
- ],
- };
-
- const result = buildPermissionSummaryFromRoleManifest(role);
-
- expect(result).toHaveLength(1);
- expect(result[0].label).toBe('Manage MCP, API keys, and webhooks');
+ it('falls back to a count when no labels are provided at all', () => {
+ expect(
+ getLabels({
+ ...baseRole,
+ objectPermissions: [
+ {
+ universalIdentifier: 'perm-1',
+ objectUniversalIdentifier: 'obj-1',
+ canReadObjectRecords: true,
+ canSoftDeleteObjectRecords: true,
+ },
+ ],
+ }),
+ ).toEqual(['Read and delete 1 object']);
});
- it('should ignore unknown permission flags', () => {
- const role: RoleManifest = {
- ...baseRole,
- permissionFlagUniversalIdentifiers: [
- 'unknown-flag-00000000-0000-0000-0000-000000000000',
- ],
- };
-
- const result = buildPermissionSummaryFromRoleManifest(role);
-
- expect(result).toEqual([]);
+ it('skips object permissions that grant nothing and deduplicates objects', () => {
+ expect(
+ getLabels(
+ {
+ ...baseRole,
+ objectPermissions: [
+ {
+ universalIdentifier: 'perm-1',
+ objectUniversalIdentifier: PERSON_OBJECT_UNIVERSAL_IDENTIFIER,
+ canReadObjectRecords: false,
+ canUpdateObjectRecords: false,
+ },
+ {
+ universalIdentifier: 'perm-2',
+ objectUniversalIdentifier: TASK_OBJECT_UNIVERSAL_IDENTIFIER,
+ canDestroyObjectRecords: true,
+ },
+ {
+ universalIdentifier: 'perm-3',
+ objectUniversalIdentifier: TASK_OBJECT_UNIVERSAL_IDENTIFIER,
+ canDestroyObjectRecords: true,
+ },
+ ],
+ },
+ { objectLabelsByUniversalIdentifier },
+ ),
+ ).toEqual(['Delete 1 object']);
});
});
- describe('settings and tools', () => {
- it('should add "Update workspace settings" when canUpdateAllSettings is true', () => {
- const role: RoleManifest = {
+ describe('permission flags', () => {
+ it('labels every system permission flag', () => {
+ const labels = getLabels({
...baseRole,
- canUpdateAllSettings: true,
- };
-
- const result = buildPermissionSummaryFromRoleManifest(role);
-
- expect(result).toHaveLength(1);
- expect(result[0].label).toBe('Update workspace settings');
+ permissionFlagUniversalIdentifiers: Object.values(SystemPermissionFlag),
+ });
+
+ expect(labels).toHaveLength(Object.values(SystemPermissionFlag).length);
+ expect(new Set(labels).size).toBe(labels.length);
+ expect(labels).toEqual(
+ expect.arrayContaining([
+ 'Upload files',
+ 'Install and manage applications',
+ 'Run AI agents',
+ 'Manage billing',
+ 'Manage MCP, API keys, and webhooks',
+ ]),
+ );
});
- it('should add "Access all tools" when canAccessAllTools is true', () => {
- const role: RoleManifest = {
- ...baseRole,
- canAccessAllTools: true,
- };
-
- const result = buildPermissionSummaryFromRoleManifest(role);
+ it('deduplicates repeated flags and ignores unknown ones', () => {
+ expect(
+ getLabels({
+ ...baseRole,
+ permissionFlagUniversalIdentifiers: [
+ SystemPermissionFlag.WORKFLOWS,
+ SystemPermissionFlag.WORKFLOWS,
+ 'unknown-flag-00000000-0000-0000-0000-000000000000',
+ ],
+ }),
+ ).toEqual(['Manage workflows']);
+ });
- expect(result).toHaveLength(1);
- expect(result[0].label).toBe('Access all tools');
+ it('ignores identifiers that name Object prototype properties', () => {
+ expect(
+ getLabels({
+ ...baseRole,
+ permissionFlagUniversalIdentifiers: [
+ 'constructor',
+ 'toString',
+ '__proto__',
+ SystemPermissionFlag.WORKFLOWS,
+ ],
+ }),
+ ).toEqual(['Manage workflows']);
});
});
- describe('combined permissions', () => {
- it('should combine all permission types in correct order', () => {
- const role: RoleManifest = {
- ...baseRole,
- canReadAllObjectRecords: true,
- canUpdateAllObjectRecords: true,
- canUpdateAllSettings: true,
- canAccessAllTools: true,
- permissionFlagUniversalIdentifiers: [
- SystemPermissionFlag.DATA_MODEL,
- SystemPermissionFlag.WORKFLOWS,
- ],
- };
-
- const result = buildPermissionSummaryFromRoleManifest(role);
-
- expect(result.map((item) => item.label)).toEqual([
- 'Read and write records',
+ describe('ordering', () => {
+ it('lists records, data model, settings, tools, then other flags', () => {
+ expect(
+ getLabels({
+ ...baseRole,
+ canReadAllObjectRecords: true,
+ canUpdateAllObjectRecords: true,
+ canUpdateAllSettings: true,
+ canAccessAllTools: true,
+ permissionFlagUniversalIdentifiers: [
+ SystemPermissionFlag.WORKFLOWS,
+ SystemPermissionFlag.DATA_MODEL,
+ ],
+ }),
+ ).toEqual([
+ 'Read and write all records',
'Read and write data model configuration',
- 'Update workspace settings',
- 'Access all tools',
+ 'Update all workspace settings',
+ 'Use all tools',
'Manage workflows',
]);
});
- it('should handle a role with only undefined/false permission values', () => {
- const role: RoleManifest = {
- ...baseRole,
- canReadAllObjectRecords: false,
- canUpdateAllObjectRecords: false,
- canSoftDeleteAllObjectRecords: false,
- canDestroyAllObjectRecords: false,
- canUpdateAllSettings: false,
- canAccessAllTools: false,
- objectPermissions: [],
- permissionFlagUniversalIdentifiers: [],
- };
-
- const result = buildPermissionSummaryFromRoleManifest(role);
-
- expect(result).toEqual([]);
+ it('treats explicit false values as no permission', () => {
+ expect(
+ getLabels({
+ ...baseRole,
+ canReadAllObjectRecords: false,
+ canUpdateAllObjectRecords: false,
+ canSoftDeleteAllObjectRecords: false,
+ canDestroyAllObjectRecords: false,
+ canUpdateAllSettings: false,
+ canAccessAllTools: false,
+ objectPermissions: [],
+ permissionFlagUniversalIdentifiers: [],
+ }),
+ ).toEqual([]);
});
});
});
diff --git a/packages/twenty-front/src/modules/marketplace/utils/buildObjectRecordsPermissionSummary.ts b/packages/twenty-front/src/modules/marketplace/utils/buildObjectRecordsPermissionSummary.ts
new file mode 100644
index 00000000000..45657c79960
--- /dev/null
+++ b/packages/twenty-front/src/modules/marketplace/utils/buildObjectRecordsPermissionSummary.ts
@@ -0,0 +1,143 @@
+import { type PermissionSummaryItem } from '@/marketplace/types/PermissionSummaryItem';
+import { type RecordAccess } from '@/marketplace/types/RecordAccess';
+import { getRecordAccessLabel } from '@/marketplace/utils/getRecordAccessLabel';
+import { plural } from '@lingui/core/macro';
+import { type RoleManifest } from 'twenty-shared/application';
+import { isDefined } from 'twenty-shared/utils';
+import { IconAddressBook } from 'twenty-ui/icon';
+
+type ObjectPermissionGroup = {
+ access: RecordAccess;
+ objectUniversalIdentifiers: string[];
+};
+
+const getRecordAccessKey = ({ canRead, canWrite, canDelete }: RecordAccess) =>
+ `${canRead ? 'read' : ''}-${canWrite ? 'write' : ''}-${canDelete ? 'delete' : ''}`;
+
+const getAccessBeyondRole = ({
+ objectPermission,
+ roleAccess,
+}: {
+ objectPermission: NonNullable<RoleManifest['objectPermissions']>[number];
+ roleAccess: RecordAccess;
+}): RecordAccess => ({
+ canRead:
+ (objectPermission.canReadObjectRecords ?? false) && !roleAccess.canRead,
+ canWrite:
+ (objectPermission.canUpdateObjectRecords ?? false) && !roleAccess.canWrite,
+ canDelete:
+ ((objectPermission.canSoftDeleteObjectRecords ?? false) ||
+ (objectPermission.canDestroyObjectRecords ?? false)) &&
+ !roleAccess.canDelete,
+});
+
+const groupObjectPermissionsByAccess = ({
+ defaultRole,
+ roleAccess,
+}: {
+ defaultRole: RoleManifest;
+ roleAccess: RecordAccess;
+}): ObjectPermissionGroup[] => {
+ const groupsByAccessKey = new Map<string, ObjectPermissionGroup>();
+
+ for (const objectPermission of defaultRole.objectPermissions ?? []) {
+ const access = getAccessBeyondRole({ objectPermission, roleAccess });
+
+ if (!access.canRead && !access.canWrite && !access.canDelete) {
+ continue;
+ }
+
+ const accessKey = getRecordAccessKey(access);
+ const group = groupsByAccessKey.get(accessKey) ?? {
+ access,
+ objectUniversalIdentifiers: [],
+ };
+
+ if (
+ !group.objectUniversalIdentifiers.includes(
+ objectPermission.objectUniversalIdentifier,
+ )
+ ) {
+ group.objectUniversalIdentifiers.push(
+ objectPermission.objectUniversalIdentifier,
+ );
+ }
+
+ groupsByAccessKey.set(accessKey, group);
+ }
+
+ return Array.from(groupsByAccessKey.values());
+};
+
+export const buildObjectRecordsPermissionSummary = ({
+ defaultRole,
+ roleAccess,
+ objectLabelsByUniversalIdentifier,
+}: {
+ defaultRole: RoleManifest;
+ roleAccess: RecordAccess;
+ objectLabelsByUniversalIdentifier: Record<string, string>;
+}): PermissionSummaryItem[] =>
+ groupObjectPermissionsByAccess({ defaultRole, roleAccess }).flatMap(
+ ({ access, objectUniversalIdentifiers }) => {
+ const label = getRecordAccessLabel({
+ access,
+ target: plural(objectUniversalIdentifiers.length, {
+ one: '# object',
+ other: '# objects',
+ }),
+ });
+
+ if (!isDefined(label)) {
+ return [];
+ }
+
+ const resolvedLabels = objectUniversalIdentifiers
+ .filter((objectUniversalIdentifier) =>
+ Object.hasOwn(
+ objectLabelsByUniversalIdentifier,
+ objectUniversalIdentifier,
+ ),
+ )
+ .map(
+ (objectUniversalIdentifier) =>
+ objectLabelsByUniversalIdentifier[objectUniversalIdentifier],
+ );
+
+ if (resolvedLabels.length === 0) {
+ return [{ Icon: IconAddressBook, label }];
+ }
+
+ const unresolvedCount =
+ objectUniversalIdentifiers.length - resolvedLabels.length;
+
+ const detailsTitle =
+ getRecordAccessLabel({
+ access,
+ target: plural(objectUniversalIdentifiers.length, {
+ one: '# object record:',
+ other: '# object records:',
+ }),
+ }) ?? label;
+
+ const detailsItems = [
+ ...resolvedLabels,
+ ...(unresolvedCount > 0
+ ? [
+ plural(unresolvedCount, {
+ one: '# other object',
+ other: '# other objects',
+ }),
+ ]
+ : []),
+ ];
+
+ return [
+ {
+ Icon: IconAddressBook,
+ label,
+ details: { title: detailsTitle, items: detailsItems },
+ },
+ ];
+ },
+ );
diff --git a/packages/twenty-front/src/modules/marketplace/utils/buildPermissionFlagSummary.ts b/packages/twenty-front/src/modules/marketplace/utils/buildPermissionFlagSummary.ts
new file mode 100644
index 00000000000..5b1fbca9372
--- /dev/null
+++ b/packages/twenty-front/src/modules/marketplace/utils/buildPermissionFlagSummary.ts
@@ -0,0 +1,22 @@
+import { PERMISSION_FLAG_SUMMARY_CONFIGS } from '@/marketplace/constants/PermissionFlagSummaryConfigs';
+import { PERMISSION_FLAG_TYPE_BY_UNIVERSAL_IDENTIFIER } from '@/marketplace/constants/PermissionFlagTypeByUniversalIdentifier';
+import { type PermissionSummaryItem } from '@/marketplace/types/PermissionSummaryItem';
+import { isDefined } from 'twenty-shared/utils';
+
+export const buildPermissionFlagSummary = (
+ permissionFlagUniversalIdentifiers: string[],
+): PermissionSummaryItem[] =>
+ Array.from(new Set(permissionFlagUniversalIdentifiers)).flatMap(
+ (universalIdentifier) => {
+ const flagType =
+ PERMISSION_FLAG_TYPE_BY_UNIVERSAL_IDENTIFIER.get(universalIdentifier);
+
+ if (!isDefined(flagType)) {
+ return [];
+ }
+
+ const { Icon, getLabel } = PERMISSION_FLAG_SUMMARY_CONFIGS[flagType];
+
+ return [{ Icon, label: getLabel() }];
+ },
+ );
diff --git a/packages/twenty-front/src/modules/marketplace/utils/buildPermissionSummaryFromRoleManifest.ts b/packages/twenty-front/src/modules/marketplace/utils/buildPermissionSummaryFromRoleManifest.ts
index 55fd0918f9c..b4dabaeaaf2 100644
--- a/packages/twenty-front/src/modules/marketplace/utils/buildPermissionSummaryFromRoleManifest.ts
+++ b/packages/twenty-front/src/modules/marketplace/utils/buildPermissionSummaryFromRoleManifest.ts
@@ -1,133 +1,78 @@
+import { type PermissionSummaryItem } from '@/marketplace/types/PermissionSummaryItem';
+import { type RecordAccess } from '@/marketplace/types/RecordAccess';
+import { buildObjectRecordsPermissionSummary } from '@/marketplace/utils/buildObjectRecordsPermissionSummary';
+import { buildPermissionFlagSummary } from '@/marketplace/utils/buildPermissionFlagSummary';
+import { getRecordAccessLabel } from '@/marketplace/utils/getRecordAccessLabel';
+import { t } from '@lingui/core/macro';
import { type RoleManifest } from 'twenty-shared/application';
-import { capitalize, isDefined } from 'twenty-shared/utils';
-import {
- type IconComponent,
- IconAddressBook,
- IconCreditCard,
- IconHierarchy,
- IconKey,
- IconPlug,
- IconSettings,
- IconSettingsAutomation,
- IconSparkles,
- IconTool,
- IconUsers,
-} from 'twenty-ui/icon';
import { SystemPermissionFlag } from 'twenty-shared/constants';
+import { isDefined } from 'twenty-shared/utils';
+import { IconAddressBook, IconSettings, IconTool } from 'twenty-ui/icon';
-export type PermissionSummaryItem = {
- Icon: IconComponent;
- label: string;
+export type { PermissionSummaryItem } from '@/marketplace/types/PermissionSummaryItem';
+
+export type BuildPermissionSummaryOptions = {
+ objectLabelsByUniversalIdentifier?: Record<string, string>;
+ appObjectUniversalIdentifiers?: ReadonlySet<string>;
};
+const getRoleAccess = (defaultRole: RoleManifest): RecordAccess => ({
+ canRead: defaultRole.canReadAllObjectRecords ?? false,
+ canWrite: defaultRole.canUpdateAllObjectRecords ?? false,
+ canDelete:
+ (defaultRole.canSoftDeleteAllObjectRecords ?? false) ||
+ (defaultRole.canDestroyAllObjectRecords ?? false),
+});
+
export const buildPermissionSummaryFromRoleManifest = (
defaultRole: RoleManifest,
+ {
+ objectLabelsByUniversalIdentifier = {},
+ appObjectUniversalIdentifiers = new Set(),
+ }: BuildPermissionSummaryOptions = {},
): PermissionSummaryItem[] => {
- const items: PermissionSummaryItem[] = [];
-
- const canRead = defaultRole.canReadAllObjectRecords ?? false;
- const canUpdate = defaultRole.canUpdateAllObjectRecords ?? false;
- const canSoftDelete = defaultRole.canSoftDeleteAllObjectRecords ?? false;
- const canDestroy = defaultRole.canDestroyAllObjectRecords ?? false;
-
- if (canRead || canUpdate || canSoftDelete || canDestroy) {
- const capabilities: string[] = [];
-
- if (canRead) {
- capabilities.push('read');
- }
-
- if (canUpdate) {
- capabilities.push('write');
- }
-
- if (canSoftDelete || canDestroy) {
- capabilities.push('delete');
- }
-
- const label =
- capabilities.length <= 2
- ? capabilities.join(' and ')
- : capabilities.slice(0, -1).join(', ') +
- ', and ' +
- capabilities[capabilities.length - 1];
-
- items.push({
- Icon: IconAddressBook,
- label: capitalize(label) + ' records',
- });
- }
-
- if ((defaultRole.objectPermissions ?? []).length > 0 && items.length === 0) {
- items.push({
- Icon: IconAddressBook,
- label: 'Access specific object records',
- });
- }
-
- const hasDataModelFlag = (
- defaultRole.permissionFlagUniversalIdentifiers ?? []
- ).some((flag) => flag === SystemPermissionFlag.DATA_MODEL);
-
- if (hasDataModelFlag) {
- items.push({
- Icon: IconHierarchy,
- label: 'Read and write data model configuration',
- });
- }
-
- if (defaultRole.canUpdateAllSettings) {
- items.push({
- Icon: IconSettings,
- label: 'Update workspace settings',
- });
- }
-
- if (defaultRole.canAccessAllTools) {
- items.push({
- Icon: IconTool,
- label: 'Access all tools',
- });
- }
-
- const otherFlags = (
- defaultRole.permissionFlagUniversalIdentifiers ?? []
- ).filter((flag) => flag !== SystemPermissionFlag.DATA_MODEL);
-
- const flagLabels: Record<string, { label: string; Icon: IconComponent }> = {
- [SystemPermissionFlag.WORKFLOWS]: {
- label: 'Manage workflows',
- Icon: IconSettingsAutomation,
- },
- [SystemPermissionFlag.SECURITY]: {
- label: 'Manage security settings',
- Icon: IconKey,
- },
- [SystemPermissionFlag.WORKSPACE_MEMBERS]: {
- label: 'Manage workspace members',
- Icon: IconUsers,
- },
- [SystemPermissionFlag.BILLING]: {
- label: 'Manage billing',
- Icon: IconCreditCard,
- },
- [SystemPermissionFlag.API_KEYS_AND_WEBHOOKS]: {
- label: 'Manage MCP, API keys, and webhooks',
- Icon: IconPlug,
- },
- [SystemPermissionFlag.AI]: {
- label: 'Run AI agents',
- Icon: IconSparkles,
- },
+ const roleAccess = getRoleAccess(defaultRole);
+
+ const roleWithoutAppObjectPermissions: RoleManifest = {
+ ...defaultRole,
+ objectPermissions: (defaultRole.objectPermissions ?? []).filter(
+ ({ objectUniversalIdentifier }) =>
+ !appObjectUniversalIdentifiers.has(objectUniversalIdentifier),
+ ),
};
- for (const flag of otherFlags) {
- const config = flagLabels[flag];
-
- if (isDefined(config)) {
- items.push(config);
- }
- }
-
- return items;
+ const allRecordsLabel = getRecordAccessLabel({
+ access: roleAccess,
+ target: t`all records`,
+ });
+
+ const permissionFlagUniversalIdentifiers =
+ defaultRole.permissionFlagUniversalIdentifiers ?? [];
+
+ return [
+ ...(isDefined(allRecordsLabel)
+ ? [{ Icon: IconAddressBook, label: allRecordsLabel }]
+ : []),
+ ...buildObjectRecordsPermissionSummary({
+ defaultRole: roleWithoutAppObjectPermissions,
+ roleAccess,
+ objectLabelsByUniversalIdentifier,
+ }),
+ ...buildPermissionFlagSummary(
+ permissionFlagUniversalIdentifiers.filter(
+ (flag) => flag === SystemPermissionFlag.DATA_MODEL,
+ ),
+ ),
+ ...(defaultRole.canUpdateAllSettings
+ ? [{ Icon: IconSettings, label: t`Update all workspace settings` }]
+ : []),
+ ...(defaultRole.canAccessAllTools
+ ? [{ Icon: IconTool, label: t`Use all tools` }]
+ : []),
+ ...buildPermissionFlagSummary(
+ permissionFlagUniversalIdentifiers.filter(
+ (flag) => flag !== SystemPermissionFlag.DATA_MODEL,
+ ),
+ ),
+ ];
};
diff --git a/packages/twenty-front/src/modules/marketplace/utils/getRecordAccessLabel.ts b/packages/twenty-front/src/modules/marketplace/utils/getRecordAccessLabel.ts
new file mode 100644
index 00000000000..731ac60949b
--- /dev/null
+++ b/packages/twenty-front/src/modules/marketplace/utils/getRecordAccessLabel.ts
@@ -0,0 +1,40 @@
+import { type RecordAccess } from '@/marketplace/types/RecordAccess';
+import { t } from '@lingui/core/macro';
+
+export const getRecordAccessLabel = ({
+ access: { canRead, canWrite, canDelete },
+ target,
+}: {
+ access: RecordAccess;
+ target: string;
+}): string | undefined => {
+ if (canRead && canWrite && canDelete) {
+ return t`Read, write, and delete ${target}`;
+ }
+
+ if (canRead && canWrite) {
+ return t`Read and write ${target}`;
+ }
+
+ if (canRead && canDelete) {
+ return t`Read and delete ${target}`;
+ }
+
+ if (canWrite && canDelete) {
+ return t`Write and delete ${target}`;
+ }
+
+ if (canRead) {
+ return t`Read ${target}`;
+ }
+
+ if (canWrite) {
+ return t`Write ${target}`;
+ }
+
+ if (canDelete) {
+ return t`Delete ${target}`;
+ }
+
+ return undefined;
+};
diff --git a/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationAboutSidebar.tsx b/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationAboutSidebar.tsx
index 4dae259f338..8c59ae04f72 100644
--- a/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationAboutSidebar.tsx
+++ b/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationAboutSidebar.tsx
@@ -4,7 +4,7 @@ import { getInstallCountEstimate } from '@/settings/applications/utils/getInstal
import { styled } from '@linaria/react';
import { plural, t } from '@lingui/core/macro';
import { isNonEmptyString } from '@sniptt/guards';
-import { isDefined, isSafeUrl } from 'twenty-shared/utils';
+import { emailSchema, isDefined, isSafeUrl } from 'twenty-shared/utils';
import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/typography';
import {
IconAlertTriangle,
@@ -59,6 +59,15 @@ type ResourceLink = AboutRow & {
const isResourceLinkUrl = (url: string | undefined): url is string =>
isNonEmptyString(url) && isSafeUrl(url);
+const isSupportEmail = (email: string | undefined): email is string =>
+ isNonEmptyString(email) && emailSchema.safeParse(email.trim()).success;
+
+const toTrimmedText = (text: string | undefined): string | undefined => {
+ const trimmedText = text?.trim();
+
+ return isNonEmptyString(trimmedText) ? trimmedText : undefined;
+};
+
const StyledSidebar = styled.div`
display: flex;
flex-direction: column;
@@ -158,6 +167,11 @@ export const SettingsApplicationAboutSidebar = ({
const theme = useTheme();
const { formatNumber } = useNumberFormat();
+ const trimmedAuthor = toTrimmedText(author);
+ const trimmedVersion = toTrimmedText(version);
+ const trimmedCategory = toTrimmedText(category);
+ const trimmedPricingDescription = toTrimmedText(pricingDescription);
+
const getInstallCountRows = (): AboutRow[] => {
if (!isDefined(installCount) || installCount <= 0) {
return [];
@@ -185,22 +199,22 @@ export const SettingsApplicationAboutSidebar = ({
};
const aboutRows: AboutRow[] = [
- ...(isNonEmptyString(author)
- ? [{ Icon: IconUserCircle, label: t`by ${author}` }]
+ ...(isDefined(trimmedAuthor)
+ ? [{ Icon: IconUserCircle, label: t`by ${trimmedAuthor}` }]
: []),
- ...(isNonEmptyString(version)
- ? [{ Icon: IconVersions, label: version }]
+ ...(isDefined(trimmedVersion)
+ ? [{ Icon: IconVersions, label: trimmedVersion }]
: []),
...getInstallCountRows(),
- ...(isNonEmptyString(category) ? [{ Icon: IconTag, label: category }] : []),
+ ...(isDefined(trimmedCategory)
+ ? [{ Icon: IconTag, label: trimmedCategory }]
+ : []),
...(billsCredits
? [
{
Icon: IconCurrencyDollar,
label: t`Bills credits`,
- tooltip: isNonEmptyString(pricingDescription)
- ? pricingDescription
- : undefined,
+ tooltip: trimmedPricingDescription,
},
]
: []),
@@ -221,12 +235,12 @@ export const SettingsApplicationAboutSidebar = ({
...(isResourceLinkUrl(termsUrl)
? [{ Icon: IconLink, label: t`Terms / Privacy`, href: termsUrl }]
: []),
- ...(isNonEmptyString(emailSupport)
+ ...(isSupportEmail(emailSupport)
? [
{
Icon: IconMail,
label: t`Email support`,
- href: `mailto:${emailSupport}`,
+ href: `mailto:${emailSupport.trim()}`,
},
]
: []),
diff --git a/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationScreenshotGallery.tsx b/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationScreenshotGallery.tsx
index 975e2aa251a..c1ed32f2e88 100644
--- a/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationScreenshotGallery.tsx
+++ b/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationScreenshotGallery.tsx
@@ -3,6 +3,7 @@ import { useDialog } from '@/ui/layout/dialog/hooks/useDialog';
import { styled } from '@linaria/react';
import { t } from '@lingui/core/macro';
import { useId, useState } from 'react';
+import { isDefined } from 'twenty-shared/utils';
import { themeCssVariables } from 'twenty-ui/theme';
type SettingsApplicationScreenshotGalleryProps = {
@@ -72,18 +73,44 @@ const StyledThumbnailImage = styled.img`
`;
export const SettingsApplicationScreenshotGallery = ({
- screenshots,
+ screenshots: allScreenshots,
displayName,
}: SettingsApplicationScreenshotGalleryProps) => {
- const [selectedScreenshotIndex, setSelectedScreenshotIndex] = useState(0);
+ const [selectedScreenshot, setSelectedScreenshot] = useState<
+ string | undefined
+ >(undefined);
+ const [failedScreenshots, setFailedScreenshots] = useState<string[]>([]);
const { openDialog, closeDialog } = useDialog();
const lightboxModalId = useId();
+ const screenshots = Array.from(new Set(allScreenshots)).filter(
+ (screenshot) => !failedScreenshots.includes(screenshot),
+ );
+
+ const markScreenshotAsFailed = (screenshot: string) =>
+ setFailedScreenshots((previousFailedScreenshots) =>
+ previousFailedScreenshots.includes(screenshot)
+ ? previousFailedScreenshots
+ : [...previousFailedScreenshots, screenshot],
+ );
+
if (screenshots.length === 0) {
return null;
}
- const safeIndex = Math.min(selectedScreenshotIndex, screenshots.length - 1);
+ const safeIndex = Math.max(
+ isDefined(selectedScreenshot) ? screenshots.indexOf(selectedScreenshot) : 0,
+ 0,
+ );
+
+ const selectScreenshotAt = (index: number) =>
+ setSelectedScreenshot(screenshots[index]);
+
+ const getScreenshotAltText = (index: number) => {
+ const screenshotNumber = index + 1;
+
+ return t`${displayName} screenshot ${screenshotNumber}`;
+ };
return (
<StyledGalleryContainer>
@@ -94,21 +121,25 @@ export const SettingsApplicationScreenshotGallery = ({
>
<StyledHeroImage
src={screenshots[safeIndex]}
- alt={`${displayName} screenshot ${safeIndex + 1}`}
+ alt={getScreenshotAltText(safeIndex)}
+ onError={() => markScreenshotAsFailed(screenshots[safeIndex])}
/>
</StyledHeroButton>
{screenshots.length > 1 && (
<StyledThumbnails>
{screenshots.map((screenshot, index) => (
<StyledThumbnail
- key={index}
+ key={screenshot}
type="button"
isSelected={index === safeIndex}
- onClick={() => setSelectedScreenshotIndex(index)}
+ aria-pressed={index === safeIndex}
+ aria-label={getScreenshotAltText(index)}
+ onClick={() => setSelectedScreenshot(screenshot)}
>
<StyledThumbnailImage
src={screenshot}
- alt={`${displayName} thumbnail ${index + 1}`}
+ alt=""
+ onError={() => markScreenshotAsFailed(screenshot)}
/>
</StyledThumbnail>
))}
@@ -119,7 +150,7 @@ export const SettingsApplicationScreenshotGallery = ({
screenshots={screenshots}
displayName={displayName}
selectedIndex={safeIndex}
- onSelectedIndexChange={setSelectedScreenshotIndex}
+ onSelectedIndexChange={selectScreenshotAt}
onClose={() => closeDialog(lightboxModalId)}
/>
</StyledGalleryContainer>
diff --git a/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationScreenshotLightbox.tsx b/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationScreenshotLightbox.tsx
index db240d307a8..9d0a11ef804 100644
--- a/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationScreenshotLightbox.tsx
+++ b/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationScreenshotLightbox.tsx
@@ -75,6 +75,7 @@ export const SettingsApplicationScreenshotLightbox = ({
}: SettingsApplicationScreenshotLightboxProps) => {
const screenshotCount = screenshots.length;
const hasSeveralScreenshots = screenshotCount > 1;
+ const screenshotNumber = selectedIndex + 1;
const showPrevious = () =>
onSelectedIndexChange(
@@ -137,7 +138,7 @@ export const SettingsApplicationScreenshotLightbox = ({
)}
<StyledImage
src={screenshots[selectedIndex]}
- alt={`${displayName} screenshot ${selectedIndex + 1}`}
+ alt={t`${displayName} screenshot ${screenshotNumber}`}
/>
{hasSeveralScreenshots && (
<>
@@ -151,8 +152,8 @@ export const SettingsApplicationScreenshotLightbox = ({
<IconChevronRight />
</IconButton>
</StyledNextButton>
- <StyledCounter>
- {selectedIndex + 1} / {screenshotCount}
+ <StyledCounter aria-live="polite">
+ {screenshotNumber} / {screenshotCount}
</StyledCounter>
</>
)}
diff --git a/packages/twenty-front/src/modules/settings/applications/components/__tests__/SettingsApplicationScreenshotGallery.test.tsx b/packages/twenty-front/src/modules/settings/applications/components/__tests__/SettingsApplicationScreenshotGallery.test.tsx
new file mode 100644
index 00000000000..daa4c95f01a
--- /dev/null
+++ b/packages/twenty-front/src/modules/settings/applications/components/__tests__/SettingsApplicationScreenshotGallery.test.tsx
@@ -0,0 +1,74 @@
+import { i18n } from '@lingui/core';
+import { I18nProvider } from '@lingui/react';
+import { fireEvent, render, screen, within } from '@testing-library/react';
+import userEvent from '@testing-library/user-event';
+
+import { SettingsApplicationScreenshotGallery } from '@/settings/applications/components/SettingsApplicationScreenshotGallery';
+
+const FIRST_SCREENSHOT = 'https://cdn.example.com/screenshot-1.png';
+const SECOND_SCREENSHOT = 'https://cdn.example.com/screenshot-2.png';
+const THIRD_SCREENSHOT = 'https://cdn.example.com/screenshot-3.png';
+
+const renderGallery = () =>
+ render(
+ <I18nProvider i18n={i18n}>
+ <SettingsApplicationScreenshotGallery
+ screenshots={[FIRST_SCREENSHOT, SECOND_SCREENSHOT, THIRD_SCREENSHOT]}
+ displayName="Stripe"
+ />
+ </I18nProvider>,
+ );
+
+const getHeroImage = () =>
+ within(
+ screen.getByRole('button', { name: 'View screenshot in full screen' }),
+ ).getByRole('img');
+
+const getThumbnailImage = (name: string) =>
+ within(screen.getByRole('button', { name })).getByRole('presentation');
+
+describe('SettingsApplicationScreenshotGallery', () => {
+ it('shows the selected screenshot in the hero', async () => {
+ renderGallery();
+
+ await userEvent.click(
+ screen.getByRole('button', { name: 'Stripe screenshot 2' }),
+ );
+
+ expect(getHeroImage()).toHaveAttribute('src', SECOND_SCREENSHOT);
+ });
+
+ it('keeps the selected screenshot when an earlier one fails to load', async () => {
+ renderGallery();
+
+ await userEvent.click(
+ screen.getByRole('button', { name: 'Stripe screenshot 2' }),
+ );
+
+ fireEvent.error(getThumbnailImage('Stripe screenshot 1'));
+
+ expect(getHeroImage()).toHaveAttribute('src', SECOND_SCREENSHOT);
+ expect(getThumbnailImage('Stripe screenshot 1')).toHaveAttribute(
+ 'src',
+ SECOND_SCREENSHOT,
+ );
+ expect(
+ screen.getByRole('button', { name: 'Stripe screenshot 1' }),
+ ).toHaveAttribute('aria-pressed', 'true');
+ expect(
+ screen.queryByRole('button', { name: 'Stripe screenshot 3' }),
+ ).not.toBeInTheDocument();
+ });
+
+ it('falls back to the first remaining screenshot when the selected one fails', async () => {
+ renderGallery();
+
+ await userEvent.click(
+ screen.getByRole('button', { name: 'Stripe screenshot 2' }),
+ );
+
+ fireEvent.error(getHeroImage());
+
+ expect(getHeroImage()).toHaveAttribute('src', FIRST_SCREENSHOT);
+ });
+});
diff --git a/packages/twenty-front/src/pages/settings/applications/SettingsApplicationDetails.tsx b/packages/twenty-front/src/pages/settings/applications/SettingsApplicationDetails.tsx
index 8072f0a4bb5..c24079cf929 100644
--- a/packages/twenty-front/src/pages/settings/applications/SettingsApplicationDetails.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/SettingsApplicationDetails.tsx
@@ -11,9 +11,8 @@ import { SettingsPageContainer } from '@/settings/components/SettingsPageContain
import { SettingsSectionSkeletonLoader } from '@/settings/components/SettingsSectionSkeletonLoader';
import { SettingsPageLayout } from '@/settings/components/layout/SettingsPageLayout';
import { SettingsTabBar } from '@/settings/components/layout/SettingsTabBar';
-import { activeTabIdComponentState } from '@/ui/layout/tab-list/states/activeTabIdComponentState';
+import { useSettingsActiveTabId } from '@/settings/components/layout/useSettingsActiveTabId';
import type { SingleTabProps } from '@/ui/layout/tab-list/types/SingleTabProps';
-import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';
import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';
import { useQuery } from '@apollo/client/react';
import { t } from '@lingui/core/macro';
@@ -28,6 +27,7 @@ import {
import { InlineBanner } from 'twenty-ui/components/feedback';
import {
IconAlertTriangle,
+ IconApps,
IconDeviceFloppy,
IconSettings,
IconVariable,
@@ -35,6 +35,7 @@ import {
} from 'twenty-ui/icon';
import { Button } from 'twenty-ui/primitives/input';
import {
+ ApplicationRegistrationSourceType,
FindMarketplaceAppDetailDocument,
FindOneApplicationDocument,
IsApplicationStoppedDocument,
@@ -42,6 +43,8 @@ import {
import { useNavigateSettings } from '~/hooks/useNavigateSettings';
import { SettingsApplicationHealthBanner } from '~/pages/settings/applications/components/SettingsApplicationHealthBanner';
import { SettingsApplicationMissingConfigurationBanner } from '~/pages/settings/applications/components/SettingsApplicationMissingConfigurationBanner';
+import { SettingsApplicationLoadErrorBanner } from '~/pages/settings/applications/components/SettingsApplicationLoadErrorBanner';
+import { SettingsApplicationNotFound } from '~/pages/settings/applications/components/SettingsApplicationNotFound';
import { CUSTOM_APPLICATION_ILLUSTRATIONS } from '~/pages/settings/applications/constants/CustomApplicationIllustrations';
import { STANDARD_APPLICATION_ILLUSTRATIONS } from '~/pages/settings/applications/constants/StandardApplicationIllustrations';
import { useApplicationHealthCheck } from '~/pages/settings/applications/hooks/useApplicationHealthCheck';
@@ -51,6 +54,8 @@ import { SettingsApplicationDetailGeneralTab } from '~/pages/settings/applicatio
import { SettingsApplicationDetailVariablesTab } from '~/pages/settings/applications/tabs/SettingsApplicationDetailVariablesTab';
import { getApplicationDescriptionSummary } from '~/pages/settings/applications/utils/getApplicationDescriptionSummary';
import { getApplicationHealthBanner } from '~/pages/settings/applications/utils/getApplicationHealthBanner';
+import { getApplicationLookupStatus } from '~/pages/settings/applications/utils/getApplicationLookupStatus';
+import { isUuidFormat } from '~/pages/settings/applications/utils/isUuidFormat';
import { getDisplayedApplicationVariables } from '~/pages/settings/applications/utils/getDisplayedApplicationVariables';
import { getMissingRequiredApplicationVariables } from '~/pages/settings/applications/utils/getMissingRequiredApplicationVariables';
import { getWorkspaceSettingsMenuItems } from '~/pages/settings/applications/utils/getWorkspaceSettingsMenuItems';
@@ -66,20 +71,29 @@ export const SettingsApplicationDetails = () => {
const { applicationId = '' } = useParams<{ applicationId: string }>();
const { getIcon } = useIcons();
- const activeTabId = useAtomComponentStateValue(
- activeTabIdComponentState,
- APPLICATION_DETAIL_ID,
- );
-
- const { data, refetch } = useQuery(FindOneApplicationDocument, {
+ const {
+ data,
+ error: applicationError,
+ loading: isApplicationLoading,
+ refetch,
+ } = useQuery(FindOneApplicationDocument, {
variables: { id: applicationId },
- skip: !applicationId,
+ skip: !isUuidFormat(applicationId),
});
useRefetchOnApplicationOperation({ applicationId, refetch });
const application = data?.findOneApplication;
+ const applicationLookupStatus = getApplicationLookupStatus({
+ identifier: applicationId,
+ isLoading: isApplicationLoading,
+ error: applicationError,
+ result: application,
+ });
+ const isNotFound = applicationLookupStatus === 'not-found';
+ const isUnavailable = applicationLookupStatus === 'unavailable';
+
const { data: detailData } = useQuery(FindMarketplaceAppDetailDocument, {
variables: { universalIdentifier: application?.universalIdentifier ?? '' },
skip: !application?.universalIdentifier,
@@ -101,6 +115,10 @@ export const SettingsApplicationDetails = () => {
isApplicationStoppedData?.isApplicationStopped === true;
const detail = detailData?.findMarketplaceAppDetail;
+
+ const isMarketplaceApplication =
+ detail?.sourceType === ApplicationRegistrationSourceType.NPM;
+
const currentWorkspace = useAtomStateValue(currentWorkspaceState);
const isStandardApplication = isTwentyStandardApplication(application);
const isCustomApplication = isWorkspaceCustomApplication(
@@ -209,6 +227,11 @@ export const SettingsApplicationDetails = () => {
})),
];
+ const activeTabId = useSettingsActiveTabId(
+ APPLICATION_DETAIL_ID,
+ tabs.map((tab) => tab.id),
+ );
+
const configurationTabId = hasVariablesTab
? VARIABLES_TAB_ID
: workspaceSettingsMenuItems.at(0)?.universalIdentifier;
@@ -242,6 +265,30 @@ export const SettingsApplicationDetails = () => {
: undefined;
const renderActiveTabContent = () => {
+ if (isUnavailable) {
+ return (
+ <SettingsApplicationLoadErrorBanner
+ onRetry={() => refetch().catch(() => undefined)}
+ />
+ );
+ }
+
+ if (isNotFound) {
+ return (
+ <SettingsApplicationNotFound
+ message={t`This application is not installed on this workspace. It may have been uninstalled or the link is incorrect.`}
+ linkTo={getSettingsPath(
+ SettingsPath.Applications,
+ undefined,
+ undefined,
+ 'installed',
+ )}
+ linkLabel={t`See installed applications`}
+ LinkIcon={IconApps}
+ />
+ );
+ }
+
if (!isDefined(application)) {
return <SettingsSectionSkeletonLoader />;
}
@@ -255,6 +302,7 @@ export const SettingsApplicationDetails = () => {
description={getApplicationDescriptionSummary(description)}
coverImageUrl={getCoverImageUrl()}
marketplaceUniversalIdentifier={detail?.universalIdentifier}
+ isMarketplaceApplication={isMarketplaceApplication}
hasUpdate={hasUpdate}
latestAvailableVersion={latestAvailableVersion ?? undefined}
onUpgrade={handleUpgrade}
@@ -334,11 +382,13 @@ export const SettingsApplicationDetails = () => {
) : undefined
}
secondaryBar={
- <SettingsTabBar
- aria-label={t`Application details`}
- tabs={tabs}
- componentInstanceId={APPLICATION_DETAIL_ID}
- />
+ isNotFound || isUnavailable ? undefined : (
+ <SettingsTabBar
+ aria-label={t`Application details`}
+ tabs={tabs}
+ componentInstanceId={APPLICATION_DETAIL_ID}
+ />
+ )
}
>
<SettingsPageContainer overflow="visible">
diff --git a/packages/twenty-front/src/pages/settings/applications/SettingsAvailableApplicationDetails.tsx b/packages/twenty-front/src/pages/settings/applications/SettingsAvailableApplicationDetails.tsx
index 1dfa4218ecd..324165941c8 100644
--- a/packages/twenty-front/src/pages/settings/applications/SettingsAvailableApplicationDetails.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/SettingsAvailableApplicationDetails.tsx
@@ -16,7 +16,7 @@ import { useParams } from 'react-router-dom';
import { SettingsPath } from 'twenty-shared/types';
import { getSettingsPath, isDefined } from 'twenty-shared/utils';
import { InlineBanner } from 'twenty-ui/components/feedback';
-import { IconEyeOff } from 'twenty-ui/icon';
+import { IconAlertTriangle, IconEyeOff, IconShoppingBag } from 'twenty-ui/icon';
import {
ApplicationRegistrationSourceType,
FindMarketplaceAppDetailDocument,
@@ -25,6 +25,10 @@ import {
} from '~/generated-metadata/graphql';
import { useNavigateSettings } from '~/hooks/useNavigateSettings';
import { SettingsApplicationDetailAbout } from '~/pages/settings/applications/components/SettingsApplicationDetailAbout';
+import { SettingsApplicationLoadErrorBanner } from '~/pages/settings/applications/components/SettingsApplicationLoadErrorBanner';
+import { SettingsApplicationNotFound } from '~/pages/settings/applications/components/SettingsApplicationNotFound';
+import { getApplicationLookupStatus } from '~/pages/settings/applications/utils/getApplicationLookupStatus';
+import { isUuidFormat } from '~/pages/settings/applications/utils/isUuidFormat';
export const SettingsAvailableApplicationDetails = () => {
const { availableApplicationId = '' } = useParams<{
@@ -60,19 +64,33 @@ export const SettingsAvailableApplicationDetails = () => {
FindOneApplicationByUniversalIdentifierDocument,
{
variables: { universalIdentifier: availableApplicationId },
- skip: !availableApplicationId,
+ skip: !isUuidFormat(availableApplicationId),
},
);
- const { data: detailData } = useQuery(FindMarketplaceAppDetailDocument, {
+ const {
+ data: detailData,
+ error: detailError,
+ loading: isDetailLoading,
+ refetch: refetchDetail,
+ } = useQuery(FindMarketplaceAppDetailDocument, {
variables: { universalIdentifier: availableApplicationId },
- skip: !availableApplicationId,
+ skip: !isUuidFormat(availableApplicationId),
});
const application = applicationData?.findOneApplication;
const detail = detailData?.findMarketplaceAppDetail;
+ const detailLookupStatus = getApplicationLookupStatus({
+ identifier: availableApplicationId,
+ isLoading: isDetailLoading,
+ error: detailError,
+ result: detail,
+ });
+ const isNotFound = detailLookupStatus === 'not-found';
+ const isUnavailable = detailLookupStatus === 'unavailable';
+
const displayName = detail?.name ?? t`Application details`;
const currentVersion = application?.version;
@@ -85,9 +103,65 @@ export const SettingsAvailableApplicationDetails = () => {
: undefined;
const isUnlisted = isDefined(detail) && !detail.isListed;
+ const isNotVetted = isDefined(detail) && !detail.isVetted;
const defaultRole = getMarketplaceAppDefaultRoleManifest(detail);
+ const renderContent = () => {
+ if (isUnavailable) {
+ return (
+ <SettingsApplicationLoadErrorBanner
+ onRetry={() => refetchDetail().catch(() => undefined)}
+ />
+ );
+ }
+
+ if (isNotFound) {
+ return (
+ <SettingsApplicationNotFound
+ message={t`This application is not available on the marketplace. It may have been removed or the link is incorrect.`}
+ linkTo={getSettingsPath(
+ SettingsPath.Applications,
+ undefined,
+ undefined,
+ 'marketplace',
+ )}
+ linkLabel={t`Browse the marketplace`}
+ LinkIcon={IconShoppingBag}
+ />
+ );
+ }
+
+ if (!isDefined(detail)) {
+ return <SettingsSectionSkeletonLoader />;
+ }
+
+ return (
+ <SettingsApplicationDetailAbout
+ applicationId={application?.id}
+ logoUrl={detail.logoUrl}
+ displayName={displayName}
+ description={detail.description ?? undefined}
+ aboutDescription={detail.aboutDescription ?? undefined}
+ pricingDescription={detail.pricingDescription ?? undefined}
+ billsCredits={detail.billsCredits}
+ screenshots={detail.galleryImages}
+ author={detail.author ?? undefined}
+ version={currentVersion ?? latestAvailableVersion ?? undefined}
+ installCount={detail.installCount}
+ category={detail.category ?? undefined}
+ developerLinks={{
+ websiteUrl: detail.websiteUrl ?? undefined,
+ termsUrl: detail.termsUrl ?? undefined,
+ emailSupport: detail.emailSupport ?? undefined,
+ issueReportUrl: detail.issueReportUrl ?? undefined,
+ sourcePackageUrl,
+ }}
+ onShare={() => copyMarketplaceAppLink(detail.universalIdentifier)}
+ />
+ );
+ };
+
return (
<CurrentApplicationContext.Provider value={application?.id ?? null}>
<SettingsPageLayout
@@ -134,32 +208,13 @@ export const SettingsAvailableApplicationDetails = () => {
icon={<IconEyeOff aria-hidden="true" />}
>{t`Application not listed on the marketplace. It was shared via a direct link`}</InlineBanner>
)}
- {isDefined(detail) ? (
- <SettingsApplicationDetailAbout
- applicationId={application?.id}
- logoUrl={detail.logoUrl}
- displayName={displayName}
- description={detail.description ?? undefined}
- aboutDescription={detail.aboutDescription ?? undefined}
- pricingDescription={detail.pricingDescription ?? undefined}
- billsCredits={detail.billsCredits}
- screenshots={detail.galleryImages}
- author={detail.author ?? undefined}
- version={currentVersion ?? latestAvailableVersion ?? undefined}
- installCount={detail.installCount}
- category={detail.category ?? undefined}
- developerLinks={{
- websiteUrl: detail.websiteUrl ?? undefined,
- termsUrl: detail.termsUrl ?? undefined,
- emailSupport: detail.emailSupport ?? undefined,
- issueReportUrl: detail.issueReportUrl ?? undefined,
- sourcePackageUrl,
- }}
- onShare={() => copyMarketplaceAppLink(detail.universalIdentifier)}
- />
- ) : (
- <SettingsSectionSkeletonLoader />
+ {isNotVetted && (
+ <InlineBanner
+ status="warning"
+ icon={<IconAlertTriangle aria-hidden="true" />}
+ >{t`This application is not vetted by Twenty. Use at your own risk.`}</InlineBanner>
)}
+ {renderContent()}
</SettingsPageContainer>
</SettingsPageLayout>
<SettingsApplicationInstallPermissionValidationModal
@@ -167,8 +222,10 @@ export const SettingsAvailableApplicationDetails = () => {
appDisplayName={displayName}
appLogoUrl={detail?.logoUrl ?? undefined}
defaultRole={defaultRole}
+ appObjects={detail?.objects ?? undefined}
requestedCapabilities={detail?.requestedCapabilities}
billsCredits={detail?.billsCredits}
+ isVetted={detail?.isVetted}
onAuthorize={install}
isInstalling={isInstalling}
/>
diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationDetailAbout.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationDetailAbout.tsx
index d1fc64797c4..3f553f1854e 100644
--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationDetailAbout.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationDetailAbout.tsx
@@ -146,16 +146,19 @@ export const SettingsApplicationDetailAbout = ({
const descriptionSummary = getApplicationDescriptionSummary(description);
+ const trimmedAboutDescription = aboutDescription?.trim();
+ const trimmedDescription = description?.trim();
+
// The sidebar already shows the first paragraph of the description
const getMarkdownText = () => {
- if (isNonEmptyString(aboutDescription)) {
- return aboutDescription;
+ if (isNonEmptyString(trimmedAboutDescription)) {
+ return trimmedAboutDescription;
}
- if (isNonEmptyString(description)) {
- return description.trim() === descriptionSummary
+ if (isNonEmptyString(trimmedDescription)) {
+ return trimmedDescription === descriptionSummary
? undefined
- : description;
+ : trimmedDescription;
}
return t`No description available for this application`;
diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationLoadErrorBanner.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationLoadErrorBanner.tsx
new file mode 100644
index 00000000000..16dd53bec45
--- /dev/null
+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationLoadErrorBanner.tsx
@@ -0,0 +1,26 @@
+import { t } from '@lingui/core/macro';
+import { InlineBanner } from 'twenty-ui/components/feedback';
+import { IconAlertTriangle } from 'twenty-ui/icon';
+
+type SettingsApplicationLoadErrorBannerProps = {
+ message?: string;
+ onRetry: () => void;
+};
+
+export const SettingsApplicationLoadErrorBanner = ({
+ message,
+ onRetry,
+}: SettingsApplicationLoadErrorBannerProps) => {
+ return (
+ <InlineBanner
+ status="error"
+ icon={<IconAlertTriangle aria-hidden="true" />}
+ action={
+ <InlineBanner.Action onClick={onRetry}>{t`Retry`}</InlineBanner.Action>
+ }
+ >
+ {message ??
+ t`This application could not be loaded. Check your connection and try again.`}
+ </InlineBanner>
+ );
+};
diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationNotFound.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationNotFound.tsx
new file mode 100644
index 00000000000..433870e78bc
--- /dev/null
+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationNotFound.tsx
@@ -0,0 +1,45 @@
+import { styled } from '@linaria/react';
+import { Link } from 'react-router-dom';
+import { type IconComponent } from 'twenty-ui/icon';
+import { Button } from 'twenty-ui/primitives/input';
+import { themeCssVariables } from 'twenty-ui/theme';
+
+type SettingsApplicationNotFoundProps = {
+ message: string;
+ linkTo: string;
+ linkLabel: string;
+ LinkIcon: IconComponent;
+};
+
+const StyledContainer = styled.div`
+ align-items: center;
+ color: ${themeCssVariables.font.color.tertiary};
+ display: flex;
+ flex-direction: column;
+ gap: ${themeCssVariables.spacing[4]};
+ padding: ${themeCssVariables.spacing[8]} ${themeCssVariables.spacing[4]};
+ text-align: center;
+`;
+
+export const SettingsApplicationNotFound = ({
+ message,
+ linkTo,
+ linkLabel,
+ LinkIcon,
+}: SettingsApplicationNotFoundProps) => {
+ return (
+ <StyledContainer role="status">
+ <div>{message}</div>
+ <Button
+ startIcon={<LinkIcon />}
+ variant="outline"
+ size="sm"
+ nativeButton={false}
+ role="link"
+ render={<Link to={linkTo} />}
+ >
+ {linkLabel}
+ </Button>
+ </StyledContainer>
+ );
+};
diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationShareLinkButtons.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationShareLinkButtons.tsx
index 26a9edf65f1..15a7fc141e2 100644
--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationShareLinkButtons.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationShareLinkButtons.tsx
@@ -89,8 +89,10 @@ export const SettingsApplicationRegistrationShareLinkButtons = ({
appDisplayName={displayName}
appLogoUrl={detail?.logoUrl ?? undefined}
defaultRole={defaultRole}
+ appObjects={detail?.objects ?? undefined}
requestedCapabilities={detail?.requestedCapabilities}
billsCredits={detail?.billsCredits}
+ isVetted={detail?.isVetted}
onAuthorize={install}
isInstalling={isInstalling}
/>
diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationTableRow.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationTableRow.tsx
index c6718098d6e..f14588127d5 100644
--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationTableRow.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationTableRow.tsx
@@ -61,7 +61,7 @@ export const SettingsApplicationTableRow = ({
<ApplicationDisplay application={application} />
</StyledNameTableCell>
<TableCell color={themeCssVariables.font.color.tertiary}>
- {sourceType ? SOURCE_TYPE_LABELS[sourceType] : t`Seeded`}
+ {sourceType ? SOURCE_TYPE_LABELS[sourceType] : t`Built-in`}
</TableCell>
<TableCell gap={themeCssVariables.spacing[2]} minWidth="0">
<OverflowingTextWithTooltip text={descriptionSummary} />
diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationsTable.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationsTable.tsx
index d3582c9b132..8f9b3723b68 100644
--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationsTable.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationsTable.tsx
@@ -1,3 +1,4 @@
+import { SettingsEmptyPlaceholder } from '@/settings/components/SettingsEmptyPlaceholder';
import { Table } from '@/ui/layout/table/components/Table';
import { TableHeader } from '@/ui/layout/table/components/TableHeader';
import { TableRow } from '@/ui/layout/table/components/TableRow';
@@ -38,13 +39,15 @@ export const SettingsApplicationsTable = ({
const [searchTerm, setSearchTerm] = useState('');
+ const normalizedSearchTerm = searchTerm.trim().toLowerCase();
+
const filteredApplications = applications
.filter(
(application) =>
- application.name.toLowerCase().includes(searchTerm.toLowerCase()) ||
+ application.name.toLowerCase().includes(normalizedSearchTerm) ||
(application.description ?? '')
.toLowerCase()
- .includes(searchTerm.toLowerCase()),
+ .includes(normalizedSearchTerm),
)
.sort((a, b) => {
const aIsOAuth =
@@ -76,13 +79,17 @@ export const SettingsApplicationsTable = ({
<TableRow
gridTemplateColumns={APPLICATION_TABLE_ROW_GRID_TEMPLATE_COLUMNS}
>
- <TableHeader> {t`Name`}</TableHeader>
- <TableHeader> {t`Type`}</TableHeader>
- <TableHeader> {t`Description`}</TableHeader>
- <TableHeader> {''}</TableHeader>
+ <TableHeader>{t`Name`}</TableHeader>
+ <TableHeader>{t`Type`}</TableHeader>
+ <TableHeader>{t`Description`}</TableHeader>
<TableHeader />
</TableRow>
<StyledTableRowsContainer>
+ {filteredApplications.length === 0 && (
+ <SettingsEmptyPlaceholder padding="4">
+ <span role="status">{t`No application matches your search`}</span>
+ </SettingsEmptyPlaceholder>
+ )}
{filteredApplications.map((application) => {
const isNpmApp =
application.applicationRegistration?.sourceType ===
diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsAvailableApplicationCard.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsAvailableApplicationCard.tsx
index f120c858198..6deba11b24b 100644
--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsAvailableApplicationCard.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsAvailableApplicationCard.tsx
@@ -5,6 +5,7 @@ import {
} from '@/settings/components/SettingsOptions/SettingsCardContentBase';
import { styled } from '@linaria/react';
import { t } from '@lingui/core/macro';
+import { isNonEmptyString } from '@sniptt/guards';
import { Link } from 'react-router-dom';
import { SettingsPath } from 'twenty-shared/types';
import { getSettingsPath } from 'twenty-shared/utils';
@@ -27,6 +28,22 @@ const StyledLinkContainer = styled.div`
}
`;
+const StyledTextColumn = styled.div`
+ min-width: 0;
+`;
+
+const StyledTitle = styled(StyledSettingsCardTitle)`
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+`;
+
+const StyledAuthor = styled(StyledSettingsCardThirdLine)`
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+`;
+
const StyledDescription = styled.div`
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
@@ -42,6 +59,7 @@ const StyledDescription = styled.div`
font-size: ${themeCssVariables.font.size.sm};
line-height: 1.5;
overflow: hidden;
+ overflow-wrap: anywhere;
`;
export const SettingsAvailableApplicationCard = ({
@@ -50,6 +68,7 @@ export const SettingsAvailableApplicationCard = ({
const descriptionSummary = getApplicationDescriptionSummary(
application.description,
);
+ const author = application.author;
return (
<StyledLinkContainer>
@@ -67,15 +86,15 @@ export const SettingsAvailableApplicationCard = ({
size="lg"
shape="square"
/>
- <div>
- <StyledSettingsCardTitle>
+ <StyledTextColumn>
+ <StyledTitle title={application.name}>
{application.name}
- </StyledSettingsCardTitle>
+ </StyledTitle>
<StyledDescription>{descriptionSummary}</StyledDescription>
- <StyledSettingsCardThirdLine>
- {t`by {author}`} {application.author}
- </StyledSettingsCardThirdLine>
- </div>
+ {isNonEmptyString(author) && (
+ <StyledAuthor>{t`by ${author}`}</StyledAuthor>
+ )}
+ </StyledTextColumn>
</StyledSettingsCardContent>
</Card.Root>
</Link>
diff --git a/packages/twenty-front/src/pages/settings/applications/components/__tests__/SettingsApplicationDetailAbout.test.tsx b/packages/twenty-front/src/pages/settings/applications/components/__tests__/SettingsApplicationDetailAbout.test.tsx
index 1537461044c..08c8e0c65c8 100644
--- a/packages/twenty-front/src/pages/settings/applications/components/__tests__/SettingsApplicationDetailAbout.test.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/components/__tests__/SettingsApplicationDetailAbout.test.tsx
@@ -158,7 +158,9 @@ describe('SettingsApplicationDetailAbout', () => {
'https://cdn.example.com/screenshot-1.png',
);
- await user.click(screen.getByAltText('Stripe thumbnail 2'));
+ await user.click(
+ screen.getByRole('button', { name: 'Stripe screenshot 2' }),
+ );
expect(screen.getByAltText('Stripe screenshot 2')).toHaveAttribute(
'src',
diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailGeneralTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailGeneralTab.tsx
index 434b1761851..46c2ad9b3a7 100644
--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailGeneralTab.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailGeneralTab.tsx
@@ -7,7 +7,7 @@ import { t } from '@lingui/core/macro';
import { isNonEmptyString } from '@sniptt/guards';
import { SettingsPath } from 'twenty-shared/types';
import { isNonEmptyArray } from 'twenty-shared/utils';
-import { IconArrowUp, IconShoppingBag } from 'twenty-ui/icon';
+import { IconArrowUp, IconInfoCircle, IconShoppingBag } from 'twenty-ui/icon';
import { Button } from 'twenty-ui/primitives/input';
import { Section } from 'twenty-ui/components/layout';
import {
@@ -36,6 +36,7 @@ type SettingsApplicationDetailGeneralTabProps = {
description?: string;
coverImageUrl?: string;
marketplaceUniversalIdentifier?: string;
+ isMarketplaceApplication: boolean;
hasUpdate: boolean;
latestAvailableVersion?: string;
onUpgrade: () => void;
@@ -52,6 +53,7 @@ export const SettingsApplicationDetailGeneralTab = ({
description,
coverImageUrl,
marketplaceUniversalIdentifier,
+ isMarketplaceApplication,
hasUpdate,
latestAvailableVersion,
onUpgrade,
@@ -80,7 +82,13 @@ export const SettingsApplicationDetailGeneralTab = ({
? [
<Button
key="see"
- startIcon={<IconShoppingBag />}
+ startIcon={
+ isMarketplaceApplication ? (
+ <IconShoppingBag />
+ ) : (
+ <IconInfoCircle />
+ )
+ }
variant="outline"
size="sm"
onClick={() =>
@@ -88,7 +96,11 @@ export const SettingsApplicationDetailGeneralTab = ({
availableApplicationId: marketplaceUniversalIdentifier,
})
}
- >{t`See`}</Button>,
+ >
+ {isMarketplaceApplication
+ ? t`View in marketplace`
+ : t`See app page`}
+ </Button>,
]
: []),
...(canManageApplications && hasUpdate
diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationsAvailableTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationsAvailableTab.tsx
index fd598e0ea09..47fb5000f8d 100644
--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationsAvailableTab.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationsAvailableTab.tsx
@@ -1,9 +1,13 @@
+import { useMarketplaceApps } from '@/marketplace/hooks/useMarketplaceApps';
import { SettingsEmptyPlaceholder } from '@/settings/components/SettingsEmptyPlaceholder';
-import { DropdownRoot } from '@/ui/layout/dropdown/components/DropdownRoot';
+import { SettingsSectionSkeletonLoader } from '@/settings/components/SettingsSectionSkeletonLoader';
import { DropdownContent } from '@/ui/layout/dropdown/components/DropdownContent';
+import { DropdownRoot } from '@/ui/layout/dropdown/components/DropdownRoot';
import { styled } from '@linaria/react';
+import { plural } from '@lingui/core/macro';
import { useLingui } from '@lingui/react/macro';
import { useState } from 'react';
+import { isDefined } from 'twenty-shared/utils';
import { InlineBanner } from 'twenty-ui/components/feedback';
import { SearchInput } from 'twenty-ui/components/input';
import { Section } from 'twenty-ui/components/layout';
@@ -11,8 +15,9 @@ import { Dropdown } from 'twenty-ui/components/navigation';
import { SettingsRow } from 'twenty-ui/components/settings';
import { IconSparkles } from 'twenty-ui/icon';
import { themeCssVariables } from 'twenty-ui/theme';
-import { useMarketplaceApps } from '@/marketplace/hooks/useMarketplaceApps';
+import { SettingsApplicationLoadErrorBanner } from '~/pages/settings/applications/components/SettingsApplicationLoadErrorBanner';
import { SettingsAvailableApplicationCard } from '~/pages/settings/applications/components/SettingsAvailableApplicationCard';
+import { filterMarketplaceApps } from '~/pages/settings/applications/utils/filterMarketplaceApps';
const StyledSearchInputContainer = styled.div`
padding-bottom: ${themeCssVariables.spacing[2]};
@@ -38,6 +43,13 @@ const StyledCardsGrid = styled.div`
}
`;
+const StyledEmptyState = styled.div`
+ align-items: center;
+ display: flex;
+ flex-direction: column;
+ gap: ${themeCssVariables.spacing[2]};
+`;
+
const StyledHintLink = styled.button`
background: none;
border: none;
@@ -53,19 +65,19 @@ export const SettingsApplicationsAvailableTab = () => {
const [searchTerm, setSearchTerm] = useState('');
const [showVettedOnly, setShowVettedOnly] = useState(true);
- const { data: marketplaceApps, isLoading } = useMarketplaceApps();
+ const {
+ data: marketplaceApps,
+ isLoading,
+ error,
+ refetch,
+ } = useMarketplaceApps();
- const textFilteredApplications = searchTerm
- ? marketplaceApps.filter((application) => {
- const lowerSearch = searchTerm.toLowerCase();
+ const hasSearchTerm = searchTerm.trim().length > 0;
- return (
- application.name.toLowerCase().includes(lowerSearch) ||
- application.description.toLowerCase().includes(lowerSearch) ||
- application.author.toLowerCase().includes(lowerSearch)
- );
- })
- : marketplaceApps;
+ const textFilteredApplications = filterMarketplaceApps({
+ marketplaceApps,
+ searchTerm,
+ });
const vettedApplications = textFilteredApplications.filter(
(application) => application.isVetted,
@@ -78,7 +90,18 @@ export const SettingsApplicationsAvailableTab = () => {
if (isLoading) {
return (
<Section.Root>
- <SettingsEmptyPlaceholder padding="4">{t`Loading applications...`}</SettingsEmptyPlaceholder>
+ <SettingsSectionSkeletonLoader />
+ </Section.Root>
+ );
+ }
+
+ if (isDefined(error)) {
+ return (
+ <Section.Root>
+ <SettingsApplicationLoadErrorBanner
+ message={t`The marketplace could not be loaded. Check your connection and try again.`}
+ onRetry={() => refetch().catch(() => undefined)}
+ />
</Section.Root>
);
}
@@ -90,11 +113,30 @@ export const SettingsApplicationsAvailableTab = () => {
const hasNoApplications = textFilteredApplications.length === 0;
+ const nonVettedCount = nonVettedApplications.length;
+
+ const getEmptyStateMessage = () => {
+ if (showNonVettedHint) {
+ return plural(nonVettedCount, {
+ one: 'No vetted application matches. # non-vetted application is available.',
+ other:
+ 'No vetted application matches. # non-vetted applications are available.',
+ });
+ }
+
+ if (hasSearchTerm) {
+ return t`No application matches your search`;
+ }
+
+ return t`No applications available yet`;
+ };
+
return (
<Section.Root>
<StyledSearchInputContainer>
<SearchInput
placeholder={t`Search an application`}
+ filterButtonAriaLabel={t`Filter applications`}
value={searchTerm}
onValueChange={setSearchTerm}
filterDropdown={(filterButton) => (
@@ -122,14 +164,17 @@ export const SettingsApplicationsAvailableTab = () => {
{hasNoApplications ||
(showVettedOnly && vettedApplications.length === 0) ? (
<SettingsEmptyPlaceholder padding="4">
- {showNonVettedHint
- ? t`No vetted applications found. ${nonVettedApplications.length} non-vetted result(s) available — `
- : t`No applications available`}
- {showNonVettedHint && (
- <StyledHintLink onClick={() => setShowVettedOnly(false)}>
- {t`show all`}
- </StyledHintLink>
- )}
+ <StyledEmptyState role="status">
+ {getEmptyStateMessage()}
+ {showNonVettedHint && (
+ <StyledHintLink
+ type="button"
+ onClick={() => setShowVettedOnly(false)}
+ >
+ {t`Show all applications`}
+ </StyledHintLink>
+ )}
+ </StyledEmptyState>
</SettingsEmptyPlaceholder>
) : (
<StyledContentContainer>
diff --git a/packages/twenty-front/src/pages/settings/applications/utils/__tests__/filterMarketplaceApps.test.ts b/packages/twenty-front/src/pages/settings/applications/utils/__tests__/filterMarketplaceApps.test.ts
new file mode 100644
index 00000000000..6bf5361a000
--- /dev/null
+++ b/packages/twenty-front/src/pages/settings/applications/utils/__tests__/filterMarketplaceApps.test.ts
@@ -0,0 +1,83 @@
+import { filterMarketplaceApps } from '~/pages/settings/applications/utils/filterMarketplaceApps';
+
+const apps = [
+ {
+ name: 'Slack',
+ description: 'Your CRM, in the conversation.',
+ author: 'Twenty',
+ category: 'Communication',
+ },
+ {
+ name: 'People Data Labs',
+ description: 'Enrich People and Companies.',
+ author: 'Twenty',
+ category: 'Enrichment',
+ },
+ {
+ name: 'מערכת 🚀',
+ description: 'وصف',
+ author: 'Zoë',
+ category: '',
+ },
+];
+
+describe('filterMarketplaceApps', () => {
+ it('returns every app for an empty or whitespace-only search', () => {
+ expect(
+ filterMarketplaceApps({ marketplaceApps: apps, searchTerm: '' }),
+ ).toEqual(apps);
+ expect(
+ filterMarketplaceApps({ marketplaceApps: apps, searchTerm: ' \t' }),
+ ).toEqual(apps);
+ });
+
+ it('matches case-insensitively on name, description, author and category', () => {
+ expect(
+ filterMarketplaceApps({ marketplaceApps: apps, searchTerm: 'SLACK' }).map(
+ ({ name }) => name,
+ ),
+ ).toEqual(['Slack']);
+ expect(
+ filterMarketplaceApps({
+ marketplaceApps: apps,
+ searchTerm: 'enrich',
+ }).map(({ name }) => name),
+ ).toEqual(['People Data Labs']);
+ expect(
+ filterMarketplaceApps({ marketplaceApps: apps, searchTerm: 'twenty' }),
+ ).toHaveLength(2);
+ expect(
+ filterMarketplaceApps({
+ marketplaceApps: apps,
+ searchTerm: 'communication',
+ }).map(({ name }) => name),
+ ).toEqual(['Slack']);
+ });
+
+ it('ignores surrounding whitespace in the search term', () => {
+ expect(
+ filterMarketplaceApps({
+ marketplaceApps: apps,
+ searchTerm: ' people data ',
+ }).map(({ name }) => name),
+ ).toEqual(['People Data Labs']);
+ });
+
+ it('matches non-latin text and emoji', () => {
+ expect(
+ filterMarketplaceApps({ marketplaceApps: apps, searchTerm: '🚀' }),
+ ).toHaveLength(1);
+ expect(
+ filterMarketplaceApps({ marketplaceApps: apps, searchTerm: 'وصف' }),
+ ).toHaveLength(1);
+ expect(
+ filterMarketplaceApps({ marketplaceApps: apps, searchTerm: 'zoë' }),
+ ).toHaveLength(1);
+ });
+
+ it('returns nothing when nothing matches', () => {
+ expect(
+ filterMarketplaceApps({ marketplaceApps: apps, searchTerm: '<script>' }),
+ ).toEqual([]);
+ });
+});
diff --git a/packages/twenty-front/src/pages/settings/applications/utils/__tests__/getApplicationDescriptionSummary.test.ts b/packages/twenty-front/src/pages/settings/applications/utils/__tests__/getApplicationDescriptionSummary.test.ts
new file mode 100644
index 00000000000..94fe9b9fcc8
--- /dev/null
+++ b/packages/twenty-front/src/pages/settings/applications/utils/__tests__/getApplicationDescriptionSummary.test.ts
@@ -0,0 +1,52 @@
+import { getApplicationDescriptionSummary } from '~/pages/settings/applications/utils/getApplicationDescriptionSummary';
+
+describe('getApplicationDescriptionSummary', () => {
+ it('returns an empty string for missing or blank descriptions', () => {
+ expect(getApplicationDescriptionSummary(undefined)).toBe('');
+ expect(getApplicationDescriptionSummary(null)).toBe('');
+ expect(getApplicationDescriptionSummary('')).toBe('');
+ expect(getApplicationDescriptionSummary('\n\n \n\t')).toBe('');
+ });
+
+ it('keeps a plain first paragraph as is', () => {
+ expect(
+ getApplicationDescriptionSummary('Enrich People.\n\nMore details.'),
+ ).toBe('Enrich People.');
+ });
+
+ it('strips markdown formatting from the first paragraph', () => {
+ expect(
+ getApplicationDescriptionSummary('**Bold** and [a link](https://x.y).'),
+ ).toBe('Bold and a link.');
+ });
+
+ it('skips images, code blocks and empty blocks before the first text', () => {
+ expect(
+ getApplicationDescriptionSummary(
+ '![cover](https://example.com/c.png)\n\n```js\nconsole.log(1)\n```\n\n# Heading only\n\n- bullet',
+ ),
+ ).toBe('Heading only');
+ });
+
+ it('does not use an inline image alt text as the summary', () => {
+ expect(
+ getApplicationDescriptionSummary(
+ '![cover](https://example.com/c.png) Real text',
+ ),
+ ).toBe('Real text');
+ });
+
+ it('keeps the text after an image whose URL contains parentheses', () => {
+ expect(
+ getApplicationDescriptionSummary(
+ '![cover](https://example.com/a_(1).png) Intro',
+ ),
+ ).toBe('Intro');
+ });
+
+ it('collapses whitespace and keeps non-latin text', () => {
+ expect(getApplicationDescriptionSummary(' هذا وصف\n日本語 ')).toBe(
+ 'هذا وصف 日本語',
+ );
+ });
+});
diff --git a/packages/twenty-front/src/pages/settings/applications/utils/__tests__/getApplicationLookupStatus.test.ts b/packages/twenty-front/src/pages/settings/applications/utils/__tests__/getApplicationLookupStatus.test.ts
new file mode 100644
index 00000000000..1ec45a7dfaf
--- /dev/null
+++ b/packages/twenty-front/src/pages/settings/applications/utils/__tests__/getApplicationLookupStatus.test.ts
@@ -0,0 +1,121 @@
+import { CombinedGraphQLErrors, ServerError } from '@apollo/client/errors';
+import { GraphQLError } from 'graphql';
+
+import { getApplicationLookupStatus } from '~/pages/settings/applications/utils/getApplicationLookupStatus';
+
+const baseArgs = {
+ identifier: 'f2b1c3d4-0000-4000-8000-000000000000',
+ isLoading: false,
+ error: undefined,
+ result: undefined,
+};
+
+const buildGraphqlError = (code: string) =>
+ new CombinedGraphQLErrors({
+ errors: [new GraphQLError('error', { extensions: { code } })],
+ });
+
+const buildServerError = (statusCode: number) =>
+ new ServerError('server error', {
+ response: { status: statusCode } as Response,
+ bodyText: '',
+ });
+
+describe('getApplicationLookupStatus', () => {
+ it('is not found without an identifier', () => {
+ expect(getApplicationLookupStatus({ ...baseArgs, identifier: '' })).toBe(
+ 'not-found',
+ );
+ });
+
+ it('is not found for a malformed identifier, whatever the query returns', () => {
+ expect(
+ getApplicationLookupStatus({
+ ...baseArgs,
+ identifier: 'not-a-uuid',
+ isLoading: true,
+ }),
+ ).toBe('not-found');
+ });
+
+ it('accepts a UUID v7 identifier', () => {
+ expect(
+ getApplicationLookupStatus({
+ ...baseArgs,
+ identifier: '0198fe12-3456-7000-8000-000000000000',
+ result: { id: 'app' },
+ }),
+ ).toBe('found');
+ });
+
+ it('is loading while the query runs', () => {
+ expect(getApplicationLookupStatus({ ...baseArgs, isLoading: true })).toBe(
+ 'loading',
+ );
+ });
+
+ it('is found once the query returns a result', () => {
+ expect(
+ getApplicationLookupStatus({ ...baseArgs, result: { id: 'app' } }),
+ ).toBe('found');
+ });
+
+ it('stays found when a refetch fails after data was loaded', () => {
+ expect(
+ getApplicationLookupStatus({
+ ...baseArgs,
+ result: { id: 'app' },
+ error: buildServerError(503),
+ }),
+ ).toBe('found');
+ });
+
+ it('is not found when the query completes without a result', () => {
+ expect(getApplicationLookupStatus(baseArgs)).toBe('not-found');
+ });
+
+ it('is unavailable on a GraphQL error that is not a not-found', () => {
+ expect(
+ getApplicationLookupStatus({
+ ...baseArgs,
+ error: buildGraphqlError('INTERNAL_SERVER_ERROR'),
+ }),
+ ).toBe('unavailable');
+ expect(
+ getApplicationLookupStatus({
+ ...baseArgs,
+ error: buildGraphqlError('FORBIDDEN'),
+ }),
+ ).toBe('unavailable');
+ });
+
+ it('is not found on a GraphQL not-found error', () => {
+ expect(
+ getApplicationLookupStatus({
+ ...baseArgs,
+ error: buildGraphqlError('NOT_FOUND'),
+ }),
+ ).toBe('not-found');
+ });
+
+ it('is unavailable when the server rejects the request', () => {
+ expect(
+ getApplicationLookupStatus({ ...baseArgs, error: buildServerError(400) }),
+ ).toBe('unavailable');
+ });
+
+ it('is unavailable on a server failure', () => {
+ expect(
+ getApplicationLookupStatus({ ...baseArgs, error: buildServerError(503) }),
+ ).toBe('unavailable');
+ });
+
+ it('is unavailable on a network failure', () => {
+ expect(
+ getApplicationLookupStatus({
+ ...baseArgs,
+ error: new TypeError('Failed to fetch'),
+ }),
+ ).toBe('unavailable');
+ });
+});
diff --git a/packages/twenty-front/src/pages/settings/applications/utils/__tests__/isNewerSemver.test.ts b/packages/twenty-front/src/pages/settings/applications/utils/__tests__/isNewerSemver.test.ts
new file mode 100644
index 00000000000..a40016d171d
--- /dev/null
+++ b/packages/twenty-front/src/pages/settings/applications/utils/__tests__/isNewerSemver.test.ts
@@ -0,0 +1,53 @@
+import { isNewerSemver } from '~/pages/settings/applications/utils/isNewerSemver';
+
+const isNumberedBetaNewer = () =>
+ isNewerSemver('1.0.0-beta.11', '1.0.0-beta.2');
+
+describe('isNewerSemver', () => {
+ it.each([
+ ['1.0.1', '1.0.0', true],
+ ['1.1.0', '1.0.9', true],
+ ['2.0.0', '1.99.99', true],
+ ['1.0.0', '1.0.0', false],
+ ['1.0.0', '1.0.1', false],
+ ['0.9.0', '1.0.0', false],
+ ])('compares %s against %s as newer=%s', (versionA, versionB, expected) => {
+ expect(isNewerSemver(versionA, versionB)).toBe(expected);
+ });
+
+ it('treats missing segments as zero', () => {
+ expect(isNewerSemver('1.1', '1.0.5')).toBe(true);
+ expect(isNewerSemver('2', '1.9.9')).toBe(true);
+ expect(isNewerSemver('1.0', '1.0.0')).toBe(false);
+ });
+
+ it('ranks a release above its own pre-releases', () => {
+ expect(isNewerSemver('2.0.0', '2.0.0-beta.1')).toBe(true);
+ expect(isNewerSemver('2.0.0-beta.1', '2.0.0')).toBe(false);
+ expect(isNewerSemver('2.0.0-beta.2', '2.0.0-beta.1')).toBe(true);
+ expect(isNewerSemver('2.0.0-beta.10', '2.0.0-beta.9')).toBe(true);
+ expect(isNewerSemver('2.0.0-rc.1', '2.0.0-beta.9')).toBe(true);
+ expect(isNewerSemver('2.0.0-beta.1', '1.9.0')).toBe(true);
+ });
+
+ it('orders pre-release identifiers like SemVer', () => {
+ expect(isNewerSemver('1.0.0-beta.1a', '1.0.0-beta.2')).toBe(true);
+ expect(isNewerSemver('1.0.0-beta.2', '1.0.0-beta.1a')).toBe(false);
+ expect(isNewerSemver('1.0.0-beta', '1.0.0-alpha')).toBe(true);
+ expect(isNewerSemver('1.0.0-Beta', '1.0.0-alpha')).toBe(false);
+ expect(isNumberedBetaNewer()).toBe(true);
+ });
+
+ it('ignores build metadata and a leading v', () => {
+ expect(isNewerSemver('1.0.0+build.2', '1.0.0+build.1')).toBe(false);
+ expect(isNewerSemver('v1.2.0', '1.1.0')).toBe(true);
+ expect(isNewerSemver(' 1.2.0 ', '1.1.0')).toBe(true);
+ });
+
+ it('never reports an update for malformed versions', () => {
+ expect(isNewerSemver('latest', '1.0.0')).toBe(false);
+ expect(isNewerSemver('1.0.0', 'latest')).toBe(false);
+ expect(isNewerSemver('', '')).toBe(false);
+ expect(isNewerSemver('a.b.c', '1.0.0')).toBe(false);
+ });
+});
diff --git a/packages/twenty-front/src/pages/settings/applications/utils/__tests__/isUuidFormat.test.ts b/packages/twenty-front/src/pages/settings/applications/utils/__tests__/isUuidFormat.test.ts
new file mode 100644
index 00000000000..90d71045f04
--- /dev/null
+++ b/packages/twenty-front/src/pages/settings/applications/utils/__tests__/isUuidFormat.test.ts
@@ -0,0 +1,17 @@
+import { isUuidFormat } from '~/pages/settings/applications/utils/isUuidFormat';
+
+describe('isUuidFormat', () => {
+ it('accepts UUIDs of every version, in any case', () => {
+ expect(isUuidFormat('f2b1c3d4-0000-4000-8000-000000000000')).toBe(true);
+ expect(isUuidFormat('0198fe12-3456-7000-8000-000000000000')).toBe(true);
+ expect(isUuidFormat('F2B1C3D4-0000-4000-8000-000000000000')).toBe(true);
+ });
+
+ it('rejects missing and malformed identifiers', () => {
+ expect(isUuidFormat(undefined)).toBe(false);
+ expect(isUuidFormat('')).toBe(false);
+ expect(isUuidFormat('not-a-uuid')).toBe(false);
+ expect(isUuidFormat(' f2b1c3d4-0000-4000-8000-000000000000')).toBe(false);
+ expect(isUuidFormat('f2b1c3d4-0000-4000-8000-00000000000')).toBe(false);
+ });
+});
diff --git a/packages/twenty-front/src/pages/settings/applications/utils/filterMarketplaceApps.ts b/packages/twenty-front/src/pages/settings/applications/utils/filterMarketplaceApps.ts
new file mode 100644
index 00000000000..97856661d53
--- /dev/null
+++ b/packages/twenty-front/src/pages/settings/applications/utils/filterMarketplaceApps.ts
@@ -0,0 +1,31 @@
+type SearchableMarketplaceApp = {
+ name: string;
+ description: string;
+ author: string;
+ category: string;
+};
+
+export const filterMarketplaceApps = <
+ TMarketplaceApp extends SearchableMarketplaceApp,
+>({
+ marketplaceApps,
+ searchTerm,
+}: {
+ marketplaceApps: TMarketplaceApp[];
+ searchTerm: string;
+}): TMarketplaceApp[] => {
+ const normalizedSearchTerm = searchTerm.trim().toLowerCase();
+
+ if (normalizedSearchTerm.length === 0) {
+ return marketplaceApps;
+ }
+
+ return marketplaceApps.filter((marketplaceApp) =>
+ [
+ marketplaceApp.name,
+ marketplaceApp.description,
+ marketplaceApp.author,
+ marketplaceApp.category,
+ ].some((value) => value.toLowerCase().includes(normalizedSearchTerm)),
+ );
+};
diff --git a/packages/twenty-front/src/pages/settings/applications/utils/getApplicationDescriptionSummary.ts b/packages/twenty-front/src/pages/settings/applications/utils/getApplicationDescriptionSummary.ts
index ebdabaee153..26910cc9d49 100644
--- a/packages/twenty-front/src/pages/settings/applications/utils/getApplicationDescriptionSummary.ts
+++ b/packages/twenty-front/src/pages/settings/applications/utils/getApplicationDescriptionSummary.ts
@@ -1,4 +1,22 @@
-import { getPlainTextFromMarkdown } from '~/utils/string/getPlainTextFromMarkdown';
+import { type Token, marked } from 'marked';
+import { getPlainTextFromMarkdownTokens } from '~/utils/string/getPlainTextFromMarkdown';
+
+const withoutImageTokens = (tokens: Token[]): Token[] =>
+ tokens.flatMap((token) => {
+ if (token.type === 'image') {
+ return [];
+ }
+
+ if (token.type === 'list' && Array.isArray(token.items)) {
+ return [{ ...token, items: withoutImageTokens(token.items) }];
+ }
+
+ if ('tokens' in token && Array.isArray(token.tokens)) {
+ return [{ ...token, tokens: withoutImageTokens(token.tokens) }];
+ }
+
+ return [token];
+ });
export const getApplicationDescriptionSummary = (
description?: string | null,
@@ -7,8 +25,8 @@ export const getApplicationDescriptionSummary = (
return '';
}
- for (const block of description.split(/\n\s*\n/)) {
- const summary = getPlainTextFromMarkdown(block);
+ for (const block of marked.lexer(description)) {
+ const summary = getPlainTextFromMarkdownTokens(withoutImageTokens([block]));
if (summary.length > 0) {
return summary;
diff --git a/packages/twenty-front/src/pages/settings/applications/utils/getApplicationLookupStatus.ts b/packages/twenty-front/src/pages/settings/applications/utils/getApplicationLookupStatus.ts
new file mode 100644
index 00000000000..892fc7bb8f2
--- /dev/null
+++ b/packages/twenty-front/src/pages/settings/applications/utils/getApplicationLookupStatus.ts
@@ -0,0 +1,40 @@
+import { type ErrorLike } from '@apollo/client';
+import { isDefined } from 'twenty-shared/utils';
+import { isUuidFormat } from '~/pages/settings/applications/utils/isUuidFormat';
+import { isGraphqlErrorOfType } from '~/utils/is-graphql-error-of-type.util';
+
+export type ApplicationLookupStatus =
+ | 'loading'
+ | 'found'
+ | 'not-found'
+ | 'unavailable';
+
+const NOT_FOUND_ERROR_CODE = 'NOT_FOUND';
+
+export const getApplicationLookupStatus = <TResult extends object>({
+ identifier,
+ isLoading,
+ error,
+ result,
+}: {
+ identifier: string | undefined;
+ isLoading: boolean;
+ error: ErrorLike | undefined;
+ result: TResult | null | undefined;
+}): ApplicationLookupStatus => {
+ if (!isUuidFormat(identifier)) {
+ return 'not-found';
+ }
+
+ if (isDefined(result)) {
+ return 'found';
+ }
+
+ if (isDefined(error)) {
+ return isGraphqlErrorOfType(error, NOT_FOUND_ERROR_CODE)
+ ? 'not-found'
+ : 'unavailable';
+ }
+
+ return isLoading ? 'loading' : 'not-found';
+};
diff --git a/packages/twenty-front/src/pages/settings/applications/utils/isNewerSemver.ts b/packages/twenty-front/src/pages/settings/applications/utils/isNewerSemver.ts
index b199d9fffea..2c34b49f0e4 100644
--- a/packages/twenty-front/src/pages/settings/applications/utils/isNewerSemver.ts
+++ b/packages/twenty-front/src/pages/settings/applications/utils/isNewerSemver.ts
@@ -1,14 +1,114 @@
+import { isDefined } from 'twenty-shared/utils';
+
+type ParsedSemver = {
+ numericParts: number[];
+ preRelease: string | undefined;
+};
+
+const parseSemver = (version: string): ParsedSemver => {
+ const [versionWithoutBuild] = version.trim().replace(/^v/i, '').split('+');
+ const [numericVersion, ...preReleaseParts] = versionWithoutBuild.split('-');
+
+ return {
+ numericParts: numericVersion.split('.').map(Number),
+ preRelease:
+ preReleaseParts.length > 0 ? preReleaseParts.join('-') : undefined,
+ };
+};
+
+const NUMERIC_IDENTIFIER_REGEX = /^\d+$/;
+
+const comparePreReleaseParts = ({
+ partA,
+ partB,
+}: {
+ partA: string | undefined;
+ partB: string | undefined;
+}): number => {
+ if (!isDefined(partA)) {
+ return -1;
+ }
+
+ if (!isDefined(partB)) {
+ return 1;
+ }
+
+ const isNumericA = NUMERIC_IDENTIFIER_REGEX.test(partA);
+ const isNumericB = NUMERIC_IDENTIFIER_REGEX.test(partB);
+
+ if (isNumericA && isNumericB) {
+ return Number(partA) - Number(partB);
+ }
+
+ if (isNumericA !== isNumericB) {
+ return isNumericA ? -1 : 1;
+ }
+
+ if (partA === partB) {
+ return 0;
+ }
+
+ return partA < partB ? -1 : 1;
+};
+
+const comparePreReleases = ({
+ preReleaseA,
+ preReleaseB,
+}: {
+ preReleaseA: string | undefined;
+ preReleaseB: string | undefined;
+}): number => {
+ if (preReleaseA === preReleaseB) {
+ return 0;
+ }
+
+ if (!isDefined(preReleaseA)) {
+ return 1;
+ }
+
+ if (!isDefined(preReleaseB)) {
+ return -1;
+ }
+
+ const partsA = preReleaseA.split('.');
+ const partsB = preReleaseB.split('.');
+ const length = Math.max(partsA.length, partsB.length);
+
+ for (let index = 0; index < length; index++) {
+ const comparison = comparePreReleaseParts({
+ partA: partsA[index],
+ partB: partsB[index],
+ });
+
+ if (comparison !== 0) {
+ return comparison;
+ }
+ }
+
+ return 0;
+};
+
export const isNewerSemver = (versionA: string, versionB: string): boolean => {
- const partsA = versionA.split('.').map(Number);
- const partsB = versionB.split('.').map(Number);
+ const parsedA = parseSemver(versionA);
+ const parsedB = parseSemver(versionB);
+
+ for (let index = 0; index < 3; index++) {
+ const partA = parsedA.numericParts[index] ?? 0;
+ const partB = parsedB.numericParts[index] ?? 0;
- for (let i = 0; i < 3; i++) {
- const a = partsA[i] ?? 0;
- const b = partsB[i] ?? 0;
+ if (Number.isNaN(partA) || Number.isNaN(partB)) {
+ return false;
+ }
- if (a > b) return true;
- if (a < b) return false;
+ if (partA !== partB) {
+ return partA > partB;
+ }
}
- return false;
+ return (
+ comparePreReleases({
+ preReleaseA: parsedA.preRelease,
+ preReleaseB: parsedB.preRelease,
+ }) > 0
+ );
};
diff --git a/packages/twenty-front/src/pages/settings/applications/utils/isUuidFormat.ts b/packages/twenty-front/src/pages/settings/applications/utils/isUuidFormat.ts
new file mode 100644
index 00000000000..35e71eba3a9
--- /dev/null
+++ b/packages/twenty-front/src/pages/settings/applications/utils/isUuidFormat.ts
@@ -0,0 +1,7 @@
+import { isNonEmptyString } from '@sniptt/guards';
+
+const UUID_FORMAT_REGEX =
+ /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
+
+export const isUuidFormat = (value: string | undefined): value is string =>
+ isNonEmptyString(value) && UUID_FORMAT_REGEX.test(value);
diff --git a/packages/twenty-front/src/modules/ai/utils/tool-display/formatDisplayList.ts b/packages/twenty-front/src/utils/format/formatDisplayList.ts
similarity index 100%
rename from packages/twenty-front/src/modules/ai/utils/tool-display/formatDisplayList.ts
rename to packages/twenty-front/src/utils/format/formatDisplayList.ts
diff --git a/packages/twenty-front/src/utils/string/getPlainTextFromMarkdown.ts b/packages/twenty-front/src/utils/string/getPlainTextFromMarkdown.ts
index faf22c1786d..b9fbcef9836 100644
--- a/packages/twenty-front/src/utils/string/getPlainTextFromMarkdown.ts
+++ b/packages/twenty-front/src/utils/string/getPlainTextFromMarkdown.ts
@@ -37,5 +37,8 @@ const getTokenText = (token: Token): string => {
return 'text' in token ? token.text : '';
};
+export const getPlainTextFromMarkdownTokens = (tokens: Token[]): string =>
+ getTokensText(tokens).replace(/\s+/g, ' ').trim();
+
export const getPlainTextFromMarkdown = (markdown: string): string =>
- getTokensText(marked.lexer(markdown)).replace(/\s+/g, ' ').trim();
+ getPlainTextFromMarkdownTokens(marked.lexer(markdown));
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-marketplace/dtos/marketplace-app-detail.dto.ts b/packages/twenty-server/src/engine/core-modules/application/application-marketplace/dtos/marketplace-app-detail.dto.ts
index 05bc3d95a45..6bae274d87a 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-marketplace/dtos/marketplace-app-detail.dto.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-marketplace/dtos/marketplace-app-detail.dto.ts
@@ -13,6 +13,7 @@ import {
type Manifest,
} from 'twenty-shared/application';
+import { MarketplaceAppObjectDTO } from 'src/engine/core-modules/application/application-marketplace/dtos/marketplace-app-object.dto';
import { MarketplaceAppRoleDTO } from 'src/engine/core-modules/application/application-marketplace/dtos/marketplace-app-role.dto';
import { ApplicationRegistrationSourceType } from 'src/engine/core-modules/application/application-registration/enums/application-registration-source-type.enum';
@@ -125,6 +126,10 @@ export class MarketplaceAppDetailDTO {
@Field(() => [MarketplaceAppRoleDTO], { nullable: true })
roles?: MarketplaceAppRoleDTO[];
+ @IsOptional()
+ @Field(() => [MarketplaceAppObjectDTO], { nullable: true })
+ objects?: MarketplaceAppObjectDTO[];
+
@Field(() => [String])
requestedCapabilities: ApplicationCapability[];
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-marketplace/dtos/marketplace-app-object.dto.ts b/packages/twenty-server/src/engine/core-modules/application/application-marketplace/dtos/marketplace-app-object.dto.ts
new file mode 100644
index 00000000000..dec66d6858d
--- /dev/null
+++ b/packages/twenty-server/src/engine/core-modules/application/application-marketplace/dtos/marketplace-app-object.dto.ts
@@ -0,0 +1,21 @@
+import { Field, ObjectType } from '@nestjs/graphql';
+
+import { IsNotEmpty, IsString } from 'class-validator';
+
+@ObjectType('MarketplaceAppObject')
+export class MarketplaceAppObjectDTO {
+ @IsString()
+ @IsNotEmpty()
+ @Field()
+ universalIdentifier: string;
+
+ @IsString()
+ @IsNotEmpty()
+ @Field()
+ labelSingular: string;
+
+ @IsString()
+ @IsNotEmpty()
+ @Field()
+ labelPlural: string;
+}
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-marketplace/marketplace-catalog-cache-provider.service.ts b/packages/twenty-server/src/engine/core-modules/application/application-marketplace/marketplace-catalog-cache-provider.service.ts
index 6da9c59ccc0..2165247b09e 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-marketplace/marketplace-catalog-cache-provider.service.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-marketplace/marketplace-catalog-cache-provider.service.ts
@@ -2,6 +2,7 @@ import { Injectable } from '@nestjs/common';
import { CoreEntityCache } from 'src/engine/core-entity-cache/decorators/core-entity-cache.decorator';
import { CoreEntityCacheProvider } from 'src/engine/core-entity-cache/interfaces/core-entity-cache-provider.service';
+import { MARKETPLACE_VETTED_APPLICATIONS } from 'src/engine/core-modules/application/application-marketplace/constants/marketplace-vetted-applications.constant';
import { MarketplaceAppDTO } from 'src/engine/core-modules/application/application-marketplace/dtos/marketplace-app.dto';
import { ApplicationVersionValidationService } from 'src/engine/core-modules/application/application-package/application-version-validation.service';
import { ApplicationRegistrationVariableService } from 'src/engine/core-modules/application/application-registration-variable/application-registration-variable.service';
@@ -10,6 +11,33 @@ import {
ApplicationRegistrationService,
} from 'src/engine/core-modules/application/application-registration/application-registration.service';
+const VETTED_POSITION_BY_UNIVERSAL_IDENTIFIER = new Map(
+ MARKETPLACE_VETTED_APPLICATIONS.map(({ universalIdentifier, position }) => [
+ universalIdentifier,
+ position,
+ ]),
+);
+
+const compareCatalogCards = (
+ cardA: ApplicationRegistrationCatalogCard,
+ cardB: ApplicationRegistrationCatalogCard,
+): number => {
+ const positionA =
+ VETTED_POSITION_BY_UNIVERSAL_IDENTIFIER.get(cardA.universalIdentifier) ??
+ Number.POSITIVE_INFINITY;
+ const positionB =
+ VETTED_POSITION_BY_UNIVERSAL_IDENTIFIER.get(cardB.universalIdentifier) ??
+ Number.POSITIVE_INFINITY;
+
+ if (positionA !== positionB) {
+ return positionA - positionB;
+ }
+
+ return cardA.name.trim().localeCompare(cardB.name.trim(), undefined, {
+ sensitivity: 'base',
+ });
+};
+
@Injectable()
@CoreEntityCache('marketplaceCatalog')
export class MarketplaceCatalogCacheProviderService extends CoreEntityCacheProvider<
@@ -50,6 +78,7 @@ export class MarketplaceCatalogCacheProviderService extends CoreEntityCacheProvi
return configuredRegistrations
.filter((_registration, index) => serverCompatibilities[index].compatible)
+ .sort(compareCatalogCards)
.reduce<Record<string, MarketplaceAppDTO>>(
(accumulator, registration) => {
accumulator[registration.universalIdentifier] =
@@ -68,7 +97,7 @@ export class MarketplaceCatalogCacheProviderService extends CoreEntityCacheProvi
id: catalogCard.universalIdentifier,
name: catalogCard.name,
description: catalogCard.description ?? '',
- author: catalogCard.author ?? 'Unknown',
+ author: catalogCard.author ?? '',
category: catalogCard.category ?? '',
logoUrl: catalogCard.logoUrl ?? undefined,
sourcePackage: catalogCard.sourcePackage ?? undefined,
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-marketplace/marketplace-query.service.ts b/packages/twenty-server/src/engine/core-modules/application/application-marketplace/marketplace-query.service.ts
index 24bd7a13541..79b6e5d4ec5 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-marketplace/marketplace-query.service.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-marketplace/marketplace-query.service.ts
@@ -1,5 +1,6 @@
import { Injectable } from '@nestjs/common';
+import { isUUID } from 'class-validator';
import {
getFieldPermissionUniversalIdentifier,
getObjectPermissionUniversalIdentifier,
@@ -74,10 +75,11 @@ export class MarketplaceQueryService {
async findRegistrationByUniversalIdentifier(
universalIdentifier: string,
): Promise<ApplicationRegistrationEntity> {
- const registration =
- await this.applicationRegistrationLookupService.findOneByUniversalIdentifierGlobal(
- universalIdentifier,
- );
+ const registration = isUUID(universalIdentifier)
+ ? await this.applicationRegistrationLookupService.findOneByUniversalIdentifierGlobal(
+ universalIdentifier,
+ )
+ : null;
if (!isDefined(registration)) {
throw new ApplicationRegistrationException(
@@ -167,6 +169,13 @@ export class MarketplaceQueryService {
}),
)
: undefined,
+ objects: manifest?.objects?.map(
+ ({ universalIdentifier, labelSingular, labelPlural }) => ({
+ universalIdentifier,
+ labelSingular,
+ labelPlural,
+ }),
+ ),
requestedCapabilities: toApplicationCapabilities(
manifest?.application?.requestedCapabilities,
),