Skip to content

The open alternative to Salesforce, designed for AI.

Store approved iframe media origins and send them in Permissions-Policy (#29217)

Raphaël Bosi5dd4f7400947
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
index 05baccbe148..49ca48a7131 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
@@ -2613,6 +2613,12 @@ type IframeConfiguration {
url: String
}
+type IframeMediaPermission {
+ camera: Boolean!
+ microphone: Boolean!
+ origin: String!
+}
+
type ImapSmtpCaldavConnectionSuccess {
connectedAccountId: String!
success: Boolean!
@@ -3500,7 +3506,8 @@ type Mutation {
updateViewSort(input: UpdateViewSortInput!): ViewSort!
updateWebhook(input: UpdateWebhookInput!): Webhook!
updateWorkspace(data: UpdateWorkspaceInput!): Workspace!
- updateWorkspaceAllowedIframeOrigins(data: UpdateWorkspaceAllowedIframeOriginsInput!): Workspace!
+ updateWorkspaceAllowedEmbeddingOrigins(data: UpdateWorkspaceAllowedEmbeddingOriginsInput!): Workspace!
+ updateWorkspaceIframeMediaPermissions(data: UpdateWorkspaceIframeMediaPermissionsInput!): Workspace!
updateWorkspaceMemberRole(roleId: UUID!, workspaceMemberId: UUID!): WorkspaceMember!
updateWorkspaceMemberSettings(input: UpdateWorkspaceMemberSettingsInput!): Boolean!
upgradeApplication(appRegistrationId: String!, targetVersion: String!): Boolean!
@@ -5447,11 +5454,17 @@ input UpdateWebhookInputUpdates {
targetUrl: String
}
-input UpdateWorkspaceAllowedIframeOriginsInput {
+input UpdateWorkspaceAllowedEmbeddingOriginsInput {
operation: String!
origin: String!
}
+input UpdateWorkspaceIframeMediaPermissionsInput {
+ camera: Boolean!
+ microphone: Boolean!
+ origin: String!
+}
+
input UpdateWorkspaceInput {
aiAdditionalInstructions: String
aiAgentModelTier: AiModelTier
@@ -6203,7 +6216,7 @@ type Workspace {
aiEvaluationModelId: String
aiModelIdByTier: JSON!
allowImpersonation: Boolean!
- allowedIframeOrigins: [String!]
+ allowedEmbeddingOrigins: [String!]
billingCustomer: BillingCustomer
billingEntitlements: [BillingEntitlement!]!
billingSubscriptions: [BillingSubscription!]!
@@ -6220,6 +6233,7 @@ type Workspace {
hasValidEnterpriseValidityToken: Boolean!
hasValidSignedEnterpriseKey: Boolean!
id: UUID!
+ iframeMediaPermissions: [IframeMediaPermission!]
installedApplications: [Application!]!
inviteHash: String
isAutoModelSelectionEnabled: Boolean!
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.ts b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
index 9a4db6a1eb5..679295f0f81 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
@@ -1735,6 +1735,13 @@ export interface IframeConfiguration {
__typename: 'IframeConfiguration'
}
+export interface IframeMediaPermission {
+ camera: Scalars['Boolean']
+ microphone: Scalars['Boolean']
+ origin: Scalars['String']
+ __typename: 'IframeMediaPermission'
+}
+
export interface ImapSmtpCaldavConnectionSuccess {
connectedAccountId: Scalars['String']
success: Scalars['Boolean']
@@ -2500,7 +2507,8 @@ export interface Mutation {
updateViewSort: ViewSort
updateWebhook: Webhook
updateWorkspace: Workspace
- updateWorkspaceAllowedIframeOrigins: Workspace
+ updateWorkspaceAllowedEmbeddingOrigins: Workspace
+ updateWorkspaceIframeMediaPermissions: Workspace
updateWorkspaceMemberRole: WorkspaceMember
updateWorkspaceMemberSettings: Scalars['Boolean']
upgradeApplication: Scalars['Boolean']
@@ -4073,7 +4081,7 @@ export interface Workspace {
aiEvaluationModelId?: Scalars['String']
aiModelIdByTier: Scalars['JSON']
allowImpersonation: Scalars['Boolean']
- allowedIframeOrigins?: Scalars['String'][]
+ allowedEmbeddingOrigins?: Scalars['String'][]
billingCustomer?: BillingCustomer
billingEntitlements: BillingEntitlement[]
billingSubscriptions: BillingSubscription[]
@@ -4090,6 +4098,7 @@ export interface Workspace {
hasValidEnterpriseValidityToken: Scalars['Boolean']
hasValidSignedEnterpriseKey: Scalars['Boolean']
id: Scalars['UUID']
+ iframeMediaPermissions?: IframeMediaPermission[]
installedApplications: Application[]
inviteHash?: Scalars['String']
isAutoModelSelectionEnabled: Scalars['Boolean']
@@ -6237,6 +6246,14 @@ export interface IframeConfigurationGenqlSelection{
__scalar?: boolean | number
}
+export interface IframeMediaPermissionGenqlSelection{
+ camera?: boolean | number
+ microphone?: boolean | number
+ origin?: boolean | number
+ __typename?: boolean | number
+ __scalar?: boolean | number
+}
+
export interface ImapSmtpCaldavConnectionSuccessGenqlSelection{
connectedAccountId?: boolean | number
success?: boolean | number
@@ -7017,7 +7034,8 @@ export interface MutationGenqlSelection{
updateViewSort?: (ViewSortGenqlSelection & { __args: {input: UpdateViewSortInput} })
updateWebhook?: (WebhookGenqlSelection & { __args: {input: UpdateWebhookInput} })
updateWorkspace?: (WorkspaceGenqlSelection & { __args: {data: UpdateWorkspaceInput} })
- updateWorkspaceAllowedIframeOrigins?: (WorkspaceGenqlSelection & { __args: {data: UpdateWorkspaceAllowedIframeOriginsInput} })
+ updateWorkspaceAllowedEmbeddingOrigins?: (WorkspaceGenqlSelection & { __args: {data: UpdateWorkspaceAllowedEmbeddingOriginsInput} })
+ updateWorkspaceIframeMediaPermissions?: (WorkspaceGenqlSelection & { __args: {data: UpdateWorkspaceIframeMediaPermissionsInput} })
updateWorkspaceMemberRole?: (WorkspaceMemberGenqlSelection & { __args: {roleId: Scalars['UUID'], workspaceMemberId: Scalars['UUID']} })
updateWorkspaceMemberSettings?: { __args: {input: UpdateWorkspaceMemberSettingsInput} }
upgradeApplication?: { __args: {appRegistrationId: Scalars['String'], targetVersion: Scalars['String']} }
@@ -8447,7 +8465,9 @@ update: UpdateWebhookInputUpdates}
export interface UpdateWebhookInputUpdates {description?: (Scalars['String'] | null),operations?: (Scalars['String'][] | null),roleId?: (Scalars['UUID'] | null),secret?: (Scalars['String'] | null),targetUrl?: (Scalars['String'] | null)}
-export interface UpdateWorkspaceAllowedIframeOriginsInput {operation: Scalars['String'],origin: Scalars['String']}
+export interface UpdateWorkspaceAllowedEmbeddingOriginsInput {operation: Scalars['String'],origin: Scalars['String']}
+
+export interface UpdateWorkspaceIframeMediaPermissionsInput {camera: Scalars['Boolean'],microphone: Scalars['Boolean'],origin: Scalars['String']}
export interface UpdateWorkspaceInput {aiAdditionalInstructions?: (Scalars['String'] | null),aiAgentModelTier?: (AiModelTier | null),aiChatModelTier?: (AiModelTier | null),aiEvaluationModelId?: (Scalars['String'] | null),aiModelIdByTier?: (Scalars['JSON'] | null),allowImpersonation?: (Scalars['Boolean'] | null),customDomain?: (Scalars['String'] | null),defaultRoleId?: (Scalars['UUID'] | null),displayName?: (Scalars['String'] | null),editableProfileFields?: (Scalars['String'][] | null),eventLogRetentionDays?: (Scalars['Float'] | null),inviteHash?: (Scalars['String'] | null),isAutoModelSelectionEnabled?: (Scalars['Boolean'] | null),isCampaignClickTrackingEnabled?: (Scalars['Boolean'] | null),isCampaignOpenTrackingEnabled?: (Scalars['Boolean'] | null),isGoogleAuthBypassEnabled?: (Scalars['Boolean'] | null),isGoogleAuthEnabled?: (Scalars['Boolean'] | null),isInternalMessagesImportEnabled?: (Scalars['Boolean'] | null),isMicrosoftAuthBypassEnabled?: (Scalars['Boolean'] | null),isMicrosoftAuthEnabled?: (Scalars['Boolean'] | null),isPasswordAuthBypassEnabled?: (Scalars['Boolean'] | null),isPasswordAuthEnabled?: (Scalars['Boolean'] | null),isPublicInviteLinkEnabled?: (Scalars['Boolean'] | null),isTwoFactorAuthenticationEnforced?: (Scalars['Boolean'] | null),logo?: (Scalars['String'] | null),subdomain?: (Scalars['String'] | null),trashRetentionDays?: (Scalars['Float'] | null),workspaceDiscoverability?: (WorkspaceDiscoverability | null)}
@@ -8995,7 +9015,7 @@ export interface WorkspaceGenqlSelection{
aiEvaluationModelId?: boolean | number
aiModelIdByTier?: boolean | number
allowImpersonation?: boolean | number
- allowedIframeOrigins?: boolean | number
+ allowedEmbeddingOrigins?: boolean | number
billingCustomer?: BillingCustomerGenqlSelection
billingEntitlements?: BillingEntitlementGenqlSelection
billingSubscriptions?: BillingSubscriptionGenqlSelection
@@ -9012,6 +9032,7 @@ export interface WorkspaceGenqlSelection{
hasValidEnterpriseValidityToken?: boolean | number
hasValidSignedEnterpriseKey?: boolean | number
id?: boolean | number
+ iframeMediaPermissions?: IframeMediaPermissionGenqlSelection
installedApplications?: ApplicationGenqlSelection
inviteHash?: boolean | number
isAutoModelSelectionEnabled?: boolean | number
@@ -10444,6 +10465,14 @@ export interface WorkspaceUrlsAndIdGenqlSelection{
+ const IframeMediaPermission_possibleTypes: string[] = ['IframeMediaPermission']
+ export const isIframeMediaPermission = (obj?: { __typename?: any } | null): obj is IframeMediaPermission => {
+ if (!obj?.__typename) throw new Error('__typename is missing in "isIframeMediaPermission"')
+ return IframeMediaPermission_possibleTypes.includes(obj.__typename)
+ }
+
+
+
const ImapSmtpCaldavConnectionSuccess_possibleTypes: string[] = ['ImapSmtpCaldavConnectionSuccess']
export const isImapSmtpCaldavConnectionSuccess = (obj?: { __typename?: any } | null): obj is ImapSmtpCaldavConnectionSuccess => {
if (!obj?.__typename) throw new Error('__typename is missing in "isImapSmtpCaldavConnectionSuccess"')
diff --git a/packages/twenty-client-sdk/src/metadata/generated/types.ts b/packages/twenty-client-sdk/src/metadata/generated/types.ts
index 25f1b924241..e6b52f3c078 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/types.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/types.ts
@@ -52,77 +52,77 @@ export default {
279,
294,
296,
- 307,
- 314,
+ 308,
315,
316,
- 328,
- 330,
- 346,
+ 317,
+ 329,
+ 331,
347,
348,
349,
350,
351,
- 353,
+ 352,
354,
355,
- 358,
+ 356,
359,
- 361,
+ 360,
362,
- 365,
- 367,
- 371,
- 375,
- 384,
- 391,
+ 363,
+ 366,
+ 368,
+ 372,
+ 376,
+ 385,
392,
393,
- 396,
- 400,
+ 394,
+ 397,
401,
- 406,
- 410,
- 433,
- 435,
+ 402,
+ 407,
+ 411,
+ 434,
436,
- 439,
- 445,
- 457,
- 459,
- 463,
- 468,
- 488,
- 500,
+ 437,
+ 440,
+ 446,
+ 458,
+ 460,
+ 464,
+ 469,
+ 489,
501,
- 503,
- 528,
- 530,
- 532,
- 595,
- 615,
- 622,
+ 502,
+ 504,
+ 529,
+ 531,
+ 533,
+ 597,
+ 617,
624,
- 628,
- 639,
- 645,
- 646,
+ 626,
+ 630,
+ 641,
+ 647,
648,
- 649,
+ 650,
651,
- 652,
653,
- 656,
- 657,
- 662,
+ 654,
+ 655,
+ 658,
+ 659,
664,
- 667,
- 672,
- 673,
+ 666,
+ 669,
674,
- 677,
- 678
+ 675,
+ 676,
+ 679,
+ 680
],
"types": {
"ActivateWorkspaceInput": {
@@ -139,7 +139,7 @@ export default {
1
],
"operationSignature": [
- 314
+ 315
],
"queryId": [
1
@@ -150,7 +150,7 @@ export default {
},
"Agent": {
"applicationId": [
- 528
+ 529
],
"createdAt": [
211
@@ -162,7 +162,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isActive": [
4
@@ -177,7 +177,7 @@ export default {
1
],
"modelConfiguration": [
- 314
+ 315
],
"modelId": [
1
@@ -189,13 +189,13 @@ export default {
1
],
"responseFormat": [
- 314
+ 315
],
"roleId": [
- 528
+ 529
],
"triggers": [
- 314
+ 315
],
"updatedAt": [
211
@@ -207,7 +207,7 @@ export default {
"Boolean": {},
"AgentChatChannel": {
"applicationId": [
- 528
+ 529
],
"color": [
1
@@ -216,7 +216,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isAccessible": [
4
@@ -231,7 +231,7 @@ export default {
6
],
"roleIds": [
- 528
+ 529
],
"__typename": [
1
@@ -247,7 +247,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"label": [
1
@@ -264,7 +264,7 @@ export default {
10
],
"channelId": [
- 528
+ 529
],
"doneCount": [
10
@@ -304,7 +304,7 @@ export default {
4
],
"threadIds": [
- 528
+ 529
],
"__typename": [
1
@@ -313,7 +313,7 @@ export default {
"AgentChatChannelThreadStatus": {},
"AgentChatEvent": {
"event": [
- 314
+ 315
],
"threadId": [
1
@@ -405,7 +405,7 @@ export default {
211
],
"id": [
- 528
+ 529
],
"isSubscribed": [
4
@@ -423,7 +423,7 @@ export default {
211
],
"threadId": [
- 528
+ 529
],
"updatedAt": [
211
@@ -434,7 +434,7 @@ export default {
},
"AgentIdInput": {
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -442,13 +442,13 @@ export default {
},
"AgentMessage": {
"agentId": [
- 528
+ 529
],
"createdAt": [
211
],
"id": [
- 528
+ 529
],
"parts": [
22
@@ -463,19 +463,19 @@ export default {
1
],
"senderUserWorkspaceId": [
- 528
+ 529
],
"senderWorkspaceMemberId": [
- 528
+ 529
],
"status": [
1
],
"threadId": [
- 528
+ 529
],
"turnId": [
- 528
+ 529
],
"__typename": [
1
@@ -492,7 +492,7 @@ export default {
1
],
"fileId": [
- 528
+ 529
],
"fileMediaType": [
1
@@ -501,10 +501,10 @@ export default {
1
],
"id": [
- 528
+ 529
],
"messageId": [
- 528
+ 529
],
"orderIndex": [
10
@@ -513,7 +513,7 @@ export default {
4
],
"providerMetadata": [
- 314
+ 315
],
"reasoningContent": [
1
@@ -549,13 +549,13 @@ export default {
1
],
"toolInput": [
- 314
+ 315
],
"toolName": [
1
],
"toolOutput": [
- 314
+ 315
],
"type": [
1
@@ -566,7 +566,7 @@ export default {
},
"AgentMessageReactionSummary": {
"agentIds": [
- 528
+ 529
],
"emoji": [
1
@@ -575,7 +575,7 @@ export default {
4
],
"workspaceMemberIds": [
- 528
+ 529
],
"__typename": [
1
@@ -601,7 +601,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"input": [
1
@@ -625,7 +625,7 @@ export default {
25
],
"threadId": [
- 528
+ 529
],
"threadTitle": [
1
@@ -640,13 +640,13 @@ export default {
"AgentTurnStatus": {},
"AggregateChartConfiguration": {
"aggregateFieldMetadataId": [
- 528
+ 529
],
"aggregateOperation": [
27
],
"configurationType": [
- 656
+ 658
],
"description": [
1
@@ -655,7 +655,7 @@ export default {
4
],
"filter": [
- 314
+ 315
],
"firstDayOfTheWeek": [
10
@@ -670,7 +670,7 @@ export default {
1
],
"ratioAggregateConfig": [
- 428
+ 429
],
"suffix": [
1
@@ -766,7 +766,7 @@ export default {
211
],
"id": [
- 528
+ 529
],
"name": [
1
@@ -775,7 +775,7 @@ export default {
211
],
"role": [
- 451
+ 452
],
"updatedAt": [
211
@@ -789,7 +789,7 @@ export default {
211
],
"id": [
- 528
+ 529
],
"name": [
1
@@ -864,7 +864,7 @@ export default {
42
],
"value": [
- 314
+ 315
],
"__typename": [
1
@@ -919,13 +919,13 @@ export default {
1
],
"personId": [
- 528
+ 529
],
"role": [
- 355
+ 356
],
"workspaceMemberId": [
- 528
+ 529
],
"__typename": [
1
@@ -939,7 +939,7 @@ export default {
75
],
"applicationRegistrationId": [
- 528
+ 529
],
"applicationVariables": [
78
@@ -948,7 +948,7 @@ export default {
4
],
"availablePackages": [
- 314
+ 315
],
"canBeUninstalled": [
4
@@ -960,7 +960,7 @@ export default {
211
],
"defaultLogicFunctionRole": [
- 451
+ 452
],
"defaultRoleId": [
1
@@ -972,19 +972,19 @@ export default {
286
],
"healthCheckLogicFunctionId": [
- 528
+ 529
],
"id": [
- 528
+ 529
],
"isUninstallBlockedByOtherWorkspaceInstallations": [
4
],
"logicFunctions": [
- 327
+ 328
],
"logoFileId": [
- 528
+ 529
],
"logoUrl": [
1
@@ -993,19 +993,19 @@ export default {
1
],
"objects": [
- 377
+ 378
],
"packageJsonChecksum": [
1
],
"packageJsonFileId": [
- 528
+ 529
],
"settingsCustomTabFrontComponentId": [
- 528
+ 529
],
"settingsMenuItems": [
- 487
+ 488
],
"universalIdentifier": [
1
@@ -1017,7 +1017,7 @@ export default {
1
],
"yarnLockFileId": [
- 528
+ 529
],
"__typename": [
1
@@ -1025,7 +1025,7 @@ export default {
},
"ApplicationAuthorization": {
"applicationId": [
- 528
+ 529
],
"applicationName": [
1
@@ -1037,7 +1037,7 @@ export default {
211
],
"id": [
- 528
+ 529
],
"lastAuthorizedAt": [
211
@@ -1049,7 +1049,7 @@ export default {
1
],
"workspaceId": [
- 528
+ 529
],
"__typename": [
1
@@ -1060,7 +1060,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -1068,7 +1068,7 @@ export default {
},
"ApplicationConnectedAccountDTO": {
"applicationId": [
- 528
+ 529
],
"archivedAt": [
211
@@ -1080,10 +1080,10 @@ export default {
1
],
"connectionParameters": [
- 424
+ 425
],
"connectionProviderId": [
- 528
+ 529
],
"createdAt": [
211
@@ -1095,7 +1095,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isOwnedByCurrentUser": [
4
@@ -1122,7 +1122,7 @@ export default {
211
],
"userWorkspaceId": [
- 528
+ 529
],
"visibility": [
1
@@ -1139,7 +1139,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"logoUrl": [
1
@@ -1182,7 +1182,7 @@ export default {
56
],
"manifest": [
- 314
+ 315
],
"__typename": [
1
@@ -1236,7 +1236,7 @@ export default {
},
"ApplicationFileCompletionError": {
"fileId": [
- 528
+ 529
],
"message": [
1
@@ -1284,7 +1284,7 @@ export default {
279
],
"fileId": [
- 528
+ 529
],
"filePath": [
1
@@ -1494,16 +1494,16 @@ export default {
},
"ApplicationPreferences": {
"applicationId": [
- 528
+ 529
],
"connectionProviders": [
50
],
"settingsMenuItems": [
- 487
+ 488
],
"variables": [
- 627
+ 629
],
"__typename": [
1
@@ -1517,7 +1517,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isConfigured": [
4
@@ -1547,7 +1547,7 @@ export default {
1
],
"ownerWorkspaceId": [
- 528
+ 529
],
"sourcePackage": [
1
@@ -1586,7 +1586,7 @@ export default {
6
],
"versionDistribution": [
- 637
+ 639
],
"__typename": [
1
@@ -1594,7 +1594,7 @@ export default {
},
"ApplicationRegistrationSummary": {
"id": [
- 528
+ 529
],
"latestAvailableVersion": [
1
@@ -1617,7 +1617,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isDeprecated": [
4
@@ -1635,7 +1635,7 @@ export default {
1
],
"options": [
- 314
+ 315
],
"type": [
1
@@ -1666,7 +1666,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isDeprecated": [
4
@@ -1684,7 +1684,7 @@ export default {
1
],
"options": [
- 314
+ 315
],
"scope": [
79
@@ -1708,7 +1708,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isValidated": [
4
@@ -1745,7 +1745,7 @@ export default {
4
],
"sso": [
- 467
+ 468
],
"__typename": [
1
@@ -1805,7 +1805,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"inviteHash": [
1
@@ -1820,10 +1820,10 @@ export default {
1
],
"sso": [
- 466
+ 467
],
"workspaceUrls": [
- 679
+ 681
],
"__typename": [
1
@@ -1854,7 +1854,7 @@ export default {
"AxisNameDisplay": {},
"BarChartConfiguration": {
"aggregateFieldMetadataId": [
- 528
+ 529
],
"aggregateOperation": [
27
@@ -1866,7 +1866,7 @@ export default {
1
],
"configurationType": [
- 656
+ 658
],
"description": [
1
@@ -1878,7 +1878,7 @@ export default {
4
],
"filter": [
- 314
+ 315
],
"firstDayOfTheWeek": [
10
@@ -1899,10 +1899,10 @@ export default {
4
],
"primaryAxisDateGranularity": [
- 391
+ 392
],
"primaryAxisGroupByFieldMetadataId": [
- 528
+ 529
],
"primaryAxisGroupBySubFieldName": [
1
@@ -1920,10 +1920,10 @@ export default {
6
],
"secondaryAxisGroupByDateGranularity": [
- 391
+ 392
],
"secondaryAxisGroupByFieldMetadataId": [
- 528
+ 529
],
"secondaryAxisGroupBySubFieldName": [
1
@@ -1946,10 +1946,10 @@ export default {
},
"BarChartData": {
"data": [
- 314
+ 315
],
"formattedToRawLookup": [
- 314
+ 315
],
"groupMode": [
95
@@ -1987,10 +1987,10 @@ export default {
},
"BarChartDataInput": {
"configuration": [
- 314
+ 315
],
"objectMetadataId": [
- 528
+ 529
],
"__typename": [
1
@@ -2032,10 +2032,10 @@ export default {
4
],
"id": [
- 528
+ 529
],
"userCreditsFallback": [
- 628
+ 630
],
"__typename": [
1
@@ -2055,7 +2055,7 @@ export default {
4
],
"status": [
- 501
+ 502
],
"__typename": [
1
@@ -2165,7 +2165,7 @@ export default {
125
],
"recurringInterval": [
- 500
+ 501
],
"stripePriceId": [
1
@@ -2182,7 +2182,7 @@ export default {
125
],
"recurringInterval": [
- 500
+ 501
],
"stripePriceId": [
1
@@ -2329,19 +2329,19 @@ export default {
4
],
"id": [
- 528
+ 529
],
"interval": [
- 500
+ 501
],
"metadata": [
- 314
+ 315
],
"phases": [
121
],
"status": [
- 501
+ 502
],
"__typename": [
1
@@ -2359,7 +2359,7 @@ export default {
4
],
"id": [
- 528
+ 529
],
"quantity": [
6
@@ -2435,7 +2435,7 @@ export default {
},
"CalendarChannel": {
"connectedAccountId": [
- 528
+ 529
],
"contactAutoCreationPolicy": [
128
@@ -2450,7 +2450,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isContactAutoCreationEnabled": [
4
@@ -2489,7 +2489,7 @@ export default {
"CalendarChannelVisibility": {},
"CalendarConfiguration": {
"configurationType": [
- 656
+ 658
],
"__typename": [
1
@@ -2497,7 +2497,7 @@ export default {
},
"CallRecordingSummaryConfiguration": {
"configurationType": [
- 656
+ 658
],
"__typename": [
1
@@ -2505,7 +2505,7 @@ export default {
},
"CallRecordingTranscriptConfiguration": {
"configurationType": [
- 656
+ 658
],
"__typename": [
1
@@ -2582,7 +2582,7 @@ export default {
"ChartNumberFormat": {},
"ChatConfiguration": {
"configurationType": [
- 656
+ 658
],
"__typename": [
1
@@ -2590,7 +2590,7 @@ export default {
},
"ChatStreamCatchupChunks": {
"chunks": [
- 314
+ 315
],
"error": [
144
@@ -2615,7 +2615,7 @@ export default {
},
"ChatThreadsConfiguration": {
"configurationType": [
- 656
+ 658
],
"__typename": [
1
@@ -2740,7 +2740,7 @@ export default {
6
],
"modelFamily": [
- 371
+ 372
],
"modelFamilyLabel": [
1
@@ -2749,7 +2749,7 @@ export default {
1
],
"nativeCapabilities": [
- 373
+ 374
],
"outputCostPerMillionTokens": [
6
@@ -2882,13 +2882,13 @@ export default {
152
],
"publicFeatureFlags": [
- 422
+ 423
],
"publicFunctionDomain": [
1
],
"sentry": [
- 485
+ 486
],
"serverUrl": [
1
@@ -2897,7 +2897,7 @@ export default {
4
],
"support": [
- 502
+ 503
],
"__typename": [
1
@@ -2930,10 +2930,10 @@ export default {
},
"CommandMenuItem": {
"applicationId": [
- 528
+ 529
],
"availabilityObjectMetadataId": [
- 528
+ 529
],
"availabilityType": [
155
@@ -2945,7 +2945,7 @@ export default {
1
],
"coreWorkflowVersionId": [
- 528
+ 529
],
"createdAt": [
211
@@ -2957,7 +2957,7 @@ export default {
286
],
"frontComponentId": [
- 528
+ 529
],
"hotKeys": [
1
@@ -2966,7 +2966,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isActive": [
4
@@ -2978,10 +2978,10 @@ export default {
1
],
"navigationTargetObjectMetadataId": [
- 528
+ 529
],
"pageLayoutId": [
- 528
+ 529
],
"payload": [
156
@@ -2993,13 +2993,13 @@ export default {
1
],
"universalIdentifier": [
- 528
+ 529
],
"updatedAt": [
211
],
"workflowVersionId": [
- 528
+ 529
],
"__typename": [
1
@@ -3008,10 +3008,10 @@ export default {
"CommandMenuItemAvailabilityType": {},
"CommandMenuItemPayload": {
"on_ObjectMetadataCommandMenuItemPayload": [
- 383
+ 384
],
"on_PathCommandMenuItemPayload": [
- 408
+ 409
],
"__typename": [
1
@@ -3030,7 +3030,7 @@ export default {
},
"ConnectedAccountPublicDTO": {
"applicationId": [
- 528
+ 529
],
"archivedAt": [
211
@@ -3042,10 +3042,10 @@ export default {
1
],
"connectionParameters": [
- 424
+ 425
],
"connectionProviderId": [
- 528
+ 529
],
"createdAt": [
211
@@ -3057,7 +3057,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"lastCredentialsRefreshedAt": [
211
@@ -3081,7 +3081,7 @@ export default {
211
],
"userWorkspaceId": [
- 528
+ 529
],
"visibility": [
1
@@ -3093,19 +3093,19 @@ export default {
"ConnectedAccountScope": {},
"ConnectedImapSmtpCaldavAccount": {
"connectionParameters": [
- 299
+ 300
],
"handle": [
1
],
"id": [
- 528
+ 529
],
"provider": [
1
],
"userWorkspaceId": [
- 528
+ 529
],
"__typename": [
1
@@ -3144,7 +3144,7 @@ export default {
1
],
"roleIds": [
- 528
+ 529
],
"__typename": [
1
@@ -3161,7 +3161,7 @@ export default {
1
],
"modelConfiguration": [
- 314
+ 315
],
"modelId": [
1
@@ -3173,13 +3173,13 @@ export default {
1
],
"responseFormat": [
- 314
+ 315
],
"roleId": [
- 528
+ 529
],
"triggers": [
- 314
+ 315
],
"__typename": [
1
@@ -3196,7 +3196,7 @@ export default {
1
],
"roleId": [
- 528
+ 529
],
"__typename": [
1
@@ -3204,7 +3204,7 @@ export default {
},
"CreateAppMessageChannelInput": {
"connectedAccountId": [
- 528
+ 529
],
"displayName": [
1
@@ -3213,13 +3213,13 @@ export default {
1
],
"messagingProviderUniversalIdentifier": [
- 528
+ 529
],
"participantHandleFieldUniversalIdentifier": [
- 528
+ 529
],
"visibility": [
- 351
+ 352
],
"__typename": [
1
@@ -3335,7 +3335,7 @@ export default {
},
"CreateCommandMenuItemInput": {
"availabilityObjectMetadataId": [
- 528
+ 529
],
"availabilityType": [
155
@@ -3347,13 +3347,13 @@ export default {
1
],
"coreWorkflowVersionId": [
- 528
+ 529
],
"engineComponentKey": [
245
],
"frontComponentId": [
- 528
+ 529
],
"hotKeys": [
1
@@ -3368,13 +3368,13 @@ export default {
1
],
"navigationTargetObjectMetadataId": [
- 528
+ 529
],
"pageLayoutId": [
- 528
+ 529
],
"payload": [
- 314
+ 315
],
"position": [
6
@@ -3383,7 +3383,7 @@ export default {
1
],
"workflowVersionId": [
- 528
+ 529
],
"__typename": [
1
@@ -3405,7 +3405,7 @@ export default {
1
],
"messageChannel": [
- 345
+ 346
],
"__typename": [
1
@@ -3421,7 +3421,7 @@ export default {
},
"CreateFieldInput": {
"defaultValue": [
- 314
+ 315
],
"description": [
1
@@ -3463,22 +3463,22 @@ export default {
1
],
"morphRelationsCreationPayload": [
- 314
+ 315
],
"name": [
1
],
"objectMetadataId": [
- 528
+ 529
],
"options": [
- 314
+ 315
],
"relationCreationPayload": [
- 314
+ 315
],
"settings": [
- 314
+ 315
],
"type": [
272
@@ -3501,7 +3501,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"name": [
1
@@ -3515,7 +3515,7 @@ export default {
},
"CreateIndexFieldInput": {
"fieldMetadataId": [
- 528
+ 529
],
"subFieldName": [
1
@@ -3529,10 +3529,10 @@ export default {
180
],
"indexType": [
- 307
+ 308
],
"objectMetadataId": [
- 528
+ 529
],
"__typename": [
1
@@ -3540,40 +3540,40 @@ export default {
},
"CreateLogicFunctionFromSourceInput": {
"cronTriggerSettings": [
- 314
+ 315
],
"databaseEventTriggerSettings": [
- 314
+ 315
],
"description": [
1
],
"httpRouteTriggerSettings": [
- 314
+ 315
],
"id": [
- 528
+ 529
],
"name": [
1
],
"serverRouteTriggerSettings": [
- 314
+ 315
],
"source": [
- 314
+ 315
],
"timeoutSeconds": [
6
],
"toolTriggerSettings": [
- 314
+ 315
],
"universalIdentifier": [
- 528
+ 529
],
"workflowActionTriggerSettings": [
- 314
+ 315
],
"__typename": [
1
@@ -3581,10 +3581,10 @@ export default {
},
"CreateMcpServerInput": {
"connectionProviderId": [
- 528
+ 529
],
"id": [
- 528
+ 529
],
"isActive": [
4
@@ -3607,7 +3607,7 @@ export default {
1
],
"unsubscribeTopicId": [
- 528
+ 529
],
"__typename": [
1
@@ -3615,19 +3615,19 @@ export default {
},
"CreateNavigationMenuItemInput": {
"agentChatChannelId": [
- 528
+ 529
],
"color": [
1
],
"folderId": [
- 528
+ 529
],
"icon": [
1
],
"id": [
- 528
+ 529
],
"link": [
1
@@ -3636,25 +3636,25 @@ export default {
1
],
"pageLayoutId": [
- 528
+ 529
],
"position": [
6
],
"targetObjectMetadataId": [
- 528
+ 529
],
"targetRecordId": [
- 528
+ 529
],
"type": [
- 375
+ 376
],
"userWorkspaceId": [
- 528
+ 529
],
"viewId": [
- 528
+ 529
],
"__typename": [
1
@@ -3692,7 +3692,7 @@ export default {
1
],
"primaryKeyFieldMetadataSettings": [
- 314
+ 315
],
"shortcut": [
1
@@ -3733,10 +3733,10 @@ export default {
1
],
"objectMetadataId": [
- 528
+ 529
],
"type": [
- 401
+ 402
],
"__typename": [
1
@@ -3744,10 +3744,10 @@ export default {
},
"CreatePageLayoutTabInput": {
"layoutMode": [
- 400
+ 401
],
"pageLayoutId": [
- 528
+ 529
],
"position": [
6
@@ -3761,22 +3761,22 @@ export default {
},
"CreatePageLayoutWidgetInput": {
"configuration": [
- 314
+ 315
],
"objectMetadataId": [
- 528
+ 529
],
"pageLayoutTabId": [
- 528
+ 529
],
"position": [
- 314
+ 315
],
"title": [
1
],
"type": [
- 657
+ 659
],
"__typename": [
1
@@ -3784,16 +3784,16 @@ export default {
},
"CreateRecordExportInput": {
"fieldMetadataIds": [
- 528
+ 529
],
"filter": [
- 314
+ 315
],
"objectMetadataId": [
- 528
+ 529
],
"orderBy": [
- 314
+ 315
],
"__typename": [
1
@@ -3801,16 +3801,16 @@ export default {
},
"CreateRelatedRecordPathInput": {
"firstFieldMetadataId": [
- 528
+ 529
],
"objectMetadataId": [
- 528
+ 529
],
"secondFieldMetadataId": [
- 528
+ 529
],
"thirdFieldMetadataId": [
- 528
+ 529
],
"__typename": [
1
@@ -3874,7 +3874,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"label": [
1
@@ -3894,7 +3894,7 @@ export default {
1
],
"visibility": [
- 532
+ 533
],
"__typename": [
1
@@ -3911,7 +3911,7 @@ export default {
98
],
"operationType": [
- 615
+ 617
],
"periodCount": [
10
@@ -3920,7 +3920,7 @@ export default {
1
],
"resourceType": [
- 622
+ 624
],
"spenderId": [
1
@@ -3929,7 +3929,7 @@ export default {
1
],
"unit": [
- 624
+ 626
],
"__typename": [
1
@@ -3940,7 +3940,7 @@ export default {
1
],
"errorFieldMetadataId": [
- 528
+ 529
],
"expression": [
1
@@ -3958,7 +3958,7 @@ export default {
1
],
"objectMetadataId": [
- 528
+ 529
],
"__typename": [
1
@@ -3966,7 +3966,7 @@ export default {
},
"CreateViewFieldGroupInput": {
"id": [
- 528
+ 529
],
"isVisible": [
4
@@ -3978,7 +3978,7 @@ export default {
6
],
"viewId": [
- 528
+ 529
],
"__typename": [
1
@@ -3989,10 +3989,10 @@ export default {
27
],
"fieldMetadataId": [
- 528
+ 529
],
"id": [
- 528
+ 529
],
"isVisible": [
4
@@ -4004,10 +4004,10 @@ export default {
6
],
"viewFieldGroupId": [
- 528
+ 529
],
"viewId": [
- 528
+ 529
],
"__typename": [
1
@@ -4015,19 +4015,19 @@ export default {
},
"CreateViewFilterGroupInput": {
"id": [
- 528
+ 529
],
"logicalOperator": [
- 645
+ 647
],
"parentViewFilterGroupId": [
- 528
+ 529
],
"positionInViewFilterGroup": [
6
],
"viewId": [
- 528
+ 529
],
"__typename": [
1
@@ -4035,31 +4035,31 @@ export default {
},
"CreateViewFilterInput": {
"fieldMetadataId": [
- 528
+ 529
],
"id": [
- 528
+ 529
],
"operand": [
- 646
+ 648
],
"positionInViewFilterGroup": [
6
],
"relationTargetFieldMetadataId": [
- 528
+ 529
],
"subFieldName": [
1
],
"value": [
- 314
+ 315
],
"viewFilterGroupId": [
- 528
+ 529
],
"viewId": [
- 528
+ 529
],
"__typename": [
1
@@ -4070,7 +4070,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isVisible": [
4
@@ -4079,7 +4079,7 @@ export default {
6
],
"viewId": [
- 528
+ 529
],
"__typename": [
1
@@ -4090,13 +4090,13 @@ export default {
1
],
"calendarEndFieldMetadataId": [
- 528
+ 529
],
"calendarFieldMetadataId": [
- 528
+ 529
],
"calendarLayout": [
- 639
+ 641
],
"groupLoadLimit": [
10
@@ -4105,7 +4105,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isCompact": [
4
@@ -4114,25 +4114,25 @@ export default {
27
],
"kanbanAggregateOperationFieldMetadataId": [
- 528
+ 529
],
"kanbanColumnWidth": [
10
],
"key": [
- 648
+ 650
],
"mainGroupByFieldMetadataId": [
- 528
+ 529
],
"name": [
1
],
"objectMetadataId": [
- 528
+ 529
],
"openRecordIn": [
- 649
+ 651
],
"position": [
6
@@ -4141,10 +4141,10 @@ export default {
4
],
"type": [
- 652
+ 654
],
"visibility": [
- 653
+ 655
],
"__typename": [
1
@@ -4152,19 +4152,19 @@ export default {
},
"CreateViewSortInput": {
"direction": [
- 651
+ 653
],
"fieldMetadataId": [
- 528
+ 529
],
"id": [
- 528
+ 529
],
"subFieldName": [
1
],
"viewId": [
- 528
+ 529
],
"__typename": [
1
@@ -4175,13 +4175,13 @@ export default {
1
],
"id": [
- 528
+ 529
],
"operations": [
1
],
"roleId": [
- 528
+ 529
],
"secret": [
1
@@ -4204,10 +4204,10 @@ export default {
1
],
"operation": [
- 615
+ 617
],
"resource": [
- 622
+ 624
],
"__typename": [
1
@@ -4234,7 +4234,7 @@ export default {
"DateTime": {},
"DeleteApprovedAccessDomainInput": {
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -4242,7 +4242,7 @@ export default {
},
"DeleteOneFieldInput": {
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -4250,7 +4250,7 @@ export default {
},
"DeleteOneIndexInput": {
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -4258,7 +4258,7 @@ export default {
},
"DeleteOneObjectInput": {
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -4266,7 +4266,7 @@ export default {
},
"DeleteSso": {
"identityProviderId": [
- 528
+ 529
],
"__typename": [
1
@@ -4274,7 +4274,7 @@ export default {
},
"DeleteSsoInput": {
"identityProviderId": [
- 528
+ 529
],
"__typename": [
1
@@ -4290,7 +4290,7 @@ export default {
},
"DeleteViewFieldGroupInput": {
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -4298,7 +4298,7 @@ export default {
},
"DeleteViewFieldInput": {
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -4306,7 +4306,7 @@ export default {
},
"DeleteViewFilterInput": {
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -4314,7 +4314,7 @@ export default {
},
"DeleteViewGroupInput": {
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -4322,7 +4322,7 @@ export default {
},
"DeleteViewSortInput": {
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -4333,7 +4333,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"name": [
289
@@ -4342,7 +4342,7 @@ export default {
1
],
"userWorkspaceId": [
- 528
+ 529
],
"__typename": [
1
@@ -4350,7 +4350,7 @@ export default {
},
"DestroyViewFieldGroupInput": {
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -4358,7 +4358,7 @@ export default {
},
"DestroyViewFieldInput": {
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -4366,7 +4366,7 @@ export default {
},
"DestroyViewFilterInput": {
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -4374,7 +4374,7 @@ export default {
},
"DestroyViewGroupInput": {
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -4382,7 +4382,7 @@ export default {
},
"DestroyViewSortInput": {
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -4424,7 +4424,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isCustomDomainEnabled": [
4
@@ -4441,10 +4441,10 @@ export default {
1
],
"id": [
- 528
+ 529
],
"pageLayoutId": [
- 528
+ 529
],
"position": [
6
@@ -4467,7 +4467,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"memberCount": [
6
@@ -4487,7 +4487,7 @@ export default {
},
"EditSso": {
"id": [
- 528
+ 529
],
"issuer": [
1
@@ -4496,7 +4496,7 @@ export default {
1
],
"status": [
- 468
+ 469
],
"type": [
296
@@ -4507,10 +4507,10 @@ export default {
},
"EditSsoInput": {
"id": [
- 528
+ 529
],
"status": [
- 468
+ 469
],
"__typename": [
1
@@ -4544,7 +4544,7 @@ export default {
},
"EmailThreadConfiguration": {
"configurationType": [
- 656
+ 658
],
"__typename": [
1
@@ -4558,7 +4558,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"status": [
242
@@ -4567,13 +4567,13 @@ export default {
243
],
"unsubscribeHostnameStatus": [
- 530
+ 531
],
"updatedAt": [
211
],
"verificationRecords": [
- 634
+ 636
],
"verifiedAt": [
211
@@ -4586,7 +4586,7 @@ export default {
"EmailingDomainTenantStatus": {},
"EmailsConfiguration": {
"configurationType": [
- 656
+ 658
],
"__typename": [
1
@@ -4604,7 +4604,7 @@ export default {
1
],
"payload": [
- 314
+ 315
],
"retryLimit": [
10
@@ -4618,7 +4618,7 @@ export default {
1
],
"payload": [
- 314
+ 315
],
"__typename": [
1
@@ -4649,7 +4649,7 @@ export default {
1
],
"payloads": [
- 314
+ 315
],
"retryLimit": [
10
@@ -4817,7 +4817,7 @@ export default {
1
],
"properties": [
- 314
+ 315
],
"recordId": [
1
@@ -4838,13 +4838,13 @@ export default {
1
],
"metadataEvents": [
- 360
+ 361
],
"objectRecordEventsWithQueryIds": [
- 390
+ 391
],
"queueJobEvents": [
- 317
+ 318
],
"__typename": [
1
@@ -4852,10 +4852,10 @@ export default {
},
"ExecuteOneLogicFunctionInput": {
"id": [
- 528
+ 529
],
"payload": [
- 314
+ 315
],
"__typename": [
1
@@ -4875,13 +4875,13 @@ export default {
"FeatureFlagKey": {},
"Field": {
"applicationId": [
- 528
+ 529
],
"createdAt": [
211
],
"defaultValue": [
- 314
+ 315
],
"description": [
1
@@ -4893,7 +4893,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isActive": [
4
@@ -4926,28 +4926,28 @@ export default {
1
],
"morphId": [
- 528
+ 529
],
"morphRelations": [
- 444
+ 445
],
"name": [
1
],
"object": [
- 377
+ 378
],
"objectMetadataId": [
- 528
+ 529
],
"options": [
- 314
+ 315
],
"relation": [
- 444
+ 445
],
"settings": [
- 314
+ 315
],
"type": [
272
@@ -4959,7 +4959,7 @@ export default {
211
],
"writability": [
- 367
+ 368
],
"__typename": [
1
@@ -4967,7 +4967,7 @@ export default {
},
"FieldConfiguration": {
"configurationType": [
- 656
+ 658
],
"fieldDisplayMode": [
269
@@ -4993,7 +4993,7 @@ export default {
270
],
"pageInfo": [
- 397
+ 398
],
"__typename": [
1
@@ -5016,7 +5016,7 @@ export default {
271
],
"id": [
- 529
+ 530
],
"isActive": [
126
@@ -5031,7 +5031,7 @@ export default {
126
],
"objectMetadataId": [
- 529
+ 530
],
"or": [
271
@@ -5049,16 +5049,16 @@ export default {
4
],
"fieldMetadataId": [
- 528
+ 529
],
"id": [
- 528
+ 529
],
"objectMetadataId": [
- 528
+ 529
],
"roleId": [
- 528
+ 529
],
"__typename": [
1
@@ -5072,10 +5072,10 @@ export default {
4
],
"fieldMetadataId": [
- 528
+ 529
],
"objectMetadataId": [
- 528
+ 529
],
"__typename": [
1
@@ -5083,7 +5083,7 @@ export default {
},
"FieldRichTextConfiguration": {
"configurationType": [
- 656
+ 658
],
"__typename": [
1
@@ -5091,7 +5091,7 @@ export default {
},
"FieldsConfiguration": {
"configurationType": [
- 656
+ 658
],
"newFieldDefaultVisibility": [
4
@@ -5111,7 +5111,7 @@ export default {
211
],
"id": [
- 528
+ 529
],
"path": [
1
@@ -5128,7 +5128,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -5143,7 +5143,7 @@ export default {
211
],
"fileId": [
- 528
+ 529
],
"uploadUrl": [
1
@@ -5157,7 +5157,7 @@ export default {
211
],
"id": [
- 528
+ 529
],
"path": [
1
@@ -5174,7 +5174,7 @@ export default {
},
"FilesConfiguration": {
"configurationType": [
- 656
+ 658
],
"__typename": [
1
@@ -5182,7 +5182,7 @@ export default {
},
"FindAvailableSSOIDP": {
"id": [
- 528
+ 529
],
"issuer": [
1
@@ -5191,13 +5191,13 @@ export default {
1
],
"status": [
- 468
+ 469
],
"type": [
296
],
"workspace": [
- 676
+ 678
],
"__typename": [
1
@@ -5211,13 +5211,13 @@ export default {
10
],
"reason": [
- 358
+ 359
],
"searchTerm": [
1
],
"unsubscribeTopicId": [
- 528
+ 529
],
"__typename": [
1
@@ -5225,7 +5225,7 @@ export default {
},
"FormFieldConfiguration": {
"configurationType": [
- 656
+ 658
],
"fieldMetadataId": [
1
@@ -5239,7 +5239,7 @@ export default {
1
],
"applicationId": [
- 528
+ 529
],
"applicationName": [
1
@@ -5248,7 +5248,7 @@ export default {
77
],
"applicationVariables": [
- 314
+ 315
],
"builtComponentChecksum": [
1
@@ -5269,7 +5269,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isHeadless": [
4
@@ -5281,7 +5281,7 @@ export default {
1
],
"universalIdentifier": [
- 528
+ 529
],
"updatedAt": [
211
@@ -5298,13 +5298,13 @@ export default {
},
"FrontComponentConfiguration": {
"configurationType": [
- 656
+ 658
],
"frontComponentId": [
- 528
+ 529
],
"headerCommandMenuItemUniversalIdentifiers": [
- 528
+ 529
],
"__typename": [
1
@@ -5312,10 +5312,10 @@ export default {
},
"FrontComponentWidgetAvailability": {
"objectMetadataId": [
- 528
+ 529
],
"pageLayoutType": [
- 401
+ 402
],
"__typename": [
1
@@ -5334,7 +5334,7 @@ export default {
},
"GetApiKeyInput": {
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -5345,7 +5345,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"type": [
1
@@ -5356,7 +5356,7 @@ export default {
},
"GetAuthorizationUrlForSSOInput": {
"identityProviderId": [
- 528
+ 529
],
"workspaceInviteHash": [
1
@@ -5367,7 +5367,7 @@ export default {
},
"GrantApplicationCapabilitiesInput": {
"applicationId": [
- 528
+ 529
],
"capabilities": [
1
@@ -5397,7 +5397,7 @@ export default {
"IdentityProviderType": {},
"IframeConfiguration": {
"configurationType": [
- 656
+ 658
],
"url": [
1
@@ -5406,6 +5406,20 @@ export default {
1
]
},
+ "IframeMediaPermission": {
+ "camera": [
+ 4
+ ],
+ "microphone": [
+ 4
+ ],
+ "origin": [
+ 1
+ ],
+ "__typename": [
+ 1
+ ]
+ },
"ImapSmtpCaldavConnectionSuccess": {
"connectedAccountId": [
1
@@ -5419,13 +5433,13 @@ export default {
},
"ImapSmtpCaldavPublicConnectionParameters": {
"CALDAV": [
- 300
+ 301
],
"IMAP": [
- 300
+ 301
],
"SMTP": [
- 300
+ 301
],
"name": [
1
@@ -5456,7 +5470,7 @@ export default {
83
],
"workspace": [
- 680
+ 682
],
"__typename": [
1
@@ -5467,10 +5481,10 @@ export default {
1
],
"recordId": [
- 528
+ 529
],
"threadId": [
- 528
+ 529
],
"__typename": [
1
@@ -5478,19 +5492,19 @@ export default {
},
"Index": {
"applicationId": [
- 528
+ 529
],
"createdAt": [
211
],
"id": [
- 528
+ 529
],
"indexFieldMetadataList": [
- 305
+ 306
],
"indexType": [
- 307
+ 308
],
"indexWhereClause": [
1
@@ -5519,7 +5533,7 @@ export default {
161
],
"node": [
- 303
+ 304
],
"__typename": [
1
@@ -5530,10 +5544,10 @@ export default {
211
],
"fieldMetadataId": [
- 528
+ 529
],
"id": [
- 528
+ 529
],
"order": [
6
@@ -5550,16 +5564,16 @@ export default {
},
"IndexFilter": {
"and": [
- 306
+ 307
],
"id": [
- 529
+ 530
],
"isCustom": [
126
],
"or": [
- 306
+ 307
],
"__typename": [
1
@@ -5568,7 +5582,7 @@ export default {
"IndexType": {},
"IngestAppMessagesInput": {
"messageChannelId": [
- 528
+ 529
],
"messages": [
44
@@ -5579,7 +5593,7 @@ export default {
},
"IngestAppMessagesOutput": {
"messages": [
- 310
+ 311
],
"__typename": [
1
@@ -5590,10 +5604,10 @@ export default {
1
],
"messageId": [
- 528
+ 529
],
"messageThreadId": [
- 528
+ 529
],
"__typename": [
1
@@ -5652,7 +5666,7 @@ export default {
6
],
"state": [
- 316
+ 317
],
"__typename": [
1
@@ -5660,7 +5674,7 @@ export default {
},
"LineChartConfiguration": {
"aggregateFieldMetadataId": [
- 528
+ 529
],
"aggregateOperation": [
27
@@ -5672,7 +5686,7 @@ export default {
1
],
"configurationType": [
- 656
+ 658
],
"description": [
1
@@ -5684,7 +5698,7 @@ export default {
4
],
"filter": [
- 314
+ 315
],
"firstDayOfTheWeek": [
10
@@ -5702,10 +5716,10 @@ export default {
4
],
"primaryAxisDateGranularity": [
- 391
+ 392
],
"primaryAxisGroupByFieldMetadataId": [
- 528
+ 529
],
"primaryAxisGroupBySubFieldName": [
1
@@ -5723,10 +5737,10 @@ export default {
6
],
"secondaryAxisGroupByDateGranularity": [
- 391
+ 392
],
"secondaryAxisGroupByFieldMetadataId": [
- 528
+ 529
],
"secondaryAxisGroupBySubFieldName": [
1
@@ -5749,13 +5763,13 @@ export default {
},
"LineChartData": {
"formattedToRawLookup": [
- 314
+ 315
],
"hasTooManyGroups": [
4
],
"series": [
- 322
+ 323
],
"showDataLabels": [
4
@@ -5775,10 +5789,10 @@ export default {
},
"LineChartDataInput": {
"configuration": [
- 314
+ 315
],
"objectMetadataId": [
- 528
+ 529
],
"__typename": [
1
@@ -5797,7 +5811,7 @@ export default {
},
"LineChartSeries": {
"data": [
- 321
+ 322
],
"key": [
1
@@ -5828,7 +5842,7 @@ export default {
},
"ListAppMessageChannelsInput": {
"connectedAccountId": [
- 528
+ 529
],
"__typename": [
1
@@ -5836,7 +5850,7 @@ export default {
},
"ListAppMessageFoldersInput": {
"messageChannelId": [
- 528
+ 529
],
"__typename": [
1
@@ -5855,7 +5869,7 @@ export default {
},
"LogicFunction": {
"applicationId": [
- 528
+ 529
],
"canRunOnDemand": [
4
@@ -5864,25 +5878,25 @@ export default {
211
],
"cronTriggerSettings": [
- 314
+ 315
],
"databaseEventTriggerSettings": [
- 314
+ 315
],
"description": [
1
],
"executionMode": [
- 328
+ 329
],
"handlerName": [
1
],
"httpRouteTriggerSettings": [
- 314
+ 315
],
"id": [
- 528
+ 529
],
"name": [
1
@@ -5897,16 +5911,16 @@ export default {
6
],
"toolTriggerSettings": [
- 314
+ 315
],
"universalIdentifier": [
- 528
+ 529
],
"updatedAt": [
211
],
"workflowActionTriggerSettings": [
- 314
+ 315
],
"__typename": [
1
@@ -5915,19 +5929,19 @@ export default {
"LogicFunctionExecutionMode": {},
"LogicFunctionExecutionResult": {
"data": [
- 314
+ 315
],
"duration": [
6
],
"error": [
- 314
+ 315
],
"logs": [
1
],
"status": [
- 330
+ 331
],
"__typename": [
1
@@ -5950,7 +5964,7 @@ export default {
1
],
"universalIdentifier": [
- 528
+ 529
],
"__typename": [
1
@@ -5958,19 +5972,19 @@ export default {
},
"LogicFunctionLogsInput": {
"applicationId": [
- 528
+ 529
],
"applicationUniversalIdentifier": [
- 528
+ 529
],
"id": [
- 528
+ 529
],
"name": [
1
],
"universalIdentifier": [
- 528
+ 529
],
"__typename": [
1
@@ -6057,13 +6071,13 @@ export default {
1
],
"manifest": [
- 314
+ 315
],
"name": [
1
],
"objects": [
- 337
+ 338
],
"pricingDescription": [
1
@@ -6072,7 +6086,7 @@ export default {
1
],
"roles": [
- 338
+ 339
],
"screenshots": [
1
@@ -6133,7 +6147,7 @@ export default {
1
],
"fieldPermissions": [
- 339
+ 340
],
"icon": [
1
@@ -6142,7 +6156,7 @@ export default {
1
],
"objectPermissions": [
- 340
+ 341
],
"permissionFlagUniversalIdentifiers": [
1
@@ -6199,16 +6213,16 @@ export default {
},
"McpServer": {
"applicationId": [
- 528
+ 529
],
"connectionProviderId": [
- 528
+ 529
],
"createdAt": [
211
],
"id": [
- 528
+ 529
],
"isActive": [
4
@@ -6231,7 +6245,7 @@ export default {
},
"MessageCampaignBodyConfiguration": {
"configurationType": [
- 656
+ 658
],
"__typename": [
1
@@ -6239,7 +6253,7 @@ export default {
},
"MessageCampaignDetailsConfiguration": {
"configurationType": [
- 656
+ 658
],
"__typename": [
1
@@ -6261,10 +6275,10 @@ export default {
158
],
"connectedAccountId": [
- 528
+ 529
],
"contactAutoCreationPolicy": [
- 346
+ 347
],
"createdAt": [
211
@@ -6282,7 +6296,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"importProgress": [
10
@@ -6294,25 +6308,25 @@ export default {
4
],
"messageFolderImportPolicy": [
- 353
+ 354
],
"messagingProviderUniversalIdentifier": [
- 528
+ 529
],
"participantHandleFieldUniversalIdentifier": [
- 528
+ 529
],
"pendingGroupEmailsAction": [
- 347
+ 348
],
"syncStage": [
- 348
+ 349
],
"syncStageStartedAt": [
211
],
"syncStatus": [
- 349
+ 350
],
"syncedAt": [
211
@@ -6324,13 +6338,13 @@ export default {
211
],
"type": [
- 350
+ 351
],
"updatedAt": [
211
],
"visibility": [
- 351
+ 352
],
"__typename": [
1
@@ -6350,7 +6364,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isSentFolder": [
4
@@ -6359,7 +6373,7 @@ export default {
4
],
"messageChannelId": [
- 528
+ 529
],
"name": [
1
@@ -6368,7 +6382,7 @@ export default {
1
],
"pendingSyncAction": [
- 354
+ 355
],
"updatedAt": [
211
@@ -6388,16 +6402,16 @@ export default {
1
],
"id": [
- 528
+ 529
],
"reason": [
- 358
+ 359
],
"source": [
- 359
+ 360
],
"unsubscribeTopicId": [
- 528
+ 529
],
"__typename": [
1
@@ -6405,7 +6419,7 @@ export default {
},
"MessageSuppressionList": {
"records": [
- 356
+ 357
],
"totalCount": [
10
@@ -6421,13 +6435,13 @@ export default {
1
],
"properties": [
- 389
+ 390
],
"recordId": [
1
],
"type": [
- 361
+ 362
],
"updatedCollectionHash": [
1
@@ -6449,16 +6463,16 @@ export default {
1
],
"objectMetadataId": [
- 528
+ 529
],
"property": [
1
],
"provenance": [
- 365
+ 366
],
"recordId": [
- 528
+ 529
],
"sourceValue": [
1
@@ -6487,13 +6501,13 @@ export default {
"MetadataTranslationProvenance": {},
"MetadataTranslationsInput": {
"fieldMetadataId": [
- 528
+ 529
],
"locale": [
1
],
"objectMetadataId": [
- 528
+ 529
],
"__typename": [
1
@@ -6505,10 +6519,10 @@ export default {
153
],
"objectMetadataItems": [
- 369
+ 370
],
"views": [
- 370
+ 371
],
"__typename": [
1
@@ -6522,7 +6536,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isActive": [
4
@@ -6551,16 +6565,16 @@ export default {
},
"MinimalView": {
"id": [
- 528
+ 529
],
"key": [
- 648
+ 650
],
"objectMetadataId": [
- 528
+ 529
],
"type": [
- 652
+ 654
],
"__typename": [
1
@@ -6569,16 +6583,16 @@ export default {
"ModelFamily": {},
"Mutation": {
"activateSkill": [
- 494,
+ 495,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
],
"activateWorkspace": [
- 661,
+ 663,
{
"data": [
0,
@@ -6594,7 +6608,7 @@ export default {
"String!"
],
"messageId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -6612,10 +6626,10 @@ export default {
4,
{
"assigneeWorkspaceMemberId": [
- 528
+ 529
],
"threadId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -6624,11 +6638,11 @@ export default {
4,
{
"agentId": [
- 528,
+ 529,
"UUID!"
],
"roleId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -6637,11 +6651,11 @@ export default {
4,
{
"apiKeyId": [
- 528,
+ 529,
"UUID!"
],
"roleId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -6650,7 +6664,7 @@ export default {
4,
{
"input": [
- 302,
+ 303,
"InboxThreadRecordInput!"
]
}
@@ -6718,7 +6732,7 @@ export default {
"BillingPlanKey!"
],
"recurringInterval": [
- 500,
+ 501,
"SubscriptionInterval!"
],
"requirePaymentMethod": [
@@ -6743,7 +6757,7 @@ export default {
72,
{
"fileId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -6756,13 +6770,13 @@ export default {
"String!"
],
"fileIds": [
- 528,
+ 529,
"[UUID!]!"
]
}
],
"completeBookCallOnboardingStep": [
- 395,
+ 396,
{
"hasBookedCall": [
4,
@@ -6833,7 +6847,7 @@ export default {
}
],
"createAppMessageChannel": [
- 345,
+ 346,
{
"input": [
167,
@@ -6888,7 +6902,7 @@ export default {
17,
{
"channelId": [
- 528
+ 529
]
}
],
@@ -6965,7 +6979,7 @@ export default {
}
],
"createManyNavigationMenuItems": [
- 374,
+ 375,
{
"inputs": [
185,
@@ -6974,7 +6988,7 @@ export default {
}
],
"createManyViewFieldGroups": [
- 642,
+ 644,
{
"inputs": [
200,
@@ -6983,7 +6997,7 @@ export default {
}
],
"createManyViewFields": [
- 641,
+ 643,
{
"inputs": [
201,
@@ -6992,7 +7006,7 @@ export default {
}
],
"createManyViewGroups": [
- 647,
+ 649,
{
"inputs": [
204,
@@ -7001,7 +7015,7 @@ export default {
}
],
"createMcpServer": [
- 341,
+ 342,
{
"input": [
183,
@@ -7010,7 +7024,7 @@ export default {
}
],
"createMessageSuppression": [
- 356,
+ 357,
{
"input": [
184,
@@ -7019,7 +7033,7 @@ export default {
}
],
"createNavigationMenuItem": [
- 374,
+ 375,
{
"input": [
185,
@@ -7045,10 +7059,10 @@ export default {
}
],
"createOIDCIdentityProvider": [
- 491,
+ 492,
{
"input": [
- 489,
+ 490,
"SetupOIDCSsoInput!"
]
}
@@ -7061,14 +7075,14 @@ export default {
"String!"
],
"objectMetadataId": [
- 528,
+ 529,
"UUID!"
],
"properties": [
- 314
+ 315
],
"recordId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -7092,7 +7106,7 @@ export default {
}
],
"createOneIndex": [
- 303,
+ 304,
{
"input": [
188,
@@ -7101,7 +7115,7 @@ export default {
}
],
"createOneLogicFunction": [
- 327,
+ 328,
{
"input": [
182,
@@ -7110,7 +7124,7 @@ export default {
}
],
"createOneObject": [
- 377,
+ 378,
{
"input": [
189,
@@ -7119,7 +7133,7 @@ export default {
}
],
"createOneRole": [
- 451,
+ 452,
{
"createRoleInput": [
195,
@@ -7128,7 +7142,7 @@ export default {
}
],
"createPageLayout": [
- 398,
+ 399,
{
"input": [
190,
@@ -7137,7 +7151,7 @@ export default {
}
],
"createPageLayoutTab": [
- 399,
+ 400,
{
"input": [
191,
@@ -7146,7 +7160,7 @@ export default {
}
],
"createPageLayoutWidget": [
- 402,
+ 403,
{
"input": [
192,
@@ -7155,7 +7169,7 @@ export default {
}
],
"createPublicDomain": [
- 421,
+ 422,
{
"applicationId": [
1,
@@ -7168,7 +7182,7 @@ export default {
}
],
"createRelatedRecordPath": [
- 443,
+ 444,
{
"input": [
194,
@@ -7177,16 +7191,16 @@ export default {
}
],
"createSAMLIdentityProvider": [
- 491,
+ 492,
{
"input": [
- 490,
+ 491,
"SetupSAMLSsoInput!"
]
}
],
"createSkill": [
- 494,
+ 495,
{
"input": [
196,
@@ -7206,7 +7220,7 @@ export default {
"BillingPlanKey!"
],
"recurringInterval": [
- 500,
+ 501,
"SubscriptionInterval!"
],
"requirePaymentMethod": [
@@ -7219,7 +7233,7 @@ export default {
}
],
"createUnsubscribeTopic": [
- 531,
+ 532,
{
"input": [
197,
@@ -7228,7 +7242,7 @@ export default {
}
],
"createUsageLimit": [
- 613,
+ 615,
{
"input": [
198,
@@ -7237,7 +7251,7 @@ export default {
}
],
"createValidationRule": [
- 633,
+ 635,
{
"input": [
199,
@@ -7246,7 +7260,7 @@ export default {
}
],
"createView": [
- 638,
+ 640,
{
"input": [
205,
@@ -7255,7 +7269,7 @@ export default {
}
],
"createViewField": [
- 641,
+ 643,
{
"input": [
201,
@@ -7264,7 +7278,7 @@ export default {
}
],
"createViewFieldGroup": [
- 642,
+ 644,
{
"input": [
200,
@@ -7273,7 +7287,7 @@ export default {
}
],
"createViewFilter": [
- 643,
+ 645,
{
"input": [
203,
@@ -7282,7 +7296,7 @@ export default {
}
],
"createViewFilterGroup": [
- 644,
+ 646,
{
"input": [
202,
@@ -7291,7 +7305,7 @@ export default {
}
],
"createViewGroup": [
- 647,
+ 649,
{
"input": [
204,
@@ -7300,7 +7314,7 @@ export default {
}
],
"createViewSort": [
- 650,
+ 652,
{
"input": [
206,
@@ -7309,7 +7323,7 @@ export default {
}
],
"createWebhook": [
- 654,
+ 656,
{
"input": [
207,
@@ -7318,10 +7332,10 @@ export default {
}
],
"deactivateSkill": [
- 494,
+ 495,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
@@ -7330,11 +7344,11 @@ export default {
4,
{
"channelId": [
- 528,
+ 529,
"UUID!"
],
"destinationChannelId": [
- 528
+ 529
]
}
],
@@ -7351,10 +7365,10 @@ export default {
}
],
"deleteAppMessageChannel": [
- 345,
+ 346,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
@@ -7381,7 +7395,7 @@ export default {
154,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
@@ -7390,19 +7404,19 @@ export default {
158,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
],
"deleteCurrentWorkspace": [
- 661
+ 663
],
"deleteEmailGroupChannel": [
- 345,
+ 346,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
@@ -7420,25 +7434,25 @@ export default {
286,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
],
"deleteManyNavigationMenuItems": [
- 374,
+ 375,
{
"ids": [
- 528,
+ 529,
"[UUID!]!"
]
}
],
"deleteMcpServer": [
- 341,
+ 342,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
@@ -7447,16 +7461,16 @@ export default {
4,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
],
"deleteNavigationMenuItem": [
- 374,
+ 375,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
@@ -7480,7 +7494,7 @@ export default {
}
],
"deleteOneIndex": [
- 303,
+ 304,
{
"input": [
214,
@@ -7489,16 +7503,16 @@ export default {
}
],
"deleteOneLogicFunction": [
- 327,
+ 328,
{
"input": [
- 331,
+ 332,
"LogicFunctionIdInput!"
]
}
],
"deleteOneObject": [
- 377,
+ 378,
{
"input": [
215,
@@ -7510,7 +7524,7 @@ export default {
1,
{
"roleId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -7528,16 +7542,16 @@ export default {
4,
{
"messageId": [
- 528,
+ 529,
"UUID!"
]
}
],
"deleteRelatedRecordPath": [
- 443,
+ 444,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
@@ -7552,10 +7566,10 @@ export default {
}
],
"deleteSkill": [
- 494,
+ 495,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
@@ -7564,7 +7578,7 @@ export default {
218,
{
"twoFactorAuthenticationMethodId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -7582,16 +7596,16 @@ export default {
4,
{
"usageLimitId": [
- 528,
+ 529,
"UUID!"
]
}
],
"deleteUser": [
- 626
+ 628
],
"deleteUserFromWorkspace": [
- 630,
+ 632,
{
"workspaceMemberIdToDelete": [
1,
@@ -7600,10 +7614,10 @@ export default {
}
],
"deleteValidationRule": [
- 633,
+ 635,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
@@ -7618,7 +7632,7 @@ export default {
}
],
"deleteViewField": [
- 641,
+ 643,
{
"input": [
220,
@@ -7627,7 +7641,7 @@ export default {
}
],
"deleteViewFieldGroup": [
- 642,
+ 644,
{
"input": [
219,
@@ -7636,7 +7650,7 @@ export default {
}
],
"deleteViewFilter": [
- 643,
+ 645,
{
"input": [
221,
@@ -7654,7 +7668,7 @@ export default {
}
],
"deleteViewGroup": [
- 647,
+ 649,
{
"input": [
222,
@@ -7672,10 +7686,10 @@ export default {
}
],
"deleteWebhook": [
- 654,
+ 656,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
@@ -7726,7 +7740,7 @@ export default {
}
],
"destroyViewField": [
- 641,
+ 643,
{
"input": [
226,
@@ -7735,7 +7749,7 @@ export default {
}
],
"destroyViewFieldGroup": [
- 642,
+ 644,
{
"input": [
225,
@@ -7744,7 +7758,7 @@ export default {
}
],
"destroyViewFilter": [
- 643,
+ 645,
{
"input": [
227,
@@ -7762,7 +7776,7 @@ export default {
}
],
"destroyViewGroup": [
- 647,
+ 649,
{
"input": [
228,
@@ -7783,7 +7797,7 @@ export default {
4,
{
"input": [
- 302,
+ 303,
"InboxThreadRecordInput!"
]
}
@@ -7792,7 +7806,7 @@ export default {
158,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
@@ -7801,7 +7815,7 @@ export default {
233,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
@@ -7810,7 +7824,7 @@ export default {
234,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
@@ -7835,7 +7849,7 @@ export default {
"String!"
],
"workspaceId": [
- 528
+ 529
]
}
],
@@ -7861,10 +7875,10 @@ export default {
}
],
"enrichWorkspaceCompany": [
- 665
+ 667
],
"executeOneLogicFunction": [
- 329,
+ 330,
{
"input": [
263,
@@ -7876,7 +7890,7 @@ export default {
39,
{
"apiKeyId": [
- 528,
+ 529,
"UUID!"
],
"expiresAt": [
@@ -7889,7 +7903,7 @@ export default {
77,
{
"applicationId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -7898,16 +7912,16 @@ export default {
83
],
"generateTransientToken": [
- 511
+ 512
],
"generateTwoFactorAuthenticationRecoveryCode": [
- 525,
+ 526,
{
"otp": [
1
],
"userId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -7955,7 +7969,7 @@ export default {
}
],
"getAuthTokensFromTwoFactorAuthenticationRecoveryCode": [
- 526,
+ 527,
{
"captchaToken": [
1
@@ -7984,7 +7998,7 @@ export default {
}
],
"getLoginTokenFromCredentials": [
- 334,
+ 335,
{
"captchaToken": [
1
@@ -8010,7 +8024,7 @@ export default {
}
],
"goBackToPreviousOnboardingStep": [
- 394
+ 395
],
"grantApplicationCapabilities": [
48,
@@ -8022,29 +8036,29 @@ export default {
}
],
"impersonate": [
- 301,
+ 302,
{
"userId": [
- 528,
+ 529,
"UUID!"
],
"workspaceId": [
- 528,
+ 529,
"UUID!"
]
}
],
"ingestAppMessages": [
- 309,
+ 310,
{
"input": [
- 308,
+ 309,
"IngestAppMessagesInput!"
]
}
],
"initiateOTPProvisioning": [
- 311,
+ 312,
{
"loginToken": [
1,
@@ -8057,7 +8071,7 @@ export default {
}
],
"initiateOTPProvisioningForAuthenticatedUser": [
- 311
+ 312
],
"installApplication": [
46,
@@ -8087,7 +8101,7 @@ export default {
4,
{
"threadId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -8096,10 +8110,10 @@ export default {
4,
{
"channelId": [
- 528
+ 529
],
"threadId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -8118,7 +8132,7 @@ export default {
"String!"
],
"messageId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -8127,20 +8141,20 @@ export default {
4,
{
"input": [
- 446,
+ 447,
"RemoveQueryFromEventStreamInput!"
]
}
],
"removeRecordShare": [
- 437,
+ 438,
{
"principal": [
- 434,
+ 435,
"RecordSharePrincipalInput!"
],
"target": [
- 442,
+ 443,
"RecordTargetInput!"
]
}
@@ -8149,7 +8163,7 @@ export default {
4,
{
"agentId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -8176,7 +8190,7 @@ export default {
4,
{
"threadId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -8185,13 +8199,13 @@ export default {
4,
{
"input": [
- 447,
+ 448,
"ReportAppConnectionAuthFailureInput!"
]
}
],
"resendEmailVerificationToken": [
- 448,
+ 449,
{
"email": [
1,
@@ -8204,7 +8218,7 @@ export default {
}
],
"resendWorkspaceInvitation": [
- 481,
+ 482,
{
"appTokenId": [
1,
@@ -8216,13 +8230,13 @@ export default {
154,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
],
"resetPageLayoutTabToDefault": [
- 399,
+ 400,
{
"id": [
1,
@@ -8231,7 +8245,7 @@ export default {
}
],
"resetPageLayoutToDefault": [
- 398,
+ 399,
{
"id": [
1,
@@ -8240,7 +8254,7 @@ export default {
}
],
"resetPageLayoutWidgetToDefault": [
- 402,
+ 403,
{
"id": [
1,
@@ -8249,22 +8263,22 @@ export default {
}
],
"resetTimelineActivityType": [
- 506,
+ 507,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
],
"retryChatMessage": [
- 473,
+ 474,
{
"modelId": [
1
],
"threadId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -8276,7 +8290,7 @@ export default {
37,
{
"input": [
- 449,
+ 450,
"RevokeApiKeyInput!"
]
}
@@ -8285,7 +8299,7 @@ export default {
4,
{
"applicationAuthorizationId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -8294,7 +8308,7 @@ export default {
4,
{
"userId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -8303,13 +8317,13 @@ export default {
4,
{
"userSessionId": [
- 528,
+ 529,
"UUID!"
]
}
],
"rotateApplicationRegistrationClientSecret": [
- 453,
+ 454,
{
"id": [
1,
@@ -8318,10 +8332,10 @@ export default {
}
],
"runAgent": [
- 464,
+ 465,
{
"input": [
- 460,
+ 461,
"RunAgentInput!"
]
}
@@ -8330,13 +8344,13 @@ export default {
62,
{
"applicationId": [
- 528,
+ 529,
"UUID!"
]
}
],
"saveImapSmtpCaldavAccount": [
- 298,
+ 299,
{
"connectionParameters": [
237,
@@ -8347,38 +8361,38 @@ export default {
"String!"
],
"id": [
- 528
+ 529
]
}
],
"sendAppChannelMessage": [
- 472,
+ 473,
{
"input": [
- 471,
+ 472,
"SendAppChannelMessageInput!"
]
}
],
"sendChatMessage": [
- 473,
+ 474,
{
"browsingContext": [
- 314
+ 315
],
"channelId": [
- 528
+ 529
],
"fileAttachments": [
278,
"[FileAttachmentInput!]"
],
"mentionedWorkspaceMemberIds": [
- 528,
+ 529,
"[UUID!]"
],
"messageId": [
- 528,
+ 529,
"UUID!"
],
"modelId": [
@@ -8392,55 +8406,55 @@ export default {
"String!"
],
"threadId": [
- 528,
+ 529,
"UUID!"
]
}
],
"sendEmail": [
- 476,
+ 477,
{
"input": [
- 475,
+ 476,
"SendEmailInput!"
]
}
],
"sendInboxMessage": [
- 480,
+ 481,
{
"input": [
- 479,
+ 480,
"SendInboxMessageInput!"
]
}
],
"sendInvitations": [
- 481,
+ 482,
{
"emails": [
1,
"[String!]!"
],
"roleId": [
- 528
+ 529
]
}
],
"sendMessageCampaign": [
- 483,
+ 484,
{
"input": [
- 482,
+ 483,
"SendMessageCampaignInput!"
]
}
],
"sendMessageCampaignTest": [
- 478,
+ 479,
{
"input": [
- 484,
+ 485,
"SendMessageCampaignTestInput!"
]
}
@@ -8449,7 +8463,7 @@ export default {
41,
{
"input": [
- 486,
+ 487,
"SetAppKeyValueInput!"
]
}
@@ -8464,31 +8478,31 @@ export default {
}
],
"setRecordGeneralAccess": [
- 437,
+ 438,
{
"accessLevel": [
- 433,
+ 434,
"RecordShareAccessLevel!"
],
"target": [
- 442,
+ 443,
"RecordTargetInput!"
]
}
],
"setRecordShare": [
- 437,
+ 438,
{
"accessLevel": [
- 433,
+ 434,
"RecordShareAccessLevel!"
],
"principal": [
- 434,
+ 435,
"RecordSharePrincipalInput!"
],
"target": [
- 442,
+ 443,
"RecordTargetInput!"
]
}
@@ -8555,15 +8569,15 @@ export default {
}
],
"signUpInNewWorkspace": [
- 492,
+ 493,
{
"input": [
- 493
+ 494
]
}
],
"signUpInWorkspace": [
- 492,
+ 493,
{
"captchaToken": [
1
@@ -8583,7 +8597,7 @@ export default {
1
],
"workspaceId": [
- 528
+ 529
],
"workspaceInviteHash": [
1
@@ -8594,7 +8608,7 @@ export default {
}
],
"skipSyncEmailOnboardingStep": [
- 395,
+ 396,
{
"isAutoSkipped": [
4,
@@ -8610,7 +8624,7 @@ export default {
"DateTime!"
],
"threadId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -8619,19 +8633,19 @@ export default {
140,
{
"connectedAccountId": [
- 528,
+ 529,
"UUID!"
]
}
],
"startWorkspaceSetupChat": [
- 496,
+ 497,
{
"companyContext": [
- 314
+ 315
],
"personContext": [
- 314
+ 315
]
}
],
@@ -8639,13 +8653,13 @@ export default {
4,
{
"threadId": [
- 528,
+ 529,
"UUID!"
]
}
],
"stopImpersonation": [
- 497
+ 498
],
"switchBillingPlan": [
124,
@@ -8659,16 +8673,16 @@ export default {
124
],
"syncAppMessageFolders": [
- 352,
+ 353,
{
"input": [
- 504,
+ 505,
"SyncAppMessageFoldersInput!"
]
}
],
"syncApplication": [
- 675,
+ 677,
{
"dryRun": [
4
@@ -8677,7 +8691,7 @@ export default {
4
],
"manifest": [
- 314,
+ 315,
"JSON!"
]
}
@@ -8695,7 +8709,7 @@ export default {
1
],
"properties": [
- 314
+ 315
],
"type": [
35,
@@ -8717,55 +8731,55 @@ export default {
}
],
"triggerAddPeopleToMessageListJob": [
- 513,
+ 514,
{
"input": [
- 512,
+ 513,
"TriggerAddPeopleToMessageListJobInput!"
]
}
],
"triggerInstallApplication": [
- 517,
+ 518,
{
"input": [
- 514,
+ 515,
"TriggerInstallApplicationInput!"
]
}
],
"triggerInstallApplicationJob": [
- 516,
+ 517,
{
"input": [
- 515,
+ 516,
"TriggerInstallApplicationJobInput!"
]
}
],
"triggerUninstallApplication": [
- 521,
+ 522,
{
"input": [
- 518,
+ 519,
"TriggerUninstallApplicationInput!"
]
}
],
"triggerUninstallApplicationJob": [
- 520,
+ 521,
{
"input": [
- 519,
+ 520,
"TriggerUninstallApplicationJobInput!"
]
}
],
"triggerUpgradeApplication": [
- 523,
+ 524,
{
"input": [
- 522,
+ 523,
"TriggerUpgradeApplicationInput!"
]
}
@@ -8783,11 +8797,11 @@ export default {
5,
{
"channelId": [
- 528,
+ 529,
"UUID!"
],
"input": [
- 533,
+ 534,
"UpdateAgentChatChannelInput!"
]
}
@@ -8803,7 +8817,7 @@ export default {
211
],
"threadIds": [
- 528,
+ 529,
"[UUID!]!"
]
}
@@ -8812,16 +8826,16 @@ export default {
37,
{
"input": [
- 535,
+ 536,
"UpdateApiKeyInput!"
]
}
],
"updateAppMessageChannel": [
- 345,
+ 346,
{
"input": [
- 536,
+ 537,
"UpdateAppMessageChannelInput!"
]
}
@@ -8830,11 +8844,11 @@ export default {
46,
{
"id": [
- 528,
+ 529,
"UUID!"
],
"input": [
- 537,
+ 538,
"UpdateApplicationInput!"
]
}
@@ -8843,7 +8857,7 @@ export default {
72,
{
"input": [
- 538,
+ 539,
"UpdateApplicationRegistrationInput!"
]
}
@@ -8852,7 +8866,7 @@ export default {
76,
{
"input": [
- 540,
+ 541,
"UpdateApplicationRegistrationVariableInput!"
]
}
@@ -8861,7 +8875,7 @@ export default {
127,
{
"input": [
- 542,
+ 543,
"UpdateCalendarChannelInput!"
]
}
@@ -8870,16 +8884,16 @@ export default {
154,
{
"input": [
- 544,
+ 545,
"UpdateCommandMenuItemInput!"
]
}
],
"updateEmailGroupChannel": [
- 345,
+ 346,
{
"input": [
- 545,
+ 546,
"UpdateEmailGroupChannelInput!"
]
}
@@ -8888,7 +8902,7 @@ export default {
286,
{
"input": [
- 547,
+ 548,
"UpdateFrontComponentInput!"
]
}
@@ -8897,70 +8911,70 @@ export default {
264,
{
"input": [
- 549,
+ 550,
"UpdateLabPublicFeatureFlagInput!"
]
}
],
"updateManyNavigationMenuItems": [
- 374,
+ 375,
{
"inputs": [
- 562,
+ 563,
"[UpdateOneNavigationMenuItemInput!]!"
]
}
],
"updateManyObjects": [
- 377,
+ 378,
{
"inputs": [
- 563,
+ 564,
"[UpdateOneObjectInput!]!"
]
}
],
"updateManyViewGroups": [
- 647,
+ 649,
{
"inputs": [
- 585,
+ 586,
"[UpdateViewGroupInput!]!"
]
}
],
"updateMcpServer": [
- 341,
+ 342,
{
"input": [
- 552,
+ 553,
"UpdateMcpServerInput!"
]
}
],
"updateMessageChannel": [
- 345,
+ 346,
{
"input": [
- 554,
+ 555,
"UpdateMessageChannelInput!"
]
}
],
"updateMessageFolder": [
- 352,
+ 353,
{
"input": [
- 556,
+ 557,
"UpdateMessageFolderInput!"
]
}
],
"updateMessageFolders": [
- 352,
+ 353,
{
"input": [
- 558,
+ 559,
"UpdateMessageFoldersInput!"
]
}
@@ -8983,10 +8997,10 @@ export default {
}
],
"updateNavigationMenuItem": [
- 374,
+ 375,
{
"input": [
- 562,
+ 563,
"UpdateOneNavigationMenuItemInput!"
]
}
@@ -8995,7 +9009,7 @@ export default {
3,
{
"input": [
- 534,
+ 535,
"UpdateAgentInput!"
]
}
@@ -9004,7 +9018,7 @@ export default {
4,
{
"applicationId": [
- 528
+ 529
],
"key": [
1,
@@ -9020,7 +9034,7 @@ export default {
266,
{
"input": [
- 561,
+ 562,
"UpdateOneFieldMetadataInput!"
]
}
@@ -9029,83 +9043,83 @@ export default {
4,
{
"input": [
- 550,
+ 551,
"UpdateLogicFunctionFromSourceInput!"
]
}
],
"updateOneObject": [
- 377,
+ 378,
{
"input": [
- 563,
+ 564,
"UpdateOneObjectInput!"
]
}
],
"updateOneRole": [
- 451,
+ 452,
{
"updateRoleInput": [
- 570,
+ 571,
"UpdateRoleInput!"
]
}
],
"updatePageLayout": [
- 398,
+ 399,
{
"id": [
1,
"String!"
],
"input": [
- 564,
+ 565,
"UpdatePageLayoutInput!"
]
}
],
"updatePageLayoutTab": [
- 399,
+ 400,
{
"id": [
1,
"String!"
],
"input": [
- 565,
+ 566,
"UpdatePageLayoutTabInput!"
]
}
],
"updatePageLayoutWidget": [
- 402,
+ 403,
{
"id": [
1,
"String!"
],
"input": [
- 567,
+ 568,
"UpdatePageLayoutWidgetInput!"
]
}
],
"updatePageLayoutWithTabsAndWidgets": [
- 398,
+ 399,
{
"id": [
1,
"String!"
],
"input": [
- 569,
+ 570,
"UpdatePageLayoutWithTabsInput!"
]
}
],
"updatePasswordViaResetToken": [
- 312,
+ 313,
{
"newPassword": [
1,
@@ -9118,37 +9132,37 @@ export default {
}
],
"updateSkill": [
- 494,
+ 495,
{
"input": [
- 572,
+ 573,
"UpdateSkillInput!"
]
}
],
"updateTimelineActivityType": [
- 506,
+ 507,
{
"input": [
- 573,
+ 574,
"UpdateTimelineActivityTypeInput!"
]
}
],
"updateUnsubscribeTopic": [
- 531,
+ 532,
{
"input": [
- 574,
+ 575,
"UpdateUnsubscribeTopicInput!"
]
}
],
"updateUsageLimit": [
- 613,
+ 615,
{
"input": [
- 575,
+ 576,
"UpdateUsageLimitInput!"
]
}
@@ -9157,7 +9171,7 @@ export default {
100,
{
"userCreditsFallback": [
- 628,
+ 630,
"UserCreditsFallback!"
]
}
@@ -9175,121 +9189,130 @@ export default {
}
],
"updateValidationRule": [
- 633,
+ 635,
{
"input": [
- 576,
+ 577,
"UpdateValidationRuleInput!"
]
}
],
"updateView": [
- 638,
+ 640,
{
"id": [
1,
"String!"
],
"input": [
- 587,
+ 588,
"UpdateViewInput!"
]
}
],
"updateViewField": [
- 641,
+ 643,
{
"input": [
- 580,
+ 581,
"UpdateViewFieldInput!"
]
}
],
"updateViewFieldGroup": [
- 642,
+ 644,
{
"input": [
- 578,
+ 579,
"UpdateViewFieldGroupInput!"
]
}
],
"updateViewFilter": [
- 643,
+ 645,
{
"input": [
- 583,
+ 584,
"UpdateViewFilterInput!"
]
}
],
"updateViewFilterGroup": [
- 644,
+ 646,
{
"id": [
1,
"String!"
],
"input": [
- 582,
+ 583,
"UpdateViewFilterGroupInput!"
]
}
],
"updateViewGroup": [
- 647,
+ 649,
{
"input": [
- 585,
+ 586,
"UpdateViewGroupInput!"
]
}
],
"updateViewSort": [
- 650,
+ 652,
{
"input": [
- 588,
+ 589,
"UpdateViewSortInput!"
]
}
],
"updateWebhook": [
- 654,
+ 656,
{
"input": [
- 590,
+ 591,
"UpdateWebhookInput!"
]
}
],
"updateWorkspace": [
- 661,
+ 663,
{
"data": [
- 593,
+ 595,
"UpdateWorkspaceInput!"
]
}
],
- "updateWorkspaceAllowedIframeOrigins": [
- 661,
+ "updateWorkspaceAllowedEmbeddingOrigins": [
+ 663,
+ {
+ "data": [
+ 593,
+ "UpdateWorkspaceAllowedEmbeddingOriginsInput!"
+ ]
+ }
+ ],
+ "updateWorkspaceIframeMediaPermissions": [
+ 663,
{
"data": [
- 592,
- "UpdateWorkspaceAllowedIframeOriginsInput!"
+ 594,
+ "UpdateWorkspaceIframeMediaPermissionsInput!"
]
}
],
"updateWorkspaceMemberRole": [
- 670,
+ 672,
{
"roleId": [
- 528,
+ 529,
"UUID!"
],
"workspaceMemberId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -9298,7 +9321,7 @@ export default {
4,
{
"input": [
- 594,
+ 596,
"UpdateWorkspaceMemberSettingsInput!"
]
}
@@ -9320,7 +9343,7 @@ export default {
72,
{
"file": [
- 595,
+ 597,
"Upload!"
],
"universalIdentifier": [
@@ -9336,7 +9359,7 @@ export default {
"String!"
],
"file": [
- 595,
+ 597,
"Upload!"
],
"fileFolder": [
@@ -9357,7 +9380,7 @@ export default {
"String!"
],
"file": [
- 595,
+ 597,
"Upload!"
]
}
@@ -9366,7 +9389,7 @@ export default {
281,
{
"file": [
- 595,
+ 597,
"Upload!"
],
"workspaceId": [
@@ -9379,7 +9402,7 @@ export default {
281,
{
"file": [
- 595,
+ 597,
"Upload!"
]
}
@@ -9388,7 +9411,7 @@ export default {
281,
{
"file": [
- 595,
+ 597,
"Upload!"
]
}
@@ -9397,52 +9420,52 @@ export default {
273,
{
"upsertFieldPermissionsInput": [
- 596,
+ 598,
"UpsertFieldPermissionsInput!"
]
}
],
"upsertFieldsWidget": [
- 638,
+ 640,
{
"input": [
- 599,
+ 601,
"UpsertFieldsWidgetInput!"
]
}
],
"upsertObjectPermissions": [
- 385,
+ 386,
{
"upsertObjectPermissionsInput": [
- 600,
+ 602,
"UpsertObjectPermissionsInput!"
]
}
],
"upsertPermissionFlags": [
- 452,
+ 453,
{
"upsertPermissionFlagsInput": [
- 601,
+ 603,
"UpsertPermissionFlagsInput!"
]
}
],
"upsertRowLevelPermissionPredicates": [
- 603,
+ 605,
{
"input": [
- 602,
+ 604,
"UpsertRowLevelPermissionPredicatesInput!"
]
}
],
"upsertViewWidget": [
- 638,
+ 640,
{
"input": [
- 604,
+ 606,
"UpsertViewWidgetInput!"
]
}
@@ -9451,13 +9474,13 @@ export default {
80,
{
"input": [
- 631,
+ 633,
"ValidateApprovedAccessDomainInput!"
]
}
],
"verifyEmailAndGetLoginToken": [
- 635,
+ 637,
{
"captchaToken": [
1
@@ -9502,7 +9525,7 @@ export default {
}
],
"verifyTwoFactorAuthenticationMethodForAuthenticatedUser": [
- 636,
+ 638,
{
"otp": [
1,
@@ -9527,10 +9550,10 @@ export default {
},
"NavigationMenuItem": {
"agentChatChannelId": [
- 528
+ 529
],
"applicationId": [
- 528
+ 529
],
"color": [
1
@@ -9539,13 +9562,13 @@ export default {
211
],
"folderId": [
- 528
+ 529
],
"icon": [
1
],
"id": [
- 528
+ 529
],
"link": [
1
@@ -9554,31 +9577,31 @@ export default {
1
],
"pageLayoutId": [
- 528
+ 529
],
"position": [
6
],
"targetObjectMetadataId": [
- 528
+ 529
],
"targetRecordId": [
- 528
+ 529
],
"targetRecordIdentifier": [
- 430
+ 431
],
"type": [
- 375
+ 376
],
"updatedAt": [
211
],
"userWorkspaceId": [
- 528
+ 529
],
"viewId": [
- 528
+ 529
],
"__typename": [
1
@@ -9587,7 +9610,7 @@ export default {
"NavigationMenuItemType": {},
"NotesConfiguration": {
"configurationType": [
- 656
+ 658
],
"__typename": [
1
@@ -9595,7 +9618,7 @@ export default {
},
"Object": {
"applicationId": [
- 528
+ 529
],
"color": [
1
@@ -9613,7 +9636,7 @@ export default {
1
],
"fields": [
- 380,
+ 381,
{
"filter": [
271,
@@ -9632,19 +9655,19 @@ export default {
1
],
"id": [
- 528
+ 529
],
"imageIdentifierFieldMetadataId": [
- 528
+ 529
],
"indexMetadataList": [
- 303
+ 304
],
"indexMetadatas": [
- 382,
+ 383,
{
"filter": [
- 306,
+ 307,
"IndexFilter!"
],
"paging": [
@@ -9681,7 +9704,7 @@ export default {
4
],
"labelIdentifierFieldMetadataId": [
- 528
+ 529
],
"labelPlural": [
1
@@ -9696,19 +9719,19 @@ export default {
1
],
"openRecordIn": [
- 384
+ 385
],
"readability": [
- 362
+ 363
],
"readabilityParentFieldUniversalIdentifiers": [
- 528
+ 529
],
"searchFieldMetadataList": [
- 470
+ 471
],
"sharingReach": [
- 392
+ 393
],
"shortcut": [
1
@@ -9720,7 +9743,7 @@ export default {
211
],
"writability": [
- 367
+ 368
],
"__typename": [
1
@@ -9728,10 +9751,10 @@ export default {
},
"ObjectConnection": {
"edges": [
- 379
+ 380
],
"pageInfo": [
- 397
+ 398
],
"__typename": [
1
@@ -9742,7 +9765,7 @@ export default {
161
],
"node": [
- 377
+ 378
],
"__typename": [
1
@@ -9753,7 +9776,7 @@ export default {
270
],
"pageInfo": [
- 397
+ 398
],
"__typename": [
1
@@ -9761,10 +9784,10 @@ export default {
},
"ObjectFilter": {
"and": [
- 381
+ 382
],
"id": [
- 529
+ 530
],
"isActive": [
126
@@ -9788,10 +9811,10 @@ export default {
126
],
"or": [
- 381
+ 382
],
"universalIdentifier": [
- 529
+ 530
],
"__typename": [
1
@@ -9799,10 +9822,10 @@ export default {
},
"ObjectIndexMetadatasConnection": {
"edges": [
- 304
+ 305
],
"pageInfo": [
- 397
+ 398
],
"__typename": [
1
@@ -9810,7 +9833,7 @@ export default {
},
"ObjectMetadataCommandMenuItemPayload": {
"objectMetadataItemId": [
- 528
+ 529
],
"__typename": [
1
@@ -9831,16 +9854,16 @@ export default {
4
],
"objectMetadataId": [
- 528
+ 529
],
"restrictedFields": [
- 314
+ 315
],
"rowLevelPermissionPredicateGroups": [
- 455
+ 456
],
"rowLevelPermissionPredicates": [
- 454
+ 455
],
"__typename": [
1
@@ -9860,7 +9883,7 @@ export default {
4
],
"objectMetadataId": [
- 528
+ 529
],
"__typename": [
1
@@ -9885,7 +9908,7 @@ export default {
1
],
"properties": [
- 389
+ 390
],
"recordId": [
1
@@ -9902,13 +9925,13 @@ export default {
},
"ObjectRecordEventProperties": {
"after": [
- 314
+ 315
],
"before": [
- 314
+ 315
],
"diff": [
- 314
+ 315
],
"updatedFields": [
1
@@ -9919,7 +9942,7 @@ export default {
},
"ObjectRecordEventWithQueryIds": {
"objectRecordEvent": [
- 388
+ 389
],
"queryIds": [
1
@@ -9933,10 +9956,10 @@ export default {
"OnboardingStatus": {},
"OnboardingStepNavigation": {
"onboardingStatus": [
- 393
+ 394
],
"previousOnboardingStatus": [
- 393
+ 394
],
"__typename": [
1
@@ -9970,19 +9993,19 @@ export default {
},
"PageLayout": {
"applicationId": [
- 528
+ 529
],
"createdAt": [
211
],
"defaultTabToFocusOnMobileAndSidePanelId": [
- 528
+ 529
],
"deletedAt": [
211
],
"id": [
- 528
+ 529
],
"isFirstTabPinned": [
4
@@ -9994,16 +10017,16 @@ export default {
1
],
"objectMetadataId": [
- 528
+ 529
],
"tabs": [
- 399
+ 400
],
"type": [
- 401
+ 402
],
"universalIdentifier": [
- 528
+ 529
],
"updatedAt": [
211
@@ -10014,7 +10037,7 @@ export default {
},
"PageLayoutTab": {
"applicationId": [
- 528
+ 529
],
"createdAt": [
211
@@ -10026,7 +10049,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isActive": [
4
@@ -10038,10 +10061,10 @@ export default {
4
],
"layoutMode": [
- 400
+ 401
],
"pageLayoutId": [
- 528
+ 529
],
"position": [
6
@@ -10050,13 +10073,13 @@ export default {
1
],
"universalIdentifier": [
- 528
+ 529
],
"updatedAt": [
211
],
"widgets": [
- 402
+ 403
],
"__typename": [
1
@@ -10066,16 +10089,16 @@ export default {
"PageLayoutType": {},
"PageLayoutWidget": {
"applicationId": [
- 528
+ 529
],
"conditionalAvailabilityExpression": [
1
],
"conditionalDisplay": [
- 314
+ 315
],
"configuration": [
- 655
+ 657
],
"createdAt": [
211
@@ -10087,7 +10110,7 @@ export default {
295
],
"id": [
- 528
+ 529
],
"isActive": [
4
@@ -10099,22 +10122,22 @@ export default {
4
],
"objectMetadataId": [
- 528
+ 529
],
"pageLayoutTabId": [
- 528
+ 529
],
"position": [
- 405
+ 406
],
"title": [
1
],
"type": [
- 657
+ 659
],
"universalIdentifier": [
- 528
+ 529
],
"updatedAt": [
211
@@ -10125,7 +10148,7 @@ export default {
},
"PageLayoutWidgetCanvasPosition": {
"layoutMode": [
- 400
+ 401
],
"__typename": [
1
@@ -10139,7 +10162,7 @@ export default {
10
],
"layoutMode": [
- 400
+ 401
],
"row": [
10
@@ -10153,13 +10176,13 @@ export default {
},
"PageLayoutWidgetPosition": {
"on_PageLayoutWidgetCanvasPosition": [
- 403
+ 404
],
"on_PageLayoutWidgetGridPosition": [
- 404
+ 405
],
"on_PageLayoutWidgetVerticalListPosition": [
- 407
+ 408
],
"__typename": [
1
@@ -10168,13 +10191,13 @@ export default {
"PageLayoutWidgetVerticalListHeightBehavior": {},
"PageLayoutWidgetVerticalListPosition": {
"heightBehavior": [
- 406
+ 407
],
"index": [
10
],
"layoutMode": [
- 400
+ 401
],
"__typename": [
1
@@ -10190,7 +10213,7 @@ export default {
},
"PermissionFlag": {
"applicationId": [
- 528
+ 529
],
"createdAt": [
211
@@ -10202,7 +10225,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"key": [
1
@@ -10214,7 +10237,7 @@ export default {
1
],
"universalIdentifier": [
- 528
+ 529
],
"updatedAt": [
211
@@ -10226,7 +10249,7 @@ export default {
"PermissionFlagType": {},
"PieChartConfiguration": {
"aggregateFieldMetadataId": [
- 528
+ 529
],
"aggregateOperation": [
27
@@ -10235,10 +10258,10 @@ export default {
1
],
"configurationType": [
- 656
+ 658
],
"dateGranularity": [
- 391
+ 392
],
"description": [
1
@@ -10250,13 +10273,13 @@ export default {
4
],
"filter": [
- 314
+ 315
],
"firstDayOfTheWeek": [
10
],
"groupByFieldMetadataId": [
- 528
+ 529
],
"groupBySubFieldName": [
1
@@ -10288,10 +10311,10 @@ export default {
},
"PieChartData": {
"data": [
- 414
+ 415
],
"formattedToRawLookup": [
- 314
+ 315
],
"hasTooManyGroups": [
4
@@ -10311,10 +10334,10 @@ export default {
},
"PieChartDataInput": {
"configuration": [
- 314
+ 315
],
"objectMetadataId": [
- 528
+ 529
],
"__typename": [
1
@@ -10339,7 +10362,7 @@ export default {
1
],
"location": [
- 326
+ 327
],
"postcode": [
1
@@ -10381,7 +10404,7 @@ export default {
135
],
"blockers": [
- 344
+ 345
],
"__typename": [
1
@@ -10389,7 +10412,7 @@ export default {
},
"PublicApplicationRegistration": {
"id": [
- 528
+ 529
],
"logoUrl": [
1
@@ -10426,7 +10449,7 @@ export default {
},
"PublicDomain": {
"applicationId": [
- 528
+ 529
],
"createdAt": [
211
@@ -10435,7 +10458,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isValidated": [
4
@@ -10449,7 +10472,7 @@ export default {
265
],
"metadata": [
- 423
+ 424
],
"__typename": [
1
@@ -10474,13 +10497,13 @@ export default {
},
"PublicImapSmtpCaldavConnectionParameters": {
"CALDAV": [
- 420
+ 421
],
"IMAP": [
- 420
+ 421
],
"SMTP": [
- 420
+ 421
],
"__typename": [
1
@@ -10497,13 +10520,13 @@ export default {
1
],
"id": [
- 528
+ 529
],
"logo": [
1
],
"workspaceUrls": [
- 679
+ 681
],
"__typename": [
1
@@ -10514,7 +10537,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"logo": [
1
@@ -10540,7 +10563,7 @@ export default {
7
],
"channelId": [
- 528,
+ 529,
"UUID!"
],
"filter": [
@@ -10564,7 +10587,7 @@ export default {
24,
{
"agentId": [
- 528,
+ 529,
"UUID!"
],
"limit": [
@@ -10604,7 +10627,7 @@ export default {
40,
{
"filter": [
- 323
+ 324
]
}
],
@@ -10621,18 +10644,18 @@ export default {
}
],
"appMessageChannels": [
- 345,
+ 346,
{
"filter": [
- 324
+ 325
]
}
],
"appMessageFolders": [
- 352,
+ 353,
{
"filter": [
- 325
+ 326
]
}
],
@@ -10640,7 +10663,7 @@ export default {
49,
{
"applicationId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -10649,7 +10672,7 @@ export default {
50,
{
"applicationId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -10673,10 +10696,10 @@ export default {
}
],
"applicationSdkClientChecksums": [
- 469,
+ 470,
{
"applicationId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -10705,10 +10728,10 @@ export default {
}
],
"callRecordingIdForCalendarEvent": [
- 528,
+ 529,
{
"calendarEventId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -10717,7 +10740,7 @@ export default {
21,
{
"threadId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -10726,7 +10749,7 @@ export default {
143,
{
"threadId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -10735,7 +10758,7 @@ export default {
17,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
@@ -10753,7 +10776,7 @@ export default {
}
],
"checkWorkspaceInviteHashIsValid": [
- 669,
+ 671,
{
"inviteHash": [
1,
@@ -10762,7 +10785,7 @@ export default {
}
],
"checkWorkspaceSubdomainAvailability": [
- 498,
+ 499,
{
"subdomain": [
1,
@@ -10774,7 +10797,7 @@ export default {
154,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
@@ -10783,16 +10806,16 @@ export default {
154
],
"currentUser": [
- 626
+ 628
],
"currentUserApplicationAuthorizations": [
47
],
"currentUserSessions": [
- 629
+ 631
],
"currentWorkspace": [
- 661
+ 663
],
"enterpriseCheckoutSession": [
1,
@@ -10829,7 +10852,7 @@ export default {
4
],
"universalIdentifier": [
- 528,
+ 529,
"UUID!"
]
}
@@ -10838,7 +10861,7 @@ export default {
266,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
@@ -10857,7 +10880,7 @@ export default {
}
],
"findApplicationRegistrationByClientId": [
- 419,
+ 420,
{
"clientId": [
1,
@@ -10925,7 +10948,7 @@ export default {
}
],
"findInstallApplicationJobStatus": [
- 317,
+ 318,
{
"jobId": [
1
@@ -10946,10 +10969,10 @@ export default {
46
],
"findManyLogicFunctions": [
- 327
+ 328
],
"findManyMarketplaceApps": [
- 335,
+ 336,
{
"universalIdentifiers": [
1,
@@ -10958,10 +10981,10 @@ export default {
}
],
"findManyPublicDomains": [
- 421
+ 422
],
"findMarketplaceAppDetail": [
- 336,
+ 337,
{
"universalIdentifier": [
1,
@@ -10982,10 +11005,10 @@ export default {
46,
{
"id": [
- 528
+ 529
],
"universalIdentifier": [
- 528
+ 529
]
}
],
@@ -10999,16 +11022,16 @@ export default {
}
],
"findOneLogicFunction": [
- 327,
+ 328,
{
"input": [
- 331,
+ 332,
"LogicFunctionIdInput!"
]
}
],
"findUninstallApplicationJobStatus": [
- 317,
+ 318,
{
"jobId": [
1
@@ -11020,7 +11043,7 @@ export default {
}
],
"findUpgradeApplicationJobStatus": [
- 317,
+ 318,
{
"jobId": [
1
@@ -11032,10 +11055,10 @@ export default {
}
],
"findWorkspaceAiStats": [
- 663
+ 665
],
"findWorkspaceFromInviteHash": [
- 661,
+ 663,
{
"inviteHash": [
1,
@@ -11044,13 +11067,13 @@ export default {
}
],
"findWorkspaceInvitations": [
- 668
+ 670
],
"frontComponent": [
286,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
@@ -11059,7 +11082,7 @@ export default {
286
],
"getAddressDetails": [
- 415,
+ 416,
{
"placeId": [
1,
@@ -11075,7 +11098,7 @@ export default {
31
],
"getApiKeyRoles": [
- 451
+ 452
],
"getApprovedAccessDomains": [
80
@@ -11100,10 +11123,10 @@ export default {
}
],
"getAvailablePackages": [
- 314,
+ 315,
{
"input": [
- 331,
+ 332,
"LogicFunctionIdInput!"
]
}
@@ -11112,7 +11135,7 @@ export default {
160,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
@@ -11121,10 +11144,10 @@ export default {
241
],
"getInviteSuggestions": [
- 313
+ 314
],
"getJobs": [
- 317,
+ 318,
{
"jobIds": [
1,
@@ -11136,13 +11159,13 @@ export default {
1,
{
"input": [
- 331,
+ 332,
"LogicFunctionIdInput!"
]
}
],
"getPageLayout": [
- 398,
+ 399,
{
"id": [
1,
@@ -11151,7 +11174,7 @@ export default {
}
],
"getPageLayoutTab": [
- 399,
+ 400,
{
"id": [
1,
@@ -11160,7 +11183,7 @@ export default {
}
],
"getPageLayoutTabs": [
- 399,
+ 400,
{
"pageLayoutId": [
1,
@@ -11169,7 +11192,7 @@ export default {
}
],
"getPageLayoutWidget": [
- 402,
+ 403,
{
"id": [
1,
@@ -11178,7 +11201,7 @@ export default {
}
],
"getPageLayoutWidgets": [
- 402,
+ 403,
{
"pageLayoutTabId": [
1,
@@ -11187,21 +11210,21 @@ export default {
}
],
"getPageLayouts": [
- 398,
+ 399,
{
"objectMetadataId": [
1
],
"pageLayoutType": [
- 401
+ 402
]
}
],
"getPermissionFlags": [
- 409
+ 410
],
"getPublicWorkspaceDataByDomain": [
- 425,
+ 426,
{
"origin": [
1
@@ -11209,10 +11232,10 @@ export default {
}
],
"getPublicWorkspaceDataById": [
- 426,
+ 427,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
@@ -11221,25 +11244,25 @@ export default {
116
],
"getRole": [
- 451,
+ 452,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
],
"getRoles": [
- 451
+ 452
],
"getSSOIdentityProviders": [
283
],
"getToolIndex": [
- 510
+ 511
],
"getToolInputSchema": [
- 314,
+ 315,
{
"toolName": [
1,
@@ -11248,15 +11271,15 @@ export default {
}
],
"getUsageAnalytics": [
- 610,
+ 612,
{
"input": [
- 611
+ 613
]
}
],
"getView": [
- 638,
+ 640,
{
"id": [
1,
@@ -11265,7 +11288,7 @@ export default {
}
],
"getViewField": [
- 641,
+ 643,
{
"id": [
1,
@@ -11274,7 +11297,7 @@ export default {
}
],
"getViewFieldGroup": [
- 642,
+ 644,
{
"id": [
1,
@@ -11283,7 +11306,7 @@ export default {
}
],
"getViewFieldGroups": [
- 642,
+ 644,
{
"viewId": [
1,
@@ -11292,7 +11315,7 @@ export default {
}
],
"getViewFields": [
- 641,
+ 643,
{
"viewId": [
1,
@@ -11301,7 +11324,7 @@ export default {
}
],
"getViewFilter": [
- 643,
+ 645,
{
"id": [
1,
@@ -11310,7 +11333,7 @@ export default {
}
],
"getViewFilterGroup": [
- 644,
+ 646,
{
"id": [
1,
@@ -11319,7 +11342,7 @@ export default {
}
],
"getViewFilterGroups": [
- 644,
+ 646,
{
"viewId": [
1
@@ -11327,7 +11350,7 @@ export default {
}
],
"getViewFilters": [
- 643,
+ 645,
{
"viewId": [
1
@@ -11335,7 +11358,7 @@ export default {
}
],
"getViewGroup": [
- 647,
+ 649,
{
"id": [
1,
@@ -11344,7 +11367,7 @@ export default {
}
],
"getViewGroups": [
- 647,
+ 649,
{
"viewId": [
1
@@ -11352,7 +11375,7 @@ export default {
}
],
"getViewSort": [
- 650,
+ 652,
{
"id": [
1,
@@ -11361,7 +11384,7 @@ export default {
}
],
"getViewSorts": [
- 650,
+ 652,
{
"viewId": [
1
@@ -11369,19 +11392,19 @@ export default {
}
],
"getViews": [
- 638,
+ 640,
{
"objectMetadataId": [
1
],
"viewTypes": [
- 652,
+ 654,
"[ViewType!]"
]
}
],
"getWorkspaceCreationDefaults": [
- 666
+ 668
],
"githubClaimAuthorizationUrl": [
1,
@@ -11402,10 +11425,10 @@ export default {
}
],
"lineChartData": [
- 319,
+ 320,
{
"input": [
- 320,
+ 321,
"LineChartDataInput!"
]
}
@@ -11414,19 +11437,19 @@ export default {
107
],
"mcpServer": [
- 341,
+ 342,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
],
"mcpServers": [
- 341
+ 342
],
"messageSuppressions": [
- 357,
+ 358,
{
"input": [
284,
@@ -11435,22 +11458,22 @@ export default {
}
],
"metadataTranslations": [
- 363,
+ 364,
{
"input": [
- 366,
+ 367,
"MetadataTranslationsInput!"
]
}
],
"minimalMetadata": [
- 368
+ 369
],
"mostlyEmptyFieldMetadataIds": [
- 528,
+ 529,
{
"objectMetadataId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -11462,7 +11485,7 @@ export default {
127,
{
"connectedAccountId": [
- 528
+ 529
]
}
],
@@ -11470,53 +11493,53 @@ export default {
158
],
"myMessageChannels": [
- 345,
+ 346,
{
"connectedAccountId": [
- 528
+ 529
]
}
],
"myMessageFolders": [
- 352,
+ 353,
{
"messageChannelId": [
- 528
+ 529
]
}
],
"myUserApplicationVariables": [
- 671
+ 673
],
"navigationMenuItem": [
- 374,
+ 375,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
],
"navigationMenuItems": [
- 374
+ 375
],
"object": [
- 377,
+ 378,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
],
"objectRecordCounts": [
- 387
+ 388
],
"objects": [
- 378,
+ 379,
{
"filter": [
- 381,
+ 382,
"ObjectFilter!"
],
"paging": [
@@ -11526,10 +11549,10 @@ export default {
}
],
"pieChartData": [
- 412,
+ 413,
{
"input": [
- 413,
+ 414,
"PieChartDataInput!"
]
}
@@ -11538,22 +11561,22 @@ export default {
135,
{
"input": [
- 416,
+ 417,
"PreviewMessageCampaignAudienceInput!"
]
}
],
"previewMessageCampaignSend": [
- 418,
+ 419,
{
"input": [
- 417,
+ 418,
"PreviewMessageCampaignSendInput!"
]
}
],
"publicMarketplaceAppDetail": [
- 336,
+ 337,
{
"universalIdentifier": [
1,
@@ -11562,76 +11585,76 @@ export default {
}
],
"publicMarketplaceApps": [
- 335
+ 336
],
"recordPermissions": [
- 432,
+ 433,
{
"targets": [
- 442,
+ 443,
"[RecordTargetInput!]!"
]
}
],
"recordSharing": [
- 437,
+ 438,
{
"target": [
- 442,
+ 443,
"RecordTargetInput!"
]
}
],
"relatedRecordPaths": [
- 443
+ 444
],
"skill": [
- 494,
+ 495,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
],
"skills": [
- 494
+ 495
],
"timelineActivityTypes": [
- 506
+ 507
],
"twoFactorAuthenticationRecoveryStatus": [
- 527,
+ 528,
{
"userId": [
- 528,
+ 529,
"UUID!"
]
}
],
"unsubscribeTopics": [
- 531
+ 532
],
"usageLimits": [
- 613
+ 615
],
"usageQuotaDefinitions": [
- 617
+ 619
],
"usageQuotaScopeConsumption": [
- 619,
+ 621,
{
"input": [
- 620,
+ 622,
"UsageQuotaScopeInput!"
]
}
],
"usageQuotasWithConsumption": [
- 621
+ 623
],
"validatePasswordResetToken": [
- 632,
+ 634,
{
"passwordResetToken": [
1,
@@ -11640,25 +11663,25 @@ export default {
}
],
"validationRules": [
- 633,
+ 635,
{
"objectMetadataId": [
- 528,
+ 529,
"UUID!"
]
}
],
"webhook": [
- 654,
+ 656,
{
"id": [
- 528,
+ 529,
"UUID!"
]
}
],
"webhooks": [
- 654
+ 656
],
"__typename": [
1
@@ -11666,7 +11689,7 @@ export default {
},
"RatioAggregateConfig": {
"fieldMetadataId": [
- 528
+ 529
],
"optionValue": [
1
@@ -11686,7 +11709,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"progress": [
10
@@ -11697,7 +11720,7 @@ export default {
},
"RecordIdentifier": {
"id": [
- 528
+ 529
],
"imageIdentifier": [
1
@@ -11728,13 +11751,13 @@ export default {
},
"RecordPermissionsResult": {
"objectMetadataId": [
- 528
+ 529
],
"permissions": [
- 431
+ 432
],
"recordId": [
- 528
+ 529
],
"__typename": [
1
@@ -11743,10 +11766,10 @@ export default {
"RecordShareAccessLevel": {},
"RecordSharePrincipalInput": {
"roleId": [
- 528
+ 529
],
"workspaceMemberId": [
- 528
+ 529
],
"__typename": [
1
@@ -11759,25 +11782,25 @@ export default {
4
],
"defaultGeneralAccessLevel": [
- 433
+ 434
],
"generalAccessLevel": [
- 433
+ 434
],
"hasManagedGeneralAccess": [
4
],
"permissions": [
- 431
+ 432
],
"roles": [
- 440
+ 441
],
"shares": [
- 438
+ 439
],
"sharingMode": [
- 439
+ 440
],
"__typename": [
1
@@ -11785,22 +11808,22 @@ export default {
},
"RecordSharingGrantDTO": {
"accessLevel": [
- 433
+ 434
],
"id": [
18
],
"principalId": [
- 528
+ 529
],
"principalRoleId": [
- 528
+ 529
],
"principalType": [
- 435
+ 436
],
"rowCause": [
- 436
+ 437
],
"__typename": [
1
@@ -11815,7 +11838,7 @@ export default {
4
],
"id": [
- 528
+ 529
],
"label": [
1
@@ -11826,7 +11849,7 @@ export default {
},
"RecordTableConfiguration": {
"configurationType": [
- 656
+ 658
],
"isUIEditable": [
4
@@ -11843,10 +11866,10 @@ export default {
},
"RecordTargetInput": {
"objectMetadataId": [
- 528
+ 529
],
"recordId": [
- 528
+ 529
],
"__typename": [
1
@@ -11854,19 +11877,19 @@ export default {
},
"RelatedRecordPath": {
"firstFieldMetadataId": [
- 528
+ 529
],
"id": [
- 528
+ 529
],
"objectMetadataId": [
- 528
+ 529
],
"secondFieldMetadataId": [
- 528
+ 529
],
"thirdFieldMetadataId": [
- 528
+ 529
],
"__typename": [
1
@@ -11877,16 +11900,16 @@ export default {
266
],
"sourceObjectMetadata": [
- 377
+ 378
],
"targetFieldMetadata": [
266
],
"targetObjectMetadata": [
- 377
+ 378
],
"type": [
- 445
+ 446
],
"__typename": [
1
@@ -11925,7 +11948,7 @@ export default {
},
"RevokeApiKeyInput": {
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -11953,7 +11976,7 @@ export default {
38
],
"applicationId": [
- 528
+ 529
],
"canAccessAllAgentChatChannels": [
4
@@ -11995,7 +12018,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isEditable": [
4
@@ -12004,22 +12027,22 @@ export default {
1
],
"objectPermissions": [
- 385
+ 386
],
"permissionFlags": [
- 452
+ 453
],
"rowLevelPermissionPredicateGroups": [
- 455
+ 456
],
"rowLevelPermissionPredicates": [
- 454
+ 455
],
"universalIdentifier": [
- 528
+ 529
],
"workspaceMembers": [
- 670
+ 672
],
"__typename": [
1
@@ -12030,10 +12053,10 @@ export default {
1
],
"id": [
- 528
+ 529
],
"roleId": [
- 528
+ 529
],
"__typename": [
1
@@ -12058,7 +12081,7 @@ export default {
1
],
"operand": [
- 459
+ 460
],
"positionInRowLevelPermissionPredicateGroup": [
6
@@ -12073,7 +12096,7 @@ export default {
1
],
"value": [
- 314
+ 315
],
"workspaceMemberFieldMetadataId": [
1
@@ -12090,7 +12113,7 @@ export default {
1
],
"logicalOperator": [
- 457
+ 458
],
"objectMetadataId": [
1
@@ -12110,16 +12133,16 @@ export default {
},
"RowLevelPermissionPredicateGroupInput": {
"id": [
- 528
+ 529
],
"logicalOperator": [
- 457
+ 458
],
"objectMetadataId": [
- 528
+ 529
],
"parentRowLevelPermissionPredicateGroupId": [
- 528
+ 529
],
"positionInRowLevelPermissionPredicateGroup": [
6
@@ -12131,25 +12154,25 @@ export default {
"RowLevelPermissionPredicateGroupLogicalOperator": {},
"RowLevelPermissionPredicateInput": {
"fieldMetadataId": [
- 528
+ 529
],
"id": [
- 528
+ 529
],
"operand": [
- 459
+ 460
],
"positionInRowLevelPermissionPredicateGroup": [
6
],
"rowLevelPermissionPredicateGroupId": [
- 528
+ 529
],
"subFieldName": [
1
],
"value": [
- 314
+ 315
],
"workspaceMemberFieldMetadataId": [
1
@@ -12170,22 +12193,22 @@ export default {
1
],
"input": [
- 462
+ 463
],
"messages": [
- 462
+ 463
],
"prompt": [
1
],
"responseFormat": [
- 314
+ 315
],
"runAsWorkspaceMemberId": [
- 528
+ 529
],
"thread": [
- 465
+ 466
],
"waitForCompletion": [
4
@@ -12196,7 +12219,7 @@ export default {
},
"RunAgentMessageAttachmentInput": {
"fileId": [
- 528
+ 529
],
"filename": [
1
@@ -12207,13 +12230,13 @@ export default {
},
"RunAgentMessageInput": {
"attachments": [
- 461
+ 462
],
"content": [
1
],
"role": [
- 463
+ 464
],
"__typename": [
1
@@ -12225,7 +12248,7 @@ export default {
1
],
"result": [
- 314
+ 315
],
"status": [
1
@@ -12234,7 +12257,7 @@ export default {
4
],
"threadId": [
- 528
+ 529
],
"__typename": [
1
@@ -12253,7 +12276,7 @@ export default {
},
"SSOConnection": {
"id": [
- 528
+ 529
],
"issuer": [
1
@@ -12262,7 +12285,7 @@ export default {
1
],
"status": [
- 468
+ 469
],
"type": [
296
@@ -12273,7 +12296,7 @@ export default {
},
"SSOIdentityProvider": {
"id": [
- 528
+ 529
],
"issuer": [
1
@@ -12282,7 +12305,7 @@ export default {
1
],
"status": [
- 468
+ 469
],
"type": [
296
@@ -12308,16 +12331,16 @@ export default {
211
],
"fieldMetadataId": [
- 528
+ 529
],
"id": [
- 528
+ 529
],
"position": [
6
],
"tsVectorFieldMetadataId": [
- 528
+ 529
],
"updatedAt": [
211
@@ -12328,13 +12351,13 @@ export default {
},
"SendAppChannelMessageInput": {
"idempotencyKey": [
- 528
+ 529
],
"messageChannelId": [
- 528
+ 529
],
"messageThreadId": [
- 528
+ 529
],
"text": [
1
@@ -12345,10 +12368,10 @@ export default {
},
"SendAppChannelMessageOutput": {
"messageId": [
- 528
+ 529
],
"messageThreadId": [
- 528
+ 529
],
"__typename": [
1
@@ -12356,7 +12379,7 @@ export default {
},
"SendChatMessageResult": {
"mentionedParticipantWorkspaceMemberIds": [
- 528
+ 529
],
"messageId": [
1
@@ -12399,7 +12422,7 @@ export default {
1
],
"files": [
- 474
+ 475
],
"fromHandle": [
1
@@ -12411,7 +12434,7 @@ export default {
1
],
"targetRecord": [
- 477
+ 478
],
"to": [
1
@@ -12439,7 +12462,7 @@ export default {
1
],
"recordId": [
- 528
+ 529
],
"__typename": [
1
@@ -12467,10 +12490,10 @@ export default {
1
],
"toolCall": [
- 314
+ 315
],
"workspaceMemberIds": [
- 528
+ 529
],
"__typename": [
1
@@ -12478,7 +12501,7 @@ export default {
},
"SendInboxMessageResult": {
"threadId": [
- 528
+ 529
],
"__typename": [
1
@@ -12489,7 +12512,7 @@ export default {
1
],
"result": [
- 668
+ 670
],
"success": [
4
@@ -12568,7 +12591,7 @@ export default {
42
],
"value": [
- 314
+ 315
],
"__typename": [
1
@@ -12576,31 +12599,31 @@ export default {
},
"SettingsMenuItem": {
"applicationId": [
- 528
+ 529
],
"createdAt": [
211
],
"frontComponentId": [
- 528
+ 529
],
"icon": [
1
],
"id": [
- 528
+ 529
],
"position": [
6
],
"scope": [
- 488
+ 489
],
"title": [
1
],
"universalIdentifier": [
- 528
+ 529
],
"updatedAt": [
211
@@ -12635,7 +12658,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"issuer": [
1
@@ -12652,7 +12675,7 @@ export default {
},
"SetupSso": {
"id": [
- 528
+ 529
],
"issuer": [
1
@@ -12661,7 +12684,7 @@ export default {
1
],
"status": [
- 468
+ 469
],
"type": [
296
@@ -12675,7 +12698,7 @@ export default {
83
],
"workspace": [
- 680
+ 682
],
"__typename": [
1
@@ -12700,7 +12723,7 @@ export default {
},
"Skill": {
"applicationId": [
- 528
+ 529
],
"content": [
1
@@ -12715,7 +12738,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isActive": [
4
@@ -12741,10 +12764,10 @@ export default {
},
"StandaloneRichTextConfiguration": {
"body": [
- 450
+ 451
],
"configurationType": [
- 656
+ 658
],
"__typename": [
1
@@ -12752,7 +12775,7 @@ export default {
},
"StartWorkspaceSetupChatResult": {
"outcome": [
- 678
+ 680
],
"thread": [
17
@@ -12801,7 +12824,7 @@ export default {
}
],
"exportRecords": [
- 429,
+ 430,
{
"input": [
193,
@@ -12810,10 +12833,10 @@ export default {
}
],
"logicFunctionLogs": [
- 332,
+ 333,
{
"input": [
- 333,
+ 334,
"LogicFunctionLogsInput!"
]
}
@@ -12822,7 +12845,7 @@ export default {
14,
{
"threadId": [
- 528,
+ 529,
"UUID!"
]
}
@@ -12844,7 +12867,7 @@ export default {
"SubscriptionStatus": {},
"Support": {
"supportDriver": [
- 503
+ 504
],
"supportFrontChatId": [
1
@@ -12859,7 +12882,7 @@ export default {
43
],
"messageChannelId": [
- 528
+ 529
],
"__typename": [
1
@@ -12867,7 +12890,7 @@ export default {
},
"TasksConfiguration": {
"configurationType": [
- 656
+ 658
],
"__typename": [
1
@@ -12878,22 +12901,22 @@ export default {
1
],
"applicationId": [
- 528
+ 529
],
"createdAt": [
211
],
"emit": [
- 507
+ 508
],
"frontComponentUniversalIdentifier": [
- 528
+ 529
],
"icon": [
1
],
"id": [
- 528
+ 529
],
"isActive": [
4
@@ -12905,13 +12928,13 @@ export default {
1
],
"objectUniversalIdentifier": [
- 528
+ 529
],
"replacesTimelineActivityTypeUniversalIdentifier": [
- 528
+ 529
],
"universalIdentifier": [
- 528
+ 529
],
"updatedAt": [
211
@@ -12922,13 +12945,13 @@ export default {
},
"TimelineActivityTypeEmit": {
"objectUniversalIdentifier": [
- 528
+ 529
],
"on": [
1
],
"through": [
- 508
+ 509
],
"__typename": [
1
@@ -12936,13 +12959,13 @@ export default {
},
"TimelineActivityTypeEmitThrough": {
"happensAtFieldUniversalIdentifier": [
- 528
+ 529
],
"relationFieldUniversalIdentifier": [
- 528
+ 529
],
"triggerFieldUniversalIdentifiers": [
- 528
+ 529
],
"__typename": [
1
@@ -12950,7 +12973,7 @@ export default {
},
"TimelineConfiguration": {
"configurationType": [
- 656
+ 658
],
"__typename": [
1
@@ -12970,7 +12993,7 @@ export default {
1
],
"inputSchema": [
- 314
+ 315
],
"label": [
1
@@ -12998,10 +13021,10 @@ export default {
},
"TriggerAddPeopleToMessageListJobInput": {
"messageListId": [
- 528
+ 529
],
"personFilter": [
- 314
+ 315
],
"__typename": [
1
@@ -13106,7 +13129,7 @@ export default {
1
],
"twoFactorAuthenticationMethodId": [
- 528
+ 529
],
"__typename": [
1
@@ -13151,19 +13174,19 @@ export default {
"UUID": {},
"UUIDFilterComparison": {
"eq": [
- 528
+ 529
],
"gt": [
- 528
+ 529
],
"gte": [
- 528
+ 529
],
"iLike": [
- 528
+ 529
],
"in": [
- 528
+ 529
],
"is": [
4
@@ -13172,25 +13195,25 @@ export default {
4
],
"like": [
- 528
+ 529
],
"lt": [
- 528
+ 529
],
"lte": [
- 528
+ 529
],
"neq": [
- 528
+ 529
],
"notILike": [
- 528
+ 529
],
"notIn": [
- 528
+ 529
],
"notLike": [
- 528
+ 529
],
"__typename": [
1
@@ -13205,7 +13228,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"name": [
1
@@ -13214,7 +13237,7 @@ export default {
211
],
"visibility": [
- 532
+ 533
],
"__typename": [
1
@@ -13235,7 +13258,7 @@ export default {
6
],
"roleIds": [
- 528
+ 529
],
"__typename": [
1
@@ -13249,7 +13272,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isActive": [
4
@@ -13258,7 +13281,7 @@ export default {
1
],
"modelConfiguration": [
- 314
+ 315
],
"modelId": [
1
@@ -13270,13 +13293,13 @@ export default {
1
],
"responseFormat": [
- 314
+ 315
],
"roleId": [
- 528
+ 529
],
"triggers": [
- 314
+ 315
],
"__typename": [
1
@@ -13287,7 +13310,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"name": [
1
@@ -13304,16 +13327,16 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isSyncEnabled": [
4
],
"messagingProviderUniversalIdentifier": [
- 528
+ 529
],
"visibility": [
- 351
+ 352
],
"__typename": [
1
@@ -13332,7 +13355,7 @@ export default {
1
],
"update": [
- 539
+ 540
],
"__typename": [
1
@@ -13357,7 +13380,7 @@ export default {
1
],
"update": [
- 541
+ 542
],
"__typename": [
1
@@ -13379,10 +13402,10 @@ export default {
},
"UpdateCalendarChannelInput": {
"id": [
- 528
+ 529
],
"update": [
- 543
+ 544
],
"__typename": [
1
@@ -13410,7 +13433,7 @@ export default {
},
"UpdateCommandMenuItemInput": {
"availabilityObjectMetadataId": [
- 528
+ 529
],
"availabilityType": [
155
@@ -13425,7 +13448,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isPinned": [
4
@@ -13434,7 +13457,7 @@ export default {
1
],
"pageLayoutId": [
- 528
+ 529
],
"position": [
6
@@ -13451,7 +13474,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -13459,7 +13482,7 @@ export default {
},
"UpdateFieldInput": {
"defaultValue": [
- 314
+ 315
],
"description": [
1
@@ -13498,22 +13521,22 @@ export default {
1
],
"morphRelationsUpdatePayload": [
- 314
+ 315
],
"name": [
1
],
"objectMetadataId": [
- 528
+ 529
],
"options": [
- 314
+ 315
],
"settings": [
- 314
+ 315
],
"translations": [
- 364
+ 365
],
"universalIdentifier": [
1
@@ -13524,10 +13547,10 @@ export default {
},
"UpdateFrontComponentInput": {
"id": [
- 528
+ 529
],
"update": [
- 548
+ 549
],
"__typename": [
1
@@ -13557,10 +13580,10 @@ export default {
},
"UpdateLogicFunctionFromSourceInput": {
"id": [
- 528
+ 529
],
"update": [
- 551
+ 552
],
"__typename": [
1
@@ -13568,10 +13591,10 @@ export default {
},
"UpdateLogicFunctionFromSourceInputUpdates": {
"cronTriggerSettings": [
- 314
+ 315
],
"databaseEventTriggerSettings": [
- 314
+ 315
],
"description": [
1
@@ -13580,7 +13603,7 @@ export default {
1
],
"httpRouteTriggerSettings": [
- 314
+ 315
],
"name": [
1
@@ -13595,10 +13618,10 @@ export default {
6
],
"toolTriggerSettings": [
- 314
+ 315
],
"workflowActionTriggerSettings": [
- 314
+ 315
],
"__typename": [
1
@@ -13606,10 +13629,10 @@ export default {
},
"UpdateMcpServerInput": {
"id": [
- 528
+ 529
],
"update": [
- 553
+ 554
],
"__typename": [
1
@@ -13617,7 +13640,7 @@ export default {
},
"UpdateMcpServerInputUpdates": {
"connectionProviderId": [
- 528
+ 529
],
"isActive": [
4
@@ -13637,10 +13660,10 @@ export default {
},
"UpdateMessageChannelInput": {
"id": [
- 528
+ 529
],
"update": [
- 555
+ 556
],
"__typename": [
1
@@ -13648,7 +13671,7 @@ export default {
},
"UpdateMessageChannelInputUpdates": {
"contactAutoCreationPolicy": [
- 346
+ 347
],
"excludeGroupEmails": [
4
@@ -13663,10 +13686,10 @@ export default {
4
],
"messageFolderImportPolicy": [
- 353
+ 354
],
"visibility": [
- 351
+ 352
],
"__typename": [
1
@@ -13674,10 +13697,10 @@ export default {
},
"UpdateMessageFolderInput": {
"id": [
- 528
+ 529
],
"update": [
- 557
+ 558
],
"__typename": [
1
@@ -13693,10 +13716,10 @@ export default {
},
"UpdateMessageFoldersInput": {
"ids": [
- 528
+ 529
],
"update": [
- 557
+ 558
],
"__typename": [
1
@@ -13707,7 +13730,7 @@ export default {
1
],
"folderId": [
- 528
+ 529
],
"icon": [
1
@@ -13719,7 +13742,7 @@ export default {
1
],
"pageLayoutId": [
- 528
+ 529
],
"position": [
6
@@ -13739,7 +13762,7 @@ export default {
1
],
"imageIdentifierFieldMetadataId": [
- 528
+ 529
],
"isActive": [
4
@@ -13751,7 +13774,7 @@ export default {
4
],
"labelIdentifierFieldMetadataId": [
- 528
+ 529
],
"labelPlural": [
1
@@ -13766,19 +13789,19 @@ export default {
1
],
"openRecordIn": [
- 384
+ 385
],
"readability": [
- 362
+ 363
],
"sharingReach": [
- 392
+ 393
],
"shortcut": [
1
],
"translations": [
- 364
+ 365
],
"__typename": [
1
@@ -13786,10 +13809,10 @@ export default {
},
"UpdateOneFieldMetadataInput": {
"id": [
- 528
+ 529
],
"update": [
- 546
+ 547
],
"__typename": [
1
@@ -13797,10 +13820,10 @@ export default {
},
"UpdateOneNavigationMenuItemInput": {
"id": [
- 528
+ 529
],
"update": [
- 559
+ 560
],
"__typename": [
1
@@ -13808,10 +13831,10 @@ export default {
},
"UpdateOneObjectInput": {
"id": [
- 528
+ 529
],
"update": [
- 560
+ 561
],
"__typename": [
1
@@ -13822,10 +13845,10 @@ export default {
1
],
"objectMetadataId": [
- 528
+ 529
],
"type": [
- 401
+ 402
],
"__typename": [
1
@@ -13836,7 +13859,7 @@ export default {
1
],
"layoutMode": [
- 400
+ 401
],
"position": [
6
@@ -13853,10 +13876,10 @@ export default {
1
],
"id": [
- 528
+ 529
],
"layoutMode": [
- 400
+ 401
],
"position": [
6
@@ -13865,7 +13888,7 @@ export default {
1
],
"widgets": [
- 568
+ 569
],
"__typename": [
1
@@ -13876,28 +13899,28 @@ export default {
1
],
"conditionalDisplay": [
- 314
+ 315
],
"configuration": [
- 314
+ 315
],
"isActive": [
4
],
"objectMetadataId": [
- 528
+ 529
],
"pageLayoutTabId": [
- 528
+ 529
],
"position": [
- 314
+ 315
],
"title": [
1
],
"type": [
- 657
+ 659
],
"__typename": [
1
@@ -13908,28 +13931,28 @@ export default {
1
],
"conditionalDisplay": [
- 314
+ 315
],
"configuration": [
- 314
+ 315
],
"id": [
- 528
+ 529
],
"objectMetadataId": [
- 528
+ 529
],
"pageLayoutTabId": [
- 528
+ 529
],
"position": [
- 314
+ 315
],
"title": [
1
],
"type": [
- 657
+ 659
],
"__typename": [
1
@@ -13943,13 +13966,13 @@ export default {
1
],
"objectMetadataId": [
- 528
+ 529
],
"tabs": [
- 566
+ 567
],
"type": [
- 401
+ 402
],
"__typename": [
1
@@ -13957,10 +13980,10 @@ export default {
},
"UpdateRoleInput": {
"id": [
- 528
+ 529
],
"update": [
- 571
+ 572
],
"__typename": [
1
@@ -14021,7 +14044,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isActive": [
4
@@ -14041,7 +14064,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isActive": [
4
@@ -14050,7 +14073,7 @@ export default {
1
],
"translations": [
- 364
+ 365
],
"__typename": [
1
@@ -14067,7 +14090,7 @@ export default {
1
],
"visibility": [
- 532
+ 533
],
"__typename": [
1
@@ -14075,7 +14098,7 @@ export default {
},
"UpdateUsageLimitInput": {
"id": [
- 528
+ 529
],
"payload": [
198
@@ -14086,10 +14109,10 @@ export default {
},
"UpdateValidationRuleInput": {
"id": [
- 528
+ 529
],
"update": [
- 577
+ 578
],
"__typename": [
1
@@ -14100,7 +14123,7 @@ export default {
1
],
"errorFieldMetadataId": [
- 528
+ 529
],
"expression": [
1
@@ -14123,10 +14146,10 @@ export default {
},
"UpdateViewFieldGroupInput": {
"id": [
- 528
+ 529
],
"update": [
- 579
+ 580
],
"__typename": [
1
@@ -14151,10 +14174,10 @@ export default {
},
"UpdateViewFieldInput": {
"id": [
- 528
+ 529
],
"update": [
- 581
+ 582
],
"__typename": [
1
@@ -14174,7 +14197,7 @@ export default {
6
],
"viewFieldGroupId": [
- 528
+ 529
],
"__typename": [
1
@@ -14182,19 +14205,19 @@ export default {
},
"UpdateViewFilterGroupInput": {
"id": [
- 528
+ 529
],
"logicalOperator": [
- 645
+ 647
],
"parentViewFilterGroupId": [
- 528
+ 529
],
"positionInViewFilterGroup": [
6
],
"viewId": [
- 528
+ 529
],
"__typename": [
1
@@ -14202,10 +14225,10 @@ export default {
},
"UpdateViewFilterInput": {
"id": [
- 528
+ 529
],
"update": [
- 584
+ 585
],
"__typename": [
1
@@ -14213,25 +14236,25 @@ export default {
},
"UpdateViewFilterInputUpdates": {
"fieldMetadataId": [
- 528
+ 529
],
"operand": [
- 646
+ 648
],
"positionInViewFilterGroup": [
6
],
"relationTargetFieldMetadataId": [
- 528
+ 529
],
"subFieldName": [
1
],
"value": [
- 314
+ 315
],
"viewFilterGroupId": [
- 528
+ 529
],
"__typename": [
1
@@ -14239,10 +14262,10 @@ export default {
},
"UpdateViewGroupInput": {
"id": [
- 528
+ 529
],
"update": [
- 586
+ 587
],
"__typename": [
1
@@ -14250,7 +14273,7 @@ export default {
},
"UpdateViewGroupInputUpdates": {
"fieldMetadataId": [
- 528
+ 529
],
"fieldValue": [
1
@@ -14270,13 +14293,13 @@ export default {
1
],
"calendarEndFieldMetadataId": [
- 528
+ 529
],
"calendarFieldMetadataId": [
- 528
+ 529
],
"calendarLayout": [
- 639
+ 641
],
"groupLoadLimit": [
10
@@ -14285,7 +14308,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isCompact": [
4
@@ -14294,19 +14317,19 @@ export default {
27
],
"kanbanAggregateOperationFieldMetadataId": [
- 528
+ 529
],
"kanbanColumnWidth": [
10
],
"mainGroupByFieldMetadataId": [
- 528
+ 529
],
"name": [
1
],
"openRecordIn": [
- 649
+ 651
],
"position": [
6
@@ -14315,13 +14338,13 @@ export default {
4
],
"translations": [
- 364
+ 365
],
"type": [
- 652
+ 654
],
"visibility": [
- 653
+ 655
],
"__typename": [
1
@@ -14329,10 +14352,10 @@ export default {
},
"UpdateViewSortInput": {
"id": [
- 528
+ 529
],
"update": [
- 589
+ 590
],
"__typename": [
1
@@ -14340,7 +14363,7 @@ export default {
},
"UpdateViewSortInputUpdates": {
"direction": [
- 651
+ 653
],
"subFieldName": [
1
@@ -14351,10 +14374,10 @@ export default {
},
"UpdateWebhookInput": {
"id": [
- 528
+ 529
],
"update": [
- 591
+ 592
],
"__typename": [
1
@@ -14368,7 +14391,7 @@ export default {
1
],
"roleId": [
- 528
+ 529
],
"secret": [
1
@@ -14380,7 +14403,7 @@ export default {
1
]
},
- "UpdateWorkspaceAllowedIframeOriginsInput": {
+ "UpdateWorkspaceAllowedEmbeddingOriginsInput": {
"operation": [
1
],
@@ -14391,6 +14414,20 @@ export default {
1
]
},
+ "UpdateWorkspaceIframeMediaPermissionsInput": {
+ "camera": [
+ 4
+ ],
+ "microphone": [
+ 4
+ ],
+ "origin": [
+ 1
+ ],
+ "__typename": [
+ 1
+ ]
+ },
"UpdateWorkspaceInput": {
"aiAdditionalInstructions": [
1
@@ -14405,7 +14442,7 @@ export default {
1
],
"aiModelIdByTier": [
- 314
+ 315
],
"allowImpersonation": [
4
@@ -14414,7 +14451,7 @@ export default {
1
],
"defaultRoleId": [
- 528
+ 529
],
"displayName": [
1
@@ -14474,7 +14511,7 @@ export default {
6
],
"workspaceDiscoverability": [
- 667
+ 669
],
"__typename": [
1
@@ -14482,10 +14519,10 @@ export default {
},
"UpdateWorkspaceMemberSettingsInput": {
"update": [
- 314
+ 315
],
"workspaceMemberId": [
- 528
+ 529
],
"__typename": [
1
@@ -14497,7 +14534,7 @@ export default {
274
],
"roleId": [
- 528
+ 529
],
"__typename": [
1
@@ -14505,7 +14542,7 @@ export default {
},
"UpsertFieldsWidgetFieldInput": {
"fieldMetadataId": [
- 528
+ 529
],
"isVisible": [
4
@@ -14514,7 +14551,7 @@ export default {
6
],
"viewFieldId": [
- 528
+ 529
],
"__typename": [
1
@@ -14522,10 +14559,10 @@ export default {
},
"UpsertFieldsWidgetGroupInput": {
"fields": [
- 597
+ 599
],
"id": [
- 528
+ 529
],
"isVisible": [
4
@@ -14542,13 +14579,13 @@ export default {
},
"UpsertFieldsWidgetInput": {
"fields": [
- 597
+ 599
],
"groups": [
- 598
+ 600
],
"widgetId": [
- 528
+ 529
],
"__typename": [
1
@@ -14556,10 +14593,10 @@ export default {
},
"UpsertObjectPermissionsInput": {
"objectPermissions": [
- 386
+ 387
],
"roleId": [
- 528
+ 529
],
"__typename": [
1
@@ -14570,7 +14607,7 @@ export default {
1
],
"roleId": [
- 528
+ 529
],
"__typename": [
1
@@ -14578,16 +14615,16 @@ export default {
},
"UpsertRowLevelPermissionPredicatesInput": {
"objectMetadataId": [
- 528
+ 529
],
"predicateGroups": [
- 456
+ 457
],
"predicates": [
- 458
+ 459
],
"roleId": [
- 528
+ 529
],
"__typename": [
1
@@ -14595,10 +14632,10 @@ export default {
},
"UpsertRowLevelPermissionPredicatesResult": {
"predicateGroups": [
- 455
+ 456
],
"predicates": [
- 454
+ 455
],
"__typename": [
1
@@ -14606,22 +14643,22 @@ export default {
},
"UpsertViewWidgetInput": {
"view": [
- 608
+ 610
],
"viewFields": [
- 605
+ 607
],
"viewFilterGroups": [
- 606
+ 608
],
"viewFilters": [
- 607
+ 609
],
"viewSorts": [
- 609
+ 611
],
"widgetId": [
- 528
+ 529
],
"__typename": [
1
@@ -14632,7 +14669,7 @@ export default {
27
],
"fieldMetadataId": [
- 528
+ 529
],
"isVisible": [
4
@@ -14644,7 +14681,7 @@ export default {
6
],
"viewFieldId": [
- 528
+ 529
],
"__typename": [
1
@@ -14652,13 +14689,13 @@ export default {
},
"UpsertViewWidgetViewFilterGroupInput": {
"id": [
- 528
+ 529
],
"logicalOperator": [
- 645
+ 647
],
"parentViewFilterGroupId": [
- 528
+ 529
],
"positionInViewFilterGroup": [
6
@@ -14669,28 +14706,28 @@ export default {
},
"UpsertViewWidgetViewFilterInput": {
"fieldMetadataId": [
- 528
+ 529
],
"id": [
- 528
+ 529
],
"operand": [
- 646
+ 648
],
"positionInViewFilterGroup": [
6
],
"relationTargetFieldMetadataId": [
- 528
+ 529
],
"subFieldName": [
1
],
"value": [
- 314
+ 315
],
"viewFilterGroupId": [
- 528
+ 529
],
"__typename": [
1
@@ -14698,34 +14735,34 @@ export default {
},
"UpsertViewWidgetViewSettingsInput": {
"calendarEndFieldMetadataId": [
- 528
+ 529
],
"calendarFieldMetadataId": [
- 528
+ 529
],
"calendarLayout": [
- 639
+ 641
],
"kanbanAggregateOperation": [
27
],
"kanbanAggregateOperationFieldMetadataId": [
- 528
+ 529
],
"kanbanColumnWidth": [
10
],
"mainGroupByFieldMetadataId": [
- 528
+ 529
],
"openRecordIn": [
- 649
+ 651
],
"shouldHideEmptyGroups": [
4
],
"type": [
- 652
+ 654
],
"__typename": [
1
@@ -14733,13 +14770,13 @@ export default {
},
"UpsertViewWidgetViewSortInput": {
"direction": [
- 651
+ 653
],
"fieldMetadataId": [
- 528
+ 529
],
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -14753,22 +14790,22 @@ export default {
211
],
"timeSeries": [
- 623
+ 625
],
"usageByApplication": [
- 612
+ 614
],
"usageByModel": [
- 612
+ 614
],
"usageByOperationType": [
- 612
+ 614
],
"usageByUser": [
- 612
+ 614
],
"userDailyUsage": [
- 625
+ 627
],
"__typename": [
1
@@ -14776,7 +14813,7 @@ export default {
},
"UsageAnalyticsInput": {
"operationTypes": [
- 615
+ 617
],
"periodEnd": [
211
@@ -14819,7 +14856,7 @@ export default {
211
],
"id": [
- 528
+ 529
],
"limitKind": [
1
@@ -14828,7 +14865,7 @@ export default {
98
],
"operationType": [
- 615
+ 617
],
"periodCount": [
10
@@ -14837,7 +14874,7 @@ export default {
1
],
"resourceType": [
- 622
+ 624
],
"spenderId": [
1
@@ -14846,7 +14883,7 @@ export default {
1
],
"unit": [
- 624
+ 626
],
"updatedAt": [
211
@@ -14857,10 +14894,10 @@ export default {
},
"UsageLimitOperationDefinition": {
"allowedUnits": [
- 624
+ 626
],
"operationType": [
- 615
+ 617
],
"__typename": [
1
@@ -14869,7 +14906,7 @@ export default {
"UsageOperationType": {},
"UsageQuotaDefinition": {
"allowedOperations": [
- 614
+ 616
],
"allowedSpenderTypes": [
1
@@ -14878,10 +14915,10 @@ export default {
1
],
"operatorOnlyScopes": [
- 618
+ 620
],
"resourceType": [
- 622
+ 624
],
"__typename": [
1
@@ -14889,7 +14926,7 @@ export default {
},
"UsageQuotaDefinitions": {
"definitions": [
- 616
+ 618
],
"hasAllowancePeriod": [
4
@@ -14903,7 +14940,7 @@ export default {
},
"UsageQuotaOperatorOnlyScope": {
"operationType": [
- 615
+ 617
],
"periodUnit": [
1
@@ -14912,7 +14949,7 @@ export default {
1
],
"unit": [
- 624
+ 626
],
"__typename": [
1
@@ -14934,13 +14971,13 @@ export default {
},
"UsageQuotaScopeInput": {
"operationType": [
- 615
+ 617
],
"periodUnit": [
1
],
"resourceType": [
- 622
+ 624
],
"spenderId": [
1
@@ -14949,7 +14986,7 @@ export default {
1
],
"unit": [
- 624
+ 626
],
"__typename": [
1
@@ -14960,7 +14997,7 @@ export default {
98
],
"id": [
- 528
+ 529
],
"isEnforced": [
4
@@ -14969,7 +15006,7 @@ export default {
98
],
"operationType": [
- 615
+ 617
],
"periodEnd": [
211
@@ -14984,7 +15021,7 @@ export default {
98
],
"resourceType": [
- 622
+ 624
],
"spenderId": [
1
@@ -14996,7 +15033,7 @@ export default {
1
],
"unit": [
- 624
+ 626
],
"__typename": [
1
@@ -15020,7 +15057,7 @@ export default {
"UsageUnit": {},
"UsageUserDaily": {
"dailyUsage": [
- 623
+ 625
],
"userWorkspaceId": [
1
@@ -15043,10 +15080,10 @@ export default {
211
],
"currentUserWorkspace": [
- 630
+ 632
],
"currentWorkspace": [
- 661
+ 663
],
"deletedAt": [
211
@@ -15067,7 +15104,7 @@ export default {
4
],
"id": [
- 528
+ 529
],
"isEmailVerified": [
4
@@ -15082,10 +15119,10 @@ export default {
1
],
"onboardingStatus": [
- 393
+ 394
],
"previousOnboardingStatus": [
- 393
+ 394
],
"supportUserHash": [
1
@@ -15094,19 +15131,19 @@ export default {
211
],
"userVars": [
- 315
+ 316
],
"userWorkspaces": [
- 630
+ 632
],
"workspaceMember": [
- 670
+ 672
],
"workspaceMembers": [
- 670
+ 672
],
"workspaces": [
- 630
+ 632
],
"__typename": [
1
@@ -15132,7 +15169,7 @@ export default {
1
],
"options": [
- 314
+ 315
],
"type": [
1
@@ -15162,7 +15199,7 @@ export default {
211
],
"id": [
- 528
+ 529
],
"ipAddress": [
1
@@ -15183,7 +15220,7 @@ export default {
1
],
"workspaceId": [
- 528
+ 529
],
"__typename": [
1
@@ -15197,7 +15234,7 @@ export default {
211
],
"id": [
- 528
+ 529
],
"isImpersonating": [
4
@@ -15206,25 +15243,25 @@ export default {
1
],
"objectPermissions": [
- 385
+ 386
],
"objectsPermissions": [
- 385
+ 386
],
"permissionFlags": [
- 410
+ 411
],
"twoFactorAuthenticationMethodSummary": [
- 524
+ 525
],
"updatedAt": [
211
],
"user": [
- 626
+ 628
],
"userId": [
- 528
+ 529
],
"__typename": [
1
@@ -15232,7 +15269,7 @@ export default {
},
"ValidateApprovedAccessDomainInput": {
"approvedAccessDomainId": [
- 528
+ 529
],
"validationToken": [
1
@@ -15249,7 +15286,7 @@ export default {
4
],
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -15260,7 +15297,7 @@ export default {
1
],
"errorFieldMetadataId": [
- 528
+ 529
],
"expression": [
1
@@ -15269,7 +15306,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isActive": [
4
@@ -15281,7 +15318,7 @@ export default {
1
],
"objectMetadataId": [
- 528
+ 529
],
"__typename": [
1
@@ -15312,7 +15349,7 @@ export default {
83
],
"workspaceUrls": [
- 679
+ 681
],
"__typename": [
1
@@ -15342,22 +15379,22 @@ export default {
1
],
"applicationId": [
- 528
+ 529
],
"calendarEndFieldMetadataId": [
- 528
+ 529
],
"calendarFieldMetadataId": [
- 528
+ 529
],
"calendarLayout": [
- 639
+ 641
],
"createdAt": [
211
],
"createdByUserWorkspaceId": [
- 528
+ 529
],
"deletedAt": [
211
@@ -15369,7 +15406,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isActive": [
4
@@ -15387,25 +15424,25 @@ export default {
27
],
"kanbanAggregateOperationFieldMetadataId": [
- 528
+ 529
],
"kanbanColumnWidth": [
10
],
"key": [
- 648
+ 650
],
"mainGroupByFieldMetadataId": [
- 528
+ 529
],
"name": [
1
],
"objectMetadataId": [
- 528
+ 529
],
"openRecordIn": [
- 649
+ 651
],
"position": [
6
@@ -15414,37 +15451,37 @@ export default {
4
],
"type": [
- 652
+ 654
],
"universalIdentifier": [
- 528
+ 529
],
"updatedAt": [
211
],
"viewFieldGroups": [
- 642
+ 644
],
"viewFields": [
- 641
+ 643
],
"viewFilterGroups": [
- 644
+ 646
],
"viewFilters": [
- 643
+ 645
],
"viewGroups": [
- 647
+ 649
],
"viewSorts": [
- 650
+ 652
],
"visibility": [
- 653
+ 655
],
"workspaceId": [
- 528
+ 529
],
"__typename": [
1
@@ -15453,7 +15490,7 @@ export default {
"ViewCalendarLayout": {},
"ViewConfiguration": {
"configurationType": [
- 656
+ 658
],
"__typename": [
1
@@ -15464,7 +15501,7 @@ export default {
27
],
"applicationId": [
- 528
+ 529
],
"createdAt": [
211
@@ -15473,10 +15510,10 @@ export default {
211
],
"fieldMetadataId": [
- 528
+ 529
],
"id": [
- 528
+ 529
],
"isActive": [
4
@@ -15497,19 +15534,19 @@ export default {
6
],
"universalIdentifier": [
- 528
+ 529
],
"updatedAt": [
211
],
"viewFieldGroupId": [
- 528
+ 529
],
"viewId": [
- 528
+ 529
],
"workspaceId": [
- 528
+ 529
],
"__typename": [
1
@@ -15523,7 +15560,7 @@ export default {
211
],
"id": [
- 528
+ 529
],
"isActive": [
4
@@ -15544,13 +15581,13 @@ export default {
211
],
"viewFields": [
- 641
+ 643
],
"viewId": [
- 528
+ 529
],
"workspaceId": [
- 528
+ 529
],
"__typename": [
1
@@ -15564,19 +15601,19 @@ export default {
211
],
"fieldMetadataId": [
- 528
+ 529
],
"id": [
- 528
+ 529
],
"operand": [
- 646
+ 648
],
"positionInViewFilterGroup": [
6
],
"relationTargetFieldMetadataId": [
- 528
+ 529
],
"subFieldName": [
1
@@ -15585,16 +15622,16 @@ export default {
211
],
"value": [
- 314
+ 315
],
"viewFilterGroupId": [
- 528
+ 529
],
"viewId": [
- 528
+ 529
],
"workspaceId": [
- 528
+ 529
],
"__typename": [
1
@@ -15608,13 +15645,13 @@ export default {
211
],
"id": [
- 528
+ 529
],
"logicalOperator": [
- 645
+ 647
],
"parentViewFilterGroupId": [
- 528
+ 529
],
"positionInViewFilterGroup": [
6
@@ -15623,10 +15660,10 @@ export default {
211
],
"viewId": [
- 528
+ 529
],
"workspaceId": [
- 528
+ 529
],
"__typename": [
1
@@ -15645,7 +15682,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"isVisible": [
4
@@ -15657,10 +15694,10 @@ export default {
211
],
"viewId": [
- 528
+ 529
],
"workspaceId": [
- 528
+ 529
],
"__typename": [
1
@@ -15676,13 +15713,13 @@ export default {
211
],
"direction": [
- 651
+ 653
],
"fieldMetadataId": [
- 528
+ 529
],
"id": [
- 528
+ 529
],
"subFieldName": [
1
@@ -15691,10 +15728,10 @@ export default {
211
],
"viewId": [
- 528
+ 529
],
"workspaceId": [
- 528
+ 529
],
"__typename": [
1
@@ -15705,7 +15742,7 @@ export default {
"ViewVisibility": {},
"Webhook": {
"applicationId": [
- 528
+ 529
],
"createdAt": [
211
@@ -15717,13 +15754,13 @@ export default {
1
],
"id": [
- 528
+ 529
],
"operations": [
1
],
"role": [
- 451
+ 452
],
"secret": [
1
@@ -15788,43 +15825,43 @@ export default {
297
],
"on_LineChartConfiguration": [
- 318
+ 319
],
"on_MessageCampaignBodyConfiguration": [
- 342
+ 343
],
"on_MessageCampaignDetailsConfiguration": [
- 343
+ 344
],
"on_NotesConfiguration": [
- 376
+ 377
],
"on_PieChartConfiguration": [
- 411
+ 412
],
"on_RecordTableConfiguration": [
- 441
+ 442
],
"on_StandaloneRichTextConfiguration": [
- 495
+ 496
],
"on_TasksConfiguration": [
- 505
+ 506
],
"on_TimelineConfiguration": [
- 509
+ 510
],
"on_ViewConfiguration": [
- 640
+ 642
],
"on_WorkflowConfiguration": [
- 658
+ 660
],
"on_WorkflowRunConfiguration": [
- 659
+ 661
],
"on_WorkflowVersionConfiguration": [
- 660
+ 662
],
"__typename": [
1
@@ -15834,7 +15871,7 @@ export default {
"WidgetType": {},
"WorkflowConfiguration": {
"configurationType": [
- 656
+ 658
],
"__typename": [
1
@@ -15842,7 +15879,7 @@ export default {
},
"WorkflowRunConfiguration": {
"configurationType": [
- 656
+ 658
],
"__typename": [
1
@@ -15850,7 +15887,7 @@ export default {
},
"WorkflowVersionConfiguration": {
"configurationType": [
- 656
+ 658
],
"__typename": [
1
@@ -15858,7 +15895,7 @@ export default {
},
"Workspace": {
"activationStatus": [
- 662
+ 664
],
"aiAdditionalInstructions": [
1
@@ -15873,12 +15910,12 @@ export default {
1
],
"aiModelIdByTier": [
- 314
+ 315
],
"allowImpersonation": [
4
],
- "allowedIframeOrigins": [
+ "allowedEmbeddingOrigins": [
1
],
"billingCustomer": [
@@ -15903,7 +15940,7 @@ export default {
1
],
"defaultRole": [
- 451
+ 452
],
"deletedAt": [
211
@@ -15927,7 +15964,10 @@ export default {
4
],
"id": [
- 528
+ 529
+ ],
+ "iframeMediaPermissions": [
+ 298
],
"installedApplications": [
46
@@ -15981,7 +16021,7 @@ export default {
1
],
"logoFileId": [
- 528
+ 529
],
"metadataVersion": [
6
@@ -15996,22 +16036,22 @@ export default {
211
],
"viewFields": [
- 641
+ 643
],
"viewFilterGroups": [
- 644
+ 646
],
"viewFilters": [
- 643
+ 645
],
"viewGroups": [
- 647
+ 649
],
"viewSorts": [
- 650
+ 652
],
"views": [
- 638
+ 640
],
"workspaceCustomApplication": [
46
@@ -16020,13 +16060,13 @@ export default {
1
],
"workspaceDiscoverability": [
- 667
+ 669
],
"workspaceMembersCount": [
6
],
"workspaceUrls": [
- 679
+ 681
],
"__typename": [
1
@@ -16050,19 +16090,19 @@ export default {
"WorkspaceCompanyEnrichmentOutcome": {},
"WorkspaceCompanyEnrichmentResult": {
"enrichment": [
- 314
+ 315
],
"isBookCallOnboardingStepPending": [
4
],
"outcome": [
- 664
+ 666
],
"personEnrichment": [
- 314
+ 315
],
"personOutcome": [
- 677
+ 679
],
"__typename": [
1
@@ -16088,10 +16128,10 @@ export default {
211
],
"id": [
- 528
+ 529
],
"roleId": [
- 528
+ 529
],
"__typename": [
1
@@ -16116,10 +16156,10 @@ export default {
1
],
"dateFormat": [
- 672
+ 674
],
"id": [
- 528
+ 529
],
"locale": [
1
@@ -16128,16 +16168,16 @@ export default {
289
],
"numberFormat": [
- 673
+ 675
],
"openRecordIn": [
- 396
+ 397
],
"roles": [
- 451
+ 452
],
"timeFormat": [
- 674
+ 676
],
"timeZone": [
1
@@ -16149,10 +16189,10 @@ export default {
1
],
"userId": [
- 528
+ 529
],
"userWorkspaceId": [
- 528
+ 529
],
"__typename": [
1
@@ -16160,13 +16200,13 @@ export default {
},
"WorkspaceMemberApplicationVariables": {
"userWorkspaceId": [
- 528
+ 529
],
"variables": [
- 627
+ 629
],
"workspaceMemberId": [
- 528
+ 529
],
"__typename": [
1
@@ -16177,7 +16217,7 @@ export default {
"WorkspaceMemberTimeFormatEnum": {},
"WorkspaceMigration": {
"actions": [
- 314
+ 315
],
"applicationUniversalIdentifier": [
1
@@ -16191,7 +16231,7 @@ export default {
1
],
"id": [
- 528
+ 529
],
"__typename": [
1
@@ -16212,10 +16252,10 @@ export default {
},
"WorkspaceUrlsAndId": {
"id": [
- 528
+ 529
],
"workspaceUrls": [
- 679
+ 681
],
"__typename": [
1
diff --git a/packages/twenty-front/src/generated-metadata/graphql.ts b/packages/twenty-front/src/generated-metadata/graphql.ts
index 314e9558749..bedbffafc83 100644
--- a/packages/twenty-front/src/generated-metadata/graphql.ts
+++ b/packages/twenty-front/src/generated-metadata/graphql.ts
@@ -2517,7 +2517,7 @@ export type CurrentBillingSubscriptionFragmentFragment = { __typename: 'BillingS
| { __typename: 'BillingMeteredProduct', name: string, description: string, images: Array<string> | null, metadata: { __typename: 'BillingProductMetadata', productKey: Types.BillingProductKey, planKey: Types.BillingPlanKey, priceUsageBased: Types.BillingUsageType, isLegacy: string | null } }
}> | null };
-export type UserQueryFragmentFragment = { __typename: 'User', id: string, firstName: string, lastName: string, email: string, hasPassword: boolean, canAccessFullAdminPanel: boolean, canImpersonate: boolean, supportUserHash: string | null, onboardingStatus: Types.OnboardingStatus | null, previousOnboardingStatus: Types.OnboardingStatus | null, isWorkspaceCreator: boolean | null, userVars: any, workspaceMember: { __typename: 'WorkspaceMember', id: string, colorScheme: string, uiScale: string, openRecordIn: Types.OpenRecordIn, avatarUrl: string | null, locale: string | null, userEmail: string, userId: string, userWorkspaceId: string | null, timeZone: string | null, dateFormat: Types.WorkspaceMemberDateFormatEnum | null, timeFormat: Types.WorkspaceMemberTimeFormatEnum | null, calendarStartDay: number | null, numberFormat: Types.WorkspaceMemberNumberFormatEnum | null, name: { __typename: 'FullName', firstName: string, lastName: string } } | null, workspaceMembers: Array<{ __typename: 'WorkspaceMember', id: string, avatarUrl: string | null, userEmail: string, userId: string, userWorkspaceId: string | null, name: { __typename: 'FullName', firstName: string, lastName: string } }> | null, deletedWorkspaceMembers: Array<{ __typename: 'DeletedWorkspaceMember', id: string, avatarUrl: string | null, userEmail: string, name: { __typename: 'FullName', firstName: string, lastName: string } }> | null, currentUserWorkspace: { __typename: 'UserWorkspace', id: string, permissionFlags: Array<Types.PermissionFlagType> | null, isImpersonating: boolean | null, objectsPermissions: Array<{ __typename: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords: boolean | null, canUpdateObjectRecords: boolean | null, canSoftDeleteObjectRecords: boolean | null, canDestroyObjectRecords: boolean | null, restrictedFields: any, rowLevelPermissionPredicates: Array<{ __typename: 'RowLevelPermissionPredicate', id: string, fieldMetadataId: string, objectMetadataId: string, operand: Types.RowLevelPermissionPredicateOperand, subFieldName: string | null, workspaceMemberFieldMetadataId: string | null, workspaceMemberSubFieldName: string | null, rowLevelPermissionPredicateGroupId: string | null, positionInRowLevelPermissionPredicateGroup: number | null, roleId: string, value: any }> | null, rowLevelPermissionPredicateGroups: Array<{ __typename: 'RowLevelPermissionPredicateGroup', id: string, parentRowLevelPermissionPredicateGroupId: string | null, logicalOperator: Types.RowLevelPermissionPredicateGroupLogicalOperator, positionInRowLevelPermissionPredicateGroup: number | null, roleId: string, objectMetadataId: string }> | null }> | null, twoFactorAuthenticationMethodSummary: Array<{ __typename: 'TwoFactorAuthenticationMethodSummary', twoFactorAuthenticationMethodId: string, status: string, strategy: string }> | null } | null, currentWorkspace: { __typename: 'Workspace', id: string, displayName: string | null, logo: string | null, inviteHash: string | null, allowImpersonation: boolean, activationStatus: Types.WorkspaceActivationStatus, isPublicInviteLinkEnabled: boolean, isCampaignClickTrackingEnabled: boolean, isCampaignOpenTrackingEnabled: boolean, workspaceDiscoverability: Types.WorkspaceDiscoverability, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, isGoogleAuthBypassEnabled: boolean, isMicrosoftAuthBypassEnabled: boolean, isPasswordAuthBypassEnabled: boolean, subdomain: string, customDomain: string | null, hasValidSignedEnterpriseKey: boolean, hasValidEnterpriseValidityToken: boolean, isCustomDomainEnabled: boolean, isTrialAvailable: boolean, workspaceMembersCount: number | null, aiChatModelTier: Types.AiModelTier, aiAgentModelTier: Types.AiModelTier, isAutoModelSelectionEnabled: boolean, aiModelIdByTier: any, aiAdditionalInstructions: string | null, isTwoFactorAuthenticationEnforced: boolean, trashRetentionDays: number, eventLogRetentionDays: number, editableProfileFields: Array<string> | null, isInternalMessagesImportEnabled: boolean, workspaceCustomApplication: { __typename: 'Application', id: string } | null, installedApplications: Array<{ __typename: 'Application', id: string, name: string, description: string | null, universalIdentifier: string, logoUrl: string | null, createdAt: string }>, workspaceUrls: { __typename: 'WorkspaceUrls', subdomainUrl: string, customUrl: string | null }, featureFlags: Array<{ __typename: 'FeatureFlag', key: Types.FeatureFlagKey, value: boolean }> | null, currentBillingSubscription: { __typename: 'BillingSubscription', id: string, status: Types.SubscriptionStatus, interval: Types.SubscriptionInterval | null, metadata: any, currentPeriodEnd: string | null, cancelAt: string | null, collectionMethod: Types.BillingSubscriptionCollectionMethod | null, hasUserCredits: boolean | null, phases: Array<{ __typename: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity: number | null }> }>, billingSubscriptionItems: Array<{ __typename: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity: number | null, stripePriceId: string, unitAmount: number | null, creditAmount: number | null, billingProduct:
+export type UserQueryFragmentFragment = { __typename: 'User', id: string, firstName: string, lastName: string, email: string, hasPassword: boolean, canAccessFullAdminPanel: boolean, canImpersonate: boolean, supportUserHash: string | null, onboardingStatus: Types.OnboardingStatus | null, previousOnboardingStatus: Types.OnboardingStatus | null, isWorkspaceCreator: boolean | null, userVars: any, workspaceMember: { __typename: 'WorkspaceMember', id: string, colorScheme: string, uiScale: string, openRecordIn: Types.OpenRecordIn, avatarUrl: string | null, locale: string | null, userEmail: string, userId: string, userWorkspaceId: string | null, timeZone: string | null, dateFormat: Types.WorkspaceMemberDateFormatEnum | null, timeFormat: Types.WorkspaceMemberTimeFormatEnum | null, calendarStartDay: number | null, numberFormat: Types.WorkspaceMemberNumberFormatEnum | null, name: { __typename: 'FullName', firstName: string, lastName: string } } | null, workspaceMembers: Array<{ __typename: 'WorkspaceMember', id: string, avatarUrl: string | null, userEmail: string, userId: string, userWorkspaceId: string | null, name: { __typename: 'FullName', firstName: string, lastName: string } }> | null, deletedWorkspaceMembers: Array<{ __typename: 'DeletedWorkspaceMember', id: string, avatarUrl: string | null, userEmail: string, name: { __typename: 'FullName', firstName: string, lastName: string } }> | null, currentUserWorkspace: { __typename: 'UserWorkspace', id: string, permissionFlags: Array<Types.PermissionFlagType> | null, isImpersonating: boolean | null, objectsPermissions: Array<{ __typename: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords: boolean | null, canUpdateObjectRecords: boolean | null, canSoftDeleteObjectRecords: boolean | null, canDestroyObjectRecords: boolean | null, restrictedFields: any, rowLevelPermissionPredicates: Array<{ __typename: 'RowLevelPermissionPredicate', id: string, fieldMetadataId: string, objectMetadataId: string, operand: Types.RowLevelPermissionPredicateOperand, subFieldName: string | null, workspaceMemberFieldMetadataId: string | null, workspaceMemberSubFieldName: string | null, rowLevelPermissionPredicateGroupId: string | null, positionInRowLevelPermissionPredicateGroup: number | null, roleId: string, value: any }> | null, rowLevelPermissionPredicateGroups: Array<{ __typename: 'RowLevelPermissionPredicateGroup', id: string, parentRowLevelPermissionPredicateGroupId: string | null, logicalOperator: Types.RowLevelPermissionPredicateGroupLogicalOperator, positionInRowLevelPermissionPredicateGroup: number | null, roleId: string, objectMetadataId: string }> | null }> | null, twoFactorAuthenticationMethodSummary: Array<{ __typename: 'TwoFactorAuthenticationMethodSummary', twoFactorAuthenticationMethodId: string, status: string, strategy: string }> | null } | null, currentWorkspace: { __typename: 'Workspace', id: string, displayName: string | null, logo: string | null, inviteHash: string | null, allowImpersonation: boolean, activationStatus: Types.WorkspaceActivationStatus, isPublicInviteLinkEnabled: boolean, isCampaignClickTrackingEnabled: boolean, isCampaignOpenTrackingEnabled: boolean, workspaceDiscoverability: Types.WorkspaceDiscoverability, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, isGoogleAuthBypassEnabled: boolean, isMicrosoftAuthBypassEnabled: boolean, isPasswordAuthBypassEnabled: boolean, subdomain: string, customDomain: string | null, hasValidSignedEnterpriseKey: boolean, hasValidEnterpriseValidityToken: boolean, isCustomDomainEnabled: boolean, isTrialAvailable: boolean, workspaceMembersCount: number | null, aiChatModelTier: Types.AiModelTier, aiAgentModelTier: Types.AiModelTier, isAutoModelSelectionEnabled: boolean, aiModelIdByTier: any, aiAdditionalInstructions: string | null, isTwoFactorAuthenticationEnforced: boolean, trashRetentionDays: number, eventLogRetentionDays: number, editableProfileFields: Array<string> | null, isInternalMessagesImportEnabled: boolean, workspaceCustomApplication: { __typename: 'Application', id: string } | null, installedApplications: Array<{ __typename: 'Application', id: string, name: string, description: string | null, universalIdentifier: string, logoUrl: string | null, createdAt: string }>, iframeMediaPermissions: Array<{ __typename: 'IframeMediaPermission', origin: string, microphone: boolean, camera: boolean }> | null, workspaceUrls: { __typename: 'WorkspaceUrls', subdomainUrl: string, customUrl: string | null }, featureFlags: Array<{ __typename: 'FeatureFlag', key: Types.FeatureFlagKey, value: boolean }> | null, currentBillingSubscription: { __typename: 'BillingSubscription', id: string, status: Types.SubscriptionStatus, interval: Types.SubscriptionInterval | null, metadata: any, currentPeriodEnd: string | null, cancelAt: string | null, collectionMethod: Types.BillingSubscriptionCollectionMethod | null, hasUserCredits: boolean | null, phases: Array<{ __typename: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity: number | null }> }>, billingSubscriptionItems: Array<{ __typename: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity: number | null, stripePriceId: string, unitAmount: number | null, creditAmount: number | null, billingProduct:
| { __typename: 'BillingLicensedProduct', name: string, description: string, images: Array<string> | null, metadata: { __typename: 'BillingProductMetadata', productKey: Types.BillingProductKey, planKey: Types.BillingPlanKey, priceUsageBased: Types.BillingUsageType, isLegacy: string | null } }
| { __typename: 'BillingMeteredProduct', name: string, description: string, images: Array<string> | null, metadata: { __typename: 'BillingProductMetadata', productKey: Types.BillingProductKey, planKey: Types.BillingPlanKey, priceUsageBased: Types.BillingUsageType, isLegacy: string | null } }
}> | null } | null, billingCustomer: { __typename: 'BillingCustomer', id: string, hasPaymentMethod: boolean | null, userCreditsFallback: Types.UserCreditsFallback } | null, billingSubscriptions: Array<{ __typename: 'BillingSubscription', id: string, status: Types.SubscriptionStatus, metadata: any, cancelAt: string | null, phases: Array<{ __typename: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity: number | null }> }> }>, billingEntitlements: Array<{ __typename: 'BillingEntitlement', key: Types.BillingEntitlementKey, value: boolean }>, defaultRole: { __typename: 'Role', id: string, label: string, description: string | null, icon: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, canAccessAllAgentChatChannels: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean, canBeAssignedToUsers: boolean, canBeAssignedToAgents: boolean, canBeAssignedToApiKeys: boolean, applicationId: string, universalIdentifier: string | null } | null } | null, availableWorkspaces: { __typename: 'AvailableWorkspaces', availableWorkspacesForSignIn: Array<{ __typename: 'AvailableWorkspace', id: string, displayName: string | null, loginToken: string | null, inviteHash: string | null, personalInviteToken: string | null, logo: string | null, workspaceUrls: { __typename: 'WorkspaceUrls', subdomainUrl: string, customUrl: string | null }, sso: Array<{ __typename: 'SSOConnection', type: Types.IdentityProviderType, id: string, issuer: string, name: string, status: Types.SsoIdentityProviderStatus }> }>, availableWorkspacesForSignUp: Array<{ __typename: 'AvailableWorkspace', id: string, displayName: string | null, loginToken: string | null, inviteHash: string | null, personalInviteToken: string | null, logo: string | null, workspaceUrls: { __typename: 'WorkspaceUrls', subdomainUrl: string, customUrl: string | null }, sso: Array<{ __typename: 'SSOConnection', type: Types.IdentityProviderType, id: string, issuer: string, name: string, status: Types.SsoIdentityProviderStatus }> }> } };
@@ -2539,7 +2539,7 @@ export type DeleteUserWorkspaceMutation = { deleteUserFromWorkspace: { __typenam
export type GetCurrentUserQueryVariables = Exact<{ [key: string]: never; }>;
-export type GetCurrentUserQuery = { currentUser: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, hasPassword: boolean, canAccessFullAdminPanel: boolean, canImpersonate: boolean, supportUserHash: string | null, onboardingStatus: Types.OnboardingStatus | null, previousOnboardingStatus: Types.OnboardingStatus | null, isWorkspaceCreator: boolean | null, userVars: any, workspaceMember: { __typename: 'WorkspaceMember', id: string, colorScheme: string, uiScale: string, openRecordIn: Types.OpenRecordIn, avatarUrl: string | null, locale: string | null, userEmail: string, userId: string, userWorkspaceId: string | null, timeZone: string | null, dateFormat: Types.WorkspaceMemberDateFormatEnum | null, timeFormat: Types.WorkspaceMemberTimeFormatEnum | null, calendarStartDay: number | null, numberFormat: Types.WorkspaceMemberNumberFormatEnum | null, name: { __typename: 'FullName', firstName: string, lastName: string } } | null, workspaceMembers: Array<{ __typename: 'WorkspaceMember', id: string, avatarUrl: string | null, userEmail: string, userId: string, userWorkspaceId: string | null, name: { __typename: 'FullName', firstName: string, lastName: string } }> | null, deletedWorkspaceMembers: Array<{ __typename: 'DeletedWorkspaceMember', id: string, avatarUrl: string | null, userEmail: string, name: { __typename: 'FullName', firstName: string, lastName: string } }> | null, currentUserWorkspace: { __typename: 'UserWorkspace', id: string, permissionFlags: Array<Types.PermissionFlagType> | null, isImpersonating: boolean | null, objectsPermissions: Array<{ __typename: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords: boolean | null, canUpdateObjectRecords: boolean | null, canSoftDeleteObjectRecords: boolean | null, canDestroyObjectRecords: boolean | null, restrictedFields: any, rowLevelPermissionPredicates: Array<{ __typename: 'RowLevelPermissionPredicate', id: string, fieldMetadataId: string, objectMetadataId: string, operand: Types.RowLevelPermissionPredicateOperand, subFieldName: string | null, workspaceMemberFieldMetadataId: string | null, workspaceMemberSubFieldName: string | null, rowLevelPermissionPredicateGroupId: string | null, positionInRowLevelPermissionPredicateGroup: number | null, roleId: string, value: any }> | null, rowLevelPermissionPredicateGroups: Array<{ __typename: 'RowLevelPermissionPredicateGroup', id: string, parentRowLevelPermissionPredicateGroupId: string | null, logicalOperator: Types.RowLevelPermissionPredicateGroupLogicalOperator, positionInRowLevelPermissionPredicateGroup: number | null, roleId: string, objectMetadataId: string }> | null }> | null, twoFactorAuthenticationMethodSummary: Array<{ __typename: 'TwoFactorAuthenticationMethodSummary', twoFactorAuthenticationMethodId: string, status: string, strategy: string }> | null } | null, currentWorkspace: { __typename: 'Workspace', id: string, displayName: string | null, logo: string | null, inviteHash: string | null, allowImpersonation: boolean, activationStatus: Types.WorkspaceActivationStatus, isPublicInviteLinkEnabled: boolean, isCampaignClickTrackingEnabled: boolean, isCampaignOpenTrackingEnabled: boolean, workspaceDiscoverability: Types.WorkspaceDiscoverability, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, isGoogleAuthBypassEnabled: boolean, isMicrosoftAuthBypassEnabled: boolean, isPasswordAuthBypassEnabled: boolean, subdomain: string, customDomain: string | null, hasValidSignedEnterpriseKey: boolean, hasValidEnterpriseValidityToken: boolean, isCustomDomainEnabled: boolean, isTrialAvailable: boolean, workspaceMembersCount: number | null, aiChatModelTier: Types.AiModelTier, aiAgentModelTier: Types.AiModelTier, isAutoModelSelectionEnabled: boolean, aiModelIdByTier: any, aiAdditionalInstructions: string | null, isTwoFactorAuthenticationEnforced: boolean, trashRetentionDays: number, eventLogRetentionDays: number, editableProfileFields: Array<string> | null, isInternalMessagesImportEnabled: boolean, workspaceCustomApplication: { __typename: 'Application', id: string } | null, installedApplications: Array<{ __typename: 'Application', id: string, name: string, description: string | null, universalIdentifier: string, logoUrl: string | null, createdAt: string }>, workspaceUrls: { __typename: 'WorkspaceUrls', subdomainUrl: string, customUrl: string | null }, featureFlags: Array<{ __typename: 'FeatureFlag', key: Types.FeatureFlagKey, value: boolean }> | null, currentBillingSubscription: { __typename: 'BillingSubscription', id: string, status: Types.SubscriptionStatus, interval: Types.SubscriptionInterval | null, metadata: any, currentPeriodEnd: string | null, cancelAt: string | null, collectionMethod: Types.BillingSubscriptionCollectionMethod | null, hasUserCredits: boolean | null, phases: Array<{ __typename: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity: number | null }> }>, billingSubscriptionItems: Array<{ __typename: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity: number | null, stripePriceId: string, unitAmount: number | null, creditAmount: number | null, billingProduct:
+export type GetCurrentUserQuery = { currentUser: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, hasPassword: boolean, canAccessFullAdminPanel: boolean, canImpersonate: boolean, supportUserHash: string | null, onboardingStatus: Types.OnboardingStatus | null, previousOnboardingStatus: Types.OnboardingStatus | null, isWorkspaceCreator: boolean | null, userVars: any, workspaceMember: { __typename: 'WorkspaceMember', id: string, colorScheme: string, uiScale: string, openRecordIn: Types.OpenRecordIn, avatarUrl: string | null, locale: string | null, userEmail: string, userId: string, userWorkspaceId: string | null, timeZone: string | null, dateFormat: Types.WorkspaceMemberDateFormatEnum | null, timeFormat: Types.WorkspaceMemberTimeFormatEnum | null, calendarStartDay: number | null, numberFormat: Types.WorkspaceMemberNumberFormatEnum | null, name: { __typename: 'FullName', firstName: string, lastName: string } } | null, workspaceMembers: Array<{ __typename: 'WorkspaceMember', id: string, avatarUrl: string | null, userEmail: string, userId: string, userWorkspaceId: string | null, name: { __typename: 'FullName', firstName: string, lastName: string } }> | null, deletedWorkspaceMembers: Array<{ __typename: 'DeletedWorkspaceMember', id: string, avatarUrl: string | null, userEmail: string, name: { __typename: 'FullName', firstName: string, lastName: string } }> | null, currentUserWorkspace: { __typename: 'UserWorkspace', id: string, permissionFlags: Array<Types.PermissionFlagType> | null, isImpersonating: boolean | null, objectsPermissions: Array<{ __typename: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords: boolean | null, canUpdateObjectRecords: boolean | null, canSoftDeleteObjectRecords: boolean | null, canDestroyObjectRecords: boolean | null, restrictedFields: any, rowLevelPermissionPredicates: Array<{ __typename: 'RowLevelPermissionPredicate', id: string, fieldMetadataId: string, objectMetadataId: string, operand: Types.RowLevelPermissionPredicateOperand, subFieldName: string | null, workspaceMemberFieldMetadataId: string | null, workspaceMemberSubFieldName: string | null, rowLevelPermissionPredicateGroupId: string | null, positionInRowLevelPermissionPredicateGroup: number | null, roleId: string, value: any }> | null, rowLevelPermissionPredicateGroups: Array<{ __typename: 'RowLevelPermissionPredicateGroup', id: string, parentRowLevelPermissionPredicateGroupId: string | null, logicalOperator: Types.RowLevelPermissionPredicateGroupLogicalOperator, positionInRowLevelPermissionPredicateGroup: number | null, roleId: string, objectMetadataId: string }> | null }> | null, twoFactorAuthenticationMethodSummary: Array<{ __typename: 'TwoFactorAuthenticationMethodSummary', twoFactorAuthenticationMethodId: string, status: string, strategy: string }> | null } | null, currentWorkspace: { __typename: 'Workspace', id: string, displayName: string | null, logo: string | null, inviteHash: string | null, allowImpersonation: boolean, activationStatus: Types.WorkspaceActivationStatus, isPublicInviteLinkEnabled: boolean, isCampaignClickTrackingEnabled: boolean, isCampaignOpenTrackingEnabled: boolean, workspaceDiscoverability: Types.WorkspaceDiscoverability, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, isGoogleAuthBypassEnabled: boolean, isMicrosoftAuthBypassEnabled: boolean, isPasswordAuthBypassEnabled: boolean, subdomain: string, customDomain: string | null, hasValidSignedEnterpriseKey: boolean, hasValidEnterpriseValidityToken: boolean, isCustomDomainEnabled: boolean, isTrialAvailable: boolean, workspaceMembersCount: number | null, aiChatModelTier: Types.AiModelTier, aiAgentModelTier: Types.AiModelTier, isAutoModelSelectionEnabled: boolean, aiModelIdByTier: any, aiAdditionalInstructions: string | null, isTwoFactorAuthenticationEnforced: boolean, trashRetentionDays: number, eventLogRetentionDays: number, editableProfileFields: Array<string> | null, isInternalMessagesImportEnabled: boolean, workspaceCustomApplication: { __typename: 'Application', id: string } | null, installedApplications: Array<{ __typename: 'Application', id: string, name: string, description: string | null, universalIdentifier: string, logoUrl: string | null, createdAt: string }>, iframeMediaPermissions: Array<{ __typename: 'IframeMediaPermission', origin: string, microphone: boolean, camera: boolean }> | null, workspaceUrls: { __typename: 'WorkspaceUrls', subdomainUrl: string, customUrl: string | null }, featureFlags: Array<{ __typename: 'FeatureFlag', key: Types.FeatureFlagKey, value: boolean }> | null, currentBillingSubscription: { __typename: 'BillingSubscription', id: string, status: Types.SubscriptionStatus, interval: Types.SubscriptionInterval | null, metadata: any, currentPeriodEnd: string | null, cancelAt: string | null, collectionMethod: Types.BillingSubscriptionCollectionMethod | null, hasUserCredits: boolean | null, phases: Array<{ __typename: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity: number | null }> }>, billingSubscriptionItems: Array<{ __typename: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity: number | null, stripePriceId: string, unitAmount: number | null, creditAmount: number | null, billingProduct:
| { __typename: 'BillingLicensedProduct', name: string, description: string, images: Array<string> | null, metadata: { __typename: 'BillingProductMetadata', productKey: Types.BillingProductKey, planKey: Types.BillingPlanKey, priceUsageBased: Types.BillingUsageType, isLegacy: string | null } }
| { __typename: 'BillingMeteredProduct', name: string, description: string, images: Array<string> | null, metadata: { __typename: 'BillingProductMetadata', productKey: Types.BillingProductKey, planKey: Types.BillingPlanKey, priceUsageBased: Types.BillingUsageType, isLegacy: string | null } }
}> | null } | null, billingCustomer: { __typename: 'BillingCustomer', id: string, hasPaymentMethod: boolean | null, userCreditsFallback: Types.UserCreditsFallback } | null, billingSubscriptions: Array<{ __typename: 'BillingSubscription', id: string, status: Types.SubscriptionStatus, metadata: any, cancelAt: string | null, phases: Array<{ __typename: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity: number | null }> }> }>, billingEntitlements: Array<{ __typename: 'BillingEntitlement', key: Types.BillingEntitlementKey, value: boolean }>, defaultRole: { __typename: 'Role', id: string, label: string, description: string | null, icon: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, canAccessAllAgentChatChannels: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean, canBeAssignedToUsers: boolean, canBeAssignedToAgents: boolean, canBeAssignedToApiKeys: boolean, applicationId: string, universalIdentifier: string | null } | null } | null, availableWorkspaces: { __typename: 'AvailableWorkspaces', availableWorkspacesForSignIn: Array<{ __typename: 'AvailableWorkspace', id: string, displayName: string | null, loginToken: string | null, inviteHash: string | null, personalInviteToken: string | null, logo: string | null, workspaceUrls: { __typename: 'WorkspaceUrls', subdomainUrl: string, customUrl: string | null }, sso: Array<{ __typename: 'SSOConnection', type: Types.IdentityProviderType, id: string, issuer: string, name: string, status: Types.SsoIdentityProviderStatus }> }>, availableWorkspacesForSignUp: Array<{ __typename: 'AvailableWorkspace', id: string, displayName: string | null, loginToken: string | null, inviteHash: string | null, personalInviteToken: string | null, logo: string | null, workspaceUrls: { __typename: 'WorkspaceUrls', subdomainUrl: string, customUrl: string | null }, sso: Array<{ __typename: 'SSOConnection', type: Types.IdentityProviderType, id: string, issuer: string, name: string, status: Types.SsoIdentityProviderStatus }> }> } } };
@@ -2804,12 +2804,19 @@ export type UpdateWorkspaceMutationVariables = Exact<{
export type UpdateWorkspaceMutation = { updateWorkspace: { __typename: 'Workspace', id: string, customDomain: string | null, subdomain: string, displayName: string | null, logo: string | null, allowImpersonation: boolean, isPublicInviteLinkEnabled: boolean, isCampaignClickTrackingEnabled: boolean, isCampaignOpenTrackingEnabled: boolean, workspaceDiscoverability: Types.WorkspaceDiscoverability, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, isTwoFactorAuthenticationEnforced: boolean, isInternalMessagesImportEnabled: boolean, defaultRole: { __typename: 'Role', id: string, label: string, description: string | null, icon: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, canAccessAllAgentChatChannels: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean, canBeAssignedToUsers: boolean, canBeAssignedToAgents: boolean, canBeAssignedToApiKeys: boolean, applicationId: string, universalIdentifier: string | null } | null } };
-export type UpdateWorkspaceAllowedIframeOriginsMutationVariables = Exact<{
- input: Types.UpdateWorkspaceAllowedIframeOriginsInput;
+export type UpdateWorkspaceAllowedEmbeddingOriginsMutationVariables = Exact<{
+ input: Types.UpdateWorkspaceAllowedEmbeddingOriginsInput;
}>;
-export type UpdateWorkspaceAllowedIframeOriginsMutation = { updateWorkspaceAllowedIframeOrigins: { __typename: 'Workspace', id: string, allowedIframeOrigins: Array<string> | null } };
+export type UpdateWorkspaceAllowedEmbeddingOriginsMutation = { updateWorkspaceAllowedEmbeddingOrigins: { __typename: 'Workspace', id: string, allowedEmbeddingOrigins: Array<string> | null } };
+
+export type UpdateWorkspaceIframeMediaPermissionsMutationVariables = Exact<{
+ input: Types.UpdateWorkspaceIframeMediaPermissionsInput;
+}>;
+
+
+export type UpdateWorkspaceIframeMediaPermissionsMutation = { updateWorkspaceIframeMediaPermissions: { __typename: 'Workspace', id: string, iframeMediaPermissions: Array<{ __typename: 'IframeMediaPermission', origin: string, microphone: boolean, camera: boolean }> | null } };
export type CheckCustomDomainValidRecordsMutationVariables = Exact<{ [key: string]: never; }>;
@@ -2828,6 +2835,11 @@ export type GetPublicWorkspaceDataByIdQueryVariables = Exact<{
export type GetPublicWorkspaceDataByIdQuery = { getPublicWorkspaceDataById: { __typename: 'PublicWorkspaceDataSummary', id: string, displayName: string | null, logo: string | null } };
+export type GetWorkspaceAllowedEmbeddingOriginsQueryVariables = Exact<{ [key: string]: never; }>;
+
+
+export type GetWorkspaceAllowedEmbeddingOriginsQuery = { currentWorkspace: { __typename: 'Workspace', id: string, allowedEmbeddingOrigins: Array<string> | null } };
+
export type GetWorkspaceFromInviteHashQueryVariables = Exact<{
inviteHash: string;
}>;
@@ -2835,11 +2847,6 @@ export type GetWorkspaceFromInviteHashQueryVariables = Exact<{
export type GetWorkspaceFromInviteHashQuery = { findWorkspaceFromInviteHash: { __typename: 'Workspace', id: string, displayName: string | null, logo: string | null, allowImpersonation: boolean } };
-export type GetWorkspaceIframeOriginsQueryVariables = Exact<{ [key: string]: never; }>;
-
-
-export type GetWorkspaceIframeOriginsQuery = { currentWorkspace: { __typename: 'Workspace', id: string, allowedIframeOrigins: Array<string> | null } };
-
export type FindManyApplicationsForToolTableQueryVariables = Exact<{ [key: string]: never; }>;
@@ -2892,7 +2899,7 @@ export const BillingSubscriptionFragmentFragmentDoc = {"kind":"Document","defini
export const RoleFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"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":"canAccessAllAgentChatChannels"}},{"kind":"Field","name":{"kind":"Name","value":"isEditable"}},{"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":"canBeAssignedToUsers"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToAgents"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToApiKeys"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}}]}}]} as unknown as DocumentNode<RoleFragmentFragment, unknown>;
export const AvailableWorkspaceFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspaceFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspace"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"loginToken"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"personalInviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"sso"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issuer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}}]} as unknown as DocumentNode<AvailableWorkspaceFragmentFragment, unknown>;
export const AvailableWorkspacesFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspacesFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspaces"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignIn"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignUp"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspaceFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspace"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"loginToken"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"personalInviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"sso"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issuer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}}]} as unknown as DocumentNode<AvailableWorkspacesFragmentFragment, unknown>;
-export const UserQueryFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"hasPassword"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessFullAdminPanel"}},{"kind":"Field","name":{"kind":"Name","value":"canImpersonate"}},{"kind":"Field","name":{"kind":"Name","value":"supportUserHash"}},{"kind":"Field","name":{"kind":"Name","value":"onboardingStatus"}},{"kind":"Field","name":{"kind":"Name","value":"previousOnboardingStatus"}},{"kind":"Field","name":{"kind":"Name","value":"isWorkspaceCreator"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMember"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"deletedWorkspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentUserWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"permissionFlags"}},{"kind":"Field","name":{"kind":"Name","value":"isImpersonating"}},{"kind":"Field","name":{"kind":"Name","value":"objectsPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectPermissionFragment"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"strategy"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"allowImpersonation"}},{"kind":"Field","name":{"kind":"Name","value":"activationStatus"}},{"kind":"Field","name":{"kind":"Name","value":"isPublicInviteLinkEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isCampaignClickTrackingEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isCampaignOpenTrackingEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceDiscoverability"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"subdomain"}},{"kind":"Field","name":{"kind":"Name","value":"customDomain"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidSignedEnterpriseKey"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidEnterpriseValidityToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceCustomApplication"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"installedApplications"},"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":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceUrlsFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"featureFlags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingCustomer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasPaymentMethod"}},{"kind":"Field","name":{"kind":"Name","value":"userCreditsFallback"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingEntitlements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isTrialAvailable"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembersCount"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RoleFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"aiChatModelTier"}},{"kind":"Field","name":{"kind":"Name","value":"aiAgentModelTier"}},{"kind":"Field","name":{"kind":"Name","value":"isAutoModelSelectionEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"aiModelIdByTier"}},{"kind":"Field","name":{"kind":"Name","value":"aiAdditionalInstructions"}},{"kind":"Field","name":{"kind":"Name","value":"isTwoFactorAuthenticationEnforced"}},{"kind":"Field","name":{"kind":"Name","value":"trashRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"eventLogRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"editableProfileFields"}},{"kind":"Field","name":{"kind":"Name","value":"isInternalMessagesImportEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspaces"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspacesFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userVars"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspaceFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspace"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"loginToken"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"personalInviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"sso"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issuer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"colorScheme"}},{"kind":"Field","name":{"kind":"Name","value":"uiScale"}},{"kind":"Field","name":{"kind":"Name","value":"openRecordIn"}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"timeZone"}},{"kind":"Field","name":{"kind":"Name","value":"dateFormat"}},{"kind":"Field","name":{"kind":"Name","value":"timeFormat"}},{"kind":"Field","name":{"kind":"Name","value":"calendarStartDay"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DeletedWorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectPermissionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectPermission"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"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":"restrictedFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"operand"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberSubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"parentRowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"logicalOperator"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceUrlsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceUrls"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"hasUserCredits"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"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":"canAccessAllAgentChatChannels"}},{"kind":"Field","name":{"kind":"Name","value":"isEditable"}},{"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":"canBeAssignedToUsers"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToAgents"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToApiKeys"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspacesFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspaces"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignIn"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignUp"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}}]}}]} as unknown as DocumentNode<UserQueryFragmentFragment, unknown>;
+export const UserQueryFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"hasPassword"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessFullAdminPanel"}},{"kind":"Field","name":{"kind":"Name","value":"canImpersonate"}},{"kind":"Field","name":{"kind":"Name","value":"supportUserHash"}},{"kind":"Field","name":{"kind":"Name","value":"onboardingStatus"}},{"kind":"Field","name":{"kind":"Name","value":"previousOnboardingStatus"}},{"kind":"Field","name":{"kind":"Name","value":"isWorkspaceCreator"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMember"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"deletedWorkspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentUserWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"permissionFlags"}},{"kind":"Field","name":{"kind":"Name","value":"isImpersonating"}},{"kind":"Field","name":{"kind":"Name","value":"objectsPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectPermissionFragment"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"strategy"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"allowImpersonation"}},{"kind":"Field","name":{"kind":"Name","value":"activationStatus"}},{"kind":"Field","name":{"kind":"Name","value":"isPublicInviteLinkEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isCampaignClickTrackingEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isCampaignOpenTrackingEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceDiscoverability"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"subdomain"}},{"kind":"Field","name":{"kind":"Name","value":"customDomain"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidSignedEnterpriseKey"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidEnterpriseValidityToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceCustomApplication"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"installedApplications"},"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":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"iframeMediaPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"origin"}},{"kind":"Field","name":{"kind":"Name","value":"microphone"}},{"kind":"Field","name":{"kind":"Name","value":"camera"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceUrlsFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"featureFlags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingCustomer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasPaymentMethod"}},{"kind":"Field","name":{"kind":"Name","value":"userCreditsFallback"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingEntitlements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isTrialAvailable"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembersCount"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RoleFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"aiChatModelTier"}},{"kind":"Field","name":{"kind":"Name","value":"aiAgentModelTier"}},{"kind":"Field","name":{"kind":"Name","value":"isAutoModelSelectionEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"aiModelIdByTier"}},{"kind":"Field","name":{"kind":"Name","value":"aiAdditionalInstructions"}},{"kind":"Field","name":{"kind":"Name","value":"isTwoFactorAuthenticationEnforced"}},{"kind":"Field","name":{"kind":"Name","value":"trashRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"eventLogRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"editableProfileFields"}},{"kind":"Field","name":{"kind":"Name","value":"isInternalMessagesImportEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspaces"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspacesFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userVars"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspaceFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspace"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"loginToken"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"personalInviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"sso"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issuer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"colorScheme"}},{"kind":"Field","name":{"kind":"Name","value":"uiScale"}},{"kind":"Field","name":{"kind":"Name","value":"openRecordIn"}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"timeZone"}},{"kind":"Field","name":{"kind":"Name","value":"dateFormat"}},{"kind":"Field","name":{"kind":"Name","value":"timeFormat"}},{"kind":"Field","name":{"kind":"Name","value":"calendarStartDay"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DeletedWorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectPermissionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectPermission"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"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":"restrictedFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"operand"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberSubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"parentRowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"logicalOperator"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceUrlsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceUrls"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"hasUserCredits"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"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":"canAccessAllAgentChatChannels"}},{"kind":"Field","name":{"kind":"Name","value":"isEditable"}},{"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":"canBeAssignedToUsers"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToAgents"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToApiKeys"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspacesFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspaces"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignIn"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignUp"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}}]}}]} as unknown as DocumentNode<UserQueryFragmentFragment, unknown>;
export const ValidationRuleFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ValidationRuleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ValidationRule"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"errorFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"expression"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}}]}}]} as unknown as DocumentNode<ValidationRuleFragmentFragment, unknown>;
export const ViewFieldFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ViewFieldFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"isVisible"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"viewFieldGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}}]}}]} as unknown as DocumentNode<ViewFieldFragmentFragment, unknown>;
export const ViewFieldGroupFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ViewFieldGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewFieldGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"isVisible"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}},{"kind":"Field","name":{"kind":"Name","value":"viewFields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ViewFieldFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ViewFieldFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"isVisible"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"viewFieldGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}}]}}]} as unknown as DocumentNode<ViewFieldGroupFragmentFragment, unknown>;
@@ -3197,7 +3204,7 @@ export const RemoveQueryFromEventStreamDocument = {"kind":"Document","definition
export const OnEventSubscriptionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"OnEventSubscription"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"eventStreamId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"onEventSubscription"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"eventStreamId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"eventStreamId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"eventStreamId"}},{"kind":"Field","name":{"kind":"Name","value":"objectRecordEventsWithQueryIds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectRecordEvent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"action"}},{"kind":"Field","name":{"kind":"Name","value":"objectNameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"recordId"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberId"}},{"kind":"Field","name":{"kind":"Name","value":"properties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updatedFields"}},{"kind":"Field","name":{"kind":"Name","value":"before"}},{"kind":"Field","name":{"kind":"Name","value":"after"}},{"kind":"Field","name":{"kind":"Name","value":"diff"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"queryIds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"metadataEvents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"metadataName"}},{"kind":"Field","name":{"kind":"Name","value":"recordId"}},{"kind":"Field","name":{"kind":"Name","value":"updatedCollectionHash"}},{"kind":"Field","name":{"kind":"Name","value":"properties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updatedFields"}},{"kind":"Field","name":{"kind":"Name","value":"before"}},{"kind":"Field","name":{"kind":"Name","value":"after"}},{"kind":"Field","name":{"kind":"Name","value":"diff"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"queueJobEvents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"jobId"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"attemptsMade"}},{"kind":"Field","name":{"kind":"Name","value":"failedReason"}},{"kind":"Field","name":{"kind":"Name","value":"progress"}},{"kind":"Field","name":{"kind":"Name","value":"enqueuedAt"}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"finishedAt"}}]}}]}}]}}]} as unknown as DocumentNode<OnEventSubscriptionSubscription, OnEventSubscriptionSubscriptionVariables>;
export const DeleteUserAccountDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteUserAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<DeleteUserAccountMutation, DeleteUserAccountMutationVariables>;
export const DeleteUserWorkspaceDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteUserWorkspace"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"workspaceMemberIdToDelete"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteUserFromWorkspace"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"workspaceMemberIdToDelete"},"value":{"kind":"Variable","name":{"kind":"Name","value":"workspaceMemberIdToDelete"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<DeleteUserWorkspaceMutation, DeleteUserWorkspaceMutationVariables>;
-export const GetCurrentUserDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCurrentUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserQueryFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"colorScheme"}},{"kind":"Field","name":{"kind":"Name","value":"uiScale"}},{"kind":"Field","name":{"kind":"Name","value":"openRecordIn"}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"timeZone"}},{"kind":"Field","name":{"kind":"Name","value":"dateFormat"}},{"kind":"Field","name":{"kind":"Name","value":"timeFormat"}},{"kind":"Field","name":{"kind":"Name","value":"calendarStartDay"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DeletedWorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectPermissionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectPermission"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"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":"restrictedFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"operand"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberSubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"parentRowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"logicalOperator"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceUrlsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceUrls"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"hasUserCredits"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"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":"canAccessAllAgentChatChannels"}},{"kind":"Field","name":{"kind":"Name","value":"isEditable"}},{"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":"canBeAssignedToUsers"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToAgents"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToApiKeys"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspaceFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspace"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"loginToken"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"personalInviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"sso"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issuer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspacesFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspaces"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignIn"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignUp"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"hasPassword"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessFullAdminPanel"}},{"kind":"Field","name":{"kind":"Name","value":"canImpersonate"}},{"kind":"Field","name":{"kind":"Name","value":"supportUserHash"}},{"kind":"Field","name":{"kind":"Name","value":"onboardingStatus"}},{"kind":"Field","name":{"kind":"Name","value":"previousOnboardingStatus"}},{"kind":"Field","name":{"kind":"Name","value":"isWorkspaceCreator"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMember"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"deletedWorkspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentUserWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"permissionFlags"}},{"kind":"Field","name":{"kind":"Name","value":"isImpersonating"}},{"kind":"Field","name":{"kind":"Name","value":"objectsPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectPermissionFragment"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"strategy"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"allowImpersonation"}},{"kind":"Field","name":{"kind":"Name","value":"activationStatus"}},{"kind":"Field","name":{"kind":"Name","value":"isPublicInviteLinkEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isCampaignClickTrackingEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isCampaignOpenTrackingEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceDiscoverability"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"subdomain"}},{"kind":"Field","name":{"kind":"Name","value":"customDomain"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidSignedEnterpriseKey"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidEnterpriseValidityToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceCustomApplication"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"installedApplications"},"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":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceUrlsFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"featureFlags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingCustomer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasPaymentMethod"}},{"kind":"Field","name":{"kind":"Name","value":"userCreditsFallback"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingEntitlements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isTrialAvailable"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembersCount"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RoleFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"aiChatModelTier"}},{"kind":"Field","name":{"kind":"Name","value":"aiAgentModelTier"}},{"kind":"Field","name":{"kind":"Name","value":"isAutoModelSelectionEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"aiModelIdByTier"}},{"kind":"Field","name":{"kind":"Name","value":"aiAdditionalInstructions"}},{"kind":"Field","name":{"kind":"Name","value":"isTwoFactorAuthenticationEnforced"}},{"kind":"Field","name":{"kind":"Name","value":"trashRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"eventLogRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"editableProfileFields"}},{"kind":"Field","name":{"kind":"Name","value":"isInternalMessagesImportEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspaces"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspacesFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userVars"}}]}}]} as unknown as DocumentNode<GetCurrentUserQuery, GetCurrentUserQueryVariables>;
+export const GetCurrentUserDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCurrentUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserQueryFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"colorScheme"}},{"kind":"Field","name":{"kind":"Name","value":"uiScale"}},{"kind":"Field","name":{"kind":"Name","value":"openRecordIn"}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"timeZone"}},{"kind":"Field","name":{"kind":"Name","value":"dateFormat"}},{"kind":"Field","name":{"kind":"Name","value":"timeFormat"}},{"kind":"Field","name":{"kind":"Name","value":"calendarStartDay"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DeletedWorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectPermissionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectPermission"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"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":"restrictedFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"operand"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberSubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"parentRowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"logicalOperator"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceUrlsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceUrls"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"hasUserCredits"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"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":"canAccessAllAgentChatChannels"}},{"kind":"Field","name":{"kind":"Name","value":"isEditable"}},{"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":"canBeAssignedToUsers"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToAgents"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToApiKeys"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspaceFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspace"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"loginToken"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"personalInviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"sso"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issuer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspacesFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspaces"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignIn"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignUp"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"hasPassword"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessFullAdminPanel"}},{"kind":"Field","name":{"kind":"Name","value":"canImpersonate"}},{"kind":"Field","name":{"kind":"Name","value":"supportUserHash"}},{"kind":"Field","name":{"kind":"Name","value":"onboardingStatus"}},{"kind":"Field","name":{"kind":"Name","value":"previousOnboardingStatus"}},{"kind":"Field","name":{"kind":"Name","value":"isWorkspaceCreator"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMember"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"deletedWorkspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentUserWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"permissionFlags"}},{"kind":"Field","name":{"kind":"Name","value":"isImpersonating"}},{"kind":"Field","name":{"kind":"Name","value":"objectsPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectPermissionFragment"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"strategy"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"allowImpersonation"}},{"kind":"Field","name":{"kind":"Name","value":"activationStatus"}},{"kind":"Field","name":{"kind":"Name","value":"isPublicInviteLinkEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isCampaignClickTrackingEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isCampaignOpenTrackingEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceDiscoverability"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"subdomain"}},{"kind":"Field","name":{"kind":"Name","value":"customDomain"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidSignedEnterpriseKey"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidEnterpriseValidityToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceCustomApplication"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"installedApplications"},"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":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"iframeMediaPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"origin"}},{"kind":"Field","name":{"kind":"Name","value":"microphone"}},{"kind":"Field","name":{"kind":"Name","value":"camera"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceUrlsFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"featureFlags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingCustomer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasPaymentMethod"}},{"kind":"Field","name":{"kind":"Name","value":"userCreditsFallback"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingEntitlements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isTrialAvailable"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembersCount"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RoleFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"aiChatModelTier"}},{"kind":"Field","name":{"kind":"Name","value":"aiAgentModelTier"}},{"kind":"Field","name":{"kind":"Name","value":"isAutoModelSelectionEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"aiModelIdByTier"}},{"kind":"Field","name":{"kind":"Name","value":"aiAdditionalInstructions"}},{"kind":"Field","name":{"kind":"Name","value":"isTwoFactorAuthenticationEnforced"}},{"kind":"Field","name":{"kind":"Name","value":"trashRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"eventLogRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"editableProfileFields"}},{"kind":"Field","name":{"kind":"Name","value":"isInternalMessagesImportEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspaces"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspacesFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userVars"}}]}}]} as unknown as DocumentNode<GetCurrentUserQuery, GetCurrentUserQueryVariables>;
export const CreateValidationRuleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateValidationRule"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateValidationRuleInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createValidationRule"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ValidationRuleFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ValidationRuleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ValidationRule"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"errorFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"expression"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}}]}}]} as unknown as DocumentNode<CreateValidationRuleMutation, CreateValidationRuleMutationVariables>;
export const DeleteValidationRuleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteValidationRule"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteValidationRule"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ValidationRuleFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ValidationRuleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ValidationRule"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"errorFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"expression"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}}]}}]} as unknown as DocumentNode<DeleteValidationRuleMutation, DeleteValidationRuleMutationVariables>;
export const UpdateValidationRuleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateValidationRule"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateValidationRuleInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateValidationRule"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ValidationRuleFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ValidationRuleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ValidationRule"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"errorFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"expression"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}}]}}]} as unknown as DocumentNode<UpdateValidationRuleMutation, UpdateValidationRuleMutationVariables>;
@@ -3232,11 +3239,12 @@ export const ActivateWorkspaceDocument = {"kind":"Document","definitions":[{"kin
export const CompleteWorkspaceLogoUploadDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CompleteWorkspaceLogoUpload"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fileId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"completeWorkspaceLogoUpload"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fileId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fileId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"path"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]} as unknown as DocumentNode<CompleteWorkspaceLogoUploadMutation, CompleteWorkspaceLogoUploadMutationVariables>;
export const DeleteCurrentWorkspaceDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteCurrentWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteCurrentWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<DeleteCurrentWorkspaceMutation, DeleteCurrentWorkspaceMutationVariables>;
export const UpdateWorkspaceDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateWorkspace"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateWorkspaceInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateWorkspace"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"customDomain"}},{"kind":"Field","name":{"kind":"Name","value":"subdomain"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"allowImpersonation"}},{"kind":"Field","name":{"kind":"Name","value":"isPublicInviteLinkEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isCampaignClickTrackingEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isCampaignOpenTrackingEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceDiscoverability"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isTwoFactorAuthenticationEnforced"}},{"kind":"Field","name":{"kind":"Name","value":"isInternalMessagesImportEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RoleFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"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":"canAccessAllAgentChatChannels"}},{"kind":"Field","name":{"kind":"Name","value":"isEditable"}},{"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":"canBeAssignedToUsers"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToAgents"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToApiKeys"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}}]}}]} as unknown as DocumentNode<UpdateWorkspaceMutation, UpdateWorkspaceMutationVariables>;
-export const UpdateWorkspaceAllowedIframeOriginsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateWorkspaceAllowedIframeOrigins"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateWorkspaceAllowedIframeOriginsInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateWorkspaceAllowedIframeOrigins"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"allowedIframeOrigins"}}]}}]}}]} as unknown as DocumentNode<UpdateWorkspaceAllowedIframeOriginsMutation, UpdateWorkspaceAllowedIframeOriginsMutationVariables>;
+export const UpdateWorkspaceAllowedEmbeddingOriginsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateWorkspaceAllowedEmbeddingOrigins"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateWorkspaceAllowedEmbeddingOriginsInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateWorkspaceAllowedEmbeddingOrigins"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"allowedEmbeddingOrigins"}}]}}]}}]} as unknown as DocumentNode<UpdateWorkspaceAllowedEmbeddingOriginsMutation, UpdateWorkspaceAllowedEmbeddingOriginsMutationVariables>;
+export const UpdateWorkspaceIframeMediaPermissionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateWorkspaceIframeMediaPermissions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateWorkspaceIframeMediaPermissionsInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateWorkspaceIframeMediaPermissions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"iframeMediaPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"origin"}},{"kind":"Field","name":{"kind":"Name","value":"microphone"}},{"kind":"Field","name":{"kind":"Name","value":"camera"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateWorkspaceIframeMediaPermissionsMutation, UpdateWorkspaceIframeMediaPermissionsMutationVariables>;
export const CheckCustomDomainValidRecordsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CheckCustomDomainValidRecords"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"checkCustomDomainValidRecords"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"domain"}},{"kind":"Field","name":{"kind":"Name","value":"isCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"validationType"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}}]}}]} as unknown as DocumentNode<CheckCustomDomainValidRecordsMutation, CheckCustomDomainValidRecordsMutationVariables>;
export const GetAiSystemPromptPreviewDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAiSystemPromptPreview"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getAiSystemPromptPreview"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sections"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"estimatedTokenCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"estimatedTokenCount"}}]}}]}}]} as unknown as DocumentNode<GetAiSystemPromptPreviewQuery, GetAiSystemPromptPreviewQueryVariables>;
export const GetPublicWorkspaceDataByIdDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetPublicWorkspaceDataById"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getPublicWorkspaceDataById"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}}]}}]} as unknown as DocumentNode<GetPublicWorkspaceDataByIdQuery, GetPublicWorkspaceDataByIdQueryVariables>;
+export const GetWorkspaceAllowedEmbeddingOriginsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetWorkspaceAllowedEmbeddingOrigins"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"allowedEmbeddingOrigins"}}]}}]}}]} as unknown as DocumentNode<GetWorkspaceAllowedEmbeddingOriginsQuery, GetWorkspaceAllowedEmbeddingOriginsQueryVariables>;
export const GetWorkspaceFromInviteHashDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetWorkspaceFromInviteHash"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"inviteHash"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findWorkspaceFromInviteHash"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"inviteHash"},"value":{"kind":"Variable","name":{"kind":"Name","value":"inviteHash"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"allowImpersonation"}}]}}]}}]} as unknown as DocumentNode<GetWorkspaceFromInviteHashQuery, GetWorkspaceFromInviteHashQueryVariables>;
-export const GetWorkspaceIframeOriginsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetWorkspaceIframeOrigins"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"allowedIframeOrigins"}}]}}]}}]} as unknown as DocumentNode<GetWorkspaceIframeOriginsQuery, GetWorkspaceIframeOriginsQueryVariables>;
export const FindManyApplicationsForToolTableDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindManyApplicationsForToolTable"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findManyApplications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}}]}}]} as unknown as DocumentNode<FindManyApplicationsForToolTableQuery, FindManyApplicationsForToolTableQueryVariables>;
export const FindManyMarketplaceAppsForToolTableDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindManyMarketplaceAppsForToolTable"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findManyMarketplaceApps"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}}]}}]} as unknown as DocumentNode<FindManyMarketplaceAppsForToolTableQuery, FindManyMarketplaceAppsForToolTableQueryVariables>;
\ No newline at end of file
diff --git a/packages/twenty-front/src/generated-metadata/schema.ts b/packages/twenty-front/src/generated-metadata/schema.ts
index 09ac70a8925..3e2c1da093d 100644
--- a/packages/twenty-front/src/generated-metadata/schema.ts
+++ b/packages/twenty-front/src/generated-metadata/schema.ts
@@ -2765,6 +2765,13 @@ export type IframeConfiguration = {
url?: Maybe<Scalars['String']['output']>;
};
+export type IframeMediaPermission = {
+ __typename?: 'IframeMediaPermission';
+ camera: Scalars['Boolean']['output'];
+ microphone: Scalars['Boolean']['output'];
+ origin: Scalars['String']['output'];
+};
+
export type ImapSmtpCaldavConnectionSuccess = {
__typename?: 'ImapSmtpCaldavConnectionSuccess';
connectedAccountId: Scalars['String']['output'];
@@ -3682,7 +3689,8 @@ export type Mutation = {
updateViewSort: ViewSort;
updateWebhook: Webhook;
updateWorkspace: Workspace;
- updateWorkspaceAllowedIframeOrigins: Workspace;
+ updateWorkspaceAllowedEmbeddingOrigins: Workspace;
+ updateWorkspaceIframeMediaPermissions: Workspace;
updateWorkspaceMemberRole: WorkspaceMember;
updateWorkspaceMemberSettings: Scalars['Boolean']['output'];
upgradeApplication: Scalars['Boolean']['output'];
@@ -5078,8 +5086,13 @@ export type MutationUpdateWorkspaceArgs = {
};
-export type MutationUpdateWorkspaceAllowedIframeOriginsArgs = {
- data: UpdateWorkspaceAllowedIframeOriginsInput;
+export type MutationUpdateWorkspaceAllowedEmbeddingOriginsArgs = {
+ data: UpdateWorkspaceAllowedEmbeddingOriginsInput;
+};
+
+
+export type MutationUpdateWorkspaceIframeMediaPermissionsArgs = {
+ data: UpdateWorkspaceIframeMediaPermissionsInput;
};
@@ -7740,11 +7753,17 @@ export type UpdateWebhookInputUpdates = {
targetUrl?: InputMaybe<Scalars['String']['input']>;
};
-export type UpdateWorkspaceAllowedIframeOriginsInput = {
+export type UpdateWorkspaceAllowedEmbeddingOriginsInput = {
operation: Scalars['String']['input'];
origin: Scalars['String']['input'];
};
+export type UpdateWorkspaceIframeMediaPermissionsInput = {
+ camera: Scalars['Boolean']['input'];
+ microphone: Scalars['Boolean']['input'];
+ origin: Scalars['String']['input'];
+};
+
export type UpdateWorkspaceInput = {
aiAdditionalInstructions?: InputMaybe<Scalars['String']['input']>;
aiAgentModelTier?: InputMaybe<AiModelTier>;
@@ -8506,7 +8525,7 @@ export type Workspace = {
aiEvaluationModelId?: Maybe<Scalars['String']['output']>;
aiModelIdByTier: Scalars['JSON']['output'];
allowImpersonation: Scalars['Boolean']['output'];
- allowedIframeOrigins?: Maybe<Array<Scalars['String']['output']>>;
+ allowedEmbeddingOrigins?: Maybe<Array<Scalars['String']['output']>>;
billingCustomer?: Maybe<BillingCustomer>;
billingEntitlements: Array<BillingEntitlement>;
billingSubscriptions: Array<BillingSubscription>;
@@ -8523,6 +8542,7 @@ export type Workspace = {
hasValidEnterpriseValidityToken: Scalars['Boolean']['output'];
hasValidSignedEnterpriseKey: Scalars['Boolean']['output'];
id: Scalars['UUID']['output'];
+ iframeMediaPermissions?: Maybe<Array<IframeMediaPermission>>;
installedApplications: Array<Application>;
inviteHash?: Maybe<Scalars['String']['output']>;
isAutoModelSelectionEnabled: Scalars['Boolean']['output'];
diff --git a/packages/twenty-front/src/modules/auth/states/currentWorkspaceState.ts b/packages/twenty-front/src/modules/auth/states/currentWorkspaceState.ts
index 63a34afb02d..40b8ebb201e 100644
--- a/packages/twenty-front/src/modules/auth/states/currentWorkspaceState.ts
+++ b/packages/twenty-front/src/modules/auth/states/currentWorkspaceState.ts
@@ -31,6 +31,7 @@ export type CurrentWorkspace = Pick<
| 'isPasswordAuthEnabled'
| 'isPasswordAuthBypassEnabled'
| 'isCustomDomainEnabled'
+ | 'iframeMediaPermissions'
| 'hasValidSignedEnterpriseKey'
| 'hasValidEnterpriseValidityToken'
| 'subdomain'
diff --git a/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityIframeOrigins.tsx b/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityIframeOrigins.tsx
index dc314b6f6a1..1e93f632ff2 100644
--- a/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityIframeOrigins.tsx
+++ b/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityIframeOrigins.tsx
@@ -2,7 +2,7 @@ import { useState } from 'react';
import { useMutation, useQuery } from '@apollo/client/react';
import { styled } from '@linaria/react';
import { useLingui } from '@lingui/react/macro';
-import { isDefined, normalizeAllowedIframeOrigin } from 'twenty-shared/utils';
+import { isDefined, normalizeIframeOrigin } from 'twenty-shared/utils';
import { useToast } from 'twenty-ui/components/feedback';
import { Section } from 'twenty-ui/components/layout';
import { IconPlus, IconTrash } from 'twenty-ui/icon';
@@ -12,8 +12,8 @@ import { themeCssVariables } from 'twenty-ui/theme';
import { getToastOptionsFromError } from '@/error-handler/utils/getToastOptionsFromError';
import { SettingsTextInput } from '@/ui/input/components/SettingsTextInput';
import {
- GetWorkspaceIframeOriginsDocument,
- UpdateWorkspaceAllowedIframeOriginsDocument,
+ GetWorkspaceAllowedEmbeddingOriginsDocument,
+ UpdateWorkspaceAllowedEmbeddingOriginsDocument,
} from '~/generated-metadata/graphql';
const StyledList = styled.div`
@@ -43,14 +43,16 @@ export const SettingsSecurityIframeOrigins = () => {
loading: isLoadingPolicy,
error: policyError,
refetch,
- } = useQuery(GetWorkspaceIframeOriginsDocument, {
+ } = useQuery(GetWorkspaceAllowedEmbeddingOriginsDocument, {
fetchPolicy: 'network-only',
});
const [updateOrigins, { loading }] = useMutation(
- UpdateWorkspaceAllowedIframeOriginsDocument,
+ UpdateWorkspaceAllowedEmbeddingOriginsDocument,
+ );
+ const origins = data?.currentWorkspace.allowedEmbeddingOrigins ?? [];
+ const isPolicyLoaded = isDefined(
+ data?.currentWorkspace.allowedEmbeddingOrigins,
);
- const origins = data?.currentWorkspace.allowedIframeOrigins ?? [];
- const isPolicyLoaded = isDefined(data?.currentWorkspace.allowedIframeOrigins);
const isDisabled = loading || isLoadingPolicy || !isPolicyLoaded;
const saveOrigin = async (
@@ -65,7 +67,7 @@ export const SettingsSecurityIframeOrigins = () => {
const { data } = await updateOrigins({
variables: { input: { operation, origin } },
});
- return isDefined(data?.updateWorkspaceAllowedIframeOrigins);
+ return isDefined(data?.updateWorkspaceAllowedEmbeddingOrigins);
} catch (error) {
enqueueToast(getToastOptionsFromError({ error }));
return false;
@@ -73,7 +75,7 @@ export const SettingsSecurityIframeOrigins = () => {
};
const handleAddOrigin = async () => {
- const origin = normalizeAllowedIframeOrigin(originInput.trim());
+ const origin = normalizeIframeOrigin(originInput.trim());
if (!isDefined(origin)) {
setError(
diff --git a/packages/twenty-front/src/modules/settings/security/components/__tests__/SettingsSecurityIframeOrigins.test.tsx b/packages/twenty-front/src/modules/settings/security/components/__tests__/SettingsSecurityIframeOrigins.test.tsx
index 89f2fa0cedd..5a18baf6d30 100644
--- a/packages/twenty-front/src/modules/settings/security/components/__tests__/SettingsSecurityIframeOrigins.test.tsx
+++ b/packages/twenty-front/src/modules/settings/security/components/__tests__/SettingsSecurityIframeOrigins.test.tsx
@@ -9,8 +9,8 @@ import { MAX_ALLOWED_IFRAME_ORIGINS } from 'twenty-shared/constants';
import { SettingsSecurityIframeOrigins } from '@/settings/security/components/SettingsSecurityIframeOrigins';
import {
- GetWorkspaceIframeOriginsDocument,
- UpdateWorkspaceAllowedIframeOriginsDocument,
+ GetWorkspaceAllowedEmbeddingOriginsDocument,
+ UpdateWorkspaceAllowedEmbeddingOriginsDocument,
} from '~/generated-metadata/graphql';
const enqueueToast = jest.fn();
@@ -23,7 +23,7 @@ jest.mock('twenty-ui/components/feedback', () => ({
const workspace = (origins: string[]) => ({
__typename: 'Workspace' as const,
id: 'workspace-id',
- allowedIframeOrigins: origins,
+ allowedEmbeddingOrigins: origins,
});
const renderSettings = (
@@ -35,7 +35,7 @@ const renderSettings = (
<MockedProvider
mocks={[
{
- request: { query: GetWorkspaceIframeOriginsDocument },
+ request: { query: GetWorkspaceAllowedEmbeddingOriginsDocument },
result: { data: { currentWorkspace: workspace(origins) } },
},
...mutations,
@@ -61,20 +61,20 @@ it.each(['button', 'Enter'])(
async (method) => {
const added = jest.fn(() => ({
data: {
- updateWorkspaceAllowedIframeOrigins: workspace([
+ updateWorkspaceAllowedEmbeddingOrigins: workspace([
'https://portal.example.com',
]),
},
}));
const removed = jest.fn(() => ({
- data: { updateWorkspaceAllowedIframeOrigins: workspace([]) },
+ data: { updateWorkspaceAllowedEmbeddingOrigins: workspace([]) },
}));
renderSettings(
[],
[
{
request: {
- query: UpdateWorkspaceAllowedIframeOriginsDocument,
+ query: UpdateWorkspaceAllowedEmbeddingOriginsDocument,
variables: {
input: { operation: 'add', origin: 'https://portal.example.com' },
},
@@ -83,7 +83,7 @@ it.each(['button', 'Enter'])(
},
{
request: {
- query: UpdateWorkspaceAllowedIframeOriginsDocument,
+ query: UpdateWorkspaceAllowedEmbeddingOriginsDocument,
variables: {
input: {
operation: 'remove',
@@ -131,7 +131,7 @@ it('keeps saved origins when the server rejects an update', async () => {
[
{
request: {
- query: UpdateWorkspaceAllowedIframeOriginsDocument,
+ query: UpdateWorkspaceAllowedEmbeddingOriginsDocument,
variables: {
input: {
operation: 'remove',
@@ -163,12 +163,12 @@ it('allows an addition when another administrator frees a slot in a full list',
const newOrigin = 'https://new.example.com';
const updatedOrigins = [...staleOrigins.slice(1), newOrigin];
const saved = jest.fn(() => ({
- data: { updateWorkspaceAllowedIframeOrigins: workspace(updatedOrigins) },
+ data: { updateWorkspaceAllowedEmbeddingOrigins: workspace(updatedOrigins) },
}));
renderSettings(staleOrigins, [
{
request: {
- query: UpdateWorkspaceAllowedIframeOriginsDocument,
+ query: UpdateWorkspaceAllowedEmbeddingOriginsDocument,
variables: { input: { operation: 'add', origin: newOrigin } },
},
result: saved,
@@ -198,7 +198,7 @@ it('keeps the saved list and input when the server rejects an addition at the li
renderSettings(origins, [
{
request: {
- query: UpdateWorkspaceAllowedIframeOriginsDocument,
+ query: UpdateWorkspaceAllowedEmbeddingOriginsDocument,
variables: { input: { operation: 'add', origin: newOrigin } },
},
error: new Error(
diff --git a/packages/twenty-front/src/modules/users/graphql/fragments/userQueryFragment.ts b/packages/twenty-front/src/modules/users/graphql/fragments/userQueryFragment.ts
index 543ed1b28c8..2cbb291da46 100644
--- a/packages/twenty-front/src/modules/users/graphql/fragments/userQueryFragment.ts
+++ b/packages/twenty-front/src/modules/users/graphql/fragments/userQueryFragment.ts
@@ -88,6 +88,11 @@ export const USER_QUERY_FRAGMENT = gql`
createdAt
}
isCustomDomainEnabled
+ iframeMediaPermissions {
+ origin
+ microphone
+ camera
+ }
workspaceUrls {
...WorkspaceUrlsFragment
}
diff --git a/packages/twenty-front/src/modules/workspace/graphql/mutations/updateWorkspaceAllowedEmbeddingOrigins.ts b/packages/twenty-front/src/modules/workspace/graphql/mutations/updateWorkspaceAllowedEmbeddingOrigins.ts
new file mode 100644
index 00000000000..2267baf9a4a
--- /dev/null
+++ b/packages/twenty-front/src/modules/workspace/graphql/mutations/updateWorkspaceAllowedEmbeddingOrigins.ts
@@ -0,0 +1,12 @@
+import { gql } from '@apollo/client';
+
+export const UPDATE_WORKSPACE_ALLOWED_EMBEDDING_ORIGINS = gql`
+ mutation UpdateWorkspaceAllowedEmbeddingOrigins(
+ $input: UpdateWorkspaceAllowedEmbeddingOriginsInput!
+ ) {
+ updateWorkspaceAllowedEmbeddingOrigins(data: $input) {
+ id
+ allowedEmbeddingOrigins
+ }
+ }
+`;
diff --git a/packages/twenty-front/src/modules/workspace/graphql/mutations/updateWorkspaceAllowedIframeOrigins.ts b/packages/twenty-front/src/modules/workspace/graphql/mutations/updateWorkspaceAllowedIframeOrigins.ts
deleted file mode 100644
index fce2d81a551..00000000000
--- a/packages/twenty-front/src/modules/workspace/graphql/mutations/updateWorkspaceAllowedIframeOrigins.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import { gql } from '@apollo/client';
-
-export const UPDATE_WORKSPACE_ALLOWED_IFRAME_ORIGINS = gql`
- mutation UpdateWorkspaceAllowedIframeOrigins(
- $input: UpdateWorkspaceAllowedIframeOriginsInput!
- ) {
- updateWorkspaceAllowedIframeOrigins(data: $input) {
- id
- allowedIframeOrigins
- }
- }
-`;
diff --git a/packages/twenty-front/src/modules/workspace/graphql/mutations/updateWorkspaceIframeMediaPermissions.ts b/packages/twenty-front/src/modules/workspace/graphql/mutations/updateWorkspaceIframeMediaPermissions.ts
new file mode 100644
index 00000000000..276ceb5eb93
--- /dev/null
+++ b/packages/twenty-front/src/modules/workspace/graphql/mutations/updateWorkspaceIframeMediaPermissions.ts
@@ -0,0 +1,16 @@
+import { gql } from '@apollo/client';
+
+export const UPDATE_WORKSPACE_IFRAME_MEDIA_PERMISSIONS = gql`
+ mutation UpdateWorkspaceIframeMediaPermissions(
+ $input: UpdateWorkspaceIframeMediaPermissionsInput!
+ ) {
+ updateWorkspaceIframeMediaPermissions(data: $input) {
+ id
+ iframeMediaPermissions {
+ origin
+ microphone
+ camera
+ }
+ }
+ }
+`;
diff --git a/packages/twenty-front/src/modules/workspace/graphql/queries/getWorkspaceAllowedEmbeddingOrigins.ts b/packages/twenty-front/src/modules/workspace/graphql/queries/getWorkspaceAllowedEmbeddingOrigins.ts
new file mode 100644
index 00000000000..43373723ab3
--- /dev/null
+++ b/packages/twenty-front/src/modules/workspace/graphql/queries/getWorkspaceAllowedEmbeddingOrigins.ts
@@ -0,0 +1,10 @@
+import { gql } from '@apollo/client';
+
+export const GET_WORKSPACE_ALLOWED_EMBEDDING_ORIGINS = gql`
+ query GetWorkspaceAllowedEmbeddingOrigins {
+ currentWorkspace {
+ id
+ allowedEmbeddingOrigins
+ }
+ }
+`;
diff --git a/packages/twenty-front/src/modules/workspace/graphql/queries/getWorkspaceIframeOrigins.ts b/packages/twenty-front/src/modules/workspace/graphql/queries/getWorkspaceIframeOrigins.ts
deleted file mode 100644
index 8a8027122fd..00000000000
--- a/packages/twenty-front/src/modules/workspace/graphql/queries/getWorkspaceIframeOrigins.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { gql } from '@apollo/client';
-
-export const GET_WORKSPACE_IFRAME_ORIGINS = gql`
- query GetWorkspaceIframeOrigins {
- currentWorkspace {
- id
- allowedIframeOrigins
- }
- }
-`;
diff --git a/packages/twenty-front/src/testing/mock-data/users.ts b/packages/twenty-front/src/testing/mock-data/users.ts
index 2ba2a916565..0a42dbc3b7e 100644
--- a/packages/twenty-front/src/testing/mock-data/users.ts
+++ b/packages/twenty-front/src/testing/mock-data/users.ts
@@ -78,6 +78,7 @@ export const mockCurrentWorkspace = {
isPasswordAuthEnabled: true,
isMicrosoftAuthEnabled: false,
isCustomDomainEnabled: false,
+ iframeMediaPermissions: [],
isPasswordAuthBypassEnabled: false,
isGoogleAuthBypassEnabled: false,
isMicrosoftAuthBypassEnabled: false,
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-55/2-55-instance-command-fast-1793371022948-add-workspace-iframe-media-permissions.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-55/2-55-instance-command-fast-1793371022948-add-workspace-iframe-media-permissions.ts
new file mode 100644
index 00000000000..f284d368c3f
--- /dev/null
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-55/2-55-instance-command-fast-1793371022948-add-workspace-iframe-media-permissions.ts
@@ -0,0 +1,21 @@
+import { type QueryRunner } from 'typeorm';
+
+import { RegisteredInstanceCommand } from 'src/engine/core-modules/upgrade/decorators/registered-instance-command.decorator';
+import { type FastInstanceCommand } from 'src/engine/core-modules/upgrade/interfaces/fast-instance-command.interface';
+
+@RegisteredInstanceCommand('2.55.0', 1793371022948)
+export class AddWorkspaceIframeMediaPermissionsFastInstanceCommand
+ implements FastInstanceCommand
+{
+ public async up(queryRunner: QueryRunner): Promise<void> {
+ await queryRunner.query(
+ 'ALTER TABLE "core"."workspace" ADD COLUMN IF NOT EXISTS "iframeMediaPermissions" jsonb NOT NULL DEFAULT \'[]\'',
+ );
+ }
+
+ public async down(queryRunner: QueryRunner): Promise<void> {
+ await queryRunner.query(
+ 'ALTER TABLE "core"."workspace" DROP COLUMN "iframeMediaPermissions"',
+ );
+ }
+}
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-55/2-55-instance-command-fast-1793371022971-rename-workspace-allowed-iframe-origins-to-allowed-embedding-origins.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-55/2-55-instance-command-fast-1793371022971-rename-workspace-allowed-iframe-origins-to-allowed-embedding-origins.ts
new file mode 100644
index 00000000000..bf211ffef49
--- /dev/null
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-55/2-55-instance-command-fast-1793371022971-rename-workspace-allowed-iframe-origins-to-allowed-embedding-origins.ts
@@ -0,0 +1,33 @@
+import { type QueryRunner } from 'typeorm';
+
+import { RegisteredInstanceCommand } from 'src/engine/core-modules/upgrade/decorators/registered-instance-command.decorator';
+import { type FastInstanceCommand } from 'src/engine/core-modules/upgrade/interfaces/fast-instance-command.interface';
+
+@RegisteredInstanceCommand('2.55.0', 1793371022971)
+export class RenameWorkspaceAllowedIframeOriginsToAllowedEmbeddingOriginsFastInstanceCommand
+ implements FastInstanceCommand
+{
+ public async up(queryRunner: QueryRunner): Promise<void> {
+ await queryRunner.query(`
+ DO $$
+ BEGIN
+ IF EXISTS (
+ SELECT 1 FROM information_schema.columns
+ WHERE table_schema = 'core'
+ AND table_name = 'workspace'
+ AND column_name = 'allowedIframeOrigins'
+ ) THEN
+ ALTER TABLE "core"."workspace"
+ RENAME COLUMN "allowedIframeOrigins" TO "allowedEmbeddingOrigins";
+ END IF;
+ END
+ $$
+ `);
+ }
+
+ public async down(queryRunner: QueryRunner): Promise<void> {
+ await queryRunner.query(
+ 'ALTER TABLE "core"."workspace" RENAME COLUMN "allowedEmbeddingOrigins" TO "allowedIframeOrigins"',
+ );
+ }
+}
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.ts
index 8bdd0919ca8..e440f63dba3 100644
--- a/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.ts
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.ts
@@ -272,6 +272,8 @@ import { AddWorkspaceChatAssistantModesFastInstanceCommand } from 'src/database/
import { AddRelatedRecordPathTableFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-54/2-54-instance-command-fast-1793291361887-add-related-record-path-table';
import { AddAccessTokenExpiresAtToConnectedAccountFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-54/2-54-instance-command-fast-1793357800472-add-access-token-expires-at-to-connected-account';
import { AddWebhookIdToRoleTargetFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-55/2-55-instance-command-fast-1793369399690-add-webhook-id-to-role-target';
+import { AddWorkspaceIframeMediaPermissionsFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-55/2-55-instance-command-fast-1793371022948-add-workspace-iframe-media-permissions';
+import { RenameWorkspaceAllowedIframeOriginsToAllowedEmbeddingOriginsFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-55/2-55-instance-command-fast-1793371022971-rename-workspace-allowed-iframe-origins-to-allowed-embedding-origins';
export const INSTANCE_COMMANDS = [
AddViewFieldGroupIdIndexOnViewFieldFastInstanceCommand,
@@ -546,4 +548,6 @@ export const INSTANCE_COMMANDS = [
AddRelatedRecordPathTableFastInstanceCommand,
AddAccessTokenExpiresAtToConnectedAccountFastInstanceCommand,
AddWebhookIdToRoleTargetFastInstanceCommand,
+ AddWorkspaceIframeMediaPermissionsFastInstanceCommand,
+ RenameWorkspaceAllowedIframeOriginsToAllowedEmbeddingOriginsFastInstanceCommand,
];
diff --git a/packages/twenty-server/src/engine/core-modules/frontend/constants/max-iframe-media-permissions-policy-bytes.constant.ts b/packages/twenty-server/src/engine/core-modules/frontend/constants/max-iframe-media-permissions-policy-bytes.constant.ts
new file mode 100644
index 00000000000..00dd07b16b6
--- /dev/null
+++ b/packages/twenty-server/src/engine/core-modules/frontend/constants/max-iframe-media-permissions-policy-bytes.constant.ts
@@ -0,0 +1,2 @@
+// ingress-nginx buffers all response headers in 4 KiB, so keep room for the others.
+export const MAX_IFRAME_MEDIA_PERMISSIONS_POLICY_BYTES = 2048;
diff --git a/packages/twenty-server/src/engine/core-modules/frontend/frontend.service.ts b/packages/twenty-server/src/engine/core-modules/frontend/frontend.service.ts
index a3b9b083519..f534103d553 100644
--- a/packages/twenty-server/src/engine/core-modules/frontend/frontend.service.ts
+++ b/packages/twenty-server/src/engine/core-modules/frontend/frontend.service.ts
@@ -6,11 +6,12 @@ import { Readable } from 'stream';
import { type ReadableStream } from 'stream/web';
import { type NextFunction, type Request, type Response } from 'express';
-import { isDefined, normalizeAllowedIframeOrigin } from 'twenty-shared/utils';
+import { isDefined, normalizeIframeOrigin } from 'twenty-shared/utils';
import { ClientConfigService } from 'src/engine/core-modules/client-config/services/client-config.service';
import { WorkspaceDomainsService } from 'src/engine/core-modules/domain/workspace-domains/services/workspace-domains.service';
import { DOCUMENT_CONTENT_SECURITY_POLICY_DIRECTIVES } from 'src/engine/core-modules/frontend/constants/document-content-security-policy-directives.constant';
+import { buildIframeMediaPermissionsPolicy } from 'src/engine/core-modules/frontend/utils/build-iframe-media-permissions-policy.util';
import { isFrontendDocumentRequest } from 'src/engine/core-modules/frontend/utils/is-frontend-document-request.util';
import { renderFrontendHtml } from 'src/engine/core-modules/frontend/utils/render-frontend-html.util';
import { TwentyConfigService } from 'src/engine/core-modules/twenty-config/twenty-config.service';
@@ -108,6 +109,10 @@ export class FrontendService {
response.setHeader('Cloudflare-CDN-Cache-Control', 'no-store');
response.setHeader('X-Content-Type-Options', 'nosniff');
response.setHeader('X-Frame-Options', 'SAMEORIGIN');
+ response.setHeader(
+ 'Permissions-Policy',
+ buildIframeMediaPermissionsPolicy([]),
+ );
response.setHeader(
'Content-Security-Policy',
`frame-ancestors 'self'; ${DOCUMENT_CONTENT_SECURITY_POLICY_DIRECTIVES}`,
@@ -135,10 +140,17 @@ export class FrontendService {
this.clientConfigService.getClientConfig(),
]);
- const allowedOrigins = (workspace?.allowedIframeOrigins ?? [])
- .map(normalizeAllowedIframeOrigin)
+ const allowedOrigins = (workspace?.allowedEmbeddingOrigins ?? [])
+ .map((origin) => normalizeIframeOrigin(origin))
.filter(isDefined);
+ const iframeMediaPermissions = workspace?.iframeMediaPermissions ?? [];
+
+ response.setHeader(
+ 'Permissions-Policy',
+ buildIframeMediaPermissionsPolicy(iframeMediaPermissions),
+ );
+
if (allowedOrigins.length > 0) {
response.setHeader(
'Content-Security-Policy',
@@ -147,7 +159,13 @@ export class FrontendService {
response.removeHeader('X-Frame-Options');
}
- response.type('html').end(renderFrontendHtml(template, clientConfig));
+ response.type('html').end(
+ renderFrontendHtml({
+ template,
+ clientConfig,
+ iframeMediaPermissions,
+ }),
+ );
} catch (error) {
this.logger.error('Unable to serve frontend document', error);
response
diff --git a/packages/twenty-server/src/engine/core-modules/frontend/utils/__tests__/build-iframe-media-permissions-policy.util.spec.ts b/packages/twenty-server/src/engine/core-modules/frontend/utils/__tests__/build-iframe-media-permissions-policy.util.spec.ts
new file mode 100644
index 00000000000..4d58311a1ee
--- /dev/null
+++ b/packages/twenty-server/src/engine/core-modules/frontend/utils/__tests__/build-iframe-media-permissions-policy.util.spec.ts
@@ -0,0 +1,60 @@
+import { buildIframeMediaPermissionsPolicy } from '../build-iframe-media-permissions-policy.util';
+
+describe('buildIframeMediaPermissionsPolicy', () => {
+ it('preserves native capture without delegating to external origins by default', () => {
+ expect(buildIframeMediaPermissionsPolicy([])).toBe(
+ 'microphone=(self), camera=(self)',
+ );
+ });
+
+ it('delegates microphone and camera independently', () => {
+ expect(
+ buildIframeMediaPermissionsPolicy([
+ {
+ origin: 'https://phone.example.com',
+ microphone: true,
+ camera: false,
+ },
+ {
+ origin: 'https://video.example.com',
+ microphone: false,
+ camera: true,
+ },
+ ]),
+ ).toBe(
+ 'microphone=(self "https://phone.example.com"), camera=(self "https://video.example.com")',
+ );
+ });
+
+ it('normalizes and deduplicates persisted origins before serializing the header', () => {
+ expect(
+ buildIframeMediaPermissionsPolicy([
+ {
+ origin: 'https://PHONE.example.com:443/',
+ microphone: true,
+ camera: false,
+ },
+ {
+ origin: 'https://phone.example.com',
+ microphone: true,
+ camera: true,
+ },
+ ]),
+ ).toBe(
+ 'microphone=(self "https://phone.example.com"), camera=(self "https://phone.example.com")',
+ );
+ });
+
+ it.each([
+ 'http://phone.example.com',
+ 'https://*.example.com',
+ 'https://phone.example.com/calls',
+ 'https://phone.example.com"), camera=(*)',
+ ])('does not delegate to an invalid persisted origin: %s', (origin) => {
+ expect(
+ buildIframeMediaPermissionsPolicy([
+ { origin, microphone: true, camera: true },
+ ]),
+ ).toBe('microphone=(self), camera=(self)');
+ });
+});
diff --git a/packages/twenty-server/src/engine/core-modules/frontend/utils/__tests__/is-iframe-media-permissions-policy-within-size-limit.util.spec.ts b/packages/twenty-server/src/engine/core-modules/frontend/utils/__tests__/is-iframe-media-permissions-policy-within-size-limit.util.spec.ts
new file mode 100644
index 00000000000..ebf11055754
--- /dev/null
+++ b/packages/twenty-server/src/engine/core-modules/frontend/utils/__tests__/is-iframe-media-permissions-policy-within-size-limit.util.spec.ts
@@ -0,0 +1,31 @@
+import { MAX_ALLOWED_IFRAME_ORIGINS } from 'twenty-shared/constants';
+
+import { isIframeMediaPermissionsPolicyWithinSizeLimit } from 'src/engine/core-modules/frontend/utils/is-iframe-media-permissions-policy-within-size-limit.util';
+
+const buildPermissions = (host: (index: number) => string) =>
+ Array.from({ length: MAX_ALLOWED_IFRAME_ORIGINS }, (_, index) => ({
+ origin: `https://${host(index)}.example.com`,
+ microphone: true,
+ camera: true,
+ }));
+
+describe('isIframeMediaPermissionsPolicyWithinSizeLimit', () => {
+ it('accepts the maximum number of typical origins', () => {
+ expect(
+ isIframeMediaPermissionsPolicyWithinSizeLimit(
+ buildPermissions((index) => `phone-${index}`),
+ ),
+ ).toBe(true);
+ });
+
+ it('rejects long origins that would overflow the response header buffer', () => {
+ expect(
+ isIframeMediaPermissionsPolicyWithinSizeLimit(
+ buildPermissions(
+ (index) =>
+ `${'a'.repeat(63)}.${'b'.repeat(63)}.${'c'.repeat(63)}.phone-${index}`,
+ ),
+ ),
+ ).toBe(false);
+ });
+});
diff --git a/packages/twenty-server/src/engine/core-modules/frontend/utils/__tests__/render-frontend-html.util.spec.ts b/packages/twenty-server/src/engine/core-modules/frontend/utils/__tests__/render-frontend-html.util.spec.ts
new file mode 100644
index 00000000000..148830dcfba
--- /dev/null
+++ b/packages/twenty-server/src/engine/core-modules/frontend/utils/__tests__/render-frontend-html.util.spec.ts
@@ -0,0 +1,69 @@
+import { renderFrontendHtml } from 'src/engine/core-modules/frontend/utils/render-frontend-html.util';
+
+const TEMPLATE =
+ '<html><head><!-- BEGIN: Twenty Config --><script>window._env_ = { stale: true };</script><!-- END: Twenty Config --></head><body></body></html>';
+
+const getBootstrapContent = ({
+ html,
+ elementId,
+}: {
+ html: string;
+ elementId: string;
+}) =>
+ html.match(
+ new RegExp(
+ `<script id="${elementId}" type="application/json">(.*?)</script>`,
+ ),
+ )?.[1];
+
+describe('renderFrontendHtml', () => {
+ it('embeds the iframe media permissions used for the document policy', () => {
+ const html = renderFrontendHtml({
+ template: TEMPLATE,
+ clientConfig: {},
+ iframeMediaPermissions: [
+ {
+ origin: 'https://phone.example.com',
+ microphone: true,
+ camera: false,
+ },
+ ],
+ });
+
+ expect(
+ JSON.parse(
+ getBootstrapContent({
+ html,
+ elementId: 'twenty-iframe-media-permissions',
+ }) ?? '',
+ ),
+ ).toEqual([
+ { origin: 'https://phone.example.com', microphone: true, camera: false },
+ ]);
+ expect(html).toContain(
+ '<script id="twenty-env-config">window._env_ = {};</script>',
+ );
+ });
+
+ it('escapes markup characters in embedded values', () => {
+ const html = renderFrontendHtml({
+ template: TEMPLATE,
+ clientConfig: {},
+ iframeMediaPermissions: [
+ {
+ origin: '</script><script>alert(1)</script>',
+ microphone: true,
+ camera: true,
+ },
+ ],
+ });
+
+ expect(html).not.toContain('<script>alert(1)</script>');
+ expect(
+ getBootstrapContent({
+ html,
+ elementId: 'twenty-iframe-media-permissions',
+ }),
+ ).toContain('\\u003c/script\\u003e');
+ });
+});
diff --git a/packages/twenty-server/src/engine/core-modules/frontend/utils/build-iframe-media-permissions-policy.util.ts b/packages/twenty-server/src/engine/core-modules/frontend/utils/build-iframe-media-permissions-policy.util.ts
new file mode 100644
index 00000000000..b38f0125815
--- /dev/null
+++ b/packages/twenty-server/src/engine/core-modules/frontend/utils/build-iframe-media-permissions-policy.util.ts
@@ -0,0 +1,18 @@
+import { MEDIA_CAPABILITIES } from 'twenty-shared/constants';
+import { type IframeMediaPermission } from 'twenty-shared/types';
+import { isDefined, normalizeIframeOrigin } from 'twenty-shared/utils';
+
+export const buildIframeMediaPermissionsPolicy = (
+ permissions: IframeMediaPermission[],
+): string =>
+ MEDIA_CAPABILITIES.map((capability) => {
+ const origins = permissions
+ .filter((permission) => permission[capability])
+ .map((permission) =>
+ normalizeIframeOrigin(permission.origin, { isHttpsOnly: true }),
+ )
+ .filter(isDefined);
+ const allowedOrigins = [...new Set(origins)].map((origin) => `"${origin}"`);
+
+ return `${capability}=(${['self', ...allowedOrigins].join(' ')})`;
+ }).join(', ');
diff --git a/packages/twenty-server/src/engine/core-modules/frontend/utils/is-iframe-media-permissions-policy-within-size-limit.util.ts b/packages/twenty-server/src/engine/core-modules/frontend/utils/is-iframe-media-permissions-policy-within-size-limit.util.ts
new file mode 100644
index 00000000000..d87356f1fde
--- /dev/null
+++ b/packages/twenty-server/src/engine/core-modules/frontend/utils/is-iframe-media-permissions-policy-within-size-limit.util.ts
@@ -0,0 +1,10 @@
+import { type IframeMediaPermission } from 'twenty-shared/types';
+
+import { MAX_IFRAME_MEDIA_PERMISSIONS_POLICY_BYTES } from 'src/engine/core-modules/frontend/constants/max-iframe-media-permissions-policy-bytes.constant';
+import { buildIframeMediaPermissionsPolicy } from 'src/engine/core-modules/frontend/utils/build-iframe-media-permissions-policy.util';
+
+export const isIframeMediaPermissionsPolicyWithinSizeLimit = (
+ permissions: IframeMediaPermission[],
+): boolean =>
+ Buffer.byteLength(buildIframeMediaPermissionsPolicy(permissions)) <=
+ MAX_IFRAME_MEDIA_PERMISSIONS_POLICY_BYTES;
diff --git a/packages/twenty-server/src/engine/core-modules/frontend/utils/render-frontend-html.util.ts b/packages/twenty-server/src/engine/core-modules/frontend/utils/render-frontend-html.util.ts
index 45065b32041..b321db771e7 100644
--- a/packages/twenty-server/src/engine/core-modules/frontend/utils/render-frontend-html.util.ts
+++ b/packages/twenty-server/src/engine/core-modules/frontend/utils/render-frontend-html.util.ts
@@ -1,19 +1,21 @@
-import { CLIENT_CONFIG_BOOTSTRAP_ELEMENT_ID } from 'twenty-shared/constants';
+import {
+ CLIENT_CONFIG_BOOTSTRAP_ELEMENT_ID,
+ IFRAME_MEDIA_PERMISSIONS_BOOTSTRAP_ELEMENT_ID,
+} from 'twenty-shared/constants';
+import { type IframeMediaPermission } from 'twenty-shared/types';
-import { type ClientConfig } from 'src/engine/core-modules/client-config/client-config.entity';
+import { serializeJsonForHtmlScript } from 'src/engine/core-modules/frontend/utils/serialize-json-for-html-script.util';
-export const renderFrontendHtml = (
- template: string,
- clientConfig: ClientConfig,
-): string => {
- const serializedConfig = JSON.stringify(clientConfig)
- .replace(/</g, '\\u003c')
- .replace(/>/g, '\\u003e')
- .replace(/&/g, '\\u0026')
- .replace(/\u2028/g, '\\u2028')
- .replace(/\u2029/g, '\\u2029');
-
- return template
+export const renderFrontendHtml = ({
+ template,
+ clientConfig,
+ iframeMediaPermissions,
+}: {
+ template: string;
+ clientConfig: object;
+ iframeMediaPermissions: IframeMediaPermission[];
+}): string =>
+ template
.replace(
/<!-- BEGIN: Twenty Config -->[\s\S]*?<!-- END: Twenty Config -->/,
'<script id="twenty-env-config">window._env_ = {};</script>',
@@ -21,6 +23,6 @@ export const renderFrontendHtml = (
.replace(
'</head>',
() =>
- `<script id="${CLIENT_CONFIG_BOOTSTRAP_ELEMENT_ID}" type="application/json">${serializedConfig}</script></head>`,
+ `<script id="${CLIENT_CONFIG_BOOTSTRAP_ELEMENT_ID}" type="application/json">${serializeJsonForHtmlScript(clientConfig)}</script>` +
+ `<script id="${IFRAME_MEDIA_PERMISSIONS_BOOTSTRAP_ELEMENT_ID}" type="application/json">${serializeJsonForHtmlScript(iframeMediaPermissions)}</script></head>`,
);
-};
diff --git a/packages/twenty-server/src/engine/core-modules/frontend/utils/serialize-json-for-html-script.util.ts b/packages/twenty-server/src/engine/core-modules/frontend/utils/serialize-json-for-html-script.util.ts
new file mode 100644
index 00000000000..e87a4753e4b
--- /dev/null
+++ b/packages/twenty-server/src/engine/core-modules/frontend/utils/serialize-json-for-html-script.util.ts
@@ -0,0 +1,7 @@
+export const serializeJsonForHtmlScript = (value: unknown): string =>
+ JSON.stringify(value)
+ .replace(/</g, '\\u003c')
+ .replace(/>/g, '\\u003e')
+ .replace(/&/g, '\\u0026')
+ .replace(/\u2028/g, '\\u2028')
+ .replace(/\u2029/g, '\\u2029');
diff --git a/packages/twenty-server/src/engine/core-modules/workspace/dtos/__tests__/update-workspace-allowed-iframe-origins.input.spec.ts b/packages/twenty-server/src/engine/core-modules/workspace/dtos/__tests__/update-workspace-allowed-embedding-origins.input.spec.ts
similarity index 78%
rename from packages/twenty-server/src/engine/core-modules/workspace/dtos/__tests__/update-workspace-allowed-iframe-origins.input.spec.ts
rename to packages/twenty-server/src/engine/core-modules/workspace/dtos/__tests__/update-workspace-allowed-embedding-origins.input.spec.ts
index eceab399b9b..b12f8713add 100644
--- a/packages/twenty-server/src/engine/core-modules/workspace/dtos/__tests__/update-workspace-allowed-iframe-origins.input.spec.ts
+++ b/packages/twenty-server/src/engine/core-modules/workspace/dtos/__tests__/update-workspace-allowed-embedding-origins.input.spec.ts
@@ -1,5 +1,5 @@
import { validate } from 'class-validator';
-import { UpdateWorkspaceAllowedIframeOriginsInput } from 'src/engine/core-modules/workspace/dtos/update-workspace-allowed-iframe-origins.input';
+import { UpdateWorkspaceAllowedEmbeddingOriginsInput } from 'src/engine/core-modules/workspace/dtos/update-workspace-allowed-embedding-origins.input';
describe('workspace embedding origin edits', () => {
it.each([
@@ -8,7 +8,7 @@ describe('workspace embedding origin edits', () => {
'https://PORTAL.example.com:443/',
])('accepts an explicit origin: %s', async (origin) => {
const input = Object.assign(
- new UpdateWorkspaceAllowedIframeOriginsInput(),
+ new UpdateWorkspaceAllowedEmbeddingOriginsInput(),
{ operation: 'add', origin },
);
expect(await validate(input)).toEqual([]);
@@ -23,7 +23,7 @@ describe('workspace embedding origin edits', () => {
undefined,
])('rejects an invalid origin: %s', async (origin) => {
const input = Object.assign(
- new UpdateWorkspaceAllowedIframeOriginsInput(),
+ new UpdateWorkspaceAllowedEmbeddingOriginsInput(),
{ operation: 'add', origin },
);
expect(await validate(input)).toEqual(
@@ -32,7 +32,7 @@ describe('workspace embedding origin edits', () => {
});
it('rejects replacing the whole list', async () => {
const input = Object.assign(
- new UpdateWorkspaceAllowedIframeOriginsInput(),
+ new UpdateWorkspaceAllowedEmbeddingOriginsInput(),
{ operation: 'replace', origin: 'https://portal.example.com' },
);
expect(await validate(input)).toEqual(
diff --git a/packages/twenty-server/src/engine/core-modules/workspace/dtos/iframe-media-permission.dto.ts b/packages/twenty-server/src/engine/core-modules/workspace/dtos/iframe-media-permission.dto.ts
new file mode 100644
index 00000000000..6196fc4dc2f
--- /dev/null
+++ b/packages/twenty-server/src/engine/core-modules/workspace/dtos/iframe-media-permission.dto.ts
@@ -0,0 +1,14 @@
+import { Field, ObjectType } from '@nestjs/graphql';
+import { type IframeMediaPermission } from 'twenty-shared/types';
+
+@ObjectType('IframeMediaPermission')
+export class IframeMediaPermissionDTO implements IframeMediaPermission {
+ @Field()
+ origin: string;
+
+ @Field()
+ microphone: boolean;
+
+ @Field()
+ camera: boolean;
+}
diff --git a/packages/twenty-server/src/engine/core-modules/workspace/dtos/update-workspace-allowed-iframe-origins.input.ts b/packages/twenty-server/src/engine/core-modules/workspace/dtos/update-workspace-allowed-embedding-origins.input.ts
similarity index 64%
rename from packages/twenty-server/src/engine/core-modules/workspace/dtos/update-workspace-allowed-iframe-origins.input.ts
rename to packages/twenty-server/src/engine/core-modules/workspace/dtos/update-workspace-allowed-embedding-origins.input.ts
index 303295aff9f..645c92d7835 100644
--- a/packages/twenty-server/src/engine/core-modules/workspace/dtos/update-workspace-allowed-iframe-origins.input.ts
+++ b/packages/twenty-server/src/engine/core-modules/workspace/dtos/update-workspace-allowed-embedding-origins.input.ts
@@ -1,20 +1,20 @@
import { Field, InputType } from '@nestjs/graphql';
import { isString } from '@sniptt/guards';
import { IsIn, ValidateBy } from 'class-validator';
-import { isDefined, normalizeAllowedIframeOrigin } from 'twenty-shared/utils';
+import { isDefined, normalizeIframeOrigin } from 'twenty-shared/utils';
@InputType()
-export class UpdateWorkspaceAllowedIframeOriginsInput {
+export class UpdateWorkspaceAllowedEmbeddingOriginsInput {
@Field(() => String)
@IsIn(['add', 'remove'])
operation: 'add' | 'remove';
@Field()
@ValidateBy({
- name: 'allowedIframeOrigin',
+ name: 'allowedEmbeddingOrigin',
validator: {
validate: (value: unknown) =>
- isString(value) && isDefined(normalizeAllowedIframeOrigin(value)),
+ isString(value) && isDefined(normalizeIframeOrigin(value)),
defaultMessage: () =>
'Enter an HTTP or HTTPS origin without a path or wildcard',
},
diff --git a/packages/twenty-server/src/engine/core-modules/workspace/dtos/update-workspace-iframe-media-permissions.input.ts b/packages/twenty-server/src/engine/core-modules/workspace/dtos/update-workspace-iframe-media-permissions.input.ts
new file mode 100644
index 00000000000..55156440bbe
--- /dev/null
+++ b/packages/twenty-server/src/engine/core-modules/workspace/dtos/update-workspace-iframe-media-permissions.input.ts
@@ -0,0 +1,18 @@
+import { Field, InputType } from '@nestjs/graphql';
+import { IsBoolean, IsString } from 'class-validator';
+import { type IframeMediaPermission } from 'twenty-shared/types';
+
+@InputType()
+export class UpdateWorkspaceIframeMediaPermissionsInput implements IframeMediaPermission {
+ @Field()
+ @IsString()
+ origin: string;
+
+ @Field()
+ @IsBoolean()
+ microphone: boolean;
+
+ @Field()
+ @IsBoolean()
+ camera: boolean;
+}
diff --git a/packages/twenty-server/src/engine/core-modules/workspace/services/workspace.service.ts b/packages/twenty-server/src/engine/core-modules/workspace/services/workspace.service.ts
index 25dd22b6f88..dbe2ca6a591 100644
--- a/packages/twenty-server/src/engine/core-modules/workspace/services/workspace.service.ts
+++ b/packages/twenty-server/src/engine/core-modules/workspace/services/workspace.service.ts
@@ -10,6 +10,7 @@ import { msg } from '@lingui/core/macro';
import chunk from 'lodash.chunk';
import { setTimeout } from 'node:timers/promises';
import { isAiModelTier, type AiModelTier } from 'twenty-shared/ai';
+import { type IframeMediaPermission } from 'twenty-shared/types';
import {
MAX_ALLOWED_IFRAME_ORIGINS,
PermissionFlagType,
@@ -18,7 +19,7 @@ import {
assertIsDefinedOrThrow,
isAutoSelectModelId,
isDefined,
- normalizeAllowedIframeOrigin,
+ normalizeIframeOrigin,
} from 'twenty-shared/utils';
import { WorkspaceActivationStatus } from 'twenty-shared/workspace';
import {
@@ -54,6 +55,7 @@ import {
import { ExceptionHandlerService } from 'src/engine/core-modules/exception-handler/exception-handler.service';
import { FeatureFlagService } from 'src/engine/core-modules/feature-flag/services/feature-flag.service';
import { FileCorePictureService } from 'src/engine/core-modules/file/file-core-picture/services/file-core-picture.service';
+import { isIframeMediaPermissionsPolicyWithinSizeLimit } from 'src/engine/core-modules/frontend/utils/is-iframe-media-permissions-policy-within-size-limit.util';
import {
FileWorkspaceFolderDeletionJob,
type FileWorkspaceFolderDeletionJobData,
@@ -72,7 +74,7 @@ import { UserWorkspaceEntity } from 'src/engine/core-modules/user-workspace/user
import { UserWorkspaceService } from 'src/engine/core-modules/user-workspace/user-workspace.service';
import { UserEntity } from 'src/engine/core-modules/user/user.entity';
import { type UpdateWorkspaceInput } from 'src/engine/core-modules/workspace/dtos/update-workspace-input';
-import { type UpdateWorkspaceAllowedIframeOriginsInput } from 'src/engine/core-modules/workspace/dtos/update-workspace-allowed-iframe-origins.input';
+import { type UpdateWorkspaceAllowedEmbeddingOriginsInput } from 'src/engine/core-modules/workspace/dtos/update-workspace-allowed-embedding-origins.input';
import { WORKSPACE_FIELDS_NOT_UPDATABLE_BY_APPLICATIONS } from 'src/engine/core-modules/workspace/constants/workspace-fields-not-updatable-by-applications.constant';
import { WORKSPACE_FIELDS_UPDATABLE_BEFORE_ACTIVATION } from 'src/engine/core-modules/workspace/constants/workspace-fields-updatable-before-activation.constant';
import {
@@ -80,6 +82,7 @@ import {
type WorkspaceDeletionApplicationUninstallJobData,
} from 'src/engine/core-modules/workspace/jobs/workspace-deletion-application-uninstall.job';
import { getWorkspaceApplicationUninstallLockName } from 'src/engine/core-modules/workspace/utils/get-workspace-application-uninstall-lock-name.util';
+import { upsertIframeMediaPermission } from 'src/engine/core-modules/workspace/utils/upsert-iframe-media-permission.util';
import { WORKSPACE_REACTIVATED_EVENT } from 'src/engine/core-modules/workspace/constants/workspace-reactivated-event.constant';
import { WORKSPACE_SOFT_DELETED_EVENT } from 'src/engine/core-modules/workspace/constants/workspace-soft-deleted-event.constant';
import { WORKSPACE_SUSPENDED_EVENT } from 'src/engine/core-modules/workspace/constants/workspace-suspended-event.constant';
@@ -292,9 +295,9 @@ export class WorkspaceService {
}
}
- async updateWorkspaceAllowedIframeOrigins(
+ async updateWorkspaceAllowedEmbeddingOrigins(
workspaceId: string,
- input: UpdateWorkspaceAllowedIframeOriginsInput,
+ input: UpdateWorkspaceAllowedEmbeddingOriginsInput,
): Promise<WorkspaceEntity> {
const updatedWorkspace = await this.workspaceRepository.manager.transaction(
async (manager) => {
@@ -304,23 +307,23 @@ export class WorkspaceService {
lock: { mode: 'pessimistic_write' },
});
assertIsDefinedOrThrow(workspace, WorkspaceNotFoundDefaultError);
- const origin = normalizeAllowedIframeOrigin(input.origin);
+ const origin = normalizeIframeOrigin(input.origin);
assertIsDefinedOrThrow(origin);
- const origins = workspace.allowedIframeOrigins ?? [];
- const allowedIframeOrigins =
+ const origins = workspace.allowedEmbeddingOrigins ?? [];
+ const allowedEmbeddingOrigins =
input.operation === 'add'
? [...new Set([...origins, origin])]
: origins.filter((existingOrigin) => existingOrigin !== origin);
- if (allowedIframeOrigins.length > MAX_ALLOWED_IFRAME_ORIGINS) {
+ if (allowedEmbeddingOrigins.length > MAX_ALLOWED_IFRAME_ORIGINS) {
throw new WorkspaceException(
'Too many embedding origins',
WorkspaceExceptionCode.IFRAME_ORIGIN_LIMIT_EXCEEDED,
);
}
- await repository.update(workspaceId, { allowedIframeOrigins });
- return { ...workspace, allowedIframeOrigins };
+ await repository.update(workspaceId, { allowedEmbeddingOrigins });
+ return { ...workspace, allowedEmbeddingOrigins };
},
);
@@ -331,6 +334,71 @@ export class WorkspaceService {
return updatedWorkspace;
}
+ async updateWorkspaceIframeMediaPermissions({
+ workspaceId,
+ input,
+ }: {
+ workspaceId: string;
+ input: IframeMediaPermission;
+ }): Promise<WorkspaceEntity> {
+ const origin = normalizeIframeOrigin(input.origin, { isHttpsOnly: true });
+
+ if (!isDefined(origin)) {
+ throw new WorkspaceException(
+ 'Invalid iframe media permission origin',
+ WorkspaceExceptionCode.IFRAME_MEDIA_PERMISSION_ORIGIN_NOT_VALID,
+ );
+ }
+
+ const updatedWorkspace = await this.workspaceRepository.manager.transaction(
+ async (manager) => {
+ const repository = manager.getRepository(WorkspaceEntity);
+ const workspace = await repository.findOne({
+ where: { id: workspaceId },
+ lock: { mode: 'pessimistic_write' },
+ });
+
+ assertIsDefinedOrThrow(workspace, WorkspaceNotFoundDefaultError);
+
+ const iframeMediaPermissions = upsertIframeMediaPermission({
+ permissions: workspace.iframeMediaPermissions ?? [],
+ permission: {
+ origin,
+ microphone: input.microphone,
+ camera: input.camera,
+ },
+ });
+
+ if (iframeMediaPermissions.length > MAX_ALLOWED_IFRAME_ORIGINS) {
+ throw new WorkspaceException(
+ 'Too many iframe media origins',
+ WorkspaceExceptionCode.IFRAME_ORIGIN_LIMIT_EXCEEDED,
+ );
+ }
+
+ if (
+ !isIframeMediaPermissionsPolicyWithinSizeLimit(iframeMediaPermissions)
+ ) {
+ throw new WorkspaceException(
+ 'Iframe media origins exceed the Permissions-Policy size limit',
+ WorkspaceExceptionCode.IFRAME_MEDIA_PERMISSIONS_POLICY_TOO_LARGE,
+ );
+ }
+
+ await repository.update(workspaceId, { iframeMediaPermissions });
+
+ return { ...workspace, iframeMediaPermissions };
+ },
+ );
+
+ await this.coreEntityCacheService.invalidate(
+ 'workspaceEntity',
+ workspaceId,
+ );
+
+ return updatedWorkspace;
+ }
+
async updateWorkspaceById({
payload,
userWorkspaceId,
diff --git a/packages/twenty-server/src/engine/core-modules/workspace/utils/__tests__/upsert-iframe-media-permission.util.spec.ts b/packages/twenty-server/src/engine/core-modules/workspace/utils/__tests__/upsert-iframe-media-permission.util.spec.ts
new file mode 100644
index 00000000000..14c2b23a3b3
--- /dev/null
+++ b/packages/twenty-server/src/engine/core-modules/workspace/utils/__tests__/upsert-iframe-media-permission.util.spec.ts
@@ -0,0 +1,47 @@
+import { upsertIframeMediaPermission } from 'src/engine/core-modules/workspace/utils/upsert-iframe-media-permission.util';
+
+const PHONE = {
+ origin: 'https://phone.example.com',
+ microphone: true,
+ camera: false,
+};
+const VIDEO = {
+ origin: 'https://video.example.com',
+ microphone: true,
+ camera: true,
+};
+
+describe('upsertIframeMediaPermission', () => {
+ it('appends a newly approved origin', () => {
+ expect(
+ upsertIframeMediaPermission({ permissions: [PHONE], permission: VIDEO }),
+ ).toEqual([PHONE, VIDEO]);
+ });
+
+ it('updates an existing origin in place', () => {
+ expect(
+ upsertIframeMediaPermission({
+ permissions: [PHONE, VIDEO],
+ permission: { ...PHONE, camera: true },
+ }),
+ ).toEqual([{ ...PHONE, camera: true }, VIDEO]);
+ });
+
+ it('removes an origin when every capability is disabled', () => {
+ expect(
+ upsertIframeMediaPermission({
+ permissions: [PHONE, VIDEO],
+ permission: { ...PHONE, microphone: false },
+ }),
+ ).toEqual([VIDEO]);
+ });
+
+ it('ignores an unknown origin without capabilities', () => {
+ expect(
+ upsertIframeMediaPermission({
+ permissions: [PHONE],
+ permission: { ...VIDEO, microphone: false, camera: false },
+ }),
+ ).toEqual([PHONE]);
+ });
+});
diff --git a/packages/twenty-server/src/engine/core-modules/workspace/utils/__tests__/workspace-graphql-api-exception-handler.util.spec.ts b/packages/twenty-server/src/engine/core-modules/workspace/utils/__tests__/workspace-graphql-api-exception-handler.util.spec.ts
index c852bc860b7..1921e1dcec4 100644
--- a/packages/twenty-server/src/engine/core-modules/workspace/utils/__tests__/workspace-graphql-api-exception-handler.util.spec.ts
+++ b/packages/twenty-server/src/engine/core-modules/workspace/utils/__tests__/workspace-graphql-api-exception-handler.util.spec.ts
@@ -1,6 +1,7 @@
import {
ConflictError,
NotFoundError,
+ UserInputError,
} from 'src/engine/core-modules/graphql/utils/graphql-errors.util';
import { workspaceGraphqlApiExceptionHandler } from 'src/engine/core-modules/workspace/utils/workspace-graphql-api-exception-handler.util';
import {
@@ -53,6 +54,17 @@ describe('workspaceGraphqlApiExceptionHandler', () => {
);
});
+ it('should throw UserInputError when iframe media origins overflow the policy header', () => {
+ const error = new WorkspaceException(
+ 'Iframe media origins exceed the Permissions-Policy size limit',
+ WorkspaceExceptionCode.IFRAME_MEDIA_PERMISSIONS_POLICY_TOO_LARGE,
+ );
+
+ expect(() => workspaceGraphqlApiExceptionHandler(error)).toThrow(
+ UserInputError,
+ );
+ });
+
it('should throw the original error if it is not a WorkspaceException', () => {
const genericError = new Error('Generic error');
diff --git a/packages/twenty-server/src/engine/core-modules/workspace/utils/from-workspace-entity-to-flat.util.ts b/packages/twenty-server/src/engine/core-modules/workspace/utils/from-workspace-entity-to-flat.util.ts
index c3dd9c71a26..ef8408974f7 100644
--- a/packages/twenty-server/src/engine/core-modules/workspace/utils/from-workspace-entity-to-flat.util.ts
+++ b/packages/twenty-server/src/engine/core-modules/workspace/utils/from-workspace-entity-to-flat.util.ts
@@ -29,7 +29,8 @@ export const fromWorkspaceEntityToFlat = (
isMicrosoftAuthEnabled: entity.isMicrosoftAuthEnabled,
isMicrosoftAuthBypassEnabled: entity.isMicrosoftAuthBypassEnabled,
isCustomDomainEnabled: entity.isCustomDomainEnabled,
- allowedIframeOrigins: entity.allowedIframeOrigins,
+ allowedEmbeddingOrigins: entity.allowedEmbeddingOrigins,
+ iframeMediaPermissions: entity.iframeMediaPermissions,
editableProfileFields: entity.editableProfileFields,
defaultRoleId: entity.defaultRoleId,
aiChatModelTier: entity.aiChatModelTier,
diff --git a/packages/twenty-server/src/engine/core-modules/workspace/utils/upsert-iframe-media-permission.util.ts b/packages/twenty-server/src/engine/core-modules/workspace/utils/upsert-iframe-media-permission.util.ts
new file mode 100644
index 00000000000..779543855bf
--- /dev/null
+++ b/packages/twenty-server/src/engine/core-modules/workspace/utils/upsert-iframe-media-permission.util.ts
@@ -0,0 +1,29 @@
+import { type IframeMediaPermission } from 'twenty-shared/types';
+
+export const upsertIframeMediaPermission = ({
+ permissions,
+ permission,
+}: {
+ permissions: IframeMediaPermission[];
+ permission: IframeMediaPermission;
+}): IframeMediaPermission[] => {
+ if (!permission.microphone && !permission.camera) {
+ return permissions.filter(
+ (existingPermission) => existingPermission.origin !== permission.origin,
+ );
+ }
+
+ const isConfiguredOrigin = permissions.some(
+ (existingPermission) => existingPermission.origin === permission.origin,
+ );
+
+ if (!isConfiguredOrigin) {
+ return [...permissions, permission];
+ }
+
+ return permissions.map((existingPermission) =>
+ existingPermission.origin === permission.origin
+ ? permission
+ : existingPermission,
+ );
+};
diff --git a/packages/twenty-server/src/engine/core-modules/workspace/utils/workspace-graphql-api-exception-handler.util.ts b/packages/twenty-server/src/engine/core-modules/workspace/utils/workspace-graphql-api-exception-handler.util.ts
index 82e239843a8..eddc07697fd 100644
--- a/packages/twenty-server/src/engine/core-modules/workspace/utils/workspace-graphql-api-exception-handler.util.ts
+++ b/packages/twenty-server/src/engine/core-modules/workspace/utils/workspace-graphql-api-exception-handler.util.ts
@@ -28,6 +28,8 @@ export const workspaceGraphqlApiExceptionHandler = (error: Error) => {
case WorkspaceExceptionCode.EVENT_LOG_RETENTION_DISABLED:
throw new ForbiddenError(error);
case WorkspaceExceptionCode.IFRAME_ORIGIN_LIMIT_EXCEEDED:
+ case WorkspaceExceptionCode.IFRAME_MEDIA_PERMISSION_ORIGIN_NOT_VALID:
+ case WorkspaceExceptionCode.IFRAME_MEDIA_PERMISSIONS_POLICY_TOO_LARGE:
case WorkspaceExceptionCode.AI_MODEL_PIN_NOT_VALID:
throw new UserInputError(error);
default: {
diff --git a/packages/twenty-server/src/engine/core-modules/workspace/workspace.entity.ts b/packages/twenty-server/src/engine/core-modules/workspace/workspace.entity.ts
index 07d12600970..9ac4c4f1ab0 100644
--- a/packages/twenty-server/src/engine/core-modules/workspace/workspace.entity.ts
+++ b/packages/twenty-server/src/engine/core-modules/workspace/workspace.entity.ts
@@ -8,6 +8,7 @@ import {
type AiModelTier,
} from 'twenty-shared/ai';
import { EVENT_LOG_RETENTION } from 'twenty-shared/constants';
+import { type IframeMediaPermission } from 'twenty-shared/types';
import { WorkspaceActivationStatus } from 'twenty-shared/workspace';
import {
Check,
@@ -41,7 +42,9 @@ import { KeyValuePairEntity } from 'src/engine/core-modules/key-value-pair/key-v
import { PublicDomainEntity } from 'src/engine/core-modules/public-domain/public-domain.entity';
import { WorkspaceSsoIdentityProviderEntity } from 'src/engine/core-modules/sso/workspace-sso-identity-provider.entity';
import { WasIntroducedInUpgrade } from 'src/engine/core-modules/upgrade/decorators/was-introduced-in-upgrade.decorator';
+import { WasRenamedInUpgrade } from 'src/engine/core-modules/upgrade/decorators/was-renamed-in-upgrade.decorator';
import { UserWorkspaceEntity } from 'src/engine/core-modules/user-workspace/user-workspace.entity';
+import { IframeMediaPermissionDTO } from 'src/engine/core-modules/workspace/dtos/iframe-media-permission.dto';
import { AiChatAssistantMode } from 'src/engine/core-modules/workspace/enums/ai-chat-assistant-mode.enum';
import { WorkspaceDiscoverability } from 'src/engine/core-modules/workspace/types/workspace-discoverability.type';
import { AgentEntity } from 'src/engine/metadata-modules/ai/ai-agent/entities/agent.entity';
@@ -323,8 +326,23 @@ export class WorkspaceEntity {
upgradeCommandName:
'2.43.0_AddWorkspaceAllowedIframeOriginsFastInstanceCommand_1790232481570',
})
+ @WasRenamedInUpgrade([
+ {
+ previousName: 'allowedIframeOrigins',
+ upgradeCommandName:
+ '2.55.0_RenameWorkspaceAllowedIframeOriginsToAllowedEmbeddingOriginsFastInstanceCommand_1793371022971',
+ },
+ ])
@Column({ type: 'varchar', array: true, default: '{}' })
- allowedIframeOrigins: string[];
+ allowedEmbeddingOrigins: string[];
+
+ @Field(() => [IframeMediaPermissionDTO], { nullable: true })
+ @WasIntroducedInUpgrade({
+ upgradeCommandName:
+ '2.55.0_AddWorkspaceIframeMediaPermissionsFastInstanceCommand_1793371022948',
+ })
+ @Column({ type: 'jsonb', default: [] })
+ iframeMediaPermissions: IframeMediaPermission[];
@Field(() => [String], { nullable: true })
@Column({
diff --git a/packages/twenty-server/src/engine/core-modules/workspace/workspace.exception.ts b/packages/twenty-server/src/engine/core-modules/workspace/workspace.exception.ts
index 49f202f514b..683d8ede3c2 100644
--- a/packages/twenty-server/src/engine/core-modules/workspace/workspace.exception.ts
+++ b/packages/twenty-server/src/engine/core-modules/workspace/workspace.exception.ts
@@ -7,6 +7,8 @@ import { CustomException } from 'src/utils/custom-exception';
export enum WorkspaceExceptionCode {
IFRAME_ORIGIN_LIMIT_EXCEEDED = 'IFRAME_ORIGIN_LIMIT_EXCEEDED',
+ IFRAME_MEDIA_PERMISSION_ORIGIN_NOT_VALID = 'IFRAME_MEDIA_PERMISSION_ORIGIN_NOT_VALID',
+ IFRAME_MEDIA_PERMISSIONS_POLICY_TOO_LARGE = 'IFRAME_MEDIA_PERMISSIONS_POLICY_TOO_LARGE',
SUBDOMAIN_NOT_FOUND = 'SUBDOMAIN_NOT_FOUND',
SUBDOMAIN_ALREADY_TAKEN = 'SUBDOMAIN_ALREADY_TAKEN',
SUBDOMAIN_NOT_VALID = 'SUBDOMAIN_NOT_VALID',
@@ -26,6 +28,10 @@ const getWorkspaceExceptionUserFriendlyMessage = (
switch (code) {
case WorkspaceExceptionCode.IFRAME_ORIGIN_LIMIT_EXCEEDED:
return msg`You can allow up to ${MAX_ALLOWED_IFRAME_ORIGINS} origins.`;
+ case WorkspaceExceptionCode.IFRAME_MEDIA_PERMISSION_ORIGIN_NOT_VALID:
+ return msg`Enter an HTTPS origin without a path or wildcard`;
+ case WorkspaceExceptionCode.IFRAME_MEDIA_PERMISSIONS_POLICY_TOO_LARGE:
+ return msg`These origins are too long to allow together. Remove one and try again.`;
case WorkspaceExceptionCode.SUBDOMAIN_NOT_FOUND:
return msg`Subdomain not found.`;
case WorkspaceExceptionCode.SUBDOMAIN_ALREADY_TAKEN:
diff --git a/packages/twenty-server/src/engine/core-modules/workspace/workspace.resolver.ts b/packages/twenty-server/src/engine/core-modules/workspace/workspace.resolver.ts
index 29ee9536ea9..b687ca45810 100644
--- a/packages/twenty-server/src/engine/core-modules/workspace/workspace.resolver.ts
+++ b/packages/twenty-server/src/engine/core-modules/workspace/workspace.resolver.ts
@@ -47,7 +47,8 @@ import {
PublicWorkspaceDataDTO,
PublicWorkspaceDataSummaryDTO,
} from 'src/engine/core-modules/workspace/dtos/public-workspace-data.dto';
-import { UpdateWorkspaceAllowedIframeOriginsInput } from 'src/engine/core-modules/workspace/dtos/update-workspace-allowed-iframe-origins.input';
+import { UpdateWorkspaceAllowedEmbeddingOriginsInput } from 'src/engine/core-modules/workspace/dtos/update-workspace-allowed-embedding-origins.input';
+import { UpdateWorkspaceIframeMediaPermissionsInput } from 'src/engine/core-modules/workspace/dtos/update-workspace-iframe-media-permissions.input';
import { UpdateWorkspaceInput } from 'src/engine/core-modules/workspace/dtos/update-workspace-input';
import { WorkspaceUrlsDTO } from 'src/engine/core-modules/workspace/dtos/workspace-urls.dto';
import { WorkspaceService } from 'src/engine/core-modules/workspace/services/workspace.service';
@@ -212,12 +213,12 @@ export class WorkspaceResolver {
}),
SettingsPermissionGuard(PermissionFlagType.SECURITY),
)
- async updateWorkspaceAllowedIframeOrigins(
- @Args('data') data: UpdateWorkspaceAllowedIframeOriginsInput,
+ async updateWorkspaceAllowedEmbeddingOrigins(
+ @Args('data') data: UpdateWorkspaceAllowedEmbeddingOriginsInput,
@AuthWorkspace() workspace: WorkspaceEntity,
) {
try {
- return await this.workspaceService.updateWorkspaceAllowedIframeOrigins(
+ return await this.workspaceService.updateWorkspaceAllowedEmbeddingOrigins(
workspace.id,
data,
);
@@ -226,6 +227,35 @@ export class WorkspaceResolver {
}
}
+ @Mutation(() => WorkspaceEntity)
+ @UseGuards(
+ AuthPrincipalGuard({
+ userSession: {
+ standard: true,
+ impersonated: true,
+ playground: false,
+ workspaceAgnostic: false,
+ },
+ apiKey: false,
+ oauthClient: false,
+ application: false,
+ }),
+ SettingsPermissionGuard(PermissionFlagType.SECURITY),
+ )
+ async updateWorkspaceIframeMediaPermissions(
+ @Args('data') input: UpdateWorkspaceIframeMediaPermissionsInput,
+ @AuthWorkspace() { id: workspaceId }: WorkspaceEntity,
+ ) {
+ try {
+ return await this.workspaceService.updateWorkspaceIframeMediaPermissions({
+ workspaceId,
+ input,
+ });
+ } catch (error) {
+ workspaceGraphqlApiExceptionHandler(error);
+ }
+ }
+
@ResolveField(() => [FeatureFlagDTO], { nullable: true })
async featureFlags(
@Parent() workspace: WorkspaceEntity,
diff --git a/packages/twenty-server/test/integration/endpoint-permissions/__snapshots__/endpoint-permission-declarations.integration-spec.ts.snap b/packages/twenty-server/test/integration/endpoint-permissions/__snapshots__/endpoint-permission-declarations.integration-spec.ts.snap
index 8f2094f27db..5a87d58cc4c 100644
--- a/packages/twenty-server/test/integration/endpoint-permissions/__snapshots__/endpoint-permission-declarations.integration-spec.ts.snap
+++ b/packages/twenty-server/test/integration/endpoint-permissions/__snapshots__/endpoint-permission-declarations.integration-spec.ts.snap
@@ -713,7 +713,8 @@ exports[`endpoint permission declarations should match the auth principals, perm
"WorkspaceResolver.getPublicWorkspaceDataByDomain {"applicationTarget":null,"authPrincipalGuards":[],"requiredFeatureFlags":[],"requiredPermissionFlags":[]}",
"WorkspaceResolver.getPublicWorkspaceDataById {"applicationTarget":null,"authPrincipalGuards":[],"requiredFeatureFlags":[],"requiredPermissionFlags":[]}",
"WorkspaceResolver.updateWorkspace {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":true,"application":{"withAgent":false,"withUser":false,"withoutUser":false},"oauthClient":{"withUser":true,"withoutUser":true},"userSession":{"impersonated":true,"playground":true,"standard":true,"workspaceAgnostic":false}}],"requiredFeatureFlags":[],"requiredPermissionFlags":[]}",
- "WorkspaceResolver.updateWorkspaceAllowedIframeOrigins {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":true,"application":{"withAgent":false,"withUser":true,"withoutUser":true},"oauthClient":{"withUser":true,"withoutUser":true},"userSession":{"impersonated":true,"playground":true,"standard":true,"workspaceAgnostic":false}}],"requiredFeatureFlags":[],"requiredPermissionFlags":["SECURITY"]}",
+ "WorkspaceResolver.updateWorkspaceAllowedEmbeddingOrigins {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":true,"application":{"withAgent":false,"withUser":true,"withoutUser":true},"oauthClient":{"withUser":true,"withoutUser":true},"userSession":{"impersonated":true,"playground":true,"standard":true,"workspaceAgnostic":false}}],"requiredFeatureFlags":[],"requiredPermissionFlags":["SECURITY"]}",
+ "WorkspaceResolver.updateWorkspaceIframeMediaPermissions {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":false,"application":{"withAgent":false,"withUser":false,"withoutUser":false},"oauthClient":{"withUser":false,"withoutUser":false},"userSession":{"impersonated":true,"playground":false,"standard":true,"workspaceAgnostic":false}}],"requiredFeatureFlags":[],"requiredPermissionFlags":["SECURITY"]}",
"WorkspaceSetupChatResolver.startWorkspaceSetupChat {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":false,"application":{"withAgent":false,"withUser":true,"withoutUser":false},"oauthClient":{"withUser":true,"withoutUser":false},"userSession":{"impersonated":true,"playground":true,"standard":true,"workspaceAgnostic":false}}],"requiredFeatureFlags":[],"requiredPermissionFlags":["AI"]}",
]
`;
diff --git a/packages/twenty-server/test/integration/graphql/suites/settings-permissions/iframe-media-permissions.integration-spec.ts b/packages/twenty-server/test/integration/graphql/suites/settings-permissions/iframe-media-permissions.integration-spec.ts
new file mode 100644
index 00000000000..1f39d5cc192
--- /dev/null
+++ b/packages/twenty-server/test/integration/graphql/suites/settings-permissions/iframe-media-permissions.integration-spec.ts
@@ -0,0 +1,214 @@
+import request from 'supertest';
+import { MAX_ALLOWED_IFRAME_ORIGINS } from 'twenty-shared/constants';
+import { type IframeMediaPermission } from 'twenty-shared/types';
+
+import { ErrorCode } from 'src/engine/core-modules/graphql/utils/graphql-errors.util';
+
+const client = request(`http://localhost:${APP_PORT}`);
+
+const updatePermission = ({
+ permission,
+ token = APPLE_JANE_ADMIN_ACCESS_TOKEN,
+}: {
+ permission: IframeMediaPermission;
+ token?: string;
+}) =>
+ client
+ .post('/metadata')
+ .set('Authorization', `Bearer ${token}`)
+ .send({
+ query: `
+ mutation UpdateIframeMediaPermissions($data: UpdateWorkspaceIframeMediaPermissionsInput!) {
+ updateWorkspaceIframeMediaPermissions(data: $data) {
+ iframeMediaPermissions { origin microphone camera }
+ }
+ }
+ `,
+ variables: { data: permission },
+ });
+
+const readPermissions = async (): Promise<IframeMediaPermission[]> => {
+ const response = await client
+ .post('/metadata')
+ .set('Authorization', `Bearer ${APPLE_JANE_ADMIN_ACCESS_TOKEN}`)
+ .send({
+ query: `
+ {
+ currentUser {
+ currentWorkspace {
+ iframeMediaPermissions { origin microphone camera }
+ }
+ }
+ }
+ `,
+ })
+ .expect(200);
+
+ expect(response.body.errors).toBeUndefined();
+
+ return response.body.data.currentUser.currentWorkspace.iframeMediaPermissions;
+};
+
+const removePermissions = async () => {
+ for (const { origin } of await readPermissions()) {
+ const response = await updatePermission({
+ permission: { origin, microphone: false, camera: false },
+ });
+
+ expect(response.body.errors).toBeUndefined();
+ }
+};
+
+describe('Iframe media security permissions', () => {
+ let originalPermissions: IframeMediaPermission[];
+
+ beforeAll(async () => {
+ originalPermissions = await readPermissions();
+ });
+
+ beforeEach(removePermissions);
+
+ afterAll(async () => {
+ await removePermissions();
+
+ for (const permission of originalPermissions) {
+ const response = await updatePermission({ permission });
+
+ expect(response.body.errors).toBeUndefined();
+ }
+ });
+
+ it('upserts normalized capabilities and refreshes cached permissions after revocation', async () => {
+ const created = await updatePermission({
+ permission: {
+ origin: 'https://PHONE.example.com:443/',
+ microphone: true,
+ camera: false,
+ },
+ });
+
+ expect(created.body.errors).toBeUndefined();
+ expect(await readPermissions()).toEqual([
+ {
+ origin: 'https://phone.example.com',
+ microphone: true,
+ camera: false,
+ },
+ ]);
+
+ const updated = await updatePermission({
+ permission: {
+ origin: 'https://phone.example.com',
+ microphone: false,
+ camera: true,
+ },
+ });
+
+ expect(updated.body.errors).toBeUndefined();
+ expect(await readPermissions()).toEqual([
+ {
+ origin: 'https://phone.example.com',
+ microphone: false,
+ camera: true,
+ },
+ ]);
+
+ await updatePermission({
+ permission: {
+ origin: 'https://phone.example.com',
+ microphone: false,
+ camera: false,
+ },
+ });
+
+ expect(await readPermissions()).toEqual([]);
+ });
+
+ it('requires Security permission', async () => {
+ const response = await updatePermission({
+ permission: {
+ origin: 'https://phone.example.com',
+ microphone: true,
+ camera: false,
+ },
+ token: APPLE_JONY_MEMBER_ACCESS_TOKEN,
+ });
+
+ expect(response.body.errors[0].extensions.code).toBe(ErrorCode.FORBIDDEN);
+ expect(await readPermissions()).toEqual([]);
+ });
+
+ it('rejects insecure origins before saving permissions', async () => {
+ const response = await updatePermission({
+ permission: {
+ origin: 'http://phone.example.com',
+ microphone: true,
+ camera: false,
+ },
+ });
+
+ expect(response.body.errors[0].extensions).toMatchObject({
+ code: ErrorCode.BAD_USER_INPUT,
+ userFriendlyMessage: 'Enter an HTTPS origin without a path or wildcard',
+ });
+ expect(await readPermissions()).toEqual([]);
+ });
+
+ it('preserves concurrent grants and enforces the origin limit', async () => {
+ for (let index = 0; index < MAX_ALLOWED_IFRAME_ORIGINS - 2; index++) {
+ const response = await updatePermission({
+ permission: {
+ origin: `https://phone-${index}.example.com`,
+ microphone: true,
+ camera: false,
+ },
+ });
+
+ expect(response.body.errors).toBeUndefined();
+ }
+
+ const responses = await Promise.all(
+ ['one', 'two', 'three'].map((name) =>
+ updatePermission({
+ permission: {
+ origin: `https://${name}.example.com`,
+ microphone: false,
+ camera: true,
+ },
+ }),
+ ),
+ );
+
+ expect(responses.filter((response) => response.body.errors)).toHaveLength(
+ 1,
+ );
+ expect(await readPermissions()).toHaveLength(MAX_ALLOWED_IFRAME_ORIGINS);
+ });
+
+ it('rejects origins that would overflow the Permissions-Policy header', async () => {
+ const buildLongOriginPermission = (index: number) => ({
+ origin: `https://${'a'.repeat(63)}.${'b'.repeat(63)}.${'c'.repeat(63)}.phone-${index}.example.com`,
+ microphone: true,
+ camera: true,
+ });
+
+ for (let index = 0; index < 4; index++) {
+ const response = await updatePermission({
+ permission: buildLongOriginPermission(index),
+ });
+
+ expect(response.body.errors).toBeUndefined();
+ }
+
+ const response = await updatePermission({
+ permission: buildLongOriginPermission(4),
+ });
+
+ expect(response.body.errors[0].extensions).toMatchObject({
+ code: ErrorCode.BAD_USER_INPUT,
+ userFriendlyMessage:
+ 'These origins are too long to allow together. Remove one and try again.',
+ });
+ expect(await readPermissions()).toHaveLength(4);
+ });
+});
diff --git a/packages/twenty-server/test/integration/graphql/suites/settings-permissions/security.integration-spec.ts b/packages/twenty-server/test/integration/graphql/suites/settings-permissions/security.integration-spec.ts
index 0ca5b9b87d7..77d6ddb426b 100644
--- a/packages/twenty-server/test/integration/graphql/suites/settings-permissions/security.integration-spec.ts
+++ b/packages/twenty-server/test/integration/graphql/suites/settings-permissions/security.integration-spec.ts
@@ -23,8 +23,8 @@ const uploadWorkspaceLogoMutation = gql`
const client = request(`http://localhost:${APP_PORT}`);
const embeddingMutation = `
- mutation UpdateEmbeddingOrigins($data: UpdateWorkspaceAllowedIframeOriginsInput!) {
- updateWorkspaceAllowedIframeOrigins(data: $data) { id allowedIframeOrigins }
+ mutation UpdateEmbeddingOrigins($data: UpdateWorkspaceAllowedEmbeddingOriginsInput!) {
+ updateWorkspaceAllowedEmbeddingOrigins(data: $data) { id allowedEmbeddingOrigins }
}
`;
@@ -41,18 +41,20 @@ const editOrigin = (
variables: { data: { operation, origin } },
});
-const readOrigins = async () => {
+const readOrigins = async (): Promise<string[]> => {
const response = await client
.post('/metadata')
.set('Authorization', `Bearer ${APPLE_JANE_ADMIN_ACCESS_TOKEN}`)
- .send({ query: '{ currentWorkspace { allowedIframeOrigins } }' })
+ .send({ query: '{ currentWorkspace { allowedEmbeddingOrigins } }' })
.expect(200);
expect(response.body.errors).toBeUndefined();
- return response.body.data.currentWorkspace.allowedIframeOrigins as string[];
+ return response.body.data.currentWorkspace.allowedEmbeddingOrigins;
};
describe('Security permissions', () => {
- let originalWorkspaceState: Record<string, unknown>;
+ let originalWorkspaceState: Record<string, unknown> & {
+ allowedEmbeddingOrigins?: string[];
+ };
beforeAll(async () => {
const query = gql`
@@ -66,7 +68,7 @@ describe('Security permissions', () => {
isPublicInviteLinkEnabled
subdomain
isCustomDomainEnabled
- allowedIframeOrigins
+ allowedEmbeddingOrigins
}
}
`;
@@ -96,8 +98,7 @@ describe('Security permissions', () => {
await makeMetadataApiRequest({ query: restoreQuery });
for (const origin of await readOrigins())
await editOrigin('remove', origin);
- for (const origin of (originalWorkspaceState.allowedIframeOrigins ??
- []) as string[])
+ for (const origin of originalWorkspaceState.allowedEmbeddingOrigins ?? [])
await editOrigin('add', origin);
});
@@ -116,8 +117,8 @@ describe('Security permissions', () => {
).expect(200);
expect(duplicate.body.errors).toBeUndefined();
expect(
- duplicate.body.data.updateWorkspaceAllowedIframeOrigins
- .allowedIframeOrigins,
+ duplicate.body.data.updateWorkspaceAllowedEmbeddingOrigins
+ .allowedEmbeddingOrigins,
).toEqual(['https://portal.example.com']);
const readCached = () =>
client
@@ -125,16 +126,16 @@ describe('Security permissions', () => {
.set('Authorization', `Bearer ${APPLE_JANE_ADMIN_ACCESS_TOKEN}`)
.send({
query:
- '{ currentUser { currentWorkspace { allowedIframeOrigins } } }',
+ '{ currentUser { currentWorkspace { allowedEmbeddingOrigins } } }',
});
const before = await readCached().expect(200);
expect(
- before.body.data.currentUser.currentWorkspace.allowedIframeOrigins,
+ before.body.data.currentUser.currentWorkspace.allowedEmbeddingOrigins,
).toEqual(['https://portal.example.com']);
await editOrigin('remove', 'https://portal.example.com').expect(200);
const after = await readCached().expect(200);
expect(
- after.body.data.currentUser.currentWorkspace.allowedIframeOrigins,
+ after.body.data.currentUser.currentWorkspace.allowedEmbeddingOrigins,
).toEqual([]);
});
diff --git a/packages/twenty-shared/src/application/applicationCapabilityType.ts b/packages/twenty-shared/src/application/applicationCapabilityType.ts
index ea20cfff7ed..24af69808dc 100644
--- a/packages/twenty-shared/src/application/applicationCapabilityType.ts
+++ b/packages/twenty-shared/src/application/applicationCapabilityType.ts
@@ -1,4 +1,6 @@
-export const APPLICATION_CAPABILITIES = ['microphone', 'camera'] as const;
+import { MEDIA_CAPABILITIES } from '../constants/MediaCapabilities';
+
+export const APPLICATION_CAPABILITIES = MEDIA_CAPABILITIES;
export type ApplicationCapability = (typeof APPLICATION_CAPABILITIES)[number];
diff --git a/packages/twenty-shared/src/constants/IframeMediaPermissionsBootstrapElementId.ts b/packages/twenty-shared/src/constants/IframeMediaPermissionsBootstrapElementId.ts
new file mode 100644
index 00000000000..fe3dc15ab5d
--- /dev/null
+++ b/packages/twenty-shared/src/constants/IframeMediaPermissionsBootstrapElementId.ts
@@ -0,0 +1,2 @@
+export const IFRAME_MEDIA_PERMISSIONS_BOOTSTRAP_ELEMENT_ID =
+ 'twenty-iframe-media-permissions';
diff --git a/packages/twenty-shared/src/constants/MediaCapabilities.ts b/packages/twenty-shared/src/constants/MediaCapabilities.ts
new file mode 100644
index 00000000000..812e945396d
--- /dev/null
+++ b/packages/twenty-shared/src/constants/MediaCapabilities.ts
@@ -0,0 +1 @@
+export const MEDIA_CAPABILITIES = ['microphone', 'camera'] as const;
diff --git a/packages/twenty-shared/src/constants/index.ts b/packages/twenty-shared/src/constants/index.ts
index 3ac06e305d2..1e82e19263e 100644
--- a/packages/twenty-shared/src/constants/index.ts
+++ b/packages/twenty-shared/src/constants/index.ts
@@ -56,6 +56,7 @@ export { FRONT_COMPONENT_HOST_FETCH_HEADER_NAME } from './FrontComponentHostFetc
export { GIN_COMPATIBLE_FIELD_TYPES } from './GinCompatibleFieldTypes';
export { GROUP_BY_DATE_GRANULARITY_THAT_REQUIRE_TIME_ZONE } from './GroupByDateGranularityThatRequireTimeZone';
export { IANA_TIME_ZONES } from './IanaTimeZones';
+export { IFRAME_MEDIA_PERMISSIONS_BOOTSTRAP_ELEMENT_ID } from './IframeMediaPermissionsBootstrapElementId';
export { IMAGE_IDENTIFIER_FIELD_METADATA_TYPES } from './ImageIdentifierFieldMetadataTypes';
export { INTERNAL_CREDITS_PER_DISPLAY_CREDIT } from './InternalCreditsPerDisplayCredit';
export { LABEL_IDENTIFIER_FIELD_METADATA_TYPES } from './LabelIdentifierFieldMetadataTypes';
@@ -64,6 +65,7 @@ export { MAX_ALLOWED_IFRAME_ORIGINS } from './MaxAllowedIframeOrigins';
export { MAX_CORE_WORKFLOW_FILTER_RULES } from './MaxCoreWorkflowFilterRules';
export { MAX_CUSTOM_INDEXES_PER_OBJECT } from './MaxCustomIndexesPerObject';
export { MAX_EMAIL_RECIPIENTS } from './MaxEmailRecipients';
+export { MEDIA_CAPABILITIES } from './MediaCapabilities';
export { MEMBER_ROLE_UNIVERSAL_IDENTIFIER } from './MemberRoleUniversalIdentifier';
export { MULTI_ITEM_FIELD_DEFAULT_MAX_VALUES } from './MultiItemFieldDefaultMaxValues';
export { MULTI_ITEM_FIELD_MIN_MAX_VALUES } from './MultiItemFieldMinMaxValues';
diff --git a/packages/twenty-shared/src/types/IframeMediaPermission.ts b/packages/twenty-shared/src/types/IframeMediaPermission.ts
new file mode 100644
index 00000000000..31c8668795c
--- /dev/null
+++ b/packages/twenty-shared/src/types/IframeMediaPermission.ts
@@ -0,0 +1,5 @@
+export type IframeMediaPermission = {
+ origin: string;
+ microphone: boolean;
+ camera: boolean;
+};
diff --git a/packages/twenty-shared/src/types/index.ts b/packages/twenty-shared/src/types/index.ts
index a77f947bad4..c5a184b3e1b 100644
--- a/packages/twenty-shared/src/types/index.ts
+++ b/packages/twenty-shared/src/types/index.ts
@@ -150,6 +150,7 @@ export { FirstDayOfTheWeek } from './FirstDayOfTheWeek';
export type { FormatRecordSerializedRelationProperties } from './FormatRecordSerializedRelationProperties';
export type { FromTo } from './FromToType';
export { HTTPMethod } from './HttpMethod';
+export type { IframeMediaPermission } from './IframeMediaPermission';
export type { IndexOf } from './IndexOf';
export { IndexType } from './IndexType';
export type { IsEmptyObject } from './IsEmptyObject';
diff --git a/packages/twenty-shared/src/utils/index.ts b/packages/twenty-shared/src/utils/index.ts
index 289f188b690..c06dc03d714 100644
--- a/packages/twenty-shared/src/utils/index.ts
+++ b/packages/twenty-shared/src/utils/index.ts
@@ -351,8 +351,8 @@ export { isSafeUrl } from './url/isSafeUrl';
export { isValidDomain } from './url/isValidDomain';
export { isValidHostname } from './url/isValidHostname';
export { isValidUrl } from './url/isValidUrl';
-export { normalizeAllowedIframeOrigin } from './url/normalizeAllowedIframeOrigin';
export { normalizeDomain } from './url/normalizeDomain';
+export { normalizeIframeOrigin } from './url/normalizeIframeOrigin';
export { normalizeUrl } from './url/normalizeUrl';
export { normalizeUrlOrigin } from './url/normalizeUrlOrigin';
export { safeDecodeURIComponent } from './url/safeDecodeURIComponent';
diff --git a/packages/twenty-shared/src/utils/url/__tests__/normalizeAllowedIframeOrigin.test.ts b/packages/twenty-shared/src/utils/url/__tests__/normalizeIframeOrigin.test.ts
similarity index 54%
rename from packages/twenty-shared/src/utils/url/__tests__/normalizeAllowedIframeOrigin.test.ts
rename to packages/twenty-shared/src/utils/url/__tests__/normalizeIframeOrigin.test.ts
index a2e0445f870..686604990b2 100644
--- a/packages/twenty-shared/src/utils/url/__tests__/normalizeAllowedIframeOrigin.test.ts
+++ b/packages/twenty-shared/src/utils/url/__tests__/normalizeIframeOrigin.test.ts
@@ -1,6 +1,6 @@
-import { normalizeAllowedIframeOrigin } from '../normalizeAllowedIframeOrigin';
+import { normalizeIframeOrigin } from '../normalizeIframeOrigin';
-describe('normalizeAllowedIframeOrigin', () => {
+describe('normalizeIframeOrigin', () => {
it.each([
['https://PORTAL.example.com/', 'https://portal.example.com'],
['https://portal.example.com:443', 'https://portal.example.com'],
@@ -9,13 +9,13 @@ describe('normalizeAllowedIframeOrigin', () => {
['http://PORTAL.corp.lan:80/', 'http://portal.corp.lan'],
['http://localhost:3001', 'http://localhost:3001'],
])('normalizes %s', (value, expected) => {
- expect(normalizeAllowedIframeOrigin(value)).toBe(expected);
+ expect(normalizeIframeOrigin(value)).toBe(expected);
});
it.each(['http://[::1]:3000', 'https://[2001:db8::1]'])(
'rejects IPv6 literals unsupported by CSP host sources: %s',
(value) => {
- expect(normalizeAllowedIframeOrigin(value)).toBeUndefined();
+ expect(normalizeIframeOrigin(value)).toBeUndefined();
},
);
@@ -38,6 +38,30 @@ describe('normalizeAllowedIframeOrigin', () => {
'https://example.com\\evil',
'https://example..com',
])('rejects %s', (value) => {
- expect(normalizeAllowedIframeOrigin(value)).toBeUndefined();
+ expect(normalizeIframeOrigin(value)).toBeUndefined();
+ });
+
+ describe('with isHttpsOnly', () => {
+ it('normalizes exact HTTPS origins', () => {
+ expect(
+ normalizeIframeOrigin('https://PHONE.example.com:443/', {
+ isHttpsOnly: true,
+ }),
+ ).toBe('https://phone.example.com');
+ });
+
+ it.each([
+ 'http://phone.example.com',
+ 'https://*.example.com',
+ 'https://phone.example.com/calls',
+ 'https://[email protected]',
+ 'https://phone.example.com?camera=true',
+ 'https://phone.example.com\n',
+ 'data:text/html,phone',
+ ])('rejects %s', (origin) => {
+ expect(
+ normalizeIframeOrigin(origin, { isHttpsOnly: true }),
+ ).toBeUndefined();
+ });
});
});
diff --git a/packages/twenty-shared/src/utils/url/normalizeAllowedIframeOrigin.ts b/packages/twenty-shared/src/utils/url/normalizeIframeOrigin.ts
similarity index 74%
rename from packages/twenty-shared/src/utils/url/normalizeAllowedIframeOrigin.ts
rename to packages/twenty-shared/src/utils/url/normalizeIframeOrigin.ts
index dd29c43fb68..e9040efafdb 100644
--- a/packages/twenty-shared/src/utils/url/normalizeAllowedIframeOrigin.ts
+++ b/packages/twenty-shared/src/utils/url/normalizeIframeOrigin.ts
@@ -1,18 +1,20 @@
import { getUrlSafely } from '@/utils/getUrlSafely';
import { isDefined } from '@/utils/validation';
-export const normalizeAllowedIframeOrigin = (
+export const normalizeIframeOrigin = (
value: string,
+ { isHttpsOnly = false }: { isHttpsOnly?: boolean } = {},
): string | undefined => {
if (value.length > 300 || /[\s*\\]/.test(value)) {
return undefined;
}
const url = getUrlSafely(value);
+ const allowedProtocols = isHttpsOnly ? ['https:'] : ['https:', 'http:'];
if (
!isDefined(url) ||
- !['https:', 'http:'].includes(url.protocol) ||
+ !allowedProtocols.includes(url.protocol) ||
!/^https?:\/\/[^/?#@]+\/?$/i.test(value) ||
!/^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i.test(
url.hostname,