The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix: standardize GraphQL schema UUID field types (#13550)
Abdul Rahman01f25519f618
diff --git a/packages/twenty-front/src/generated-metadata/graphql.ts b/packages/twenty-front/src/generated-metadata/graphql.tsindex c192a75f9cb..701154e6481 100644--- a/packages/twenty-front/src/generated-metadata/graphql.ts+++ b/packages/twenty-front/src/generated-metadata/graphql.ts@@ -31,7 +31,7 @@ export type AdminPanelHealthServiceData = {description: Scalars['String'];details?: Maybe<Scalars['String']>;errorMessage?: Maybe<Scalars['String']>;- id: Scalars['String'];+ id: Scalars['UUID'];label: Scalars['String'];queues?: Maybe<Array<AdminPanelWorkerQueueHealth>>;status: AdminPanelHealthServiceStatus;@@ -44,7 +44,7 @@ export enum AdminPanelHealthServiceStatus {export type AdminPanelWorkerQueueHealth = {__typename?: 'AdminPanelWorkerQueueHealth';- id: Scalars['String'];+ id: Scalars['UUID'];queueName: Scalars['String'];status: AdminPanelHealthServiceStatus;};@@ -122,7 +122,7 @@ export type ApiKey = {role?: Maybe<Role>;updatedAt: Scalars['DateTime'];workspace: Workspace;- workspaceId: Scalars['String'];+ workspaceId: Scalars['UUID'];};export type ApiKeyToken = {@@ -195,7 +195,7 @@ export type AutocompleteResultDto = {export type AvailableWorkspace = {__typename?: 'AvailableWorkspace';displayName?: Maybe<Scalars['String']>;- id: Scalars['String'];+ id: Scalars['UUID'];inviteHash?: Maybe<Scalars['String']>;loginToken?: Maybe<Scalars['String']>;logo?: Maybe<Scalars['String']>;@@ -456,10 +456,10 @@ export type ConfigVariablesOutput = {export type ConnectedImapSmtpCaldavAccount = {__typename?: 'ConnectedImapSmtpCaldavAccount';- accountOwnerId: Scalars['String'];+ accountOwnerId: Scalars['UUID'];connectionParameters?: Maybe<ImapSmtpCaldavConnectionParameters>;handle: Scalars['String'];- id: Scalars['String'];+ id: Scalars['UUID'];provider: Scalars['String'];};@@ -505,7 +505,7 @@ export type CreateApiKeyDto = {expiresAt: Scalars['String'];name: Scalars['String'];revokedAt?: InputMaybe<Scalars['String']>;- roleId: Scalars['String'];+ roleId: Scalars['UUID'];};export type CreateAppTokenInput = {@@ -519,9 +519,9 @@ export type CreateApprovedAccessDomainInput = {export type CreateDraftFromWorkflowVersionInput = {/** Workflow ID */- workflowId: Scalars['String'];+ workflowId: Scalars['UUID'];/** Workflow version ID */- workflowVersionIdToCopy: Scalars['String'];+ workflowVersionIdToCopy: Scalars['UUID'];};export type CreateFieldInput = {@@ -538,7 +538,7 @@ export type CreateFieldInput = {label: Scalars['String'];morphRelationsCreationPayload?: InputMaybe<Array<Scalars['JSON']>>;name: Scalars['String'];- objectMetadataId: Scalars['String'];+ objectMetadataId: Scalars['UUID'];options?: InputMaybe<Scalars['JSON']>;relationCreationPayload?: InputMaybe<Scalars['JSON']>;settings?: InputMaybe<Scalars['JSON']>;@@ -610,13 +610,13 @@ export type CreateWebhookDto = {export type CreateWorkflowVersionStepInput = {/** Next step ID */- nextStepId?: InputMaybe<Scalars['String']>;+ nextStepId?: InputMaybe<Scalars['UUID']>;/** Parent step ID */- parentStepId?: InputMaybe<Scalars['String']>;+ parentStepId?: InputMaybe<Scalars['UUID']>;/** New step type */stepType: Scalars['String'];/** Workflow version ID */- workflowVersionId: Scalars['String'];+ workflowVersionId: Scalars['UUID'];};export type CursorPaging = {@@ -642,7 +642,7 @@ export type CustomDomainRecord = {export type CustomDomainValidRecords = {__typename?: 'CustomDomainValidRecords';customDomain: Scalars['String'];- id: Scalars['String'];+ id: Scalars['UUID'];records: Array<CustomDomainRecord>;};@@ -667,7 +667,7 @@ export type DateFilter = {};export type DeleteApprovedAccessDomainInput = {- id: Scalars['String'];+ id: Scalars['UUID'];};export type DeleteOneFieldInput = {@@ -681,12 +681,12 @@ export type DeleteOneObjectInput = {};export type DeleteSsoInput = {- identityProviderId: Scalars['String'];+ identityProviderId: Scalars['UUID'];};export type DeleteSsoOutput = {__typename?: 'DeleteSsoOutput';- identityProviderId: Scalars['String'];+ identityProviderId: Scalars['UUID'];};export type DeleteTwoFactorAuthenticationMethodOutput = {@@ -696,14 +696,14 @@ export type DeleteTwoFactorAuthenticationMethodOutput = {};export type DeleteWebhookDto = {- id: Scalars['String'];+ id: Scalars['UUID'];};export type DeleteWorkflowVersionStepInput = {/** Step to delete ID */- stepId: Scalars['String'];+ stepId: Scalars['UUID'];/** Workflow version ID */- workflowVersionId: Scalars['String'];+ workflowVersionId: Scalars['UUID'];};export type DeletedWorkspaceMember = {@@ -712,7 +712,7 @@ export type DeletedWorkspaceMember = {id: Scalars['UUID'];name: FullName;userEmail: Scalars['String'];- userWorkspaceId?: Maybe<Scalars['String']>;+ userWorkspaceId?: Maybe<Scalars['UUID']>;};/** Schema update on a table */@@ -724,13 +724,13 @@ export enum DistantTableUpdate {}export type EditSsoInput = {- id: Scalars['String'];+ id: Scalars['UUID'];status: SsoIdentityProviderStatus;};export type EditSsoOutput = {__typename?: 'EditSsoOutput';- id: Scalars['String'];+ id: Scalars['UUID'];issuer: Scalars['String'];name: Scalars['String'];status: SsoIdentityProviderStatus;@@ -763,7 +763,7 @@ export type FeatureFlag = {id: Scalars['UUID'];key: FeatureFlagKey;value: Scalars['Boolean'];- workspaceId: Scalars['String'];+ workspaceId: Scalars['UUID'];};export type FeatureFlagDto = {@@ -874,25 +874,25 @@ export type FieldPermission = {__typename?: 'FieldPermission';canReadFieldValue?: Maybe<Scalars['Boolean']>;canUpdateFieldValue?: Maybe<Scalars['Boolean']>;- fieldMetadataId: Scalars['String'];- id: Scalars['String'];- objectMetadataId: Scalars['String'];- roleId: Scalars['String'];+ fieldMetadataId: Scalars['UUID'];+ id: Scalars['UUID'];+ objectMetadataId: Scalars['UUID'];+ roleId: Scalars['UUID'];};export type FieldPermissionInput = {canReadFieldValue?: InputMaybe<Scalars['Boolean']>;canUpdateFieldValue?: InputMaybe<Scalars['Boolean']>;- fieldMetadataId: Scalars['String'];- objectMetadataId: Scalars['String'];+ fieldMetadataId: Scalars['UUID'];+ objectMetadataId: Scalars['UUID'];};export type File = {__typename?: 'File';createdAt: Scalars['DateTime'];fullPath: Scalars['String'];- id: Scalars['ID'];- messageId?: Maybe<Scalars['ID']>;+ id: Scalars['UUID'];+ messageId?: Maybe<Scalars['UUID']>;name: Scalars['String'];size: Scalars['Float'];type: Scalars['String'];@@ -914,7 +914,7 @@ export enum FilterIs {export type FindAvailableSsoidpOutput = {__typename?: 'FindAvailableSSOIDPOutput';- id: Scalars['String'];+ id: Scalars['UUID'];issuer: Scalars['String'];name: Scalars['String'];status: SsoIdentityProviderStatus;@@ -936,18 +936,18 @@ export type FullName = {};export type GetApiKeyDto = {- id: Scalars['String'];+ id: Scalars['UUID'];};export type GetAuthorizationUrlForSsoInput = {- identityProviderId: Scalars['String'];+ identityProviderId: Scalars['UUID'];workspaceInviteHash?: InputMaybe<Scalars['String']>;};export type GetAuthorizationUrlForSsoOutput = {__typename?: 'GetAuthorizationUrlForSSOOutput';authorizationURL: Scalars['String'];- id: Scalars['String'];+ id: Scalars['UUID'];type: Scalars['String'];};@@ -965,7 +965,7 @@ export type GetServerlessFunctionSourceCodeInput = {};export type GetWebhookDto = {- id: Scalars['String'];+ id: Scalars['UUID'];};export enum HealthIndicatorId {@@ -1259,7 +1259,7 @@ export type Mutation = {export type MutationActivateWorkflowVersionArgs = {- workflowVersionId: Scalars['String'];+ workflowVersionId: Scalars['UUID'];};@@ -1275,8 +1275,8 @@ export type MutationAssignRoleToAgentArgs = {export type MutationAssignRoleToApiKeyArgs = {- apiKeyId: Scalars['String'];- roleId: Scalars['String'];+ apiKeyId: Scalars['UUID'];+ roleId: Scalars['UUID'];};@@ -1343,9 +1343,9 @@ export type MutationCreateOidcIdentityProviderArgs = {export type MutationCreateObjectEventArgs = {event: Scalars['String'];- objectMetadataId: Scalars['String'];+ objectMetadataId: Scalars['UUID'];properties?: InputMaybe<Scalars['JSON']>;- recordId: Scalars['String'];+ recordId: Scalars['UUID'];};@@ -1400,7 +1400,7 @@ export type MutationCreateWorkflowVersionStepArgs = {export type MutationDeactivateWorkflowVersionArgs = {- workflowVersionId: Scalars['String'];+ workflowVersionId: Scalars['UUID'];};@@ -1415,7 +1415,7 @@ export type MutationDeleteDatabaseConfigVariableArgs = {export type MutationDeleteFileArgs = {- fileId: Scalars['String'];+ fileId: Scalars['UUID'];};@@ -1440,7 +1440,7 @@ export type MutationDeleteOneRemoteServerArgs = {export type MutationDeleteOneRoleArgs = {- roleId: Scalars['String'];+ roleId: Scalars['UUID'];};@@ -1481,7 +1481,7 @@ export type MutationEditSsoIdentityProviderArgs = {export type MutationEmailPasswordResetLinkArgs = {email: Scalars['String'];- workspaceId: Scalars['String'];+ workspaceId: Scalars['UUID'];};@@ -1491,7 +1491,7 @@ export type MutationExecuteOneServerlessFunctionArgs = {export type MutationGenerateApiKeyTokenArgs = {- apiKeyId: Scalars['String'];+ apiKeyId: Scalars['UUID'];expiresAt: Scalars['String'];};@@ -1541,8 +1541,8 @@ export type MutationGetWorkspaceAgnosticTokenFromEmailVerificationTokenArgs = {export type MutationImpersonateArgs = {- userId: Scalars['String'];- workspaceId: Scalars['String'];+ userId: Scalars['UUID'];+ workspaceId: Scalars['UUID'];};@@ -1594,10 +1594,10 @@ export type MutationRunWorkflowVersionArgs = {export type MutationSaveImapSmtpCaldavAccountArgs = {- accountOwnerId: Scalars['String'];+ accountOwnerId: Scalars['UUID'];connectionParameters: EmailAccountConnectionParameters;handle: Scalars['String'];- id?: InputMaybe<Scalars['String']>;+ id?: InputMaybe<Scalars['UUID']>;};@@ -1630,7 +1630,7 @@ export type MutationSignUpInWorkspaceArgs = {locale?: InputMaybe<Scalars['String']>;password: Scalars['String'];verifyEmailRedirectPath?: InputMaybe<Scalars['String']>;- workspaceId?: InputMaybe<Scalars['String']>;+ workspaceId?: InputMaybe<Scalars['UUID']>;workspaceInviteHash?: InputMaybe<Scalars['String']>;workspacePersonalInviteToken?: InputMaybe<Scalars['String']>;};@@ -1739,13 +1739,13 @@ export type MutationUpdateWorkspaceArgs = {export type MutationUpdateWorkspaceFeatureFlagArgs = {featureFlag: Scalars['String'];value: Scalars['Boolean'];- workspaceId: Scalars['String'];+ workspaceId: Scalars['UUID'];};export type MutationUpdateWorkspaceMemberRoleArgs = {- roleId: Scalars['String'];- workspaceMemberId: Scalars['String'];+ roleId: Scalars['UUID'];+ workspaceMemberId: Scalars['UUID'];};@@ -1803,14 +1803,14 @@ export type MutationVerifyTwoFactorAuthenticationMethodForAuthenticatedUserArgsexport type Object = {__typename?: 'Object';createdAt: Scalars['DateTime'];- dataSourceId: Scalars['String'];+ dataSourceId: Scalars['UUID'];description?: Maybe<Scalars['String']>;duplicateCriteria?: Maybe<Array<Array<Scalars['String']>>>;fields: ObjectFieldsConnection;fieldsList: Array<Field>;icon?: Maybe<Scalars['String']>;id: Scalars['UUID'];- imageIdentifierFieldMetadataId?: Maybe<Scalars['String']>;+ imageIdentifierFieldMetadataId?: Maybe<Scalars['UUID']>;indexMetadataList: Array<Index>;indexMetadatas: ObjectIndexMetadatasConnection;isActive: Scalars['Boolean'];@@ -1819,7 +1819,7 @@ export type Object = {isRemote: Scalars['Boolean'];isSearchable: Scalars['Boolean'];isSystem: Scalars['Boolean'];- labelIdentifierFieldMetadataId?: Maybe<Scalars['String']>;+ labelIdentifierFieldMetadataId?: Maybe<Scalars['UUID']>;labelPlural: Scalars['String'];labelSingular: Scalars['String'];namePlural: Scalars['String'];@@ -1890,7 +1890,7 @@ export type ObjectPermission = {canReadObjectRecords?: Maybe<Scalars['Boolean']>;canSoftDeleteObjectRecords?: Maybe<Scalars['Boolean']>;canUpdateObjectRecords?: Maybe<Scalars['Boolean']>;- objectMetadataId: Scalars['String'];+ objectMetadataId: Scalars['UUID'];restrictedFields?: Maybe<Scalars['JSON']>;};@@ -1899,7 +1899,7 @@ export type ObjectPermissionInput = {canReadObjectRecords?: InputMaybe<Scalars['Boolean']>;canSoftDeleteObjectRecords?: InputMaybe<Scalars['Boolean']>;canUpdateObjectRecords?: InputMaybe<Scalars['Boolean']>;- objectMetadataId: Scalars['String'];+ objectMetadataId: Scalars['UUID'];};export type ObjectRecordFilterInput = {@@ -1933,7 +1933,7 @@ export type OnDbEventDto = {export type OnDbEventInput = {action?: InputMaybe<DatabaseEventAction>;objectNameSingular?: InputMaybe<Scalars['String']>;- recordId?: InputMaybe<Scalars['String']>;+ recordId?: InputMaybe<Scalars['UUID']>;};/** Onboarding status */@@ -1968,8 +1968,8 @@ export type PageInfo = {export type PermissionFlag = {__typename?: 'PermissionFlag';flag: PermissionFlagType;- id: Scalars['String'];- roleId: Scalars['String'];+ id: Scalars['UUID'];+ roleId: Scalars['UUID'];};export enum PermissionFlagType {@@ -2007,7 +2007,7 @@ export type PostgresCredentials = {id: Scalars['UUID'];password: Scalars['String'];user: Scalars['String'];- workspaceId: Scalars['String'];+ workspaceId: Scalars['UUID'];};export type PublicFeatureFlag = {@@ -2027,7 +2027,7 @@ export type PublicWorkspaceDataOutput = {__typename?: 'PublicWorkspaceDataOutput';authProviders: AuthProviders;displayName?: Maybe<Scalars['String']>;- id: Scalars['String'];+ id: Scalars['UUID'];logo?: Maybe<Scalars['String']>;workspaceUrls: WorkspaceUrls;};@@ -2096,17 +2096,17 @@ export type Query = {export type QueryAgentChatMessagesArgs = {- threadId: Scalars['String'];+ threadId: Scalars['UUID'];};export type QueryAgentChatThreadArgs = {- id: Scalars['String'];+ id: Scalars['UUID'];};export type QueryAgentChatThreadsArgs = {- agentId: Scalars['String'];+ agentId: Scalars['UUID'];};@@ -2202,7 +2202,7 @@ export type QueryGetAvailablePackagesArgs = {export type QueryGetConnectedImapSmtpCaldavAccountArgs = {- id: Scalars['String'];+ id: Scalars['UUID'];};@@ -2319,7 +2319,7 @@ export type QueueMetricsDataPoint = {export type QueueMetricsSeries = {__typename?: 'QueueMetricsSeries';data: Array<QueueMetricsDataPoint>;- id: Scalars['String'];+ id: Scalars['UUID'];};export enum QueueMetricsTimeRange {@@ -2348,10 +2348,10 @@ export enum RelationType {export type RemoteServer = {__typename?: 'RemoteServer';createdAt: Scalars['DateTime'];- foreignDataWrapperId: Scalars['ID'];+ foreignDataWrapperId: Scalars['UUID'];foreignDataWrapperOptions?: Maybe<Scalars['JSON']>;foreignDataWrapperType: Scalars['String'];- id: Scalars['ID'];+ id: Scalars['UUID'];label: Scalars['String'];schema?: Maybe<Scalars['String']>;updatedAt: Scalars['DateTime'];@@ -2378,7 +2378,7 @@ export type RemoteTable = {export type RemoteTableInput = {name: Scalars['String'];- remoteServerId: Scalars['ID'];+ remoteServerId: Scalars['UUID'];};/** Status of the table */@@ -2388,8 +2388,8 @@ export enum RemoteTableStatus {}export type RemoveAgentHandoffInput = {- fromAgentId: Scalars['String'];- toAgentId: Scalars['String'];+ fromAgentId: Scalars['UUID'];+ toAgentId: Scalars['UUID'];};export type ResendEmailVerificationTokenOutput = {@@ -2398,7 +2398,7 @@ export type ResendEmailVerificationTokenOutput = {};export type RevokeApiKeyDto = {- id: Scalars['String'];+ id: Scalars['UUID'];};export type Role = {@@ -2411,7 +2411,7 @@ export type Role = {canUpdateAllSettings: Scalars['Boolean'];description?: Maybe<Scalars['String']>;icon?: Maybe<Scalars['String']>;- id: Scalars['String'];+ id: Scalars['UUID'];isEditable: Scalars['Boolean'];label: Scalars['String'];objectPermissions?: Maybe<Array<ObjectPermission>>;@@ -2423,14 +2423,14 @@ export type RunWorkflowVersionInput = {/** Execution result in JSON format */payload?: InputMaybe<Scalars['JSON']>;/** Workflow run ID */- workflowRunId?: InputMaybe<Scalars['String']>;+ workflowRunId?: InputMaybe<Scalars['UUID']>;/** Workflow version ID */- workflowVersionId: Scalars['String'];+ workflowVersionId: Scalars['UUID'];};export type SsoConnection = {__typename?: 'SSOConnection';- id: Scalars['String'];+ id: Scalars['UUID'];issuer: Scalars['String'];name: Scalars['String'];status: SsoIdentityProviderStatus;@@ -2439,7 +2439,7 @@ export type SsoConnection = {export type SsoIdentityProvider = {__typename?: 'SSOIdentityProvider';- id: Scalars['String'];+ id: Scalars['UUID'];issuer: Scalars['String'];name: Scalars['String'];status: SsoIdentityProviderStatus;@@ -2457,7 +2457,7 @@ export type SearchRecord = {imageUrl?: Maybe<Scalars['String']>;label: Scalars['String'];objectNameSingular: Scalars['String'];- recordId: Scalars['String'];+ recordId: Scalars['UUID'];tsRank: Scalars['Float'];tsRankCD: Scalars['Float'];};@@ -2545,7 +2545,7 @@ export type SetupOidcSsoInput = {export type SetupSamlSsoInput = {certificate: Scalars['String'];fingerprint?: InputMaybe<Scalars['String']>;- id: Scalars['String'];+ id: Scalars['UUID'];issuer: Scalars['String'];name: Scalars['String'];ssoURL: Scalars['String'];@@ -2553,7 +2553,7 @@ export type SetupSamlSsoInput = {export type SetupSsoOutput = {__typename?: 'SetupSsoOutput';- id: Scalars['String'];+ id: Scalars['UUID'];issuer: Scalars['String'];name: Scalars['String'];status: SsoIdentityProviderStatus;@@ -2583,10 +2583,10 @@ export type StandardOverrides = {export type SubmitFormStepInput = {/** Form response in JSON format */response: Scalars['JSON'];- /** Workflow version ID */- stepId: Scalars['String'];+ /** Workflow step ID */+ stepId: Scalars['UUID'];/** Workflow run ID */- workflowRunId: Scalars['String'];+ workflowRunId: Scalars['UUID'];};export type Subscription = {@@ -2758,7 +2758,7 @@ export type UpdateAgentInput = {export type UpdateApiKeyDto = {expiresAt?: InputMaybe<Scalars['String']>;- id: Scalars['String'];+ id: Scalars['UUID'];name?: InputMaybe<Scalars['String']>;revokedAt?: InputMaybe<Scalars['String']>;};@@ -2786,10 +2786,10 @@ export type UpdateLabPublicFeatureFlagInput = {export type UpdateObjectPayload = {description?: InputMaybe<Scalars['String']>;icon?: InputMaybe<Scalars['String']>;- imageIdentifierFieldMetadataId?: InputMaybe<Scalars['String']>;+ imageIdentifierFieldMetadataId?: InputMaybe<Scalars['UUID']>;isActive?: InputMaybe<Scalars['Boolean']>;isLabelSyncedWithName?: InputMaybe<Scalars['Boolean']>;- labelIdentifierFieldMetadataId?: InputMaybe<Scalars['String']>;+ labelIdentifierFieldMetadataId?: InputMaybe<Scalars['UUID']>;labelPlural?: InputMaybe<Scalars['String']>;labelSingular?: InputMaybe<Scalars['String']>;namePlural?: InputMaybe<Scalars['String']>;@@ -2812,7 +2812,7 @@ export type UpdateOneObjectInput = {export type UpdateRemoteServerInput = {foreignDataWrapperOptions?: InputMaybe<Scalars['JSON']>;- id: Scalars['String'];+ id: Scalars['UUID'];label?: InputMaybe<Scalars['String']>;schema?: InputMaybe<Scalars['String']>;userMappingOptions?: InputMaybe<UserMappingOptionsUpdateInput>;@@ -2847,7 +2847,7 @@ export type UpdateServerlessFunctionInput = {export type UpdateWebhookDto = {description?: InputMaybe<Scalars['String']>;- id: Scalars['String'];+ id: Scalars['UUID'];operations?: InputMaybe<Array<Scalars['String']>>;secret?: InputMaybe<Scalars['String']>;targetUrl?: InputMaybe<Scalars['String']>;@@ -2857,20 +2857,20 @@ export type UpdateWorkflowRunStepInput = {/** Step to update in JSON format */step: Scalars['JSON'];/** Workflow run ID */- workflowRunId: Scalars['String'];+ workflowRunId: Scalars['UUID'];};export type UpdateWorkflowVersionStepInput = {/** Step to update in JSON format */step: Scalars['JSON'];/** Workflow version ID */- workflowVersionId: Scalars['String'];+ workflowVersionId: Scalars['UUID'];};export type UpdateWorkspaceInput = {allowImpersonation?: InputMaybe<Scalars['Boolean']>;customDomain?: InputMaybe<Scalars['String']>;- defaultRoleId?: InputMaybe<Scalars['String']>;+ defaultRoleId?: InputMaybe<Scalars['UUID']>;displayName?: InputMaybe<Scalars['String']>;inviteHash?: InputMaybe<Scalars['String']>;isGoogleAuthEnabled?: InputMaybe<Scalars['Boolean']>;@@ -2884,17 +2884,17 @@ export type UpdateWorkspaceInput = {export type UpsertFieldPermissionsInput = {fieldPermissions: Array<FieldPermissionInput>;- roleId: Scalars['String'];+ roleId: Scalars['UUID'];};export type UpsertObjectPermissionsInput = {objectPermissions: Array<ObjectPermissionInput>;- roleId: Scalars['String'];+ roleId: Scalars['UUID'];};export type UpsertPermissionFlagsInput = {permissionFlagKeys: Array<PermissionFlagType>;- roleId: Scalars['String'];+ roleId: Scalars['UUID'];};export type User = {@@ -2938,7 +2938,7 @@ export type UserInfo = {__typename?: 'UserInfo';email: Scalars['String'];firstName?: Maybe<Scalars['String']>;- id: Scalars['String'];+ id: Scalars['UUID'];lastName?: Maybe<Scalars['String']>;};@@ -2976,20 +2976,20 @@ export type UserWorkspace = {twoFactorAuthenticationMethodSummary?: Maybe<Array<TwoFactorAuthenticationMethodDto>>;updatedAt: Scalars['DateTime'];user: User;- userId: Scalars['String'];+ userId: Scalars['UUID'];workspace?: Maybe<Workspace>;- workspaceId: Scalars['String'];+ workspaceId: Scalars['UUID'];};export type ValidateApprovedAccessDomainInput = {- approvedAccessDomainId: Scalars['String'];+ approvedAccessDomainId: Scalars['UUID'];validationToken: Scalars['String'];};export type ValidatePasswordResetToken = {__typename?: 'ValidatePasswordResetToken';email: Scalars['String'];- id: Scalars['String'];+ id: Scalars['UUID'];};export type VerifyTwoFactorAuthenticationMethodOutput = {@@ -3014,7 +3014,7 @@ export type Webhook = {targetUrl: Scalars['String'];updatedAt: Scalars['DateTime'];workspace: Workspace;- workspaceId: Scalars['String'];+ workspaceId: Scalars['UUID'];};export type WorkerQueueMetrics = {@@ -3102,7 +3102,7 @@ export type WorkspaceInfo = {__typename?: 'WorkspaceInfo';allowImpersonation: Scalars['Boolean'];featureFlags: Array<FeatureFlag>;- id: Scalars['String'];+ id: Scalars['UUID'];logo?: Maybe<Scalars['String']>;name: Scalars['String'];totalUsers: Scalars['Float'];@@ -3134,7 +3134,7 @@ export type WorkspaceMember = {timeFormat?: Maybe<WorkspaceMemberTimeFormatEnum>;timeZone?: Maybe<Scalars['String']>;userEmail: Scalars['String'];- userWorkspaceId?: Maybe<Scalars['String']>;+ userWorkspaceId?: Maybe<Scalars['UUID']>;};/** Date format as Month first, Day first, Year first or system as default */@@ -3155,7 +3155,7 @@ export enum WorkspaceMemberTimeFormatEnum {export type WorkspaceNameAndId = {__typename?: 'WorkspaceNameAndId';displayName?: Maybe<Scalars['String']>;- id: Scalars['String'];+ id: Scalars['UUID'];};export type WorkspaceUrls = {@@ -3166,7 +3166,7 @@ export type WorkspaceUrls = {export type WorkspaceUrlsAndId = {__typename?: 'WorkspaceUrlsAndId';- id: Scalars['String'];+ id: Scalars['UUID'];workspaceUrls: WorkspaceUrls;};@@ -3256,14 +3256,14 @@ export type FindOneAgentQueryVariables = Exact<{export type FindOneAgentQuery = { __typename?: 'Query', findOneAgent: { __typename?: 'Agent', id: any, name: string, label: string, description?: string | null, icon?: string | null, prompt: string, modelId: string, responseFormat?: any | null, roleId?: any | null, isCustom: boolean, createdAt: string, updatedAt: string } };export type GetAgentChatMessagesQueryVariables = Exact<{- threadId: Scalars['String'];+ threadId: Scalars['UUID'];}>;-export type GetAgentChatMessagesQuery = { __typename?: 'Query', agentChatMessages: Array<{ __typename?: 'AgentChatMessage', id: any, threadId: any, role: string, content: string, createdAt: string, files: Array<{ __typename?: 'File', id: string, name: string, fullPath: string, size: number, type: string, createdAt: string }> }> };+export type GetAgentChatMessagesQuery = { __typename?: 'Query', agentChatMessages: Array<{ __typename?: 'AgentChatMessage', id: any, threadId: any, role: string, content: string, createdAt: string, files: Array<{ __typename?: 'File', id: any, name: string, fullPath: string, size: number, type: string, createdAt: string }> }> };export type GetAgentChatThreadsQueryVariables = Exact<{- agentId: Scalars['String'];+ agentId: Scalars['UUID'];}>;@@ -3299,11 +3299,11 @@ export type AuthTokenFragmentFragment = { __typename?: 'AuthToken', token: strinexport type AuthTokenPairFragmentFragment = { __typename?: 'AuthTokenPair', accessOrWorkspaceAgnosticToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, refreshToken: { __typename?: 'AuthToken', token: string, expiresAt: string } };-export type AvailableWorkspaceFragmentFragment = { __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: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> };+export type AvailableWorkspaceFragmentFragment = { __typename?: 'AvailableWorkspace', id: any, 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: IdentityProviderType, id: any, issuer: string, name: string, status: SsoIdentityProviderStatus }> };-export type AvailableWorkspacesFragmentFragment = { __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: IdentityProviderType, id: string, issuer: string, name: string, status: 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: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }> };+export type AvailableWorkspacesFragmentFragment = { __typename?: 'AvailableWorkspaces', availableWorkspacesForSignIn: Array<{ __typename?: 'AvailableWorkspace', id: any, 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: IdentityProviderType, id: any, issuer: string, name: string, status: SsoIdentityProviderStatus }> }>, availableWorkspacesForSignUp: Array<{ __typename?: 'AvailableWorkspace', id: any, 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: IdentityProviderType, id: any, issuer: string, name: string, status: SsoIdentityProviderStatus }> }> };-export type AvailableSsoIdentityProvidersFragmentFragment = { __typename?: 'FindAvailableSSOIDPOutput', id: string, issuer: string, name: string, status: SsoIdentityProviderStatus, workspace: { __typename?: 'WorkspaceNameAndId', id: string, displayName?: string | null } };+export type AvailableSsoIdentityProvidersFragmentFragment = { __typename?: 'FindAvailableSSOIDPOutput', id: any, issuer: string, name: string, status: SsoIdentityProviderStatus, workspace: { __typename?: 'WorkspaceNameAndId', id: any, displayName?: string | null } };export type AuthorizeAppMutationVariables = Exact<{clientId: Scalars['String'];@@ -3316,14 +3316,14 @@ export type AuthorizeAppMutation = { __typename?: 'Mutation', authorizeApp: { __export type EmailPasswordResetLinkMutationVariables = Exact<{email: Scalars['String'];- workspaceId: Scalars['String'];+ workspaceId: Scalars['UUID'];}>;export type EmailPasswordResetLinkMutation = { __typename?: 'Mutation', emailPasswordResetLink: { __typename?: 'EmailPasswordResetLink', success: boolean } };export type GenerateApiKeyTokenMutationVariables = Exact<{- apiKeyId: Scalars['String'];+ apiKeyId: Scalars['UUID'];expiresAt: Scalars['String'];}>;@@ -3358,7 +3358,7 @@ export type GetAuthorizationUrlForSsoMutationVariables = Exact<{}>;-export type GetAuthorizationUrlForSsoMutation = { __typename?: 'Mutation', getAuthorizationUrlForSSO: { __typename?: 'GetAuthorizationUrlForSSOOutput', id: string, type: string, authorizationURL: string } };+export type GetAuthorizationUrlForSsoMutation = { __typename?: 'Mutation', getAuthorizationUrlForSSO: { __typename?: 'GetAuthorizationUrlForSSOOutput', id: any, type: string, authorizationURL: string } };export type GetLoginTokenFromCredentialsMutationVariables = Exact<{email: Scalars['String'];@@ -3387,15 +3387,15 @@ export type GetWorkspaceAgnosticTokenFromEmailVerificationTokenMutationVariables}>;-export type GetWorkspaceAgnosticTokenFromEmailVerificationTokenMutation = { __typename?: 'Mutation', getWorkspaceAgnosticTokenFromEmailVerificationToken: { __typename?: 'AvailableWorkspacesAndAccessTokensOutput', 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: IdentityProviderType, id: string, issuer: string, name: string, status: 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: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }> }, tokens: { __typename?: 'AuthTokenPair', accessOrWorkspaceAgnosticToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, refreshToken: { __typename?: 'AuthToken', token: string, expiresAt: string } } } };+export type GetWorkspaceAgnosticTokenFromEmailVerificationTokenMutation = { __typename?: 'Mutation', getWorkspaceAgnosticTokenFromEmailVerificationToken: { __typename?: 'AvailableWorkspacesAndAccessTokensOutput', availableWorkspaces: { __typename?: 'AvailableWorkspaces', availableWorkspacesForSignIn: Array<{ __typename?: 'AvailableWorkspace', id: any, 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: IdentityProviderType, id: any, issuer: string, name: string, status: SsoIdentityProviderStatus }> }>, availableWorkspacesForSignUp: Array<{ __typename?: 'AvailableWorkspace', id: any, 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: IdentityProviderType, id: any, issuer: string, name: string, status: SsoIdentityProviderStatus }> }> }, tokens: { __typename?: 'AuthTokenPair', accessOrWorkspaceAgnosticToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, refreshToken: { __typename?: 'AuthToken', token: string, expiresAt: string } } } };export type ImpersonateMutationVariables = Exact<{- userId: Scalars['String'];- workspaceId: Scalars['String'];+ userId: Scalars['UUID'];+ workspaceId: Scalars['UUID'];}>;-export type ImpersonateMutation = { __typename?: 'Mutation', impersonate: { __typename?: 'ImpersonateOutput', workspace: { __typename?: 'WorkspaceUrlsAndId', id: string, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null } }, loginToken: { __typename?: 'AuthToken', token: string, expiresAt: string } } };+export type ImpersonateMutation = { __typename?: 'Mutation', impersonate: { __typename?: 'ImpersonateOutput', workspace: { __typename?: 'WorkspaceUrlsAndId', id: any, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null } }, loginToken: { __typename?: 'AuthToken', token: string, expiresAt: string } } };export type InitiateOtpProvisioningMutationVariables = Exact<{loginToken: Scalars['String'];@@ -3439,7 +3439,7 @@ export type SignInMutationVariables = Exact<{}>;-export type SignInMutation = { __typename?: 'Mutation', signIn: { __typename?: 'AvailableWorkspacesAndAccessTokensOutput', 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: IdentityProviderType, id: string, issuer: string, name: string, status: 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: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }> }, tokens: { __typename?: 'AuthTokenPair', accessOrWorkspaceAgnosticToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, refreshToken: { __typename?: 'AuthToken', token: string, expiresAt: string } } } };+export type SignInMutation = { __typename?: 'Mutation', signIn: { __typename?: 'AvailableWorkspacesAndAccessTokensOutput', availableWorkspaces: { __typename?: 'AvailableWorkspaces', availableWorkspacesForSignIn: Array<{ __typename?: 'AvailableWorkspace', id: any, 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: IdentityProviderType, id: any, issuer: string, name: string, status: SsoIdentityProviderStatus }> }>, availableWorkspacesForSignUp: Array<{ __typename?: 'AvailableWorkspace', id: any, 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: IdentityProviderType, id: any, issuer: string, name: string, status: SsoIdentityProviderStatus }> }> }, tokens: { __typename?: 'AuthTokenPair', accessOrWorkspaceAgnosticToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, refreshToken: { __typename?: 'AuthToken', token: string, expiresAt: string } } } };export type SignUpMutationVariables = Exact<{email: Scalars['String'];@@ -3450,12 +3450,12 @@ export type SignUpMutationVariables = Exact<{}>;-export type SignUpMutation = { __typename?: 'Mutation', signUp: { __typename?: 'AvailableWorkspacesAndAccessTokensOutput', 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: IdentityProviderType, id: string, issuer: string, name: string, status: 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: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }> }, tokens: { __typename?: 'AuthTokenPair', accessOrWorkspaceAgnosticToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, refreshToken: { __typename?: 'AuthToken', token: string, expiresAt: string } } } };+export type SignUpMutation = { __typename?: 'Mutation', signUp: { __typename?: 'AvailableWorkspacesAndAccessTokensOutput', availableWorkspaces: { __typename?: 'AvailableWorkspaces', availableWorkspacesForSignIn: Array<{ __typename?: 'AvailableWorkspace', id: any, 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: IdentityProviderType, id: any, issuer: string, name: string, status: SsoIdentityProviderStatus }> }>, availableWorkspacesForSignUp: Array<{ __typename?: 'AvailableWorkspace', id: any, 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: IdentityProviderType, id: any, issuer: string, name: string, status: SsoIdentityProviderStatus }> }> }, tokens: { __typename?: 'AuthTokenPair', accessOrWorkspaceAgnosticToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, refreshToken: { __typename?: 'AuthToken', token: string, expiresAt: string } } } };export type SignUpInNewWorkspaceMutationVariables = Exact<{ [key: string]: never; }>;-export type SignUpInNewWorkspaceMutation = { __typename?: 'Mutation', signUpInNewWorkspace: { __typename?: 'SignUpOutput', loginToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, workspace: { __typename?: 'WorkspaceUrlsAndId', id: string, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null } } } };+export type SignUpInNewWorkspaceMutation = { __typename?: 'Mutation', signUpInNewWorkspace: { __typename?: 'SignUpOutput', loginToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, workspace: { __typename?: 'WorkspaceUrlsAndId', id: any, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null } } } };export type SignUpInWorkspaceMutationVariables = Exact<{email: Scalars['String'];@@ -3463,13 +3463,13 @@ export type SignUpInWorkspaceMutationVariables = Exact<{workspaceInviteHash?: InputMaybe<Scalars['String']>;workspacePersonalInviteToken?: InputMaybe<Scalars['String']>;captchaToken?: InputMaybe<Scalars['String']>;- workspaceId?: InputMaybe<Scalars['String']>;+ workspaceId?: InputMaybe<Scalars['UUID']>;locale?: InputMaybe<Scalars['String']>;verifyEmailRedirectPath?: InputMaybe<Scalars['String']>;}>;-export type SignUpInWorkspaceMutation = { __typename?: 'Mutation', signUpInWorkspace: { __typename?: 'SignUpOutput', loginToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, workspace: { __typename?: 'WorkspaceUrlsAndId', id: string, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null } } } };+export type SignUpInWorkspaceMutation = { __typename?: 'Mutation', signUpInWorkspace: { __typename?: 'SignUpOutput', loginToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, workspace: { __typename?: 'WorkspaceUrlsAndId', id: any, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null } } } };export type UpdatePasswordViaResetTokenMutationVariables = Exact<{token: Scalars['String'];@@ -3492,14 +3492,14 @@ export type GetPublicWorkspaceDataByDomainQueryVariables = Exact<{}>;-export type GetPublicWorkspaceDataByDomainQuery = { __typename?: 'Query', getPublicWorkspaceDataByDomain: { __typename?: 'PublicWorkspaceDataOutput', id: string, logo?: string | null, displayName?: string | null, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, authProviders: { __typename?: 'AuthProviders', google: boolean, magicLink: boolean, password: boolean, microsoft: boolean, sso: Array<{ __typename?: 'SSOIdentityProvider', id: string, name: string, type: IdentityProviderType, status: SsoIdentityProviderStatus, issuer: string }> } } };+export type GetPublicWorkspaceDataByDomainQuery = { __typename?: 'Query', getPublicWorkspaceDataByDomain: { __typename?: 'PublicWorkspaceDataOutput', id: any, logo?: string | null, displayName?: string | null, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, authProviders: { __typename?: 'AuthProviders', google: boolean, magicLink: boolean, password: boolean, microsoft: boolean, sso: Array<{ __typename?: 'SSOIdentityProvider', id: any, name: string, type: IdentityProviderType, status: SsoIdentityProviderStatus, issuer: string }> } } };export type ValidatePasswordResetTokenQueryVariables = Exact<{token: Scalars['String'];}>;-export type ValidatePasswordResetTokenQuery = { __typename?: 'Query', validatePasswordResetToken: { __typename?: 'ValidatePasswordResetToken', id: string, email: string } };+export type ValidatePasswordResetTokenQuery = { __typename?: 'Query', validatePasswordResetToken: { __typename?: 'ValidatePasswordResetToken', id: any, email: string } };export type CheckoutSessionMutationVariables = Exact<{recurringInterval: SubscriptionInterval;@@ -3543,7 +3543,7 @@ export type GetMeteredProductsUsageQueryVariables = Exact<{ [key: string]: neverexport type GetMeteredProductsUsageQuery = { __typename?: 'Query', getMeteredProductsUsage: Array<{ __typename?: 'BillingMeteredProductUsageOutput', productKey: BillingProductKey, usageQuantity: number, freeTierQuantity: number, freeTrialQuantity: number, unitPriceCents: number, totalCostCents: number }> };-export type RemoteServerFieldsFragment = { __typename?: 'RemoteServer', id: string, createdAt: string, foreignDataWrapperId: string, foreignDataWrapperOptions?: any | null, foreignDataWrapperType: string, updatedAt: string, schema?: string | null, label: string, userMappingOptions?: { __typename?: 'UserMappingOptionsUser', user?: string | null } | null };+export type RemoteServerFieldsFragment = { __typename?: 'RemoteServer', id: any, createdAt: string, foreignDataWrapperId: any, foreignDataWrapperOptions?: any | null, foreignDataWrapperType: string, updatedAt: string, schema?: string | null, label: string, userMappingOptions?: { __typename?: 'UserMappingOptionsUser', user?: string | null } | null };export type RemoteTableFieldsFragment = { __typename?: 'RemoteTable', id?: any | null, name: string, schema?: string | null, status: RemoteTableStatus, schemaPendingUpdates?: Array<DistantTableUpdate> | null };@@ -3552,14 +3552,14 @@ export type CreateServerMutationVariables = Exact<{}>;-export type CreateServerMutation = { __typename?: 'Mutation', createOneRemoteServer: { __typename?: 'RemoteServer', id: string, createdAt: string, foreignDataWrapperId: string, foreignDataWrapperOptions?: any | null, foreignDataWrapperType: string, updatedAt: string, schema?: string | null, label: string, userMappingOptions?: { __typename?: 'UserMappingOptionsUser', user?: string | null } | null } };+export type CreateServerMutation = { __typename?: 'Mutation', createOneRemoteServer: { __typename?: 'RemoteServer', id: any, createdAt: string, foreignDataWrapperId: any, foreignDataWrapperOptions?: any | null, foreignDataWrapperType: string, updatedAt: string, schema?: string | null, label: string, userMappingOptions?: { __typename?: 'UserMappingOptionsUser', user?: string | null } | null } };export type DeleteServerMutationVariables = Exact<{input: RemoteServerIdInput;}>;-export type DeleteServerMutation = { __typename?: 'Mutation', deleteOneRemoteServer: { __typename?: 'RemoteServer', id: string } };+export type DeleteServerMutation = { __typename?: 'Mutation', deleteOneRemoteServer: { __typename?: 'RemoteServer', id: any } };export type SyncRemoteTableMutationVariables = Exact<{input: RemoteTableInput;@@ -3587,14 +3587,14 @@ export type UpdateServerMutationVariables = Exact<{}>;-export type UpdateServerMutation = { __typename?: 'Mutation', updateOneRemoteServer: { __typename?: 'RemoteServer', id: string, createdAt: string, foreignDataWrapperId: string, foreignDataWrapperOptions?: any | null, foreignDataWrapperType: string, updatedAt: string, schema?: string | null, label: string, userMappingOptions?: { __typename?: 'UserMappingOptionsUser', user?: string | null } | null } };+export type UpdateServerMutation = { __typename?: 'Mutation', updateOneRemoteServer: { __typename?: 'RemoteServer', id: any, createdAt: string, foreignDataWrapperId: any, foreignDataWrapperOptions?: any | null, foreignDataWrapperType: string, updatedAt: string, schema?: string | null, label: string, userMappingOptions?: { __typename?: 'UserMappingOptionsUser', user?: string | null } | null } };export type GetManyDatabaseConnectionsQueryVariables = Exact<{input: RemoteServerTypeInput;}>;-export type GetManyDatabaseConnectionsQuery = { __typename?: 'Query', findManyRemoteServersByType: Array<{ __typename?: 'RemoteServer', id: string, createdAt: string, foreignDataWrapperId: string, foreignDataWrapperOptions?: any | null, foreignDataWrapperType: string, updatedAt: string, schema?: string | null, label: string, userMappingOptions?: { __typename?: 'UserMappingOptionsUser', user?: string | null } | null }> };+export type GetManyDatabaseConnectionsQuery = { __typename?: 'Query', findManyRemoteServersByType: Array<{ __typename?: 'RemoteServer', id: any, createdAt: string, foreignDataWrapperId: any, foreignDataWrapperOptions?: any | null, foreignDataWrapperType: string, updatedAt: string, schema?: string | null, label: string, userMappingOptions?: { __typename?: 'UserMappingOptionsUser', user?: string | null } | null }> };export type GetManyRemoteTablesQueryVariables = Exact<{input: FindManyRemoteTablesInput;@@ -3608,28 +3608,28 @@ export type GetOneDatabaseConnectionQueryVariables = Exact<{}>;-export type GetOneDatabaseConnectionQuery = { __typename?: 'Query', findOneRemoteServerById: { __typename?: 'RemoteServer', id: string, createdAt: string, foreignDataWrapperId: string, foreignDataWrapperOptions?: any | null, foreignDataWrapperType: string, updatedAt: string, schema?: string | null, label: string, userMappingOptions?: { __typename?: 'UserMappingOptionsUser', user?: string | null } | null } };+export type GetOneDatabaseConnectionQuery = { __typename?: 'Query', findOneRemoteServerById: { __typename?: 'RemoteServer', id: any, createdAt: string, foreignDataWrapperId: any, foreignDataWrapperOptions?: any | null, foreignDataWrapperType: string, updatedAt: string, schema?: string | null, label: string, userMappingOptions?: { __typename?: 'UserMappingOptionsUser', user?: string | null } | null } };export type CreateFileMutationVariables = Exact<{file: Scalars['Upload'];}>;-export type CreateFileMutation = { __typename?: 'Mutation', createFile: { __typename?: 'File', id: string, name: string, fullPath: string, size: number, type: string, createdAt: string } };+export type CreateFileMutation = { __typename?: 'Mutation', createFile: { __typename?: 'File', id: any, name: string, fullPath: string, size: number, type: string, createdAt: string } };export type DeleteFileMutationVariables = Exact<{- fileId: Scalars['String'];+ fileId: Scalars['UUID'];}>;-export type DeleteFileMutation = { __typename?: 'Mutation', deleteFile: { __typename?: 'File', id: string, name: string, fullPath: string, size: number, type: string, createdAt: string } };+export type DeleteFileMutation = { __typename?: 'Mutation', deleteFile: { __typename?: 'File', id: any, name: string, fullPath: string, size: number, type: string, createdAt: string } };export type CreateOneObjectMetadataItemMutationVariables = Exact<{input: CreateOneObjectInput;}>;-export type CreateOneObjectMetadataItemMutation = { __typename?: 'Mutation', createOneObject: { __typename?: 'Object', id: any, dataSourceId: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, description?: string | null, icon?: string | null, isCustom: boolean, isActive: boolean, isSearchable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, isLabelSyncedWithName: boolean } };+export type CreateOneObjectMetadataItemMutation = { __typename?: 'Mutation', createOneObject: { __typename?: 'Object', id: any, dataSourceId: any, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, description?: string | null, icon?: string | null, isCustom: boolean, isActive: boolean, isSearchable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: any | null, imageIdentifierFieldMetadataId?: any | null, isLabelSyncedWithName: boolean } };export type CreateOneFieldMetadataItemMutationVariables = Exact<{input: CreateOneFieldMetadataInput;@@ -3652,14 +3652,14 @@ export type UpdateOneObjectMetadataItemMutationVariables = Exact<{}>;-export type UpdateOneObjectMetadataItemMutation = { __typename?: 'Mutation', updateOneObject: { __typename?: 'Object', id: any, dataSourceId: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, description?: string | null, icon?: string | null, isCustom: boolean, isActive: boolean, isSearchable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, isLabelSyncedWithName: boolean } };+export type UpdateOneObjectMetadataItemMutation = { __typename?: 'Mutation', updateOneObject: { __typename?: 'Object', id: any, dataSourceId: any, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, description?: string | null, icon?: string | null, isCustom: boolean, isActive: boolean, isSearchable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: any | null, imageIdentifierFieldMetadataId?: any | null, isLabelSyncedWithName: boolean } };export type DeleteOneObjectMetadataItemMutationVariables = Exact<{idToDelete: Scalars['UUID'];}>;-export type DeleteOneObjectMetadataItemMutation = { __typename?: 'Mutation', deleteOneObject: { __typename?: 'Object', id: any, dataSourceId: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, description?: string | null, icon?: string | null, isCustom: boolean, isActive: boolean, isSearchable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, isLabelSyncedWithName: boolean } };+export type DeleteOneObjectMetadataItemMutation = { __typename?: 'Mutation', deleteOneObject: { __typename?: 'Object', id: any, dataSourceId: any, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, description?: string | null, icon?: string | null, isCustom: boolean, isActive: boolean, isSearchable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: any | null, imageIdentifierFieldMetadataId?: any | null, isLabelSyncedWithName: boolean } };export type DeleteOneFieldMetadataItemMutationVariables = Exact<{idToDelete: Scalars['UUID'];@@ -3671,7 +3671,7 @@ export type DeleteOneFieldMetadataItemMutation = { __typename?: 'Mutation', deleexport type ObjectMetadataItemsQueryVariables = Exact<{ [key: string]: never; }>;-export type ObjectMetadataItemsQuery = { __typename?: 'Query', objects: { __typename?: 'ObjectConnection', edges: Array<{ __typename?: 'ObjectEdge', node: { __typename?: 'Object', id: any, dataSourceId: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, description?: string | null, icon?: string | null, isCustom: boolean, isRemote: boolean, isActive: boolean, isSystem: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, shortcut?: string | null, isLabelSyncedWithName: boolean, isSearchable: boolean, duplicateCriteria?: Array<Array<string>> | null, indexMetadataList: Array<{ __typename?: 'Index', id: any, createdAt: string, updatedAt: string, name: string, indexWhereClause?: string | null, indexType: IndexType, isUnique: boolean, indexFieldMetadataList: Array<{ __typename?: 'IndexField', id: any, fieldMetadataId: any, createdAt: string, updatedAt: string, order: number }> }>, fieldsList: Array<{ __typename?: 'Field', id: any, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isCustom?: boolean | null, isActive?: boolean | null, isSystem?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: any, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: any, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: any, name: string }, targetFieldMetadata: { __typename?: 'Field', id: any, name: string } } | null }> } }>, pageInfo: { __typename?: 'PageInfo', hasNextPage?: boolean | null, hasPreviousPage?: boolean | null, startCursor?: any | null, endCursor?: any | null } } };+export type ObjectMetadataItemsQuery = { __typename?: 'Query', objects: { __typename?: 'ObjectConnection', edges: Array<{ __typename?: 'ObjectEdge', node: { __typename?: 'Object', id: any, dataSourceId: any, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, description?: string | null, icon?: string | null, isCustom: boolean, isRemote: boolean, isActive: boolean, isSystem: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: any | null, imageIdentifierFieldMetadataId?: any | null, shortcut?: string | null, isLabelSyncedWithName: boolean, isSearchable: boolean, duplicateCriteria?: Array<Array<string>> | null, indexMetadataList: Array<{ __typename?: 'Index', id: any, createdAt: string, updatedAt: string, name: string, indexWhereClause?: string | null, indexType: IndexType, isUnique: boolean, indexFieldMetadataList: Array<{ __typename?: 'IndexField', id: any, fieldMetadataId: any, createdAt: string, updatedAt: string, order: number }> }>, fieldsList: Array<{ __typename?: 'Field', id: any, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isCustom?: boolean | null, isActive?: boolean | null, isSystem?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: any, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: any, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: any, name: string }, targetFieldMetadata: { __typename?: 'Field', id: any, name: string } } | null }> } }>, pageInfo: { __typename?: 'PageInfo', hasNextPage?: boolean | null, hasPreviousPage?: boolean | null, startCursor?: any | null, endCursor?: any | null } } };export type SkipBookOnboardingStepMutationVariables = Exact<{ [key: string]: never; }>;@@ -3684,21 +3684,21 @@ export type SkipSyncEmailOnboardingStepMutationVariables = Exact<{ [key: string]export type SkipSyncEmailOnboardingStepMutation = { __typename?: 'Mutation', skipSyncEmailOnboardingStep: { __typename?: 'OnboardingStepSuccess', success: boolean } };export type SaveImapSmtpCaldavAccountMutationVariables = Exact<{- accountOwnerId: Scalars['String'];+ accountOwnerId: Scalars['UUID'];handle: Scalars['String'];connectionParameters: EmailAccountConnectionParameters;- id?: InputMaybe<Scalars['String']>;+ id?: InputMaybe<Scalars['UUID']>;}>;export type SaveImapSmtpCaldavAccountMutation = { __typename?: 'Mutation', saveImapSmtpCaldavAccount: { __typename?: 'ImapSmtpCaldavConnectionSuccess', success: boolean } };export type GetConnectedImapSmtpCaldavAccountQueryVariables = Exact<{- id: Scalars['String'];+ id: Scalars['UUID'];}>;-export type GetConnectedImapSmtpCaldavAccountQuery = { __typename?: 'Query', getConnectedImapSmtpCaldavAccount: { __typename?: 'ConnectedImapSmtpCaldavAccount', id: string, handle: string, provider: string, accountOwnerId: string, connectionParameters?: { __typename?: 'ImapSmtpCaldavConnectionParameters', IMAP?: { __typename?: 'ConnectionParametersOutput', host: string, port: number, secure?: boolean | null, password: string } | null, SMTP?: { __typename?: 'ConnectionParametersOutput', host: string, port: number, secure?: boolean | null, password: string } | null, CALDAV?: { __typename?: 'ConnectionParametersOutput', host: string, username?: string | null, password: string } | null } | null } };+export type GetConnectedImapSmtpCaldavAccountQuery = { __typename?: 'Query', getConnectedImapSmtpCaldavAccount: { __typename?: 'ConnectedImapSmtpCaldavAccount', id: any, handle: string, provider: string, accountOwnerId: any, connectionParameters?: { __typename?: 'ImapSmtpCaldavConnectionParameters', IMAP?: { __typename?: 'ConnectionParametersOutput', host: string, port: number, secure?: boolean | null, password: string } | null, SMTP?: { __typename?: 'ConnectionParametersOutput', host: string, port: number, secure?: boolean | null, password: string } | null, CALDAV?: { __typename?: 'ConnectionParametersOutput', host: string, username?: string | null, password: string } | null } | null } };export type CreateDatabaseConfigVariableMutationVariables = Exact<{key: Scalars['String'];@@ -3736,7 +3736,7 @@ export type GetDatabaseConfigVariableQueryVariables = Exact<{export type GetDatabaseConfigVariableQuery = { __typename?: 'Query', getDatabaseConfigVariable: { __typename?: 'ConfigVariable', name: string, description: string, value?: any | null, isSensitive: boolean, isEnvOnly: boolean, type: ConfigVariableType, options?: any | null, source: ConfigSource } };export type UpdateWorkspaceFeatureFlagMutationVariables = Exact<{- workspaceId: Scalars['String'];+ workspaceId: Scalars['UUID'];featureFlag: Scalars['String'];value: Scalars['Boolean'];}>;@@ -3749,7 +3749,7 @@ export type UserLookupAdminPanelMutationVariables = Exact<{}>;-export type UserLookupAdminPanelMutation = { __typename?: 'Mutation', userLookupAdminPanel: { __typename?: 'UserLookup', user: { __typename?: 'UserInfo', id: string, email: string, firstName?: string | null, lastName?: string | null }, workspaces: Array<{ __typename?: 'WorkspaceInfo', id: string, name: string, logo?: string | null, totalUsers: number, allowImpersonation: boolean, users: Array<{ __typename?: 'UserInfo', id: string, email: string, firstName?: string | null, lastName?: string | null }>, featureFlags: Array<{ __typename?: 'FeatureFlag', key: FeatureFlagKey, value: boolean }> }> } };+export type UserLookupAdminPanelMutation = { __typename?: 'Mutation', userLookupAdminPanel: { __typename?: 'UserLookup', user: { __typename?: 'UserInfo', id: any, email: string, firstName?: string | null, lastName?: string | null }, workspaces: Array<{ __typename?: 'WorkspaceInfo', id: any, name: string, logo?: string | null, totalUsers: number, allowImpersonation: boolean, users: Array<{ __typename?: 'UserInfo', id: any, email: string, firstName?: string | null, lastName?: string | null }>, featureFlags: Array<{ __typename?: 'FeatureFlag', key: FeatureFlagKey, value: boolean }> }> } };export type GetVersionInfoQueryVariables = Exact<{ [key: string]: never; }>;@@ -3761,7 +3761,7 @@ export type GetIndicatorHealthStatusQueryVariables = Exact<{}>;-export type GetIndicatorHealthStatusQuery = { __typename?: 'Query', getIndicatorHealthStatus: { __typename?: 'AdminPanelHealthServiceData', id: string, label: string, description: string, status: AdminPanelHealthServiceStatus, errorMessage?: string | null, details?: string | null, queues?: Array<{ __typename?: 'AdminPanelWorkerQueueHealth', id: string, queueName: string, status: AdminPanelHealthServiceStatus }> | null } };+export type GetIndicatorHealthStatusQuery = { __typename?: 'Query', getIndicatorHealthStatus: { __typename?: 'AdminPanelHealthServiceData', id: any, label: string, description: string, status: AdminPanelHealthServiceStatus, errorMessage?: string | null, details?: string | null, queues?: Array<{ __typename?: 'AdminPanelWorkerQueueHealth', id: any, queueName: string, status: AdminPanelHealthServiceStatus }> | null } };export type GetQueueMetricsQueryVariables = Exact<{queueName: Scalars['String'];@@ -3769,20 +3769,20 @@ export type GetQueueMetricsQueryVariables = Exact<{}>;-export type GetQueueMetricsQuery = { __typename?: 'Query', getQueueMetrics: { __typename?: 'QueueMetricsData', queueName: string, timeRange: QueueMetricsTimeRange, workers: number, details?: { __typename?: 'WorkerQueueMetrics', failed: number, completed: number, waiting: number, active: number, delayed: number, failureRate: number } | null, data: Array<{ __typename?: 'QueueMetricsSeries', id: string, data: Array<{ __typename?: 'QueueMetricsDataPoint', x: number, y: number }> }> } };+export type GetQueueMetricsQuery = { __typename?: 'Query', getQueueMetrics: { __typename?: 'QueueMetricsData', queueName: string, timeRange: QueueMetricsTimeRange, workers: number, details?: { __typename?: 'WorkerQueueMetrics', failed: number, completed: number, waiting: number, active: number, delayed: number, failureRate: number } | null, data: Array<{ __typename?: 'QueueMetricsSeries', id: any, data: Array<{ __typename?: 'QueueMetricsDataPoint', x: number, y: number }> }> } };export type GetSystemHealthStatusQueryVariables = Exact<{ [key: string]: never; }>;export type GetSystemHealthStatusQuery = { __typename?: 'Query', getSystemHealthStatus: { __typename?: 'SystemHealth', services: Array<{ __typename?: 'SystemHealthService', id: HealthIndicatorId, label: string, status: AdminPanelHealthServiceStatus }> } };-export type ApiKeyFragmentFragment = { __typename?: 'ApiKey', id: any, name: string, expiresAt: string, revokedAt?: string | null, role?: { __typename?: 'Role', id: string, label: string, icon?: string | null } | null };+export type ApiKeyFragmentFragment = { __typename?: 'ApiKey', id: any, name: string, expiresAt: string, revokedAt?: string | null, role?: { __typename?: 'Role', id: any, label: string, icon?: string | null } | null };export type WebhookFragmentFragment = { __typename?: 'Webhook', id: any, targetUrl: string, operations: Array<string>, description?: string | null, secret: string };export type AssignRoleToApiKeyMutationVariables = Exact<{- apiKeyId: Scalars['String'];- roleId: Scalars['String'];+ apiKeyId: Scalars['UUID'];+ roleId: Scalars['UUID'];}>;@@ -3793,7 +3793,7 @@ export type CreateApiKeyMutationVariables = Exact<{}>;-export type CreateApiKeyMutation = { __typename?: 'Mutation', createApiKey: { __typename?: 'ApiKey', id: any, name: string, expiresAt: string, revokedAt?: string | null, role?: { __typename?: 'Role', id: string, label: string, icon?: string | null } | null } };+export type CreateApiKeyMutation = { __typename?: 'Mutation', createApiKey: { __typename?: 'ApiKey', id: any, name: string, expiresAt: string, revokedAt?: string | null, role?: { __typename?: 'Role', id: any, label: string, icon?: string | null } | null } };export type CreateWebhookMutationVariables = Exact<{input: CreateWebhookDto;@@ -3821,7 +3821,7 @@ export type UpdateApiKeyMutationVariables = Exact<{}>;-export type UpdateApiKeyMutation = { __typename?: 'Mutation', updateApiKey?: { __typename?: 'ApiKey', id: any, name: string, expiresAt: string, revokedAt?: string | null, role?: { __typename?: 'Role', id: string, label: string, icon?: string | null } | null } | null };+export type UpdateApiKeyMutation = { __typename?: 'Mutation', updateApiKey?: { __typename?: 'ApiKey', id: any, name: string, expiresAt: string, revokedAt?: string | null, role?: { __typename?: 'Role', id: any, label: string, icon?: string | null } | null } | null };export type UpdateWebhookMutationVariables = Exact<{input: UpdateWebhookDto;@@ -3835,12 +3835,12 @@ export type GetApiKeyQueryVariables = Exact<{}>;-export type GetApiKeyQuery = { __typename?: 'Query', apiKey?: { __typename?: 'ApiKey', createdAt: string, id: any, name: string, expiresAt: string, revokedAt?: string | null, role?: { __typename?: 'Role', id: string, label: string, icon?: string | null } | null } | null };+export type GetApiKeyQuery = { __typename?: 'Query', apiKey?: { __typename?: 'ApiKey', createdAt: string, id: any, name: string, expiresAt: string, revokedAt?: string | null, role?: { __typename?: 'Role', id: any, label: string, icon?: string | null } | null } | null };export type GetApiKeysQueryVariables = Exact<{ [key: string]: never; }>;-export type GetApiKeysQuery = { __typename?: 'Query', apiKeys: Array<{ __typename?: 'ApiKey', id: any, name: string, expiresAt: string, revokedAt?: string | null, role?: { __typename?: 'Role', id: string, label: string, icon?: string | null } | null }> };+export type GetApiKeysQuery = { __typename?: 'Query', apiKeys: Array<{ __typename?: 'ApiKey', id: any, name: string, expiresAt: string, revokedAt?: string | null, role?: { __typename?: 'Role', id: any, label: string, icon?: string | null } | null }> };export type GetWebhookQueryVariables = Exact<{input: GetWebhookDto;@@ -3861,21 +3861,21 @@ export type UpdateLabPublicFeatureFlagMutationVariables = Exact<{export type UpdateLabPublicFeatureFlagMutation = { __typename?: 'Mutation', updateLabPublicFeatureFlag: { __typename?: 'FeatureFlagDTO', key: FeatureFlagKey, value: boolean } };-export type ObjectPermissionFragmentFragment = { __typename?: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null };+export type ObjectPermissionFragmentFragment = { __typename?: 'ObjectPermission', objectMetadataId: any, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null };-export type PermissionFlagFragmentFragment = { __typename?: 'PermissionFlag', id: string, flag: PermissionFlagType, roleId: string };+export type PermissionFlagFragmentFragment = { __typename?: 'PermissionFlag', id: any, flag: PermissionFlagType, roleId: any };-export type RoleFragmentFragment = { __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean };+export type RoleFragmentFragment = { __typename?: 'Role', id: any, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean };export type CreateOneRoleMutationVariables = Exact<{createRoleInput: CreateRoleInput;}>;-export type CreateOneRoleMutation = { __typename?: 'Mutation', createOneRole: { __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean } };+export type CreateOneRoleMutation = { __typename?: 'Mutation', createOneRole: { __typename?: 'Role', id: any, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean } };export type DeleteOneRoleMutationVariables = Exact<{- roleId: Scalars['String'];+ roleId: Scalars['UUID'];}>;@@ -3886,34 +3886,34 @@ export type UpdateOneRoleMutationVariables = Exact<{}>;-export type UpdateOneRoleMutation = { __typename?: 'Mutation', updateOneRole: { __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean } };+export type UpdateOneRoleMutation = { __typename?: 'Mutation', updateOneRole: { __typename?: 'Role', id: any, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean } };export type UpdateWorkspaceMemberRoleMutationVariables = Exact<{- workspaceMemberId: Scalars['String'];- roleId: Scalars['String'];+ workspaceMemberId: Scalars['UUID'];+ roleId: Scalars['UUID'];}>;-export type UpdateWorkspaceMemberRoleMutation = { __typename?: 'Mutation', updateWorkspaceMemberRole: { __typename?: 'WorkspaceMember', id: any, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, roles?: Array<{ __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean }> | null, name: { __typename?: 'FullName', firstName: string, lastName: string } } };+export type UpdateWorkspaceMemberRoleMutation = { __typename?: 'Mutation', updateWorkspaceMemberRole: { __typename?: 'WorkspaceMember', id: any, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, roles?: Array<{ __typename?: 'Role', id: any, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean }> | null, name: { __typename?: 'FullName', firstName: string, lastName: string } } };export type UpsertObjectPermissionsMutationVariables = Exact<{upsertObjectPermissionsInput: UpsertObjectPermissionsInput;}>;-export type UpsertObjectPermissionsMutation = { __typename?: 'Mutation', upsertObjectPermissions: Array<{ __typename?: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null }> };+export type UpsertObjectPermissionsMutation = { __typename?: 'Mutation', upsertObjectPermissions: Array<{ __typename?: 'ObjectPermission', objectMetadataId: any, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null }> };export type UpsertPermissionFlagsMutationVariables = Exact<{upsertPermissionFlagsInput: UpsertPermissionFlagsInput;}>;-export type UpsertPermissionFlagsMutation = { __typename?: 'Mutation', upsertPermissionFlags: Array<{ __typename?: 'PermissionFlag', id: string, flag: PermissionFlagType, roleId: string }> };+export type UpsertPermissionFlagsMutation = { __typename?: 'Mutation', upsertPermissionFlags: Array<{ __typename?: 'PermissionFlag', id: any, flag: PermissionFlagType, roleId: any }> };export type GetRolesQueryVariables = Exact<{ [key: string]: never; }>;-export type GetRolesQuery = { __typename?: 'Query', getRoles: Array<{ __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean, workspaceMembers: Array<{ __typename?: 'WorkspaceMember', id: any, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, name: { __typename?: 'FullName', firstName: string, lastName: string } }>, permissionFlags?: Array<{ __typename?: 'PermissionFlag', id: string, flag: PermissionFlagType, roleId: string }> | null, objectPermissions?: Array<{ __typename?: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null }> | null }> };+export type GetRolesQuery = { __typename?: 'Query', getRoles: Array<{ __typename?: 'Role', id: any, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean, workspaceMembers: Array<{ __typename?: 'WorkspaceMember', id: any, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, name: { __typename?: 'FullName', firstName: string, lastName: string } }>, permissionFlags?: Array<{ __typename?: 'PermissionFlag', id: any, flag: PermissionFlagType, roleId: any }> | null, objectPermissions?: Array<{ __typename?: 'ObjectPermission', objectMetadataId: any, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null }> | null }> };export type CreateApprovedAccessDomainMutationVariables = Exact<{input: CreateApprovedAccessDomainInput;@@ -3927,14 +3927,14 @@ export type CreateOidcIdentityProviderMutationVariables = Exact<{}>;-export type CreateOidcIdentityProviderMutation = { __typename?: 'Mutation', createOIDCIdentityProvider: { __typename?: 'SetupSsoOutput', id: string, type: IdentityProviderType, issuer: string, name: string, status: SsoIdentityProviderStatus } };+export type CreateOidcIdentityProviderMutation = { __typename?: 'Mutation', createOIDCIdentityProvider: { __typename?: 'SetupSsoOutput', id: any, type: IdentityProviderType, issuer: string, name: string, status: SsoIdentityProviderStatus } };export type CreateSamlIdentityProviderMutationVariables = Exact<{input: SetupSamlSsoInput;}>;-export type CreateSamlIdentityProviderMutation = { __typename?: 'Mutation', createSAMLIdentityProvider: { __typename?: 'SetupSsoOutput', id: string, type: IdentityProviderType, issuer: string, name: string, status: SsoIdentityProviderStatus } };+export type CreateSamlIdentityProviderMutation = { __typename?: 'Mutation', createSAMLIdentityProvider: { __typename?: 'SetupSsoOutput', id: any, type: IdentityProviderType, issuer: string, name: string, status: SsoIdentityProviderStatus } };export type DeleteApprovedAccessDomainMutationVariables = Exact<{input: DeleteApprovedAccessDomainInput;@@ -3948,14 +3948,14 @@ export type DeleteSsoIdentityProviderMutationVariables = Exact<{}>;-export type DeleteSsoIdentityProviderMutation = { __typename?: 'Mutation', deleteSSOIdentityProvider: { __typename?: 'DeleteSsoOutput', identityProviderId: string } };+export type DeleteSsoIdentityProviderMutation = { __typename?: 'Mutation', deleteSSOIdentityProvider: { __typename?: 'DeleteSsoOutput', identityProviderId: any } };export type EditSsoIdentityProviderMutationVariables = Exact<{input: EditSsoInput;}>;-export type EditSsoIdentityProviderMutation = { __typename?: 'Mutation', editSSOIdentityProvider: { __typename?: 'EditSsoOutput', id: string, type: IdentityProviderType, issuer: string, name: string, status: SsoIdentityProviderStatus } };+export type EditSsoIdentityProviderMutation = { __typename?: 'Mutation', editSSOIdentityProvider: { __typename?: 'EditSsoOutput', id: any, type: IdentityProviderType, issuer: string, name: string, status: SsoIdentityProviderStatus } };export type ValidateApprovedAccessDomainMutationVariables = Exact<{input: ValidateApprovedAccessDomainInput;@@ -3972,7 +3972,7 @@ export type GetApprovedAccessDomainsQuery = { __typename?: 'Query', getApprovedAexport type GetSsoIdentityProvidersQueryVariables = Exact<{ [key: string]: never; }>;-export type GetSsoIdentityProvidersQuery = { __typename?: 'Query', getSSOIdentityProviders: Array<{ __typename?: 'FindAvailableSSOIDPOutput', type: IdentityProviderType, id: string, name: string, issuer: string, status: SsoIdentityProviderStatus }> };+export type GetSsoIdentityProvidersQuery = { __typename?: 'Query', getSSOIdentityProviders: Array<{ __typename?: 'FindAvailableSSOIDPOutput', type: IdentityProviderType, id: any, name: string, issuer: string, status: SsoIdentityProviderStatus }> };export type ServerlessFunctionFieldsFragment = { __typename?: 'ServerlessFunction', id: any, name: string, description?: string | null, runtime: string, timeoutSeconds: number, latestVersion?: string | null, latestVersionInputSchema?: any | null, publishedVersions: Array<string>, createdAt: string, updatedAt: string };@@ -4044,7 +4044,7 @@ export type VerifyTwoFactorAuthenticationMethodForAuthenticatedUserMutationVariaexport type VerifyTwoFactorAuthenticationMethodForAuthenticatedUserMutation = { __typename?: 'Mutation', verifyTwoFactorAuthenticationMethodForAuthenticatedUser: { __typename?: 'VerifyTwoFactorAuthenticationMethodOutput', success: boolean } };-export type UserQueryFragmentFragment = { __typename?: 'User', id: any, firstName: string, lastName: string, email: string, canAccessFullAdminPanel: boolean, canImpersonate: boolean, supportUserHash?: string | null, onboardingStatus?: OnboardingStatus | null, userVars?: any | null, workspaceMember?: { __typename?: 'WorkspaceMember', id: any, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, name: { __typename?: 'FullName', firstName: string, lastName: string } } | null, workspaceMembers?: Array<{ __typename?: 'WorkspaceMember', id: any, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, deletedWorkspaceMembers?: Array<{ __typename?: 'DeletedWorkspaceMember', id: any, avatarUrl?: string | null, userEmail: string, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, currentUserWorkspace?: { __typename?: 'UserWorkspace', permissionFlags?: Array<PermissionFlagType> | null, objectRecordsPermissions?: Array<PermissionsOnAllObjectRecords> | null, objectPermissions?: Array<{ __typename?: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null }> | null, twoFactorAuthenticationMethodSummary?: Array<{ __typename?: 'TwoFactorAuthenticationMethodDTO', twoFactorAuthenticationMethodId: any, status: string, strategy: string }> | null } | null, currentWorkspace?: { __typename?: 'Workspace', id: any, displayName?: string | null, logo?: string | null, inviteHash?: string | null, allowImpersonation: boolean, activationStatus: WorkspaceActivationStatus, isPublicInviteLinkEnabled: boolean, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, subdomain: string, hasValidEnterpriseKey: boolean, customDomain?: string | null, isCustomDomainEnabled: boolean, metadataVersion: number, workspaceMembersCount?: number | null, isTwoFactorAuthenticationEnforced: boolean, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, featureFlags?: Array<{ __typename?: 'FeatureFlagDTO', key: FeatureFlagKey, value: boolean }> | null, currentBillingSubscription?: { __typename?: 'BillingSubscription', id: any, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: any, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, billingProduct?: { __typename?: 'BillingProduct', name: string, description: string, metadata: { __typename?: 'BillingProductMetadata', planKey: BillingPlanKey, priceUsageBased: BillingUsageType, productKey: BillingProductKey } } | null }> | null } | null, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: any, status: SubscriptionStatus, metadata: any }>, defaultRole?: { __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean } | null, defaultAgent?: { __typename?: 'Agent', id: any } | 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: IdentityProviderType, id: string, issuer: string, name: string, status: 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: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }> } };+export type UserQueryFragmentFragment = { __typename?: 'User', id: any, firstName: string, lastName: string, email: string, canAccessFullAdminPanel: boolean, canImpersonate: boolean, supportUserHash?: string | null, onboardingStatus?: OnboardingStatus | null, userVars?: any | null, workspaceMember?: { __typename?: 'WorkspaceMember', id: any, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, name: { __typename?: 'FullName', firstName: string, lastName: string } } | null, workspaceMembers?: Array<{ __typename?: 'WorkspaceMember', id: any, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, deletedWorkspaceMembers?: Array<{ __typename?: 'DeletedWorkspaceMember', id: any, avatarUrl?: string | null, userEmail: string, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, currentUserWorkspace?: { __typename?: 'UserWorkspace', permissionFlags?: Array<PermissionFlagType> | null, objectRecordsPermissions?: Array<PermissionsOnAllObjectRecords> | null, objectPermissions?: Array<{ __typename?: 'ObjectPermission', objectMetadataId: any, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null }> | null, twoFactorAuthenticationMethodSummary?: Array<{ __typename?: 'TwoFactorAuthenticationMethodDTO', twoFactorAuthenticationMethodId: any, status: string, strategy: string }> | null } | null, currentWorkspace?: { __typename?: 'Workspace', id: any, displayName?: string | null, logo?: string | null, inviteHash?: string | null, allowImpersonation: boolean, activationStatus: WorkspaceActivationStatus, isPublicInviteLinkEnabled: boolean, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, subdomain: string, hasValidEnterpriseKey: boolean, customDomain?: string | null, isCustomDomainEnabled: boolean, metadataVersion: number, workspaceMembersCount?: number | null, isTwoFactorAuthenticationEnforced: boolean, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, featureFlags?: Array<{ __typename?: 'FeatureFlagDTO', key: FeatureFlagKey, value: boolean }> | null, currentBillingSubscription?: { __typename?: 'BillingSubscription', id: any, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: any, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, billingProduct?: { __typename?: 'BillingProduct', name: string, description: string, metadata: { __typename?: 'BillingProductMetadata', planKey: BillingPlanKey, priceUsageBased: BillingUsageType, productKey: BillingProductKey } } | null }> | null } | null, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: any, status: SubscriptionStatus, metadata: any }>, defaultRole?: { __typename?: 'Role', id: any, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean } | null, defaultAgent?: { __typename?: 'Agent', id: any } | null } | null, availableWorkspaces: { __typename?: 'AvailableWorkspaces', availableWorkspacesForSignIn: Array<{ __typename?: 'AvailableWorkspace', id: any, 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: IdentityProviderType, id: any, issuer: string, name: string, status: SsoIdentityProviderStatus }> }>, availableWorkspacesForSignUp: Array<{ __typename?: 'AvailableWorkspace', id: any, 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: IdentityProviderType, id: any, issuer: string, name: string, status: SsoIdentityProviderStatus }> }> } };export type WorkspaceUrlsFragmentFragment = { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null };@@ -4063,10 +4063,10 @@ export type UploadProfilePictureMutation = { __typename?: 'Mutation', uploadProfexport type GetCurrentUserQueryVariables = Exact<{ [key: string]: never; }>;-export type GetCurrentUserQuery = { __typename?: 'Query', currentUser: { __typename?: 'User', id: any, firstName: string, lastName: string, email: string, canAccessFullAdminPanel: boolean, canImpersonate: boolean, supportUserHash?: string | null, onboardingStatus?: OnboardingStatus | null, userVars?: any | null, workspaceMember?: { __typename?: 'WorkspaceMember', id: any, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, name: { __typename?: 'FullName', firstName: string, lastName: string } } | null, workspaceMembers?: Array<{ __typename?: 'WorkspaceMember', id: any, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, deletedWorkspaceMembers?: Array<{ __typename?: 'DeletedWorkspaceMember', id: any, avatarUrl?: string | null, userEmail: string, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, currentUserWorkspace?: { __typename?: 'UserWorkspace', permissionFlags?: Array<PermissionFlagType> | null, objectRecordsPermissions?: Array<PermissionsOnAllObjectRecords> | null, objectPermissions?: Array<{ __typename?: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null }> | null, twoFactorAuthenticationMethodSummary?: Array<{ __typename?: 'TwoFactorAuthenticationMethodDTO', twoFactorAuthenticationMethodId: any, status: string, strategy: string }> | null } | null, currentWorkspace?: { __typename?: 'Workspace', id: any, displayName?: string | null, logo?: string | null, inviteHash?: string | null, allowImpersonation: boolean, activationStatus: WorkspaceActivationStatus, isPublicInviteLinkEnabled: boolean, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, subdomain: string, hasValidEnterpriseKey: boolean, customDomain?: string | null, isCustomDomainEnabled: boolean, metadataVersion: number, workspaceMembersCount?: number | null, isTwoFactorAuthenticationEnforced: boolean, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, featureFlags?: Array<{ __typename?: 'FeatureFlagDTO', key: FeatureFlagKey, value: boolean }> | null, currentBillingSubscription?: { __typename?: 'BillingSubscription', id: any, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: any, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, billingProduct?: { __typename?: 'BillingProduct', name: string, description: string, metadata: { __typename?: 'BillingProductMetadata', planKey: BillingPlanKey, priceUsageBased: BillingUsageType, productKey: BillingProductKey } } | null }> | null } | null, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: any, status: SubscriptionStatus, metadata: any }>, defaultRole?: { __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean } | null, defaultAgent?: { __typename?: 'Agent', id: any } | 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: IdentityProviderType, id: string, issuer: string, name: string, status: 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: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }> } } };+export type GetCurrentUserQuery = { __typename?: 'Query', currentUser: { __typename?: 'User', id: any, firstName: string, lastName: string, email: string, canAccessFullAdminPanel: boolean, canImpersonate: boolean, supportUserHash?: string | null, onboardingStatus?: OnboardingStatus | null, userVars?: any | null, workspaceMember?: { __typename?: 'WorkspaceMember', id: any, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, name: { __typename?: 'FullName', firstName: string, lastName: string } } | null, workspaceMembers?: Array<{ __typename?: 'WorkspaceMember', id: any, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, deletedWorkspaceMembers?: Array<{ __typename?: 'DeletedWorkspaceMember', id: any, avatarUrl?: string | null, userEmail: string, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, currentUserWorkspace?: { __typename?: 'UserWorkspace', permissionFlags?: Array<PermissionFlagType> | null, objectRecordsPermissions?: Array<PermissionsOnAllObjectRecords> | null, objectPermissions?: Array<{ __typename?: 'ObjectPermission', objectMetadataId: any, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null }> | null, twoFactorAuthenticationMethodSummary?: Array<{ __typename?: 'TwoFactorAuthenticationMethodDTO', twoFactorAuthenticationMethodId: any, status: string, strategy: string }> | null } | null, currentWorkspace?: { __typename?: 'Workspace', id: any, displayName?: string | null, logo?: string | null, inviteHash?: string | null, allowImpersonation: boolean, activationStatus: WorkspaceActivationStatus, isPublicInviteLinkEnabled: boolean, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, subdomain: string, hasValidEnterpriseKey: boolean, customDomain?: string | null, isCustomDomainEnabled: boolean, metadataVersion: number, workspaceMembersCount?: number | null, isTwoFactorAuthenticationEnforced: boolean, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, featureFlags?: Array<{ __typename?: 'FeatureFlagDTO', key: FeatureFlagKey, value: boolean }> | null, currentBillingSubscription?: { __typename?: 'BillingSubscription', id: any, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: any, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, billingProduct?: { __typename?: 'BillingProduct', name: string, description: string, metadata: { __typename?: 'BillingProductMetadata', planKey: BillingPlanKey, priceUsageBased: BillingUsageType, productKey: BillingProductKey } } | null }> | null } | null, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: any, status: SubscriptionStatus, metadata: any }>, defaultRole?: { __typename?: 'Role', id: any, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean } | null, defaultAgent?: { __typename?: 'Agent', id: any } | null } | null, availableWorkspaces: { __typename?: 'AvailableWorkspaces', availableWorkspacesForSignIn: Array<{ __typename?: 'AvailableWorkspace', id: any, 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: IdentityProviderType, id: any, issuer: string, name: string, status: SsoIdentityProviderStatus }> }>, availableWorkspacesForSignUp: Array<{ __typename?: 'AvailableWorkspace', id: any, 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: IdentityProviderType, id: any, issuer: string, name: string, status: SsoIdentityProviderStatus }> }> } } };export type ActivateWorkflowVersionMutationVariables = Exact<{- workflowVersionId: Scalars['String'];+ workflowVersionId: Scalars['UUID'];}>;@@ -4094,7 +4094,7 @@ export type CreateWorkflowVersionStepMutationVariables = Exact<{export type CreateWorkflowVersionStepMutation = { __typename?: 'Mutation', createWorkflowVersionStep: { __typename?: 'WorkflowAction', id: any, name: string, type: string, settings: any, valid: boolean, nextStepIds?: Array<any> | null } };export type DeactivateWorkflowVersionMutationVariables = Exact<{- workflowVersionId: Scalars['String'];+ workflowVersionId: Scalars['UUID'];}>;@@ -4182,7 +4182,7 @@ export type UpdateWorkspaceMutationVariables = Exact<{}>;-export type UpdateWorkspaceMutation = { __typename?: 'Mutation', updateWorkspace: { __typename?: 'Workspace', id: any, customDomain?: string | null, subdomain: string, displayName?: string | null, logo?: string | null, allowImpersonation: boolean, isPublicInviteLinkEnabled: boolean, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, isTwoFactorAuthenticationEnforced: boolean, defaultRole?: { __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean } | null } };+export type UpdateWorkspaceMutation = { __typename?: 'Mutation', updateWorkspace: { __typename?: 'Workspace', id: any, customDomain?: string | null, subdomain: string, displayName?: string | null, logo?: string | null, allowImpersonation: boolean, isPublicInviteLinkEnabled: boolean, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, isTwoFactorAuthenticationEnforced: boolean, defaultRole?: { __typename?: 'Role', id: any, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean } | null } };export type UploadWorkspaceLogoMutationVariables = Exact<{file: Scalars['Upload'];@@ -4194,7 +4194,7 @@ export type UploadWorkspaceLogoMutation = { __typename?: 'Mutation', uploadWorksexport type CheckCustomDomainValidRecordsMutationVariables = Exact<{ [key: string]: never; }>;-export type CheckCustomDomainValidRecordsMutation = { __typename?: 'Mutation', checkCustomDomainValidRecords?: { __typename?: 'CustomDomainValidRecords', id: string, customDomain: string, records: Array<{ __typename?: 'CustomDomainRecord', type: string, key: string, value: string, validationType: string, status: string }> } | null };+export type CheckCustomDomainValidRecordsMutation = { __typename?: 'Mutation', checkCustomDomainValidRecords?: { __typename?: 'CustomDomainValidRecords', id: any, customDomain: string, records: Array<{ __typename?: 'CustomDomainRecord', type: string, key: string, value: string, validationType: string, status: string }> } | null };export type GetWorkspaceFromInviteHashQueryVariables = Exact<{inviteHash: Scalars['String'];@@ -4926,7 +4926,7 @@ export type FindOneAgentQueryHookResult = ReturnType<typeof useFindOneAgentQueryexport type FindOneAgentLazyQueryHookResult = ReturnType<typeof useFindOneAgentLazyQuery>;export type FindOneAgentQueryResult = Apollo.QueryResult<FindOneAgentQuery, FindOneAgentQueryVariables>;export const GetAgentChatMessagesDocument = gql`- query GetAgentChatMessages($threadId: String!) {+ query GetAgentChatMessages($threadId: UUID!) {agentChatMessages(threadId: $threadId) {idthreadId@@ -4973,7 +4973,7 @@ export type GetAgentChatMessagesQueryHookResult = ReturnType<typeof useGetAgentCexport type GetAgentChatMessagesLazyQueryHookResult = ReturnType<typeof useGetAgentChatMessagesLazyQuery>;export type GetAgentChatMessagesQueryResult = Apollo.QueryResult<GetAgentChatMessagesQuery, GetAgentChatMessagesQueryVariables>;export const GetAgentChatThreadsDocument = gql`- query GetAgentChatThreads($agentId: String!) {+ query GetAgentChatThreads($agentId: UUID!) {agentChatThreads(agentId: $agentId) {idagentId@@ -5157,7 +5157,7 @@ export type AuthorizeAppMutationHookResult = ReturnType<typeof useAuthorizeAppMuexport type AuthorizeAppMutationResult = Apollo.MutationResult<AuthorizeAppMutation>;export type AuthorizeAppMutationOptions = Apollo.BaseMutationOptions<AuthorizeAppMutation, AuthorizeAppMutationVariables>;export const EmailPasswordResetLinkDocument = gql`- mutation EmailPasswordResetLink($email: String!, $workspaceId: String!) {+ mutation EmailPasswordResetLink($email: String!, $workspaceId: UUID!) {emailPasswordResetLink(email: $email, workspaceId: $workspaceId) {success}@@ -5191,7 +5191,7 @@ export type EmailPasswordResetLinkMutationHookResult = ReturnType<typeof useEmaiexport type EmailPasswordResetLinkMutationResult = Apollo.MutationResult<EmailPasswordResetLinkMutation>;export type EmailPasswordResetLinkMutationOptions = Apollo.BaseMutationOptions<EmailPasswordResetLinkMutation, EmailPasswordResetLinkMutationVariables>;export const GenerateApiKeyTokenDocument = gql`- mutation GenerateApiKeyToken($apiKeyId: String!, $expiresAt: String!) {+ mutation GenerateApiKeyToken($apiKeyId: UUID!, $expiresAt: String!) {generateApiKeyToken(apiKeyId: $apiKeyId, expiresAt: $expiresAt) {token}@@ -5508,7 +5508,7 @@ export type GetWorkspaceAgnosticTokenFromEmailVerificationTokenMutationHookResulexport type GetWorkspaceAgnosticTokenFromEmailVerificationTokenMutationResult = Apollo.MutationResult<GetWorkspaceAgnosticTokenFromEmailVerificationTokenMutation>;export type GetWorkspaceAgnosticTokenFromEmailVerificationTokenMutationOptions = Apollo.BaseMutationOptions<GetWorkspaceAgnosticTokenFromEmailVerificationTokenMutation, GetWorkspaceAgnosticTokenFromEmailVerificationTokenMutationVariables>;export const ImpersonateDocument = gql`- mutation Impersonate($userId: String!, $workspaceId: String!) {+ mutation Impersonate($userId: UUID!, $workspaceId: UUID!) {impersonate(userId: $userId, workspaceId: $workspaceId) {workspace {workspaceUrls {@@ -5852,7 +5852,7 @@ export type SignUpInNewWorkspaceMutationHookResult = ReturnType<typeof useSignUpexport type SignUpInNewWorkspaceMutationResult = Apollo.MutationResult<SignUpInNewWorkspaceMutation>;export type SignUpInNewWorkspaceMutationOptions = Apollo.BaseMutationOptions<SignUpInNewWorkspaceMutation, SignUpInNewWorkspaceMutationVariables>;export const SignUpInWorkspaceDocument = gql`- mutation SignUpInWorkspace($email: String!, $password: String!, $workspaceInviteHash: String, $workspacePersonalInviteToken: String = null, $captchaToken: String, $workspaceId: String, $locale: String, $verifyEmailRedirectPath: String) {+ mutation SignUpInWorkspace($email: String!, $password: String!, $workspaceInviteHash: String, $workspacePersonalInviteToken: String = null, $captchaToken: String, $workspaceId: UUID, $locale: String, $verifyEmailRedirectPath: String) {signUpInWorkspace(email: $emailpassword: $password@@ -6671,7 +6671,7 @@ export type CreateFileMutationHookResult = ReturnType<typeof useCreateFileMutatiexport type CreateFileMutationResult = Apollo.MutationResult<CreateFileMutation>;export type CreateFileMutationOptions = Apollo.BaseMutationOptions<CreateFileMutation, CreateFileMutationVariables>;export const DeleteFileDocument = gql`- mutation DeleteFile($fileId: String!) {+ mutation DeleteFile($fileId: UUID!) {deleteFile(fileId: $fileId) {idname@@ -7174,7 +7174,7 @@ export type SkipSyncEmailOnboardingStepMutationHookResult = ReturnType<typeof usexport type SkipSyncEmailOnboardingStepMutationResult = Apollo.MutationResult<SkipSyncEmailOnboardingStepMutation>;export type SkipSyncEmailOnboardingStepMutationOptions = Apollo.BaseMutationOptions<SkipSyncEmailOnboardingStepMutation, SkipSyncEmailOnboardingStepMutationVariables>;export const SaveImapSmtpCaldavAccountDocument = gql`- mutation SaveImapSmtpCaldavAccount($accountOwnerId: String!, $handle: String!, $connectionParameters: EmailAccountConnectionParameters!, $id: String) {+ mutation SaveImapSmtpCaldavAccount($accountOwnerId: UUID!, $handle: String!, $connectionParameters: EmailAccountConnectionParameters!, $id: UUID) {saveImapSmtpCaldavAccount(accountOwnerId: $accountOwnerIdhandle: $handle@@ -7215,7 +7215,7 @@ export type SaveImapSmtpCaldavAccountMutationHookResult = ReturnType<typeof useSexport type SaveImapSmtpCaldavAccountMutationResult = Apollo.MutationResult<SaveImapSmtpCaldavAccountMutation>;export type SaveImapSmtpCaldavAccountMutationOptions = Apollo.BaseMutationOptions<SaveImapSmtpCaldavAccountMutation, SaveImapSmtpCaldavAccountMutationVariables>;export const GetConnectedImapSmtpCaldavAccountDocument = gql`- query GetConnectedImapSmtpCaldavAccount($id: String!) {+ query GetConnectedImapSmtpCaldavAccount($id: UUID!) {getConnectedImapSmtpCaldavAccount(id: $id) {idhandle@@ -7457,7 +7457,7 @@ export type GetDatabaseConfigVariableQueryHookResult = ReturnType<typeof useGetDexport type GetDatabaseConfigVariableLazyQueryHookResult = ReturnType<typeof useGetDatabaseConfigVariableLazyQuery>;export type GetDatabaseConfigVariableQueryResult = Apollo.QueryResult<GetDatabaseConfigVariableQuery, GetDatabaseConfigVariableQueryVariables>;export const UpdateWorkspaceFeatureFlagDocument = gql`- mutation UpdateWorkspaceFeatureFlag($workspaceId: String!, $featureFlag: String!, $value: Boolean!) {+ mutation UpdateWorkspaceFeatureFlag($workspaceId: UUID!, $featureFlag: String!, $value: Boolean!) {updateWorkspaceFeatureFlag(workspaceId: $workspaceIdfeatureFlag: $featureFlag@@ -7720,7 +7720,7 @@ export type GetSystemHealthStatusQueryHookResult = ReturnType<typeof useGetSysteexport type GetSystemHealthStatusLazyQueryHookResult = ReturnType<typeof useGetSystemHealthStatusLazyQuery>;export type GetSystemHealthStatusQueryResult = Apollo.QueryResult<GetSystemHealthStatusQuery, GetSystemHealthStatusQueryVariables>;export const AssignRoleToApiKeyDocument = gql`- mutation AssignRoleToApiKey($apiKeyId: String!, $roleId: String!) {+ mutation AssignRoleToApiKey($apiKeyId: UUID!, $roleId: UUID!) {assignRoleToApiKey(apiKeyId: $apiKeyId, roleId: $roleId)}`;@@ -8154,7 +8154,7 @@ export type CreateOneRoleMutationHookResult = ReturnType<typeof useCreateOneRoleexport type CreateOneRoleMutationResult = Apollo.MutationResult<CreateOneRoleMutation>;export type CreateOneRoleMutationOptions = Apollo.BaseMutationOptions<CreateOneRoleMutation, CreateOneRoleMutationVariables>;export const DeleteOneRoleDocument = gql`- mutation DeleteOneRole($roleId: String!) {+ mutation DeleteOneRole($roleId: UUID!) {deleteOneRole(roleId: $roleId)}`;@@ -8218,7 +8218,7 @@ export type UpdateOneRoleMutationHookResult = ReturnType<typeof useUpdateOneRoleexport type UpdateOneRoleMutationResult = Apollo.MutationResult<UpdateOneRoleMutation>;export type UpdateOneRoleMutationOptions = Apollo.BaseMutationOptions<UpdateOneRoleMutation, UpdateOneRoleMutationVariables>;export const UpdateWorkspaceMemberRoleDocument = gql`- mutation UpdateWorkspaceMemberRole($workspaceMemberId: String!, $roleId: String!) {+ mutation UpdateWorkspaceMemberRole($workspaceMemberId: UUID!, $roleId: UUID!) {updateWorkspaceMemberRole(workspaceMemberId: $workspaceMemberIdroleId: $roleId@@ -9132,7 +9132,7 @@ export type GetCurrentUserQueryHookResult = ReturnType<typeof useGetCurrentUserQexport type GetCurrentUserLazyQueryHookResult = ReturnType<typeof useGetCurrentUserLazyQuery>;export type GetCurrentUserQueryResult = Apollo.QueryResult<GetCurrentUserQuery, GetCurrentUserQueryVariables>;export const ActivateWorkflowVersionDocument = gql`- mutation ActivateWorkflowVersion($workflowVersionId: String!) {+ mutation ActivateWorkflowVersion($workflowVersionId: UUID!) {activateWorkflowVersion(workflowVersionId: $workflowVersionId)}`;@@ -9265,7 +9265,7 @@ export type CreateWorkflowVersionStepMutationHookResult = ReturnType<typeof useCexport type CreateWorkflowVersionStepMutationResult = Apollo.MutationResult<CreateWorkflowVersionStepMutation>;export type CreateWorkflowVersionStepMutationOptions = Apollo.BaseMutationOptions<CreateWorkflowVersionStepMutation, CreateWorkflowVersionStepMutationVariables>;export const DeactivateWorkflowVersionDocument = gql`- mutation DeactivateWorkflowVersion($workflowVersionId: String!) {+ mutation DeactivateWorkflowVersion($workflowVersionId: UUID!) {deactivateWorkflowVersion(workflowVersionId: $workflowVersionId)}`;diff --git a/packages/twenty-front/src/generated/graphql.ts b/packages/twenty-front/src/generated/graphql.tsindex 59f5d9ba595..0c1b84d021f 100644--- a/packages/twenty-front/src/generated/graphql.ts+++ b/packages/twenty-front/src/generated/graphql.ts@@ -31,7 +31,7 @@ export type AdminPanelHealthServiceData = {description: Scalars['String'];details?: Maybe<Scalars['String']>;errorMessage?: Maybe<Scalars['String']>;- id: Scalars['String'];+ id: Scalars['UUID'];label: Scalars['String'];queues?: Maybe<Array<AdminPanelWorkerQueueHealth>>;status: AdminPanelHealthServiceStatus;@@ -44,7 +44,7 @@ export enum AdminPanelHealthServiceStatus {export type AdminPanelWorkerQueueHealth = {__typename?: 'AdminPanelWorkerQueueHealth';- id: Scalars['String'];+ id: Scalars['UUID'];queueName: Scalars['String'];status: AdminPanelHealthServiceStatus;};@@ -122,7 +122,7 @@ export type ApiKey = {role?: Maybe<Role>;updatedAt: Scalars['DateTime'];workspace: Workspace;- workspaceId: Scalars['String'];+ workspaceId: Scalars['UUID'];};export type ApiKeyToken = {@@ -195,7 +195,7 @@ export type AutocompleteResultDto = {export type AvailableWorkspace = {__typename?: 'AvailableWorkspace';displayName?: Maybe<Scalars['String']>;- id: Scalars['String'];+ id: Scalars['UUID'];inviteHash?: Maybe<Scalars['String']>;loginToken?: Maybe<Scalars['String']>;logo?: Maybe<Scalars['String']>;@@ -456,10 +456,10 @@ export type ConfigVariablesOutput = {export type ConnectedImapSmtpCaldavAccount = {__typename?: 'ConnectedImapSmtpCaldavAccount';- accountOwnerId: Scalars['String'];+ accountOwnerId: Scalars['UUID'];connectionParameters?: Maybe<ImapSmtpCaldavConnectionParameters>;handle: Scalars['String'];- id: Scalars['String'];+ id: Scalars['UUID'];provider: Scalars['String'];};@@ -505,7 +505,7 @@ export type CreateApiKeyDto = {expiresAt: Scalars['String'];name: Scalars['String'];revokedAt?: InputMaybe<Scalars['String']>;- roleId: Scalars['String'];+ roleId: Scalars['UUID'];};export type CreateApprovedAccessDomainInput = {@@ -515,9 +515,9 @@ export type CreateApprovedAccessDomainInput = {export type CreateDraftFromWorkflowVersionInput = {/** Workflow ID */- workflowId: Scalars['String'];+ workflowId: Scalars['UUID'];/** Workflow version ID */- workflowVersionIdToCopy: Scalars['String'];+ workflowVersionIdToCopy: Scalars['UUID'];};export type CreateFieldInput = {@@ -534,7 +534,7 @@ export type CreateFieldInput = {label: Scalars['String'];morphRelationsCreationPayload?: InputMaybe<Array<Scalars['JSON']>>;name: Scalars['String'];- objectMetadataId: Scalars['String'];+ objectMetadataId: Scalars['UUID'];options?: InputMaybe<Scalars['JSON']>;relationCreationPayload?: InputMaybe<Scalars['JSON']>;settings?: InputMaybe<Scalars['JSON']>;@@ -574,13 +574,13 @@ export type CreateWebhookDto = {export type CreateWorkflowVersionStepInput = {/** Next step ID */- nextStepId?: InputMaybe<Scalars['String']>;+ nextStepId?: InputMaybe<Scalars['UUID']>;/** Parent step ID */- parentStepId?: InputMaybe<Scalars['String']>;+ parentStepId?: InputMaybe<Scalars['UUID']>;/** New step type */stepType: Scalars['String'];/** Workflow version ID */- workflowVersionId: Scalars['String'];+ workflowVersionId: Scalars['UUID'];};export type CursorPaging = {@@ -606,7 +606,7 @@ export type CustomDomainRecord = {export type CustomDomainValidRecords = {__typename?: 'CustomDomainValidRecords';customDomain: Scalars['String'];- id: Scalars['String'];+ id: Scalars['UUID'];records: Array<CustomDomainRecord>;};@@ -631,7 +631,7 @@ export type DateFilter = {};export type DeleteApprovedAccessDomainInput = {- id: Scalars['String'];+ id: Scalars['UUID'];};export type DeleteOneFieldInput = {@@ -645,12 +645,12 @@ export type DeleteOneObjectInput = {};export type DeleteSsoInput = {- identityProviderId: Scalars['String'];+ identityProviderId: Scalars['UUID'];};export type DeleteSsoOutput = {__typename?: 'DeleteSsoOutput';- identityProviderId: Scalars['String'];+ identityProviderId: Scalars['UUID'];};export type DeleteTwoFactorAuthenticationMethodOutput = {@@ -660,14 +660,14 @@ export type DeleteTwoFactorAuthenticationMethodOutput = {};export type DeleteWebhookDto = {- id: Scalars['String'];+ id: Scalars['UUID'];};export type DeleteWorkflowVersionStepInput = {/** Step to delete ID */- stepId: Scalars['String'];+ stepId: Scalars['UUID'];/** Workflow version ID */- workflowVersionId: Scalars['String'];+ workflowVersionId: Scalars['UUID'];};export type DeletedWorkspaceMember = {@@ -676,7 +676,7 @@ export type DeletedWorkspaceMember = {id: Scalars['UUID'];name: FullName;userEmail: Scalars['String'];- userWorkspaceId?: Maybe<Scalars['String']>;+ userWorkspaceId?: Maybe<Scalars['UUID']>;};/** Schema update on a table */@@ -688,13 +688,13 @@ export enum DistantTableUpdate {}export type EditSsoInput = {- id: Scalars['String'];+ id: Scalars['UUID'];status: SsoIdentityProviderStatus;};export type EditSsoOutput = {__typename?: 'EditSsoOutput';- id: Scalars['String'];+ id: Scalars['UUID'];issuer: Scalars['String'];name: Scalars['String'];status: SsoIdentityProviderStatus;@@ -727,7 +727,7 @@ export type FeatureFlag = {id: Scalars['UUID'];key: FeatureFlagKey;value: Scalars['Boolean'];- workspaceId: Scalars['String'];+ workspaceId: Scalars['UUID'];};export type FeatureFlagDto = {@@ -838,25 +838,25 @@ export type FieldPermission = {__typename?: 'FieldPermission';canReadFieldValue?: Maybe<Scalars['Boolean']>;canUpdateFieldValue?: Maybe<Scalars['Boolean']>;- fieldMetadataId: Scalars['String'];- id: Scalars['String'];- objectMetadataId: Scalars['String'];- roleId: Scalars['String'];+ fieldMetadataId: Scalars['UUID'];+ id: Scalars['UUID'];+ objectMetadataId: Scalars['UUID'];+ roleId: Scalars['UUID'];};export type FieldPermissionInput = {canReadFieldValue?: InputMaybe<Scalars['Boolean']>;canUpdateFieldValue?: InputMaybe<Scalars['Boolean']>;- fieldMetadataId: Scalars['String'];- objectMetadataId: Scalars['String'];+ fieldMetadataId: Scalars['UUID'];+ objectMetadataId: Scalars['UUID'];};export type File = {__typename?: 'File';createdAt: Scalars['DateTime'];fullPath: Scalars['String'];- id: Scalars['ID'];- messageId?: Maybe<Scalars['ID']>;+ id: Scalars['UUID'];+ messageId?: Maybe<Scalars['UUID']>;name: Scalars['String'];size: Scalars['Float'];type: Scalars['String'];@@ -878,7 +878,7 @@ export enum FilterIs {export type FindAvailableSsoidpOutput = {__typename?: 'FindAvailableSSOIDPOutput';- id: Scalars['String'];+ id: Scalars['UUID'];issuer: Scalars['String'];name: Scalars['String'];status: SsoIdentityProviderStatus;@@ -893,18 +893,18 @@ export type FullName = {};export type GetApiKeyDto = {- id: Scalars['String'];+ id: Scalars['UUID'];};export type GetAuthorizationUrlForSsoInput = {- identityProviderId: Scalars['String'];+ identityProviderId: Scalars['UUID'];workspaceInviteHash?: InputMaybe<Scalars['String']>;};export type GetAuthorizationUrlForSsoOutput = {__typename?: 'GetAuthorizationUrlForSSOOutput';authorizationURL: Scalars['String'];- id: Scalars['String'];+ id: Scalars['UUID'];type: Scalars['String'];};@@ -922,7 +922,7 @@ export type GetServerlessFunctionSourceCodeInput = {};export type GetWebhookDto = {- id: Scalars['String'];+ id: Scalars['UUID'];};export enum HealthIndicatorId {@@ -1210,7 +1210,7 @@ export type Mutation = {export type MutationActivateWorkflowVersionArgs = {- workflowVersionId: Scalars['String'];+ workflowVersionId: Scalars['UUID'];};@@ -1226,8 +1226,8 @@ export type MutationAssignRoleToAgentArgs = {export type MutationAssignRoleToApiKeyArgs = {- apiKeyId: Scalars['String'];- roleId: Scalars['String'];+ apiKeyId: Scalars['UUID'];+ roleId: Scalars['UUID'];};@@ -1294,9 +1294,9 @@ export type MutationCreateOidcIdentityProviderArgs = {export type MutationCreateObjectEventArgs = {event: Scalars['String'];- objectMetadataId: Scalars['String'];+ objectMetadataId: Scalars['UUID'];properties?: InputMaybe<Scalars['JSON']>;- recordId: Scalars['String'];+ recordId: Scalars['UUID'];};@@ -1336,7 +1336,7 @@ export type MutationCreateWorkflowVersionStepArgs = {export type MutationDeactivateWorkflowVersionArgs = {- workflowVersionId: Scalars['String'];+ workflowVersionId: Scalars['UUID'];};@@ -1351,7 +1351,7 @@ export type MutationDeleteDatabaseConfigVariableArgs = {export type MutationDeleteFileArgs = {- fileId: Scalars['String'];+ fileId: Scalars['UUID'];};@@ -1371,7 +1371,7 @@ export type MutationDeleteOneObjectArgs = {export type MutationDeleteOneRoleArgs = {- roleId: Scalars['String'];+ roleId: Scalars['UUID'];};@@ -1412,7 +1412,7 @@ export type MutationEditSsoIdentityProviderArgs = {export type MutationEmailPasswordResetLinkArgs = {email: Scalars['String'];- workspaceId: Scalars['String'];+ workspaceId: Scalars['UUID'];};@@ -1422,7 +1422,7 @@ export type MutationExecuteOneServerlessFunctionArgs = {export type MutationGenerateApiKeyTokenArgs = {- apiKeyId: Scalars['String'];+ apiKeyId: Scalars['UUID'];expiresAt: Scalars['String'];};@@ -1472,8 +1472,8 @@ export type MutationGetWorkspaceAgnosticTokenFromEmailVerificationTokenArgs = {export type MutationImpersonateArgs = {- userId: Scalars['String'];- workspaceId: Scalars['String'];+ userId: Scalars['UUID'];+ workspaceId: Scalars['UUID'];};@@ -1525,10 +1525,10 @@ export type MutationRunWorkflowVersionArgs = {export type MutationSaveImapSmtpCaldavAccountArgs = {- accountOwnerId: Scalars['String'];+ accountOwnerId: Scalars['UUID'];connectionParameters: EmailAccountConnectionParameters;handle: Scalars['String'];- id?: InputMaybe<Scalars['String']>;+ id?: InputMaybe<Scalars['UUID']>;};@@ -1561,7 +1561,7 @@ export type MutationSignUpInWorkspaceArgs = {locale?: InputMaybe<Scalars['String']>;password: Scalars['String'];verifyEmailRedirectPath?: InputMaybe<Scalars['String']>;- workspaceId?: InputMaybe<Scalars['String']>;+ workspaceId?: InputMaybe<Scalars['UUID']>;workspaceInviteHash?: InputMaybe<Scalars['String']>;workspacePersonalInviteToken?: InputMaybe<Scalars['String']>;};@@ -1650,13 +1650,13 @@ export type MutationUpdateWorkspaceArgs = {export type MutationUpdateWorkspaceFeatureFlagArgs = {featureFlag: Scalars['String'];value: Scalars['Boolean'];- workspaceId: Scalars['String'];+ workspaceId: Scalars['UUID'];};export type MutationUpdateWorkspaceMemberRoleArgs = {- roleId: Scalars['String'];- workspaceMemberId: Scalars['String'];+ roleId: Scalars['UUID'];+ workspaceMemberId: Scalars['UUID'];};@@ -1714,14 +1714,14 @@ export type MutationVerifyTwoFactorAuthenticationMethodForAuthenticatedUserArgsexport type Object = {__typename?: 'Object';createdAt: Scalars['DateTime'];- dataSourceId: Scalars['String'];+ dataSourceId: Scalars['UUID'];description?: Maybe<Scalars['String']>;duplicateCriteria?: Maybe<Array<Array<Scalars['String']>>>;fields: ObjectFieldsConnection;fieldsList: Array<Field>;icon?: Maybe<Scalars['String']>;id: Scalars['UUID'];- imageIdentifierFieldMetadataId?: Maybe<Scalars['String']>;+ imageIdentifierFieldMetadataId?: Maybe<Scalars['UUID']>;indexMetadataList: Array<Index>;indexMetadatas: ObjectIndexMetadatasConnection;isActive: Scalars['Boolean'];@@ -1730,7 +1730,7 @@ export type Object = {isRemote: Scalars['Boolean'];isSearchable: Scalars['Boolean'];isSystem: Scalars['Boolean'];- labelIdentifierFieldMetadataId?: Maybe<Scalars['String']>;+ labelIdentifierFieldMetadataId?: Maybe<Scalars['UUID']>;labelPlural: Scalars['String'];labelSingular: Scalars['String'];namePlural: Scalars['String'];@@ -1801,7 +1801,7 @@ export type ObjectPermission = {canReadObjectRecords?: Maybe<Scalars['Boolean']>;canSoftDeleteObjectRecords?: Maybe<Scalars['Boolean']>;canUpdateObjectRecords?: Maybe<Scalars['Boolean']>;- objectMetadataId: Scalars['String'];+ objectMetadataId: Scalars['UUID'];restrictedFields?: Maybe<Scalars['JSON']>;};@@ -1810,7 +1810,7 @@ export type ObjectPermissionInput = {canReadObjectRecords?: InputMaybe<Scalars['Boolean']>;canSoftDeleteObjectRecords?: InputMaybe<Scalars['Boolean']>;canUpdateObjectRecords?: InputMaybe<Scalars['Boolean']>;- objectMetadataId: Scalars['String'];+ objectMetadataId: Scalars['UUID'];};export type ObjectRecordFilterInput = {@@ -1844,7 +1844,7 @@ export type OnDbEventDto = {export type OnDbEventInput = {action?: InputMaybe<DatabaseEventAction>;objectNameSingular?: InputMaybe<Scalars['String']>;- recordId?: InputMaybe<Scalars['String']>;+ recordId?: InputMaybe<Scalars['UUID']>;};/** Onboarding status */@@ -1879,8 +1879,8 @@ export type PageInfo = {export type PermissionFlag = {__typename?: 'PermissionFlag';flag: PermissionFlagType;- id: Scalars['String'];- roleId: Scalars['String'];+ id: Scalars['UUID'];+ roleId: Scalars['UUID'];};export enum PermissionFlagType {@@ -1918,7 +1918,7 @@ export type PostgresCredentials = {id: Scalars['UUID'];password: Scalars['String'];user: Scalars['String'];- workspaceId: Scalars['String'];+ workspaceId: Scalars['UUID'];};export type PublicFeatureFlag = {@@ -1938,7 +1938,7 @@ export type PublicWorkspaceDataOutput = {__typename?: 'PublicWorkspaceDataOutput';authProviders: AuthProviders;displayName?: Maybe<Scalars['String']>;- id: Scalars['String'];+ id: Scalars['UUID'];logo?: Maybe<Scalars['String']>;workspaceUrls: WorkspaceUrls;};@@ -2004,17 +2004,17 @@ export type Query = {export type QueryAgentChatMessagesArgs = {- threadId: Scalars['String'];+ threadId: Scalars['UUID'];};export type QueryAgentChatThreadArgs = {- id: Scalars['String'];+ id: Scalars['UUID'];};export type QueryAgentChatThreadsArgs = {- agentId: Scalars['String'];+ agentId: Scalars['UUID'];};@@ -2084,7 +2084,7 @@ export type QueryGetAvailablePackagesArgs = {export type QueryGetConnectedImapSmtpCaldavAccountArgs = {- id: Scalars['String'];+ id: Scalars['UUID'];};@@ -2179,7 +2179,7 @@ export type QueueMetricsDataPoint = {export type QueueMetricsSeries = {__typename?: 'QueueMetricsSeries';data: Array<QueueMetricsDataPoint>;- id: Scalars['String'];+ id: Scalars['UUID'];};export enum QueueMetricsTimeRange {@@ -2208,10 +2208,10 @@ export enum RelationType {export type RemoteServer = {__typename?: 'RemoteServer';createdAt: Scalars['DateTime'];- foreignDataWrapperId: Scalars['ID'];+ foreignDataWrapperId: Scalars['UUID'];foreignDataWrapperOptions?: Maybe<Scalars['JSON']>;foreignDataWrapperType: Scalars['String'];- id: Scalars['ID'];+ id: Scalars['UUID'];label: Scalars['String'];schema?: Maybe<Scalars['String']>;updatedAt: Scalars['DateTime'];@@ -2234,8 +2234,8 @@ export enum RemoteTableStatus {}export type RemoveAgentHandoffInput = {- fromAgentId: Scalars['String'];- toAgentId: Scalars['String'];+ fromAgentId: Scalars['UUID'];+ toAgentId: Scalars['UUID'];};export type ResendEmailVerificationTokenOutput = {@@ -2244,7 +2244,7 @@ export type ResendEmailVerificationTokenOutput = {};export type RevokeApiKeyDto = {- id: Scalars['String'];+ id: Scalars['UUID'];};export type Role = {@@ -2257,7 +2257,7 @@ export type Role = {canUpdateAllSettings: Scalars['Boolean'];description?: Maybe<Scalars['String']>;icon?: Maybe<Scalars['String']>;- id: Scalars['String'];+ id: Scalars['UUID'];isEditable: Scalars['Boolean'];label: Scalars['String'];objectPermissions?: Maybe<Array<ObjectPermission>>;@@ -2269,14 +2269,14 @@ export type RunWorkflowVersionInput = {/** Execution result in JSON format */payload?: InputMaybe<Scalars['JSON']>;/** Workflow run ID */- workflowRunId?: InputMaybe<Scalars['String']>;+ workflowRunId?: InputMaybe<Scalars['UUID']>;/** Workflow version ID */- workflowVersionId: Scalars['String'];+ workflowVersionId: Scalars['UUID'];};export type SsoConnection = {__typename?: 'SSOConnection';- id: Scalars['String'];+ id: Scalars['UUID'];issuer: Scalars['String'];name: Scalars['String'];status: SsoIdentityProviderStatus;@@ -2285,7 +2285,7 @@ export type SsoConnection = {export type SsoIdentityProvider = {__typename?: 'SSOIdentityProvider';- id: Scalars['String'];+ id: Scalars['UUID'];issuer: Scalars['String'];name: Scalars['String'];status: SsoIdentityProviderStatus;@@ -2303,7 +2303,7 @@ export type SearchRecord = {imageUrl?: Maybe<Scalars['String']>;label: Scalars['String'];objectNameSingular: Scalars['String'];- recordId: Scalars['String'];+ recordId: Scalars['UUID'];tsRank: Scalars['Float'];tsRankCD: Scalars['Float'];};@@ -2391,7 +2391,7 @@ export type SetupOidcSsoInput = {export type SetupSamlSsoInput = {certificate: Scalars['String'];fingerprint?: InputMaybe<Scalars['String']>;- id: Scalars['String'];+ id: Scalars['UUID'];issuer: Scalars['String'];name: Scalars['String'];ssoURL: Scalars['String'];@@ -2399,7 +2399,7 @@ export type SetupSamlSsoInput = {export type SetupSsoOutput = {__typename?: 'SetupSsoOutput';- id: Scalars['String'];+ id: Scalars['UUID'];issuer: Scalars['String'];name: Scalars['String'];status: SsoIdentityProviderStatus;@@ -2429,10 +2429,10 @@ export type StandardOverrides = {export type SubmitFormStepInput = {/** Form response in JSON format */response: Scalars['JSON'];- /** Workflow version ID */- stepId: Scalars['String'];+ /** Workflow step ID */+ stepId: Scalars['UUID'];/** Workflow run ID */- workflowRunId: Scalars['String'];+ workflowRunId: Scalars['UUID'];};export type Subscription = {@@ -2604,7 +2604,7 @@ export type UpdateAgentInput = {export type UpdateApiKeyDto = {expiresAt?: InputMaybe<Scalars['String']>;- id: Scalars['String'];+ id: Scalars['UUID'];name?: InputMaybe<Scalars['String']>;revokedAt?: InputMaybe<Scalars['String']>;};@@ -2632,10 +2632,10 @@ export type UpdateLabPublicFeatureFlagInput = {export type UpdateObjectPayload = {description?: InputMaybe<Scalars['String']>;icon?: InputMaybe<Scalars['String']>;- imageIdentifierFieldMetadataId?: InputMaybe<Scalars['String']>;+ imageIdentifierFieldMetadataId?: InputMaybe<Scalars['UUID']>;isActive?: InputMaybe<Scalars['Boolean']>;isLabelSyncedWithName?: InputMaybe<Scalars['Boolean']>;- labelIdentifierFieldMetadataId?: InputMaybe<Scalars['String']>;+ labelIdentifierFieldMetadataId?: InputMaybe<Scalars['UUID']>;labelPlural?: InputMaybe<Scalars['String']>;labelSingular?: InputMaybe<Scalars['String']>;namePlural?: InputMaybe<Scalars['String']>;@@ -2685,7 +2685,7 @@ export type UpdateServerlessFunctionInput = {export type UpdateWebhookDto = {description?: InputMaybe<Scalars['String']>;- id: Scalars['String'];+ id: Scalars['UUID'];operations?: InputMaybe<Array<Scalars['String']>>;secret?: InputMaybe<Scalars['String']>;targetUrl?: InputMaybe<Scalars['String']>;@@ -2695,20 +2695,20 @@ export type UpdateWorkflowRunStepInput = {/** Step to update in JSON format */step: Scalars['JSON'];/** Workflow run ID */- workflowRunId: Scalars['String'];+ workflowRunId: Scalars['UUID'];};export type UpdateWorkflowVersionStepInput = {/** Step to update in JSON format */step: Scalars['JSON'];/** Workflow version ID */- workflowVersionId: Scalars['String'];+ workflowVersionId: Scalars['UUID'];};export type UpdateWorkspaceInput = {allowImpersonation?: InputMaybe<Scalars['Boolean']>;customDomain?: InputMaybe<Scalars['String']>;- defaultRoleId?: InputMaybe<Scalars['String']>;+ defaultRoleId?: InputMaybe<Scalars['UUID']>;displayName?: InputMaybe<Scalars['String']>;inviteHash?: InputMaybe<Scalars['String']>;isGoogleAuthEnabled?: InputMaybe<Scalars['Boolean']>;@@ -2722,17 +2722,17 @@ export type UpdateWorkspaceInput = {export type UpsertFieldPermissionsInput = {fieldPermissions: Array<FieldPermissionInput>;- roleId: Scalars['String'];+ roleId: Scalars['UUID'];};export type UpsertObjectPermissionsInput = {objectPermissions: Array<ObjectPermissionInput>;- roleId: Scalars['String'];+ roleId: Scalars['UUID'];};export type UpsertPermissionFlagsInput = {permissionFlagKeys: Array<PermissionFlagType>;- roleId: Scalars['String'];+ roleId: Scalars['UUID'];};export type User = {@@ -2776,7 +2776,7 @@ export type UserInfo = {__typename?: 'UserInfo';email: Scalars['String'];firstName?: Maybe<Scalars['String']>;- id: Scalars['String'];+ id: Scalars['UUID'];lastName?: Maybe<Scalars['String']>;};@@ -2804,20 +2804,20 @@ export type UserWorkspace = {twoFactorAuthenticationMethodSummary?: Maybe<Array<TwoFactorAuthenticationMethodDto>>;updatedAt: Scalars['DateTime'];user: User;- userId: Scalars['String'];+ userId: Scalars['UUID'];workspace?: Maybe<Workspace>;- workspaceId: Scalars['String'];+ workspaceId: Scalars['UUID'];};export type ValidateApprovedAccessDomainInput = {- approvedAccessDomainId: Scalars['String'];+ approvedAccessDomainId: Scalars['UUID'];validationToken: Scalars['String'];};export type ValidatePasswordResetToken = {__typename?: 'ValidatePasswordResetToken';email: Scalars['String'];- id: Scalars['String'];+ id: Scalars['UUID'];};export type VerifyTwoFactorAuthenticationMethodOutput = {@@ -2842,7 +2842,7 @@ export type Webhook = {targetUrl: Scalars['String'];updatedAt: Scalars['DateTime'];workspace: Workspace;- workspaceId: Scalars['String'];+ workspaceId: Scalars['UUID'];};export type WorkerQueueMetrics = {@@ -2930,7 +2930,7 @@ export type WorkspaceInfo = {__typename?: 'WorkspaceInfo';allowImpersonation: Scalars['Boolean'];featureFlags: Array<FeatureFlag>;- id: Scalars['String'];+ id: Scalars['UUID'];logo?: Maybe<Scalars['String']>;name: Scalars['String'];totalUsers: Scalars['Float'];@@ -2962,7 +2962,7 @@ export type WorkspaceMember = {timeFormat?: Maybe<WorkspaceMemberTimeFormatEnum>;timeZone?: Maybe<Scalars['String']>;userEmail: Scalars['String'];- userWorkspaceId?: Maybe<Scalars['String']>;+ userWorkspaceId?: Maybe<Scalars['UUID']>;};/** Date format as Month first, Day first, Year first or system as default */@@ -2983,7 +2983,7 @@ export enum WorkspaceMemberTimeFormatEnum {export type WorkspaceNameAndId = {__typename?: 'WorkspaceNameAndId';displayName?: Maybe<Scalars['String']>;- id: Scalars['String'];+ id: Scalars['UUID'];};export type WorkspaceUrls = {@@ -2994,7 +2994,7 @@ export type WorkspaceUrls = {export type WorkspaceUrlsAndId = {__typename?: 'WorkspaceUrlsAndId';- id: Scalars['String'];+ id: Scalars['UUID'];workspaceUrls: WorkspaceUrls;};@@ -3008,7 +3008,7 @@ export type SearchQueryVariables = Exact<{}>;-export type SearchQuery = { __typename?: 'Query', search: { __typename?: 'SearchResultConnection', edges: Array<{ __typename?: 'SearchResultEdge', cursor: string, node: { __typename?: 'SearchRecord', recordId: string, objectNameSingular: string, label: string, imageUrl?: string | null, tsRankCD: number, tsRank: number } }>, pageInfo: { __typename?: 'SearchResultPageInfo', hasNextPage: boolean, endCursor?: string | null } } };+export type SearchQuery = { __typename?: 'Query', search: { __typename?: 'SearchResultConnection', edges: Array<{ __typename?: 'SearchResultEdge', cursor: string, node: { __typename?: 'SearchRecord', recordId: any, objectNameSingular: string, label: string, imageUrl?: string | null, tsRankCD: number, tsRank: number } }>, pageInfo: { __typename?: 'SearchResultPageInfo', hasNextPage: boolean, endCursor?: string | null } } };export type OnDbEventSubscriptionVariables = Exact<{input: OnDbEventInput;diff --git a/packages/twenty-front/src/modules/ai/graphql/queries/getAgentChatMessages.ts b/packages/twenty-front/src/modules/ai/graphql/queries/getAgentChatMessages.tsindex 2fbb578279e..0d0e55d97b9 100644--- a/packages/twenty-front/src/modules/ai/graphql/queries/getAgentChatMessages.ts+++ b/packages/twenty-front/src/modules/ai/graphql/queries/getAgentChatMessages.ts@@ -1,7 +1,7 @@import { gql } from '@apollo/client';export const GET_AGENT_CHAT_MESSAGES = gql`- query GetAgentChatMessages($threadId: String!) {+ query GetAgentChatMessages($threadId: UUID!) {agentChatMessages(threadId: $threadId) {idthreadIddiff --git a/packages/twenty-front/src/modules/ai/graphql/queries/getAgentChatThreads.ts b/packages/twenty-front/src/modules/ai/graphql/queries/getAgentChatThreads.tsindex 3317e05d692..d398e8f5f00 100644--- a/packages/twenty-front/src/modules/ai/graphql/queries/getAgentChatThreads.ts+++ b/packages/twenty-front/src/modules/ai/graphql/queries/getAgentChatThreads.ts@@ -1,7 +1,7 @@import { gql } from '@apollo/client';export const GET_AGENT_CHAT_THREADS = gql`- query GetAgentChatThreads($agentId: String!) {+ query GetAgentChatThreads($agentId: UUID!) {agentChatThreads(agentId: $agentId) {idagentIddiff --git a/packages/twenty-front/src/modules/auth/graphql/mutations/emailPasswordResetLink.ts b/packages/twenty-front/src/modules/auth/graphql/mutations/emailPasswordResetLink.tsindex e02b05f2320..d7f8cece2d0 100644--- a/packages/twenty-front/src/modules/auth/graphql/mutations/emailPasswordResetLink.ts+++ b/packages/twenty-front/src/modules/auth/graphql/mutations/emailPasswordResetLink.ts@@ -1,7 +1,7 @@import { gql } from '@apollo/client';export const EMAIL_PASSWORD_RESET_LINK = gql`- mutation EmailPasswordResetLink($email: String!, $workspaceId: String!) {+ mutation EmailPasswordResetLink($email: String!, $workspaceId: UUID!) {emailPasswordResetLink(email: $email, workspaceId: $workspaceId) {success}diff --git a/packages/twenty-front/src/modules/auth/graphql/mutations/generateApiKeyToken.ts b/packages/twenty-front/src/modules/auth/graphql/mutations/generateApiKeyToken.tsindex c8df1e78bf6..35a65f4d835 100644--- a/packages/twenty-front/src/modules/auth/graphql/mutations/generateApiKeyToken.ts+++ b/packages/twenty-front/src/modules/auth/graphql/mutations/generateApiKeyToken.ts@@ -1,7 +1,7 @@import { gql } from '@apollo/client';export const GENERATE_ONE_API_KEY_TOKEN = gql`- mutation GenerateApiKeyToken($apiKeyId: String!, $expiresAt: String!) {+ mutation GenerateApiKeyToken($apiKeyId: UUID!, $expiresAt: String!) {generateApiKeyToken(apiKeyId: $apiKeyId, expiresAt: $expiresAt) {token}diff --git a/packages/twenty-front/src/modules/auth/graphql/mutations/impersonate.ts b/packages/twenty-front/src/modules/auth/graphql/mutations/impersonate.tsindex 2e0c58a0c86..33c4cf9c5d0 100644--- a/packages/twenty-front/src/modules/auth/graphql/mutations/impersonate.ts+++ b/packages/twenty-front/src/modules/auth/graphql/mutations/impersonate.ts@@ -2,7 +2,7 @@ import { gql } from '@apollo/client';// TODO: Fragments should be used instead of duplicating the user fields !export const IMPERSONATE = gql`- mutation Impersonate($userId: String!, $workspaceId: String!) {+ mutation Impersonate($userId: UUID!, $workspaceId: UUID!) {impersonate(userId: $userId, workspaceId: $workspaceId) {workspace {workspaceUrls {diff --git a/packages/twenty-front/src/modules/auth/graphql/mutations/signUpInWorkspace.ts b/packages/twenty-front/src/modules/auth/graphql/mutations/signUpInWorkspace.tsindex 9e05a2ecb1f..8999e494a1d 100644--- a/packages/twenty-front/src/modules/auth/graphql/mutations/signUpInWorkspace.ts+++ b/packages/twenty-front/src/modules/auth/graphql/mutations/signUpInWorkspace.ts@@ -7,7 +7,7 @@ export const SIGN_UP_IN_WORKSPACE = gql`$workspaceInviteHash: String$workspacePersonalInviteToken: String = null$captchaToken: String- $workspaceId: String+ $workspaceId: UUID$locale: String$verifyEmailRedirectPath: String) {diff --git a/packages/twenty-front/src/modules/file/graphql/mutations/deleteFile.ts b/packages/twenty-front/src/modules/file/graphql/mutations/deleteFile.tsindex c663350ecc3..3b15a2ccadc 100644--- a/packages/twenty-front/src/modules/file/graphql/mutations/deleteFile.ts+++ b/packages/twenty-front/src/modules/file/graphql/mutations/deleteFile.ts@@ -1,7 +1,7 @@import { gql } from '@apollo/client';export const DELETE_FILE = gql`- mutation DeleteFile($fileId: String!) {+ mutation DeleteFile($fileId: UUID!) {deleteFile(fileId: $fileId) {idnamediff --git a/packages/twenty-front/src/modules/settings/accounts/graphql/mutations/saveImapSmtpCaldavConnection.ts b/packages/twenty-front/src/modules/settings/accounts/graphql/mutations/saveImapSmtpCaldavConnection.tsindex 54a51ff376e..f877a80c705 100644--- a/packages/twenty-front/src/modules/settings/accounts/graphql/mutations/saveImapSmtpCaldavConnection.ts+++ b/packages/twenty-front/src/modules/settings/accounts/graphql/mutations/saveImapSmtpCaldavConnection.ts@@ -2,10 +2,10 @@ import gql from 'graphql-tag';export const SAVE_IMAP_SMTP_CALDAV_ACCOUNT = gql`mutation SaveImapSmtpCaldavAccount(- $accountOwnerId: String!+ $accountOwnerId: UUID!$handle: String!$connectionParameters: EmailAccountConnectionParameters!- $id: String+ $id: UUID) {saveImapSmtpCaldavAccount(accountOwnerId: $accountOwnerIddiff --git a/packages/twenty-front/src/modules/settings/accounts/graphql/queries/getConnectedImapSmtpCaldavAccount.ts b/packages/twenty-front/src/modules/settings/accounts/graphql/queries/getConnectedImapSmtpCaldavAccount.tsindex bc76946e75e..3c923abcbfe 100644--- a/packages/twenty-front/src/modules/settings/accounts/graphql/queries/getConnectedImapSmtpCaldavAccount.ts+++ b/packages/twenty-front/src/modules/settings/accounts/graphql/queries/getConnectedImapSmtpCaldavAccount.ts@@ -1,7 +1,7 @@import gql from 'graphql-tag';export const GET_CONNECTED_IMAP_SMTP_CALDAV_ACCOUNT = gql`- query GetConnectedImapSmtpCaldavAccount($id: String!) {+ query GetConnectedImapSmtpCaldavAccount($id: UUID!) {getConnectedImapSmtpCaldavAccount(id: $id) {idhandlediff --git a/packages/twenty-front/src/modules/settings/admin-panel/graphql/mutations/updateWorkspaceFeatureFlag.ts b/packages/twenty-front/src/modules/settings/admin-panel/graphql/mutations/updateWorkspaceFeatureFlag.tsindex 8077e86c261..0206d7caf6d 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/graphql/mutations/updateWorkspaceFeatureFlag.ts+++ b/packages/twenty-front/src/modules/settings/admin-panel/graphql/mutations/updateWorkspaceFeatureFlag.ts@@ -2,7 +2,7 @@ import { gql } from '@apollo/client';export const UPDATE_WORKSPACE_FEATURE_FLAG = gql`mutation UpdateWorkspaceFeatureFlag(- $workspaceId: String!+ $workspaceId: UUID!$featureFlag: String!$value: Boolean!) {diff --git a/packages/twenty-front/src/modules/settings/developers/graphql/mutations/assignRoleToApiKey.ts b/packages/twenty-front/src/modules/settings/developers/graphql/mutations/assignRoleToApiKey.tsindex 9e79dee7c33..255460220d5 100644--- a/packages/twenty-front/src/modules/settings/developers/graphql/mutations/assignRoleToApiKey.ts+++ b/packages/twenty-front/src/modules/settings/developers/graphql/mutations/assignRoleToApiKey.ts@@ -1,7 +1,7 @@import gql from 'graphql-tag';export const ASSIGN_ROLE_TO_API_KEY = gql`- mutation AssignRoleToApiKey($apiKeyId: String!, $roleId: String!) {+ mutation AssignRoleToApiKey($apiKeyId: UUID!, $roleId: UUID!) {assignRoleToApiKey(apiKeyId: $apiKeyId, roleId: $roleId)}`;diff --git a/packages/twenty-front/src/modules/settings/roles/graphql/mutations/deleteRoleMutation.ts b/packages/twenty-front/src/modules/settings/roles/graphql/mutations/deleteRoleMutation.tsindex 3c7442d3806..55bc7b90c73 100644--- a/packages/twenty-front/src/modules/settings/roles/graphql/mutations/deleteRoleMutation.ts+++ b/packages/twenty-front/src/modules/settings/roles/graphql/mutations/deleteRoleMutation.ts@@ -1,7 +1,7 @@import { gql } from '@apollo/client';export const DELETE_ROLE = gql`- mutation DeleteOneRole($roleId: String!) {+ mutation DeleteOneRole($roleId: UUID!) {deleteOneRole(roleId: $roleId)}`;diff --git a/packages/twenty-front/src/modules/settings/roles/graphql/mutations/updateWorkspaceMemberRoleMutation.ts b/packages/twenty-front/src/modules/settings/roles/graphql/mutations/updateWorkspaceMemberRoleMutation.tsindex 7ca80776672..dc328245d42 100644--- a/packages/twenty-front/src/modules/settings/roles/graphql/mutations/updateWorkspaceMemberRoleMutation.ts+++ b/packages/twenty-front/src/modules/settings/roles/graphql/mutations/updateWorkspaceMemberRoleMutation.ts@@ -6,8 +6,8 @@ export const UPDATE_WORKSPACE_MEMBER_ROLE = gql`${WORKSPACE_MEMBER_QUERY_FRAGMENT}${ROLE_FRAGMENT}mutation UpdateWorkspaceMemberRole(- $workspaceMemberId: String!- $roleId: String!+ $workspaceMemberId: UUID!+ $roleId: UUID!) {updateWorkspaceMemberRole(workspaceMemberId: $workspaceMemberIddiff --git a/packages/twenty-front/src/modules/workflow/graphql/mutations/activateWorkflowVersion.ts b/packages/twenty-front/src/modules/workflow/graphql/mutations/activateWorkflowVersion.tsindex d81597546de..22f564206d9 100644--- a/packages/twenty-front/src/modules/workflow/graphql/mutations/activateWorkflowVersion.ts+++ b/packages/twenty-front/src/modules/workflow/graphql/mutations/activateWorkflowVersion.ts@@ -1,7 +1,7 @@import { gql } from '@apollo/client';export const ACTIVATE_WORKFLOW_VERSION = gql`- mutation ActivateWorkflowVersion($workflowVersionId: String!) {+ mutation ActivateWorkflowVersion($workflowVersionId: UUID!) {activateWorkflowVersion(workflowVersionId: $workflowVersionId)}`;diff --git a/packages/twenty-front/src/modules/workflow/graphql/mutations/deactivateWorkflowVersion.ts b/packages/twenty-front/src/modules/workflow/graphql/mutations/deactivateWorkflowVersion.tsindex 8cd8950d6d9..d1a31f4f4a9 100644--- a/packages/twenty-front/src/modules/workflow/graphql/mutations/deactivateWorkflowVersion.ts+++ b/packages/twenty-front/src/modules/workflow/graphql/mutations/deactivateWorkflowVersion.ts@@ -1,7 +1,7 @@import { gql } from '@apollo/client';export const DEACTIVATE_WORKFLOW_VERSION = gql`- mutation DeactivateWorkflowVersion($workflowVersionId: String!) {+ mutation DeactivateWorkflowVersion($workflowVersionId: UUID!) {deactivateWorkflowVersion(workflowVersionId: $workflowVersionId)}`;diff --git a/packages/twenty-front/src/pages/settings/developers/api-keys/SettingsDevelopersApiKeyDetail.tsx b/packages/twenty-front/src/pages/settings/developers/api-keys/SettingsDevelopersApiKeyDetail.tsxindex 8d882ca77d5..2902513d97d 100644--- a/packages/twenty-front/src/pages/settings/developers/api-keys/SettingsDevelopersApiKeyDetail.tsx+++ b/packages/twenty-front/src/pages/settings/developers/api-keys/SettingsDevelopersApiKeyDetail.tsx@@ -90,7 +90,7 @@ export const SettingsDevelopersApiKeyDetail = () => {onCompleted: (data) => {if (isDefined(data?.apiKey)) {setApiKeyName(data.apiKey.name);- if (isDefined(data.apiKey.role?.id)) {+ if (isDefined(data.apiKey.role)) {setSelectedRoleId(data.apiKey.role.id);}}diff --git a/packages/twenty-front/src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx b/packages/twenty-front/src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsxindex 79999e0cb10..a0475c16b9f 100644--- a/packages/twenty-front/src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx+++ b/packages/twenty-front/src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx@@ -39,7 +39,7 @@ export const SettingsDevelopersApiKeysNew = () => {const defaultRole = data.getRoles.find((role) => role.id === currentWorkspace?.defaultRole?.id,);- if (isDefined(defaultRole?.id) && !formValues.roleId) {+ if (isDefined(defaultRole) && !formValues.roleId) {setFormValues((prev) => ({...prev,roleId: defaultRole.id,diff --git a/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/admin-panel-health-service-data.dto.ts b/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/admin-panel-health-service-data.dto.tsindex a41d3b6ac12..fdec6c754c8 100644--- a/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/admin-panel-health-service-data.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/admin-panel-health-service-data.dto.ts@@ -1,11 +1,12 @@import { Field, ObjectType } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { AdminPanelWorkerQueueHealth } from 'src/engine/core-modules/admin-panel/dtos/admin-panel-worker-queue-health.dto';import { AdminPanelHealthServiceStatus } from 'src/engine/core-modules/admin-panel/enums/admin-panel-health-service-status.enum';@ObjectType()export class AdminPanelHealthServiceData {- @Field(() => String)+ @Field(() => UUIDScalarType)id: string;@Field(() => String)diff --git a/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/admin-panel-worker-queue-health.dto.ts b/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/admin-panel-worker-queue-health.dto.tsindex 10933959307..7f0d89e7387 100644--- a/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/admin-panel-worker-queue-health.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/admin-panel-worker-queue-health.dto.ts@@ -1,10 +1,11 @@import { Field, ObjectType } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { AdminPanelHealthServiceStatus } from 'src/engine/core-modules/admin-panel/enums/admin-panel-health-service-status.enum';@ObjectType()export class AdminPanelWorkerQueueHealth {- @Field(() => String)+ @Field(() => UUIDScalarType)id: string;@Field(() => String)diff --git a/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/impersonate.input.ts b/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/impersonate.input.tsindex 41a14ffead3..5d029975a63 100644--- a/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/impersonate.input.ts+++ b/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/impersonate.input.ts@@ -1,16 +1,18 @@import { ArgsType, Field } from '@nestjs/graphql';-import { IsNotEmpty, IsString } from 'class-validator';+import { IsNotEmpty, IsUUID } from 'class-validator';++import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';@ArgsType()export class ImpersonateInput {- @Field(() => String)+ @Field(() => UUIDScalarType)@IsNotEmpty()- @IsString()+ @IsUUID()userId: string;- @Field(() => String)+ @Field(() => UUIDScalarType)@IsNotEmpty()- @IsString()+ @IsUUID()workspaceId: string;}diff --git a/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/queue-metrics-series.dto.ts b/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/queue-metrics-series.dto.tsindex b1834f639aa..482b251f6dd 100644--- a/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/queue-metrics-series.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/queue-metrics-series.dto.ts@@ -1,10 +1,11 @@import { Field, ObjectType } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { QueueMetricsDataPoint } from 'src/engine/core-modules/admin-panel/dtos/queue-metrics-data-point.dto';@ObjectType()export class QueueMetricsSeries {- @Field()+ @Field(() => UUIDScalarType)id: string;@Field(() => [QueueMetricsDataPoint])diff --git a/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/update-workspace-feature-flag.input.ts b/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/update-workspace-feature-flag.input.tsindex 5f134b7d932..cbab229b558 100644--- a/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/update-workspace-feature-flag.input.ts+++ b/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/update-workspace-feature-flag.input.ts@@ -1,14 +1,15 @@import { ArgsType, Field } from '@nestjs/graphql';-import { IsBoolean, IsNotEmpty, IsString } from 'class-validator';+import { IsBoolean, IsNotEmpty, IsUUID } from 'class-validator';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { FeatureFlagKey } from 'src/engine/core-modules/feature-flag/enums/feature-flag-key.enum';@ArgsType()export class UpdateWorkspaceFeatureFlagInput {- @Field(() => String)+ @Field(() => UUIDScalarType)@IsNotEmpty()- @IsString()+ @IsUUID()workspaceId: string;@Field(() => String)diff --git a/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/user-lookup.entity.ts b/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/user-lookup.entity.tsindex e57a1de455c..c2c01451b02 100644--- a/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/user-lookup.entity.ts+++ b/packages/twenty-server/src/engine/core-modules/admin-panel/dtos/user-lookup.entity.ts@@ -1,10 +1,11 @@import { Field, ObjectType } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { FeatureFlag } from 'src/engine/core-modules/feature-flag/feature-flag.entity';@ObjectType()class UserInfo {- @Field(() => String)+ @Field(() => UUIDScalarType)id: string;@Field(() => String)@@ -19,7 +20,7 @@ class UserInfo {@ObjectType()class WorkspaceInfo {- @Field(() => String)+ @Field(() => UUIDScalarType)id: string;@Field(() => String)diff --git a/packages/twenty-server/src/engine/core-modules/api-key/api-key.entity.ts b/packages/twenty-server/src/engine/core-modules/api-key/api-key.entity.tsindex c543e00054e..b8dba2e521a 100644--- a/packages/twenty-server/src/engine/core-modules/api-key/api-key.entity.ts+++ b/packages/twenty-server/src/engine/core-modules/api-key/api-key.entity.ts@@ -36,7 +36,7 @@ export class ApiKey {@Column({ type: 'timestamptz', nullable: true })revokedAt?: Date | null;- @Field()+ @Field(() => UUIDScalarType)@Column('uuid')workspaceId: string;diff --git a/packages/twenty-server/src/engine/core-modules/api-key/api-key.resolver.ts b/packages/twenty-server/src/engine/core-modules/api-key/api-key.resolver.tsindex 7f2b57e6737..fe83e4478b7 100644--- a/packages/twenty-server/src/engine/core-modules/api-key/api-key.resolver.ts+++ b/packages/twenty-server/src/engine/core-modules/api-key/api-key.resolver.ts@@ -8,6 +8,7 @@ import {Resolver,} from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import {ApiKeyException,ApiKeyExceptionCode,@@ -108,8 +109,8 @@ export class ApiKeyResolver {@Mutation(() => Boolean)async assignRoleToApiKey(@AuthWorkspace() workspace: Workspace,- @Args('apiKeyId') apiKeyId: string,- @Args('roleId') roleId: string,+ @Args('apiKeyId', { type: () => UUIDScalarType }) apiKeyId: string,+ @Args('roleId', { type: () => UUIDScalarType }) roleId: string,): Promise<boolean> {try {await this.apiKeyRoleService.assignRoleToApiKey({diff --git a/packages/twenty-server/src/engine/core-modules/api-key/dtos/create-api-key.dto.ts b/packages/twenty-server/src/engine/core-modules/api-key/dtos/create-api-key.dto.tsindex 71e6880db94..6fd960b4d59 100644--- a/packages/twenty-server/src/engine/core-modules/api-key/dtos/create-api-key.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/api-key/dtos/create-api-key.dto.ts@@ -8,6 +8,8 @@ import {IsUUID,} from 'class-validator';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';+@InputType()export class CreateApiKeyDTO {@Field()@@ -24,7 +26,7 @@ export class CreateApiKeyDTO {@IsDateString()revokedAt?: string;- @Field()+ @Field(() => UUIDScalarType)@IsNotEmpty()@IsUUID()roleId: string;diff --git a/packages/twenty-server/src/engine/core-modules/api-key/dtos/get-api-key.dto.ts b/packages/twenty-server/src/engine/core-modules/api-key/dtos/get-api-key.dto.tsindex 9fb93aac5a8..5fe6e942bec 100644--- a/packages/twenty-server/src/engine/core-modules/api-key/dtos/get-api-key.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/api-key/dtos/get-api-key.dto.ts@@ -1,11 +1,13 @@import { Field, InputType } from '@nestjs/graphql';-import { IsNotEmpty, IsString } from 'class-validator';+import { IsNotEmpty, IsUUID } from 'class-validator';++import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';@InputType()export class GetApiKeyDTO {- @Field()+ @Field(() => UUIDScalarType)@IsNotEmpty()- @IsString()+ @IsUUID()id: string;}diff --git a/packages/twenty-server/src/engine/core-modules/api-key/dtos/revoke-api-key.dto.ts b/packages/twenty-server/src/engine/core-modules/api-key/dtos/revoke-api-key.dto.tsindex 6e05277b5b3..bf2acd16500 100644--- a/packages/twenty-server/src/engine/core-modules/api-key/dtos/revoke-api-key.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/api-key/dtos/revoke-api-key.dto.ts@@ -1,11 +1,13 @@import { Field, InputType } from '@nestjs/graphql';-import { IsNotEmpty, IsString } from 'class-validator';+import { IsNotEmpty, IsUUID } from 'class-validator';++import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';@InputType()export class RevokeApiKeyDTO {- @Field()+ @Field(() => UUIDScalarType)@IsNotEmpty()- @IsString()+ @IsUUID()id: string;}diff --git a/packages/twenty-server/src/engine/core-modules/api-key/dtos/update-api-key.dto.ts b/packages/twenty-server/src/engine/core-modules/api-key/dtos/update-api-key.dto.tsindex 9be6b9668d8..af479bb5344 100644--- a/packages/twenty-server/src/engine/core-modules/api-key/dtos/update-api-key.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/api-key/dtos/update-api-key.dto.ts@@ -5,13 +5,16 @@ import {IsNotEmpty,IsOptional,IsString,+ IsUUID,} from 'class-validator';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';+@InputType()export class UpdateApiKeyDTO {- @Field()+ @Field(() => UUIDScalarType)@IsNotEmpty()- @IsString()+ @IsUUID()id: string;@Field({ nullable: true })diff --git a/packages/twenty-server/src/engine/core-modules/approved-access-domain/dtos/delete-approved-access-domain.input.ts b/packages/twenty-server/src/engine/core-modules/approved-access-domain/dtos/delete-approved-access-domain.input.tsindex 586c3acd34a..18fa5486227 100644--- a/packages/twenty-server/src/engine/core-modules/approved-access-domain/dtos/delete-approved-access-domain.input.ts+++ b/packages/twenty-server/src/engine/core-modules/approved-access-domain/dtos/delete-approved-access-domain.input.ts@@ -1,10 +1,12 @@import { Field, InputType } from '@nestjs/graphql';-import { IsString } from 'class-validator';+import { IsUUID } from 'class-validator';++import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';@InputType()export class DeleteApprovedAccessDomainInput {- @Field()- @IsString()+ @Field(() => UUIDScalarType)+ @IsUUID()id: string;}diff --git a/packages/twenty-server/src/engine/core-modules/approved-access-domain/dtos/validate-approved-access-domain.input.ts b/packages/twenty-server/src/engine/core-modules/approved-access-domain/dtos/validate-approved-access-domain.input.tsindex 0ef691b1a12..a41b6031217 100644--- a/packages/twenty-server/src/engine/core-modules/approved-access-domain/dtos/validate-approved-access-domain.input.ts+++ b/packages/twenty-server/src/engine/core-modules/approved-access-domain/dtos/validate-approved-access-domain.input.ts@@ -1,6 +1,8 @@import { Field, InputType } from '@nestjs/graphql';-import { IsString, IsNotEmpty } from 'class-validator';+import { IsNotEmpty, IsString, IsUUID } from 'class-validator';++import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';@InputType()export class ValidateApprovedAccessDomainInput {@@ -9,8 +11,8 @@ export class ValidateApprovedAccessDomainInput {@IsNotEmpty()validationToken: string;- @Field(() => String)- @IsString()+ @Field(() => UUIDScalarType)+ @IsUUID()@IsNotEmpty()approvedAccessDomainId: string;}diff --git a/packages/twenty-server/src/engine/core-modules/audit/dtos/create-object-event.input.ts b/packages/twenty-server/src/engine/core-modules/audit/dtos/create-object-event.input.tsindex cb8e8e1e63e..621b1898d60 100644--- a/packages/twenty-server/src/engine/core-modules/audit/dtos/create-object-event.input.ts+++ b/packages/twenty-server/src/engine/core-modules/audit/dtos/create-object-event.input.ts@@ -1,8 +1,15 @@import { ArgsType, Field } from '@nestjs/graphql';-import { IsNotEmpty, IsObject, IsOptional, IsString } from 'class-validator';+import {+ IsNotEmpty,+ IsObject,+ IsOptional,+ IsString,+ IsUUID,+} from 'class-validator';import GraphQLJSON from 'graphql-type-json';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { TrackEventName } from 'src/engine/core-modules/audit/types/events.type';@ArgsType()@@ -12,14 +19,14 @@ export class CreateObjectEventInput {@IsString()event: TrackEventName;- @Field(() => String)+ @Field(() => UUIDScalarType)@IsNotEmpty()- @IsString()+ @IsUUID()recordId: string;- @Field(() => String)+ @Field(() => UUIDScalarType)@IsNotEmpty()- @IsString()+ @IsUUID()objectMetadataId: string;@Field(() => GraphQLJSON, { nullable: true })diff --git a/packages/twenty-server/src/engine/core-modules/auth/dto/api-key-token.input.ts b/packages/twenty-server/src/engine/core-modules/auth/dto/api-key-token.input.tsindex c3dc2d6c154..e0cbe03334e 100644--- a/packages/twenty-server/src/engine/core-modules/auth/dto/api-key-token.input.ts+++ b/packages/twenty-server/src/engine/core-modules/auth/dto/api-key-token.input.ts@@ -1,12 +1,14 @@import { ArgsType, Field } from '@nestjs/graphql';-import { IsNotEmpty, IsString } from 'class-validator';+import { IsNotEmpty, IsUUID } from 'class-validator';++import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';@ArgsType()export class ApiKeyTokenInput {- @Field(() => String)+ @Field(() => UUIDScalarType)@IsNotEmpty()- @IsString()+ @IsUUID()apiKeyId: string;@Field(() => String)diff --git a/packages/twenty-server/src/engine/core-modules/auth/dto/available-workspaces.output.ts b/packages/twenty-server/src/engine/core-modules/auth/dto/available-workspaces.output.tsindex 238f5960dbe..7007cd3b5dc 100644--- a/packages/twenty-server/src/engine/core-modules/auth/dto/available-workspaces.output.ts+++ b/packages/twenty-server/src/engine/core-modules/auth/dto/available-workspaces.output.ts@@ -2,6 +2,7 @@import { Field, ObjectType } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { SSOConfiguration } from 'src/engine/core-modules/sso/types/SSOConfigurations.type';import {IdentityProviderType,@@ -14,7 +15,7 @@ class SSOConnection {@Field(() => IdentityProviderType)type: SSOConfiguration['type'];- @Field(() => String)+ @Field(() => UUIDScalarType)id: string;@Field(() => String)@@ -29,7 +30,7 @@ class SSOConnection {@ObjectType()export class AvailableWorkspace {- @Field(() => String)+ @Field(() => UUIDScalarType)id: string;@Field(() => String, { nullable: true })diff --git a/packages/twenty-server/src/engine/core-modules/auth/dto/email-password-reset-link.input.ts b/packages/twenty-server/src/engine/core-modules/auth/dto/email-password-reset-link.input.tsindex cdfc2174742..dcd1052a0ec 100644--- a/packages/twenty-server/src/engine/core-modules/auth/dto/email-password-reset-link.input.ts+++ b/packages/twenty-server/src/engine/core-modules/auth/dto/email-password-reset-link.input.ts@@ -1,6 +1,8 @@import { ArgsType, Field } from '@nestjs/graphql';-import { IsEmail, IsNotEmpty, IsString } from 'class-validator';+import { IsEmail, IsNotEmpty, IsUUID } from 'class-validator';++import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';@ArgsType()export class EmailPasswordResetLinkInput {@@ -9,8 +11,8 @@ export class EmailPasswordResetLinkInput {@IsEmail()email: string;- @Field(() => String)+ @Field(() => UUIDScalarType)@IsNotEmpty()- @IsString()+ @IsUUID()workspaceId: string;}diff --git a/packages/twenty-server/src/engine/core-modules/auth/dto/get-authorization-url-for-sso.input.ts b/packages/twenty-server/src/engine/core-modules/auth/dto/get-authorization-url-for-sso.input.tsindex 074e435f536..abd32b8f68d 100644--- a/packages/twenty-server/src/engine/core-modules/auth/dto/get-authorization-url-for-sso.input.ts+++ b/packages/twenty-server/src/engine/core-modules/auth/dto/get-authorization-url-for-sso.input.ts@@ -2,12 +2,14 @@import { Field, InputType } from '@nestjs/graphql';-import { IsOptional, IsString } from 'class-validator';+import { IsOptional, IsString, IsUUID } from 'class-validator';++import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';@InputType()export class GetAuthorizationUrlForSSOInput {- @Field(() => String)- @IsString()+ @Field(() => UUIDScalarType)+ @IsUUID()identityProviderId: string;@Field(() => String, { nullable: true })diff --git a/packages/twenty-server/src/engine/core-modules/auth/dto/get-authorization-url-for-sso.output.ts b/packages/twenty-server/src/engine/core-modules/auth/dto/get-authorization-url-for-sso.output.tsindex 1727a9f0074..0ee0e78ffc5 100644--- a/packages/twenty-server/src/engine/core-modules/auth/dto/get-authorization-url-for-sso.output.ts+++ b/packages/twenty-server/src/engine/core-modules/auth/dto/get-authorization-url-for-sso.output.ts@@ -2,6 +2,7 @@import { Field, ObjectType } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { SSOConfiguration } from 'src/engine/core-modules/sso/types/SSOConfigurations.type';@ObjectType()@@ -12,6 +13,6 @@ export class GetAuthorizationUrlForSSOOutput {@Field(() => String)type: SSOConfiguration['type'];- @Field(() => String)+ @Field(() => UUIDScalarType)id: string;}diff --git a/packages/twenty-server/src/engine/core-modules/auth/dto/sign-up.input.ts b/packages/twenty-server/src/engine/core-modules/auth/dto/sign-up.input.tsindex 1a6e3221f2a..fa094759119 100644--- a/packages/twenty-server/src/engine/core-modules/auth/dto/sign-up.input.ts+++ b/packages/twenty-server/src/engine/core-modules/auth/dto/sign-up.input.ts@@ -1,8 +1,16 @@import { ArgsType, Field } from '@nestjs/graphql';-import { IsEmail, IsNotEmpty, IsOptional, IsString } from 'class-validator';+import {+ IsEmail,+ IsNotEmpty,+ IsOptional,+ IsString,+ IsUUID,+} from 'class-validator';import { APP_LOCALES } from 'twenty-shared/translations';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';+@ArgsType()export class SignUpInput {@Field(() => String)@@ -15,8 +23,8 @@ export class SignUpInput {@IsString()password: string;- @Field(() => String, { nullable: true })- @IsString()+ @Field(() => UUIDScalarType, { nullable: true })+ @IsUUID()@IsOptional()workspaceId?: string;diff --git a/packages/twenty-server/src/engine/core-modules/auth/dto/token.entity.ts b/packages/twenty-server/src/engine/core-modules/auth/dto/token.entity.tsindex 002c256e7a9..4b49a07f944 100644--- a/packages/twenty-server/src/engine/core-modules/auth/dto/token.entity.ts+++ b/packages/twenty-server/src/engine/core-modules/auth/dto/token.entity.ts@@ -1,5 +1,7 @@import { Field, ObjectType } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';+@ObjectType()export class AuthToken {@Field(() => String)@@ -38,7 +40,7 @@ export class PasswordResetToken {@Field(() => Date)passwordResetTokenExpiresAt: Date;- @Field(() => String)+ @Field(() => UUIDScalarType)workspaceId: string;}diff --git a/packages/twenty-server/src/engine/core-modules/auth/dto/validate-password-reset-token.entity.ts b/packages/twenty-server/src/engine/core-modules/auth/dto/validate-password-reset-token.entity.tsindex 52ebcad7be4..91fdd2805f4 100644--- a/packages/twenty-server/src/engine/core-modules/auth/dto/validate-password-reset-token.entity.ts+++ b/packages/twenty-server/src/engine/core-modules/auth/dto/validate-password-reset-token.entity.ts@@ -1,8 +1,10 @@import { Field, ObjectType } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';+@ObjectType()export class ValidatePasswordResetToken {- @Field(() => String)+ @Field(() => UUIDScalarType)id: string;@Field(() => String)diff --git a/packages/twenty-server/src/engine/core-modules/billing/entities/billing-entitlement.entity.ts b/packages/twenty-server/src/engine/core-modules/billing/entities/billing-entitlement.entity.tsindex a6088873d9f..4e5a51d9360 100644--- a/packages/twenty-server/src/engine/core-modules/billing/entities/billing-entitlement.entity.ts+++ b/packages/twenty-server/src/engine/core-modules/billing/entities/billing-entitlement.entity.ts@@ -33,7 +33,7 @@ export class BillingEntitlement {@Column({ nullable: false, type: 'text' })key: BillingEntitlementKey;- @Field()+ @Field(() => UUIDScalarType)@Column({ nullable: false, type: 'uuid' })workspaceId: string;diff --git a/packages/twenty-server/src/engine/core-modules/domain-manager/dtos/custom-domain-valid-records.ts b/packages/twenty-server/src/engine/core-modules/domain-manager/dtos/custom-domain-valid-records.tsindex 9e4e981ef0c..cc861bbc0fa 100644--- a/packages/twenty-server/src/engine/core-modules/domain-manager/dtos/custom-domain-valid-records.ts+++ b/packages/twenty-server/src/engine/core-modules/domain-manager/dtos/custom-domain-valid-records.ts@@ -1,5 +1,7 @@import { Field, ObjectType } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';+@ObjectType()class CustomDomainRecord {@Field(() => String)@@ -20,7 +22,7 @@ class CustomDomainRecord {@ObjectType()export class CustomDomainValidRecords {- @Field(() => String)+ @Field(() => UUIDScalarType)id: string;@Field(() => String)diff --git a/packages/twenty-server/src/engine/core-modules/feature-flag/feature-flag.entity.ts b/packages/twenty-server/src/engine/core-modules/feature-flag/feature-flag.entity.tsindex 031d8e42013..a9bb36cff3e 100644--- a/packages/twenty-server/src/engine/core-modules/feature-flag/feature-flag.entity.ts+++ b/packages/twenty-server/src/engine/core-modules/feature-flag/feature-flag.entity.ts@@ -28,7 +28,7 @@ export class FeatureFlag {@Column({ nullable: false, type: 'text' })key: FeatureFlagKey;- @Field()+ @Field(() => UUIDScalarType)@Column({ nullable: false, type: 'uuid' })workspaceId: string;diff --git a/packages/twenty-server/src/engine/core-modules/file/dtos/file.dto.ts b/packages/twenty-server/src/engine/core-modules/file/dtos/file.dto.tsindex 44279af312a..83b14259b64 100644--- a/packages/twenty-server/src/engine/core-modules/file/dtos/file.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/file/dtos/file.dto.ts@@ -1,8 +1,10 @@-import { Field, ID, ObjectType } from '@nestjs/graphql';+import { Field, ObjectType } from '@nestjs/graphql';++import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';@ObjectType('File')export class FileDTO {- @Field(() => ID)+ @Field(() => UUIDScalarType)id: string;@Field()@@ -17,7 +19,7 @@ export class FileDTO {@Field()type: string;- @Field(() => ID, { nullable: true })+ @Field(() => UUIDScalarType, { nullable: true })messageId?: string;@Field()diff --git a/packages/twenty-server/src/engine/core-modules/file/resolvers/file.resolver.ts b/packages/twenty-server/src/engine/core-modules/file/resolvers/file.resolver.tsindex d2c59ec6f22..f1d5e9500b5 100644--- a/packages/twenty-server/src/engine/core-modules/file/resolvers/file.resolver.ts+++ b/packages/twenty-server/src/engine/core-modules/file/resolvers/file.resolver.ts@@ -3,6 +3,7 @@ import { Args, Mutation, Resolver } from '@nestjs/graphql';import { FileUpload, GraphQLUpload } from 'graphql-upload';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { FileDTO } from 'src/engine/core-modules/file/dtos/file.dto';import { FileMetadataService } from 'src/engine/core-modules/file/services/file-metadata.service';import { PreventNestToAutoLogGraphqlErrorsFilter } from 'src/engine/core-modules/graphql/filters/prevent-nest-to-auto-log-graphql-errors.filter';@@ -39,7 +40,7 @@ export class FileResolver {@Mutation(() => FileDTO)async deleteFile(@AuthWorkspace() { id: workspaceId }: Workspace,- @Args('fileId') fileId: string,+ @Args('fileId', { type: () => UUIDScalarType }) fileId: string,): Promise<FileDTO> {const deletedFile = await this.fileMetadataService.deleteFileById(fileId,diff --git a/packages/twenty-server/src/engine/core-modules/imap-smtp-caldav-connection/dtos/imap-smtp-caldav-connected-account.dto.ts b/packages/twenty-server/src/engine/core-modules/imap-smtp-caldav-connection/dtos/imap-smtp-caldav-connected-account.dto.tsindex 447c399d59b..ae2292e007d 100644--- a/packages/twenty-server/src/engine/core-modules/imap-smtp-caldav-connection/dtos/imap-smtp-caldav-connected-account.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/imap-smtp-caldav-connection/dtos/imap-smtp-caldav-connected-account.dto.ts@@ -2,11 +2,12 @@ import { Field, ObjectType } from '@nestjs/graphql';import { ConnectedAccountProvider } from 'twenty-shared/types';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { ImapSmtpCaldavConnectionParameters } from 'src/engine/core-modules/imap-smtp-caldav-connection/dtos/imap-smtp-caldav-connection.dto';@ObjectType()export class ConnectedImapSmtpCaldavAccount {- @Field(() => String)+ @Field(() => UUIDScalarType)id: string;@Field(() => String)@@ -15,7 +16,7 @@ export class ConnectedImapSmtpCaldavAccount {@Field(() => String)provider: ConnectedAccountProvider;- @Field(() => String)+ @Field(() => UUIDScalarType)accountOwnerId: string;@Field(() => ImapSmtpCaldavConnectionParameters, { nullable: true })diff --git a/packages/twenty-server/src/engine/core-modules/imap-smtp-caldav-connection/imap-smtp-caldav-connection.resolver.ts b/packages/twenty-server/src/engine/core-modules/imap-smtp-caldav-connection/imap-smtp-caldav-connection.resolver.tsindex 1cf15802712..be33533d7e7 100644--- a/packages/twenty-server/src/engine/core-modules/imap-smtp-caldav-connection/imap-smtp-caldav-connection.resolver.ts+++ b/packages/twenty-server/src/engine/core-modules/imap-smtp-caldav-connection/imap-smtp-caldav-connection.resolver.ts@@ -9,6 +9,7 @@ import { Args, Mutation, Query, Resolver } from '@nestjs/graphql';import { ConnectedAccountProvider } from 'twenty-shared/types';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { AuthGraphqlApiExceptionFilter } from 'src/engine/core-modules/auth/filters/auth-graphql-api-exception.filter';import { FeatureFlagKey } from 'src/engine/core-modules/feature-flag/enums/feature-flag-key.enum';import { FeatureFlagService } from 'src/engine/core-modules/feature-flag/services/feature-flag.service';@@ -45,7 +46,7 @@ export class ImapSmtpCaldavResolver {@Query(() => ConnectedImapSmtpCaldavAccount)@UseGuards(WorkspaceAuthGuard)async getConnectedImapSmtpCaldavAccount(- @Args('id') id: string,+ @Args('id', { type: () => UUIDScalarType }) id: string,@AuthWorkspace() workspace: Workspace,): Promise<ConnectedImapSmtpCaldavAccount> {const connectedAccountRepository =@@ -76,12 +77,13 @@ export class ImapSmtpCaldavResolver {@Mutation(() => ImapSmtpCaldavConnectionSuccess)@UseGuards(WorkspaceAuthGuard)async saveImapSmtpCaldavAccount(- @Args('accountOwnerId') accountOwnerId: string,+ @Args('accountOwnerId', { type: () => UUIDScalarType })+ accountOwnerId: string,@Args('handle') handle: string,@Args('connectionParameters')connectionParameters: EmailAccountConnectionParameters,@AuthWorkspace() workspace: Workspace,- @Args('id', { nullable: true }) id?: string,+ @Args('id', { type: () => UUIDScalarType, nullable: true }) id?: string,): Promise<ImapSmtpCaldavConnectionSuccess> {const isImapSmtpCaldavFeatureFlagEnabled =await this.featureFlagService.isFeatureEnabled(diff --git a/packages/twenty-server/src/engine/core-modules/postgres-credentials/dtos/postgres-credentials.dto.ts b/packages/twenty-server/src/engine/core-modules/postgres-credentials/dtos/postgres-credentials.dto.tsindex 7979459629e..45129cfc4ee 100644--- a/packages/twenty-server/src/engine/core-modules/postgres-credentials/dtos/postgres-credentials.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/postgres-credentials/dtos/postgres-credentials.dto.ts@@ -1,4 +1,4 @@-import { ObjectType, Field } from '@nestjs/graphql';+import { Field, ObjectType } from '@nestjs/graphql';import { IDField } from '@ptc-org/nestjs-query-graphql';@@ -15,6 +15,6 @@ export class PostgresCredentialsDTO {@Field()password: string;- @Field()+ @Field(() => UUIDScalarType)workspaceId: string;}diff --git a/packages/twenty-server/src/engine/core-modules/search/dtos/search-record.dto.ts b/packages/twenty-server/src/engine/core-modules/search/dtos/search-record.dto.tsindex 15568b6b903..ddc06004786 100644--- a/packages/twenty-server/src/engine/core-modules/search/dtos/search-record.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/search/dtos/search-record.dto.ts@@ -1,11 +1,13 @@import { Field, ObjectType } from '@nestjs/graphql';-import { IsNotEmpty, IsNumber, IsString } from 'class-validator';+import { IsNotEmpty, IsNumber, IsString, IsUUID } from 'class-validator';++import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';@ObjectType('SearchRecord')export class SearchRecordDTO {- @Field(() => String)- @IsString()+ @Field(() => UUIDScalarType)+ @IsUUID()@IsNotEmpty()recordId: string;diff --git a/packages/twenty-server/src/engine/core-modules/sso/dtos/delete-sso.input.ts b/packages/twenty-server/src/engine/core-modules/sso/dtos/delete-sso.input.tsindex 4a0e1002df5..0978957152e 100644--- a/packages/twenty-server/src/engine/core-modules/sso/dtos/delete-sso.input.ts+++ b/packages/twenty-server/src/engine/core-modules/sso/dtos/delete-sso.input.ts@@ -2,11 +2,10 @@import { Field, InputType } from '@nestjs/graphql';-import { IsUUID } from 'class-validator';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';@InputType()export class DeleteSsoInput {- @Field(() => String)- @IsUUID()+ @Field(() => UUIDScalarType)identityProviderId: string;}diff --git a/packages/twenty-server/src/engine/core-modules/sso/dtos/delete-sso.output.ts b/packages/twenty-server/src/engine/core-modules/sso/dtos/delete-sso.output.tsindex 0857ac3a4bf..77c3d43abcd 100644--- a/packages/twenty-server/src/engine/core-modules/sso/dtos/delete-sso.output.ts+++ b/packages/twenty-server/src/engine/core-modules/sso/dtos/delete-sso.output.ts@@ -2,8 +2,10 @@import { Field, ObjectType } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';+@ObjectType()export class DeleteSsoOutput {- @Field(() => String)+ @Field(() => UUIDScalarType)identityProviderId: string;}diff --git a/packages/twenty-server/src/engine/core-modules/sso/dtos/edit-sso.input.ts b/packages/twenty-server/src/engine/core-modules/sso/dtos/edit-sso.input.tsindex 61718363371..9673d2c674d 100644--- a/packages/twenty-server/src/engine/core-modules/sso/dtos/edit-sso.input.ts+++ b/packages/twenty-server/src/engine/core-modules/sso/dtos/edit-sso.input.ts@@ -4,12 +4,13 @@ import { Field, InputType } from '@nestjs/graphql';import { IsString, IsUUID } from 'class-validator';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { SSOConfiguration } from 'src/engine/core-modules/sso/types/SSOConfigurations.type';import { SSOIdentityProviderStatus } from 'src/engine/core-modules/sso/workspace-sso-identity-provider.entity';@InputType()export class EditSsoInput {- @Field(() => String)+ @Field(() => UUIDScalarType)@IsUUID()id: string;diff --git a/packages/twenty-server/src/engine/core-modules/sso/dtos/edit-sso.output.ts b/packages/twenty-server/src/engine/core-modules/sso/dtos/edit-sso.output.tsindex 35209c642e8..2ac4613293b 100644--- a/packages/twenty-server/src/engine/core-modules/sso/dtos/edit-sso.output.ts+++ b/packages/twenty-server/src/engine/core-modules/sso/dtos/edit-sso.output.ts@@ -2,6 +2,7 @@import { Field, ObjectType } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { SSOConfiguration } from 'src/engine/core-modules/sso/types/SSOConfigurations.type';import {IdentityProviderType,@@ -10,7 +11,7 @@ import {@ObjectType()export class EditSsoOutput {- @Field(() => String)+ @Field(() => UUIDScalarType)id: string;@Field(() => IdentityProviderType)diff --git a/packages/twenty-server/src/engine/core-modules/sso/dtos/find-available-SSO-IDP.output.ts b/packages/twenty-server/src/engine/core-modules/sso/dtos/find-available-SSO-IDP.output.tsindex 3c62fdbcac3..9c725d24e16 100644--- a/packages/twenty-server/src/engine/core-modules/sso/dtos/find-available-SSO-IDP.output.ts+++ b/packages/twenty-server/src/engine/core-modules/sso/dtos/find-available-SSO-IDP.output.ts@@ -2,6 +2,7 @@import { Field, ObjectType } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { SSOConfiguration } from 'src/engine/core-modules/sso/types/SSOConfigurations.type';import {IdentityProviderType,@@ -13,7 +14,7 @@ class WorkspaceNameAndId {@Field(() => String, { nullable: true })displayName?: string | null;- @Field(() => String)+ @Field(() => UUIDScalarType)id: string;}@@ -22,7 +23,7 @@ export class FindAvailableSSOIDPOutput {@Field(() => IdentityProviderType)type: SSOConfiguration['type'];- @Field(() => String)+ @Field(() => UUIDScalarType)id: string;@Field(() => String)diff --git a/packages/twenty-server/src/engine/core-modules/sso/dtos/setup-sso.input.ts b/packages/twenty-server/src/engine/core-modules/sso/dtos/setup-sso.input.tsindex 29890f184ae..11864cade61 100644--- a/packages/twenty-server/src/engine/core-modules/sso/dtos/setup-sso.input.ts+++ b/packages/twenty-server/src/engine/core-modules/sso/dtos/setup-sso.input.ts@@ -4,6 +4,7 @@ import { Field, InputType } from '@nestjs/graphql';import { IsOptional, IsString, IsUrl, IsUUID } from 'class-validator';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { IsX509Certificate } from 'src/engine/core-modules/sso/dtos/validators/x509.validator';@InputType()@@ -31,7 +32,7 @@ export class SetupOIDCSsoInput extends SetupSsoInputCommon {@InputType()export class SetupSAMLSsoInput extends SetupSsoInputCommon {- @Field(() => String)+ @Field(() => UUIDScalarType)@IsUUID()id: string;diff --git a/packages/twenty-server/src/engine/core-modules/sso/dtos/setup-sso.output.ts b/packages/twenty-server/src/engine/core-modules/sso/dtos/setup-sso.output.tsindex b5b4ee07603..95840d61a0f 100644--- a/packages/twenty-server/src/engine/core-modules/sso/dtos/setup-sso.output.ts+++ b/packages/twenty-server/src/engine/core-modules/sso/dtos/setup-sso.output.ts@@ -2,6 +2,7 @@import { Field, ObjectType } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { SSOConfiguration } from 'src/engine/core-modules/sso/types/SSOConfigurations.type';import {IdentityProviderType,@@ -10,7 +11,7 @@ import {@ObjectType()export class SetupSsoOutput {- @Field(() => String)+ @Field(() => UUIDScalarType)id: string;@Field(() => IdentityProviderType)diff --git a/packages/twenty-server/src/engine/core-modules/user-workspace/user-workspace.entity.ts b/packages/twenty-server/src/engine/core-modules/user-workspace/user-workspace.entity.tsindex 823d234df3d..9fb04e6e902 100644--- a/packages/twenty-server/src/engine/core-modules/user-workspace/user-workspace.entity.ts+++ b/packages/twenty-server/src/engine/core-modules/user-workspace/user-workspace.entity.ts@@ -54,7 +54,7 @@ export class UserWorkspace {@JoinColumn({ name: 'userId' })user: Relation<User>;- @Field({ nullable: false })+ @Field(() => UUIDScalarType, { nullable: false })@Column()userId: string;@@ -65,7 +65,7 @@ export class UserWorkspace {@JoinColumn({ name: 'workspaceId' })workspace: Relation<Workspace>;- @Field({ nullable: false })+ @Field(() => UUIDScalarType, { nullable: false })@Column()workspaceId: string;diff --git a/packages/twenty-server/src/engine/core-modules/user/dtos/deleted-workspace-member.dto.ts b/packages/twenty-server/src/engine/core-modules/user/dtos/deleted-workspace-member.dto.tsindex a30239b8409..56a0a916b36 100644--- a/packages/twenty-server/src/engine/core-modules/user/dtos/deleted-workspace-member.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/user/dtos/deleted-workspace-member.dto.ts@@ -19,6 +19,6 @@ export class DeletedWorkspaceMember {@Field(() => String, { nullable: true })avatarUrl: string | null;- @Field(() => String, { nullable: true })+ @Field(() => UUIDScalarType, { nullable: true })userWorkspaceId: string | null;}diff --git a/packages/twenty-server/src/engine/core-modules/user/dtos/workspace-member.dto.ts b/packages/twenty-server/src/engine/core-modules/user/dtos/workspace-member.dto.tsindex ca88582ccfc..fc540637b2b 100644--- a/packages/twenty-server/src/engine/core-modules/user/dtos/workspace-member.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/user/dtos/workspace-member.dto.ts@@ -56,6 +56,6 @@ export class WorkspaceMember {@Field(() => [RoleDTO], { nullable: true })roles?: RoleDTO[];- @Field(() => String, { nullable: true })+ @Field(() => UUIDScalarType, { nullable: true })userWorkspaceId?: string;}diff --git a/packages/twenty-server/src/engine/core-modules/webhook/dtos/delete-webhook.dto.ts b/packages/twenty-server/src/engine/core-modules/webhook/dtos/delete-webhook.dto.tsindex 78d31609522..1f63f9df78c 100644--- a/packages/twenty-server/src/engine/core-modules/webhook/dtos/delete-webhook.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/webhook/dtos/delete-webhook.dto.ts@@ -1,11 +1,13 @@import { Field, InputType } from '@nestjs/graphql';-import { IsNotEmpty, IsString } from 'class-validator';+import { IsNotEmpty, IsUUID } from 'class-validator';++import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';@InputType()export class DeleteWebhookDTO {- @Field()+ @Field(() => UUIDScalarType)@IsNotEmpty()- @IsString()+ @IsUUID()id: string;}diff --git a/packages/twenty-server/src/engine/core-modules/webhook/dtos/get-webhook.dto.ts b/packages/twenty-server/src/engine/core-modules/webhook/dtos/get-webhook.dto.tsindex 57902cd9838..5cec9b600a8 100644--- a/packages/twenty-server/src/engine/core-modules/webhook/dtos/get-webhook.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/webhook/dtos/get-webhook.dto.ts@@ -1,11 +1,13 @@import { Field, InputType } from '@nestjs/graphql';-import { IsNotEmpty, IsString } from 'class-validator';+import { IsNotEmpty, IsUUID } from 'class-validator';++import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';@InputType()export class GetWebhookDTO {- @Field()+ @Field(() => UUIDScalarType)@IsNotEmpty()- @IsString()+ @IsUUID()id: string;}diff --git a/packages/twenty-server/src/engine/core-modules/webhook/dtos/update-webhook.dto.ts b/packages/twenty-server/src/engine/core-modules/webhook/dtos/update-webhook.dto.tsindex e8084fe6209..8ec9e5a9e1c 100644--- a/packages/twenty-server/src/engine/core-modules/webhook/dtos/update-webhook.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/webhook/dtos/update-webhook.dto.ts@@ -1,12 +1,14 @@import { Field, InputType } from '@nestjs/graphql';-import { IsNotEmpty, IsString } from 'class-validator';+import { IsNotEmpty, IsUUID } from 'class-validator';++import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';@InputType()export class UpdateWebhookDTO {- @Field()+ @Field(() => UUIDScalarType)@IsNotEmpty()- @IsString()+ @IsUUID()id: string;@Field({ nullable: true })diff --git a/packages/twenty-server/src/engine/core-modules/webhook/webhook.entity.ts b/packages/twenty-server/src/engine/core-modules/webhook/webhook.entity.tsindex 5853f3f0d52..40ef19ea995 100644--- a/packages/twenty-server/src/engine/core-modules/webhook/webhook.entity.ts+++ b/packages/twenty-server/src/engine/core-modules/webhook/webhook.entity.ts@@ -41,7 +41,7 @@ export class Webhook {@Column()secret: string;- @Field()+ @Field(() => UUIDScalarType)@Column('uuid')workspaceId: string;diff --git a/packages/twenty-server/src/engine/core-modules/workflow/dtos/create-draft-from-workflow-version-input.ts b/packages/twenty-server/src/engine/core-modules/workflow/dtos/create-draft-from-workflow-version-input.tsindex 6b38e22dce3..f9c76ac6ce3 100644--- a/packages/twenty-server/src/engine/core-modules/workflow/dtos/create-draft-from-workflow-version-input.ts+++ b/packages/twenty-server/src/engine/core-modules/workflow/dtos/create-draft-from-workflow-version-input.ts@@ -1,14 +1,16 @@import { Field, InputType } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';+@InputType()export class CreateDraftFromWorkflowVersionInput {- @Field(() => String, {+ @Field(() => UUIDScalarType, {description: 'Workflow ID',nullable: false,})workflowId: string;- @Field(() => String, {+ @Field(() => UUIDScalarType, {description: 'Workflow version ID',nullable: false,})diff --git a/packages/twenty-server/src/engine/core-modules/workflow/dtos/create-workflow-version-step-input.dto.ts b/packages/twenty-server/src/engine/core-modules/workflow/dtos/create-workflow-version-step-input.dto.tsindex 5105e057c49..9b9edc9d1a3 100644--- a/packages/twenty-server/src/engine/core-modules/workflow/dtos/create-workflow-version-step-input.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/workflow/dtos/create-workflow-version-step-input.dto.ts@@ -1,10 +1,11 @@import { Field, InputType } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { WorkflowActionType } from 'src/modules/workflow/workflow-executor/workflow-actions/types/workflow-action.type';@InputType()export class CreateWorkflowVersionStepInput {- @Field(() => String, {+ @Field(() => UUIDScalarType, {description: 'Workflow version ID',nullable: false,})@@ -16,13 +17,13 @@ export class CreateWorkflowVersionStepInput {})stepType: WorkflowActionType;- @Field(() => String, {+ @Field(() => UUIDScalarType, {description: 'Parent step ID',nullable: true,})parentStepId?: string;- @Field(() => String, {+ @Field(() => UUIDScalarType, {description: 'Next step ID',nullable: true,})diff --git a/packages/twenty-server/src/engine/core-modules/workflow/dtos/delete-workflow-version-step-input.dto.ts b/packages/twenty-server/src/engine/core-modules/workflow/dtos/delete-workflow-version-step-input.dto.tsindex 9e94304b0c6..8fc12c5972c 100644--- a/packages/twenty-server/src/engine/core-modules/workflow/dtos/delete-workflow-version-step-input.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/workflow/dtos/delete-workflow-version-step-input.dto.ts@@ -1,14 +1,16 @@import { Field, InputType } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';+@InputType()export class DeleteWorkflowVersionStepInput {- @Field(() => String, {+ @Field(() => UUIDScalarType, {description: 'Workflow version ID',nullable: false,})workflowVersionId: string;- @Field(() => String, {+ @Field(() => UUIDScalarType, {description: 'Step to delete ID',nullable: false,})diff --git a/packages/twenty-server/src/engine/core-modules/workflow/dtos/run-workflow-version-input.dto.ts b/packages/twenty-server/src/engine/core-modules/workflow/dtos/run-workflow-version-input.dto.tsindex 276fc43250d..47614c3edd7 100644--- a/packages/twenty-server/src/engine/core-modules/workflow/dtos/run-workflow-version-input.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/workflow/dtos/run-workflow-version-input.dto.ts@@ -2,15 +2,17 @@ import { Field, InputType } from '@nestjs/graphql';import graphqlTypeJson from 'graphql-type-json';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';+@InputType()export class RunWorkflowVersionInput {- @Field(() => String, {+ @Field(() => UUIDScalarType, {description: 'Workflow version ID',nullable: false,})workflowVersionId: string;- @Field(() => String, {+ @Field(() => UUIDScalarType, {description: 'Workflow run ID',nullable: true,})diff --git a/packages/twenty-server/src/engine/core-modules/workflow/dtos/submit-form-step-input.dto.ts b/packages/twenty-server/src/engine/core-modules/workflow/dtos/submit-form-step-input.dto.tsindex 212a09351c2..0ab14d8dab0 100644--- a/packages/twenty-server/src/engine/core-modules/workflow/dtos/submit-form-step-input.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/workflow/dtos/submit-form-step-input.dto.ts@@ -2,15 +2,17 @@ import { Field, InputType } from '@nestjs/graphql';import graphqlTypeJson from 'graphql-type-json';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';+@InputType()export class SubmitFormStepInput {- @Field(() => String, {- description: 'Workflow version ID',+ @Field(() => UUIDScalarType, {+ description: 'Workflow step ID',nullable: false,})stepId: string;- @Field(() => String, {+ @Field(() => UUIDScalarType, {description: 'Workflow run ID',nullable: false,})diff --git a/packages/twenty-server/src/engine/core-modules/workflow/dtos/update-workflow-run-step-input.dto.ts b/packages/twenty-server/src/engine/core-modules/workflow/dtos/update-workflow-run-step-input.dto.tsindex ca432f06146..4da5a404559 100644--- a/packages/twenty-server/src/engine/core-modules/workflow/dtos/update-workflow-run-step-input.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/workflow/dtos/update-workflow-run-step-input.dto.ts@@ -2,11 +2,12 @@ import { Field, InputType } from '@nestjs/graphql';import graphqlTypeJson from 'graphql-type-json';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { WorkflowAction } from 'src/modules/workflow/workflow-executor/workflow-actions/types/workflow-action.type';@InputType()export class UpdateWorkflowRunStepInput {- @Field(() => String, {+ @Field(() => UUIDScalarType, {description: 'Workflow run ID',nullable: false,})diff --git a/packages/twenty-server/src/engine/core-modules/workflow/dtos/update-workflow-version-step-input.dto.ts b/packages/twenty-server/src/engine/core-modules/workflow/dtos/update-workflow-version-step-input.dto.tsindex af8fb778f67..b4066484a93 100644--- a/packages/twenty-server/src/engine/core-modules/workflow/dtos/update-workflow-version-step-input.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/workflow/dtos/update-workflow-version-step-input.dto.ts@@ -2,11 +2,12 @@ import { Field, InputType } from '@nestjs/graphql';import graphqlTypeJson from 'graphql-type-json';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { WorkflowAction } from 'src/modules/workflow/workflow-executor/workflow-actions/types/workflow-action.type';@InputType()export class UpdateWorkflowVersionStepInput {- @Field(() => String, {+ @Field(() => UUIDScalarType, {description: 'Workflow version ID',nullable: false,})diff --git a/packages/twenty-server/src/engine/core-modules/workflow/resolvers/workflow-trigger.resolver.ts b/packages/twenty-server/src/engine/core-modules/workflow/resolvers/workflow-trigger.resolver.tsindex 813502bfc81..a1a1186ae09 100644--- a/packages/twenty-server/src/engine/core-modules/workflow/resolvers/workflow-trigger.resolver.ts+++ b/packages/twenty-server/src/engine/core-modules/workflow/resolvers/workflow-trigger.resolver.ts@@ -1,6 +1,7 @@import { UseFilters, UseGuards, UsePipes } from '@nestjs/common';import { Args, Mutation, Resolver } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { buildCreatedByFromFullNameMetadata } from 'src/engine/core-modules/actor/utils/build-created-by-from-full-name-metadata.util';import { PreventNestToAutoLogGraphqlErrorsFilter } from 'src/engine/core-modules/graphql/filters/prevent-nest-to-auto-log-graphql-errors.filter';import { ResolverValidationPipe } from 'src/engine/core-modules/graphql/pipes/resolver-validation.pipe';@@ -40,7 +41,8 @@ export class WorkflowTriggerResolver {@Mutation(() => Boolean)async activateWorkflowVersion(- @Args('workflowVersionId') workflowVersionId: string,+ @Args('workflowVersionId', { type: () => UUIDScalarType })+ workflowVersionId: string,) {return await this.workflowTriggerWorkspaceService.activateWorkflowVersion(workflowVersionId,@@ -49,7 +51,8 @@ export class WorkflowTriggerResolver {@Mutation(() => Boolean)async deactivateWorkflowVersion(- @Args('workflowVersionId') workflowVersionId: string,+ @Args('workflowVersionId', { type: () => UUIDScalarType })+ workflowVersionId: string,) {return await this.workflowTriggerWorkspaceService.deactivateWorkflowVersion(workflowVersionId,diff --git a/packages/twenty-server/src/engine/core-modules/workspace/dtos/public-workspace-data-output.ts b/packages/twenty-server/src/engine/core-modules/workspace/dtos/public-workspace-data-output.tsindex 720420b9e18..8ec296cc0c6 100644--- a/packages/twenty-server/src/engine/core-modules/workspace/dtos/public-workspace-data-output.ts+++ b/packages/twenty-server/src/engine/core-modules/workspace/dtos/public-workspace-data-output.ts@@ -1,15 +1,16 @@-import { ObjectType, Field } from '@nestjs/graphql';+import { Field, ObjectType } from '@nestjs/graphql';-import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import {IdentityProviderType,SSOIdentityProviderStatus,} from 'src/engine/core-modules/sso/workspace-sso-identity-provider.entity';import { WorkspaceUrls } from 'src/engine/core-modules/workspace/dtos/workspace-urls.dto';+import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity';@ObjectType()export class SSOIdentityProvider {- @Field(() => String)+ @Field(() => UUIDScalarType)id: string;@Field(() => String)@@ -45,7 +46,7 @@ export class AuthProviders {@ObjectType()export class PublicWorkspaceDataOutput {- @Field(() => String)+ @Field(() => UUIDScalarType)id: string;@Field(() => AuthProviders)diff --git a/packages/twenty-server/src/engine/core-modules/workspace/dtos/update-workspace-input.ts b/packages/twenty-server/src/engine/core-modules/workspace/dtos/update-workspace-input.tsindex b8af268fc73..d46d5778f21 100644--- a/packages/twenty-server/src/engine/core-modules/workspace/dtos/update-workspace-input.ts+++ b/packages/twenty-server/src/engine/core-modules/workspace/dtos/update-workspace-input.ts@@ -9,6 +9,8 @@ import {Matches,} from 'class-validator';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';+@InputType()export class UpdateWorkspaceInput {@Field({ nullable: true })@@ -186,7 +188,7 @@ export class UpdateWorkspaceInput {@IsOptional()isPasswordAuthEnabled?: boolean;- @Field({ nullable: true })+ @Field(() => UUIDScalarType, { nullable: true })@IsUUID()@IsOptional()defaultRoleId?: string;diff --git a/packages/twenty-server/src/engine/core-modules/workspace/dtos/workspace-subdomain-id.dto.ts b/packages/twenty-server/src/engine/core-modules/workspace/dtos/workspace-subdomain-id.dto.tsindex 18c7f84e71a..3fcd1c3ed20 100644--- a/packages/twenty-server/src/engine/core-modules/workspace/dtos/workspace-subdomain-id.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/workspace/dtos/workspace-subdomain-id.dto.ts@@ -1,5 +1,6 @@import { Field, ObjectType } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { WorkspaceUrls } from 'src/engine/core-modules/workspace/dtos/workspace-urls.dto';@ObjectType()@@ -7,6 +8,6 @@ export class WorkspaceUrlsAndId {@Field(() => WorkspaceUrls)workspaceUrls: WorkspaceUrls;- @Field()+ @Field(() => UUIDScalarType)id: string;}diff --git a/packages/twenty-server/src/engine/metadata-modules/agent/agent-chat.resolver.ts b/packages/twenty-server/src/engine/metadata-modules/agent/agent-chat.resolver.tsindex 994e75c4ea3..63d9b633e5e 100644--- a/packages/twenty-server/src/engine/metadata-modules/agent/agent-chat.resolver.ts+++ b/packages/twenty-server/src/engine/metadata-modules/agent/agent-chat.resolver.ts@@ -1,6 +1,7 @@import { UseGuards } from '@nestjs/common';import { Args, Mutation, Query, Resolver } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { FeatureFlagKey } from 'src/engine/core-modules/feature-flag/enums/feature-flag-key.enum';import { AuthUserWorkspaceId } from 'src/engine/decorators/auth/auth-user-workspace-id.decorator';import {@@ -22,7 +23,7 @@ export class AgentChatResolver {@Query(() => [AgentChatThreadDTO])@RequireFeatureFlag(FeatureFlagKey.IS_AI_ENABLED)async agentChatThreads(- @Args('agentId') agentId: string,+ @Args('agentId', { type: () => UUIDScalarType }) agentId: string,@AuthUserWorkspaceId() userWorkspaceId: string,) {return this.agentChatService.getThreadsForAgent(agentId, userWorkspaceId);@@ -31,7 +32,7 @@ export class AgentChatResolver {@Query(() => AgentChatThreadDTO)@RequireFeatureFlag(FeatureFlagKey.IS_AI_ENABLED)async agentChatThread(- @Args('id') id: string,+ @Args('id', { type: () => UUIDScalarType }) id: string,@AuthUserWorkspaceId() userWorkspaceId: string,) {return this.agentChatService.getThreadById(id, userWorkspaceId);@@ -40,7 +41,7 @@ export class AgentChatResolver {@Query(() => [AgentChatMessageDTO])@RequireFeatureFlag(FeatureFlagKey.IS_AI_ENABLED)async agentChatMessages(- @Args('threadId') threadId: string,+ @Args('threadId', { type: () => UUIDScalarType }) threadId: string,@AuthUserWorkspaceId() userWorkspaceId: string,) {return this.agentChatService.getMessagesForThread(diff --git a/packages/twenty-server/src/engine/metadata-modules/agent/dtos/remove-agent-handoff.input.ts b/packages/twenty-server/src/engine/metadata-modules/agent/dtos/remove-agent-handoff.input.tsindex 8cfbf1224e1..0787d011521 100644--- a/packages/twenty-server/src/engine/metadata-modules/agent/dtos/remove-agent-handoff.input.ts+++ b/packages/twenty-server/src/engine/metadata-modules/agent/dtos/remove-agent-handoff.input.ts@@ -1,10 +1,12 @@import { Field, InputType } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';+@InputType()export class RemoveAgentHandoffInput {- @Field()+ @Field(() => UUIDScalarType)fromAgentId: string;- @Field()+ @Field(() => UUIDScalarType)toAgentId: string;}diff --git a/packages/twenty-server/src/engine/metadata-modules/field-metadata/dtos/create-field.input.ts b/packages/twenty-server/src/engine/metadata-modules/field-metadata/dtos/create-field.input.tsindex 20fa00948e9..98074fa072c 100644--- a/packages/twenty-server/src/engine/metadata-modules/field-metadata/dtos/create-field.input.ts+++ b/packages/twenty-server/src/engine/metadata-modules/field-metadata/dtos/create-field.input.ts@@ -6,6 +6,7 @@ import GraphQLJSON from 'graphql-type-json';import { RelationType } from 'src/engine/metadata-modules/field-metadata/interfaces/relation-type.interface';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { FieldMetadataDTO } from 'src/engine/metadata-modules/field-metadata/dtos/field-metadata.dto';export type RelationCreationPayload = {@@ -21,7 +22,7 @@ export class CreateFieldInput extends OmitType(InputType,) {@IsUUID()- @Field()+ @Field(() => UUIDScalarType)objectMetadataId: string;@Field(() => Boolean, { nullable: true })diff --git a/packages/twenty-server/src/engine/metadata-modules/object-metadata/dtos/object-metadata.dto.ts b/packages/twenty-server/src/engine/metadata-modules/object-metadata/dtos/object-metadata.dto.tsindex 26cb857018a..855e504c2c0 100644--- a/packages/twenty-server/src/engine/metadata-modules/object-metadata/dtos/object-metadata.dto.ts+++ b/packages/twenty-server/src/engine/metadata-modules/object-metadata/dtos/object-metadata.dto.ts@@ -35,7 +35,7 @@ export class ObjectMetadataDTO {@IDField(() => UUIDScalarType)id: string;- @Field()+ @Field(() => UUIDScalarType)dataSourceId: string;@Field()@@ -86,10 +86,10 @@ export class ObjectMetadataDTO {@Field()updatedAt: Date;- @Field(() => String, { nullable: true })+ @Field(() => UUIDScalarType, { nullable: true })labelIdentifierFieldMetadataId?: string | null;- @Field(() => String, { nullable: true })+ @Field(() => UUIDScalarType, { nullable: true })imageIdentifierFieldMetadataId?: string | null;@Field()diff --git a/packages/twenty-server/src/engine/metadata-modules/object-metadata/dtos/update-object.input.ts b/packages/twenty-server/src/engine/metadata-modules/object-metadata/dtos/update-object.input.tsindex 1d887c6ead7..38a450f27ce 100644--- a/packages/twenty-server/src/engine/metadata-modules/object-metadata/dtos/update-object.input.ts+++ b/packages/twenty-server/src/engine/metadata-modules/object-metadata/dtos/update-object.input.ts@@ -61,12 +61,12 @@ export class UpdateObjectPayload {@IsUUID()@IsOptional()- @Field({ nullable: true })+ @Field(() => UUIDScalarType, { nullable: true })labelIdentifierFieldMetadataId?: string;@IsUUID()@IsOptional()- @Field({ nullable: true })+ @Field(() => UUIDScalarType, { nullable: true })imageIdentifierFieldMetadataId?: string;@IsBoolean()diff --git a/packages/twenty-server/src/engine/metadata-modules/object-permission/dtos/field-permission.dto.ts b/packages/twenty-server/src/engine/metadata-modules/object-permission/dtos/field-permission.dto.tsindex f123759784c..f4b6d032eb2 100644--- a/packages/twenty-server/src/engine/metadata-modules/object-permission/dtos/field-permission.dto.ts+++ b/packages/twenty-server/src/engine/metadata-modules/object-permission/dtos/field-permission.dto.ts@@ -1,17 +1,19 @@import { Field, ObjectType } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';+@ObjectType('FieldPermission')export class FieldPermissionDTO {- @Field({ nullable: false })+ @Field(() => UUIDScalarType, { nullable: false })id: string;- @Field({ nullable: false })+ @Field(() => UUIDScalarType, { nullable: false })objectMetadataId: string;- @Field({ nullable: false })+ @Field(() => UUIDScalarType, { nullable: false })fieldMetadataId: string;- @Field({ nullable: false })+ @Field(() => UUIDScalarType, { nullable: false })roleId: string;@Field(() => Boolean, { nullable: true })diff --git a/packages/twenty-server/src/engine/metadata-modules/object-permission/dtos/object-permission.dto.ts b/packages/twenty-server/src/engine/metadata-modules/object-permission/dtos/object-permission.dto.tsindex 92d0d415836..7de73d1e2dc 100644--- a/packages/twenty-server/src/engine/metadata-modules/object-permission/dtos/object-permission.dto.ts+++ b/packages/twenty-server/src/engine/metadata-modules/object-permission/dtos/object-permission.dto.ts@@ -3,9 +3,11 @@ import { Field, ObjectType } from '@nestjs/graphql';import GraphQLJSON from 'graphql-type-json';import { RestrictedFields } from 'twenty-shared/types';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';+@ObjectType('ObjectPermission')export class ObjectPermissionDTO {- @Field({ nullable: false })+ @Field(() => UUIDScalarType, { nullable: false })objectMetadataId: string;@Field({ nullable: true })diff --git a/packages/twenty-server/src/engine/metadata-modules/object-permission/dtos/upsert-field-permissions.input.ts b/packages/twenty-server/src/engine/metadata-modules/object-permission/dtos/upsert-field-permissions.input.tsindex b0459918ad7..869ea14495a 100644--- a/packages/twenty-server/src/engine/metadata-modules/object-permission/dtos/upsert-field-permissions.input.ts+++ b/packages/twenty-server/src/engine/metadata-modules/object-permission/dtos/upsert-field-permissions.input.ts@@ -9,11 +9,13 @@ import {IsUUID,} from 'class-validator';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';+@InputType()export class UpsertFieldPermissionsInput {@IsUUID()@IsNotEmpty()- @Field()+ @Field(() => UUIDScalarType)roleId: string;@IsArray()@@ -27,12 +29,12 @@ export class UpsertFieldPermissionsInput {export class FieldPermissionInput {@IsUUID()@IsNotEmpty()- @Field()+ @Field(() => UUIDScalarType)objectMetadataId: string;@IsUUID()@IsNotEmpty()- @Field()+ @Field(() => UUIDScalarType)fieldMetadataId: string;@IsBoolean()diff --git a/packages/twenty-server/src/engine/metadata-modules/object-permission/dtos/upsert-object-permissions.input.ts b/packages/twenty-server/src/engine/metadata-modules/object-permission/dtos/upsert-object-permissions.input.tsindex 74748df3206..8f638d054b5 100644--- a/packages/twenty-server/src/engine/metadata-modules/object-permission/dtos/upsert-object-permissions.input.ts+++ b/packages/twenty-server/src/engine/metadata-modules/object-permission/dtos/upsert-object-permissions.input.ts@@ -9,11 +9,13 @@ import {IsUUID,} from 'class-validator';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';+@InputType()export class UpsertObjectPermissionsInput {@IsUUID()@IsNotEmpty()- @Field()+ @Field(() => UUIDScalarType)roleId: string;@IsArray()@@ -27,7 +29,7 @@ export class UpsertObjectPermissionsInput {export class ObjectPermissionInput {@IsUUID()@IsNotEmpty()- @Field()+ @Field(() => UUIDScalarType)objectMetadataId: string;@IsBoolean()diff --git a/packages/twenty-server/src/engine/metadata-modules/permission-flag/dtos/permission-flag.dto.ts b/packages/twenty-server/src/engine/metadata-modules/permission-flag/dtos/permission-flag.dto.tsindex 592f18c6eb7..19f9dc95a9d 100644--- a/packages/twenty-server/src/engine/metadata-modules/permission-flag/dtos/permission-flag.dto.ts+++ b/packages/twenty-server/src/engine/metadata-modules/permission-flag/dtos/permission-flag.dto.ts@@ -1,13 +1,14 @@import { Field, ObjectType } from '@nestjs/graphql';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { PermissionFlagType } from 'src/engine/metadata-modules/permissions/constants/permission-flag-type.constants';@ObjectType('PermissionFlag')export class PermissionFlagDTO {- @Field({ nullable: false })+ @Field(() => UUIDScalarType, { nullable: false })id: string;- @Field({ nullable: false })+ @Field(() => UUIDScalarType, { nullable: false })roleId: string;@Field({ nullable: false })diff --git a/packages/twenty-server/src/engine/metadata-modules/permission-flag/dtos/upsert-permission-flag-input.ts b/packages/twenty-server/src/engine/metadata-modules/permission-flag/dtos/upsert-permission-flag-input.tsindex f84b8b3d966..27eb584645a 100644--- a/packages/twenty-server/src/engine/metadata-modules/permission-flag/dtos/upsert-permission-flag-input.ts+++ b/packages/twenty-server/src/engine/metadata-modules/permission-flag/dtos/upsert-permission-flag-input.ts@@ -2,13 +2,14 @@ import { Field, InputType } from '@nestjs/graphql';import { IsArray, IsEnum, IsNotEmpty, IsUUID } from 'class-validator';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { PermissionFlagType } from 'src/engine/metadata-modules/permissions/constants/permission-flag-type.constants';@InputType()export class UpsertPermissionFlagsInput {@IsUUID()@IsNotEmpty()- @Field()+ @Field(() => UUIDScalarType)roleId: string;@IsArray()diff --git a/packages/twenty-server/src/engine/metadata-modules/remote-server/dtos/remote-server.dto.ts b/packages/twenty-server/src/engine/metadata-modules/remote-server/dtos/remote-server.dto.tsindex 0b2e335de2b..538955faa51 100644--- a/packages/twenty-server/src/engine/metadata-modules/remote-server/dtos/remote-server.dto.ts+++ b/packages/twenty-server/src/engine/metadata-modules/remote-server/dtos/remote-server.dto.ts@@ -1,8 +1,9 @@-import { ObjectType, Field, HideField, ID } from '@nestjs/graphql';+import { Field, HideField, ObjectType } from '@nestjs/graphql';import { IsOptional } from 'class-validator';import GraphQLJSON from 'graphql-type-json';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { UserMappingOptionsDTO } from 'src/engine/metadata-modules/remote-server/dtos/user-mapping-dto';import {ForeignDataWrapperOptions,@@ -11,10 +12,10 @@ import {@ObjectType('RemoteServer')export class RemoteServerDTO<T extends RemoteServerType> {- @Field(() => ID)+ @Field(() => UUIDScalarType)id: string;- @Field(() => ID)+ @Field(() => UUIDScalarType)foreignDataWrapperId: string;@Field(() => String)diff --git a/packages/twenty-server/src/engine/metadata-modules/remote-server/dtos/update-remote-server.input.ts b/packages/twenty-server/src/engine/metadata-modules/remote-server/dtos/update-remote-server.input.tsindex 91a9cd62597..cde29e1ecd7 100644--- a/packages/twenty-server/src/engine/metadata-modules/remote-server/dtos/update-remote-server.input.ts+++ b/packages/twenty-server/src/engine/metadata-modules/remote-server/dtos/update-remote-server.input.ts@@ -3,6 +3,7 @@ import { Field, InputType } from '@nestjs/graphql';import { IsOptional } from 'class-validator';import GraphQLJSON from 'graphql-type-json';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import {ForeignDataWrapperOptions,RemoteServerType,@@ -14,7 +15,7 @@ import {@InputType()export class UpdateRemoteServerInput<T extends RemoteServerType> {- @Field(() => String)+ @Field(() => UUIDScalarType)id: string;@IsOptional()diff --git a/packages/twenty-server/src/engine/metadata-modules/remote-server/remote-table/dtos/remote-table-input.ts b/packages/twenty-server/src/engine/metadata-modules/remote-server/remote-table/dtos/remote-table-input.tsindex 47e8b419645..bd65e78f35a 100644--- a/packages/twenty-server/src/engine/metadata-modules/remote-server/remote-table/dtos/remote-table-input.ts+++ b/packages/twenty-server/src/engine/metadata-modules/remote-server/remote-table/dtos/remote-table-input.ts@@ -1,8 +1,10 @@-import { InputType, Field, ID } from '@nestjs/graphql';+import { Field, InputType } from '@nestjs/graphql';++import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';@InputType()export class RemoteTableInput {- @Field(() => ID)+ @Field(() => UUIDScalarType)remoteServerId: string;@Field(() => String)diff --git a/packages/twenty-server/src/engine/metadata-modules/role/dtos/role.dto.ts b/packages/twenty-server/src/engine/metadata-modules/role/dtos/role.dto.tsindex 3b527a3b07c..15f7d2c1f97 100644--- a/packages/twenty-server/src/engine/metadata-modules/role/dtos/role.dto.ts+++ b/packages/twenty-server/src/engine/metadata-modules/role/dtos/role.dto.ts@@ -2,6 +2,7 @@ import { Field, HideField, ObjectType } from '@nestjs/graphql';import { Relation } from 'typeorm';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { WorkspaceMember } from 'src/engine/core-modules/user/dtos/workspace-member.dto';import { ObjectPermissionDTO } from 'src/engine/metadata-modules/object-permission/dtos/object-permission.dto';import { PermissionFlagDTO } from 'src/engine/metadata-modules/permission-flag/dtos/permission-flag.dto';@@ -9,7 +10,7 @@ import { RoleTargetsEntity } from 'src/engine/metadata-modules/role/role-targets@ObjectType('Role')export class RoleDTO {- @Field({ nullable: false })+ @Field(() => UUIDScalarType, { nullable: false })id: string;@Field({ nullable: false })diff --git a/packages/twenty-server/src/engine/metadata-modules/role/role.resolver.ts b/packages/twenty-server/src/engine/metadata-modules/role/role.resolver.tsindex b443755e2a5..688ecf6c5eb 100644--- a/packages/twenty-server/src/engine/metadata-modules/role/role.resolver.ts+++ b/packages/twenty-server/src/engine/metadata-modules/role/role.resolver.ts@@ -75,8 +75,9 @@ export class RoleResolver {@UseGuards(UserAuthGuard)async updateWorkspaceMemberRole(@AuthWorkspace() workspace: Workspace,- @Args('workspaceMemberId') workspaceMemberId: string,- @Args('roleId', { type: () => String }) roleId: string,+ @Args('workspaceMemberId', { type: () => UUIDScalarType })+ workspaceMemberId: string,+ @Args('roleId', { type: () => UUIDScalarType }) roleId: string,@AuthWorkspaceMemberId()updatorWorkspaceMemberId: string,): Promise<WorkspaceMember> {@@ -149,7 +150,7 @@ export class RoleResolver {@Mutation(() => String)async deleteOneRole(@AuthWorkspace() workspace: Workspace,- @Args('roleId') roleId: string,+ @Args('roleId', { type: () => UUIDScalarType }) roleId: string,): Promise<string> {const deletedRoleId = await this.roleService.deleteRole(roleId,diff --git a/packages/twenty-server/src/engine/subscriptions/dtos/on-db-event.input.ts b/packages/twenty-server/src/engine/subscriptions/dtos/on-db-event.input.tsindex a38526ec469..4ff18e48393 100644--- a/packages/twenty-server/src/engine/subscriptions/dtos/on-db-event.input.ts+++ b/packages/twenty-server/src/engine/subscriptions/dtos/on-db-event.input.ts@@ -1,6 +1,7 @@import { Field, InputType } from '@nestjs/graphql';import { DatabaseEventAction } from 'src/engine/api/graphql/graphql-query-runner/enums/database-event-action';+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';@InputType()export class OnDbEventInput {@@ -10,6 +11,6 @@ export class OnDbEventInput {@Field(() => String, { nullable: true })objectNameSingular?: string;- @Field(() => String, { nullable: true })+ @Field(() => UUIDScalarType, { nullable: true })recordId?: string;}diff --git a/packages/twenty-server/test/integration/graphql/utils/create-custom-role-with-object-permissions.util.ts b/packages/twenty-server/test/integration/graphql/utils/create-custom-role-with-object-permissions.util.tsindex 6c90da1a632..b8617472f0d 100644--- a/packages/twenty-server/test/integration/graphql/utils/create-custom-role-with-object-permissions.util.ts+++ b/packages/twenty-server/test/integration/graphql/utils/create-custom-role-with-object-permissions.util.ts@@ -121,7 +121,7 @@ export const createCustomRoleWithObjectPermissions = async (options: {const upsertObjectPermissionsOperation = {query: gql`mutation UpsertObjectPermissions(- $roleId: String!+ $roleId: UUID!$objectPermissions: [ObjectPermissionInput!]!) {upsertObjectPermissions(diff --git a/packages/twenty-server/test/integration/graphql/utils/update-feature-flag-factory.util.ts b/packages/twenty-server/test/integration/graphql/utils/update-feature-flag-factory.util.tsindex 10bdbc5eb96..673952b96e1 100644--- a/packages/twenty-server/test/integration/graphql/utils/update-feature-flag-factory.util.ts+++ b/packages/twenty-server/test/integration/graphql/utils/update-feature-flag-factory.util.ts@@ -7,7 +7,7 @@ export const updateFeatureFlagFactory = () => ({query: gql`mutation UpdateWorkspaceFeatureFlag(- $workspaceId: String!+ $workspaceId: UUID!$featureFlag: String!$value: Boolean!) {diff --git a/packages/twenty-server/test/integration/graphql/utils/upsert-field-permissions-operation-factory.util.ts b/packages/twenty-server/test/integration/graphql/utils/upsert-field-permissions-operation-factory.util.tsindex cd7f0ca737a..a79e94e7bb7 100644--- a/packages/twenty-server/test/integration/graphql/utils/upsert-field-permissions-operation-factory.util.ts+++ b/packages/twenty-server/test/integration/graphql/utils/upsert-field-permissions-operation-factory.util.ts@@ -19,7 +19,7 @@ export const createUpsertFieldPermissionsOperation = () => ({query: gql`mutation UpsertFieldPermissions(- $roleId: String!+ $roleId: UUID!$fieldPermissions: [FieldPermissionInput!]!) {upsertFieldPermissions(diff --git a/packages/twenty-server/test/integration/graphql/utils/upsert-object-permission-operation-factory.util.ts b/packages/twenty-server/test/integration/graphql/utils/upsert-object-permission-operation-factory.util.tsindex fccd5f706eb..f473d31c36b 100644--- a/packages/twenty-server/test/integration/graphql/utils/upsert-object-permission-operation-factory.util.ts+++ b/packages/twenty-server/test/integration/graphql/utils/upsert-object-permission-operation-factory.util.ts@@ -19,7 +19,7 @@ export const createUpsertObjectPermissionsOperation = () => ({query: gql`mutation UpsertObjectPermissions(- $roleId: String!+ $roleId: UUID!$objectPermissions: [ObjectPermissionInput!]!) {upsertObjectPermissions(diff --git a/packages/twenty-server/test/integration/metadata/suites/object-metadata/__snapshots__/failing-update-one-object-metadata.integration-spec.ts.snap b/packages/twenty-server/test/integration/metadata/suites/object-metadata/__snapshots__/failing-update-one-object-metadata.integration-spec.ts.snapindex 93acdff0791..bef86fa84a2 100644--- a/packages/twenty-server/test/integration/metadata/suites/object-metadata/__snapshots__/failing-update-one-object-metadata.integration-spec.ts.snap+++ b/packages/twenty-server/test/integration/metadata/suites/object-metadata/__snapshots__/failing-update-one-object-metadata.integration-spec.ts.snap@@ -32,11 +32,14 @@ exports[`Object metadata update should fail when labelIdentifier is not a uuid 1[{"extensions": {- "code": "BAD_USER_INPUT",+ "code": "GRAPHQL_VALIDATION_FAILED",+ "http": {+ "status": 400,+ },"userFriendlyMessage": "An error occurred.",},- "message": "labelIdentifierFieldMetadataId must be a UUID",- "name": "UserInputError",+ "message": "Invalid UUID",+ "name": "ValidationError",},]`;