The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Move open-record-in to object metadata and member preference (#23614)
Félix Malfaitf663cd3c684e
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql b/packages/twenty-client-sdk/src/metadata/generated/schema.graphqlindex 35549ee0bdc..7694bb2c265 100644--- a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql@@ -343,6 +343,7 @@ type Object {isUICreatable: Boolean!isUIReadOnly: Boolean! @deprecated(reason: "Use isUIEditable")isSearchable: Boolean!+ openRecordIn: ObjectOpenRecordIn!applicationId: UUID!createdAt: DateTime!updatedAt: DateTime!@@ -369,6 +370,12 @@ type Object {): ObjectIndexMetadatasConnection!}+enum ObjectOpenRecordIn {+ SIDE_PANEL+ RECORD_PAGE+ USER_CHOICE+}+input CursorPaging {"""Paginate before opaque cursor"""before: ConnectionCursor@@ -436,6 +443,7 @@ type WorkspaceMember {name: FullName!userEmail: String!colorScheme: String!+ openRecordIn: OpenRecordIn!avatarUrl: Stringlocale: StringcalendarStartDay: Int@@ -447,6 +455,11 @@ type WorkspaceMember {numberFormat: WorkspaceMemberNumberFormatEnum}+enum OpenRecordIn {+ SIDE_PANEL+ RECORD_PAGE+}+"""Date format as Month first, Day first, Year first or system as default"""enum WorkspaceMemberDateFormatEnum {SYSTEM@@ -793,7 +806,7 @@ type View {position: Float!isCompact: Boolean!isCustom: Boolean!- openRecordIn: ViewOpenRecordIn!+ openRecordIn: ViewOpenRecordIn! @deprecated(reason: "Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend.")kanbanAggregateOperation: AggregateOperationskanbanAggregateOperationFieldMetadataId: UUIDmainGroupByFieldMetadataId: UUID@@ -3749,6 +3762,10 @@ input CreateViewInput {isCompact: Boolean = falseshouldHideEmptyGroups: Boolean = falsekanbanColumnWidth: Int++ """+ Deprecated: Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend.+ """openRecordIn: ViewOpenRecordIn = SIDE_PANELkanbanAggregateOperation: AggregateOperationskanbanAggregateOperationFieldMetadataId: UUID@@ -3767,6 +3784,10 @@ input UpdateViewInput {icon: Stringposition: FloatisCompact: Boolean++ """+ Deprecated: Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend.+ """openRecordIn: ViewOpenRecordInkanbanAggregateOperation: AggregateOperationskanbanAggregateOperationFieldMetadataId: UUID@@ -3809,6 +3830,10 @@ input UpsertViewWidgetViewSettingsInput {type: ViewTypemainGroupByFieldMetadataId: UUIDshouldHideEmptyGroups: Boolean++ """+ Deprecated: Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend.+ """openRecordIn: ViewOpenRecordInkanbanAggregateOperation: AggregateOperationskanbanAggregateOperationFieldMetadataId: UUID@@ -4182,6 +4207,7 @@ input UpdateObjectPayload {imageIdentifierFieldMetadataId: UUIDisLabelSyncedWithName: BooleanisSearchable: Boolean+ openRecordIn: ObjectOpenRecordIn}input CreateOneIndexInput {diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.ts b/packages/twenty-client-sdk/src/metadata/generated/schema.tsindex d9333e73ff9..ba8b76e5811 100644--- a/packages/twenty-client-sdk/src/metadata/generated/schema.ts+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.ts@@ -245,6 +245,7 @@ export interface Object {/** @deprecated Use isUIEditable */isUIReadOnly: Scalars['Boolean']isSearchable: Scalars['Boolean']+ openRecordIn: ObjectOpenRecordInapplicationId: Scalars['UUID']createdAt: Scalars['DateTime']updatedAt: Scalars['DateTime']@@ -260,6 +261,8 @@ export interface Object {__typename: 'Object'}+export type ObjectOpenRecordIn = 'SIDE_PANEL' | 'RECORD_PAGE' | 'USER_CHOICE'+export interface FullName {firstName: Scalars['String']lastName: Scalars['String']@@ -271,6 +274,7 @@ export interface WorkspaceMember {name: FullNameuserEmail: Scalars['String']colorScheme: Scalars['String']+ openRecordIn: OpenRecordInavatarUrl?: Scalars['String']locale?: Scalars['String']calendarStartDay?: Scalars['Int']@@ -283,6 +287,8 @@ export interface WorkspaceMember {__typename: 'WorkspaceMember'}+export type OpenRecordIn = 'SIDE_PANEL' | 'RECORD_PAGE'+/** Date format as Month first, Day first, Year first or system as default */export type WorkspaceMemberDateFormatEnum = 'SYSTEM' | 'MONTH_FIRST' | 'DAY_FIRST' | 'YEAR_FIRST'@@ -551,6 +557,7 @@ export interface View {position: Scalars['Float']isCompact: Scalars['Boolean']isCustom: Scalars['Boolean']+ /** @deprecated Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend. */openRecordIn: ViewOpenRecordInkanbanAggregateOperation?: AggregateOperationskanbanAggregateOperationFieldMetadataId?: Scalars['UUID']@@ -3394,6 +3401,7 @@ export interface ObjectGenqlSelection{/** @deprecated Use isUIEditable */isUIReadOnly?: boolean | numberisSearchable?: boolean | number+ openRecordIn?: boolean | numberapplicationId?: boolean | numbercreatedAt?: boolean | numberupdatedAt?: boolean | number@@ -3448,6 +3456,7 @@ export interface WorkspaceMemberGenqlSelection{name?: FullNameGenqlSelectionuserEmail?: boolean | numbercolorScheme?: boolean | number+ openRecordIn?: boolean | numberavatarUrl?: boolean | numberlocale?: boolean | numbercalendarStartDay?: boolean | number@@ -3719,6 +3728,7 @@ export interface ViewGenqlSelection{position?: boolean | numberisCompact?: boolean | numberisCustom?: boolean | number+ /** @deprecated Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend. */openRecordIn?: boolean | numberkanbanAggregateOperation?: boolean | numberkanbanAggregateOperationFieldMetadataId?: boolean | number@@ -6498,9 +6508,13 @@ export interface DestroyViewFilterInput {/** The id of the view filter to destroy. */id: Scalars['UUID']}-export interface CreateViewInput {id?: (Scalars['UUID'] | null),name: Scalars['String'],objectMetadataId: Scalars['UUID'],type?: (ViewType | null),key?: (ViewKey | null),icon: Scalars['String'],position?: (Scalars['Float'] | null),isCompact?: (Scalars['Boolean'] | null),shouldHideEmptyGroups?: (Scalars['Boolean'] | null),kanbanColumnWidth?: (Scalars['Int'] | null),openRecordIn?: (ViewOpenRecordIn | null),kanbanAggregateOperation?: (AggregateOperations | null),kanbanAggregateOperationFieldMetadataId?: (Scalars['UUID'] | null),anyFieldFilterValue?: (Scalars['String'] | null),calendarLayout?: (ViewCalendarLayout | null),calendarFieldMetadataId?: (Scalars['UUID'] | null),calendarEndFieldMetadataId?: (Scalars['UUID'] | null),mainGroupByFieldMetadataId?: (Scalars['UUID'] | null),visibility?: (ViewVisibility | null)}+export interface CreateViewInput {id?: (Scalars['UUID'] | null),name: Scalars['String'],objectMetadataId: Scalars['UUID'],type?: (ViewType | null),key?: (ViewKey | null),icon: Scalars['String'],position?: (Scalars['Float'] | null),isCompact?: (Scalars['Boolean'] | null),shouldHideEmptyGroups?: (Scalars['Boolean'] | null),kanbanColumnWidth?: (Scalars['Int'] | null),+/** Deprecated: Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend. */+openRecordIn?: (ViewOpenRecordIn | null),kanbanAggregateOperation?: (AggregateOperations | null),kanbanAggregateOperationFieldMetadataId?: (Scalars['UUID'] | null),anyFieldFilterValue?: (Scalars['String'] | null),calendarLayout?: (ViewCalendarLayout | null),calendarFieldMetadataId?: (Scalars['UUID'] | null),calendarEndFieldMetadataId?: (Scalars['UUID'] | null),mainGroupByFieldMetadataId?: (Scalars['UUID'] | null),visibility?: (ViewVisibility | null)}-export interface UpdateViewInput {id?: (Scalars['UUID'] | null),name?: (Scalars['String'] | null),type?: (ViewType | null),icon?: (Scalars['String'] | null),position?: (Scalars['Float'] | null),isCompact?: (Scalars['Boolean'] | null),openRecordIn?: (ViewOpenRecordIn | null),kanbanAggregateOperation?: (AggregateOperations | null),kanbanAggregateOperationFieldMetadataId?: (Scalars['UUID'] | null),anyFieldFilterValue?: (Scalars['String'] | null),calendarLayout?: (ViewCalendarLayout | null),calendarFieldMetadataId?: (Scalars['UUID'] | null),calendarEndFieldMetadataId?: (Scalars['UUID'] | null),visibility?: (ViewVisibility | null),mainGroupByFieldMetadataId?: (Scalars['UUID'] | null),shouldHideEmptyGroups?: (Scalars['Boolean'] | null),kanbanColumnWidth?: (Scalars['Int'] | null)}+export interface UpdateViewInput {id?: (Scalars['UUID'] | null),name?: (Scalars['String'] | null),type?: (ViewType | null),icon?: (Scalars['String'] | null),position?: (Scalars['Float'] | null),isCompact?: (Scalars['Boolean'] | null),+/** Deprecated: Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend. */+openRecordIn?: (ViewOpenRecordIn | null),kanbanAggregateOperation?: (AggregateOperations | null),kanbanAggregateOperationFieldMetadataId?: (Scalars['UUID'] | null),anyFieldFilterValue?: (Scalars['String'] | null),calendarLayout?: (ViewCalendarLayout | null),calendarFieldMetadataId?: (Scalars['UUID'] | null),calendarEndFieldMetadataId?: (Scalars['UUID'] | null),visibility?: (ViewVisibility | null),mainGroupByFieldMetadataId?: (Scalars['UUID'] | null),shouldHideEmptyGroups?: (Scalars['Boolean'] | null),kanbanColumnWidth?: (Scalars['Int'] | null)}export interface UpsertViewWidgetInput {/** The id of the view widget (page layout widget). */@@ -6518,7 +6532,9 @@ viewSorts?: (UpsertViewWidgetViewSortInput[] | null)}export interface UpsertViewWidgetViewSettingsInput {/** The layout type of the widget view. Only widget view types (TABLE_WIDGET, KANBAN_WIDGET, CALENDAR_WIDGET) are allowed. */-type?: (ViewType | null),mainGroupByFieldMetadataId?: (Scalars['UUID'] | null),shouldHideEmptyGroups?: (Scalars['Boolean'] | null),openRecordIn?: (ViewOpenRecordIn | null),kanbanAggregateOperation?: (AggregateOperations | null),kanbanAggregateOperationFieldMetadataId?: (Scalars['UUID'] | null),kanbanColumnWidth?: (Scalars['Int'] | null),calendarLayout?: (ViewCalendarLayout | null),calendarFieldMetadataId?: (Scalars['UUID'] | null),calendarEndFieldMetadataId?: (Scalars['UUID'] | null)}+type?: (ViewType | null),mainGroupByFieldMetadataId?: (Scalars['UUID'] | null),shouldHideEmptyGroups?: (Scalars['Boolean'] | null),+/** Deprecated: Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend. */+openRecordIn?: (ViewOpenRecordIn | null),kanbanAggregateOperation?: (AggregateOperations | null),kanbanAggregateOperationFieldMetadataId?: (Scalars['UUID'] | null),kanbanColumnWidth?: (Scalars['Int'] | null),calendarLayout?: (ViewCalendarLayout | null),calendarFieldMetadataId?: (Scalars['UUID'] | null),calendarEndFieldMetadataId?: (Scalars['UUID'] | null)}export interface UpsertViewWidgetViewFieldInput {/** The id of an existing view field to update. */@@ -6652,7 +6668,7 @@ export interface UpdateOneObjectInput {update: UpdateObjectPayload,/** The id of the object to update */id: Scalars['UUID']}-export interface UpdateObjectPayload {labelSingular?: (Scalars['String'] | null),labelPlural?: (Scalars['String'] | null),nameSingular?: (Scalars['String'] | null),namePlural?: (Scalars['String'] | null),description?: (Scalars['String'] | null),icon?: (Scalars['String'] | null),shortcut?: (Scalars['String'] | null),color?: (Scalars['String'] | null),isActive?: (Scalars['Boolean'] | null),labelIdentifierFieldMetadataId?: (Scalars['UUID'] | null),imageIdentifierFieldMetadataId?: (Scalars['UUID'] | null),isLabelSyncedWithName?: (Scalars['Boolean'] | null),isSearchable?: (Scalars['Boolean'] | null)}+export interface UpdateObjectPayload {labelSingular?: (Scalars['String'] | null),labelPlural?: (Scalars['String'] | null),nameSingular?: (Scalars['String'] | null),namePlural?: (Scalars['String'] | null),description?: (Scalars['String'] | null),icon?: (Scalars['String'] | null),shortcut?: (Scalars['String'] | null),color?: (Scalars['String'] | null),isActive?: (Scalars['Boolean'] | null),labelIdentifierFieldMetadataId?: (Scalars['UUID'] | null),imageIdentifierFieldMetadataId?: (Scalars['UUID'] | null),isLabelSyncedWithName?: (Scalars['Boolean'] | null),isSearchable?: (Scalars['Boolean'] | null),openRecordIn?: (ObjectOpenRecordIn | null)}export interface CreateOneIndexInput {/** The custom index to create */@@ -9120,6 +9136,17 @@ export const enumIndexType = {GIN: 'GIN' as const}+export const enumObjectOpenRecordIn = {+ SIDE_PANEL: 'SIDE_PANEL' as const,+ RECORD_PAGE: 'RECORD_PAGE' as const,+ USER_CHOICE: 'USER_CHOICE' as const+}++export const enumOpenRecordIn = {+ SIDE_PANEL: 'SIDE_PANEL' as const,+ RECORD_PAGE: 'RECORD_PAGE' as const+}+export const enumWorkspaceMemberDateFormatEnum = {SYSTEM: 'SYSTEM' as const,MONTH_FIRST: 'MONTH_FIRST' as const,diff --git a/packages/twenty-client-sdk/src/metadata/generated/types.ts b/packages/twenty-client-sdk/src/metadata/generated/types.tsindex 74c3681805c..a3a3038f7b3 100644--- a/packages/twenty-client-sdk/src/metadata/generated/types.ts+++ b/packages/twenty-client-sdk/src/metadata/generated/types.ts@@ -12,82 +12,84 @@ export default {23,25,27,- 30,+ 29,31,- 38,+ 32,39,40,- 43,+ 41,+ 42,45,- 53,+ 47,55,57,59,- 62,- 65,- 66,+ 61,+ 64,67,68,69,+ 70,71,- 72,+ 73,74,- 75,- 82,- 85,- 90,- 91,- 94,- 95,+ 76,+ 77,+ 84,+ 87,+ 92,+ 93,+ 96,97,- 100,- 101,- 109,- 123,- 129,- 130,+ 99,+ 102,+ 103,+ 111,+ 125,131,+ 132,133,- 141,- 144,- 162,- 165,+ 135,+ 143,+ 146,+ 164,167,- 171,- 178,- 179,- 186,- 189,- 192,- 204,- 221,+ 169,+ 173,+ 180,+ 181,+ 188,+ 191,+ 194,+ 206,223,- 236,- 242,- 276,+ 225,+ 238,+ 244,278,- 279,280,281,282,283,284,- 291,- 292,- 295,- 332,- 338,+ 285,+ 286,+ 293,+ 294,+ 297,+ 334,340,- 341,342,343,+ 344,345,347,- 360,- 367,- 374,- 375,- 507+ 349,+ 362,+ 369,+ 376,+ 377,+ 509],"types": {"BillingProductDTO": {@@ -101,13 +103,13 @@ export default {1],"metadata": [- 128+ 130],"on_BillingLicensedProduct": [- 137+ 139],"on_BillingMeteredProduct": [- 138+ 140],"__typename": [1@@ -173,7 +175,7 @@ export default {6],"role": [- 49+ 51],"__typename": [1@@ -568,10 +570,10 @@ export default {4],"relation": [- 222+ 224],"morphRelations": [- 222+ 224],"object": [28@@ -607,7 +609,7 @@ export default {6],"indexFieldMetadataList": [- 224+ 226],"__typename": [1@@ -666,6 +668,9 @@ export default {"isSearchable": [3],+ "openRecordIn": [+ 29+ ],"applicationId": [4],@@ -694,30 +699,30 @@ export default {26],"searchFieldMetadataList": [- 226+ 228],"fields": [- 233,+ 235,{"paging": [- 29,+ 30,"CursorPaging!"],"filter": [- 32,+ 33,"FieldFilter!"]}],"indexMetadatas": [- 231,+ 233,{"paging": [- 29,+ 30,"CursorPaging!"],"filter": [- 35,+ 36,"IndexFilter!"]}@@ -726,18 +731,19 @@ export default {1]},+ "ObjectOpenRecordIn": {},"CursorPaging": {"before": [- 31+ 32],"after": [- 31+ 32],"first": [- 30+ 31],"last": [- 30+ 31],"__typename": [1@@ -747,28 +753,28 @@ export default {"ConnectionCursor": {},"FieldFilter": {"and": [- 32+ 33],"or": [- 32+ 33],"id": [- 33+ 34],"isActive": [- 34+ 35],"isSystem": [- 34+ 35],"isUIEditable": [- 34+ 35],"isUIReadOnly": [- 34+ 35],"objectMetadataId": [- 33+ 34],"__typename": [1@@ -834,16 +840,16 @@ export default {},"IndexFilter": {"and": [- 35+ 36],"or": [- 35+ 36],"id": [- 33+ 34],"isCustom": [- 34+ 35],"__typename": [1@@ -865,7 +871,7 @@ export default {4],"name": [- 36+ 37],"userEmail": [1@@ -873,6 +879,9 @@ export default {"colorScheme": [1],+ "openRecordIn": [+ 39+ ],"avatarUrl": [1],@@ -880,30 +889,31 @@ export default {1],"calendarStartDay": [- 30+ 31],"timeZone": [1],"dateFormat": [- 38+ 40],"timeFormat": [- 39+ 41],"roles": [- 49+ 51],"userWorkspaceId": [4],"numberFormat": [- 40+ 42],"__typename": [1]},+ "OpenRecordIn": {},"WorkspaceMemberDateFormatEnum": {},"WorkspaceMemberTimeFormatEnum": {},"WorkspaceMemberNumberFormatEnum": {},@@ -938,7 +948,7 @@ export default {1],"logicalOperator": [- 43+ 45],"positionInRowLevelPermissionPredicateGroup": [16@@ -965,7 +975,7 @@ export default {1],"operand": [- 45+ 47],"subFieldName": [1@@ -1013,10 +1023,10 @@ export default {5],"rowLevelPermissionPredicates": [- 44+ 46],"rowLevelPermissionPredicateGroups": [- 42+ 44],"__typename": [1@@ -1082,13 +1092,13 @@ export default {3],"workspaceMembers": [- 37+ 38],"agents": [11],"apiKeys": [- 48+ 50],"canUpdateAllSettings": [3@@ -1109,19 +1119,19 @@ export default {3],"permissionFlags": [- 47+ 49],"objectPermissions": [- 46+ 48],"fieldPermissions": [- 41+ 43],"rowLevelPermissionPredicates": [- 44+ 46],"rowLevelPermissionPredicateGroups": [- 42+ 44],"__typename": [1@@ -1177,7 +1187,7 @@ export default {4],"defaultLogicFunctionRole": [- 49+ 51],"agents": [11@@ -1226,7 +1236,7 @@ export default {4],"user": [- 73+ 75],"userId": [4@@ -1244,16 +1254,16 @@ export default {6],"permissionFlags": [- 53+ 55],"objectPermissions": [- 46+ 48],"objectsPermissions": [- 46+ 48],"twoFactorAuthenticationMethodSummary": [- 51+ 53],"__typename": [1@@ -1277,7 +1287,7 @@ export default {16],"aggregateOperation": [- 55+ 57],"viewId": [4@@ -1316,7 +1326,7 @@ export default {4],"logicalOperator": [- 57+ 59],"positionInViewFilterGroup": [16@@ -1349,7 +1359,7 @@ export default {4],"operand": [- 59+ 61],"value": [5@@ -1426,7 +1436,7 @@ export default {4],"direction": [- 62+ 64],"subFieldName": [1@@ -1483,7 +1493,7 @@ export default {6],"viewFields": [- 54+ 56],"isOverridden": [3@@ -1503,10 +1513,10 @@ export default {4],"type": [- 65+ 67],"key": [- 66+ 68],"icon": [1@@ -1521,10 +1531,10 @@ export default {3],"openRecordIn": [- 67+ 69],"kanbanAggregateOperation": [- 55+ 57],"kanbanAggregateOperationFieldMetadataId": [4@@ -1536,7 +1546,7 @@ export default {3],"kanbanColumnWidth": [- 30+ 31],"calendarFieldMetadataId": [4@@ -1551,7 +1561,7 @@ export default {1],"calendarLayout": [- 68+ 70],"createdAt": [6@@ -1563,25 +1573,25 @@ export default {6],"viewFields": [- 54+ 56],"viewFilters": [- 58+ 60],"viewFilterGroups": [- 56+ 58],"viewSorts": [- 61+ 63],"viewGroups": [- 60+ 62],"viewFieldGroups": [- 63+ 65],"visibility": [- 69+ 71],"createdByUserWorkspaceId": [4@@ -1630,7 +1640,7 @@ export default {3],"workspaceDiscoverability": [- 71+ 73],"trashRetentionDays": [16@@ -1642,25 +1652,25 @@ export default {16],"activationStatus": [- 72+ 74],"views": [- 64+ 66],"viewFields": [- 54+ 56],"viewFilters": [- 58+ 60],"viewFilterGroups": [- 56+ 58],"viewGroups": [- 60+ 62],"viewSorts": [- 61+ 63],"metadataVersion": [16@@ -1705,7 +1715,7 @@ export default {1],"defaultRole": [- 49+ 51],"fastModel": [1@@ -1726,25 +1736,25 @@ export default {1],"workspaceCustomApplication": [- 50+ 52],"featureFlags": [- 170+ 172],"billingSubscriptions": [- 140+ 142],"installedApplications": [- 50+ 52],"currentBillingSubscription": [- 140+ 142],"billingCustomer": [- 142+ 144],"billingEntitlements": [- 235+ 237],"hasValidSignedEnterpriseKey": [3@@ -1753,7 +1763,7 @@ export default {3],"workspaceUrls": [- 172+ 174],"workspaceCustomApplicationId": [1@@ -1802,28 +1812,28 @@ export default {1],"workspaceMember": [- 37+ 38],"userWorkspaces": [- 52+ 54],"onboardingStatus": [- 74+ 76],"currentWorkspace": [- 70+ 72],"currentUserWorkspace": [- 52+ 54],"userVars": [- 75+ 77],"workspaceMembers": [- 37+ 38],"deletedWorkspaceMembers": [- 214+ 216],"hasPassword": [3@@ -1832,10 +1842,10 @@ export default {1],"workspaces": [- 52+ 54],"availableWorkspaces": [- 213+ 215],"__typename": [1@@ -1966,19 +1976,19 @@ export default {1],"type": [- 82+ 84],"objectMetadataId": [4],"gridPosition": [- 80+ 82],"position": [- 83+ 85],"configuration": [- 88+ 90],"conditionalDisplay": [5@@ -2008,13 +2018,13 @@ export default {"WidgetType": {},"PageLayoutWidgetPosition": {"on_PageLayoutWidgetGridPosition": [- 84+ 86],"on_PageLayoutWidgetVerticalListPosition": [- 86+ 88],"on_PageLayoutWidgetCanvasPosition": [- 87+ 89],"__typename": [1@@ -2022,19 +2032,19 @@ export default {},"PageLayoutWidgetGridPosition": {"layoutMode": [- 85+ 87],"row": [- 30+ 31],"column": [- 30+ 31],"rowSpan": [- 30+ 31],"columnSpan": [- 30+ 31],"__typename": [1@@ -2043,10 +2053,10 @@ export default {"PageLayoutTabLayoutMode": {},"PageLayoutWidgetVerticalListPosition": {"layoutMode": [- 85+ 87],"index": [- 30+ 31],"__typename": [1@@ -2054,7 +2064,7 @@ export default {},"PageLayoutWidgetCanvasPosition": {"layoutMode": [- 85+ 87],"__typename": [1@@ -2062,76 +2072,76 @@ export default {},"WidgetConfiguration": {"on_AggregateChartConfiguration": [- 89+ 91],"on_StandaloneRichTextConfiguration": [- 92+ 94],"on_PieChartConfiguration": [- 93+ 95],"on_LineChartConfiguration": [- 96+ 98],"on_IframeConfiguration": [- 98+ 100],"on_BarChartConfiguration": [- 99+ 101],"on_CalendarConfiguration": [- 102+ 104],"on_FrontComponentConfiguration": [- 103+ 105],"on_EmailsConfiguration": [- 104+ 106],"on_EmailThreadConfiguration": [- 105+ 107],"on_MessageCampaignBodyConfiguration": [- 106+ 108],"on_MessageCampaignDetailsConfiguration": [- 107+ 109],"on_FieldConfiguration": [- 108+ 110],"on_FieldRichTextConfiguration": [- 110+ 112],"on_FieldsConfiguration": [- 111+ 113],"on_FilesConfiguration": [- 112+ 114],"on_NotesConfiguration": [- 113+ 115],"on_TasksConfiguration": [- 114+ 116],"on_TimelineConfiguration": [- 115+ 117],"on_ViewConfiguration": [- 116+ 118],"on_RecordTableConfiguration": [- 117+ 119],"on_WorkflowConfiguration": [- 118+ 120],"on_WorkflowRunConfiguration": [- 119+ 121],"on_WorkflowVersionConfiguration": [- 120+ 122],"__typename": [1@@ -2139,13 +2149,13 @@ export default {},"AggregateChartConfiguration": {"configurationType": [- 90+ 92],"aggregateFieldMetadataId": [4],"aggregateOperation": [- 55+ 57],"label": [1@@ -2154,7 +2164,7 @@ export default {3],"numberFormat": [- 91+ 93],"description": [1@@ -2166,7 +2176,7 @@ export default {1],"firstDayOfTheWeek": [- 30+ 31],"prefix": [1@@ -2175,7 +2185,7 @@ export default {1],"ratioAggregateConfig": [- 78+ 80],"__typename": [1@@ -2185,10 +2195,10 @@ export default {"ChartNumberFormat": {},"StandaloneRichTextConfiguration": {"configurationType": [- 90+ 92],"body": [- 79+ 81],"__typename": [1@@ -2196,13 +2206,13 @@ export default {},"PieChartConfiguration": {"configurationType": [- 90+ 92],"aggregateFieldMetadataId": [4],"aggregateOperation": [- 55+ 57],"groupByFieldMetadataId": [4@@ -2211,10 +2221,10 @@ export default {1],"dateGranularity": [- 94+ 96],"orderBy": [- 95+ 97],"manualSortOrder": [1@@ -2232,7 +2242,7 @@ export default {3],"numberFormat": [- 91+ 93],"splitMultiValueFields": [3@@ -2250,7 +2260,7 @@ export default {1],"firstDayOfTheWeek": [- 30+ 31],"__typename": [1@@ -2260,13 +2270,13 @@ export default {"GraphOrderBy": {},"LineChartConfiguration": {"configurationType": [- 90+ 92],"aggregateFieldMetadataId": [4],"aggregateOperation": [- 55+ 57],"primaryAxisGroupByFieldMetadataId": [4@@ -2275,10 +2285,10 @@ export default {1],"primaryAxisDateGranularity": [- 94+ 96],"primaryAxisOrderBy": [- 95+ 97],"primaryAxisManualSortOrder": [1@@ -2290,10 +2300,10 @@ export default {1],"secondaryAxisGroupByDateGranularity": [- 94+ 96],"secondaryAxisOrderBy": [- 95+ 97],"secondaryAxisManualSortOrder": [1@@ -2305,7 +2315,7 @@ export default {3],"axisNameDisplay": [- 97+ 99],"displayDataLabel": [3@@ -2314,7 +2324,7 @@ export default {3],"numberFormat": [- 91+ 93],"rangeMin": [16@@ -2341,7 +2351,7 @@ export default {1],"firstDayOfTheWeek": [- 30+ 31],"__typename": [1@@ -2350,7 +2360,7 @@ export default {"AxisNameDisplay": {},"IframeConfiguration": {"configurationType": [- 90+ 92],"url": [1@@ -2361,13 +2371,13 @@ export default {},"BarChartConfiguration": {"configurationType": [- 90+ 92],"aggregateFieldMetadataId": [4],"aggregateOperation": [- 55+ 57],"primaryAxisGroupByFieldMetadataId": [4@@ -2376,10 +2386,10 @@ export default {1],"primaryAxisDateGranularity": [- 94+ 96],"primaryAxisOrderBy": [- 95+ 97],"primaryAxisManualSortOrder": [1@@ -2391,10 +2401,10 @@ export default {1],"secondaryAxisGroupByDateGranularity": [- 94+ 96],"secondaryAxisOrderBy": [- 95+ 97],"secondaryAxisManualSortOrder": [1@@ -2406,7 +2416,7 @@ export default {3],"axisNameDisplay": [- 97+ 99],"displayDataLabel": [3@@ -2415,7 +2425,7 @@ export default {3],"numberFormat": [- 91+ 93],"rangeMin": [16@@ -2433,10 +2443,10 @@ export default {5],"groupMode": [- 100+ 102],"layout": [- 101+ 103],"isCumulative": [3@@ -2445,7 +2455,7 @@ export default {1],"firstDayOfTheWeek": [- 30+ 31],"__typename": [1@@ -2455,7 +2465,7 @@ export default {"BarChartLayout": {},"CalendarConfiguration": {"configurationType": [- 90+ 92],"__typename": [1@@ -2463,7 +2473,7 @@ export default {},"FrontComponentConfiguration": {"configurationType": [- 90+ 92],"frontComponentId": [4@@ -2474,7 +2484,7 @@ export default {},"EmailsConfiguration": {"configurationType": [- 90+ 92],"__typename": [1@@ -2482,7 +2492,7 @@ export default {},"EmailThreadConfiguration": {"configurationType": [- 90+ 92],"__typename": [1@@ -2490,7 +2500,7 @@ export default {},"MessageCampaignBodyConfiguration": {"configurationType": [- 90+ 92],"__typename": [1@@ -2498,7 +2508,7 @@ export default {},"MessageCampaignDetailsConfiguration": {"configurationType": [- 90+ 92],"__typename": [1@@ -2506,13 +2516,13 @@ export default {},"FieldConfiguration": {"configurationType": [- 90+ 92],"fieldMetadataId": [1],"fieldDisplayMode": [- 109+ 111],"viewId": [1@@ -2524,7 +2534,7 @@ export default {"FieldDisplayMode": {},"FieldRichTextConfiguration": {"configurationType": [- 90+ 92],"__typename": [1@@ -2532,7 +2542,7 @@ export default {},"FieldsConfiguration": {"configurationType": [- 90+ 92],"viewId": [1@@ -2549,7 +2559,7 @@ export default {},"FilesConfiguration": {"configurationType": [- 90+ 92],"__typename": [1@@ -2557,7 +2567,7 @@ export default {},"NotesConfiguration": {"configurationType": [- 90+ 92],"__typename": [1@@ -2565,7 +2575,7 @@ export default {},"TasksConfiguration": {"configurationType": [- 90+ 92],"__typename": [1@@ -2573,7 +2583,7 @@ export default {},"TimelineConfiguration": {"configurationType": [- 90+ 92],"__typename": [1@@ -2581,7 +2591,7 @@ export default {},"ViewConfiguration": {"configurationType": [- 90+ 92],"__typename": [1@@ -2589,13 +2599,13 @@ export default {},"RecordTableConfiguration": {"configurationType": [- 90+ 92],"viewId": [1],"recordLimit": [- 30+ 31],"__typename": [1@@ -2603,7 +2613,7 @@ export default {},"WorkflowConfiguration": {"configurationType": [- 90+ 92],"__typename": [1@@ -2611,7 +2621,7 @@ export default {},"WorkflowRunConfiguration": {"configurationType": [- 90+ 92],"__typename": [1@@ -2619,7 +2629,7 @@ export default {},"WorkflowVersionConfiguration": {"configurationType": [- 90+ 92],"__typename": [1@@ -2642,13 +2652,13 @@ export default {4],"widgets": [- 81+ 83],"icon": [1],"layoutMode": [- 85+ 87],"createdAt": [6@@ -2677,13 +2687,13 @@ export default {1],"type": [- 123+ 125],"objectMetadataId": [4],"tabs": [- 121+ 123],"defaultTabToFocusOnMobileAndSidePanelId": [4@@ -2733,7 +2743,7 @@ export default {1],"oauth": [- 124+ 126],"__typename": [1@@ -2758,7 +2768,7 @@ export default {16],"items": [- 126+ 128],"__typename": [1@@ -2766,13 +2776,13 @@ export default {},"BillingProductMetadata": {"planKey": [- 129+ 131],"priceUsageBased": [- 130+ 132],"productKey": [- 131+ 133],"__typename": [1@@ -2783,7 +2793,7 @@ export default {"BillingProductKey": {},"BillingPriceLicensed": {"recurringInterval": [- 133+ 135],"unitAmount": [16@@ -2792,7 +2802,7 @@ export default {1],"priceUsageType": [- 130+ 132],"creditAmount": [16@@ -2818,16 +2828,16 @@ export default {},"BillingPriceMetered": {"tiers": [- 134+ 136],"recurringInterval": [- 133+ 135],"stripePriceId": [1],"priceUsageType": [- 130+ 132],"__typename": [1@@ -2844,7 +2854,7 @@ export default {1],"metadata": [- 128+ 130],"__typename": [1@@ -2861,10 +2871,10 @@ export default {1],"metadata": [- 128+ 130],"prices": [- 132+ 134],"__typename": [1@@ -2881,10 +2891,10 @@ export default {1],"metadata": [- 128+ 130],"prices": [- 135+ 137],"__typename": [1@@ -2915,13 +2925,13 @@ export default {4],"status": [- 141+ 143],"interval": [- 133+ 135],"billingSubscriptionItems": [- 139+ 141],"currentPeriodEnd": [6@@ -2930,7 +2940,7 @@ export default {5],"phases": [- 127+ 129],"cancelAt": [6@@ -2962,7 +2972,7 @@ export default {16],"status": [- 144+ 146],"error": [5@@ -3068,7 +3078,7 @@ export default {},"BillingEndTrialPeriod": {"status": [- 141+ 143],"hasPaymentMethod": [3@@ -3077,10 +3087,10 @@ export default {1],"currentBillingSubscription": [- 140+ 142],"billingSubscriptions": [- 140+ 142],"__typename": [1@@ -3088,7 +3098,7 @@ export default {},"BillingResourceCreditUsage": {"productKey": [- 131+ 133],"periodStart": [6@@ -3117,16 +3127,16 @@ export default {},"BillingPlan": {"planKey": [- 129+ 131],"baseProducts": [- 137+ 139],"resourceCreditProducts": [- 137+ 139],"meteredProducts": [- 138+ 140],"__typename": [1@@ -3153,10 +3163,10 @@ export default {},"BillingUpdate": {"currentBillingSubscription": [- 140+ 142],"billingSubscriptions": [- 140+ 142],"__typename": [1@@ -3206,7 +3216,7 @@ export default {1],"result": [- 158+ 160],"__typename": [1@@ -3243,7 +3253,7 @@ export default {4],"type": [- 162+ 164],"name": [1@@ -3276,7 +3286,7 @@ export default {6],"targetRecordIdentifier": [- 160+ 162],"__typename": [1@@ -3302,7 +3312,7 @@ export default {},"MetadataEvent": {"type": [- 165+ 167],"metadataName": [1@@ -3311,7 +3321,7 @@ export default {1],"properties": [- 163+ 165],"updatedCollectionHash": [1@@ -3323,7 +3333,7 @@ export default {"MetadataEventAction": {},"ObjectRecordEvent": {"action": [- 167+ 169],"objectNameSingular": [1@@ -3338,7 +3348,7 @@ export default {1],"properties": [- 163+ 165],"__typename": [1@@ -3350,7 +3360,7 @@ export default {1],"objectRecordEvent": [- 166+ 168],"__typename": [1@@ -3361,10 +3371,10 @@ export default {1],"objectRecordEventsWithQueryIds": [- 168+ 170],"metadataEvents": [- 164+ 166],"__typename": [1@@ -3372,7 +3382,7 @@ export default {},"FeatureFlag": {"key": [- 171+ 173],"value": [3@@ -3436,7 +3446,7 @@ export default {1],"count": [- 30+ 31],"__typename": [1@@ -3444,13 +3454,13 @@ export default {},"ApplicationRegistrationStats": {"activeInstalls": [- 30+ 31],"mostInstalledVersion": [1],"versionDistribution": [- 174+ 176],"__typename": [1@@ -3475,10 +3485,10 @@ export default {1],"type": [- 178+ 180],"status": [- 179+ 181],"issuer": [1@@ -3491,7 +3501,7 @@ export default {"SSOIdentityProviderStatus": {},"AuthProviders": {"sso": [- 177+ 179],"google": [3@@ -3528,10 +3538,10 @@ export default {4],"authProviders": [- 180+ 182],"authBypassProviders": [- 181+ 183],"logo": [1@@ -3540,7 +3550,7 @@ export default {1],"workspaceUrls": [- 172+ 174],"__typename": [1@@ -3579,7 +3589,7 @@ export default {1],"modelFamily": [- 186+ 188],"modelFamilyLabel": [1@@ -3594,7 +3604,7 @@ export default {16],"nativeCapabilities": [- 184+ 186],"isDeprecated": [3@@ -3633,7 +3643,7 @@ export default {1],"trialPeriods": [- 176+ 178],"__typename": [1@@ -3641,7 +3651,7 @@ export default {},"Support": {"supportDriver": [- 189+ 191],"supportFrontChatId": [1@@ -3667,7 +3677,7 @@ export default {},"Captcha": {"provider": [- 192+ 194],"siteKey": [1@@ -3701,10 +3711,10 @@ export default {},"PublicFeatureFlag": {"key": [- 171+ 173],"metadata": [- 194+ 196],"__typename": [1@@ -3729,13 +3739,13 @@ export default {1],"authProviders": [- 180+ 182],"billing": [- 187+ 189],"aiModels": [- 185+ 187],"signInPrefilled": [3@@ -3759,25 +3769,25 @@ export default {3],"support": [- 188+ 190],"isAttachmentPreviewEnabled": [3],"sentry": [- 190+ 192],"captcha": [- 191+ 193],"api": [- 193+ 195],"canManageFeatureFlags": [3],"publicFeatureFlags": [- 195+ 197],"isMicrosoftMessagingEnabled": [3@@ -3822,7 +3832,7 @@ export default {1],"maintenance": [- 196+ 198],"__typename": [1@@ -3873,7 +3883,7 @@ export default {},"CreateApplicationRegistration": {"applicationRegistration": [- 76+ 78],"clientSecret": [1@@ -3912,7 +3922,7 @@ export default {},"AppConnection": {"id": [- 204+ 206],"providerName": [1@@ -3964,7 +3974,7 @@ export default {4],"type": [- 178+ 180],"issuer": [1@@ -3973,7 +3983,7 @@ export default {1],"status": [- 179+ 181],"__typename": [1@@ -3992,7 +4002,7 @@ export default {},"FindAvailableSSOIDP": {"type": [- 178+ 180],"id": [4@@ -4004,10 +4014,10 @@ export default {1],"status": [- 179+ 181],"workspace": [- 208+ 210],"__typename": [1@@ -4018,7 +4028,7 @@ export default {4],"type": [- 178+ 180],"issuer": [1@@ -4027,7 +4037,7 @@ export default {1],"status": [- 179+ 181],"__typename": [1@@ -4035,7 +4045,7 @@ export default {},"SSOConnection": {"type": [- 178+ 180],"id": [4@@ -4047,7 +4057,7 @@ export default {1],"status": [- 179+ 181],"__typename": [1@@ -4070,13 +4080,13 @@ export default {1],"workspaceUrls": [- 172+ 174],"logo": [1],"sso": [- 211+ 213],"__typename": [1@@ -4084,10 +4094,10 @@ export default {},"AvailableWorkspaces": {"availableWorkspacesForSignIn": [- 212+ 214],"availableWorkspacesForSignUp": [- 212+ 214],"__typename": [1@@ -4098,7 +4108,7 @@ export default {4],"name": [- 36+ 37],"userEmail": [1@@ -4220,10 +4230,10 @@ export default {1],"objectPermissions": [- 216+ 218],"fieldPermissions": [- 217+ 219],"__typename": [1@@ -4291,7 +4301,7 @@ export default {1],"roles": [- 218+ 220],"manifest": [5@@ -4302,7 +4312,7 @@ export default {},"WorkspaceCompanyEnrichmentResult": {"outcome": [- 221+ 223],"enrichment": [5@@ -4314,7 +4324,7 @@ export default {"WorkspaceCompanyEnrichmentOutcome": {},"Relation": {"type": [- 223+ 225],"sourceObjectMetadata": [28@@ -4361,7 +4371,7 @@ export default {1],"totalCount": [- 30+ 31],"__typename": [1@@ -4395,7 +4405,7 @@ export default {28],"cursor": [- 31+ 32],"__typename": [1@@ -4409,10 +4419,10 @@ export default {3],"startCursor": [- 31+ 32],"endCursor": [- 31+ 32],"__typename": [1@@ -4420,10 +4430,10 @@ export default {},"ObjectConnection": {"pageInfo": [- 228+ 230],"edges": [- 227+ 229],"__typename": [1@@ -4434,7 +4444,7 @@ export default {26],"cursor": [- 31+ 32],"__typename": [1@@ -4442,10 +4452,10 @@ export default {},"ObjectIndexMetadatasConnection": {"pageInfo": [- 228+ 230],"edges": [- 230+ 232],"__typename": [1@@ -4456,7 +4466,7 @@ export default {24],"cursor": [- 31+ 32],"__typename": [1@@ -4464,10 +4474,10 @@ export default {},"ObjectFieldsConnection": {"pageInfo": [- 228+ 230],"edges": [- 232+ 234],"__typename": [1@@ -4475,10 +4485,10 @@ export default {},"FieldConnection": {"pageInfo": [- 228+ 230],"edges": [- 232+ 234],"__typename": [1@@ -4486,7 +4496,7 @@ export default {},"BillingEntitlement": {"key": [- 236+ 238],"value": [3@@ -4524,7 +4534,7 @@ export default {1],"records": [- 237+ 239],"isCustomDomainEnabled": [3@@ -4535,10 +4545,10 @@ export default {},"UpsertRowLevelPermissionPredicatesResult": {"predicates": [- 44+ 46],"predicateGroups": [- 42+ 44],"__typename": [1@@ -4563,7 +4573,7 @@ export default {1],"connectionSecurity": [- 242+ 244],"__typename": [1@@ -4572,13 +4582,13 @@ export default {"EmailConnectionSecurity": {},"PublicImapSmtpCaldavConnectionParameters": {"IMAP": [- 241+ 243],"SMTP": [- 241+ 243],"CALDAV": [- 241+ 243],"__typename": [1@@ -4634,7 +4644,7 @@ export default {6],"connectionParameters": [- 243+ 245],"__typename": [1@@ -4685,10 +4695,10 @@ export default {},"AvailableWorkspacesAndAccessTokens": {"tokens": [- 249+ 251],"availableWorkspaces": [- 213+ 215],"__typename": [1@@ -4726,7 +4736,7 @@ export default {},"WorkspaceUrlsAndId": {"workspaceUrls": [- 172+ 174],"id": [4@@ -4740,7 +4750,7 @@ export default {12],"workspace": [- 254+ 256],"__typename": [1@@ -4773,7 +4783,7 @@ export default {12],"workspaceUrls": [- 172+ 174],"__typename": [1@@ -4817,7 +4827,7 @@ export default {},"AuthTokens": {"tokens": [- 249+ 251],"__typename": [1@@ -4858,7 +4868,7 @@ export default {12],"workspace": [- 254+ 256],"__typename": [1@@ -4880,7 +4890,7 @@ export default {1],"dailyUsage": [- 267+ 269],"__typename": [1@@ -4888,16 +4898,16 @@ export default {},"UsageAnalytics": {"usageByUser": [- 198+ 200],"usageByOperationType": [- 198+ 200],"usageByModel": [- 198+ 200],"timeSeries": [- 267+ 269],"periodStart": [6@@ -4906,7 +4916,7 @@ export default {6],"userDailyUsage": [- 268+ 270],"__typename": [1@@ -5005,10 +5015,10 @@ export default {1],"status": [- 276+ 278],"verificationRecords": [- 274+ 276],"verifiedAt": [6@@ -5023,7 +5033,7 @@ export default {4],"visibility": [- 278+ 280],"handle": [1@@ -5032,16 +5042,16 @@ export default {1],"type": [- 279+ 281],"isContactAutoCreationEnabled": [3],"contactAutoCreationPolicy": [- 280+ 282],"messageFolderImportPolicy": [- 281+ 283],"excludeNonProfessionalEmails": [3@@ -5050,7 +5060,7 @@ export default {3],"pendingGroupEmailsAction": [- 282+ 284],"isSyncEnabled": [3@@ -5059,10 +5069,10 @@ export default {6],"syncStatus": [- 283+ 285],"syncStage": [- 284+ 286],"syncStageStartedAt": [6@@ -5083,7 +5093,7 @@ export default {6],"connectedAccount": [- 244+ 246],"__typename": [1@@ -5098,7 +5108,7 @@ export default {"MessageChannelSyncStage": {},"CreateEmailGroupChannelOutput": {"messageChannel": [- 277+ 279],"forwardingAddress": [1@@ -5109,22 +5119,22 @@ export default {},"CampaignAudiencePreviewDTO": {"totalMembers": [- 30+ 31],"withoutEmail": [- 30+ 31],"duplicateEmails": [- 30+ 31],"globallyUnsubscribed": [- 30+ 31],"topicUnsubscribed": [- 30+ 31],"sendable": [- 30+ 31],"__typename": [1@@ -5140,13 +5150,13 @@ export default {},"CampaignSkippedRecipientsDTO": {"noEmail": [- 30+ 31],"deduped": [- 30+ 31],"overCap": [- 30+ 31],"__typename": [1@@ -5157,10 +5167,10 @@ export default {1],"queuedCount": [- 30+ 31],"skipped": [- 288+ 290],"__typename": [1@@ -5177,10 +5187,10 @@ export default {1],"reason": [- 291+ 293],"source": [- 292+ 294],"unsubscribeTopicId": [4@@ -5193,10 +5203,10 @@ export default {"MessageSuppressionSource": {},"MessageSuppressionList": {"records": [- 290+ 292],"totalCount": [- 30+ 31],"__typename": [1@@ -5219,7 +5229,7 @@ export default {1],"visibility": [- 295+ 297],"__typename": [1@@ -5265,7 +5275,7 @@ export default {1],"location": [- 297+ 299],"__typename": [1@@ -5282,7 +5292,7 @@ export default {1],"connectionSecurity": [- 242+ 244],"__typename": [1@@ -5293,13 +5303,13 @@ export default {1],"IMAP": [- 299+ 301],"SMTP": [- 299+ 301],"CALDAV": [- 299+ 301],"__typename": [1@@ -5319,7 +5329,7 @@ export default {4],"connectionParameters": [- 300+ 302],"__typename": [1@@ -5402,7 +5412,7 @@ export default {4],"orderIndex": [- 30+ 31],"type": [1@@ -5541,7 +5551,7 @@ export default {1],"series": [- 309+ 311],"xAxisLabel": [1@@ -5556,10 +5566,10 @@ export default {3],"layout": [- 101+ 103],"groupMode": [- 100+ 102],"hasTooManyGroups": [3@@ -5590,7 +5600,7 @@ export default {1],"data": [- 311+ 313],"__typename": [1@@ -5598,7 +5608,7 @@ export default {},"LineChartData": {"series": [- 312+ 314],"xAxisLabel": [1@@ -5635,7 +5645,7 @@ export default {},"PieChartData": {"data": [- 314+ 316],"showLegend": [3@@ -5740,13 +5750,13 @@ export default {},"EventLogQueryResult": {"records": [- 319+ 321],"totalCount": [- 30+ 31],"pageInfo": [- 320+ 322],"__typename": [1@@ -5810,7 +5820,7 @@ export default {1],"parts": [- 305+ 307],"processedAt": [6@@ -5824,22 +5834,22 @@ export default {},"AgentChatThread": {"id": [- 204+ 206],"title": [1],"totalInputTokens": [- 30+ 31],"totalOutputTokens": [- 30+ 31],"contextWindowTokens": [- 30+ 31],"conversationSize": [- 30+ 31],"totalInputCredits": [16@@ -5871,7 +5881,7 @@ export default {1],"estimatedTokenCount": [- 30+ 31],"__typename": [1@@ -5879,10 +5889,10 @@ export default {},"AiSystemPromptPreview": {"sections": [- 325+ 327],"estimatedTokenCount": [- 30+ 31],"__typename": [1@@ -5904,10 +5914,10 @@ export default {5],"maxSeq": [- 30+ 31],"error": [- 327+ 329],"__typename": [1@@ -5940,10 +5950,10 @@ export default {},"StartWorkspaceSetupChatResult": {"outcome": [- 332+ 334],"thread": [- 324+ 326],"__typename": [1@@ -5958,7 +5968,7 @@ export default {4],"score": [- 30+ 31],"comment": [1@@ -5981,10 +5991,10 @@ export default {4],"evaluations": [- 333+ 335],"messages": [- 323+ 325],"createdAt": [6@@ -5995,13 +6005,13 @@ export default {},"WorkspaceAiStats": {"conversationsCount": [- 30+ 31],"skillsCount": [- 30+ 31],"toolsCount": [- 30+ 31],"__typename": [1@@ -6026,7 +6036,7 @@ export default {5],"scope": [- 338+ 340],"__typename": [1@@ -6041,19 +6051,19 @@ export default {1],"syncStatus": [- 340+ 342],"syncStage": [- 341+ 343],"visibility": [- 342+ 344],"isContactAutoCreationEnabled": [3],"contactAutoCreationPolicy": [- 343+ 345],"isSyncEnabled": [3@@ -6104,7 +6114,7 @@ export default {1],"pendingSyncAction": [- 345+ 347],"messageChannelId": [4@@ -6122,7 +6132,7 @@ export default {"MessageFolderPendingSyncAction": {},"CollectionHash": {"collectionName": [- 347+ 349],"hash": [1@@ -6172,10 +6182,10 @@ export default {4],"type": [- 65+ 67],"key": [- 66+ 68],"objectMetadataId": [4@@ -6186,13 +6196,13 @@ export default {},"MinimalMetadata": {"objectMetadataItems": [- 348+ 350],"views": [- 349+ 351],"collectionHashes": [- 346+ 348],"__typename": [1@@ -6200,10 +6210,10 @@ export default {},"Query": {"navigationMenuItems": [- 161+ 163],"navigationMenuItem": [- 161,+ 163,{"id": [4,@@ -6212,7 +6222,7 @@ export default {}],"applicationSdkClientChecksums": [- 77,+ 79,{"applicationId": [4,@@ -6246,10 +6256,10 @@ export default {}],"enterpriseSubscriptionStatus": [- 146+ 148],"getViewFilterGroups": [- 56,+ 58,{"viewId": [1@@ -6257,7 +6267,7 @@ export default {}],"getViewFilterGroup": [- 56,+ 58,{"id": [1,@@ -6266,7 +6276,7 @@ export default {}],"getViewFilters": [- 58,+ 60,{"viewId": [1@@ -6274,7 +6284,7 @@ export default {}],"getViewFilter": [- 58,+ 60,{"id": [1,@@ -6283,19 +6293,19 @@ export default {}],"getViews": [- 64,+ 66,{"objectMetadataId": [1],"viewTypes": [- 65,+ 67,"[ViewType!]"]}],"getView": [- 64,+ 66,{"id": [1,@@ -6304,7 +6314,7 @@ export default {}],"getViewSorts": [- 61,+ 63,{"viewId": [1@@ -6312,7 +6322,7 @@ export default {}],"getViewSort": [- 61,+ 63,{"id": [1,@@ -6321,7 +6331,7 @@ export default {}],"getViewFields": [- 54,+ 56,{"viewId": [1,@@ -6330,7 +6340,7 @@ export default {}],"getViewField": [- 54,+ 56,{"id": [1,@@ -6339,7 +6349,7 @@ export default {}],"getViewFieldGroups": [- 63,+ 65,{"viewId": [1,@@ -6348,7 +6358,7 @@ export default {}],"getViewFieldGroup": [- 63,+ 65,{"id": [1,@@ -6360,22 +6370,22 @@ export default {7],"getApiKeyRoles": [- 49+ 51],"apiKey": [7,{"input": [- 352,+ 354,"GetApiKeyInput!"]}],"getInviteSuggestions": [- 156+ 158],"applicationConnectionProviders": [- 125,+ 127,{"applicationId": [4,@@ -6384,7 +6394,7 @@ export default {}],"billingPortalSession": [- 154,+ 156,{"returnUrlPath": [1@@ -6395,19 +6405,19 @@ export default {}],"listPlans": [- 152+ 154],"getResourceCreditUsage": [- 151+ 153],"findWorkspaceInvitations": [- 158+ 160],"getApprovedAccessDomains": [- 147+ 149],"getPageLayoutTabs": [- 121,+ 123,{"pageLayoutId": [1,@@ -6416,7 +6426,7 @@ export default {}],"getPageLayoutTab": [- 121,+ 123,{"id": [1,@@ -6425,18 +6435,18 @@ export default {}],"getPageLayouts": [- 122,+ 124,{"objectMetadataId": [1],"pageLayoutType": [- 123+ 125]}],"getPageLayout": [- 122,+ 124,{"id": [1,@@ -6445,7 +6455,7 @@ export default {}],"getPageLayoutWidgets": [- 81,+ 83,{"pageLayoutTabId": [1,@@ -6454,7 +6464,7 @@ export default {}],"getPageLayoutWidget": [- 81,+ 83,{"id": [1,@@ -6469,13 +6479,13 @@ export default {11,{"input": [- 353,+ 355,"AgentIdInput!"]}],"objectRecordCounts": [- 225+ 227],"mostlyEmptyFieldMetadataIds": [4,@@ -6496,14 +6506,14 @@ export default {}],"objects": [- 229,+ 231,{"paging": [- 29,+ 30,"CursorPaging!"],"filter": [- 354,+ 356,"ObjectFilter!"]}@@ -6512,7 +6522,7 @@ export default {22,{"input": [- 355,+ 357,"LogicFunctionIdInput!"]}@@ -6524,7 +6534,7 @@ export default {5,{"input": [- 355,+ 357,"LogicFunctionIdInput!"]}@@ -6533,7 +6543,7 @@ export default {1,{"input": [- 355,+ 357,"LogicFunctionIdInput!"]}@@ -6563,10 +6573,10 @@ export default {}],"currentWorkspace": [- 70+ 72],"getPublicWorkspaceDataByDomain": [- 182,+ 184,{"origin": [1@@ -6574,7 +6584,7 @@ export default {}],"getPublicWorkspaceDataById": [- 183,+ 185,{"id": [4,@@ -6583,7 +6593,7 @@ export default {}],"findApplicationRegistrationByClientId": [- 201,+ 203,{"clientId": [1,@@ -6592,7 +6602,7 @@ export default {}],"findApplicationRegistrationByUniversalIdentifier": [- 76,+ 78,{"universalIdentifier": [1,@@ -6601,10 +6611,10 @@ export default {}],"findManyApplicationRegistrations": [- 76+ 78],"findOneApplicationRegistration": [- 76,+ 78,{"id": [1,@@ -6613,7 +6623,7 @@ export default {}],"findApplicationRegistrationStats": [- 175,+ 177,{"id": [1,@@ -6622,7 +6632,7 @@ export default {}],"findApplicationRegistrationVariables": [- 173,+ 175,{"applicationRegistrationId": [1,@@ -6640,7 +6650,7 @@ export default {}],"findClaimableApplicationRegistration": [- 199,+ 201,{"sourcePackage": [1@@ -6660,10 +6670,10 @@ export default {}],"findManyApplications": [- 50+ 52],"findOneApplication": [- 50,+ 52,{"id": [4@@ -6674,7 +6684,7 @@ export default {}],"findManyMarketplaceApps": [- 215,+ 217,{"universalIdentifiers": [1,@@ -6683,7 +6693,7 @@ export default {}],"findMarketplaceAppDetail": [- 219,+ 221,{"universalIdentifier": [1,@@ -6692,7 +6702,7 @@ export default {}],"publicMarketplaceApps": [- 215,+ 217,{"isVetted": [3,@@ -6701,7 +6711,7 @@ export default {}],"publicMarketplaceAppDetail": [- 219,+ 221,{"universalIdentifier": [1,@@ -6719,20 +6729,20 @@ export default {}],"fields": [- 234,+ 236,{"paging": [- 29,+ 30,"CursorPaging!"],"filter": [- 32,+ 33,"FieldFilter!"]}],"getViewGroups": [- 60,+ 62,{"viewId": [1@@ -6740,7 +6750,7 @@ export default {}],"getViewGroup": [- 60,+ 62,{"id": [1,@@ -6749,31 +6759,31 @@ export default {}],"getRoles": [- 49+ 51],"previewMessageCampaignAudience": [- 286,+ 288,{"input": [- 356,+ 358,"PreviewMessageCampaignAudienceInput!"]}],"messageSuppressions": [- 293,+ 295,{"input": [- 357,+ 359,"FindMessageSuppressionsInput!"]}],"unsubscribeTopics": [- 294+ 296],"myMessageChannels": [- 277,+ 279,{"connectedAccountId": [4@@ -6781,13 +6791,13 @@ export default {}],"getEmailingDomains": [- 275+ 277],"myConnectedAccounts": [- 244+ 246],"getToolIndex": [- 304+ 306],"getToolInputSchema": [5,@@ -6799,10 +6809,10 @@ export default {}],"webhooks": [- 303+ 305],"webhook": [- 303,+ 305,{"id": [4,@@ -6811,7 +6821,7 @@ export default {}],"myMessageFolders": [- 344,+ 346,{"messageChannelId": [4@@ -6819,7 +6829,7 @@ export default {}],"myCalendarChannels": [- 339,+ 341,{"connectedAccountId": [4@@ -6827,45 +6837,45 @@ export default {}],"minimalMetadata": [- 350+ 352],"appKeyValue": [- 337,+ 339,{"key": [1,"String!"],"scope": [- 338+ 340]}],"appConnections": [- 203,+ 205,{"filter": [- 358+ 360]}],"appConnection": [- 203,+ 205,{"id": [- 204,+ 206,"ID!"]}],"findWorkspaceAiStats": [- 335+ 337],"chatThreads": [- 324+ 326],"chatThread": [- 324,+ 326,{"id": [4,@@ -6874,7 +6884,7 @@ export default {}],"chatMessages": [- 323,+ 325,{"threadId": [4,@@ -6883,7 +6893,7 @@ export default {}],"chatStreamCatchupChunks": [- 328,+ 330,{"threadId": [4,@@ -6892,13 +6902,13 @@ export default {}],"getAiSystemPromptPreview": [- 326+ 328],"skills": [- 322+ 324],"skill": [- 322,+ 324,{"id": [4,@@ -6907,7 +6917,7 @@ export default {}],"agentTurns": [- 334,+ 336,{"agentId": [4,@@ -6916,7 +6926,7 @@ export default {}],"checkUserExists": [- 264,+ 266,{"email": [1,@@ -6928,7 +6938,7 @@ export default {}],"checkWorkspaceInviteHashIsValid": [- 265,+ 267,{"inviteHash": [1,@@ -6937,7 +6947,7 @@ export default {}],"findWorkspaceFromInviteHash": [- 70,+ 72,{"inviteHash": [1,@@ -6946,7 +6956,7 @@ export default {}],"checkWorkspaceSubdomainAvailability": [- 259,+ 261,{"subdomain": [1,@@ -6955,10 +6965,10 @@ export default {}],"getWorkspaceCreationDefaults": [- 260+ 262],"validatePasswordResetToken": [- 257,+ 259,{"passwordResetToken": [1,@@ -6967,49 +6977,49 @@ export default {}],"currentUser": [- 73+ 75],"getSSOIdentityProviders": [- 209+ 211],"eventLogs": [- 321,+ 323,{"input": [- 359,+ 361,"EventLogQueryInput!"]}],"pieChartData": [- 315,+ 317,{"input": [- 363,+ 365,"PieChartDataInput!"]}],"lineChartData": [- 313,+ 315,{"input": [- 364,+ 366,"LineChartDataInput!"]}],"barChartData": [- 310,+ 312,{"input": [- 365,+ 367,"BarChartDataInput!"]}],"getConnectedImapSmtpCaldavAccount": [- 301,+ 303,{"id": [4,@@ -7018,7 +7028,7 @@ export default {}],"getAutoCompleteAddress": [- 296,+ 298,{"address": [1,@@ -7037,7 +7047,7 @@ export default {}],"getAddressDetails": [- 298,+ 300,{"placeId": [1,@@ -7050,15 +7060,15 @@ export default {}],"getUsageAnalytics": [- 269,+ 271,{"input": [- 366+ 368]}],"findManyPublicDomains": [- 273+ 275],"__typename": [1@@ -7082,34 +7092,34 @@ export default {},"ObjectFilter": {"and": [- 354+ 356],"or": [- 354+ 356],"id": [- 33+ 34],"isRemote": [- 34+ 35],"isActive": [- 34+ 35],"isSystem": [- 34+ 35],"isUIEditable": [- 34+ 35],"isUICreatable": [- 34+ 35],"isUIReadOnly": [- 34+ 35],"isSearchable": [- 34+ 35],"__typename": [1@@ -7117,7 +7127,7 @@ export default {},"LogicFunctionIdInput": {"id": [- 204+ 206],"__typename": [1@@ -7136,7 +7146,7 @@ export default {},"FindMessageSuppressionsInput": {"reason": [- 291+ 293],"searchTerm": [1@@ -7145,10 +7155,10 @@ export default {4],"limit": [- 30+ 31],"offset": [- 30+ 31],"__typename": [1@@ -7170,13 +7180,13 @@ export default {},"EventLogQueryInput": {"table": [- 360+ 362],"filters": [- 361+ 363],"first": [- 30+ 31],"after": [1@@ -7194,7 +7204,7 @@ export default {1],"dateRange": [- 362+ 364],"recordId": [1@@ -7261,7 +7271,7 @@ export default {1],"operationTypes": [- 367+ 369],"__typename": [1@@ -7273,7 +7283,7 @@ export default {3,{"input": [- 369,+ 371,"AddQuerySubscriptionInput!"]}@@ -7282,49 +7292,49 @@ export default {3,{"input": [- 370,+ 372,"RemoveQueryFromEventStreamInput!"]}],"createManyNavigationMenuItems": [- 161,+ 163,{"inputs": [- 371,+ 373,"[CreateNavigationMenuItemInput!]!"]}],"createNavigationMenuItem": [- 161,+ 163,{"input": [- 371,+ 373,"CreateNavigationMenuItemInput!"]}],"updateManyNavigationMenuItems": [- 161,+ 163,{"inputs": [- 372,+ 374,"[UpdateOneNavigationMenuItemInput!]!"]}],"updateNavigationMenuItem": [- 161,+ 163,{"input": [- 372,+ 374,"UpdateOneNavigationMenuItemInput!"]}],"deleteManyNavigationMenuItems": [- 161,+ 163,{"ids": [4,@@ -7333,7 +7343,7 @@ export default {}],"deleteNavigationMenuItem": [- 161,+ 163,{"id": [4,@@ -7342,7 +7352,7 @@ export default {}],"createFileUpload": [- 149,+ 151,{"filename": [1,@@ -7353,7 +7363,7 @@ export default {"Float!"],"fileFolder": [- 374,+ 376,"FileFolder!"],"fieldMetadataId": [@@ -7365,7 +7375,7 @@ export default {}],"completeFileUpload": [- 148,+ 150,{"fileId": [1,@@ -7377,10 +7387,10 @@ export default {3],"releaseEnterpriseServerBinding": [- 145+ 147],"setEnterpriseKey": [- 145,+ 147,{"enterpriseKey": [1,@@ -7389,55 +7399,55 @@ export default {}],"uploadEmailAttachmentFile": [- 148,+ 150,{"file": [- 375,+ 377,"Upload!"]}],"uploadAiChatFile": [- 148,+ 150,{"file": [- 375,+ 377,"Upload!"]}],"uploadWorkflowFile": [- 148,+ 150,{"file": [- 375,+ 377,"Upload!"]}],"uploadWorkspaceLogo": [- 148,+ 150,{"file": [- 375,+ 377,"Upload!"]}],"uploadWorkspaceMemberProfilePicture": [- 148,+ 150,{"file": [- 375,+ 377,"Upload!"]}],"uploadFilesFieldFile": [- 148,+ 150,{"file": [- 375,+ 377,"Upload!"],"fieldMetadataId": [@@ -7447,10 +7457,10 @@ export default {}],"uploadFilesFieldFileByUniversalIdentifier": [- 148,+ 150,{"file": [- 375,+ 377,"Upload!"],"fieldMetadataUniversalIdentifier": [@@ -7460,23 +7470,23 @@ export default {}],"createViewFilterGroup": [- 56,+ 58,{"input": [- 376,+ 378,"CreateViewFilterGroupInput!"]}],"updateViewFilterGroup": [- 56,+ 58,{"id": [1,"String!"],"input": [- 377,+ 379,"UpdateViewFilterGroupInput!"]}@@ -7500,59 +7510,59 @@ export default {}],"createViewFilter": [- 58,+ 60,{"input": [- 378,+ 380,"CreateViewFilterInput!"]}],"updateViewFilter": [- 58,+ 60,{"input": [- 379,+ 381,"UpdateViewFilterInput!"]}],"deleteViewFilter": [- 58,+ 60,{"input": [- 381,+ 383,"DeleteViewFilterInput!"]}],"destroyViewFilter": [- 58,+ 60,{"input": [- 382,+ 384,"DestroyViewFilterInput!"]}],"createView": [- 64,+ 66,{"input": [- 383,+ 385,"CreateViewInput!"]}],"updateView": [- 64,+ 66,{"id": [1,"String!"],"input": [- 384,+ 386,"UpdateViewInput!"]}@@ -7576,28 +7586,28 @@ export default {}],"upsertViewWidget": [- 64,+ 66,{"input": [- 385,+ 387,"UpsertViewWidgetInput!"]}],"createViewSort": [- 61,+ 63,{"input": [- 391,+ 393,"CreateViewSortInput!"]}],"updateViewSort": [- 61,+ 63,{"input": [- 392,+ 394,"UpdateViewSortInput!"]}@@ -7606,7 +7616,7 @@ export default {3,{"input": [- 394,+ 396,"DeleteViewSortInput!"]}@@ -7615,106 +7625,106 @@ export default {3,{"input": [- 395,+ 397,"DestroyViewSortInput!"]}],"updateViewField": [- 54,+ 56,{"input": [- 396,+ 398,"UpdateViewFieldInput!"]}],"createViewField": [- 54,+ 56,{"input": [- 398,+ 400,"CreateViewFieldInput!"]}],"createManyViewFields": [- 54,+ 56,{"inputs": [- 398,+ 400,"[CreateViewFieldInput!]!"]}],"deleteViewField": [- 54,+ 56,{"input": [- 399,+ 401,"DeleteViewFieldInput!"]}],"destroyViewField": [- 54,+ 56,{"input": [- 400,+ 402,"DestroyViewFieldInput!"]}],"updateViewFieldGroup": [- 63,+ 65,{"input": [- 401,+ 403,"UpdateViewFieldGroupInput!"]}],"createViewFieldGroup": [- 63,+ 65,{"input": [- 403,+ 405,"CreateViewFieldGroupInput!"]}],"createManyViewFieldGroups": [- 63,+ 65,{"inputs": [- 403,+ 405,"[CreateViewFieldGroupInput!]!"]}],"deleteViewFieldGroup": [- 63,+ 65,{"input": [- 404,+ 406,"DeleteViewFieldGroupInput!"]}],"destroyViewFieldGroup": [- 63,+ 65,{"input": [- 405,+ 407,"DestroyViewFieldGroupInput!"]}],"upsertFieldsWidget": [- 64,+ 66,{"input": [- 406,+ 408,"UpsertFieldsWidgetInput!"]}@@ -7723,7 +7733,7 @@ export default {7,{"input": [- 409,+ 411,"CreateApiKeyInput!"]}@@ -7732,7 +7742,7 @@ export default {7,{"input": [- 410,+ 412,"UpdateApiKeyInput!"]}@@ -7741,7 +7751,7 @@ export default {7,{"input": [- 411,+ 413,"RevokeApiKeyInput!"]}@@ -7760,10 +7770,10 @@ export default {}],"skipSyncEmailOnboardingStep": [- 157+ 159],"triggerInstallAppsOnboardingStep": [- 157,+ 159,{"universalIdentifiers": [1,@@ -7789,14 +7799,14 @@ export default {}],"checkoutSession": [- 154,+ 156,{"recurringInterval": [- 133,+ 135,"SubscriptionInterval!"],"plan": [- 129,+ 131,"BillingPlanKey!"],"requirePaymentMethod": [@@ -7809,14 +7819,14 @@ export default {}],"createSubscriptionPaymentIntent": [- 153,+ 155,{"recurringInterval": [- 133,+ 135,"SubscriptionInterval!"],"plan": [- 129,+ 131,"BillingPlanKey!"],"requirePaymentMethod": [@@ -7833,22 +7843,22 @@ export default {}],"createBillingPaymentMethodSetupIntent": [- 153+ 155],"switchSubscriptionInterval": [- 155+ 157],"switchBillingPlan": [- 155+ 157],"cancelSwitchBillingPlan": [- 155+ 157],"cancelSwitchBillingInterval": [- 155+ 157],"setResourceCreditSubscriptionPrice": [- 155,+ 157,{"priceId": [1,@@ -7857,10 +7867,10 @@ export default {}],"endSubscriptionTrialPeriod": [- 150+ 152],"cancelSwitchResourceCreditPrice": [- 155+ 157],"deleteWorkspaceInvitation": [1,@@ -7872,7 +7882,7 @@ export default {}],"resendWorkspaceInvitation": [- 159,+ 161,{"appTokenId": [1,@@ -7881,7 +7891,7 @@ export default {}],"sendInvitations": [- 159,+ 161,{"emails": [1,@@ -7893,10 +7903,10 @@ export default {}],"createApprovedAccessDomain": [- 147,+ 149,{"input": [- 412,+ 414,"CreateApprovedAccessDomainInput!"]}@@ -7905,38 +7915,38 @@ export default {3,{"input": [- 413,+ 415,"DeleteApprovedAccessDomainInput!"]}],"validateApprovedAccessDomain": [- 147,+ 149,{"input": [- 414,+ 416,"ValidateApprovedAccessDomainInput!"]}],"createPageLayoutTab": [- 121,+ 123,{"input": [- 415,+ 417,"CreatePageLayoutTabInput!"]}],"updatePageLayoutTab": [- 121,+ 123,{"id": [1,"String!"],"input": [- 416,+ 418,"UpdatePageLayoutTabInput!"]}@@ -7951,23 +7961,23 @@ export default {}],"createPageLayout": [- 122,+ 124,{"input": [- 417,+ 419,"CreatePageLayoutInput!"]}],"updatePageLayout": [- 122,+ 124,{"id": [1,"String!"],"input": [- 418,+ 420,"UpdatePageLayoutInput!"]}@@ -7982,20 +7992,20 @@ export default {}],"updatePageLayoutWithTabsAndWidgets": [- 122,+ 124,{"id": [1,"String!"],"input": [- 419,+ 421,"UpdatePageLayoutWithTabsInput!"]}],"resetPageLayoutToDefault": [- 122,+ 124,{"id": [1,@@ -8004,7 +8014,7 @@ export default {}],"resetPageLayoutWidgetToDefault": [- 81,+ 83,{"id": [1,@@ -8013,7 +8023,7 @@ export default {}],"resetPageLayoutTabToDefault": [- 121,+ 123,{"id": [1,@@ -8022,23 +8032,23 @@ export default {}],"createPageLayoutWidget": [- 81,+ 83,{"input": [- 423,+ 425,"CreatePageLayoutWidgetInput!"]}],"updatePageLayoutWidget": [- 81,+ 83,{"id": [1,"String!"],"input": [- 424,+ 426,"UpdatePageLayoutWidgetInput!"]}@@ -8056,7 +8066,7 @@ export default {11,{"input": [- 425,+ 427,"CreateAgentInput!"]}@@ -8065,7 +8075,7 @@ export default {11,{"input": [- 426,+ 428,"UpdateAgentInput!"]}@@ -8074,7 +8084,7 @@ export default {11,{"input": [- 353,+ 355,"AgentIdInput!"]}@@ -8083,7 +8093,7 @@ export default {28,{"input": [- 427,+ 429,"CreateOneObjectInput!"]}@@ -8092,7 +8102,7 @@ export default {28,{"input": [- 429,+ 431,"DeleteOneObjectInput!"]}@@ -8101,7 +8111,7 @@ export default {28,{"input": [- 430,+ 432,"UpdateOneObjectInput!"]}@@ -8110,7 +8120,7 @@ export default {26,{"input": [- 432,+ 434,"CreateOneIndexInput!"]}@@ -8119,7 +8129,7 @@ export default {26,{"input": [- 435,+ 437,"DeleteOneIndexInput!"]}@@ -8128,7 +8138,7 @@ export default {22,{"input": [- 355,+ 357,"LogicFunctionIdInput!"]}@@ -8137,16 +8147,16 @@ export default {22,{"input": [- 436,+ 438,"CreateLogicFunctionFromSourceInput!"]}],"executeOneLogicFunction": [- 143,+ 145,{"input": [- 437,+ 439,"ExecuteOneLogicFunctionInput!"]}@@ -8155,7 +8165,7 @@ export default {3,{"input": [- 438,+ 440,"UpdateLogicFunctionFromSourceInput!"]}@@ -8164,7 +8174,7 @@ export default {15,{"input": [- 440,+ 442,"CreateCommandMenuItemInput!"]}@@ -8173,7 +8183,7 @@ export default {15,{"input": [- 441,+ 443,"UpdateCommandMenuItemInput!"]}@@ -8200,7 +8210,7 @@ export default {14,{"input": [- 442,+ 444,"CreateFrontComponentInput!"]}@@ -8209,7 +8219,7 @@ export default {14,{"input": [- 443,+ 445,"UpdateFrontComponentInput!"]}@@ -8224,31 +8234,31 @@ export default {}],"activateWorkspace": [- 70,+ 72,{"data": [- 445,+ 447,"ActivateWorkspaceInput!"]}],"updateWorkspace": [- 70,+ 72,{"data": [- 446,+ 448,"UpdateWorkspaceInput!"]}],"deleteCurrentWorkspace": [- 70+ 72],"checkCustomDomainValidRecords": [- 238+ 240],"enrichWorkspaceCompany": [- 220+ 222],"upgradeApplication": [3,@@ -8264,19 +8274,19 @@ export default {}],"createApplicationRegistration": [- 200,+ 202,{"input": [- 447,+ 449,"CreateApplicationRegistrationInput!"]}],"updateApplicationRegistration": [- 76,+ 78,{"input": [- 448,+ 450,"UpdateApplicationRegistrationInput!"]}@@ -8291,7 +8301,7 @@ export default {}],"rotateApplicationRegistrationClientSecret": [- 202,+ 204,{"id": [1,@@ -8303,7 +8313,7 @@ export default {2,{"input": [- 450,+ 452,"CreateApplicationRegistrationVariableInput!"]}@@ -8312,7 +8322,7 @@ export default {2,{"input": [- 451,+ 453,"UpdateApplicationRegistrationVariableInput!"]}@@ -8327,10 +8337,10 @@ export default {}],"uploadAppTarball": [- 76,+ 78,{"file": [- 375,+ 377,"Upload!"],"universalIdentifier": [@@ -8339,7 +8349,7 @@ export default {}],"claimApplicationRegistrationOwnership": [- 76,+ 78,{"applicationRegistrationId": [1,@@ -8348,7 +8358,7 @@ export default {}],"transferApplicationRegistrationOwnership": [- 76,+ 78,{"applicationRegistrationId": [1,@@ -8373,7 +8383,7 @@ export default {}],"installApplication": [- 50,+ 52,{"universalIdentifier": [1,@@ -8385,14 +8395,14 @@ export default {}],"updateApplication": [- 50,+ 52,{"id": [4,"UUID!"],"input": [- 453,+ 455,"UpdateApplicationInput!"]}@@ -8413,7 +8423,7 @@ export default {24,{"input": [- 454,+ 456,"CreateOneFieldMetadataInput!"]}@@ -8422,7 +8432,7 @@ export default {24,{"input": [- 456,+ 458,"UpdateOneFieldMetadataInput!"]}@@ -8431,67 +8441,67 @@ export default {24,{"input": [- 458,+ 460,"DeleteOneFieldInput!"]}],"createViewGroup": [- 60,+ 62,{"input": [- 459,+ 461,"CreateViewGroupInput!"]}],"createManyViewGroups": [- 60,+ 62,{"inputs": [- 459,+ 461,"[CreateViewGroupInput!]!"]}],"updateViewGroup": [- 60,+ 62,{"input": [- 460,+ 462,"UpdateViewGroupInput!"]}],"updateManyViewGroups": [- 60,+ 62,{"inputs": [- 460,+ 462,"[UpdateViewGroupInput!]!"]}],"deleteViewGroup": [- 60,+ 62,{"input": [- 462,+ 464,"DeleteViewGroupInput!"]}],"destroyViewGroup": [- 60,+ 62,{"input": [- 463,+ 465,"DestroyViewGroupInput!"]}],"updateWorkspaceMemberRole": [- 37,+ 38,{"workspaceMemberId": [4,@@ -8504,19 +8514,19 @@ export default {}],"createOneRole": [- 49,+ 51,{"createRoleInput": [- 464,+ 466,"CreateRoleInput!"]}],"updateOneRole": [- 49,+ 51,{"updateRoleInput": [- 465,+ 467,"UpdateRoleInput!"]}@@ -8531,37 +8541,37 @@ export default {}],"upsertObjectPermissions": [- 46,+ 48,{"upsertObjectPermissionsInput": [- 467,+ 469,"UpsertObjectPermissionsInput!"]}],"upsertPermissionFlags": [- 47,+ 49,{"upsertPermissionFlagsInput": [- 469,+ 471,"UpsertPermissionFlagsInput!"]}],"upsertFieldPermissions": [- 41,+ 43,{"upsertFieldPermissionsInput": [- 470,+ 472,"UpsertFieldPermissionsInput!"]}],"upsertRowLevelPermissionPredicates": [- 239,+ 241,{"input": [- 472,+ 474,"UpsertRowLevelPermissionPredicatesInput!"]}@@ -8589,46 +8599,46 @@ export default {}],"sendEmailViaEmailingDomain": [- 287,+ 289,{"input": [- 475,+ 477,"SendEmailViaDomainInput!"]}],"sendMessageCampaign": [- 289,+ 291,{"input": [- 476,+ 478,"SendMessageCampaignInput!"]}],"sendMessageCampaignTest": [- 287,+ 289,{"input": [- 477,+ 479,"SendMessageCampaignTestInput!"]}],"createUnsubscribeTopic": [- 294,+ 296,{"input": [- 478,+ 480,"CreateUnsubscribeTopicInput!"]}],"updateUnsubscribeTopic": [- 294,+ 296,{"input": [- 479,+ 481,"UpdateUnsubscribeTopicInput!"]}@@ -8643,34 +8653,34 @@ export default {}],"updateMessageChannel": [- 277,+ 279,{"input": [- 480,+ 482,"UpdateMessageChannelInput!"]}],"createEmailGroupChannel": [- 285,+ 287,{"input": [- 482,+ 484,"CreateEmailGroupChannelInput!"]}],"updateEmailGroupChannel": [- 277,+ 279,{"input": [- 483,+ 485,"UpdateEmailGroupChannelInput!"]}],"deleteEmailGroupChannel": [- 277,+ 279,{"id": [4,@@ -8679,10 +8689,10 @@ export default {}],"createEmailingDomain": [- 275,+ 277,{"input": [- 484,+ 486,"CreateEmailingDomainInput!"]}@@ -8697,7 +8707,7 @@ export default {}],"verifyEmailingDomain": [- 275,+ 277,{"id": [1,@@ -8706,7 +8716,7 @@ export default {}],"deleteConnectedAccount": [- 244,+ 246,{"id": [4,@@ -8715,34 +8725,34 @@ export default {}],"runAgent": [- 306,+ 308,{"input": [- 485,+ 487,"RunAgentInput!"]}],"createWebhook": [- 303,+ 305,{"input": [- 486,+ 488,"CreateWebhookInput!"]}],"updateWebhook": [- 303,+ 305,{"input": [- 487,+ 489,"UpdateWebhookInput!"]}],"deleteWebhook": [- 303,+ 305,{"id": [4,@@ -8751,37 +8761,37 @@ export default {}],"updateMessageFolder": [- 344,+ 346,{"input": [- 489,+ 491,"UpdateMessageFolderInput!"]}],"updateMessageFolders": [- 344,+ 346,{"input": [- 491,+ 493,"UpdateMessageFoldersInput!"]}],"updateCalendarChannel": [- 339,+ 341,{"input": [- 492,+ 494,"UpdateCalendarChannelInput!"]}],"setAppKeyValue": [- 337,+ 339,{"input": [- 494,+ 496,"SetAppKeyValueInput!"]}@@ -8794,24 +8804,24 @@ export default {"String!"],"scope": [- 338+ 340]}],"enqueueJob": [- 336,+ 338,{"input": [- 495,+ 497,"EnqueueJobInput!"]}],"createChatThread": [- 324+ 326],"sendChatMessage": [- 329,+ 331,{"threadId": [4,@@ -8832,13 +8842,13 @@ export default {1],"fileAttachments": [- 496,+ 498,"[FileAttachmentInput!]"]}],"retryChatMessage": [- 329,+ 331,{"threadId": [4,@@ -8850,7 +8860,7 @@ export default {}],"answerAgentChatQuestion": [- 329,+ 331,{"threadId": [4,@@ -8861,7 +8871,7 @@ export default {"UUID!"],"answers": [- 497,+ 499,"[AgentChatQuestionAnswerInput!]!"],"modelId": [@@ -8879,7 +8889,7 @@ export default {}],"renameChatThread": [- 324,+ 326,{"id": [4,@@ -8892,7 +8902,7 @@ export default {}],"archiveChatThread": [- 324,+ 326,{"id": [4,@@ -8901,7 +8911,7 @@ export default {}],"unarchiveChatThread": [- 324,+ 326,{"id": [4,@@ -8928,7 +8938,7 @@ export default {}],"startWorkspaceSetupChat": [- 331,+ 333,{"companyContext": [5@@ -8936,25 +8946,25 @@ export default {}],"createSkill": [- 322,+ 324,{"input": [- 498,+ 500,"CreateSkillInput!"]}],"updateSkill": [- 322,+ 324,{"input": [- 499,+ 501,"UpdateSkillInput!"]}],"deleteSkill": [- 322,+ 324,{"id": [4,@@ -8963,7 +8973,7 @@ export default {}],"activateSkill": [- 322,+ 324,{"id": [4,@@ -8972,7 +8982,7 @@ export default {}],"deactivateSkill": [- 322,+ 324,{"id": [4,@@ -8981,7 +8991,7 @@ export default {}],"evaluateAgentTurn": [- 333,+ 335,{"turnId": [4,@@ -8990,7 +9000,7 @@ export default {}],"runEvaluationInput": [- 334,+ 336,{"agentId": [4,@@ -9003,16 +9013,16 @@ export default {}],"getAuthorizationUrlForSSO": [- 252,+ 254,{"input": [- 500,+ 502,"GetAuthorizationUrlForSSOInput!"]}],"getLoginTokenFromCredentials": [- 263,+ 265,{"email": [1,@@ -9038,7 +9048,7 @@ export default {}],"signIn": [- 250,+ 252,{"email": [1,@@ -9060,7 +9070,7 @@ export default {}],"verifyEmailAndGetLoginToken": [- 258,+ 260,{"emailVerificationToken": [1,@@ -9080,7 +9090,7 @@ export default {}],"verifyEmailAndGetWorkspaceAgnosticToken": [- 250,+ 252,{"emailVerificationToken": [1,@@ -9096,7 +9106,7 @@ export default {}],"getAuthTokensFromOTP": [- 262,+ 264,{"otp": [1,@@ -9116,7 +9126,7 @@ export default {}],"signUp": [- 250,+ 252,{"email": [1,@@ -9138,7 +9148,7 @@ export default {}],"signUpInWorkspace": [- 255,+ 257,{"email": [1,@@ -9169,31 +9179,31 @@ export default {}],"signUpInNewWorkspace": [- 255,+ 257,{"input": [- 501+ 503]}],"uploadNewWorkspaceLogo": [- 148,+ 150,{"workspaceId": [1,"String!"],"file": [- 375,+ 377,"Upload!"]}],"generateTransientToken": [- 256+ 258],"getAuthTokensFromLoginToken": [- 262,+ 264,{"loginToken": [1,@@ -9206,7 +9216,7 @@ export default {}],"getAuthTokensFromSSOExchangeToken": [- 262,+ 264,{"ssoExchangeToken": [1,@@ -9215,7 +9225,7 @@ export default {}],"authorizeApp": [- 248,+ 250,{"clientId": [1,@@ -9237,7 +9247,7 @@ export default {}],"renewToken": [- 262,+ 264,{"appToken": [1,@@ -9246,7 +9256,7 @@ export default {}],"generateApiKeyToken": [- 261,+ 263,{"apiKeyId": [4,@@ -9262,7 +9272,7 @@ export default {12],"emailPasswordResetLink": [- 251,+ 253,{"email": [1,@@ -9274,7 +9284,7 @@ export default {}],"updatePasswordViaResetToken": [- 253,+ 255,{"passwordResetToken": [1,@@ -9287,7 +9297,7 @@ export default {}],"initiateOTPProvisioning": [- 246,+ 248,{"loginToken": [1,@@ -9300,10 +9310,10 @@ export default {}],"initiateOTPProvisioningForAuthenticatedUser": [- 246+ 248],"deleteTwoFactorAuthenticationMethod": [- 245,+ 247,{"twoFactorAuthenticationMethodId": [4,@@ -9312,7 +9322,7 @@ export default {}],"verifyTwoFactorAuthenticationMethodForAuthenticatedUser": [- 247,+ 249,{"otp": [1,@@ -9321,10 +9331,10 @@ export default {}],"deleteUser": [- 73+ 75],"deleteUserFromWorkspace": [- 52,+ 54,{"workspaceMemberIdToDelete": [1,@@ -9336,7 +9346,7 @@ export default {3,{"input": [- 502,+ 504,"UpdateWorkspaceMemberSettingsInput!"]}@@ -9354,7 +9364,7 @@ export default {}],"resendEmailVerificationToken": [- 205,+ 207,{"email": [1,@@ -9367,43 +9377,43 @@ export default {}],"createOIDCIdentityProvider": [- 210,+ 212,{"input": [- 503,+ 505,"SetupOIDCSsoInput!"]}],"createSAMLIdentityProvider": [- 210,+ 212,{"input": [- 504,+ 506,"SetupSAMLSsoInput!"]}],"deleteSSOIdentityProvider": [- 206,+ 208,{"input": [- 505,+ 507,"DeleteSsoInput!"]}],"editSSOIdentityProvider": [- 207,+ 209,{"input": [- 506,+ 508,"EditSsoInput!"]}],"createObjectEvent": [- 318,+ 320,{"event": [1,@@ -9423,10 +9433,10 @@ export default {}],"trackAnalytics": [- 318,+ 320,{"type": [- 507,+ 509,"AnalyticsType!"],"name": [@@ -9441,7 +9451,7 @@ export default {}],"duplicateDashboard": [- 316,+ 318,{"id": [4,@@ -9450,7 +9460,7 @@ export default {}],"impersonate": [- 266,+ 268,{"userId": [4,@@ -9463,25 +9473,25 @@ export default {}],"createCalendarEvent": [- 308,+ 310,{"input": [- 508,+ 510,"CreateCalendarEventInput!"]}],"sendEmail": [- 317,+ 319,{"input": [- 509,+ 511,"SendEmailInput!"]}],"startChannelSync": [- 307,+ 309,{"connectedAccountId": [4,@@ -9490,14 +9500,14 @@ export default {}],"saveImapSmtpCaldavAccount": [- 302,+ 304,{"handle": [1,"String!"],"connectionParameters": [- 511,+ 513,"EmailAccountConnectionParameters!"],"id": [@@ -9506,16 +9516,16 @@ export default {}],"updateLabPublicFeatureFlag": [- 170,+ 172,{"input": [- 513,+ 515,"UpdateLabPublicFeatureFlagInput!"]}],"createPublicDomain": [- 273,+ 275,{"domain": [1,@@ -9537,7 +9547,7 @@ export default {}],"checkPublicDomainValidRecords": [- 238,+ 240,{"domain": [1,@@ -9546,7 +9556,7 @@ export default {}],"createDevelopmentApplication": [- 270,+ 272,{"universalIdentifier": [1,@@ -9559,7 +9569,7 @@ export default {}],"syncApplication": [- 271,+ 273,{"manifest": [5,@@ -9571,10 +9581,10 @@ export default {}],"uploadApplicationFile": [- 272,+ 274,{"file": [- 375,+ 377,"Upload!"],"applicationUniversalIdentifier": [@@ -9582,7 +9592,7 @@ export default {"String!"],"fileFolder": [- 374,+ 376,"FileFolder!"],"filePath": [@@ -9655,7 +9665,7 @@ export default {4],"type": [- 162+ 164],"name": [1@@ -9687,7 +9697,7 @@ export default {4],"update": [- 373+ 375],"__typename": [1@@ -9729,7 +9739,7 @@ export default {4],"logicalOperator": [- 57+ 59],"positionInViewFilterGroup": [16@@ -9749,7 +9759,7 @@ export default {4],"logicalOperator": [- 57+ 59],"positionInViewFilterGroup": [16@@ -9769,7 +9779,7 @@ export default {4],"operand": [- 59+ 61],"value": [5@@ -9798,7 +9808,7 @@ export default {4],"update": [- 380+ 382],"__typename": [1@@ -9809,7 +9819,7 @@ export default {4],"operand": [- 59+ 61],"value": [5@@ -9857,10 +9867,10 @@ export default {4],"type": [- 65+ 67],"key": [- 66+ 68],"icon": [1@@ -9875,13 +9885,13 @@ export default {3],"kanbanColumnWidth": [- 30+ 31],"openRecordIn": [- 67+ 69],"kanbanAggregateOperation": [- 55+ 57],"kanbanAggregateOperationFieldMetadataId": [4@@ -9890,7 +9900,7 @@ export default {1],"calendarLayout": [- 68+ 70],"calendarFieldMetadataId": [4@@ -9902,7 +9912,7 @@ export default {4],"visibility": [- 69+ 71],"__typename": [1@@ -9916,7 +9926,7 @@ export default {1],"type": [- 65+ 67],"icon": [1@@ -9928,10 +9938,10 @@ export default {3],"openRecordIn": [- 67+ 69],"kanbanAggregateOperation": [- 55+ 57],"kanbanAggregateOperationFieldMetadataId": [4@@ -9940,7 +9950,7 @@ export default {1],"calendarLayout": [- 68+ 70],"calendarFieldMetadataId": [4@@ -9949,7 +9959,7 @@ export default {4],"visibility": [- 69+ 71],"mainGroupByFieldMetadataId": [4@@ -9958,7 +9968,7 @@ export default {3],"kanbanColumnWidth": [- 30+ 31],"__typename": [1@@ -9969,19 +9979,19 @@ export default {4],"view": [- 386+ 388],"viewFields": [- 387+ 389],"viewFilters": [- 388+ 390],"viewFilterGroups": [- 389+ 391],"viewSorts": [- 390+ 392],"__typename": [1@@ -9989,7 +9999,7 @@ export default {},"UpsertViewWidgetViewSettingsInput": {"type": [- 65+ 67],"mainGroupByFieldMetadataId": [4@@ -9998,19 +10008,19 @@ export default {3],"openRecordIn": [- 67+ 69],"kanbanAggregateOperation": [- 55+ 57],"kanbanAggregateOperationFieldMetadataId": [4],"kanbanColumnWidth": [- 30+ 31],"calendarLayout": [- 68+ 70],"calendarFieldMetadataId": [4@@ -10039,7 +10049,7 @@ export default {16],"aggregateOperation": [- 55+ 57],"__typename": [1@@ -10053,7 +10063,7 @@ export default {4],"operand": [- 59+ 61],"value": [5@@ -10082,7 +10092,7 @@ export default {4],"logicalOperator": [- 57+ 59],"positionInViewFilterGroup": [16@@ -10099,7 +10109,7 @@ export default {4],"direction": [- 62+ 64],"__typename": [1@@ -10113,7 +10123,7 @@ export default {4],"direction": [- 62+ 64],"subFieldName": [1@@ -10130,7 +10140,7 @@ export default {4],"update": [- 393+ 395],"__typename": [1@@ -10138,7 +10148,7 @@ export default {},"UpdateViewSortInputUpdates": {"direction": [- 62+ 64],"subFieldName": [1@@ -10168,7 +10178,7 @@ export default {4],"update": [- 397+ 399],"__typename": [1@@ -10185,7 +10195,7 @@ export default {16],"aggregateOperation": [- 55+ 57],"viewFieldGroupId": [4@@ -10214,7 +10224,7 @@ export default {16],"aggregateOperation": [- 55+ 57],"viewFieldGroupId": [4@@ -10244,7 +10254,7 @@ export default {4],"update": [- 402+ 404],"__typename": [1@@ -10308,10 +10318,10 @@ export default {4],"groups": [- 407+ 409],"fields": [- 408+ 410],"__typename": [1@@ -10331,7 +10341,7 @@ export default {3],"fields": [- 408+ 410],"__typename": [1@@ -10437,7 +10447,7 @@ export default {4],"layoutMode": [- 85+ 87],"__typename": [1@@ -10454,7 +10464,7 @@ export default {1],"layoutMode": [- 85+ 87],"__typename": [1@@ -10465,7 +10475,7 @@ export default {1],"type": [- 123+ 125],"objectMetadataId": [4@@ -10479,7 +10489,7 @@ export default {1],"type": [- 123+ 125],"objectMetadataId": [4@@ -10493,13 +10503,13 @@ export default {1],"type": [- 123+ 125],"objectMetadataId": [4],"tabs": [- 420+ 422],"__typename": [1@@ -10519,10 +10529,10 @@ export default {1],"layoutMode": [- 85+ 87],"widgets": [- 421+ 423],"__typename": [1@@ -10539,13 +10549,13 @@ export default {1],"type": [- 82+ 84],"objectMetadataId": [4],"gridPosition": [- 422+ 424],"position": [5@@ -10588,13 +10598,13 @@ export default {1],"type": [- 82+ 84],"objectMetadataId": [4],"gridPosition": [- 422+ 424],"position": [5@@ -10614,13 +10624,13 @@ export default {1],"type": [- 82+ 84],"objectMetadataId": [4],"gridPosition": [- 422+ 424],"position": [5@@ -10713,7 +10723,7 @@ export default {},"CreateOneObjectInput": {"object": [- 428+ 430],"__typename": [1@@ -10773,7 +10783,7 @@ export default {},"UpdateOneObjectInput": {"update": [- 431+ 433],"id": [4@@ -10822,13 +10832,16 @@ export default {"isSearchable": [3],+ "openRecordIn": [+ 29+ ],"__typename": [1]},"CreateOneIndexInput": {"index": [- 433+ 435],"__typename": [1@@ -10839,7 +10852,7 @@ export default {4],"fields": [- 434+ 436],"indexType": [27@@ -10924,7 +10937,7 @@ export default {4],"update": [- 439+ 441],"__typename": [1@@ -11084,7 +11097,7 @@ export default {4],"update": [- 444+ 446],"__typename": [1@@ -11129,7 +11142,7 @@ export default {3],"workspaceDiscoverability": [- 71+ 73],"allowImpersonation": [3@@ -11211,7 +11224,7 @@ export default {1],"update": [- 449+ 451],"__typename": [1@@ -11265,7 +11278,7 @@ export default {1],"update": [- 452+ 454],"__typename": [1@@ -11295,7 +11308,7 @@ export default {},"CreateOneFieldMetadataInput": {"field": [- 455+ 457],"__typename": [1@@ -11368,7 +11381,7 @@ export default {4],"update": [- 457+ 459],"__typename": [1@@ -11463,7 +11476,7 @@ export default {4],"update": [- 461+ 463],"__typename": [1@@ -11548,7 +11561,7 @@ export default {},"UpdateRoleInput": {"update": [- 466+ 468],"id": [4@@ -11603,7 +11616,7 @@ export default {4],"objectPermissions": [- 468+ 470],"__typename": [1@@ -11645,7 +11658,7 @@ export default {4],"fieldPermissions": [- 471+ 473],"__typename": [1@@ -11676,10 +11689,10 @@ export default {4],"predicates": [- 473+ 475],"predicateGroups": [- 474+ 476],"__typename": [1@@ -11693,7 +11706,7 @@ export default {4],"operand": [- 45+ 47],"value": [5@@ -11728,7 +11741,7 @@ export default {4],"logicalOperator": [- 43+ 45],"positionInRowLevelPermissionPredicateGroup": [16@@ -11805,7 +11818,7 @@ export default {1],"visibility": [- 295+ 297],"__typename": [1@@ -11822,7 +11835,7 @@ export default {1],"visibility": [- 295+ 297],"__typename": [1@@ -11833,7 +11846,7 @@ export default {4],"update": [- 481+ 483],"__typename": [1@@ -11841,16 +11854,16 @@ export default {},"UpdateMessageChannelInputUpdates": {"visibility": [- 278+ 280],"isContactAutoCreationEnabled": [3],"contactAutoCreationPolicy": [- 280+ 282],"messageFolderImportPolicy": [- 281+ 283],"isSyncEnabled": [3@@ -11931,7 +11944,7 @@ export default {4],"update": [- 488+ 490],"__typename": [1@@ -11959,7 +11972,7 @@ export default {4],"update": [- 490+ 492],"__typename": [1@@ -11978,7 +11991,7 @@ export default {4],"update": [- 490+ 492],"__typename": [1@@ -11989,7 +12002,7 @@ export default {4],"update": [- 493+ 495],"__typename": [1@@ -11997,13 +12010,13 @@ export default {},"UpdateCalendarChannelInputUpdates": {"visibility": [- 342+ 344],"isContactAutoCreationEnabled": [3],"contactAutoCreationPolicy": [- 343+ 345],"isSyncEnabled": [3@@ -12020,7 +12033,7 @@ export default {5],"scope": [- 338+ 340],"__typename": [1@@ -12034,10 +12047,10 @@ export default {5],"retryLimit": [- 30+ 31],"delayMs": [- 30+ 31],"__typename": [1@@ -12056,10 +12069,10 @@ export default {},"AgentChatQuestionAnswerInput": {"questionIndex": [- 30+ 31],"selectedOptionIndices": [- 30+ 31],"freeText": [1@@ -12203,7 +12216,7 @@ export default {4],"status": [- 179+ 181],"__typename": [1@@ -12274,7 +12287,7 @@ export default {1],"files": [- 510+ 512],"__typename": [1@@ -12296,13 +12309,13 @@ export default {1],"IMAP": [- 512+ 514],"SMTP": [- 512+ 514],"CALDAV": [- 512+ 514],"__typename": [1@@ -12322,7 +12335,7 @@ export default {1],"connectionSecurity": [- 242+ 244],"__typename": [1@@ -12341,7 +12354,7 @@ export default {},"Subscription": {"onEventSubscription": [- 169,+ 171,{"eventStreamId": [1,@@ -12350,16 +12363,16 @@ export default {}],"logicFunctionLogs": [- 240,+ 242,{"input": [- 515,+ 517,"LogicFunctionLogsInput!"]}],"onAgentChatEvent": [- 330,+ 332,{"threadId": [4,@@ -12368,10 +12381,10 @@ export default {}],"eventLogsLive": [- 319,+ 321,{"table": [- 360,+ 362,"EventLogTable!"]}diff --git a/packages/twenty-docs/developers/extend/apps/data/objects.mdx b/packages/twenty-docs/developers/extend/apps/data/objects.mdxindex 7a061535b2c..7d2fbaf9118 100644--- a/packages/twenty-docs/developers/extend/apps/data/objects.mdx+++ b/packages/twenty-docs/developers/extend/apps/data/objects.mdx@@ -79,6 +79,7 @@ export default defineObject({- The `universalIdentifier` must be unique and stable across deployments.- Each field requires a `name`, `type`, `label`, and its own stable `universalIdentifier`.- The `fields` array is optional — you can define objects without custom fields.+- `openRecordIn` sets where records of this object open when clicked: `ObjectOpenRecordIn.USER_CHOICE` (the default, following each workspace member's own preference from Settings → Experience), `ObjectOpenRecordIn.SIDE_PANEL`, or `ObjectOpenRecordIn.RECORD_PAGE`. Pin it to `RECORD_PAGE` for records that need a full page to be usable, the way workflows and dashboards do, or to `SIDE_PANEL` for records that only make sense as a quick panel, the way calendar events do.- Inline fields defined here do **not** need an `objectUniversalIdentifier` — it's inherited from the parent object. Use [`defineField()`](/developers/extend/apps/data/extending-objects) to add fields to objects you don't own.- You can scaffold new objects with `yarn twenty dev:add object`, which guides you through naming, fields, and relationships. See [Architecture → Scaffolding entities](/developers/extend/apps/getting-started/scaffolding).diff --git a/packages/twenty-docs/developers/extend/apps/layout/views.mdx b/packages/twenty-docs/developers/extend/apps/layout/views.mdxindex 8ea606099b7..382d6dfdf00 100644--- a/packages/twenty-docs/developers/extend/apps/layout/views.mdx+++ b/packages/twenty-docs/developers/extend/apps/layout/views.mdx@@ -45,7 +45,7 @@ export default defineView({|----------|--------|-------------|| `type` | `ViewType.TABLE` (default), `ViewType.KANBAN`, `ViewType.CALENDAR` | How records are laid out. (`FIELDS_WIDGET`, `TABLE_WIDGET`, `KANBAN_WIDGET`, and `CALENDAR_WIDGET` also exist but are used internally by page-layout widgets.) || `visibility` | `ViewVisibility.WORKSPACE` (default), `ViewVisibility.UNLISTED` | Whether the view is listed for the whole workspace or hidden from pickers. |-| `openRecordIn` | `ViewOpenRecordIn.SIDE_PANEL` (default), `ViewOpenRecordIn.RECORD_PAGE` | Where clicking a record opens it. |+| `openRecordIn` | deprecated | No longer read: where records open is now a property of the [object](/developers/extend/apps/data/objects) (`openRecordIn` on `defineObject()`), falling back to each member's own preference. || `sorts` | `{ fieldMetadataUniversalIdentifier, direction: ViewSortDirection.ASC \| DESC }[]` | Default sort order. || `isCompact` | `boolean` | Compact row display. || `mainGroupByFieldMetadataUniversalIdentifier` + `shouldHideEmptyGroups` | — | Group records (e.g. kanban columns) by a field. |diff --git a/packages/twenty-front/src/generated-metadata/graphql.ts b/packages/twenty-front/src/generated-metadata/graphql.tsindex d3e795cf452..9f799486d52 100644--- a/packages/twenty-front/src/generated-metadata/graphql.ts+++ b/packages/twenty-front/src/generated-metadata/graphql.ts@@ -1376,6 +1376,7 @@ export type CreateViewInput = {mainGroupByFieldMetadataId?: InputMaybe<Scalars['UUID']['input']>;name: Scalars['String']['input'];objectMetadataId: Scalars['UUID']['input'];+ /** Deprecated: Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend. */openRecordIn?: InputMaybe<ViewOpenRecordIn>;position?: InputMaybe<Scalars['Float']['input']>;shouldHideEmptyGroups?: InputMaybe<Scalars['Boolean']['input']>;@@ -4056,6 +4057,7 @@ export type Object = {labelSingular: Scalars['String']['output'];namePlural: Scalars['String']['output'];nameSingular: Scalars['String']['output'];+ openRecordIn: ObjectOpenRecordIn;searchFieldMetadataList: Array<SearchField>;shortcut?: Maybe<Scalars['String']['output']>;universalIdentifier: Scalars['String']['output'];@@ -4124,6 +4126,12 @@ export type ObjectMetadataCommandMenuItemPayload = {objectMetadataItemId: Scalars['UUID']['output'];};+export enum ObjectOpenRecordIn {+ RECORD_PAGE = 'RECORD_PAGE',+ SIDE_PANEL = 'SIDE_PANEL',+ USER_CHOICE = 'USER_CHOICE'+}+export type ObjectPermission = {__typename?: 'ObjectPermission';canDestroyObjectRecords?: Maybe<Scalars['Boolean']['output']>;@@ -4204,6 +4212,11 @@ export type OnboardingStepSuccess = {success: Scalars['Boolean']['output'];};+export enum OpenRecordIn {+ RECORD_PAGE = 'RECORD_PAGE',+ SIDE_PANEL = 'SIDE_PANEL'+}+export type PageInfo = {__typename?: 'PageInfo';/** The cursor of the last returned record. */@@ -5687,6 +5700,7 @@ export type UpdateObjectPayload = {labelSingular?: InputMaybe<Scalars['String']['input']>;namePlural?: InputMaybe<Scalars['String']['input']>;nameSingular?: InputMaybe<Scalars['String']['input']>;+ openRecordIn?: InputMaybe<ObjectOpenRecordIn>;shortcut?: InputMaybe<Scalars['String']['input']>;};@@ -5883,6 +5897,7 @@ export type UpdateViewInput = {kanbanColumnWidth?: InputMaybe<Scalars['Int']['input']>;mainGroupByFieldMetadataId?: InputMaybe<Scalars['UUID']['input']>;name?: InputMaybe<Scalars['String']['input']>;+ /** Deprecated: Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend. */openRecordIn?: InputMaybe<ViewOpenRecordIn>;position?: InputMaybe<Scalars['Float']['input']>;shouldHideEmptyGroups?: InputMaybe<Scalars['Boolean']['input']>;@@ -6055,6 +6070,7 @@ export type UpsertViewWidgetViewSettingsInput = {kanbanAggregateOperationFieldMetadataId?: InputMaybe<Scalars['UUID']['input']>;kanbanColumnWidth?: InputMaybe<Scalars['Int']['input']>;mainGroupByFieldMetadataId?: InputMaybe<Scalars['UUID']['input']>;+ /** Deprecated: Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend. */openRecordIn?: InputMaybe<ViewOpenRecordIn>;shouldHideEmptyGroups?: InputMaybe<Scalars['Boolean']['input']>;/** The layout type of the widget view. Only widget view types (TABLE_WIDGET, KANBAN_WIDGET, CALENDAR_WIDGET) are allowed. */@@ -6216,6 +6232,7 @@ export type View = {mainGroupByFieldMetadataId?: Maybe<Scalars['UUID']['output']>;name: Scalars['String']['output'];objectMetadataId: Scalars['UUID']['output'];+ /** @deprecated Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend. */openRecordIn: ViewOpenRecordIn;position: Scalars['Float']['output'];shouldHideEmptyGroups: Scalars['Boolean']['output'];@@ -6590,6 +6607,7 @@ export type WorkspaceMember = {locale?: Maybe<Scalars['String']['output']>;name: FullName;numberFormat?: Maybe<WorkspaceMemberNumberFormatEnum>;+ openRecordIn: OpenRecordIn;roles?: Maybe<Array<Role>>;timeFormat?: Maybe<WorkspaceMemberTimeFormatEnum>;timeZone?: Maybe<Scalars['String']['output']>;@@ -6936,7 +6954,7 @@ export type TrackAnalyticsMutationVariables = Exact<{export type TrackAnalyticsMutation = { __typename?: 'Mutation', trackAnalytics: { __typename?: 'Analytics', success: boolean } };-export type ApplicationFieldsFragment = { __typename?: 'Application', id: string, name: string, description?: string | null, logoUrl?: string | null, version?: string | null, universalIdentifier: string, applicationRegistrationId?: string | null, canBeUninstalled: boolean, autoUpgrade: boolean, defaultRoleId?: string | null, settingsCustomTabFrontComponentId?: string | null, availablePackages: any, applicationRegistration?: { __typename?: 'ApplicationRegistrationSummary', id: string, latestAvailableVersion?: string | null, sourceType: ApplicationRegistrationSourceType, logoUrl?: string | null } | null, applicationVariables: Array<{ __typename?: 'ApplicationVariable', id: string, key: string, value: string, description: string, isSecret: boolean, type: string, options?: any | null }>, agents: Array<{ __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, prompt: string, modelId: string, responseFormat?: any | null, roleId?: string | null, isCustom: boolean, modelConfiguration?: any | null, evaluationInputs: Array<string>, applicationId?: string | null, createdAt: string, updatedAt: string }>, frontComponents: Array<{ __typename?: 'FrontComponent', id: string, name: string, description?: string | null, applicationId: string, componentName: string, builtComponentChecksum: string, universalIdentifier?: string | null, isHeadless: boolean, usesSdkClient: boolean, createdAt: string, updatedAt: string }>, commandMenuItems: Array<{ __typename?: 'CommandMenuItem', id: string, label: string, shortLabel?: string | null, icon?: string | null, isPinned: boolean, availabilityType: CommandMenuItemAvailabilityType, conditionalAvailabilityExpression?: string | null, frontComponentId?: string | null, universalIdentifier?: string | null, applicationId?: string | null, createdAt: string, updatedAt: string }>, objects: Array<{ __typename?: 'Object', id: string, universalIdentifier: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, color?: string | null, description?: string | null, icon?: string | null, isRemote: boolean, isActive: boolean, isSystem: boolean, isUIEditable: boolean, isUICreatable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, applicationId: string, shortcut?: string | null, isLabelSyncedWithName: boolean, isSearchable: boolean, duplicateCriteria?: Array<Array<string>> | null, searchFieldMetadataList: Array<{ __typename?: 'SearchField', id: string, fieldMetadataId: string, tsVectorFieldMetadataId: string, position: number, createdAt: string, updatedAt: string }>, indexMetadataList: Array<{ __typename?: 'Index', id: string, createdAt: string, updatedAt: string, name: string, indexWhereClause?: string | null, indexType: IndexType, isUnique: boolean, isCustom?: boolean | null, indexFieldMetadataList: Array<{ __typename?: 'IndexField', id: string, fieldMetadataId: string, subFieldName?: string | null, createdAt: string, updatedAt: string, order: number }> }>, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isActive?: boolean | null, isSystem?: boolean | null, isUIEditable?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> }>, logicFunctions: Array<{ __typename?: 'LogicFunction', id: string, name: string, description?: string | null, runtime: string, timeoutSeconds: number, executionMode: LogicFunctionExecutionMode, sourceHandlerPath: string, handlerName: string, cronTriggerSettings?: any | null, databaseEventTriggerSettings?: any | null, httpRouteTriggerSettings?: any | null, toolTriggerSettings?: any | null, workflowActionTriggerSettings?: any | null, applicationId?: string | null, universalIdentifier?: string | null, createdAt: string, updatedAt: string }> };+export type ApplicationFieldsFragment = { __typename?: 'Application', id: string, name: string, description?: string | null, logoUrl?: string | null, version?: string | null, universalIdentifier: string, applicationRegistrationId?: string | null, canBeUninstalled: boolean, autoUpgrade: boolean, defaultRoleId?: string | null, settingsCustomTabFrontComponentId?: string | null, availablePackages: any, applicationRegistration?: { __typename?: 'ApplicationRegistrationSummary', id: string, latestAvailableVersion?: string | null, sourceType: ApplicationRegistrationSourceType, logoUrl?: string | null } | null, applicationVariables: Array<{ __typename?: 'ApplicationVariable', id: string, key: string, value: string, description: string, isSecret: boolean, type: string, options?: any | null }>, agents: Array<{ __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, prompt: string, modelId: string, responseFormat?: any | null, roleId?: string | null, isCustom: boolean, modelConfiguration?: any | null, evaluationInputs: Array<string>, applicationId?: string | null, createdAt: string, updatedAt: string }>, frontComponents: Array<{ __typename?: 'FrontComponent', id: string, name: string, description?: string | null, applicationId: string, componentName: string, builtComponentChecksum: string, universalIdentifier?: string | null, isHeadless: boolean, usesSdkClient: boolean, createdAt: string, updatedAt: string }>, commandMenuItems: Array<{ __typename?: 'CommandMenuItem', id: string, label: string, shortLabel?: string | null, icon?: string | null, isPinned: boolean, availabilityType: CommandMenuItemAvailabilityType, conditionalAvailabilityExpression?: string | null, frontComponentId?: string | null, universalIdentifier?: string | null, applicationId?: string | null, createdAt: string, updatedAt: string }>, objects: Array<{ __typename?: 'Object', id: string, universalIdentifier: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, color?: string | null, description?: string | null, icon?: string | null, isRemote: boolean, isActive: boolean, isSystem: boolean, isUIEditable: boolean, isUICreatable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, applicationId: string, shortcut?: string | null, isLabelSyncedWithName: boolean, isSearchable: boolean, openRecordIn: ObjectOpenRecordIn, duplicateCriteria?: Array<Array<string>> | null, searchFieldMetadataList: Array<{ __typename?: 'SearchField', id: string, fieldMetadataId: string, tsVectorFieldMetadataId: string, position: number, createdAt: string, updatedAt: string }>, indexMetadataList: Array<{ __typename?: 'Index', id: string, createdAt: string, updatedAt: string, name: string, indexWhereClause?: string | null, indexType: IndexType, isUnique: boolean, isCustom?: boolean | null, indexFieldMetadataList: Array<{ __typename?: 'IndexField', id: string, fieldMetadataId: string, subFieldName?: string | null, createdAt: string, updatedAt: string, order: number }> }>, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isActive?: boolean | null, isSystem?: boolean | null, isUIEditable?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> }>, logicFunctions: Array<{ __typename?: 'LogicFunction', id: string, name: string, description?: string | null, runtime: string, timeoutSeconds: number, executionMode: LogicFunctionExecutionMode, sourceHandlerPath: string, handlerName: string, cronTriggerSettings?: any | null, databaseEventTriggerSettings?: any | null, httpRouteTriggerSettings?: any | null, toolTriggerSettings?: any | null, workflowActionTriggerSettings?: any | null, applicationId?: string | null, universalIdentifier?: string | null, createdAt: string, updatedAt: string }> };export type FindManyApplicationsQueryVariables = Exact<{ [key: string]: never; }>;@@ -6948,7 +6966,7 @@ export type FindOneApplicationQueryVariables = Exact<{}>;-export type FindOneApplicationQuery = { __typename?: 'Query', findOneApplication: { __typename?: 'Application', id: string, name: string, description?: string | null, logoUrl?: string | null, version?: string | null, universalIdentifier: string, applicationRegistrationId?: string | null, canBeUninstalled: boolean, autoUpgrade: boolean, defaultRoleId?: string | null, settingsCustomTabFrontComponentId?: string | null, availablePackages: any, applicationRegistration?: { __typename?: 'ApplicationRegistrationSummary', id: string, latestAvailableVersion?: string | null, sourceType: ApplicationRegistrationSourceType, logoUrl?: string | null } | null, applicationVariables: Array<{ __typename?: 'ApplicationVariable', id: string, key: string, value: string, description: string, isSecret: boolean, type: string, options?: any | null }>, agents: Array<{ __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, prompt: string, modelId: string, responseFormat?: any | null, roleId?: string | null, isCustom: boolean, modelConfiguration?: any | null, evaluationInputs: Array<string>, applicationId?: string | null, createdAt: string, updatedAt: string }>, frontComponents: Array<{ __typename?: 'FrontComponent', id: string, name: string, description?: string | null, applicationId: string, componentName: string, builtComponentChecksum: string, universalIdentifier?: string | null, isHeadless: boolean, usesSdkClient: boolean, createdAt: string, updatedAt: string }>, commandMenuItems: Array<{ __typename?: 'CommandMenuItem', id: string, label: string, shortLabel?: string | null, icon?: string | null, isPinned: boolean, availabilityType: CommandMenuItemAvailabilityType, conditionalAvailabilityExpression?: string | null, frontComponentId?: string | null, universalIdentifier?: string | null, applicationId?: string | null, createdAt: string, updatedAt: string }>, objects: Array<{ __typename?: 'Object', id: string, universalIdentifier: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, color?: string | null, description?: string | null, icon?: string | null, isRemote: boolean, isActive: boolean, isSystem: boolean, isUIEditable: boolean, isUICreatable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, applicationId: string, shortcut?: string | null, isLabelSyncedWithName: boolean, isSearchable: boolean, duplicateCriteria?: Array<Array<string>> | null, searchFieldMetadataList: Array<{ __typename?: 'SearchField', id: string, fieldMetadataId: string, tsVectorFieldMetadataId: string, position: number, createdAt: string, updatedAt: string }>, indexMetadataList: Array<{ __typename?: 'Index', id: string, createdAt: string, updatedAt: string, name: string, indexWhereClause?: string | null, indexType: IndexType, isUnique: boolean, isCustom?: boolean | null, indexFieldMetadataList: Array<{ __typename?: 'IndexField', id: string, fieldMetadataId: string, subFieldName?: string | null, createdAt: string, updatedAt: string, order: number }> }>, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isActive?: boolean | null, isSystem?: boolean | null, isUIEditable?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> }>, logicFunctions: Array<{ __typename?: 'LogicFunction', id: string, name: string, description?: string | null, runtime: string, timeoutSeconds: number, executionMode: LogicFunctionExecutionMode, sourceHandlerPath: string, handlerName: string, cronTriggerSettings?: any | null, databaseEventTriggerSettings?: any | null, httpRouteTriggerSettings?: any | null, toolTriggerSettings?: any | null, workflowActionTriggerSettings?: any | null, applicationId?: string | null, universalIdentifier?: string | null, createdAt: string, updatedAt: string }> } };+export type FindOneApplicationQuery = { __typename?: 'Query', findOneApplication: { __typename?: 'Application', id: string, name: string, description?: string | null, logoUrl?: string | null, version?: string | null, universalIdentifier: string, applicationRegistrationId?: string | null, canBeUninstalled: boolean, autoUpgrade: boolean, defaultRoleId?: string | null, settingsCustomTabFrontComponentId?: string | null, availablePackages: any, applicationRegistration?: { __typename?: 'ApplicationRegistrationSummary', id: string, latestAvailableVersion?: string | null, sourceType: ApplicationRegistrationSourceType, logoUrl?: string | null } | null, applicationVariables: Array<{ __typename?: 'ApplicationVariable', id: string, key: string, value: string, description: string, isSecret: boolean, type: string, options?: any | null }>, agents: Array<{ __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, prompt: string, modelId: string, responseFormat?: any | null, roleId?: string | null, isCustom: boolean, modelConfiguration?: any | null, evaluationInputs: Array<string>, applicationId?: string | null, createdAt: string, updatedAt: string }>, frontComponents: Array<{ __typename?: 'FrontComponent', id: string, name: string, description?: string | null, applicationId: string, componentName: string, builtComponentChecksum: string, universalIdentifier?: string | null, isHeadless: boolean, usesSdkClient: boolean, createdAt: string, updatedAt: string }>, commandMenuItems: Array<{ __typename?: 'CommandMenuItem', id: string, label: string, shortLabel?: string | null, icon?: string | null, isPinned: boolean, availabilityType: CommandMenuItemAvailabilityType, conditionalAvailabilityExpression?: string | null, frontComponentId?: string | null, universalIdentifier?: string | null, applicationId?: string | null, createdAt: string, updatedAt: string }>, objects: Array<{ __typename?: 'Object', id: string, universalIdentifier: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, color?: string | null, description?: string | null, icon?: string | null, isRemote: boolean, isActive: boolean, isSystem: boolean, isUIEditable: boolean, isUICreatable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, applicationId: string, shortcut?: string | null, isLabelSyncedWithName: boolean, isSearchable: boolean, openRecordIn: ObjectOpenRecordIn, duplicateCriteria?: Array<Array<string>> | null, searchFieldMetadataList: Array<{ __typename?: 'SearchField', id: string, fieldMetadataId: string, tsVectorFieldMetadataId: string, position: number, createdAt: string, updatedAt: string }>, indexMetadataList: Array<{ __typename?: 'Index', id: string, createdAt: string, updatedAt: string, name: string, indexWhereClause?: string | null, indexType: IndexType, isUnique: boolean, isCustom?: boolean | null, indexFieldMetadataList: Array<{ __typename?: 'IndexField', id: string, fieldMetadataId: string, subFieldName?: string | null, createdAt: string, updatedAt: string, order: number }> }>, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isActive?: boolean | null, isSystem?: boolean | null, isUIEditable?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> }>, logicFunctions: Array<{ __typename?: 'LogicFunction', id: string, name: string, description?: string | null, runtime: string, timeoutSeconds: number, executionMode: LogicFunctionExecutionMode, sourceHandlerPath: string, handlerName: string, cronTriggerSettings?: any | null, databaseEventTriggerSettings?: any | null, httpRouteTriggerSettings?: any | null, toolTriggerSettings?: any | null, workflowActionTriggerSettings?: any | null, applicationId?: string | null, universalIdentifier?: string | null, createdAt: string, updatedAt: string }> } };export type FindOneApplicationByUniversalIdentifierQueryVariables = Exact<{universalIdentifier: Scalars['UUID']['input'];@@ -7574,14 +7592,14 @@ export type FindOneNavigationMenuItemQueryVariables = Exact<{export type FindOneNavigationMenuItemQuery = { __typename?: 'Query', navigationMenuItem?: { __typename?: 'NavigationMenuItem', id: string, type: NavigationMenuItemType, userWorkspaceId?: string | null, targetRecordId?: string | null, targetObjectMetadataId?: string | null, viewId?: string | null, folderId?: string | null, name?: string | null, link?: string | null, icon?: string | null, color?: string | null, pageLayoutId?: string | null, position: number, applicationId?: string | null, createdAt: string, updatedAt: string, targetRecordIdentifier?: { __typename?: 'RecordIdentifier', id: string, labelIdentifier: string, imageIdentifier?: string | null } | null } | null };-export type ObjectMetadataFieldsFragment = { __typename?: 'Object', id: string, universalIdentifier: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, color?: string | null, description?: string | null, icon?: string | null, isRemote: boolean, isActive: boolean, isSystem: boolean, isUIEditable: boolean, isUICreatable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, applicationId: string, shortcut?: string | null, isLabelSyncedWithName: boolean, isSearchable: boolean, duplicateCriteria?: Array<Array<string>> | null, searchFieldMetadataList: Array<{ __typename?: 'SearchField', id: string, fieldMetadataId: string, tsVectorFieldMetadataId: string, position: number, createdAt: string, updatedAt: string }>, indexMetadataList: Array<{ __typename?: 'Index', id: string, createdAt: string, updatedAt: string, name: string, indexWhereClause?: string | null, indexType: IndexType, isUnique: boolean, isCustom?: boolean | null, indexFieldMetadataList: Array<{ __typename?: 'IndexField', id: string, fieldMetadataId: string, subFieldName?: string | null, createdAt: string, updatedAt: string, order: number }> }>, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isActive?: boolean | null, isSystem?: boolean | null, isUIEditable?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> };+export type ObjectMetadataFieldsFragment = { __typename?: 'Object', id: string, universalIdentifier: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, color?: string | null, description?: string | null, icon?: string | null, isRemote: boolean, isActive: boolean, isSystem: boolean, isUIEditable: boolean, isUICreatable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, applicationId: string, shortcut?: string | null, isLabelSyncedWithName: boolean, isSearchable: boolean, openRecordIn: ObjectOpenRecordIn, duplicateCriteria?: Array<Array<string>> | null, searchFieldMetadataList: Array<{ __typename?: 'SearchField', id: string, fieldMetadataId: string, tsVectorFieldMetadataId: string, position: number, createdAt: string, updatedAt: string }>, indexMetadataList: Array<{ __typename?: 'Index', id: string, createdAt: string, updatedAt: string, name: string, indexWhereClause?: string | null, indexType: IndexType, isUnique: boolean, isCustom?: boolean | null, indexFieldMetadataList: Array<{ __typename?: 'IndexField', id: string, fieldMetadataId: string, subFieldName?: string | null, createdAt: string, updatedAt: string, order: number }> }>, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isActive?: boolean | null, isSystem?: boolean | null, isUIEditable?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> };export type CreateOneObjectMetadataItemMutationVariables = Exact<{input: CreateOneObjectInput;}>;-export type CreateOneObjectMetadataItemMutation = { __typename?: 'Mutation', createOneObject: { __typename?: 'Object', id: string, universalIdentifier: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, description?: string | null, icon?: string | null, color?: string | null, isRemote: boolean, isActive: boolean, isSystem: boolean, isUIEditable: boolean, isUICreatable: boolean, isSearchable: boolean, shortcut?: string | null, duplicateCriteria?: Array<Array<string>> | null, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, isLabelSyncedWithName: boolean, applicationId: string, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isActive?: boolean | null, isSystem?: boolean | null, isUIEditable?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> } };+export type CreateOneObjectMetadataItemMutation = { __typename?: 'Mutation', createOneObject: { __typename?: 'Object', id: string, universalIdentifier: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, description?: string | null, icon?: string | null, color?: string | null, isRemote: boolean, isActive: boolean, isSystem: boolean, isUIEditable: boolean, isUICreatable: boolean, isSearchable: boolean, openRecordIn: ObjectOpenRecordIn, shortcut?: string | null, duplicateCriteria?: Array<Array<string>> | null, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, isLabelSyncedWithName: boolean, applicationId: string, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isActive?: boolean | null, isSystem?: boolean | null, isUIEditable?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> } };export type CreateOneFieldMetadataItemMutationVariables = Exact<{input: CreateOneFieldMetadataInput;@@ -7604,14 +7622,14 @@ export type UpdateOneObjectMetadataItemMutationVariables = Exact<{}>;-export type UpdateOneObjectMetadataItemMutation = { __typename?: 'Mutation', updateOneObject: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, description?: string | null, icon?: string | null, color?: string | null, isActive: boolean, isSearchable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, isLabelSyncedWithName: boolean, applicationId: string } };+export type UpdateOneObjectMetadataItemMutation = { __typename?: 'Mutation', updateOneObject: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, description?: string | null, icon?: string | null, color?: string | null, isActive: boolean, isSearchable: boolean, openRecordIn: ObjectOpenRecordIn, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, isLabelSyncedWithName: boolean, applicationId: string } };export type DeleteOneObjectMetadataItemMutationVariables = Exact<{idToDelete: Scalars['UUID']['input'];}>;-export type DeleteOneObjectMetadataItemMutation = { __typename?: 'Mutation', deleteOneObject: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, description?: string | null, icon?: string | null, color?: string | null, isActive: boolean, isSearchable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, isLabelSyncedWithName: boolean, applicationId: string } };+export type DeleteOneObjectMetadataItemMutation = { __typename?: 'Mutation', deleteOneObject: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, description?: string | null, icon?: string | null, color?: string | null, isActive: boolean, isSearchable: boolean, openRecordIn: ObjectOpenRecordIn, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, isLabelSyncedWithName: boolean, applicationId: string } };export type DeleteOneFieldMetadataItemMutationVariables = Exact<{idToDelete: Scalars['UUID']['input'];@@ -7637,7 +7655,7 @@ export type DeleteOneIndexMetadataItemMutation = { __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: string, universalIdentifier: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, color?: string | null, description?: string | null, icon?: string | null, isRemote: boolean, isActive: boolean, isSystem: boolean, isUIEditable: boolean, isUICreatable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, applicationId: string, shortcut?: string | null, isLabelSyncedWithName: boolean, isSearchable: boolean, duplicateCriteria?: Array<Array<string>> | null, searchFieldMetadataList: Array<{ __typename?: 'SearchField', id: string, fieldMetadataId: string, tsVectorFieldMetadataId: string, position: number, createdAt: string, updatedAt: string }>, indexMetadataList: Array<{ __typename?: 'Index', id: string, createdAt: string, updatedAt: string, name: string, indexWhereClause?: string | null, indexType: IndexType, isUnique: boolean, isCustom?: boolean | null, indexFieldMetadataList: Array<{ __typename?: 'IndexField', id: string, fieldMetadataId: string, subFieldName?: string | null, createdAt: string, updatedAt: string, order: number }> }>, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isActive?: boolean | null, isSystem?: boolean | null, isUIEditable?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, 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: string, universalIdentifier: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, color?: string | null, description?: string | null, icon?: string | null, isRemote: boolean, isActive: boolean, isSystem: boolean, isUIEditable: boolean, isUICreatable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, applicationId: string, shortcut?: string | null, isLabelSyncedWithName: boolean, isSearchable: boolean, openRecordIn: ObjectOpenRecordIn, duplicateCriteria?: Array<Array<string>> | null, searchFieldMetadataList: Array<{ __typename?: 'SearchField', id: string, fieldMetadataId: string, tsVectorFieldMetadataId: string, position: number, createdAt: string, updatedAt: string }>, indexMetadataList: Array<{ __typename?: 'Index', id: string, createdAt: string, updatedAt: string, name: string, indexWhereClause?: string | null, indexType: IndexType, isUnique: boolean, isCustom?: boolean | null, indexFieldMetadataList: Array<{ __typename?: 'IndexField', id: string, fieldMetadataId: string, subFieldName?: string | null, createdAt: string, updatedAt: string, order: number }> }>, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isActive?: boolean | null, isSystem?: boolean | null, isUIEditable?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> } }>, pageInfo: { __typename?: 'PageInfo', hasNextPage?: boolean | null, hasPreviousPage?: boolean | null, startCursor?: any | null, endCursor?: any | null } } };export type ObjectRecordCountsQueryVariables = Exact<{ [key: string]: never; }>;@@ -8547,7 +8565,7 @@ export type UpdateWorkspaceMemberRoleMutationVariables = Exact<{}>;-export type UpdateWorkspaceMemberRoleMutation = { __typename?: 'Mutation', updateWorkspaceMemberRole: { __typename?: 'WorkspaceMember', id: string, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, userWorkspaceId?: string | null, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, numberFormat?: WorkspaceMemberNumberFormatEnum | 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, canBeAssignedToUsers: boolean, canBeAssignedToAgents: boolean, canBeAssignedToApiKeys: boolean }> | null, name: { __typename?: 'FullName', firstName: string, lastName: string } } };+export type UpdateWorkspaceMemberRoleMutation = { __typename?: 'Mutation', updateWorkspaceMemberRole: { __typename?: 'WorkspaceMember', id: string, colorScheme: string, openRecordIn: OpenRecordIn, avatarUrl?: string | null, locale?: string | null, userEmail: string, userWorkspaceId?: string | null, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, numberFormat?: WorkspaceMemberNumberFormatEnum | 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, canBeAssignedToUsers: boolean, canBeAssignedToAgents: boolean, canBeAssignedToApiKeys: boolean }> | null, name: { __typename?: 'FullName', firstName: string, lastName: string } } };export type UpsertFieldPermissionsMutationVariables = Exact<{upsertFieldPermissionsInput: UpsertFieldPermissionsInput;@@ -8690,7 +8708,7 @@ export type CurrentBillingSubscriptionFragmentFragment = { __typename?: 'Billing| { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } }}> | null };-export type UserQueryFragmentFragment = { __typename?: 'User', id: string, firstName: string, lastName: string, email: string, hasPassword: boolean, canAccessFullAdminPanel: boolean, canImpersonate: boolean, supportUserHash?: string | null, onboardingStatus?: OnboardingStatus | null, userVars?: any | null, workspaceMember?: { __typename?: 'WorkspaceMember', id: string, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, userWorkspaceId?: string | null, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, numberFormat?: WorkspaceMemberNumberFormatEnum | null, name: { __typename?: 'FullName', firstName: string, lastName: string } } | null, workspaceMembers?: Array<{ __typename?: 'WorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, userWorkspaceId?: string | null, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, deletedWorkspaceMembers?: Array<{ __typename?: 'DeletedWorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, currentUserWorkspace?: { __typename?: 'UserWorkspace', id: string, permissionFlags?: Array<PermissionFlagType> | null, objectsPermissions?: Array<{ __typename?: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null, rowLevelPermissionPredicates?: Array<{ __typename?: 'RowLevelPermissionPredicate', id: string, fieldMetadataId: string, objectMetadataId: string, operand: RowLevelPermissionPredicateOperand, subFieldName?: string | null, workspaceMemberFieldMetadataId?: string | null, workspaceMemberSubFieldName?: string | null, rowLevelPermissionPredicateGroupId?: string | null, positionInRowLevelPermissionPredicateGroup?: number | null, roleId: string, value?: any | null }> | null, rowLevelPermissionPredicateGroups?: Array<{ __typename?: 'RowLevelPermissionPredicateGroup', id: string, parentRowLevelPermissionPredicateGroupId?: string | null, logicalOperator: RowLevelPermissionPredicateGroupLogicalOperator, positionInRowLevelPermissionPredicateGroup?: number | null, roleId: string, objectMetadataId: string }> | null }> | null, twoFactorAuthenticationMethodSummary?: Array<{ __typename?: 'TwoFactorAuthenticationMethodSummary', twoFactorAuthenticationMethodId: string, status: string, strategy: string }> | null } | null, currentWorkspace?: { __typename?: 'Workspace', id: string, displayName?: string | null, logo?: string | null, inviteHash?: string | null, allowImpersonation: boolean, activationStatus: WorkspaceActivationStatus, isPublicInviteLinkEnabled: boolean, workspaceDiscoverability: WorkspaceDiscoverability, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, isGoogleAuthBypassEnabled: boolean, isMicrosoftAuthBypassEnabled: boolean, isPasswordAuthBypassEnabled: boolean, subdomain: string, customDomain?: string | null, hasValidSignedEnterpriseKey: boolean, hasValidEnterpriseValidityToken: boolean, isCustomDomainEnabled: boolean, workspaceMembersCount?: number | null, fastModel: string, smartModel: string, aiAdditionalInstructions?: string | null, enabledAiModelIds?: Array<string> | null, useRecommendedModels: boolean, isTwoFactorAuthenticationEnforced: boolean, trashRetentionDays: number, eventLogRetentionDays: number, editableProfileFields?: Array<string> | null, isInternalMessagesImportEnabled: boolean, workspaceCustomApplication?: { __typename?: 'Application', id: string } | null, installedApplications: Array<{ __typename?: 'Application', id: string, name: string, universalIdentifier: string, logoUrl?: string | null }>, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, featureFlags?: Array<{ __typename?: 'FeatureFlag', key: FeatureFlagKey, value: boolean }> | null, currentBillingSubscription?: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, billingProduct:+export type UserQueryFragmentFragment = { __typename?: 'User', id: string, firstName: string, lastName: string, email: string, hasPassword: boolean, canAccessFullAdminPanel: boolean, canImpersonate: boolean, supportUserHash?: string | null, onboardingStatus?: OnboardingStatus | null, userVars?: any | null, workspaceMember?: { __typename?: 'WorkspaceMember', id: string, colorScheme: string, openRecordIn: OpenRecordIn, avatarUrl?: string | null, locale?: string | null, userEmail: string, userWorkspaceId?: string | null, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, numberFormat?: WorkspaceMemberNumberFormatEnum | null, name: { __typename?: 'FullName', firstName: string, lastName: string } } | null, workspaceMembers?: Array<{ __typename?: 'WorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, userWorkspaceId?: string | null, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, deletedWorkspaceMembers?: Array<{ __typename?: 'DeletedWorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, currentUserWorkspace?: { __typename?: 'UserWorkspace', id: string, permissionFlags?: Array<PermissionFlagType> | null, objectsPermissions?: Array<{ __typename?: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null, rowLevelPermissionPredicates?: Array<{ __typename?: 'RowLevelPermissionPredicate', id: string, fieldMetadataId: string, objectMetadataId: string, operand: RowLevelPermissionPredicateOperand, subFieldName?: string | null, workspaceMemberFieldMetadataId?: string | null, workspaceMemberSubFieldName?: string | null, rowLevelPermissionPredicateGroupId?: string | null, positionInRowLevelPermissionPredicateGroup?: number | null, roleId: string, value?: any | null }> | null, rowLevelPermissionPredicateGroups?: Array<{ __typename?: 'RowLevelPermissionPredicateGroup', id: string, parentRowLevelPermissionPredicateGroupId?: string | null, logicalOperator: RowLevelPermissionPredicateGroupLogicalOperator, positionInRowLevelPermissionPredicateGroup?: number | null, roleId: string, objectMetadataId: string }> | null }> | null, twoFactorAuthenticationMethodSummary?: Array<{ __typename?: 'TwoFactorAuthenticationMethodSummary', twoFactorAuthenticationMethodId: string, status: string, strategy: string }> | null } | null, currentWorkspace?: { __typename?: 'Workspace', id: string, displayName?: string | null, logo?: string | null, inviteHash?: string | null, allowImpersonation: boolean, activationStatus: WorkspaceActivationStatus, isPublicInviteLinkEnabled: boolean, workspaceDiscoverability: WorkspaceDiscoverability, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, isGoogleAuthBypassEnabled: boolean, isMicrosoftAuthBypassEnabled: boolean, isPasswordAuthBypassEnabled: boolean, subdomain: string, customDomain?: string | null, hasValidSignedEnterpriseKey: boolean, hasValidEnterpriseValidityToken: boolean, isCustomDomainEnabled: boolean, workspaceMembersCount?: number | null, fastModel: string, smartModel: string, aiAdditionalInstructions?: string | null, enabledAiModelIds?: Array<string> | null, useRecommendedModels: boolean, isTwoFactorAuthenticationEnforced: boolean, trashRetentionDays: number, eventLogRetentionDays: number, editableProfileFields?: Array<string> | null, isInternalMessagesImportEnabled: boolean, workspaceCustomApplication?: { __typename?: 'Application', id: string } | null, installedApplications: Array<{ __typename?: 'Application', id: string, name: string, universalIdentifier: string, logoUrl?: string | null }>, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, featureFlags?: Array<{ __typename?: 'FeatureFlag', key: FeatureFlagKey, value: boolean }> | null, currentBillingSubscription?: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, billingProduct:| { __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } }| { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } }}> | null } | null, billingCustomer?: { __typename?: 'BillingCustomer', id: string, hasPaymentMethod?: boolean | null } | null, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, metadata: any, cancelAt?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }> }>, billingEntitlements: Array<{ __typename?: 'BillingEntitlement', key: BillingEntitlementKey, value: 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, canBeAssignedToUsers: boolean, canBeAssignedToAgents: boolean, canBeAssignedToApiKeys: boolean } | 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 }> }> } };@@ -8712,7 +8730,7 @@ export type DeleteUserWorkspaceMutation = { __typename?: 'Mutation', deleteUserFexport type GetCurrentUserQueryVariables = Exact<{ [key: string]: never; }>;-export type GetCurrentUserQuery = { __typename?: 'Query', currentUser: { __typename?: 'User', id: string, firstName: string, lastName: string, email: string, hasPassword: boolean, canAccessFullAdminPanel: boolean, canImpersonate: boolean, supportUserHash?: string | null, onboardingStatus?: OnboardingStatus | null, userVars?: any | null, workspaceMember?: { __typename?: 'WorkspaceMember', id: string, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, userWorkspaceId?: string | null, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, numberFormat?: WorkspaceMemberNumberFormatEnum | null, name: { __typename?: 'FullName', firstName: string, lastName: string } } | null, workspaceMembers?: Array<{ __typename?: 'WorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, userWorkspaceId?: string | null, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, deletedWorkspaceMembers?: Array<{ __typename?: 'DeletedWorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, currentUserWorkspace?: { __typename?: 'UserWorkspace', id: string, permissionFlags?: Array<PermissionFlagType> | null, objectsPermissions?: Array<{ __typename?: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null, rowLevelPermissionPredicates?: Array<{ __typename?: 'RowLevelPermissionPredicate', id: string, fieldMetadataId: string, objectMetadataId: string, operand: RowLevelPermissionPredicateOperand, subFieldName?: string | null, workspaceMemberFieldMetadataId?: string | null, workspaceMemberSubFieldName?: string | null, rowLevelPermissionPredicateGroupId?: string | null, positionInRowLevelPermissionPredicateGroup?: number | null, roleId: string, value?: any | null }> | null, rowLevelPermissionPredicateGroups?: Array<{ __typename?: 'RowLevelPermissionPredicateGroup', id: string, parentRowLevelPermissionPredicateGroupId?: string | null, logicalOperator: RowLevelPermissionPredicateGroupLogicalOperator, positionInRowLevelPermissionPredicateGroup?: number | null, roleId: string, objectMetadataId: string }> | null }> | null, twoFactorAuthenticationMethodSummary?: Array<{ __typename?: 'TwoFactorAuthenticationMethodSummary', twoFactorAuthenticationMethodId: string, status: string, strategy: string }> | null } | null, currentWorkspace?: { __typename?: 'Workspace', id: string, displayName?: string | null, logo?: string | null, inviteHash?: string | null, allowImpersonation: boolean, activationStatus: WorkspaceActivationStatus, isPublicInviteLinkEnabled: boolean, workspaceDiscoverability: WorkspaceDiscoverability, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, isGoogleAuthBypassEnabled: boolean, isMicrosoftAuthBypassEnabled: boolean, isPasswordAuthBypassEnabled: boolean, subdomain: string, customDomain?: string | null, hasValidSignedEnterpriseKey: boolean, hasValidEnterpriseValidityToken: boolean, isCustomDomainEnabled: boolean, workspaceMembersCount?: number | null, fastModel: string, smartModel: string, aiAdditionalInstructions?: string | null, enabledAiModelIds?: Array<string> | null, useRecommendedModels: boolean, isTwoFactorAuthenticationEnforced: boolean, trashRetentionDays: number, eventLogRetentionDays: number, editableProfileFields?: Array<string> | null, isInternalMessagesImportEnabled: boolean, workspaceCustomApplication?: { __typename?: 'Application', id: string } | null, installedApplications: Array<{ __typename?: 'Application', id: string, name: string, universalIdentifier: string, logoUrl?: string | null }>, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, featureFlags?: Array<{ __typename?: 'FeatureFlag', key: FeatureFlagKey, value: boolean }> | null, currentBillingSubscription?: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, billingProduct:+export type GetCurrentUserQuery = { __typename?: 'Query', currentUser: { __typename?: 'User', id: string, firstName: string, lastName: string, email: string, hasPassword: boolean, canAccessFullAdminPanel: boolean, canImpersonate: boolean, supportUserHash?: string | null, onboardingStatus?: OnboardingStatus | null, userVars?: any | null, workspaceMember?: { __typename?: 'WorkspaceMember', id: string, colorScheme: string, openRecordIn: OpenRecordIn, avatarUrl?: string | null, locale?: string | null, userEmail: string, userWorkspaceId?: string | null, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, numberFormat?: WorkspaceMemberNumberFormatEnum | null, name: { __typename?: 'FullName', firstName: string, lastName: string } } | null, workspaceMembers?: Array<{ __typename?: 'WorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, userWorkspaceId?: string | null, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, deletedWorkspaceMembers?: Array<{ __typename?: 'DeletedWorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, currentUserWorkspace?: { __typename?: 'UserWorkspace', id: string, permissionFlags?: Array<PermissionFlagType> | null, objectsPermissions?: Array<{ __typename?: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null, rowLevelPermissionPredicates?: Array<{ __typename?: 'RowLevelPermissionPredicate', id: string, fieldMetadataId: string, objectMetadataId: string, operand: RowLevelPermissionPredicateOperand, subFieldName?: string | null, workspaceMemberFieldMetadataId?: string | null, workspaceMemberSubFieldName?: string | null, rowLevelPermissionPredicateGroupId?: string | null, positionInRowLevelPermissionPredicateGroup?: number | null, roleId: string, value?: any | null }> | null, rowLevelPermissionPredicateGroups?: Array<{ __typename?: 'RowLevelPermissionPredicateGroup', id: string, parentRowLevelPermissionPredicateGroupId?: string | null, logicalOperator: RowLevelPermissionPredicateGroupLogicalOperator, positionInRowLevelPermissionPredicateGroup?: number | null, roleId: string, objectMetadataId: string }> | null }> | null, twoFactorAuthenticationMethodSummary?: Array<{ __typename?: 'TwoFactorAuthenticationMethodSummary', twoFactorAuthenticationMethodId: string, status: string, strategy: string }> | null } | null, currentWorkspace?: { __typename?: 'Workspace', id: string, displayName?: string | null, logo?: string | null, inviteHash?: string | null, allowImpersonation: boolean, activationStatus: WorkspaceActivationStatus, isPublicInviteLinkEnabled: boolean, workspaceDiscoverability: WorkspaceDiscoverability, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, isGoogleAuthBypassEnabled: boolean, isMicrosoftAuthBypassEnabled: boolean, isPasswordAuthBypassEnabled: boolean, subdomain: string, customDomain?: string | null, hasValidSignedEnterpriseKey: boolean, hasValidEnterpriseValidityToken: boolean, isCustomDomainEnabled: boolean, workspaceMembersCount?: number | null, fastModel: string, smartModel: string, aiAdditionalInstructions?: string | null, enabledAiModelIds?: Array<string> | null, useRecommendedModels: boolean, isTwoFactorAuthenticationEnforced: boolean, trashRetentionDays: number, eventLogRetentionDays: number, editableProfileFields?: Array<string> | null, isInternalMessagesImportEnabled: boolean, workspaceCustomApplication?: { __typename?: 'Application', id: string } | null, installedApplications: Array<{ __typename?: 'Application', id: string, name: string, universalIdentifier: string, logoUrl?: string | null }>, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, featureFlags?: Array<{ __typename?: 'FeatureFlag', key: FeatureFlagKey, value: boolean }> | null, currentBillingSubscription?: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, billingProduct:| { __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } }| { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } }}> | null } | null, billingCustomer?: { __typename?: 'BillingCustomer', id: string, hasPaymentMethod?: boolean | null } | null, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, metadata: any, cancelAt?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }> }>, billingEntitlements: Array<{ __typename?: 'BillingEntitlement', key: BillingEntitlementKey, value: 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, canBeAssignedToUsers: boolean, canBeAssignedToAgents: boolean, canBeAssignedToApiKeys: boolean } | 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 }> }> } } };@@ -9066,7 +9084,7 @@ export type DeletedWorkspaceMemberQueryFragmentFragment = { __typename?: 'Deleteexport type PartialWorkspaceMemberQueryFragmentFragment = { __typename?: 'WorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, userWorkspaceId?: string | null, name: { __typename?: 'FullName', firstName: string, lastName: string } };-export type WorkspaceMemberQueryFragmentFragment = { __typename?: 'WorkspaceMember', id: string, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, userWorkspaceId?: string | null, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, numberFormat?: WorkspaceMemberNumberFormatEnum | null, name: { __typename?: 'FullName', firstName: string, lastName: string } };+export type WorkspaceMemberQueryFragmentFragment = { __typename?: 'WorkspaceMember', id: string, colorScheme: string, openRecordIn: OpenRecordIn, avatarUrl?: string | null, locale?: string | null, userEmail: string, userWorkspaceId?: string | null, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, numberFormat?: WorkspaceMemberNumberFormatEnum | null, name: { __typename?: 'FullName', firstName: string, lastName: string } };export type ActivateWorkspaceMutationVariables = Exact<{input: ActivateWorkspaceInput;@@ -9120,9 +9138,9 @@ export type GetWorkspaceFromInviteHashQuery = { __typename?: 'Query', findWorkspexport const SkillFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SkillFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Skill"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<SkillFieldsFragment, unknown>;export const AgentFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AgentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Agent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"prompt"}},{"kind":"Field","name":{"kind":"Name","value":"modelId"}},{"kind":"Field","name":{"kind":"Name","value":"responseFormat"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"modelConfiguration"}},{"kind":"Field","name":{"kind":"Name","value":"evaluationInputs"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<AgentFieldsFragment, unknown>;-export const ObjectMetadataFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectMetadataFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Object"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isUICreatable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"shortcut"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"duplicateCriteria"}},{"kind":"Field","name":{"kind":"Name","value":"searchFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"tsVectorFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"indexMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"indexWhereClause"}},{"kind":"Field","name":{"kind":"Name","value":"indexType"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"indexFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode<ObjectMetadataFieldsFragment, unknown>;+export const ObjectMetadataFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectMetadataFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Object"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isUICreatable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"shortcut"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"openRecordIn"}},{"kind":"Field","name":{"kind":"Name","value":"duplicateCriteria"}},{"kind":"Field","name":{"kind":"Name","value":"searchFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"tsVectorFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"indexMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"indexWhereClause"}},{"kind":"Field","name":{"kind":"Name","value":"indexType"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"indexFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode<ObjectMetadataFieldsFragment, unknown>;export const LogicFunctionFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LogicFunctionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LogicFunction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"runtime"}},{"kind":"Field","name":{"kind":"Name","value":"timeoutSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"executionMode"}},{"kind":"Field","name":{"kind":"Name","value":"sourceHandlerPath"}},{"kind":"Field","name":{"kind":"Name","value":"handlerName"}},{"kind":"Field","name":{"kind":"Name","value":"cronTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"databaseEventTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"httpRouteTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"toolTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"workflowActionTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<LogicFunctionFieldsFragment, unknown>;-export const ApplicationFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ApplicationFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Application"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistrationId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"canBeUninstalled"}},{"kind":"Field","name":{"kind":"Name","value":"autoUpgrade"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRoleId"}},{"kind":"Field","name":{"kind":"Name","value":"settingsCustomTabFrontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"availablePackages"}},{"kind":"Field","name":{"kind":"Name","value":"applicationVariables"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"options"}}]}},{"kind":"Field","name":{"kind":"Name","value":"agents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AgentFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"frontComponents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"componentName"}},{"kind":"Field","name":{"kind":"Name","value":"builtComponentChecksum"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isHeadless"}},{"kind":"Field","name":{"kind":"Name","value":"usesSdkClient"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"commandMenuItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"shortLabel"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isPinned"}},{"kind":"Field","name":{"kind":"Name","value":"availabilityType"}},{"kind":"Field","name":{"kind":"Name","value":"conditionalAvailabilityExpression"}},{"kind":"Field","name":{"kind":"Name","value":"frontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"objects"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectMetadataFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logicFunctions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LogicFunctionFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AgentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Agent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"prompt"}},{"kind":"Field","name":{"kind":"Name","value":"modelId"}},{"kind":"Field","name":{"kind":"Name","value":"responseFormat"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"modelConfiguration"}},{"kind":"Field","name":{"kind":"Name","value":"evaluationInputs"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectMetadataFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Object"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isUICreatable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"shortcut"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"duplicateCriteria"}},{"kind":"Field","name":{"kind":"Name","value":"searchFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"tsVectorFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"indexMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"indexWhereClause"}},{"kind":"Field","name":{"kind":"Name","value":"indexType"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"indexFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LogicFunctionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LogicFunction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"runtime"}},{"kind":"Field","name":{"kind":"Name","value":"timeoutSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"executionMode"}},{"kind":"Field","name":{"kind":"Name","value":"sourceHandlerPath"}},{"kind":"Field","name":{"kind":"Name","value":"handlerName"}},{"kind":"Field","name":{"kind":"Name","value":"cronTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"databaseEventTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"httpRouteTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"toolTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"workflowActionTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<ApplicationFieldsFragment, unknown>;+export const ApplicationFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ApplicationFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Application"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistrationId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"canBeUninstalled"}},{"kind":"Field","name":{"kind":"Name","value":"autoUpgrade"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRoleId"}},{"kind":"Field","name":{"kind":"Name","value":"settingsCustomTabFrontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"availablePackages"}},{"kind":"Field","name":{"kind":"Name","value":"applicationVariables"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"options"}}]}},{"kind":"Field","name":{"kind":"Name","value":"agents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AgentFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"frontComponents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"componentName"}},{"kind":"Field","name":{"kind":"Name","value":"builtComponentChecksum"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isHeadless"}},{"kind":"Field","name":{"kind":"Name","value":"usesSdkClient"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"commandMenuItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"shortLabel"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isPinned"}},{"kind":"Field","name":{"kind":"Name","value":"availabilityType"}},{"kind":"Field","name":{"kind":"Name","value":"conditionalAvailabilityExpression"}},{"kind":"Field","name":{"kind":"Name","value":"frontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"objects"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectMetadataFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logicFunctions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LogicFunctionFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AgentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Agent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"prompt"}},{"kind":"Field","name":{"kind":"Name","value":"modelId"}},{"kind":"Field","name":{"kind":"Name","value":"responseFormat"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"modelConfiguration"}},{"kind":"Field","name":{"kind":"Name","value":"evaluationInputs"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectMetadataFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Object"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isUICreatable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"shortcut"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"openRecordIn"}},{"kind":"Field","name":{"kind":"Name","value":"duplicateCriteria"}},{"kind":"Field","name":{"kind":"Name","value":"searchFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"tsVectorFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"indexMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"indexWhereClause"}},{"kind":"Field","name":{"kind":"Name","value":"indexType"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"indexFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LogicFunctionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LogicFunction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"runtime"}},{"kind":"Field","name":{"kind":"Name","value":"timeoutSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"executionMode"}},{"kind":"Field","name":{"kind":"Name","value":"sourceHandlerPath"}},{"kind":"Field","name":{"kind":"Name","value":"handlerName"}},{"kind":"Field","name":{"kind":"Name","value":"cronTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"databaseEventTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"httpRouteTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"toolTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"workflowActionTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<ApplicationFieldsFragment, unknown>;export const AuthTokenFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AuthTokenFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AuthToken"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"expiresAt"}}]}}]} as unknown as DocumentNode<AuthTokenFragmentFragment, unknown>;export const AuthTokenPairFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AuthTokenPairFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AuthTokenPair"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accessOrWorkspaceAgnosticToken"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AuthTokenFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"refreshToken"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AuthTokenFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AuthTokenFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AuthToken"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"expiresAt"}}]}}]} as unknown as DocumentNode<AuthTokenPairFragmentFragment, unknown>;export const AvailableSsoIdentityProvidersFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableSSOIdentityProvidersFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FindAvailableSSOIDP"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issuer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"workspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}}]}}]}}]} as unknown as DocumentNode<AvailableSsoIdentityProvidersFragmentFragment, unknown>;@@ -9143,7 +9161,7 @@ export const WebhookFragmentFragmentDoc = {"kind":"Document","definitions":[{"kiexport const ApiKeyForRoleFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ApiKeyForRoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ApiKeyForRole"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"expiresAt"}},{"kind":"Field","name":{"kind":"Name","value":"revokedAt"}}]}}]} as unknown as DocumentNode<ApiKeyForRoleFragmentFragment, unknown>;export const FieldPermissionFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FieldPermissionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FieldPermission"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"canReadFieldValue"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateFieldValue"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}}]}}]} as unknown as DocumentNode<FieldPermissionFragmentFragment, unknown>;export const RolePermissionFlagFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RolePermissionFlagFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RolePermissionFlag"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"flag"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}}]}}]} as unknown as DocumentNode<RolePermissionFlagFragmentFragment, unknown>;-export const WorkspaceMemberQueryFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"colorScheme"}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"timeZone"}},{"kind":"Field","name":{"kind":"Name","value":"dateFormat"}},{"kind":"Field","name":{"kind":"Name","value":"timeFormat"}},{"kind":"Field","name":{"kind":"Name","value":"calendarStartDay"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}}]}}]} as unknown as DocumentNode<WorkspaceMemberQueryFragmentFragment, unknown>;+export const WorkspaceMemberQueryFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"colorScheme"}},{"kind":"Field","name":{"kind":"Name","value":"openRecordIn"}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"timeZone"}},{"kind":"Field","name":{"kind":"Name","value":"dateFormat"}},{"kind":"Field","name":{"kind":"Name","value":"timeFormat"}},{"kind":"Field","name":{"kind":"Name","value":"calendarStartDay"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}}]}}]} as unknown as DocumentNode<WorkspaceMemberQueryFragmentFragment, unknown>;export const PartialWorkspaceMemberQueryFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}}]}}]} as unknown as DocumentNode<PartialWorkspaceMemberQueryFragmentFragment, unknown>;export const DeletedWorkspaceMemberQueryFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DeletedWorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}}]}}]} as unknown as DocumentNode<DeletedWorkspaceMemberQueryFragmentFragment, unknown>;export const RowLevelPermissionPredicateFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"operand"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberSubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]} as unknown as DocumentNode<RowLevelPermissionPredicateFragmentFragment, unknown>;@@ -9157,7 +9175,7 @@ export const BillingSubscriptionFragmentFragmentDoc = {"kind":"Document","definiexport const RoleFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllSettings"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllTools"}},{"kind":"Field","name":{"kind":"Name","value":"isEditable"}},{"kind":"Field","name":{"kind":"Name","value":"canReadAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToUsers"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToAgents"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToApiKeys"}}]}}]} as unknown as DocumentNode<RoleFragmentFragment, unknown>;export const AvailableWorkspaceFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspaceFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspace"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"loginToken"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"personalInviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"sso"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issuer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}}]} as unknown as DocumentNode<AvailableWorkspaceFragmentFragment, unknown>;export const AvailableWorkspacesFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspacesFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspaces"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignIn"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignUp"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspaceFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspace"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"loginToken"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"personalInviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"sso"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issuer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}}]} as unknown as DocumentNode<AvailableWorkspacesFragmentFragment, unknown>;-export const UserQueryFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"hasPassword"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessFullAdminPanel"}},{"kind":"Field","name":{"kind":"Name","value":"canImpersonate"}},{"kind":"Field","name":{"kind":"Name","value":"supportUserHash"}},{"kind":"Field","name":{"kind":"Name","value":"onboardingStatus"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMember"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"deletedWorkspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentUserWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"permissionFlags"}},{"kind":"Field","name":{"kind":"Name","value":"objectsPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectPermissionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"strategy"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"allowImpersonation"}},{"kind":"Field","name":{"kind":"Name","value":"activationStatus"}},{"kind":"Field","name":{"kind":"Name","value":"isPublicInviteLinkEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceDiscoverability"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"subdomain"}},{"kind":"Field","name":{"kind":"Name","value":"customDomain"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidSignedEnterpriseKey"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidEnterpriseValidityToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceCustomApplication"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"installedApplications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceUrlsFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"featureFlags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingCustomer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasPaymentMethod"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingEntitlements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembersCount"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RoleFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fastModel"}},{"kind":"Field","name":{"kind":"Name","value":"smartModel"}},{"kind":"Field","name":{"kind":"Name","value":"aiAdditionalInstructions"}},{"kind":"Field","name":{"kind":"Name","value":"enabledAiModelIds"}},{"kind":"Field","name":{"kind":"Name","value":"useRecommendedModels"}},{"kind":"Field","name":{"kind":"Name","value":"isTwoFactorAuthenticationEnforced"}},{"kind":"Field","name":{"kind":"Name","value":"trashRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"eventLogRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"editableProfileFields"}},{"kind":"Field","name":{"kind":"Name","value":"isInternalMessagesImportEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspaces"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspacesFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userVars"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"operand"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberSubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"parentRowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"logicalOperator"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspaceFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspace"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"loginToken"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"personalInviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"sso"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issuer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"colorScheme"}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"timeZone"}},{"kind":"Field","name":{"kind":"Name","value":"dateFormat"}},{"kind":"Field","name":{"kind":"Name","value":"timeFormat"}},{"kind":"Field","name":{"kind":"Name","value":"calendarStartDay"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DeletedWorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectPermissionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectPermission"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"canReadObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"restrictedFields"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceUrlsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceUrls"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllSettings"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllTools"}},{"kind":"Field","name":{"kind":"Name","value":"isEditable"}},{"kind":"Field","name":{"kind":"Name","value":"canReadAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToUsers"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToAgents"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToApiKeys"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspacesFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspaces"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignIn"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignUp"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}}]}}]} as unknown as DocumentNode<UserQueryFragmentFragment, unknown>;+export const UserQueryFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"hasPassword"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessFullAdminPanel"}},{"kind":"Field","name":{"kind":"Name","value":"canImpersonate"}},{"kind":"Field","name":{"kind":"Name","value":"supportUserHash"}},{"kind":"Field","name":{"kind":"Name","value":"onboardingStatus"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMember"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"deletedWorkspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentUserWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"permissionFlags"}},{"kind":"Field","name":{"kind":"Name","value":"objectsPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectPermissionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"strategy"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"allowImpersonation"}},{"kind":"Field","name":{"kind":"Name","value":"activationStatus"}},{"kind":"Field","name":{"kind":"Name","value":"isPublicInviteLinkEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceDiscoverability"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"subdomain"}},{"kind":"Field","name":{"kind":"Name","value":"customDomain"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidSignedEnterpriseKey"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidEnterpriseValidityToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceCustomApplication"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"installedApplications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceUrlsFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"featureFlags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingCustomer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasPaymentMethod"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingEntitlements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembersCount"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RoleFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fastModel"}},{"kind":"Field","name":{"kind":"Name","value":"smartModel"}},{"kind":"Field","name":{"kind":"Name","value":"aiAdditionalInstructions"}},{"kind":"Field","name":{"kind":"Name","value":"enabledAiModelIds"}},{"kind":"Field","name":{"kind":"Name","value":"useRecommendedModels"}},{"kind":"Field","name":{"kind":"Name","value":"isTwoFactorAuthenticationEnforced"}},{"kind":"Field","name":{"kind":"Name","value":"trashRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"eventLogRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"editableProfileFields"}},{"kind":"Field","name":{"kind":"Name","value":"isInternalMessagesImportEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspaces"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspacesFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userVars"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"operand"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberSubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"parentRowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"logicalOperator"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspaceFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspace"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"loginToken"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"personalInviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"sso"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issuer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"colorScheme"}},{"kind":"Field","name":{"kind":"Name","value":"openRecordIn"}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"timeZone"}},{"kind":"Field","name":{"kind":"Name","value":"dateFormat"}},{"kind":"Field","name":{"kind":"Name","value":"timeFormat"}},{"kind":"Field","name":{"kind":"Name","value":"calendarStartDay"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DeletedWorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectPermissionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectPermission"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"canReadObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"restrictedFields"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceUrlsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceUrls"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllSettings"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllTools"}},{"kind":"Field","name":{"kind":"Name","value":"isEditable"}},{"kind":"Field","name":{"kind":"Name","value":"canReadAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToUsers"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToAgents"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToApiKeys"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspacesFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspaces"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignIn"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignUp"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}}]}}]} as unknown as DocumentNode<UserQueryFragmentFragment, unknown>;export const ViewFieldFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ViewFieldFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"isVisible"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"viewFieldGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}}]}}]} as unknown as DocumentNode<ViewFieldFragmentFragment, unknown>;export const ViewFieldGroupFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ViewFieldGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewFieldGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"isVisible"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}},{"kind":"Field","name":{"kind":"Name","value":"viewFields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ViewFieldFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ViewFieldFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"isVisible"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"viewFieldGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}}]}}]} as unknown as DocumentNode<ViewFieldGroupFragmentFragment, unknown>;export const ViewFilterFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ViewFilterFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewFilter"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"operand"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"viewFilterGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"positionInViewFilterGroup"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"relationTargetFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}}]}}]} as unknown as DocumentNode<ViewFilterFragmentFragment, unknown>;@@ -9206,7 +9224,7 @@ export const GetToolInputSchemaDocument = {"kind":"Document","definitions":[{"kiexport const OnAgentChatEventDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"OnAgentChatEvent"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"threadId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"onAgentChatEvent"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"threadId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"threadId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"threadId"}},{"kind":"Field","name":{"kind":"Name","value":"event"}}]}}]}}]} as unknown as DocumentNode<OnAgentChatEventSubscription, OnAgentChatEventSubscriptionVariables>;export const TrackAnalyticsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"TrackAnalytics"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AnalyticsType"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"event"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"properties"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"JSON"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"trackAnalytics"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}},{"kind":"Argument","name":{"kind":"Name","value":"event"},"value":{"kind":"Variable","name":{"kind":"Name","value":"event"}}},{"kind":"Argument","name":{"kind":"Name","value":"name"},"value":{"kind":"Variable","name":{"kind":"Name","value":"name"}}},{"kind":"Argument","name":{"kind":"Name","value":"properties"},"value":{"kind":"Variable","name":{"kind":"Name","value":"properties"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"success"}}]}}]}}]} as unknown as DocumentNode<TrackAnalyticsMutation, TrackAnalyticsMutationVariables>;export const FindManyApplicationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindManyApplications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findManyApplications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistrationId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}}]}}]}}]}}]} as unknown as DocumentNode<FindManyApplicationsQuery, FindManyApplicationsQueryVariables>;-export const FindOneApplicationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindOneApplication"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findOneApplication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ApplicationFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AgentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Agent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"prompt"}},{"kind":"Field","name":{"kind":"Name","value":"modelId"}},{"kind":"Field","name":{"kind":"Name","value":"responseFormat"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"modelConfiguration"}},{"kind":"Field","name":{"kind":"Name","value":"evaluationInputs"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectMetadataFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Object"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isUICreatable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"shortcut"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"duplicateCriteria"}},{"kind":"Field","name":{"kind":"Name","value":"searchFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"tsVectorFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"indexMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"indexWhereClause"}},{"kind":"Field","name":{"kind":"Name","value":"indexType"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"indexFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LogicFunctionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LogicFunction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"runtime"}},{"kind":"Field","name":{"kind":"Name","value":"timeoutSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"executionMode"}},{"kind":"Field","name":{"kind":"Name","value":"sourceHandlerPath"}},{"kind":"Field","name":{"kind":"Name","value":"handlerName"}},{"kind":"Field","name":{"kind":"Name","value":"cronTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"databaseEventTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"httpRouteTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"toolTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"workflowActionTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ApplicationFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Application"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistrationId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"canBeUninstalled"}},{"kind":"Field","name":{"kind":"Name","value":"autoUpgrade"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRoleId"}},{"kind":"Field","name":{"kind":"Name","value":"settingsCustomTabFrontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"availablePackages"}},{"kind":"Field","name":{"kind":"Name","value":"applicationVariables"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"options"}}]}},{"kind":"Field","name":{"kind":"Name","value":"agents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AgentFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"frontComponents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"componentName"}},{"kind":"Field","name":{"kind":"Name","value":"builtComponentChecksum"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isHeadless"}},{"kind":"Field","name":{"kind":"Name","value":"usesSdkClient"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"commandMenuItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"shortLabel"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isPinned"}},{"kind":"Field","name":{"kind":"Name","value":"availabilityType"}},{"kind":"Field","name":{"kind":"Name","value":"conditionalAvailabilityExpression"}},{"kind":"Field","name":{"kind":"Name","value":"frontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"objects"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectMetadataFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logicFunctions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LogicFunctionFields"}}]}}]}}]} as unknown as DocumentNode<FindOneApplicationQuery, FindOneApplicationQueryVariables>;+export const FindOneApplicationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindOneApplication"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findOneApplication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ApplicationFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AgentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Agent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"prompt"}},{"kind":"Field","name":{"kind":"Name","value":"modelId"}},{"kind":"Field","name":{"kind":"Name","value":"responseFormat"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"modelConfiguration"}},{"kind":"Field","name":{"kind":"Name","value":"evaluationInputs"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectMetadataFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Object"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isUICreatable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"shortcut"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"openRecordIn"}},{"kind":"Field","name":{"kind":"Name","value":"duplicateCriteria"}},{"kind":"Field","name":{"kind":"Name","value":"searchFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"tsVectorFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"indexMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"indexWhereClause"}},{"kind":"Field","name":{"kind":"Name","value":"indexType"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"indexFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LogicFunctionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LogicFunction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"runtime"}},{"kind":"Field","name":{"kind":"Name","value":"timeoutSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"executionMode"}},{"kind":"Field","name":{"kind":"Name","value":"sourceHandlerPath"}},{"kind":"Field","name":{"kind":"Name","value":"handlerName"}},{"kind":"Field","name":{"kind":"Name","value":"cronTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"databaseEventTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"httpRouteTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"toolTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"workflowActionTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ApplicationFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Application"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistrationId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"canBeUninstalled"}},{"kind":"Field","name":{"kind":"Name","value":"autoUpgrade"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRoleId"}},{"kind":"Field","name":{"kind":"Name","value":"settingsCustomTabFrontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"availablePackages"}},{"kind":"Field","name":{"kind":"Name","value":"applicationVariables"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"options"}}]}},{"kind":"Field","name":{"kind":"Name","value":"agents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AgentFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"frontComponents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"componentName"}},{"kind":"Field","name":{"kind":"Name","value":"builtComponentChecksum"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isHeadless"}},{"kind":"Field","name":{"kind":"Name","value":"usesSdkClient"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"commandMenuItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"shortLabel"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isPinned"}},{"kind":"Field","name":{"kind":"Name","value":"availabilityType"}},{"kind":"Field","name":{"kind":"Name","value":"conditionalAvailabilityExpression"}},{"kind":"Field","name":{"kind":"Name","value":"frontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"objects"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectMetadataFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logicFunctions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LogicFunctionFields"}}]}}]}}]} as unknown as DocumentNode<FindOneApplicationQuery, FindOneApplicationQueryVariables>;export const FindOneApplicationByUniversalIdentifierDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindOneApplicationByUniversalIdentifier"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findOneApplication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"universalIdentifier"},"value":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]}}]} as unknown as DocumentNode<FindOneApplicationByUniversalIdentifierQuery, FindOneApplicationByUniversalIdentifierQueryVariables>;export const FindOneApplicationNameDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindOneApplicationName"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findOneApplication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<FindOneApplicationNameQuery, FindOneApplicationNameQueryVariables>;export const FindOneApplicationSummaryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindOneApplicationSummary"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findOneApplication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"universalIdentifier"},"value":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<FindOneApplicationSummaryQuery, FindOneApplicationSummaryQueryVariables>;@@ -9275,15 +9293,15 @@ export const DeleteManyNavigationMenuItemsDocument = {"kind":"Document","definitexport const UpdateManyNavigationMenuItemsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateManyNavigationMenuItems"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"inputs"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateOneNavigationMenuItemInput"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateManyNavigationMenuItems"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"inputs"},"value":{"kind":"Variable","name":{"kind":"Name","value":"inputs"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavigationMenuItemQueryFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavigationMenuItemFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NavigationMenuItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"targetRecordId"}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"folderId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"link"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"pageLayoutId"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavigationMenuItemQueryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NavigationMenuItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavigationMenuItemFields"}},{"kind":"Field","name":{"kind":"Name","value":"targetRecordIdentifier"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifier"}}]}}]}}]} as unknown as DocumentNode<UpdateManyNavigationMenuItemsMutation, UpdateManyNavigationMenuItemsMutationVariables>;export const FindManyNavigationMenuItemsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindManyNavigationMenuItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"navigationMenuItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavigationMenuItemQueryFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavigationMenuItemFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NavigationMenuItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"targetRecordId"}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"folderId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"link"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"pageLayoutId"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavigationMenuItemQueryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NavigationMenuItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavigationMenuItemFields"}},{"kind":"Field","name":{"kind":"Name","value":"targetRecordIdentifier"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifier"}}]}}]}}]} as unknown as DocumentNode<FindManyNavigationMenuItemsQuery, FindManyNavigationMenuItemsQueryVariables>;export const FindOneNavigationMenuItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindOneNavigationMenuItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"navigationMenuItem"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavigationMenuItemQueryFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavigationMenuItemFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NavigationMenuItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"targetRecordId"}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"folderId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"link"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"pageLayoutId"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavigationMenuItemQueryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NavigationMenuItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavigationMenuItemFields"}},{"kind":"Field","name":{"kind":"Name","value":"targetRecordIdentifier"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifier"}}]}}]}}]} as unknown as DocumentNode<FindOneNavigationMenuItemQuery, FindOneNavigationMenuItemQueryVariables>;-export const CreateOneObjectMetadataItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateOneObjectMetadataItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateOneObjectInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createOneObject"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isUICreatable"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"shortcut"}},{"kind":"Field","name":{"kind":"Name","value":"duplicateCriteria"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<CreateOneObjectMetadataItemMutation, CreateOneObjectMetadataItemMutationVariables>;+export const CreateOneObjectMetadataItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateOneObjectMetadataItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateOneObjectInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createOneObject"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isUICreatable"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"openRecordIn"}},{"kind":"Field","name":{"kind":"Name","value":"shortcut"}},{"kind":"Field","name":{"kind":"Name","value":"duplicateCriteria"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<CreateOneObjectMetadataItemMutation, CreateOneObjectMetadataItemMutationVariables>;export const CreateOneFieldMetadataItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateOneFieldMetadataItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateOneFieldMetadataInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createOneField"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode<CreateOneFieldMetadataItemMutation, CreateOneFieldMetadataItemMutationVariables>;export const UpdateOneFieldMetadataItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateOneFieldMetadataItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"idToUpdate"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"updatePayload"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateFieldInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateOneField"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"idToUpdate"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"update"},"value":{"kind":"Variable","name":{"kind":"Name","value":"updatePayload"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateOneFieldMetadataItemMutation, UpdateOneFieldMetadataItemMutationVariables>;-export const UpdateOneObjectMetadataItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateOneObjectMetadataItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"idToUpdate"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"updatePayload"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateObjectPayload"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateOneObject"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"idToUpdate"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"update"},"value":{"kind":"Variable","name":{"kind":"Name","value":"updatePayload"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}}]}}]}}]} as unknown as DocumentNode<UpdateOneObjectMetadataItemMutation, UpdateOneObjectMetadataItemMutationVariables>;-export const DeleteOneObjectMetadataItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteOneObjectMetadataItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"idToDelete"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteOneObject"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"idToDelete"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}}]}}]}}]} as unknown as DocumentNode<DeleteOneObjectMetadataItemMutation, DeleteOneObjectMetadataItemMutationVariables>;+export const UpdateOneObjectMetadataItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateOneObjectMetadataItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"idToUpdate"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"updatePayload"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateObjectPayload"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateOneObject"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"idToUpdate"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"update"},"value":{"kind":"Variable","name":{"kind":"Name","value":"updatePayload"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"openRecordIn"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}}]}}]}}]} as unknown as DocumentNode<UpdateOneObjectMetadataItemMutation, UpdateOneObjectMetadataItemMutationVariables>;+export const DeleteOneObjectMetadataItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteOneObjectMetadataItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"idToDelete"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteOneObject"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"idToDelete"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"openRecordIn"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}}]}}]}}]} as unknown as DocumentNode<DeleteOneObjectMetadataItemMutation, DeleteOneObjectMetadataItemMutationVariables>;export const DeleteOneFieldMetadataItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteOneFieldMetadataItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"idToDelete"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteOneField"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"idToDelete"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode<DeleteOneFieldMetadataItemMutation, DeleteOneFieldMetadataItemMutationVariables>;export const CreateOneIndexMetadataItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateOneIndexMetadataItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateOneIndexInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createOneIndex"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"indexType"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"indexWhereClause"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"indexFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"}}]}}]}}]}}]} as unknown as DocumentNode<CreateOneIndexMetadataItemMutation, CreateOneIndexMetadataItemMutationVariables>;export const DeleteOneIndexMetadataItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteOneIndexMetadataItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"idToDelete"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteOneIndex"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"idToDelete"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<DeleteOneIndexMetadataItemMutation, DeleteOneIndexMetadataItemMutationVariables>;-export const ObjectMetadataItemsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ObjectMetadataItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objects"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"paging"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"1000"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectMetadataFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}},{"kind":"Field","name":{"kind":"Name","value":"hasPreviousPage"}},{"kind":"Field","name":{"kind":"Name","value":"startCursor"}},{"kind":"Field","name":{"kind":"Name","value":"endCursor"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectMetadataFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Object"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isUICreatable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"shortcut"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"duplicateCriteria"}},{"kind":"Field","name":{"kind":"Name","value":"searchFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"tsVectorFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"indexMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"indexWhereClause"}},{"kind":"Field","name":{"kind":"Name","value":"indexType"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"indexFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode<ObjectMetadataItemsQuery, ObjectMetadataItemsQueryVariables>;+export const ObjectMetadataItemsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ObjectMetadataItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objects"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"paging"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"1000"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectMetadataFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}},{"kind":"Field","name":{"kind":"Name","value":"hasPreviousPage"}},{"kind":"Field","name":{"kind":"Name","value":"startCursor"}},{"kind":"Field","name":{"kind":"Name","value":"endCursor"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectMetadataFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Object"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isUICreatable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"shortcut"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"openRecordIn"}},{"kind":"Field","name":{"kind":"Name","value":"duplicateCriteria"}},{"kind":"Field","name":{"kind":"Name","value":"searchFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"tsVectorFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"indexMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"indexWhereClause"}},{"kind":"Field","name":{"kind":"Name","value":"indexType"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"indexFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode<ObjectMetadataItemsQuery, ObjectMetadataItemsQueryVariables>;export const ObjectRecordCountsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ObjectRecordCounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectRecordCounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectNamePlural"}},{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}}]} as unknown as DocumentNode<ObjectRecordCountsQuery, ObjectRecordCountsQueryVariables>;export const MostlyEmptyFieldMetadataIdsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"MostlyEmptyFieldMetadataIds"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"objectMetadataId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mostlyEmptyFieldMetadataIds"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"objectMetadataId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"objectMetadataId"}}}]}]}}]} as unknown as DocumentNode<MostlyEmptyFieldMetadataIdsQuery, MostlyEmptyFieldMetadataIdsQueryVariables>;export const EnrichWorkspaceCompanyDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"EnrichWorkspaceCompany"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"enrichWorkspaceCompany"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"outcome"}},{"kind":"Field","name":{"kind":"Name","value":"enrichment"}}]}}]}}]} as unknown as DocumentNode<EnrichWorkspaceCompanyMutation, EnrichWorkspaceCompanyMutationVariables>;@@ -9381,7 +9399,7 @@ export const UpdateWorkspaceMemberSettingsDocument = {"kind":"Document","definitexport const CreateOneRoleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateOneRole"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"createRoleInput"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateRoleInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createOneRole"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"createRoleInput"},"value":{"kind":"Variable","name":{"kind":"Name","value":"createRoleInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RoleFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllSettings"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllTools"}},{"kind":"Field","name":{"kind":"Name","value":"isEditable"}},{"kind":"Field","name":{"kind":"Name","value":"canReadAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToUsers"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToAgents"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToApiKeys"}}]}}]} as unknown as DocumentNode<CreateOneRoleMutation, CreateOneRoleMutationVariables>;export const DeleteOneRoleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteOneRole"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"roleId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteOneRole"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"roleId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"roleId"}}}]}]}}]} as unknown as DocumentNode<DeleteOneRoleMutation, DeleteOneRoleMutationVariables>;export const UpdateOneRoleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateOneRole"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"updateRoleInput"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateRoleInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateOneRole"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"updateRoleInput"},"value":{"kind":"Variable","name":{"kind":"Name","value":"updateRoleInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RoleFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllSettings"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllTools"}},{"kind":"Field","name":{"kind":"Name","value":"isEditable"}},{"kind":"Field","name":{"kind":"Name","value":"canReadAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToUsers"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToAgents"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToApiKeys"}}]}}]} as unknown as DocumentNode<UpdateOneRoleMutation, UpdateOneRoleMutationVariables>;-export const UpdateWorkspaceMemberRoleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateWorkspaceMemberRole"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"workspaceMemberId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"roleId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateWorkspaceMemberRole"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"workspaceMemberId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"workspaceMemberId"}}},{"kind":"Argument","name":{"kind":"Name","value":"roleId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"roleId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"}},{"kind":"Field","name":{"kind":"Name","value":"roles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RoleFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"colorScheme"}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"timeZone"}},{"kind":"Field","name":{"kind":"Name","value":"dateFormat"}},{"kind":"Field","name":{"kind":"Name","value":"timeFormat"}},{"kind":"Field","name":{"kind":"Name","value":"calendarStartDay"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllSettings"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllTools"}},{"kind":"Field","name":{"kind":"Name","value":"isEditable"}},{"kind":"Field","name":{"kind":"Name","value":"canReadAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToUsers"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToAgents"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToApiKeys"}}]}}]} as unknown as DocumentNode<UpdateWorkspaceMemberRoleMutation, UpdateWorkspaceMemberRoleMutationVariables>;+export const UpdateWorkspaceMemberRoleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateWorkspaceMemberRole"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"workspaceMemberId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"roleId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateWorkspaceMemberRole"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"workspaceMemberId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"workspaceMemberId"}}},{"kind":"Argument","name":{"kind":"Name","value":"roleId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"roleId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"}},{"kind":"Field","name":{"kind":"Name","value":"roles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RoleFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"colorScheme"}},{"kind":"Field","name":{"kind":"Name","value":"openRecordIn"}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"timeZone"}},{"kind":"Field","name":{"kind":"Name","value":"dateFormat"}},{"kind":"Field","name":{"kind":"Name","value":"timeFormat"}},{"kind":"Field","name":{"kind":"Name","value":"calendarStartDay"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllSettings"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllTools"}},{"kind":"Field","name":{"kind":"Name","value":"isEditable"}},{"kind":"Field","name":{"kind":"Name","value":"canReadAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToUsers"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToAgents"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToApiKeys"}}]}}]} as unknown as DocumentNode<UpdateWorkspaceMemberRoleMutation, UpdateWorkspaceMemberRoleMutationVariables>;export const UpsertFieldPermissionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpsertFieldPermissions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"upsertFieldPermissionsInput"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpsertFieldPermissionsInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"upsertFieldPermissions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"upsertFieldPermissionsInput"},"value":{"kind":"Variable","name":{"kind":"Name","value":"upsertFieldPermissionsInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FieldPermissionFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FieldPermissionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FieldPermission"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"canReadFieldValue"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateFieldValue"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}}]}}]} as unknown as DocumentNode<UpsertFieldPermissionsMutation, UpsertFieldPermissionsMutationVariables>;export const UpsertObjectPermissionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpsertObjectPermissions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"upsertObjectPermissionsInput"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpsertObjectPermissionsInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"upsertObjectPermissions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"upsertObjectPermissionsInput"},"value":{"kind":"Variable","name":{"kind":"Name","value":"upsertObjectPermissionsInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectPermissionFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"operand"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberSubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"parentRowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"logicalOperator"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectPermissionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectPermission"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"canReadObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"restrictedFields"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"}}]}}]}}]} as unknown as DocumentNode<UpsertObjectPermissionsMutation, UpsertObjectPermissionsMutationVariables>;export const UpsertPermissionFlagsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpsertPermissionFlags"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"upsertPermissionFlagsInput"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpsertPermissionFlagsInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"upsertPermissionFlags"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"upsertPermissionFlagsInput"},"value":{"kind":"Variable","name":{"kind":"Name","value":"upsertPermissionFlagsInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RolePermissionFlagFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RolePermissionFlagFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RolePermissionFlag"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"flag"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}}]}}]} as unknown as DocumentNode<UpsertPermissionFlagsMutation, UpsertPermissionFlagsMutationVariables>;@@ -9404,7 +9422,7 @@ export const MessageSuppressionsDocument = {"kind":"Document","definitions":[{"kexport const GetUsageAnalyticsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetUsageAnalytics"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"UsageAnalyticsInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getUsageAnalytics"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"usageByUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"creditsUsed"}}]}},{"kind":"Field","name":{"kind":"Name","value":"usageByOperationType"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"creditsUsed"}}]}},{"kind":"Field","name":{"kind":"Name","value":"usageByModel"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"creditsUsed"}}]}},{"kind":"Field","name":{"kind":"Name","value":"timeSeries"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"creditsUsed"}}]}},{"kind":"Field","name":{"kind":"Name","value":"periodStart"}},{"kind":"Field","name":{"kind":"Name","value":"periodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"userDailyUsage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"dailyUsage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"creditsUsed"}}]}}]}}]}}]}}]} as unknown as DocumentNode<GetUsageAnalyticsQuery, GetUsageAnalyticsQueryVariables>;export const DeleteUserAccountDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteUserAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<DeleteUserAccountMutation, DeleteUserAccountMutationVariables>;export const DeleteUserWorkspaceDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteUserWorkspace"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"workspaceMemberIdToDelete"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteUserFromWorkspace"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"workspaceMemberIdToDelete"},"value":{"kind":"Variable","name":{"kind":"Name","value":"workspaceMemberIdToDelete"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<DeleteUserWorkspaceMutation, DeleteUserWorkspaceMutationVariables>;-export const GetCurrentUserDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCurrentUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserQueryFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"colorScheme"}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"timeZone"}},{"kind":"Field","name":{"kind":"Name","value":"dateFormat"}},{"kind":"Field","name":{"kind":"Name","value":"timeFormat"}},{"kind":"Field","name":{"kind":"Name","value":"calendarStartDay"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DeletedWorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"operand"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberSubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"parentRowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"logicalOperator"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectPermissionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectPermission"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"canReadObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"restrictedFields"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceUrlsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceUrls"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllSettings"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllTools"}},{"kind":"Field","name":{"kind":"Name","value":"isEditable"}},{"kind":"Field","name":{"kind":"Name","value":"canReadAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToUsers"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToAgents"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToApiKeys"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspaceFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspace"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"loginToken"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"personalInviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"sso"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issuer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspacesFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspaces"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignIn"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignUp"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"hasPassword"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessFullAdminPanel"}},{"kind":"Field","name":{"kind":"Name","value":"canImpersonate"}},{"kind":"Field","name":{"kind":"Name","value":"supportUserHash"}},{"kind":"Field","name":{"kind":"Name","value":"onboardingStatus"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMember"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"deletedWorkspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentUserWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"permissionFlags"}},{"kind":"Field","name":{"kind":"Name","value":"objectsPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectPermissionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"strategy"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"allowImpersonation"}},{"kind":"Field","name":{"kind":"Name","value":"activationStatus"}},{"kind":"Field","name":{"kind":"Name","value":"isPublicInviteLinkEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceDiscoverability"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"subdomain"}},{"kind":"Field","name":{"kind":"Name","value":"customDomain"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidSignedEnterpriseKey"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidEnterpriseValidityToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceCustomApplication"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"installedApplications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceUrlsFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"featureFlags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingCustomer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasPaymentMethod"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingEntitlements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembersCount"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RoleFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fastModel"}},{"kind":"Field","name":{"kind":"Name","value":"smartModel"}},{"kind":"Field","name":{"kind":"Name","value":"aiAdditionalInstructions"}},{"kind":"Field","name":{"kind":"Name","value":"enabledAiModelIds"}},{"kind":"Field","name":{"kind":"Name","value":"useRecommendedModels"}},{"kind":"Field","name":{"kind":"Name","value":"isTwoFactorAuthenticationEnforced"}},{"kind":"Field","name":{"kind":"Name","value":"trashRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"eventLogRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"editableProfileFields"}},{"kind":"Field","name":{"kind":"Name","value":"isInternalMessagesImportEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspaces"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspacesFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userVars"}}]}}]} as unknown as DocumentNode<GetCurrentUserQuery, GetCurrentUserQueryVariables>;+export const GetCurrentUserDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCurrentUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserQueryFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"colorScheme"}},{"kind":"Field","name":{"kind":"Name","value":"openRecordIn"}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"timeZone"}},{"kind":"Field","name":{"kind":"Name","value":"dateFormat"}},{"kind":"Field","name":{"kind":"Name","value":"timeFormat"}},{"kind":"Field","name":{"kind":"Name","value":"calendarStartDay"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DeletedWorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"operand"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberSubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"parentRowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"logicalOperator"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectPermissionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectPermission"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"canReadObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"restrictedFields"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceUrlsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceUrls"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllSettings"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllTools"}},{"kind":"Field","name":{"kind":"Name","value":"isEditable"}},{"kind":"Field","name":{"kind":"Name","value":"canReadAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToUsers"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToAgents"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToApiKeys"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspaceFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspace"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"loginToken"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"personalInviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"sso"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issuer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspacesFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspaces"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignIn"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignUp"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"hasPassword"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessFullAdminPanel"}},{"kind":"Field","name":{"kind":"Name","value":"canImpersonate"}},{"kind":"Field","name":{"kind":"Name","value":"supportUserHash"}},{"kind":"Field","name":{"kind":"Name","value":"onboardingStatus"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMember"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"deletedWorkspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentUserWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"permissionFlags"}},{"kind":"Field","name":{"kind":"Name","value":"objectsPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectPermissionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"strategy"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"allowImpersonation"}},{"kind":"Field","name":{"kind":"Name","value":"activationStatus"}},{"kind":"Field","name":{"kind":"Name","value":"isPublicInviteLinkEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceDiscoverability"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"subdomain"}},{"kind":"Field","name":{"kind":"Name","value":"customDomain"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidSignedEnterpriseKey"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidEnterpriseValidityToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceCustomApplication"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"installedApplications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceUrlsFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"featureFlags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingCustomer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasPaymentMethod"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingEntitlements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembersCount"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RoleFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fastModel"}},{"kind":"Field","name":{"kind":"Name","value":"smartModel"}},{"kind":"Field","name":{"kind":"Name","value":"aiAdditionalInstructions"}},{"kind":"Field","name":{"kind":"Name","value":"enabledAiModelIds"}},{"kind":"Field","name":{"kind":"Name","value":"useRecommendedModels"}},{"kind":"Field","name":{"kind":"Name","value":"isTwoFactorAuthenticationEnforced"}},{"kind":"Field","name":{"kind":"Name","value":"trashRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"eventLogRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"editableProfileFields"}},{"kind":"Field","name":{"kind":"Name","value":"isInternalMessagesImportEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspaces"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspacesFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userVars"}}]}}]} as unknown as DocumentNode<GetCurrentUserQuery, GetCurrentUserQueryVariables>;export const CreateManyViewFieldsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateManyViewFields"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"inputs"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateViewFieldInput"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createManyViewFields"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"inputs"},"value":{"kind":"Variable","name":{"kind":"Name","value":"inputs"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ViewFieldFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ViewFieldFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"isVisible"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"viewFieldGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}}]}}]} as unknown as DocumentNode<CreateManyViewFieldsMutation, CreateManyViewFieldsMutationVariables>;export const CreateManyViewGroupsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateManyViewGroups"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"inputs"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateViewGroupInput"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createManyViewGroups"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"inputs"},"value":{"kind":"Variable","name":{"kind":"Name","value":"inputs"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ViewGroupFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ViewGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"isVisible"}},{"kind":"Field","name":{"kind":"Name","value":"fieldValue"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}}]}}]} as unknown as DocumentNode<CreateManyViewGroupsMutation, CreateManyViewGroupsMutationVariables>;export const CreateViewDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateView"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateViewInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createView"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ViewFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ViewFieldFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"isVisible"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"viewFieldGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ViewFieldGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewFieldGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"isVisible"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}},{"kind":"Field","name":{"kind":"Name","value":"viewFields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ViewFieldFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ViewFilterFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewFilter"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"operand"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"viewFilterGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"positionInViewFilterGroup"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"relationTargetFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ViewFilterGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewFilterGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"parentViewFilterGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"logicalOperator"}},{"kind":"Field","name":{"kind":"Name","value":"positionInViewFilterGroup"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ViewSortFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewSort"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"direction"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ViewGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"isVisible"}},{"kind":"Field","name":{"kind":"Name","value":"fieldValue"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ViewFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"View"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"isCompact"}},{"kind":"Field","name":{"kind":"Name","value":"openRecordIn"}},{"kind":"Field","name":{"kind":"Name","value":"kanbanAggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"kanbanAggregateOperationFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"mainGroupByFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"shouldHideEmptyGroups"}},{"kind":"Field","name":{"kind":"Name","value":"kanbanColumnWidth"}},{"kind":"Field","name":{"kind":"Name","value":"anyFieldFilterValue"}},{"kind":"Field","name":{"kind":"Name","value":"calendarFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"calendarEndFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"calendarLayout"}},{"kind":"Field","name":{"kind":"Name","value":"visibility"}},{"kind":"Field","name":{"kind":"Name","value":"createdByUserWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"viewFields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ViewFieldFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"viewFieldGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ViewFieldGroupFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"viewFilters"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ViewFilterFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"viewFilterGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ViewFilterGroupFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"viewSorts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ViewSortFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"viewGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ViewGroupFragment"}}]}}]}}]} as unknown as DocumentNode<CreateViewMutation, CreateViewMutationVariables>;diff --git a/packages/twenty-front/src/modules/command-menu-item/components/RecordShowSidePanelOpenRecordButton.tsx b/packages/twenty-front/src/modules/command-menu-item/components/RecordShowSidePanelOpenRecordButton.tsxindex bfee4206f83..e7ccd8a5626 100644--- a/packages/twenty-front/src/modules/command-menu-item/components/RecordShowSidePanelOpenRecordButton.tsx+++ b/packages/twenty-front/src/modules/command-menu-item/components/RecordShowSidePanelOpenRecordButton.tsx@@ -23,7 +23,7 @@ import { t } from '@lingui/core/macro';import { useStore } from 'jotai';import { useCallback } from 'react';import { isDefined } from 'twenty-shared/utils';-import { IconBrowserMaximize } from 'twenty-ui/icon';+import { IconAddressBook } from 'twenty-ui/icon';import { Button } from 'twenty-ui/input';import { getOsControlSymbol } from 'twenty-ui/utilities';import { useNavigateApp } from '~/hooks/useNavigateApp';@@ -143,7 +143,7 @@ export const RecordShowSidePanelOpenRecordButton = ({variant="primary"accent="blue"size="small"- Icon={IconBrowserMaximize}+ Icon={IconAddressBook}hotkeys={[getOsControlSymbol(), '⏎']}onClick={handleOpenRecord}/>diff --git a/packages/twenty-front/src/modules/front-components/hooks/__tests__/useFrontComponentExecutionContext.test.tsx b/packages/twenty-front/src/modules/front-components/hooks/__tests__/useFrontComponentExecutionContext.test.tsxindex 67a1d2b9d8c..0063a388fb6 100644--- a/packages/twenty-front/src/modules/front-components/hooks/__tests__/useFrontComponentExecutionContext.test.tsx+++ b/packages/twenty-front/src/modules/front-components/hooks/__tests__/useFrontComponentExecutionContext.test.tsx@@ -9,6 +9,15 @@ import { MAIN_CONTEXT_STORE_INSTANCE_ID } from '@/context-store/constants/MainCoimport { contextStoreRecordShowParentViewComponentState } from '@/context-store/states/contextStoreRecordShowParentViewComponentState';import { useFrontComponentExecutionContext } from '@/front-components/hooks/useFrontComponentExecutionContext';+jest.mock('@/object-metadata/hooks/useObjectMetadataItems', () => ({+ useObjectMetadataItems: () => ({+ objectMetadataItems: [+ { nameSingular: 'workflow', openRecordIn: 'RECORD_PAGE' },+ { nameSingular: 'lead', openRecordIn: 'USER_CHOICE' },+ ],+ }),+}));+const mockNavigateApp = jest.fn();const mockRequestAccessTokenRefresh = jest.fn();const mockOpenConfirmationModal = jest.fn();@@ -486,7 +495,7 @@ describe('useFrontComponentExecutionContext', () => {expect(mockOpenRecordInSidePanel).not.toHaveBeenCalled();});- it('should fall back to full-page navigation when the object cannot open in the side panel', async () => {+ it('should fall back to full-page navigation when the object is pinned to the record page', async () => {const { result } = renderUseFrontComponentExecutionContext({frontComponentId: FRONT_COMPONENT_ID,});diff --git a/packages/twenty-front/src/modules/front-components/hooks/useFrontComponentExecutionContext.ts b/packages/twenty-front/src/modules/front-components/hooks/useFrontComponentExecutionContext.tsindex 7a679067397..98e7dee2d42 100644--- a/packages/twenty-front/src/modules/front-components/hooks/useFrontComponentExecutionContext.ts+++ b/packages/twenty-front/src/modules/front-components/hooks/useFrontComponentExecutionContext.ts@@ -1,3 +1,5 @@+import { useObjectMetadataItems } from '@/object-metadata/hooks/useObjectMetadataItems';+import { resolveOpenRecordIn } from '@/object-record/record-index/utils/resolveOpenRecordIn';import { useSetAtomState } from '@/ui/utilities/state/jotai/hooks/useSetAtomState';import { isNonEmptyString } from '@sniptt/guards';import { useLingui } from '@lingui/react/macro';@@ -8,6 +10,8 @@ import {} from 'twenty-front-component-renderer';import {AppPath,+ ObjectOpenRecordIn,+ OpenRecordIn,SidePanelPages,type EnqueueSnackbarParams,} from 'twenty-shared/types';@@ -21,7 +25,6 @@ import { commandMenuItemProgressFamilyState } from '@/command-menu-item/states/cimport { MAIN_CONTEXT_STORE_INSTANCE_ID } from '@/context-store/constants/MainContextStoreInstanceId';import { contextStoreRecordShowParentViewComponentState } from '@/context-store/states/contextStoreRecordShowParentViewComponentState';import { useRequestApplicationTokenRefresh } from '@/front-components/hooks/useRequestApplicationTokenRefresh';-import { canOpenObjectInSidePanel } from '@/object-record/utils/canOpenObjectInSidePanel';import { useNavigateSidePanel } from '@/side-panel/hooks/useNavigateSidePanel';import { useOpenComposeEmailInSidePanel } from '@/side-panel/hooks/useOpenComposeEmailInSidePanel';import { useOpenFrontComponentInSidePanel } from '@/side-panel/hooks/useOpenFrontComponentInSidePanel';@@ -73,6 +76,7 @@ export const useFrontComponentExecutionContext = ({const { openComposeEmailInSidePanel } = useOpenComposeEmailInSidePanel();const { openFrontComponentInSidePanel } = useOpenFrontComponentInSidePanel();const isMobile = useIsMobile();+ const { objectMetadataItems } = useObjectMetadataItems();const setSidePanelSearch = useSetAtomState(sidePanelSearchState);const { getIcon } = useIcons();const unmountEngineCommand = useUnmountCommand();@@ -133,7 +137,18 @@ export const useFrontComponentExecutionContext = ({const { recordId, objectNameSingular, tab, resetNavigationStack } =params;- if (isMobile || !canOpenObjectInSidePanel(objectNameSingular)) {+ const objectMetadataItem = objectMetadataItems.find(+ (item) => item.nameSingular === objectNameSingular,+ );++ const resolvedOpenRecordIn = resolveOpenRecordIn({+ objectOpenRecordIn:+ objectMetadataItem?.openRecordIn ?? ObjectOpenRecordIn.USER_CHOICE,+ openRecordInPreference: OpenRecordIn.SIDE_PANEL,+ canDisplaySidePanel: !isMobile,+ });++ if (resolvedOpenRecordIn === OpenRecordIn.RECORD_PAGE) {if (isDefined(tab)) {setRecordPageActiveTabId({recordId,diff --git a/packages/twenty-front/src/modules/metadata-store/effect-components/UserMetadataProviderInitialEffect.tsx b/packages/twenty-front/src/modules/metadata-store/effect-components/UserMetadataProviderInitialEffect.tsxindex 853dafe72cf..4cf07b7a473 100644--- a/packages/twenty-front/src/modules/metadata-store/effect-components/UserMetadataProviderInitialEffect.tsx+++ b/packages/twenty-front/src/modules/metadata-store/effect-components/UserMetadataProviderInitialEffect.tsx@@ -1,3 +1,4 @@+import { toOpenRecordInPreference } from '@/workspace-member/utils/toOpenRecordInPreference';import { useHasAccessTokenPair } from '@/auth/hooks/useHasAccessTokenPair';import { availableWorkspacesState } from '@/auth/states/availableWorkspacesState';import { currentUserState } from '@/auth/states/currentUserState';@@ -129,6 +130,7 @@ export const UserMetadataProviderInitialEffect = () => {return {...workspaceMember,colorScheme: (workspaceMember.colorScheme as ColorScheme) ?? 'System',+ openRecordIn: toOpenRecordInPreference(workspaceMember.openRecordIn),locale:(workspaceMember.locale as keyof typeof APP_LOCALES) ?? SOURCE_LOCALE,};diff --git a/packages/twenty-front/src/modules/object-metadata/graphql/fragment.ts b/packages/twenty-front/src/modules/object-metadata/graphql/fragment.tsindex ea4d7e29bc5..79c41237e3e 100644--- a/packages/twenty-front/src/modules/object-metadata/graphql/fragment.ts+++ b/packages/twenty-front/src/modules/object-metadata/graphql/fragment.ts@@ -24,6 +24,7 @@ export const OBJECT_METADATA_FRAGMENT = gql`shortcutisLabelSyncedWithNameisSearchable+ openRecordInduplicateCriteriasearchFieldMetadataList {iddiff --git a/packages/twenty-front/src/modules/object-metadata/graphql/mutations.ts b/packages/twenty-front/src/modules/object-metadata/graphql/mutations.tsindex 0b09447ac2e..62ebd2f857d 100644--- a/packages/twenty-front/src/modules/object-metadata/graphql/mutations.ts+++ b/packages/twenty-front/src/modules/object-metadata/graphql/mutations.ts@@ -18,6 +18,7 @@ export const CREATE_ONE_OBJECT_METADATA_ITEM = gql`isUIEditableisUICreatableisSearchable+ openRecordInshortcutduplicateCriteriacreatedAt@@ -205,6 +206,7 @@ export const UPDATE_ONE_OBJECT_METADATA_ITEM = gql`colorisActiveisSearchable+ openRecordIncreatedAtupdatedAtlabelIdentifierFieldMetadataId@@ -228,6 +230,7 @@ export const DELETE_ONE_OBJECT_METADATA_ITEM = gql`colorisActiveisSearchable+ openRecordIncreatedAtupdatedAtlabelIdentifierFieldMetadataIddiff --git a/packages/twenty-front/src/modules/object-metadata/hooks/__mocks__/useDeleteOneObjectMetadataItem.ts b/packages/twenty-front/src/modules/object-metadata/hooks/__mocks__/useDeleteOneObjectMetadataItem.tsindex 7dddaf3904a..1c2bd53b8c6 100644--- a/packages/twenty-front/src/modules/object-metadata/hooks/__mocks__/useDeleteOneObjectMetadataItem.ts+++ b/packages/twenty-front/src/modules/object-metadata/hooks/__mocks__/useDeleteOneObjectMetadataItem.ts@@ -1,4 +1,5 @@import { gql } from '@apollo/client';+import { ObjectOpenRecordIn } from 'twenty-shared/types';export const query = gql`mutation DeleteOneObjectMetadataItem($idToDelete: UUID!) {@@ -13,6 +14,7 @@ export const query = gql`colorisActiveisSearchable+ openRecordIncreatedAtupdatedAtlabelIdentifierFieldMetadataId@@ -36,6 +38,7 @@ export const responseData = {color: null,isActive: true,isSearchable: false,+ openRecordIn: ObjectOpenRecordIn.USER_CHOICE,createdAt: '',updatedAt: '',labelIdentifierFieldMetadataId: '20202020-72ba-4e11-a36d-e17b544541e1',diff --git a/packages/twenty-front/src/modules/object-record/components/RecordChip.tsx b/packages/twenty-front/src/modules/object-record/components/RecordChip.tsxindex e77efb32543..ade9b92b539 100644--- a/packages/twenty-front/src/modules/object-record/components/RecordChip.tsx+++ b/packages/twenty-front/src/modules/object-record/components/RecordChip.tsx@@ -1,10 +1,9 @@import { useOpenRecordInSidePanel } from '@/side-panel/hooks/useOpenRecordInSidePanel';-import { CoreObjectNameSingular } from 'twenty-shared/types';import { getLinkToShowPage } from '@/object-metadata/utils/getLinkToShowPage';import { useRecordChipData } from '@/object-record/hooks/useRecordChipData';import { useResolveOpenRecordIn } from '@/object-record/record-index/hooks/useResolveOpenRecordIn';import { type ObjectRecord } from '@/object-record/types/ObjectRecord';-import { ViewOpenRecordIn } from '~/generated-metadata/graphql';+import { CoreObjectNameSingular, OpenRecordIn } from 'twenty-shared/types';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';import { t } from '@lingui/core/macro';import { type MouseEvent } from 'react';@@ -60,7 +59,7 @@ export const RecordChip = ({const handleCustomClick = isDefined(onClick)? onClick- : openRecordIn === ViewOpenRecordIn.SIDE_PANEL+ : openRecordIn === OpenRecordIn.SIDE_PANEL? (_event: MouseEvent<HTMLElement>) => {openRecordInSidePanel({recordId: record.id,diff --git a/packages/twenty-front/src/modules/object-record/hooks/__tests__/useAggregateRecordsQuery.test.tsx b/packages/twenty-front/src/modules/object-record/hooks/__tests__/useAggregateRecordsQuery.test.tsxindex bf1ac7836f6..ed547b1b2b6 100644--- a/packages/twenty-front/src/modules/object-record/hooks/__tests__/useAggregateRecordsQuery.test.tsx+++ b/packages/twenty-front/src/modules/object-record/hooks/__tests__/useAggregateRecordsQuery.test.tsx@@ -1,3 +1,4 @@+import { ObjectOpenRecordIn } from 'twenty-shared/types';import { useObjectMetadataItem } from '@/object-metadata/hooks/useObjectMetadataItem';import { type FieldMetadataItem } from '@/object-metadata/types/FieldMetadataItem';import { type EnrichedObjectMetadataItem } from '@/object-metadata/types/EnrichedObjectMetadataItem';@@ -56,6 +57,7 @@ const mockObjectMetadataItem: EnrichedObjectMetadataItem = {isSystem: false,isUIEditable: true,isUICreatable: true,+ openRecordIn: ObjectOpenRecordIn.USER_CHOICE,};const Wrapper = getJestMetadataAndApolloMocksWrapper({diff --git a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownContent.tsx b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownContent.tsxindex 15b5d0d4499..324b1819b73 100644--- a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownContent.tsx+++ b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownContent.tsx@@ -7,7 +7,6 @@ import { ObjectOptionsDropdownFieldsContent } from '@/object-record/object-optioimport { ObjectOptionsDropdownHiddenFieldsContent } from '@/object-record/object-options-dropdown/components/ObjectOptionsDropdownHiddenFieldsContent';import { ObjectOptionsDropdownHiddenRecordGroupsContent } from '@/object-record/object-options-dropdown/components/ObjectOptionsDropdownHiddenRecordGroupsContent';import { ObjectOptionsDropdownLayoutContent } from '@/object-record/object-options-dropdown/components/ObjectOptionsDropdownLayoutContent';-import { ObjectOptionsDropdownLayoutOpenInContent } from '@/object-record/object-options-dropdown/components/ObjectOptionsDropdownLayoutOpenInContent';import { ObjectOptionsDropdownMenuContent } from '@/object-record/object-options-dropdown/components/ObjectOptionsDropdownMenuContent';import { ObjectOptionsDropdownRecordGroupFieldsContent } from '@/object-record/object-options-dropdown/components/ObjectOptionsDropdownRecordGroupFieldsContent';import { ObjectOptionsDropdownRecordGroupsContent } from '@/object-record/object-options-dropdown/components/ObjectOptionsDropdownRecordGroupsContent';@@ -26,8 +25,6 @@ export const ObjectOptionsDropdownContent = () => {switch (currentContentId) {case 'layout':return <ObjectOptionsDropdownLayoutContent />;- case 'layoutOpenIn':- return <ObjectOptionsDropdownLayoutOpenInContent />;case 'fields':return <ObjectOptionsDropdownFieldsContent />;case 'hiddenFields':diff --git a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownLayoutContent.tsx b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownLayoutContent.tsxindex cd0c3115e0a..c1c2b67b277 100644--- a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownLayoutContent.tsx+++ b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownLayoutContent.tsx@@ -34,8 +34,6 @@ import {IconCalendarWeek,IconChevronLeft,IconLayoutList,- IconLayoutNavbar,- IconLayoutSidebarRight,IconTable,} from 'twenty-ui/icon';import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';@@ -43,7 +41,6 @@ import { MenuItem, MenuItemSelect, MenuItemToggle } from 'twenty-ui/navigation';import {FeatureFlagKey,ViewCalendarLayout,- ViewOpenRecordIn,} from '~/generated-metadata/graphql';export const ObjectOptionsDropdownLayoutContent = () => {@@ -129,7 +126,6 @@ export const ObjectOptionsDropdownLayoutContent = () => {ViewType.TABLE,...(isDefaultView ? [] : [ViewType.KANBAN]),...(!isDefaultView ? [ViewType.CALENDAR] : []),- ViewOpenRecordIn.SIDE_PANEL,...(currentView?.type === ViewType.KANBAN ? ['Group'] : []),...(currentView?.type === ViewType.CALENDAR? [@@ -285,32 +281,6 @@ export const ObjectOptionsDropdownLayoutContent = () => {</SelectableListItem></>)}- <SelectableListItem- itemId={ViewOpenRecordIn.SIDE_PANEL}- onEnter={() => {- onContentChange('layoutOpenIn');- }}- >- <MenuItem- focused={selectedItemId === ViewOpenRecordIn.SIDE_PANEL}- LeftIcon={- currentView?.openRecordIn === ViewOpenRecordIn.SIDE_PANEL- ? IconLayoutSidebarRight- : IconLayoutNavbar- }- text={t`Open in`}- onClick={() => {- onContentChange('layoutOpenIn');- }}- contextualText={- currentView?.openRecordIn === ViewOpenRecordIn.SIDE_PANEL- ? t`Side Panel`- : t`Record Page`- }- contextualTextPosition="right"- hasSubMenu- />- </SelectableListItem>{currentView?.type === ViewType.KANBAN && (<SelectableListItemitemId="Group"diff --git a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownLayoutOpenInContent.tsx b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownLayoutOpenInContent.tsxdeleted file mode 100644index a4ba552d935..00000000000--- a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownLayoutOpenInContent.tsx+++ /dev/null@@ -1,121 +0,0 @@-import { OBJECT_OPTIONS_DROPDOWN_ID } from '@/object-record/object-options-dropdown/constants/ObjectOptionsDropdownId';-import { useObjectOptionsDropdown } from '@/object-record/object-options-dropdown/hooks/useObjectOptionsDropdown';-import { useUpdateObjectViewOptions } from '@/object-record/object-options-dropdown/hooks/useUpdateObjectViewOptions';-import { useRecordIndexContextOrThrow } from '@/object-record/record-index/contexts/RecordIndexContext';-import { canOpenObjectInSidePanel } from '@/object-record/utils/canOpenObjectInSidePanel';-import { DropdownContent } from '@/ui/layout/dropdown/components/DropdownContent';-import { DropdownMenuHeader } from '@/ui/layout/dropdown/components/DropdownMenuHeader/DropdownMenuHeader';-import { DropdownMenuHeaderLeftComponent } from '@/ui/layout/dropdown/components/DropdownMenuHeader/internal/DropdownMenuHeaderLeftComponent';-import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/DropdownMenuItemsContainer';-import { SelectableList } from '@/ui/layout/selectable-list/components/SelectableList';-import { SelectableListItem } from '@/ui/layout/selectable-list/components/SelectableListItem';-import { selectedItemIdComponentState } from '@/ui/layout/selectable-list/states/selectedItemIdComponentState';-import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';-import { useGetCurrentViewOnly } from '@/views/hooks/useGetCurrentViewOnly';-import { ViewOpenRecordIn } from '~/generated-metadata/graphql';-import { t } from '@lingui/core/macro';-import {- IconChevronLeft,- IconLayoutNavbar,- IconLayoutSidebarRight,-} from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';--export const ObjectOptionsDropdownLayoutOpenInContent = () => {- const { onContentChange } = useObjectOptionsDropdown();- const { currentView } = useGetCurrentViewOnly();- const { setAndPersistOpenRecordIn } = useUpdateObjectViewOptions();- const { objectMetadataItem } = useRecordIndexContextOrThrow();- const canOpenInSidePanel = canOpenObjectInSidePanel(- objectMetadataItem.nameSingular,- );-- const selectedItemId = useAtomComponentStateValue(- selectedItemIdComponentState,- OBJECT_OPTIONS_DROPDOWN_ID,- );-- const selectableItemIdArray = [- ViewOpenRecordIn.SIDE_PANEL,- ViewOpenRecordIn.RECORD_PAGE,- ];-- return (- <DropdownContent>- <DropdownMenuHeader- StartComponent={- <DropdownMenuHeaderLeftComponent- onClick={() => onContentChange('layout')}- Icon={IconChevronLeft}- />- }- >- {t`Open in`}- </DropdownMenuHeader>- <DropdownMenuItemsContainer>- <SelectableList- selectableListInstanceId={OBJECT_OPTIONS_DROPDOWN_ID}- focusId={OBJECT_OPTIONS_DROPDOWN_ID}- selectableItemIdArray={selectableItemIdArray}- >- <SelectableListItem- itemId={ViewOpenRecordIn.SIDE_PANEL}- onEnter={() => {- if (!canOpenInSidePanel) {- return;- }- setAndPersistOpenRecordIn(- ViewOpenRecordIn.SIDE_PANEL,- currentView,- );- }}- >- <MenuItemSelect- LeftIcon={IconLayoutSidebarRight}- text={t`Side Panel`}- selected={- currentView?.openRecordIn === ViewOpenRecordIn.SIDE_PANEL- }- focused={selectedItemId === ViewOpenRecordIn.SIDE_PANEL}- onClick={() => {- if (!canOpenInSidePanel) {- return;- }-- setAndPersistOpenRecordIn(- ViewOpenRecordIn.SIDE_PANEL,- currentView,- );- }}- disabled={!canOpenInSidePanel}- />- </SelectableListItem>- <SelectableListItem- itemId={ViewOpenRecordIn.RECORD_PAGE}- onEnter={() =>- setAndPersistOpenRecordIn(- ViewOpenRecordIn.RECORD_PAGE,- currentView,- )- }- >- <MenuItemSelect- LeftIcon={IconLayoutNavbar}- text={t`Record Page`}- selected={- currentView?.openRecordIn === ViewOpenRecordIn.RECORD_PAGE- }- onClick={() =>- setAndPersistOpenRecordIn(- ViewOpenRecordIn.RECORD_PAGE,- currentView,- )- }- focused={selectedItemId === ViewOpenRecordIn.RECORD_PAGE}- />- </SelectableListItem>- </SelectableList>- </DropdownMenuItemsContainer>- </DropdownContent>- );-};diff --git a/packages/twenty-front/src/modules/object-record/object-options-dropdown/hooks/useUpdateObjectViewOptions.ts b/packages/twenty-front/src/modules/object-record/object-options-dropdown/hooks/useUpdateObjectViewOptions.tsindex b24fd087e10..5eaa4bda5f3 100644--- a/packages/twenty-front/src/modules/object-record/object-options-dropdown/hooks/useUpdateObjectViewOptions.ts+++ b/packages/twenty-front/src/modules/object-record/object-options-dropdown/hooks/useUpdateObjectViewOptions.ts@@ -1,7 +1,6 @@import { useSetAtomComponentState } from '@/ui/utilities/state/jotai/hooks/useSetAtomComponentState';import { useUpdateCurrentView } from '@/views/hooks/useUpdateCurrentView';import { type GraphQLView } from '@/views/types/GraphQLView';-import { type ViewOpenRecordIn } from '~/generated-metadata/graphql';import { viewPickerInputNameComponentState } from '@/views/view-picker/states/viewPickerInputNameComponentState';import { viewPickerSelectedIconComponentState } from '@/views/view-picker/states/viewPickerSelectedIconComponentState';import { useCallback } from 'react';@@ -17,16 +16,6 @@ export const useUpdateObjectViewOptions = () => {const { updateCurrentView } = useUpdateCurrentView();- const setAndPersistOpenRecordIn = useCallback(- (openRecordIn: ViewOpenRecordIn, view: GraphQLView | undefined) => {- if (!view) return;- updateCurrentView({- openRecordIn,- });- },- [updateCurrentView],- );-const setAndPersistViewName = useCallback((viewName: string, view: GraphQLView | undefined) => {if (!view) return;@@ -50,7 +39,6 @@ export const useUpdateObjectViewOptions = () => {);return {- setAndPersistOpenRecordIn,setAndPersistViewName,setAndPersistViewIcon,};diff --git a/packages/twenty-front/src/modules/object-record/object-options-dropdown/types/ObjectOptionsContentId.ts b/packages/twenty-front/src/modules/object-record/object-options-dropdown/types/ObjectOptionsContentId.tsindex c75112d4824..a996a85fe80 100644--- a/packages/twenty-front/src/modules/object-record/object-options-dropdown/types/ObjectOptionsContentId.ts+++ b/packages/twenty-front/src/modules/object-record/object-options-dropdown/types/ObjectOptionsContentId.ts@@ -1,6 +1,5 @@export type ObjectOptionsContentId =| 'layout'- | 'layoutOpenIn'| 'fields'| 'hiddenFields'| 'recordGroups'diff --git a/packages/twenty-front/src/modules/object-record/object-sort-dropdown/utils/__tests__/turnSortsIntoOrderBy.test.ts b/packages/twenty-front/src/modules/object-record/object-sort-dropdown/utils/__tests__/turnSortsIntoOrderBy.test.tsindex 0388b16b4ab..54561071fea 100644--- a/packages/twenty-front/src/modules/object-record/object-sort-dropdown/utils/__tests__/turnSortsIntoOrderBy.test.ts+++ b/packages/twenty-front/src/modules/object-record/object-sort-dropdown/utils/__tests__/turnSortsIntoOrderBy.test.ts@@ -1,6 +1,9 @@import { type FieldMetadataItem } from '@/object-metadata/types/FieldMetadataItem';import { type EnrichedObjectMetadataItem } from '@/object-metadata/types/EnrichedObjectMetadataItem';-import { type RecordGqlOperationOrderBy } from 'twenty-shared/types';+import {+ type RecordGqlOperationOrderBy,+ ObjectOpenRecordIn,+} from 'twenty-shared/types';import { turnSortsIntoOrderBy } from '@/object-record/object-sort-dropdown/utils/turnSortsIntoOrderBy';import { type RecordSort } from '@/object-record/record-sort/types/RecordSort';import { type EachTestingContext } from 'twenty-shared/testing';@@ -40,6 +43,7 @@ const objectMetadataItemWithPositionField: EnrichedObjectMetadataItem = {isSystem: false,isUIEditable: true,isUICreatable: true,+ openRecordIn: ObjectOpenRecordIn.USER_CHOICE,isRemote: false,isSearchable: false,labelPlural: 'object1s',@@ -203,6 +207,7 @@ describe('turnSortsIntoOrderBy', () => {isSystem: false,isUIEditable: true,isUICreatable: true,+ openRecordIn: ObjectOpenRecordIn.USER_CHOICE,isRemote: false,isSearchable: false,labelPlural: 'Companies',@@ -254,6 +259,7 @@ describe('turnSortsIntoOrderBy', () => {isSystem: false,isUIEditable: true,isUICreatable: true,+ openRecordIn: ObjectOpenRecordIn.USER_CHOICE,isRemote: false,isSearchable: false,labelPlural: 'People',diff --git a/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCardHeader.tsx b/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCardHeader.tsxindex 5799b26c6ce..159e4fbf4ca 100644--- a/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCardHeader.tsx+++ b/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCardHeader.tsx@@ -16,7 +16,7 @@ import { useAtomComponentFamilyState } from '@/ui/utilities/state/jotai/hooks/usimport { useAtomComponentState } from '@/ui/utilities/state/jotai/hooks/useAtomComponentState';import { useAtomFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomFamilyStateValue';import { useGetCurrentViewOnly } from '@/views/hooks/useGetCurrentViewOnly';-import { ViewOpenRecordIn } from '~/generated-metadata/graphql';+import { OpenRecordIn } from 'twenty-shared/types';import { styled } from '@linaria/react';import { useContext } from 'react';import { themeCssVariables } from 'twenty-ui/theme-constants';@@ -76,7 +76,7 @@ export const RecordBoardCardHeader = () => {const recordStore = useAtomFamilyStateValue(recordStoreFamilyState, recordId);const triggerEvent =- openRecordIn === ViewOpenRecordIn.SIDE_PANEL || isTouchDevice+ openRecordIn === OpenRecordIn.SIDE_PANEL || isTouchDevice? 'CLICK': 'MOUSE_DOWN';diff --git a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/utils/__tests__/buildRecordGqlFieldsAggregateForView.test.ts b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/utils/__tests__/buildRecordGqlFieldsAggregateForView.test.tsindex 8f5b2f0190f..d950f37ff2d 100644--- a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/utils/__tests__/buildRecordGqlFieldsAggregateForView.test.ts+++ b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/utils/__tests__/buildRecordGqlFieldsAggregateForView.test.ts@@ -1,3 +1,4 @@+import { ObjectOpenRecordIn } from 'twenty-shared/types';import { type FieldMetadataItem } from '@/object-metadata/types/FieldMetadataItem';import { type EnrichedObjectMetadataItem } from '@/object-metadata/types/EnrichedObjectMetadataItem';import { buildRecordGqlFieldsAggregateForView } from '@/object-record/record-board/record-board-column/utils/buildRecordGqlFieldsAggregateForView';@@ -40,6 +41,7 @@ describe('buildRecordGqlFieldsAggregateForView', () => {isSystem: false,isUIEditable: true,isUICreatable: true,+ openRecordIn: ObjectOpenRecordIn.USER_CHOICE,isRemote: false,isSearchable: false,labelIdentifierFieldMetadataId: '06b33746-5293-4d07-9f7f-ebf5ad396064',diff --git a/packages/twenty-front/src/modules/object-record/record-index/constants/DefaultOpenRecordInPreference.ts b/packages/twenty-front/src/modules/object-record/record-index/constants/DefaultOpenRecordInPreference.tsnew file mode 100644index 00000000000..490a915b358--- /dev/null+++ b/packages/twenty-front/src/modules/object-record/record-index/constants/DefaultOpenRecordInPreference.ts@@ -0,0 +1,3 @@+import { OpenRecordIn } from 'twenty-shared/types';++export const DEFAULT_OPEN_RECORD_IN_PREFERENCE = OpenRecordIn.SIDE_PANEL;diff --git a/packages/twenty-front/src/modules/object-record/record-index/constants/DefaultViewOpenRecordIn.ts b/packages/twenty-front/src/modules/object-record/record-index/constants/DefaultViewOpenRecordIn.tsdeleted file mode 100644index ca8292f3a4a..00000000000--- a/packages/twenty-front/src/modules/object-record/record-index/constants/DefaultViewOpenRecordIn.ts+++ /dev/null@@ -1,5 +0,0 @@-import { ViewOpenRecordIn } from '~/generated-metadata/graphql';--// Used where no view is in scope, so there is no setting to honour: a record-// chip in the command menu or in a mention has no list behind it.-export const DEFAULT_VIEW_OPEN_RECORD_IN = ViewOpenRecordIn.SIDE_PANEL;diff --git a/packages/twenty-front/src/modules/object-record/record-index/hooks/__tests__/useResolveOpenRecordIn.test.tsx b/packages/twenty-front/src/modules/object-record/record-index/hooks/__tests__/useResolveOpenRecordIn.test.tsxindex 2ae9b1175d2..b5239ee18c5 100644--- a/packages/twenty-front/src/modules/object-record/record-index/hooks/__tests__/useResolveOpenRecordIn.test.tsx+++ b/packages/twenty-front/src/modules/object-record/record-index/hooks/__tests__/useResolveOpenRecordIn.test.tsx@@ -1,11 +1,11 @@import { renderHook } from '@testing-library/react';import { Provider as JotaiProvider } from 'jotai';-import { ContextStoreComponentInstanceContext } from '@/context-store/states/contexts/ContextStoreComponentInstanceContext';-import { contextStoreCurrentViewIdComponentState } from '@/context-store/states/contextStoreCurrentViewIdComponentState';+import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState';import { useResolveOpenRecordIn } from '@/object-record/record-index/hooks/useResolveOpenRecordIn';import { jotaiStore } from '@/ui/utilities/state/jotai/jotaiStore';-import { ViewOpenRecordIn } from '~/generated-metadata/graphql';+import { act } from 'react';+import { ObjectOpenRecordIn, OpenRecordIn } from 'twenty-shared/types';jest.mock('react-responsive', () => ({useMediaQuery: jest.fn().mockReturnValue(false),@@ -22,65 +22,66 @@ const mockUseAtomFamilySelectorValue = jest.requireMock('@/ui/utilities/state/jotai/hooks/useAtomFamilySelectorValue',).useAtomFamilySelectorValue as jest.Mock;-// Stands in for the views store: only the view the hook actually asks for-// comes back, so a hook reading the wrong view id resolves to nothing.-mockUseAtomFamilySelectorValue.mockImplementation(- (_selector: unknown, { viewId }: { viewId: string }) =>- viewId === 'test-view-id'- ? { id: viewId, openRecordIn: ViewOpenRecordIn.RECORD_PAGE }- : undefined,-);+const setObjectOpenRecordIn = (+ openRecordIn: ObjectOpenRecordIn | undefined,+) => {+ mockUseAtomFamilySelectorValue.mockImplementation(+ (_selector: unknown, { objectName }: { objectName: string }) =>+ objectName === 'company' && openRecordIn !== undefined+ ? { id: 'company-id', nameSingular: 'company', openRecordIn }+ : undefined,+ );+};-const WrapperWithoutContextStore = ({- children,-}: {- children: React.ReactNode;-}) => <JotaiProvider store={jotaiStore}>{children}</JotaiProvider>;--const WrapperWithContextStore = ({- children,-}: {- children: React.ReactNode;-}) => (- <JotaiProvider store={jotaiStore}>- <ContextStoreComponentInstanceContext.Provider- value={{ instanceId: 'test-context-store' }}- >- {children}- </ContextStoreComponentInstanceContext.Provider>- </JotaiProvider>+const Wrapper = ({ children }: { children: React.ReactNode }) => (+ <JotaiProvider store={jotaiStore}>{children}</JotaiProvider>);-describe('useResolveOpenRecordIn', () => {- afterEach(() => {+const setMemberPreference = (openRecordIn: OpenRecordIn | undefined) => {+ act(() => {jotaiStore.set(- contextStoreCurrentViewIdComponentState.atomFamily({- instanceId: 'test-context-store',- }),- undefined,+ currentWorkspaceMemberState.atom,+ openRecordIn === undefined+ ? null+ : ({ id: 'member-id', openRecordIn } as never),);});+};++describe('useResolveOpenRecordIn', () => {+ afterEach(() => {+ setMemberPreference(undefined);+ });++ it('follows the member preference when the object leaves the choice open', () => {+ setObjectOpenRecordIn(ObjectOpenRecordIn.USER_CHOICE);+ setMemberPreference(OpenRecordIn.RECORD_PAGE);++ const { result } = renderHook(() => useResolveOpenRecordIn('company'), {+ wrapper: Wrapper,+ });++ expect(result.current).toBe(OpenRecordIn.RECORD_PAGE);+ });++ it('lets the object pin its records over the member preference', () => {+ setObjectOpenRecordIn(ObjectOpenRecordIn.RECORD_PAGE);+ setMemberPreference(OpenRecordIn.SIDE_PANEL);- it('falls back to the default where no context store is mounted', () => {const { result } = renderHook(() => useResolveOpenRecordIn('company'), {- wrapper: WrapperWithoutContextStore,+ wrapper: Wrapper,});- expect(result.current).toBe(ViewOpenRecordIn.SIDE_PANEL);+ expect(result.current).toBe(OpenRecordIn.RECORD_PAGE);});- it('follows the current view of the surrounding context store', () => {- jotaiStore.set(- contextStoreCurrentViewIdComponentState.atomFamily({- instanceId: 'test-context-store',- }),- 'test-view-id',- );+ it('falls back to the side panel default with no metadata and no member', () => {+ setObjectOpenRecordIn(undefined);const { result } = renderHook(() => useResolveOpenRecordIn('company'), {- wrapper: WrapperWithContextStore,+ wrapper: Wrapper,});- expect(result.current).toBe(ViewOpenRecordIn.RECORD_PAGE);+ expect(result.current).toBe(OpenRecordIn.SIDE_PANEL);});});diff --git a/packages/twenty-front/src/modules/object-record/record-index/hooks/useOpenRecordFromIndexView.ts b/packages/twenty-front/src/modules/object-record/record-index/hooks/useOpenRecordFromIndexView.tsindex 24367ed86da..41e558ff5e7 100644--- a/packages/twenty-front/src/modules/object-record/record-index/hooks/useOpenRecordFromIndexView.ts+++ b/packages/twenty-front/src/modules/object-record/record-index/hooks/useOpenRecordFromIndexView.ts@@ -9,10 +9,9 @@ import { useRecordIndexContextOrThrow } from '@/object-record/record-index/conteimport { useResolveOpenRecordIn } from '@/object-record/record-index/hooks/useResolveOpenRecordIn';import { currentRecordSortsComponentState } from '@/object-record/record-sort/states/currentRecordSortsComponentState';import { useAtomComponentStateCallbackState } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateCallbackState';-import { ViewOpenRecordIn } from '~/generated-metadata/graphql';import { useStore } from 'jotai';import { useCallback } from 'react';-import { AppPath, SidePanelPages } from 'twenty-shared/types';+import { AppPath, OpenRecordIn, SidePanelPages } from 'twenty-shared/types';import { useNavigateApp } from '~/hooks/useNavigateApp';export const useOpenRecordFromIndexView = () => {@@ -65,7 +64,7 @@ export const useOpenRecordFromIndexView = () => {},);- if (openRecordIn === ViewOpenRecordIn.SIDE_PANEL) {+ if (openRecordIn === OpenRecordIn.SIDE_PANEL) {openRecordInSidePanel({recordId,objectNameSingular,diff --git a/packages/twenty-front/src/modules/object-record/record-index/hooks/useResolveOpenRecordIn.ts b/packages/twenty-front/src/modules/object-record/record-index/hooks/useResolveOpenRecordIn.tsindex 88279f003bd..a13355f347e 100644--- a/packages/twenty-front/src/modules/object-record/record-index/hooks/useResolveOpenRecordIn.ts+++ b/packages/twenty-front/src/modules/object-record/record-index/hooks/useResolveOpenRecordIn.ts@@ -1,36 +1,29 @@-import { ContextStoreComponentInstanceContext } from '@/context-store/states/contexts/ContextStoreComponentInstanceContext';-import { contextStoreCurrentViewIdComponentState } from '@/context-store/states/contextStoreCurrentViewIdComponentState';-import { DEFAULT_VIEW_OPEN_RECORD_IN } from '@/object-record/record-index/constants/DefaultViewOpenRecordIn';+import { objectMetadataItemFamilySelector } from '@/object-metadata/states/objectMetadataItemFamilySelector';import { resolveOpenRecordIn } from '@/object-record/record-index/utils/resolveOpenRecordIn';-import { useAvailableComponentInstanceId } from '@/ui/utilities/state/component-state/hooks/useAvailableComponentInstanceId';import { useAtomFamilySelectorValue } from '@/ui/utilities/state/jotai/hooks/useAtomFamilySelectorValue';-import { viewFromViewIdFamilySelector } from '@/views/states/selectors/viewFromViewIdFamilySelector';-import { useAtomValue } from 'jotai';+import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';+import { openRecordInPreferenceState } from '@/workspace-member/states/openRecordInPreferenceState';+import { ObjectOpenRecordIn } from 'twenty-shared/types';import { useIsMobile } from 'twenty-ui/utilities';export const useResolveOpenRecordIn = (objectNameSingular: string) => {- // Record chips also render where no context store is mounted at all, such as- // a mention inside a note, and those have no view to take a setting from.- const contextStoreInstanceId = useAvailableComponentInstanceId(- ContextStoreComponentInstanceContext,+ // Non-throwing on purpose: a chip must not crash while metadata is loading.+ const objectMetadataItem = useAtomFamilySelectorValue(+ objectMetadataItemFamilySelector,+ {+ objectName: objectNameSingular,+ objectNameType: 'singular',+ },);- const contextStoreCurrentViewId = useAtomValue(- contextStoreCurrentViewIdComponentState.atomFamily({- instanceId: contextStoreInstanceId ?? '',- }),- );-- const currentView = useAtomFamilySelectorValue(viewFromViewIdFamilySelector, {- viewId: contextStoreCurrentViewId ?? '',- });+ const openRecordInPreference = useAtomStateValue(openRecordInPreferenceState);const isMobile = useIsMobile();return resolveOpenRecordIn({- openRecordInViewSetting:- currentView?.openRecordIn ?? DEFAULT_VIEW_OPEN_RECORD_IN,- objectNameSingular,+ objectOpenRecordIn:+ objectMetadataItem?.openRecordIn ?? ObjectOpenRecordIn.USER_CHOICE,+ openRecordInPreference,canDisplaySidePanel: !isMobile,});};diff --git a/packages/twenty-front/src/modules/object-record/record-index/utils/__tests__/resolveOpenRecordIn.test.ts b/packages/twenty-front/src/modules/object-record/record-index/utils/__tests__/resolveOpenRecordIn.test.tsindex 942c47fa080..730b629e0fd 100644--- a/packages/twenty-front/src/modules/object-record/record-index/utils/__tests__/resolveOpenRecordIn.test.ts+++ b/packages/twenty-front/src/modules/object-record/record-index/utils/__tests__/resolveOpenRecordIn.test.ts@@ -1,44 +1,59 @@import { resolveOpenRecordIn } from '@/object-record/record-index/utils/resolveOpenRecordIn';-import { ViewOpenRecordIn } from '~/generated-metadata/graphql';+import { ObjectOpenRecordIn, OpenRecordIn } from 'twenty-shared/types';-describe('resolveOpenRecordIn', () => {- it('opens in the side panel when the view asks for it and it can be displayed', () => {- expect(- resolveOpenRecordIn({- openRecordInViewSetting: ViewOpenRecordIn.SIDE_PANEL,- objectNameSingular: 'company',- canDisplaySidePanel: true,- }),- ).toBe(ViewOpenRecordIn.SIDE_PANEL);+const resolve = (+ overrides: Partial<Parameters<typeof resolveOpenRecordIn>[0]>,+) =>+ resolveOpenRecordIn({+ objectOpenRecordIn: ObjectOpenRecordIn.USER_CHOICE,+ openRecordInPreference: OpenRecordIn.SIDE_PANEL,+ canDisplaySidePanel: true,+ ...overrides,});- it('falls back to the record page when there is no room for a side panel', () => {- expect(- resolveOpenRecordIn({- openRecordInViewSetting: ViewOpenRecordIn.SIDE_PANEL,- objectNameSingular: 'company',- canDisplaySidePanel: false,- }),- ).toBe(ViewOpenRecordIn.RECORD_PAGE);+describe('resolveOpenRecordIn', () => {+ describe('when the object leaves the choice to the member', () => {+ it('follows a side panel preference', () => {+ expect(resolve({ openRecordInPreference: OpenRecordIn.SIDE_PANEL })).toBe(+ OpenRecordIn.SIDE_PANEL,+ );+ });++ it('follows a record page preference', () => {+ expect(+ resolve({ openRecordInPreference: OpenRecordIn.RECORD_PAGE }),+ ).toBe(OpenRecordIn.RECORD_PAGE);+ });});- it('falls back to the record page for objects without a side panel', () => {- expect(- resolveOpenRecordIn({- openRecordInViewSetting: ViewOpenRecordIn.SIDE_PANEL,- objectNameSingular: 'workflow',- canDisplaySidePanel: true,- }),- ).toBe(ViewOpenRecordIn.RECORD_PAGE);+ describe('when the object pins a destination', () => {+ it('ignores the member preference for a pinned record page', () => {+ expect(+ resolve({+ objectOpenRecordIn: ObjectOpenRecordIn.RECORD_PAGE,+ openRecordInPreference: OpenRecordIn.SIDE_PANEL,+ }),+ ).toBe(OpenRecordIn.RECORD_PAGE);+ });++ it('ignores the member preference for a pinned side panel', () => {+ expect(+ resolve({+ objectOpenRecordIn: ObjectOpenRecordIn.SIDE_PANEL,+ openRecordInPreference: OpenRecordIn.RECORD_PAGE,+ }),+ ).toBe(OpenRecordIn.SIDE_PANEL);+ });});- it('keeps the record page when the view asks for it', () => {- expect(- resolveOpenRecordIn({- openRecordInViewSetting: ViewOpenRecordIn.RECORD_PAGE,- objectNameSingular: 'company',- canDisplaySidePanel: true,- }),- ).toBe(ViewOpenRecordIn.RECORD_PAGE);+ describe('when there is no room for a panel', () => {+ it.each([ObjectOpenRecordIn.SIDE_PANEL, ObjectOpenRecordIn.USER_CHOICE])(+ 'falls back to the record page (%s)',+ (objectOpenRecordIn) => {+ expect(+ resolve({ objectOpenRecordIn, canDisplaySidePanel: false }),+ ).toBe(OpenRecordIn.RECORD_PAGE);+ },+ );});});diff --git a/packages/twenty-front/src/modules/object-record/record-index/utils/resolveOpenRecordIn.ts b/packages/twenty-front/src/modules/object-record/record-index/utils/resolveOpenRecordIn.tsindex 3ce4c863d37..daa829e5eb7 100644--- a/packages/twenty-front/src/modules/object-record/record-index/utils/resolveOpenRecordIn.ts+++ b/packages/twenty-front/src/modules/object-record/record-index/utils/resolveOpenRecordIn.ts@@ -1,22 +1,25 @@-import { canOpenObjectInSidePanel } from '@/object-record/utils/canOpenObjectInSidePanel';-import { ViewOpenRecordIn } from '~/generated-metadata/graphql';+import { ObjectOpenRecordIn, OpenRecordIn } from 'twenty-shared/types';type ResolveOpenRecordInArgs = {- openRecordInViewSetting: ViewOpenRecordIn;- objectNameSingular: string;+ objectOpenRecordIn: ObjectOpenRecordIn;+ openRecordInPreference: OpenRecordIn;canDisplaySidePanel: boolean;};-// The view setting is an intent, not a decision: the side panel is only a real-// destination when there is room to display it next to the record list, and-// when the object has a side panel to display at all.export const resolveOpenRecordIn = ({- openRecordInViewSetting,- objectNameSingular,+ objectOpenRecordIn,+ openRecordInPreference,canDisplaySidePanel,-}: ResolveOpenRecordInArgs): ViewOpenRecordIn =>- openRecordInViewSetting === ViewOpenRecordIn.SIDE_PANEL &&- canDisplaySidePanel &&- canOpenObjectInSidePanel(objectNameSingular)- ? ViewOpenRecordIn.SIDE_PANEL- : ViewOpenRecordIn.RECORD_PAGE;+}: ResolveOpenRecordInArgs): OpenRecordIn => {+ const requestedOpenRecordIn =+ objectOpenRecordIn === ObjectOpenRecordIn.USER_CHOICE+ ? openRecordInPreference+ : objectOpenRecordIn === ObjectOpenRecordIn.SIDE_PANEL+ ? OpenRecordIn.SIDE_PANEL+ : OpenRecordIn.RECORD_PAGE;++ return requestedOpenRecordIn === OpenRecordIn.SIDE_PANEL &&+ canDisplaySidePanel+ ? OpenRecordIn.SIDE_PANEL+ : OpenRecordIn.RECORD_PAGE;+};diff --git a/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableContextProvider.tsx b/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableContextProvider.tsxindex 79de0920994..063392d28bd 100644--- a/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableContextProvider.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableContextProvider.tsx@@ -15,7 +15,7 @@ import { RECORD_TABLE_COLUMN_MIN_WIDTH } from '@/object-record/record-table/consimport { RecordTableUpdateContext } from '@/object-record/record-table/contexts/RecordTableUpdateContext';import { useAtomComponentSelectorValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentSelectorValue';import { useIsTouchDevice } from 'twenty-ui/utilities';-import { ViewOpenRecordIn } from '~/generated-metadata/graphql';+import { OpenRecordIn } from 'twenty-shared/types';type RecordTableContextProviderProps = {viewBarId: string;@@ -66,7 +66,7 @@ export const RecordTableContextProvider = ({// Navigating on mouse down only buys a frame on a real pointer: a tap// synthesises its mouse events after the finger is already gone.const triggerEvent =- openRecordIn === ViewOpenRecordIn.SIDE_PANEL || isTouchDevice+ openRecordIn === OpenRecordIn.SIDE_PANEL || isTouchDevice? 'CLICK': 'MOUSE_DOWN';diff --git a/packages/twenty-front/src/modules/object-record/record-table/hooks/useCreateNewIndexRecord.ts b/packages/twenty-front/src/modules/object-record/record-table/hooks/useCreateNewIndexRecord.tsindex a2857b91126..9b4d9559798 100644--- a/packages/twenty-front/src/modules/object-record/record-table/hooks/useCreateNewIndexRecord.ts+++ b/packages/twenty-front/src/modules/object-record/record-table/hooks/useCreateNewIndexRecord.ts@@ -18,10 +18,9 @@ import { useAtomComponentSelectorValue } from '@/ui/utilities/state/jotai/hooks/import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { useStore } from 'jotai';import { useCallback } from 'react';-import { AppPath } from 'twenty-shared/types';+import { AppPath, OpenRecordIn } from 'twenty-shared/types';import { findByProperty, isDefined } from 'twenty-shared/utils';import { v4 } from 'uuid';-import { ViewOpenRecordIn } from '~/generated-metadata/graphql';import { useNavigateApp } from '~/hooks/useNavigateApp';type UseCreateNewIndexRecordProps = {@@ -92,7 +91,7 @@ export const useCreateNewIndexRecord = ({...mergedRecordInput,});- if (openRecordIn === ViewOpenRecordIn.SIDE_PANEL) {+ if (openRecordIn === OpenRecordIn.SIDE_PANEL) {openRecordInSidePanel({recordId,objectNameSingular: objectMetadataItem.nameSingular,diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/hooks/useOpenRecordTableCell.ts b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/hooks/useOpenRecordTableCell.tsindex 9fb26af0978..d914c009c27 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/hooks/useOpenRecordTableCell.ts+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/hooks/useOpenRecordTableCell.ts@@ -31,7 +31,7 @@ import { FocusComponentType } from '@/ui/utilities/focus/types/FocusComponentTypimport { useSetAtomComponentState } from '@/ui/utilities/state/jotai/hooks/useSetAtomComponentState';import { useStore } from 'jotai';import { useCallback } from 'react';-import { ViewOpenRecordIn } from '~/generated-metadata/graphql';+import { OpenRecordIn } from 'twenty-shared/types';export type OpenTableCellArgs = {initialValue?: string;@@ -122,7 +122,7 @@ export const useOpenRecordTableCell = (recordTableId: string) => {if ((isFirstColumnCell && !isEmpty) || isNavigating) {leaveTableFocus();- if (openRecordIn === ViewOpenRecordIn.SIDE_PANEL) {+ if (openRecordIn === OpenRecordIn.SIDE_PANEL) {activateRecordTableRow(cellPosition.row);unfocusRecordTableRow();}diff --git a/packages/twenty-front/src/modules/object-record/utils/__tests__/canOpenObjectInSidePanel.test.ts b/packages/twenty-front/src/modules/object-record/utils/__tests__/canOpenObjectInSidePanel.test.tsdeleted file mode 100644index e17fd84b6bc..00000000000--- a/packages/twenty-front/src/modules/object-record/utils/__tests__/canOpenObjectInSidePanel.test.ts+++ /dev/null@@ -1,16 +0,0 @@-import { canOpenObjectInSidePanel } from '@/object-record/utils/canOpenObjectInSidePanel';--describe('canOpenObjectInSidePanel', () => {- it('should return false for workflow objects', () => {- expect(canOpenObjectInSidePanel('workflow')).toBe(false);- expect(canOpenObjectInSidePanel('workflowVersion')).toBe(false);- expect(canOpenObjectInSidePanel('dashboard')).toBe(false);- expect(canOpenObjectInSidePanel('messageCampaign')).toBe(false);- });-- it('should return true for other objects', () => {- expect(canOpenObjectInSidePanel('person')).toBe(true);- expect(canOpenObjectInSidePanel('company')).toBe(true);- expect(canOpenObjectInSidePanel('task')).toBe(true);- });-});diff --git a/packages/twenty-front/src/modules/object-record/utils/__tests__/generateAggregateQuery.test.ts b/packages/twenty-front/src/modules/object-record/utils/__tests__/generateAggregateQuery.test.tsindex 2cb5c10de9e..099f0abdfba 100644--- a/packages/twenty-front/src/modules/object-record/utils/__tests__/generateAggregateQuery.test.ts+++ b/packages/twenty-front/src/modules/object-record/utils/__tests__/generateAggregateQuery.test.ts@@ -1,3 +1,4 @@+import { ObjectOpenRecordIn } from 'twenty-shared/types';import { type EnrichedObjectMetadataItem } from '@/object-metadata/types/EnrichedObjectMetadataItem';import { generateAggregateQuery } from '@/object-record/utils/generateAggregateQuery';@@ -25,6 +26,7 @@ describe('generateAggregateQuery', () => {isSystem: false,isUIEditable: true,isUICreatable: true,+ openRecordIn: ObjectOpenRecordIn.USER_CHOICE,};const mockRecordGqlFields = {@@ -69,6 +71,7 @@ describe('generateAggregateQuery', () => {isSystem: false,isUIEditable: true,isUICreatable: true,+ openRecordIn: ObjectOpenRecordIn.USER_CHOICE,};const mockRecordGqlFields = {diff --git a/packages/twenty-front/src/modules/object-record/utils/canOpenObjectInSidePanel.ts b/packages/twenty-front/src/modules/object-record/utils/canOpenObjectInSidePanel.tsdeleted file mode 100644index 8aa86c1296b..00000000000--- a/packages/twenty-front/src/modules/object-record/utils/canOpenObjectInSidePanel.ts+++ /dev/null@@ -1,7 +0,0 @@-export const canOpenObjectInSidePanel = (objectNameSingular: string) =>- !(- objectNameSingular === 'workflow' ||- objectNameSingular === 'workflowVersion' ||- objectNameSingular === 'dashboard' ||- objectNameSingular === 'messageCampaign'- );diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarVisibilitySettingsCard.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarVisibilitySettingsCard.tsxindex 87558b68959..db67b1a0f75 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarVisibilitySettingsCard.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarVisibilitySettingsCard.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';-import { SettingsAccountsRadioSettingsCard } from '@/settings/accounts/components/SettingsAccountsRadioSettingsCard';import { SettingsAccountsVisibilityIcon } from '@/settings/accounts/components/SettingsAccountsVisibilityIcon';+import { SettingsRadioSettingsCard } from '@/settings/components/SettingsRadioSettingsCard';import { msg } from '@lingui/core/macro';import { CalendarChannelVisibility } from '~/generated/graphql';import { themeCssVariables } from 'twenty-ui/theme-constants';@@ -13,7 +13,7 @@ type SettingsAccountsEventVisibilitySettingsCardProps = {const StyledCardMediaContainer = styled.div`> * {- height: ${themeCssVariables.spacing[6]};+ height: ${themeCssVariables.spacing[8]};}`;@@ -44,7 +44,7 @@ export const SettingsAccountsEventVisibilitySettingsCard = ({onChange,value = CalendarChannelVisibility.SHARE_EVERYTHING,}: SettingsAccountsEventVisibilitySettingsCardProps) => (- <SettingsAccountsRadioSettingsCard+ <SettingsRadioSettingsCardname="event-visibility"options={eventSettingsVisibilityOptions}value={value}diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageAutoCreationCard.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageAutoCreationCard.tsxindex 4b1e42a1463..fc27f336947 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageAutoCreationCard.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageAutoCreationCard.tsx@@ -1,5 +1,5 @@import { SettingsAccountsMessageAutoCreationIcon } from '@/settings/accounts/components/SettingsAccountsMessageAutoCreationIcon';-import { SettingsAccountsRadioSettingsCard } from '@/settings/accounts/components/SettingsAccountsRadioSettingsCard';+import { SettingsRadioSettingsCard } from '@/settings/components/SettingsRadioSettingsCard';import { msg } from '@lingui/core/macro';import { MessageChannelContactAutoCreationPolicy } from 'twenty-shared/types';@@ -40,7 +40,7 @@ export const SettingsAccountsMessageAutoCreationCard = ({onChange,value = MessageChannelContactAutoCreationPolicy.SENT_AND_RECEIVED,}: SettingsAccountsMessageAutoCreationCardProps) => (- <SettingsAccountsRadioSettingsCard+ <SettingsRadioSettingsCardname="message-auto-creation"options={autoCreationOptions}value={value}diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageAutoCreationIcon.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageAutoCreationIcon.tsxindex 11a37f567ac..d39af9061e6 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageAutoCreationIcon.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageAutoCreationIcon.tsx@@ -1,6 +1,7 @@import { styled } from '@linaria/react';+import { IconArrowDown, IconArrowUp } from 'twenty-ui/icon';-import { themeCssVariables } from 'twenty-ui/theme-constants';+import { themeCssVariables, useTheme } from 'twenty-ui/theme-constants';type SettingsAccountsMessageAutoCreationIconProps = {className?: string;@@ -12,32 +13,49 @@ const StyledIconContainer = styled.div`align-items: stretch;border: 2px solid ${themeCssVariables.border.color.medium};border-radius: ${themeCssVariables.border.radius.sm};+ box-sizing: border-box;color: ${themeCssVariables.font.color.light};display: flex;flex-direction: column;gap: ${themeCssVariables.spacing['0.5']};- height: ${themeCssVariables.spacing[8]};+ height: 40px;justify-content: center;padding: ${themeCssVariables.spacing['0.5']};- width: ${themeCssVariables.spacing[6]};+ width: 32px;`;const StyledDirectionSkeleton = styled.div<{ isActive?: boolean }>`+ align-items: center;background-color: ${({ isActive }) =>isActive- ? themeCssVariables.accent.accent4060- : themeCssVariables.background.quaternary};+ ? themeCssVariables.accent.accent7+ : themeCssVariables.border.color.medium};border-radius: 1px;- height: 24px;+ color: ${themeCssVariables.font.color.inverted};+ display: flex;+ flex: 1 0 0;+ justify-content: center;+ min-height: 0;`;export const SettingsAccountsMessageAutoCreationIcon = ({className,isSentActive,isReceivedActive,-}: SettingsAccountsMessageAutoCreationIconProps) => (- <StyledIconContainer className={className}>- <StyledDirectionSkeleton isActive={isSentActive} />- <StyledDirectionSkeleton isActive={isReceivedActive} />- </StyledIconContainer>-);+}: SettingsAccountsMessageAutoCreationIconProps) => {+ const theme = useTheme();++ return (+ <StyledIconContainer className={className}>+ <StyledDirectionSkeleton isActive={isSentActive}>+ <IconArrowUp size={theme.icon.size.sm} stroke={theme.icon.stroke.md} />+ </StyledDirectionSkeleton>+ <StyledDirectionSkeleton isActive={isReceivedActive}>+ <IconArrowDown+ size={theme.icon.size.sm}+ stroke={theme.icon.stroke.md}+ />+ </StyledDirectionSkeleton>+ </StyledIconContainer>+ );+};diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageFolderCard.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageFolderCard.tsxindex c7ce7886ec3..278b55ba867 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageFolderCard.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageFolderCard.tsx@@ -1,6 +1,6 @@import { SettingsAccountsMessageFoldersCard } from '@/settings/accounts/components/message-folders/SettingsAccountsMessageFoldersCard';import { SettingsAccountsMessageFolderIcon } from '@/settings/accounts/components/SettingsAccountsMessageFolderIcon';-import { SettingsAccountsRadioSettingsCard } from '@/settings/accounts/components/SettingsAccountsRadioSettingsCard';+import { SettingsRadioSettingsCard } from '@/settings/components/SettingsRadioSettingsCard';import { msg } from '@lingui/core/macro';import { MessageFolderImportPolicy } from 'twenty-shared/types';@@ -37,7 +37,7 @@ export const SettingsAccountsMessageFolderCard = ({onChange,value = MessageFolderImportPolicy.SELECTED_FOLDERS,}: SettingsAccountsMessageFolderCardProps) => (- <SettingsAccountsRadioSettingsCard+ <SettingsRadioSettingsCardname="message-folder-import-policy"options={INBOX_SETTINGS_VISIBILITY_OPTIONS}value={value}diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageVisibilityCard.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageVisibilityCard.tsxindex e7a5afb44d3..f14777205e1 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageVisibilityCard.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageVisibilityCard.tsx@@ -1,5 +1,5 @@-import { SettingsAccountsRadioSettingsCard } from '@/settings/accounts/components/SettingsAccountsRadioSettingsCard';import { SettingsAccountsVisibilityIcon } from '@/settings/accounts/components/SettingsAccountsVisibilityIcon';+import { SettingsRadioSettingsCard } from '@/settings/components/SettingsRadioSettingsCard';import { msg } from '@lingui/core/macro';import { MessageChannelVisibility } from '~/generated/graphql';@@ -51,7 +51,7 @@ export const SettingsAccountsMessageVisibilityCard = ({onChange,value = MessageChannelVisibility.SHARE_EVERYTHING,}: SettingsAccountsMessageVisibilityCardProps) => (- <SettingsAccountsRadioSettingsCard+ <SettingsRadioSettingsCardname="message-visibility"options={inboxSettingsVisibilityOptions}value={value}diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsRadioSettingsCard.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsRadioSettingsCard.tsxdeleted file mode 100644index e439fd551ce..00000000000--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsRadioSettingsCard.tsx+++ /dev/null@@ -1,104 +0,0 @@-import { styled } from '@linaria/react';-import { type MessageDescriptor } from '@lingui/core';-import { Trans } from '@lingui/react';-import { type ReactNode } from 'react';-import { Radio } from 'twenty-ui/input';-import { Card, CardContent } from 'twenty-ui/surfaces';-import { isDefined } from 'twenty-shared/utils';-import { themeCssVariables } from 'twenty-ui/theme-constants';--type SettingsAccountsRadioSettingsCardProps<Option extends { value: string }> =- {- onChange: (nextValue: Option['value']) => void;- options: Option[];- value: Option['value'];- name: string;- };--const StyledCardContentContainer = styled.div`- > * {- cursor: pointer;-- &:hover {- background: ${themeCssVariables.background.transparent.lighter};- }- }-`;--const StyledOptionHeader = styled.div`- align-items: center;- display: flex;- gap: ${themeCssVariables.spacing[4]};-`;--const StyledTitle = styled.div`- color: ${themeCssVariables.font.color.primary};- font-weight: ${themeCssVariables.font.weight.medium};- margin-bottom: ${themeCssVariables.spacing[2]};-`;--const StyledDescription = styled.div`- color: ${themeCssVariables.font.color.tertiary};- font-size: ${themeCssVariables.font.size.sm};-`;--const StyledRadioContainer = styled.span`- align-items: center;- display: flex;- margin-left: auto;-`;--const StyledExpandedContent = styled.div`- margin-top: ${themeCssVariables.spacing[4]};-`;--export const SettingsAccountsRadioSettingsCard = <- Option extends {- cardMedia: ReactNode;- description: MessageDescriptor;- title: MessageDescriptor;- value: string;- cardContentExpanded?: ReactNode;- },->({- onChange,- options,- value,- name,-}: SettingsAccountsRadioSettingsCardProps<Option>) => (- <Card rounded>- {options.map((option, index) => (- <StyledCardContentContainer key={option.value}>- <CardContent- divider={index < options.length - 1}- onClick={() => onChange(option.value)}- >- <StyledOptionHeader>- {option.cardMedia}- <div>- <StyledTitle>- <Trans id={option.title.id} />- </StyledTitle>- <StyledDescription>- <Trans id={option.description.id} />- </StyledDescription>- </div>- <StyledRadioContainer>- <Radio- name={name}- value={option.value}- onCheckedChange={() => onChange(option.value)}- checked={value === option.value}- />- </StyledRadioContainer>- </StyledOptionHeader>- {isDefined(option.cardContentExpanded) && value === option.value && (- <StyledExpandedContent>- {option.cardContentExpanded}- </StyledExpandedContent>- )}- </CardContent>- </StyledCardContentContainer>- ))}- </Card>-);diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsVisibilityIcon.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsVisibilityIcon.tsxindex ca4c417cafd..7f7405cd6fd 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsVisibilityIcon.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsVisibilityIcon.tsx@@ -15,20 +15,21 @@ const StyledCardMedia = styled.div`align-items: stretch;border: 2px solid ${themeCssVariables.border.color.medium};border-radius: ${themeCssVariables.border.radius.sm};+ box-sizing: border-box;color: ${themeCssVariables.font.color.light};display: flex;flex-direction: column;gap: ${themeCssVariables.spacing['0.5']};- height: ${themeCssVariables.spacing[8]};+ height: 40px;justify-content: center;padding: ${themeCssVariables.spacing['0.5']};- width: ${themeCssVariables.spacing[6]};+ width: 32px;`;const StyledSubjectSkeleton = styled.div<{ isActive?: boolean }>`background-color: ${({ isActive }) =>isActive- ? themeCssVariables.accent.accent4060+ ? themeCssVariables.accent.accent7: themeCssVariables.background.quaternary};border-radius: 1px;height: 3px;@@ -37,7 +38,7 @@ const StyledSubjectSkeleton = styled.div<{ isActive?: boolean }>`const StyledMetadataSkeleton = styled.div<{ isActive?: boolean }>`background-color: ${({ isActive }) =>isActive- ? themeCssVariables.accent.accent4060+ ? themeCssVariables.accent.accent7: themeCssVariables.background.quaternary};border-radius: 1px;height: 3px;@@ -47,7 +48,7 @@ const StyledMetadataSkeleton = styled.div<{ isActive?: boolean }>`const StyledBodySkeleton = styled.div<{ isActive?: boolean }>`background-color: ${({ isActive }) =>isActive- ? themeCssVariables.accent.accent4060+ ? themeCssVariables.accent.accent7: themeCssVariables.background.quaternary};border-radius: ${themeCssVariables.border.radius.xs};flex: 1 0 auto;diff --git a/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsCardContentBase.tsx b/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsCardContentBase.tsxindex bc360d57f0b..869befd92c0 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsCardContentBase.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsCardContentBase.tsx@@ -20,11 +20,12 @@ export const StyledSettingsCardIcon = styled.div`background-color: ${themeCssVariables.background.primary};border: 2px solid ${themeCssVariables.border.color.light};border-radius: ${themeCssVariables.border.radius.sm};+ box-sizing: border-box;display: flex;- height: ${themeCssVariables.spacing[7]};+ height: ${themeCssVariables.spacing[8]};justify-content: center;- min-width: ${themeCssVariables.icon.size.md};- width: ${themeCssVariables.spacing[7]};+ min-width: ${themeCssVariables.spacing[8]};+ width: ${themeCssVariables.spacing[8]};`;export const StyledSettingsCardTitle = styled.div`diff --git a/packages/twenty-front/src/modules/settings/components/SettingsRadioSettingsCard.tsx b/packages/twenty-front/src/modules/settings/components/SettingsRadioSettingsCard.tsxnew file mode 100644index 00000000000..0ddf108e557--- /dev/null+++ b/packages/twenty-front/src/modules/settings/components/SettingsRadioSettingsCard.tsx@@ -0,0 +1,132 @@+import { styled } from '@linaria/react';+import { type MessageDescriptor } from '@lingui/core';+import { useLingui } from '@lingui/react/macro';+import { type KeyboardEvent, type ReactNode } from 'react';+import { isDefined } from 'twenty-shared/utils';+import { Radio } from 'twenty-ui/input';+import { Card, CardContent } from 'twenty-ui/surfaces';+import { themeCssVariables } from 'twenty-ui/theme-constants';++type SettingsRadioSettingsCardProps<Option extends { value: string }> = {+ name: string;+ onChange: (nextValue: Option['value']) => void;+ options: Option[];+ value: Option['value'];+};++const StyledCardContentContainer = styled.div`+ > * {+ cursor: pointer;++ &:hover {+ background: ${themeCssVariables.background.transparent.lighter};+ }+ }+`;++const StyledOptionHeader = styled.div`+ align-items: center;+ display: flex;+ gap: ${themeCssVariables.spacing[4]};+`;++const StyledTextContainer = styled.div`+ flex: 1;+ min-width: 0;+`;++const StyledTitle = styled.div`+ color: ${themeCssVariables.font.color.primary};+ font-weight: ${themeCssVariables.font.weight.medium};+ margin-bottom: ${themeCssVariables.spacing[2]};+`;++const StyledDescription = styled.div`+ color: ${themeCssVariables.font.color.tertiary};+ font-size: ${themeCssVariables.font.size.sm};+`;++const StyledRadioContainer = styled.span`+ align-items: center;+ display: flex;+ margin-left: auto;+`;++const StyledExpandedContent = styled.div`+ margin-top: ${themeCssVariables.spacing[4]};+`;++export const SettingsRadioSettingsCard = <+ Option extends {+ cardMedia: ReactNode;+ description: MessageDescriptor;+ title: MessageDescriptor;+ value: string;+ cardContentExpanded?: ReactNode;+ },+>({+ name,+ onChange,+ options,+ value,+}: SettingsRadioSettingsCardProps<Option>) => {+ const { i18n } = useLingui();++ const handleKeyDown = (+ event: KeyboardEvent<HTMLDivElement>,+ optionValue: Option['value'],+ ) => {+ if (event.key !== 'Enter' && event.key !== ' ') {+ return;+ }++ event.preventDefault();+ onChange(optionValue);+ };++ return (+ <Card fullWidth rounded role="radiogroup">+ {options.map((option, index) => {+ const isSelected = value === option.value;++ return (+ <StyledCardContentContainer key={option.value}>+ <CardContent+ aria-checked={isSelected}+ divider={index < options.length - 1}+ onClick={() => onChange(option.value)}+ onKeyDown={(event) => handleKeyDown(event, option.value)}+ role="radio"+ tabIndex={0}+ >+ <StyledOptionHeader>+ {option.cardMedia}+ <StyledTextContainer>+ <StyledTitle>{i18n._(option.title)}</StyledTitle>+ <StyledDescription>+ {i18n._(option.description)}+ </StyledDescription>+ </StyledTextContainer>+ <StyledRadioContainer+ onClick={(event) => event.stopPropagation()}+ >+ <Radio+ checked={isSelected}+ name={name}+ onCheckedChange={() => onChange(option.value)}+ value={option.value}+ />+ </StyledRadioContainer>+ </StyledOptionHeader>+ {isDefined(option.cardContentExpanded) && isSelected && (+ <StyledExpandedContent>+ {option.cardContentExpanded}+ </StyledExpandedContent>+ )}+ </CardContent>+ </StyledCardContentContainer>+ );+ })}+ </Card>+ );+};diff --git a/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/ObjectLayout.tsx b/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/ObjectLayout.tsxindex 01146d23915..73800ff5b94 100644--- a/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/ObjectLayout.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/ObjectLayout.tsx@@ -4,7 +4,7 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { AppPath } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';-import { IconLayoutDashboard, IconReload } from 'twenty-ui/icon';+import { IconAddressBook, IconReload } from 'twenty-ui/icon';import { Button } from 'twenty-ui/input';import { Section } from 'twenty-ui/layout';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';@@ -16,6 +16,7 @@ import { useFindManyRecords } from '@/object-record/hooks/useFindManyRecords';import { useResetPageLayoutToDefault } from '@/page-layout/hooks/useResetPageLayoutToDefault';import { recordPageLayoutByObjectMetadataIdFamilySelector } from '@/page-layout/states/selectors/recordPageLayoutByObjectMetadataIdFamilySelector';import { SettingsCard } from '@/settings/components/SettingsCard';+import { ObjectOpenRecordInPicker } from '@/settings/data-model/object-details/components/tabs/ObjectOpenRecordInPicker';import { useHasPermissionFlag } from '@/settings/roles/hooks/useHasPermissionFlag';import { ConfirmationModal } from '@/ui/layout/modal/components/ConfirmationModal';import { useModal } from '@/ui/layout/modal/hooks/useModal';@@ -91,16 +92,24 @@ export const ObjectLayout = ({ objectMetadataItem }: ObjectLayoutProps) => {<StyledContentContainer><Section><H2Title- title={t`Customize`}- description={t`Customize the layout for this role`}+ title={t`Record page`}+ description={t`Customize the workspace record page`}/><SettingsCardtitle={t`Customize record page`}- Icon={<IconLayoutDashboard size={theme.icon.size.md} />}+ description={t`Customize how your record page looks.`}+ Icon={<IconAddressBook size={theme.icon.size.md} />}onClick={handleCustomizeRecordPage}disabled={!hasLayoutsPermission || !isDefined(firstRecord)}/></Section>+ <Section>+ <H2Title+ title={t`Navigation`}+ description={t`Where records of this object open`}+ />+ <ObjectOpenRecordInPicker objectMetadataItem={objectMetadataItem} />+ </Section><Section><H2Titletitle={t`Reset`}diff --git a/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/ObjectOpenRecordInPicker.tsx b/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/ObjectOpenRecordInPicker.tsxnew file mode 100644index 00000000000..aa7a21e4b99--- /dev/null+++ b/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/ObjectOpenRecordInPicker.tsx@@ -0,0 +1,53 @@+import { useUpdateOneObjectMetadataItem } from '@/object-metadata/hooks/useUpdateOneObjectMetadataItem';+import { type EnrichedObjectMetadataItem } from '@/object-metadata/types/EnrichedObjectMetadataItem';+import { SettingsRadioSettingsCard } from '@/settings/components/SettingsRadioSettingsCard';+import { OpenRecordInCardMedia } from '@/settings/experience/components/OpenRecordInCardMedia';+import { msg } from '@lingui/core/macro';+import { ObjectOpenRecordIn } from 'twenty-shared/types';++type ObjectOpenRecordInPickerProps = {+ objectMetadataItem: EnrichedObjectMetadataItem;+};++const objectOpenRecordInOptions = [+ {+ value: ObjectOpenRecordIn.USER_CHOICE,+ title: msg`Member preference`,+ description: msg`Let each member decide for themselves`,+ cardMedia: <OpenRecordInCardMedia type="member-preference" />,+ },+ {+ value: ObjectOpenRecordIn.SIDE_PANEL,+ title: msg`Side panel`,+ description: msg`Open records alongside the current page`,+ cardMedia: <OpenRecordInCardMedia type="side-panel" />,+ },+ {+ value: ObjectOpenRecordIn.RECORD_PAGE,+ title: msg`Full page`,+ description: msg`Open records on a dedicated page`,+ cardMedia: <OpenRecordInCardMedia type="full-page" />,+ },+];++export const ObjectOpenRecordInPicker = ({+ objectMetadataItem,+}: ObjectOpenRecordInPickerProps) => {+ const { updateOneObjectMetadataItem } = useUpdateOneObjectMetadataItem();++ const handleChange = (openRecordIn: ObjectOpenRecordIn) => {+ void updateOneObjectMetadataItem({+ idToUpdate: objectMetadataItem.id,+ updatePayload: { openRecordIn },+ });+ };++ return (+ <SettingsRadioSettingsCard+ name="object-open-record-in"+ onChange={handleChange}+ options={objectOpenRecordInOptions}+ value={objectMetadataItem.openRecordIn}+ />+ );+};diff --git a/packages/twenty-front/src/modules/settings/experience/components/OpenRecordInCardMedia.tsx b/packages/twenty-front/src/modules/settings/experience/components/OpenRecordInCardMedia.tsxnew file mode 100644index 00000000000..ad362c6f1c0--- /dev/null+++ b/packages/twenty-front/src/modules/settings/experience/components/OpenRecordInCardMedia.tsx@@ -0,0 +1,119 @@+import { styled } from '@linaria/react';+import { IconArrowsDiagonal, IconUserCircle } from 'twenty-ui/icon';+import { themeCssVariables } from 'twenty-ui/theme-constants';++type OpenRecordInCardMediaProps = {+ type: 'member-preference' | 'side-panel' | 'full-page';+};++const StyledPreviewFrame = styled.div`+ background-color: ${themeCssVariables.border.color.medium};+ border-radius: ${themeCssVariables.border.radius.sm};+ box-sizing: border-box;+ display: flex;+ flex-shrink: 0;+ height: 40px;+ padding: 2px;+ width: 32px;+`;++const StyledPreviewCanvas = styled.div`+ background-color: ${themeCssVariables.background.secondary};+ border-radius: 2px;+ display: flex;+ flex: 1;+ gap: 2px;+ min-width: 0;+ overflow: hidden;+ padding: 2px;+`;++const StyledMemberPreferenceCanvas = styled(StyledPreviewCanvas)`+ flex-direction: column;+ position: relative;+`;++const StyledMemberPreferenceIcon = styled.div`+ align-items: center;+ background-color: ${themeCssVariables.background.secondary};+ border-radius: ${themeCssVariables.border.radius.rounded};+ box-sizing: border-box;+ color: ${themeCssVariables.accent.accent7};+ corner-shape: round;+ display: flex;+ height: 16px;+ justify-content: center;+ left: 50%;+ padding: 1px;+ position: absolute;+ top: 50%;+ transform: translate(-50%, -50%);+ width: 16px;+`;++const StyledSidePanelPreview = styled.div`+ display: flex;+ flex: 1;+ gap: 2px;+ min-height: 0;+`;++const StyledSidePanelContent = styled.div`+ background-color: ${themeCssVariables.border.color.medium};+ border-radius: 1px;+ flex: 1;+`;++const StyledSidePanel = styled.div`+ background-color: ${themeCssVariables.accent.accent7};+ border-radius: 1px;+ width: 6px;+`;++const StyledFullPage = styled.div`+ align-items: center;+ background-color: ${themeCssVariables.accent.accent7};+ border-radius: 1px;+ color: ${themeCssVariables.font.color.inverted};+ display: flex;+ flex: 1;+ justify-content: center;+ min-height: 0;+`;++const SidePanelPreview = () => (+ <StyledSidePanelPreview>+ <StyledSidePanelContent />+ <StyledSidePanel />+ </StyledSidePanelPreview>+);++export const OpenRecordInCardMedia = ({ type }: OpenRecordInCardMediaProps) => {+ if (type === 'member-preference') {+ return (+ <StyledPreviewFrame>+ <StyledMemberPreferenceCanvas>+ <SidePanelPreview />+ <StyledFullPage />+ <StyledMemberPreferenceIcon>+ <IconUserCircle size={14} />+ </StyledMemberPreferenceIcon>+ </StyledMemberPreferenceCanvas>+ </StyledPreviewFrame>+ );+ }++ return (+ <StyledPreviewFrame>+ <StyledPreviewCanvas>+ {type === 'side-panel' ? (+ <SidePanelPreview />+ ) : (+ <StyledFullPage>+ <IconArrowsDiagonal size={14} />+ </StyledFullPage>+ )}+ </StyledPreviewCanvas>+ </StyledPreviewFrame>+ );+};diff --git a/packages/twenty-front/src/modules/settings/experience/components/OpenRecordInPreferencePicker.tsx b/packages/twenty-front/src/modules/settings/experience/components/OpenRecordInPreferencePicker.tsxnew file mode 100644index 00000000000..af13570a5de--- /dev/null+++ b/packages/twenty-front/src/modules/settings/experience/components/OpenRecordInPreferencePicker.tsx@@ -0,0 +1,38 @@+import { SettingsRadioSettingsCard } from '@/settings/components/SettingsRadioSettingsCard';+import { OpenRecordInCardMedia } from '@/settings/experience/components/OpenRecordInCardMedia';+import { useOpenRecordInPreference } from '@/settings/experience/hooks/useOpenRecordInPreference';+import { msg } from '@lingui/core/macro';+import { OpenRecordIn } from 'twenty-shared/types';++const openRecordInPreferenceOptions = [+ {+ value: OpenRecordIn.SIDE_PANEL,+ title: msg`Side panel`,+ description: msg`Open records alongside the current page`,+ cardMedia: <OpenRecordInCardMedia type="side-panel" />,+ },+ {+ value: OpenRecordIn.RECORD_PAGE,+ title: msg`Full page`,+ description: msg`Open records on a dedicated page`,+ cardMedia: <OpenRecordInCardMedia type="full-page" />,+ },+];++export const OpenRecordInPreferencePicker = () => {+ const { openRecordInPreference, setOpenRecordInPreference } =+ useOpenRecordInPreference();++ const handleChange = (value: OpenRecordIn) => {+ void setOpenRecordInPreference(value);+ };++ return (+ <SettingsRadioSettingsCard+ name="open-record-in-preference"+ onChange={handleChange}+ options={openRecordInPreferenceOptions}+ value={openRecordInPreference}+ />+ );+};diff --git a/packages/twenty-front/src/modules/settings/experience/hooks/useOpenRecordInPreference.ts b/packages/twenty-front/src/modules/settings/experience/hooks/useOpenRecordInPreference.tsnew file mode 100644index 00000000000..36f80b88471--- /dev/null+++ b/packages/twenty-front/src/modules/settings/experience/hooks/useOpenRecordInPreference.ts@@ -0,0 +1,36 @@+import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState';+import { DEFAULT_OPEN_RECORD_IN_PREFERENCE } from '@/object-record/record-index/constants/DefaultOpenRecordInPreference';+import { useUpdateWorkspaceMemberSettings } from '@/settings/profile/hooks/useUpdateWorkspaceMemberSettings';+import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';+import { useCallback } from 'react';+import { type OpenRecordIn } from 'twenty-shared/types';++export const useOpenRecordInPreference = () => {+ const currentWorkspaceMember = useAtomStateValue(currentWorkspaceMemberState);++ const { updateWorkspaceMemberSettings } = useUpdateWorkspaceMemberSettings();++ const openRecordInPreference =+ currentWorkspaceMember?.openRecordIn ?? DEFAULT_OPEN_RECORD_IN_PREFERENCE;++ const setOpenRecordInPreference = useCallback(+ async (value: OpenRecordIn) => {+ if (!currentWorkspaceMember) {+ return;+ }++ await updateWorkspaceMemberSettings({+ workspaceMemberId: currentWorkspaceMember.id,+ update: {+ openRecordIn: value,+ },+ });+ },+ [currentWorkspaceMember, updateWorkspaceMemberSettings],+ );++ return {+ openRecordInPreference,+ setOpenRecordInPreference,+ };+};diff --git a/packages/twenty-front/src/modules/settings/profile/utils/mergeWorkspaceMemberSettingsIntoCurrent.ts b/packages/twenty-front/src/modules/settings/profile/utils/mergeWorkspaceMemberSettingsIntoCurrent.tsindex 4b6e069f1d0..53c2e625d0e 100644--- a/packages/twenty-front/src/modules/settings/profile/utils/mergeWorkspaceMemberSettingsIntoCurrent.ts+++ b/packages/twenty-front/src/modules/settings/profile/utils/mergeWorkspaceMemberSettingsIntoCurrent.ts@@ -2,6 +2,8 @@ import { isNull, isNumber, isString } from '@sniptt/guards';import { type CurrentWorkspaceMember } from '@/auth/states/currentWorkspaceMemberState';import { type ColorScheme } from '@/workspace-member/types/WorkspaceMember';+import { isOpenRecordIn } from '@/workspace-member/utils/toOpenRecordInPreference';+import { type OpenRecordIn } from 'twenty-shared/types';import { isDefined, isPlainObject } from 'twenty-shared/utils';import {WorkspaceMemberDateFormatEnum,@@ -18,6 +20,7 @@ export type WorkspaceMemberSettingsUpdateInput = {name?: WorkspaceMemberNameUpdate;jobTitle?: string | null;colorScheme?: string;+ openRecordIn?: OpenRecordIn;avatarUrl?: string | null;locale?: string;calendarStartDay?: number;@@ -111,6 +114,10 @@ export const mergeWorkspaceMemberSettingsIntoCurrent = (}}+ if ('openRecordIn' in payload && isOpenRecordIn(payload.openRecordIn)) {+ next = { ...next, openRecordIn: payload.openRecordIn };+ }+if ('avatarUrl' in payload) {const value = payload.avatarUrl;if (value === '' || isNull(value)) {diff --git a/packages/twenty-front/src/modules/settings/roles/types/RoleWithPartialMembers.ts b/packages/twenty-front/src/modules/settings/roles/types/RoleWithPartialMembers.tsindex 4fd759c907a..cee4db903d6 100644--- a/packages/twenty-front/src/modules/settings/roles/types/RoleWithPartialMembers.ts+++ b/packages/twenty-front/src/modules/settings/roles/types/RoleWithPartialMembers.ts@@ -3,6 +3,7 @@ import { type Role, type WorkspaceMember } from '~/generated-metadata/graphql';export type PartialWorkspaceMember = Omit<WorkspaceMember,| 'colorScheme'+ | 'openRecordIn'| 'locale'| 'timeZone'| 'dateFormat'diff --git a/packages/twenty-front/src/modules/users/hooks/useLoadCurrentUser.ts b/packages/twenty-front/src/modules/users/hooks/useLoadCurrentUser.tsindex 819df2e5d4a..2007dbe9576 100644--- a/packages/twenty-front/src/modules/users/hooks/useLoadCurrentUser.ts+++ b/packages/twenty-front/src/modules/users/hooks/useLoadCurrentUser.ts@@ -15,6 +15,7 @@ import { useCallback } from 'react';import { SOURCE_LOCALE, type APP_LOCALES } from 'twenty-shared/translations';import { type ObjectPermissions } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';+import { toOpenRecordInPreference } from '@/workspace-member/utils/toOpenRecordInPreference';import { type ColorScheme } from 'twenty-ui/input';import { useApolloClient } from '@apollo/client/react';import { GetCurrentUserDocument } from '~/generated-metadata/graphql';@@ -88,6 +89,9 @@ export const useLoadCurrentUser = () => {workspaceMember = {...user.workspaceMember,colorScheme: user.workspaceMember?.colorScheme as ColorScheme,+ openRecordIn: toOpenRecordInPreference(+ user.workspaceMember?.openRecordIn,+ ),locale: user.workspaceMember?.locale ?? SOURCE_LOCALE,};diff --git a/packages/twenty-front/src/modules/workflow/components/__stories__/WorkflowFieldsMultiSelect.stories.ts b/packages/twenty-front/src/modules/workflow/components/__stories__/WorkflowFieldsMultiSelect.stories.tsindex 46438c7a70d..f158b26b1ff 100644--- a/packages/twenty-front/src/modules/workflow/components/__stories__/WorkflowFieldsMultiSelect.stories.ts+++ b/packages/twenty-front/src/modules/workflow/components/__stories__/WorkflowFieldsMultiSelect.stories.ts@@ -1,3 +1,4 @@+import { ObjectOpenRecordIn } from 'twenty-shared/types';import { type EnrichedObjectMetadataItem } from '@/object-metadata/types/EnrichedObjectMetadataItem';import { WorkflowFieldsMultiSelect } from '@/workflow/components/WorkflowEditUpdateEventFieldsMultiSelect';import type { Meta, StoryObj } from '@storybook/react-vite';@@ -72,6 +73,7 @@ const mockObjectMetadataItem: EnrichedObjectMetadataItem = {isSystem: false,isUIEditable: true,isUICreatable: true,+ openRecordIn: ObjectOpenRecordIn.USER_CHOICE,isActive: true,createdAt: '',updatedAt: '',diff --git a/packages/twenty-front/src/modules/workspace-member/graphql/fragments/workspaceMemberQueryFragment.ts b/packages/twenty-front/src/modules/workspace-member/graphql/fragments/workspaceMemberQueryFragment.tsindex 03674b52f79..7f8762d2dc2 100644--- a/packages/twenty-front/src/modules/workspace-member/graphql/fragments/workspaceMemberQueryFragment.ts+++ b/packages/twenty-front/src/modules/workspace-member/graphql/fragments/workspaceMemberQueryFragment.ts@@ -8,6 +8,7 @@ export const WORKSPACE_MEMBER_QUERY_FRAGMENT = gql`lastName}colorScheme+ openRecordInavatarUrllocaleuserEmaildiff --git a/packages/twenty-front/src/modules/workspace-member/states/openRecordInPreferenceState.ts b/packages/twenty-front/src/modules/workspace-member/states/openRecordInPreferenceState.tsnew file mode 100644index 00000000000..32db69a34a1--- /dev/null+++ b/packages/twenty-front/src/modules/workspace-member/states/openRecordInPreferenceState.ts@@ -0,0 +1,12 @@+import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState';+import { DEFAULT_OPEN_RECORD_IN_PREFERENCE } from '@/object-record/record-index/constants/DefaultOpenRecordInPreference';+import { createAtomSelector } from '@/ui/utilities/state/jotai/utils/createAtomSelector';+import { type OpenRecordIn } from 'twenty-shared/types';++// Narrowed so chips don't re-render on unrelated member changes.+export const openRecordInPreferenceState = createAtomSelector<OpenRecordIn>({+ key: 'openRecordInPreferenceState',+ get: ({ get }) =>+ get(currentWorkspaceMemberState)?.openRecordIn ??+ DEFAULT_OPEN_RECORD_IN_PREFERENCE,+});diff --git a/packages/twenty-front/src/modules/workspace-member/types/WorkspaceMember.ts b/packages/twenty-front/src/modules/workspace-member/types/WorkspaceMember.tsindex 575ec661f9c..4ac8685b063 100644--- a/packages/twenty-front/src/modules/workspace-member/types/WorkspaceMember.ts+++ b/packages/twenty-front/src/modules/workspace-member/types/WorkspaceMember.ts@@ -1,3 +1,4 @@+import { type OpenRecordIn } from 'twenty-shared/types';import {type WorkspaceMemberDateFormatEnum,type WorkspaceMemberNumberFormatEnum,@@ -17,6 +18,7 @@ export type WorkspaceMember = {avatarUrl?: string | null;locale: string | null;colorScheme: ColorScheme;+ openRecordIn?: OpenRecordIn;createdAt: string;updatedAt: string;userEmail: string;diff --git a/packages/twenty-front/src/modules/workspace-member/utils/toOpenRecordInPreference.ts b/packages/twenty-front/src/modules/workspace-member/utils/toOpenRecordInPreference.tsnew file mode 100644index 00000000000..e4e3afcc25e--- /dev/null+++ b/packages/twenty-front/src/modules/workspace-member/utils/toOpenRecordInPreference.ts@@ -0,0 +1,12 @@+import { DEFAULT_OPEN_RECORD_IN_PREFERENCE } from '@/object-record/record-index/constants/DefaultOpenRecordInPreference';+import { OpenRecordIn } from 'twenty-shared/types';++export const isOpenRecordIn = (value: unknown): value is OpenRecordIn =>+ value === OpenRecordIn.SIDE_PANEL || value === OpenRecordIn.RECORD_PAGE;++export const toOpenRecordInPreference = (+ openRecordIn: string | null | undefined,+): OpenRecordIn =>+ isOpenRecordIn(openRecordIn)+ ? openRecordIn+ : DEFAULT_OPEN_RECORD_IN_PREFERENCE;diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationPermissionsTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationPermissionsTab.tsxindex cd495ae1f56..23bc8ff3f61 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationPermissionsTab.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationPermissionsTab.tsx@@ -1,3 +1,4 @@+import { ObjectOpenRecordIn } from 'twenty-shared/types';import { objectMetadataItemsSelector } from '@/object-metadata/states/objectMetadataItemsSelector';import { type FieldMetadataItem } from '@/object-metadata/types/FieldMetadataItem';import { type EnrichedObjectMetadataItem } from '@/object-metadata/types/EnrichedObjectMetadataItem';@@ -244,6 +245,7 @@ const buildObjectMetadataItemsFromMarketplaceApp = (isSearchable: false,isUIEditable: true,isUICreatable: true,+ openRecordIn: ObjectOpenRecordIn.USER_CHOICE,isLabelSyncedWithName: false,labelIdentifierFieldMetadataId: '',fields,diff --git a/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsExperience.tsx b/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsExperience.tsxindex 3cbfce169c6..6e4a007f87d 100644--- a/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsExperience.tsx+++ b/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsExperience.tsx@@ -1,5 +1,6 @@import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';import { FormatPreferencesSettings } from '@/settings/experience/components/FormatPreferencesSettings';+import { OpenRecordInPreferencePicker } from '@/settings/experience/components/OpenRecordInPreferencePicker';import { SettingsPageLayout } from '@/settings/components/layout/SettingsPageLayout';import { useColorScheme } from '@/ui/theme/hooks/useColorScheme';import { Trans, useLingui } from '@lingui/react/macro';@@ -37,6 +38,14 @@ export const SettingsExperience = () => {/></Section>+ <Section>+ <H2Title+ title={t`Navigation`}+ description={t`Choose where records open by default. Some objects may use a workspace setting`}+ />+ <OpenRecordInPreferencePicker />+ </Section>+<Section><H2Titletitle={t`Language`}diff --git a/packages/twenty-sdk/src/cli/utilities/build/common/plugins/__tests__/__snapshots__/stub-twenty-sdk-define.plugin.spec.ts.snap b/packages/twenty-sdk/src/cli/utilities/build/common/plugins/__tests__/__snapshots__/stub-twenty-sdk-define.plugin.spec.ts.snapindex ebd1f317ee7..3f033431325 100644--- a/packages/twenty-sdk/src/cli/utilities/build/common/plugins/__tests__/__snapshots__/stub-twenty-sdk-define.plugin.spec.ts.snap+++ b/packages/twenty-sdk/src/cli/utilities/build/common/plugins/__tests__/__snapshots__/stub-twenty-sdk-define.plugin.spec.ts.snap@@ -10,6 +10,7 @@ exports[`stub-twenty-sdk-define plugin > matches the recorded export partition 1"HTTPMethod","NavigationMenuItemType","NumberDataType",+ "ObjectOpenRecordIn","ObjectRecordGroupByDateGranularity","OnDeleteAction","PageLayoutTabLayoutMode",diff --git a/packages/twenty-sdk/src/sdk/define/index.ts b/packages/twenty-sdk/src/sdk/define/index.tsindex d696eada880..35f573e6f27 100644--- a/packages/twenty-sdk/src/sdk/define/index.ts+++ b/packages/twenty-sdk/src/sdk/define/index.ts@@ -189,6 +189,7 @@ export {HTTPMethod,NavigationMenuItemType,NumberDataType,+ ObjectOpenRecordIn,ObjectRecordGroupByDateGranularity,PageLayoutTabLayoutMode,PageLayoutType,diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-27/2-27-instance-command-fast-1785504900000-add-open-record-in-to-object-metadata.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-27/2-27-instance-command-fast-1785504900000-add-open-record-in-to-object-metadata.tsnew file mode 100644index 00000000000..2c45b76ee21--- /dev/null+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-27/2-27-instance-command-fast-1785504900000-add-open-record-in-to-object-metadata.ts@@ -0,0 +1,27 @@+import { type QueryRunner } from 'typeorm';++import { RegisteredInstanceCommand } from 'src/engine/core-modules/upgrade/decorators/registered-instance-command.decorator';+import { type FastInstanceCommand } from 'src/engine/core-modules/upgrade/interfaces/fast-instance-command.interface';++@RegisteredInstanceCommand('2.27.0', 1785504900000)+export class AddOpenRecordInToObjectMetadataFastInstanceCommand+ implements FastInstanceCommand+{+ public async up(queryRunner: QueryRunner): Promise<void> {+ await queryRunner.query(+ `CREATE TYPE "core"."objectMetadata_openrecordin_enum" AS ENUM('SIDE_PANEL', 'RECORD_PAGE', 'USER_CHOICE')`,+ );+ await queryRunner.query(+ `ALTER TABLE "core"."objectMetadata" ADD "openRecordIn" "core"."objectMetadata_openrecordin_enum" NOT NULL DEFAULT 'USER_CHOICE'`,+ );+ }++ public async down(queryRunner: QueryRunner): Promise<void> {+ await queryRunner.query(+ 'ALTER TABLE "core"."objectMetadata" DROP COLUMN "openRecordIn"',+ );+ await queryRunner.query(+ 'DROP TYPE "core"."objectMetadata_openrecordin_enum"',+ );+ }+}diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-27/2-27-upgrade-version-command.module.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-27/2-27-upgrade-version-command.module.tsindex 4d27da4cd08..ebcfbb25509 100644--- a/packages/twenty-server/src/database/commands/upgrade-version-command/2-27/2-27-upgrade-version-command.module.ts+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-27/2-27-upgrade-version-command.module.ts@@ -1,18 +1,26 @@import { Module } from '@nestjs/common';import { WorkspaceIteratorModule } from 'src/database/commands/command-runners/workspace-iterator.module';+import { AddWorkspaceMemberOpenRecordInCommand } from 'src/database/commands/upgrade-version-command/2-27/2-27-workspace-command-1785505000000-add-workspace-member-open-record-in.command';+import { SeedObjectOpenRecordInCommand } from 'src/database/commands/upgrade-version-command/2-27/2-27-workspace-command-1785505100000-seed-object-open-record-in.command';import { BackfillMissingStandardSkillsCommand } from 'src/database/commands/upgrade-version-command/2-27/2-27-workspace-command-1785499350000-backfill-standard-skills.command';import { ApplicationModule } from 'src/engine/core-modules/application/application.module';import { WorkspaceCacheModule } from 'src/engine/workspace-cache/workspace-cache.module';+import { WorkspaceMigrationRunnerModule } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/workspace-migration-runner.module';import { WorkspaceMigrationModule } from 'src/engine/workspace-manager/workspace-migration/workspace-migration.module';@Module({imports: [ApplicationModule,WorkspaceCacheModule,- WorkspaceIteratorModule,WorkspaceMigrationModule,+ WorkspaceMigrationRunnerModule,+ WorkspaceIteratorModule,+ ],+ providers: [+ AddWorkspaceMemberOpenRecordInCommand,+ SeedObjectOpenRecordInCommand,+ BackfillMissingStandardSkillsCommand,],- providers: [BackfillMissingStandardSkillsCommand],})export class V2_27_UpgradeVersionCommandModule {}diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-27/2-27-workspace-command-1785505000000-add-workspace-member-open-record-in.command.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-27/2-27-workspace-command-1785505000000-add-workspace-member-open-record-in.command.tsnew file mode 100644index 00000000000..8e72fd2e76e--- /dev/null+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-27/2-27-workspace-command-1785505000000-add-workspace-member-open-record-in.command.ts@@ -0,0 +1,145 @@+import { Command } from 'nest-commander';++import { STANDARD_OBJECTS } from 'twenty-shared/metadata';+import { isDefined } from 'twenty-shared/utils';++import { ProvisionedWorkspaceCommandRunner } from 'src/database/commands/command-runners/provisioned-workspace.command-runner';+import { WorkspaceIteratorService } from 'src/database/commands/command-runners/workspace-iterator.service';+import { type RunOnWorkspaceArgs } from 'src/database/commands/command-runners/workspace.command-runner';+import { getStandardFlatEntitiesToCreateOrThrow } from 'src/database/commands/upgrade-version-command/2-10/utils/get-standard-flat-entities-to-create-or-throw.util';+import { ApplicationService } from 'src/engine/core-modules/application/application.service';+import { RegisteredWorkspaceCommand } from 'src/engine/core-modules/upgrade/decorators/registered-workspace-command.decorator';+import { type FlatFieldMetadata } from 'src/engine/metadata-modules/flat-field-metadata/types/flat-field-metadata.type';+import { WorkspaceCacheService } from 'src/engine/workspace-cache/services/workspace-cache.service';+import { computeTwentyStandardApplicationAllFlatEntityMaps } from 'src/engine/workspace-manager/twenty-standard-application/utils/twenty-standard-application-all-flat-entity-maps.constant';+import { WorkspaceMigrationValidateBuildAndRunService } from 'src/engine/workspace-manager/workspace-migration/services/workspace-migration-validate-build-and-run-service';++const WORKSPACE_MEMBER_OPEN_RECORD_IN_FIELD_UNIVERSAL_IDENTIFIERS = [+ STANDARD_OBJECTS.workspaceMember.fields.openRecordIn.universalIdentifier,+];++@RegisteredWorkspaceCommand('2.27.0', 1785505000000)+@Command({+ name: 'upgrade:2-27:add-workspace-member-open-record-in',+ description:+ 'Create the workspace member openRecordIn preference field in existing workspaces',+})+export class AddWorkspaceMemberOpenRecordInCommand extends ProvisionedWorkspaceCommandRunner {+ constructor(+ protected readonly workspaceIteratorService: WorkspaceIteratorService,+ private readonly applicationService: ApplicationService,+ private readonly workspaceCacheService: WorkspaceCacheService,+ private readonly workspaceMigrationValidateBuildAndRunService: WorkspaceMigrationValidateBuildAndRunService,+ ) {+ super(workspaceIteratorService);+ }++ override async runOnWorkspace({+ workspaceId,+ options,+ }: RunOnWorkspaceArgs): Promise<void> {+ const isDryRun = options.dryRun ?? false;++ const { flatObjectMetadataMaps, flatFieldMetadataMaps } =+ await this.workspaceCacheService.getOrRecompute(workspaceId, [+ 'flatObjectMetadataMaps',+ 'flatFieldMetadataMaps',+ ]);++ const existingWorkspaceMemberObjectMetadata =+ flatObjectMetadataMaps.byUniversalIdentifier[+ STANDARD_OBJECTS.workspaceMember.universalIdentifier+ ];++ if (!isDefined(existingWorkspaceMemberObjectMetadata)) {+ this.logger.log(+ `workspaceMember object metadata does not exist for workspace ${workspaceId}, skipping`,+ );++ return;+ }++ // Cheap idempotency check before building the whole standard application.+ if (+ WORKSPACE_MEMBER_OPEN_RECORD_IN_FIELD_UNIVERSAL_IDENTIFIERS.every(+ (universalIdentifier) =>+ isDefined(+ flatFieldMetadataMaps.byUniversalIdentifier[universalIdentifier],+ ),+ )+ ) {+ this.logger.log(+ `workspaceMember openRecordIn already exists for workspace ${workspaceId}, skipping`,+ );++ return;+ }++ const { twentyStandardFlatApplication } =+ await this.applicationService.findWorkspaceTwentyStandardAndCustomApplicationOrThrow(+ { workspaceId },+ );++ const { allFlatEntityMaps: standardAllFlatEntityMaps } =+ computeTwentyStandardApplicationAllFlatEntityMaps({+ now: new Date().toISOString(),+ workspaceId,+ twentyStandardApplicationId: twentyStandardFlatApplication.id,+ });++ const fieldsToCreate =+ getStandardFlatEntitiesToCreateOrThrow<FlatFieldMetadata>({+ standardFlatEntityMaps: standardAllFlatEntityMaps.flatFieldMetadataMaps,+ existingFlatEntityMaps: flatFieldMetadataMaps,+ universalIdentifiers:+ WORKSPACE_MEMBER_OPEN_RECORD_IN_FIELD_UNIVERSAL_IDENTIFIERS,+ });++ if (fieldsToCreate.length === 0) {+ this.logger.log(+ `workspaceMember openRecordIn already exists for workspace ${workspaceId}, skipping`,+ );++ return;+ }++ this.logger.log(+ `${isDryRun ? '[DRY RUN] ' : ''}Creating the workspaceMember openRecordIn field for workspace ${workspaceId}`,+ );++ if (isDryRun) {+ return;+ }++ const result =+ await this.workspaceMigrationValidateBuildAndRunService.validateBuildAndRunLegacyWorkspaceMigration(+ {+ isSystemBuild: true,+ applicationUniversalIdentifier:+ twentyStandardFlatApplication.universalIdentifier,+ workspaceId,+ allFlatEntityOperationByMetadataName: {+ fieldMetadata: {+ flatEntityToCreate: fieldsToCreate,+ flatEntityToDelete: [],+ flatEntityToUpdate: [],+ },+ },+ },+ );++ if (result.status === 'fail') {+ this.logger.error(+ `Failed to create the workspaceMember openRecordIn field:\n${JSON.stringify(result, null, 2)}`,+ );++ throw new Error(+ `Failed to create the workspaceMember openRecordIn field for workspace ${workspaceId}`,+ );+ }++ this.logger.log(+ `Created the workspaceMember openRecordIn field for workspace ${workspaceId}`,+ );+ }+}diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-27/2-27-workspace-command-1785505100000-seed-object-open-record-in.command.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-27/2-27-workspace-command-1785505100000-seed-object-open-record-in.command.tsnew file mode 100644index 00000000000..91d9d7792a8--- /dev/null+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-27/2-27-workspace-command-1785505100000-seed-object-open-record-in.command.ts@@ -0,0 +1,195 @@+import { Command } from 'nest-commander';++import {+ ObjectOpenRecordIn,+ ViewKey,+ ViewOpenRecordIn,+} from 'twenty-shared/types';+import { isDefined } from 'twenty-shared/utils';++import { ProvisionedWorkspaceCommandRunner } from 'src/database/commands/command-runners/provisioned-workspace.command-runner';+import { WorkspaceIteratorService } from 'src/database/commands/command-runners/workspace-iterator.service';+import { type RunOnWorkspaceArgs } from 'src/database/commands/command-runners/workspace.command-runner';+import { ApplicationService } from 'src/engine/core-modules/application/application.service';+import { RegisteredWorkspaceCommand } from 'src/engine/core-modules/upgrade/decorators/registered-workspace-command.decorator';+import { WorkspaceCacheService } from 'src/engine/workspace-cache/services/workspace-cache.service';+import { computeTwentyStandardApplicationAllFlatEntityMaps } from 'src/engine/workspace-manager/twenty-standard-application/utils/twenty-standard-application-all-flat-entity-maps.constant';+import { WorkspaceMigrationValidateBuildAndRunService } from 'src/engine/workspace-manager/workspace-migration/services/workspace-migration-validate-build-and-run-service';++@RegisteredWorkspaceCommand('2.27.0', 1785505100000)+@Command({+ name: 'upgrade:2-27:seed-object-open-record-in',+ description:+ 'Seed objectMetadata.openRecordIn from the standard definitions and from deliberate per-view record page choices',+})+export class SeedObjectOpenRecordInCommand extends ProvisionedWorkspaceCommandRunner {+ // Workspace-invariant, so the standard application is only built once per run.+ private standardOpenRecordInByUniversalIdentifier?: Record<+ string,+ ObjectOpenRecordIn+ >;++ constructor(+ protected readonly workspaceIteratorService: WorkspaceIteratorService,+ private readonly applicationService: ApplicationService,+ private readonly workspaceCacheService: WorkspaceCacheService,+ private readonly workspaceMigrationValidateBuildAndRunService: WorkspaceMigrationValidateBuildAndRunService,+ ) {+ super(workspaceIteratorService);+ }++ private async getStandardOpenRecordInByUniversalIdentifier(+ workspaceId: string,+ ): Promise<Record<string, ObjectOpenRecordIn>> {+ if (isDefined(this.standardOpenRecordInByUniversalIdentifier)) {+ return this.standardOpenRecordInByUniversalIdentifier;+ }++ const { twentyStandardFlatApplication } =+ await this.applicationService.findWorkspaceTwentyStandardAndCustomApplicationOrThrow(+ { workspaceId },+ );++ const { allFlatEntityMaps: standardAllFlatEntityMaps } =+ computeTwentyStandardApplicationAllFlatEntityMaps({+ now: new Date().toISOString(),+ workspaceId,+ twentyStandardApplicationId: twentyStandardFlatApplication.id,+ });++ this.standardOpenRecordInByUniversalIdentifier = Object.fromEntries(+ Object.values(+ standardAllFlatEntityMaps.flatObjectMetadataMaps.byUniversalIdentifier,+ )+ .filter(isDefined)+ .filter(+ (standardObjectMetadata) =>+ standardObjectMetadata.openRecordIn !==+ ObjectOpenRecordIn.USER_CHOICE,+ )+ .map((standardObjectMetadata) => [+ standardObjectMetadata.universalIdentifier,+ standardObjectMetadata.openRecordIn,+ ]),+ );++ return this.standardOpenRecordInByUniversalIdentifier;+ }++ override async runOnWorkspace({+ workspaceId,+ options,+ }: RunOnWorkspaceArgs): Promise<void> {+ const isDryRun = options.dryRun ?? false;++ const { flatObjectMetadataMaps, flatViewMaps } =+ await this.workspaceCacheService.getOrRecompute(workspaceId, [+ 'flatObjectMetadataMaps',+ 'flatViewMaps',+ ]);++ const targetOpenRecordInByUniversalIdentifier: Record<+ string,+ ObjectOpenRecordIn+ > = {+ ...(await this.getStandardOpenRecordInByUniversalIdentifier(workspaceId)),+ };++ // A deliberate per-view record page choice is lifted to the object, unless+ // the standard definitions already pin that object.+ for (const flatView of Object.values(flatViewMaps.byUniversalIdentifier)) {+ if (+ isDefined(flatView) &&+ flatView.key === ViewKey.INDEX &&+ flatView.openRecordIn === ViewOpenRecordIn.RECORD_PAGE &&+ !isDefined(+ targetOpenRecordInByUniversalIdentifier[+ flatView.objectMetadataUniversalIdentifier+ ],+ )+ ) {+ targetOpenRecordInByUniversalIdentifier[+ flatView.objectMetadataUniversalIdentifier+ ] = ObjectOpenRecordIn.RECORD_PAGE;+ }+ }++ const now = new Date().toISOString();++ const objectMetadatasToUpdate = Object.values(+ flatObjectMetadataMaps.byUniversalIdentifier,+ )+ .filter(isDefined)+ .flatMap((flatObjectMetadata) => {+ const targetOpenRecordIn =+ targetOpenRecordInByUniversalIdentifier[+ flatObjectMetadata.universalIdentifier+ ];++ if (+ !isDefined(targetOpenRecordIn) ||+ flatObjectMetadata.openRecordIn === targetOpenRecordIn+ ) {+ return [];+ }++ return [+ {+ ...flatObjectMetadata,+ openRecordIn: targetOpenRecordIn,+ updatedAt: now,+ },+ ];+ });++ if (objectMetadatasToUpdate.length === 0) {+ this.logger.log(+ `Object openRecordIn already seeded for workspace ${workspaceId}`,+ );++ return;+ }++ this.logger.log(+ `${isDryRun ? '[DRY RUN] ' : ''}Workspace ${workspaceId}: seeding openRecordIn on ${objectMetadatasToUpdate.length} object(s)`,+ );++ if (isDryRun) {+ return;+ }++ const { twentyStandardFlatApplication } =+ await this.applicationService.findWorkspaceTwentyStandardAndCustomApplicationOrThrow(+ { workspaceId },+ );++ const result =+ await this.workspaceMigrationValidateBuildAndRunService.validateBuildAndRunLegacyWorkspaceMigration(+ {+ isSystemBuild: true,+ applicationUniversalIdentifier:+ twentyStandardFlatApplication.universalIdentifier,+ workspaceId,+ allFlatEntityOperationByMetadataName: {+ objectMetadata: {+ flatEntityToCreate: [],+ flatEntityToDelete: [],+ flatEntityToUpdate: objectMetadatasToUpdate,+ },+ },+ },+ );++ if (result.status === 'fail') {+ this.logger.error(+ `Failed to seed object openRecordIn:\n${JSON.stringify(result, null, 2)}`,+ );++ throw new Error(+ `Failed to seed object openRecordIn for workspace ${workspaceId}`,+ );+ }++ this.logger.log(`Seeded object openRecordIn for workspace ${workspaceId}`);+ }+}diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-27/add-object-metadata-open-record-in-upgrade-command-name.constant.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-27/add-object-metadata-open-record-in-upgrade-command-name.constant.tsnew file mode 100644index 00000000000..b8c43726601--- /dev/null+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-27/add-object-metadata-open-record-in-upgrade-command-name.constant.ts@@ -0,0 +1,2 @@+export const ADD_OBJECT_METADATA_OPEN_RECORD_IN_UPGRADE_COMMAND_NAME =+ '2.27.0_AddOpenRecordInToObjectMetadataFastInstanceCommand_1785504900000';diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.tsindex 9f8ddf8ac54..a22b72794b1 100644--- a/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.ts+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.ts@@ -131,6 +131,7 @@ import { AddPageLayoutCascadeDeleteIndexesFastInstanceCommand } from './2-25/2-2import { AddChannelWebhookSubscriptionExternalIdIndexesFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-25/2-25-instance-command-fast-1785173910915-add-channel-webhook-subscription-external-id-indexes';import { AddIsHiddenToAgentMessageFastInstanceCommand } from './2-25/2-25-instance-command-fast-1785230296000-add-is-hidden-to-agent-message';import { AddConnectedAccountHandleProviderIndexFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-26/2-26-instance-command-fast-1785420705255-add-connected-account-handle-provider-index';+import { AddOpenRecordInToObjectMetadataFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-27/2-27-instance-command-fast-1785504900000-add-open-record-in-to-object-metadata';export const INSTANCE_COMMANDS = [AddViewFieldGroupIdIndexOnViewFieldFastInstanceCommand,@@ -264,4 +265,5 @@ export const INSTANCE_COMMANDS = [AddChannelWebhookSubscriptionExternalIdIndexesFastInstanceCommand,AddIsHiddenToAgentMessageFastInstanceCommand,AddConnectedAccountHandleProviderIndexFastInstanceCommand,+ AddOpenRecordInToObjectMetadataFastInstanceCommand,];diff --git a/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/__mocks__/mockPersonObjectMetadata.ts b/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/__mocks__/mockPersonObjectMetadata.tsindex 6cb66905e00..ac835697499 100644--- a/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/__mocks__/mockPersonObjectMetadata.ts+++ b/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/__mocks__/mockPersonObjectMetadata.ts@@ -1,4 +1,4 @@-import { FieldMetadataType } from 'twenty-shared/types';+import { FieldMetadataType, ObjectOpenRecordIn } from 'twenty-shared/types';import { type WorkspaceEntityDuplicateCriteria } from 'src/engine/api/graphql/workspace-query-builder/types/workspace-entity-duplicate-criteria.type';import { type FlatEntityMaps } from 'src/engine/metadata-modules/flat-entity/types/flat-entity-maps.type';@@ -166,6 +166,7 @@ export const mockPersonFlatObjectMetadata = (overrides: null,isUIEditable: true,isUICreatable: true,+ openRecordIn: ObjectOpenRecordIn.USER_CHOICE,applicationUniversalIdentifier: 'test-application-id',fieldUniversalIdentifiers: mockFieldMetadatas.map((field) => field.universalIdentifier,diff --git a/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/from-object-manifest-to-universal-flat-object-metadata.util.ts b/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/from-object-manifest-to-universal-flat-object-metadata.util.tsindex e559028e59a..cd31b6bc639 100644--- a/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/from-object-manifest-to-universal-flat-object-metadata.util.ts+++ b/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/from-object-manifest-to-universal-flat-object-metadata.util.ts@@ -1,4 +1,5 @@import { type ObjectManifest } from 'twenty-shared/application';+import { ObjectOpenRecordIn } from 'twenty-shared/types';import { type UniversalFlatObjectMetadata } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/universal-flat-object-metadata.type';@@ -19,6 +20,7 @@ export const fromObjectManifestToUniversalFlatObjectMetadata = ({labelSingular: objectManifest.labelSingular,labelPlural: objectManifest.labelPlural,color: null,+ openRecordIn: objectManifest.openRecordIn ?? ObjectOpenRecordIn.USER_CHOICE,description: objectManifest.description ?? null,icon: objectManifest.icon ?? null,overrides: null,diff --git a/packages/twenty-server/src/engine/core-modules/event-emitter/utils/__tests__/object-record-changed-values.spec.ts b/packages/twenty-server/src/engine/core-modules/event-emitter/utils/__tests__/object-record-changed-values.spec.tsindex 8dba45efafa..7c89d5ae588 100644--- a/packages/twenty-server/src/engine/core-modules/event-emitter/utils/__tests__/object-record-changed-values.spec.ts+++ b/packages/twenty-server/src/engine/core-modules/event-emitter/utils/__tests__/object-record-changed-values.spec.ts@@ -1,4 +1,8 @@-import { FieldMetadataType, RelationType } from 'twenty-shared/types';+import {+ FieldMetadataType,+ ObjectOpenRecordIn,+ RelationType,+} from 'twenty-shared/types';import {computeUpdatedFieldsFromDiff,@@ -39,6 +43,7 @@ const mockObjectMetadata: FlatObjectMetadata = {overrides: null,isUIEditable: true,isUICreatable: true,+ openRecordIn: ObjectOpenRecordIn.USER_CHOICE,labelIdentifierFieldMetadataId: null,imageIdentifierFieldMetadataId: null,duplicateCriteria: null,diff --git a/packages/twenty-server/src/engine/core-modules/user-workspace/user-workspace.service.spec.ts b/packages/twenty-server/src/engine/core-modules/user-workspace/user-workspace.service.spec.tsindex a0c64bcd007..2767c9a9605 100644--- a/packages/twenty-server/src/engine/core-modules/user-workspace/user-workspace.service.spec.ts+++ b/packages/twenty-server/src/engine/core-modules/user-workspace/user-workspace.service.spec.ts@@ -1,3 +1,4 @@+import { OpenRecordIn } from 'twenty-shared/types';import { Test, type TestingModule } from '@nestjs/testing';import { getRepositoryToken } from '@nestjs/typeorm';@@ -302,6 +303,7 @@ describe('UserWorkspaceService', () => {lastName: user.lastName,},colorScheme: 'System',+ openRecordIn: OpenRecordIn.SIDE_PANEL,userId: user.id,userEmail: user.email,locale: 'en',diff --git a/packages/twenty-server/src/engine/core-modules/user-workspace/user-workspace.service.ts b/packages/twenty-server/src/engine/core-modules/user-workspace/user-workspace.service.tsindex a72be19a72b..f0af5b8e793 100644--- a/packages/twenty-server/src/engine/core-modules/user-workspace/user-workspace.service.ts+++ b/packages/twenty-server/src/engine/core-modules/user-workspace/user-workspace.service.ts@@ -2,7 +2,7 @@ import { Logger } from '@nestjs/common';import { InjectRepository } from '@nestjs/typeorm';import { type APP_LOCALES, SOURCE_LOCALE } from 'twenty-shared/translations';-import { FileFolder } from 'twenty-shared/types';+import { FileFolder, OpenRecordIn } from 'twenty-shared/types';import { assertIsDefinedOrThrow, isDefined } from 'twenty-shared/utils';import { IsNull, Not, type QueryRunner, type Repository } from 'typeorm';@@ -188,6 +188,7 @@ export class UserWorkspaceService {lastName: user.lastName,},colorScheme: 'System',+ openRecordIn: OpenRecordIn.SIDE_PANEL,userId: user.id,userEmail: user.email,avatarUrl: userWorkspace.defaultAvatarUrl ?? 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 6745b36fb6e..4866761a4b2 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@@ -1,4 +1,6 @@-import { Field, Int, ObjectType } from '@nestjs/graphql';+import { Field, Int, ObjectType, registerEnumType } from '@nestjs/graphql';++import { OpenRecordIn } from 'twenty-shared/types';import { Max, Min } from 'class-validator';import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';@@ -9,6 +11,8 @@ import {WorkspaceMemberTimeFormatEnum,} from 'src/modules/workspace-member/standard-objects/workspace-member.workspace-entity';+registerEnumType(OpenRecordIn, { name: 'OpenRecordIn' });+@ObjectType('FullName')export class FullNameDTO {@Field({ nullable: false })@@ -32,6 +36,9 @@ export class WorkspaceMemberDTO {@Field({ nullable: false })colorScheme: string;+ @Field(() => OpenRecordIn, { nullable: false })+ openRecordIn: OpenRecordIn;+@Field({ nullable: true })avatarUrl: string;diff --git a/packages/twenty-server/src/engine/core-modules/user/services/workspace-member-transpiler.service.ts b/packages/twenty-server/src/engine/core-modules/user/services/workspace-member-transpiler.service.tsindex a441e8e0db1..4bf3820f0c5 100644--- a/packages/twenty-server/src/engine/core-modules/user/services/workspace-member-transpiler.service.ts+++ b/packages/twenty-server/src/engine/core-modules/user/services/workspace-member-transpiler.service.ts@@ -16,7 +16,7 @@ import {type WorkspaceMemberTimeFormatEnum,type WorkspaceMemberWorkspaceEntity,} from 'src/modules/workspace-member/standard-objects/workspace-member.workspace-entity';-import { FileFolder } from 'twenty-shared/types';+import { FileFolder, type OpenRecordIn } from 'twenty-shared/types';export type ToWorkspaceMemberDtoArgs = {workspaceMemberEntity: WorkspaceMemberWorkspaceEntity;@@ -69,6 +69,7 @@ export class WorkspaceMemberTranspiler {name,userEmail,colorScheme,+ openRecordIn,locale,timeFormat,timeZone,@@ -98,6 +99,7 @@ export class WorkspaceMemberTranspiler {avatarUrl,userWorkspaceId: userWorkspace.id,colorScheme,+ openRecordIn: openRecordIn as OpenRecordIn,dateFormat: dateFormat as WorkspaceMemberDateFormatEnum,locale,timeFormat: timeFormat as WorkspaceMemberTimeFormatEnum,diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/all-universal-flat-entity-properties-to-compare-and-stringify.constant.spec.ts.snap b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/all-universal-flat-entity-properties-to-compare-and-stringify.constant.spec.ts.snapindex e5997fd1eb4..ff31f1ce920 100644--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/all-universal-flat-entity-properties-to-compare-and-stringify.constant.spec.ts.snap+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/all-universal-flat-entity-properties-to-compare-and-stringify.constant.spec.ts.snap@@ -166,6 +166,7 @@ exports[`ALL_UNIVERSAL_FLAT_ENTITY_PROPERTIES_TO_COMPARE_AND_STRINGIFY should ma},"objectMetadata": {"propertiesToCompare": [+ "openRecordIn","color","description","icon",diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/overridable-and-translatable-properties.constant.spec.ts.snap b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/overridable-and-translatable-properties.constant.spec.ts.snapindex 2945bb03d26..a9d0b5832d6 100644--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/overridable-and-translatable-properties.constant.spec.ts.snap+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/overridable-and-translatable-properties.constant.spec.ts.snap@@ -28,6 +28,7 @@ exports[`registry-derived override property maps derives the overridable propert"logicFunction": [],"navigationMenuItem": [],"objectMetadata": [+ "openRecordIn","color","description","icon",diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant.ts b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant.tsindex 3605088521f..1ced675da8b 100644--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant.ts+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant.ts@@ -170,6 +170,12 @@ export const ALL_ENTITY_PROPERTIES_CONFIGURATION_BY_METADATA_NAME = {toStringify: false,universalProperty: undefined,},+ openRecordIn: {+ toCompare: true,+ toStringify: false,+ universalProperty: undefined,+ isOverridable: true,+ },color: {toCompare: true,toStringify: false,diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/types/__tests__/flat-entity-update.type-test.ts b/packages/twenty-server/src/engine/metadata-modules/flat-entity/types/__tests__/flat-entity-update.type-test.tsindex 7050b204732..d60b1d57508 100644--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/types/__tests__/flat-entity-update.type-test.ts+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/types/__tests__/flat-entity-update.type-test.ts@@ -41,6 +41,7 @@ type Assertions = [keyof FlatEntityUpdate<'objectMetadata'>,| 'icon'| 'color'+ | 'openRecordIn'| 'description'| 'isActive'| 'overrides'diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/__mocks__/get-flat-object-metadata.mock.ts b/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/__mocks__/get-flat-object-metadata.mock.tsindex 55cc7058172..69f02e014ad 100644--- a/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/__mocks__/get-flat-object-metadata.mock.ts+++ b/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/__mocks__/get-flat-object-metadata.mock.ts@@ -1,3 +1,4 @@+import { ObjectOpenRecordIn } from 'twenty-shared/types';import { faker } from '@faker-js/faker';import { TWENTY_STANDARD_APPLICATION_UNIVERSAL_IDENTIFIER } from 'twenty-shared/application';@@ -37,6 +38,7 @@ export const getFlatObjectMetadataMock = (isSystem: false,isUIEditable: true,isUICreatable: true,+ openRecordIn: ObjectOpenRecordIn.USER_CHOICE,labelIdentifierFieldMetadataId,labelPlural: 'default flat object metadata label plural',labelSingular: 'default flat object metadata label singular',diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/constants/flat-object-metadata-editable-properties.constant.ts b/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/constants/flat-object-metadata-editable-properties.constant.tsindex e0e2024ed3a..c876f87a198 100644--- a/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/constants/flat-object-metadata-editable-properties.constant.ts+++ b/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/constants/flat-object-metadata-editable-properties.constant.ts@@ -3,6 +3,7 @@ import { type MetadataEntityPropertyName } from 'src/engine/metadata-modules/flaexport const FLAT_OBJECT_METADATA_EDITABLE_PROPERTIES = {custom: ['color',+ 'openRecordIn','description','icon','isActive',@@ -17,6 +18,7 @@ export const FLAT_OBJECT_METADATA_EDITABLE_PROPERTIES = {],standard: ['color',+ 'openRecordIn','description','icon','isActive',diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/utils/from-create-object-input-to-flat-object-metadata-and-flat-field-metadatas-to-create.util.ts b/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/utils/from-create-object-input-to-flat-object-metadata-and-flat-field-metadatas-to-create.util.tsindex 77507d717ca..68f19420cc5 100644--- a/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/utils/from-create-object-input-to-flat-object-metadata-and-flat-field-metadatas-to-create.util.ts+++ b/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/utils/from-create-object-input-to-flat-object-metadata-and-flat-field-metadatas-to-create.util.ts@@ -1,4 +1,5 @@import { getFieldUniversalIdentifier } from 'twenty-shared/application';+import { ObjectOpenRecordIn } from 'twenty-shared/types';import {capitalize,isDefined,@@ -60,6 +61,7 @@ export const fromCreateObjectInputToFlatObjectMetadataAndFlatFieldMetadatasToCreupdatedAt: createdAt,duplicateCriteria: null,color: createObjectInput.color ?? null,+ openRecordIn: ObjectOpenRecordIn.USER_CHOICE,description: createObjectInput.description ?? null,icon: createObjectInput.icon ?? null,isActive: true,diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/utils/from-flat-object-metadata-to-object-metadata-dto.util.ts b/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/utils/from-flat-object-metadata-to-object-metadata-dto.util.tsindex 1730e47d990..0cee38f1a49 100644--- a/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/utils/from-flat-object-metadata-to-object-metadata-dto.util.ts+++ b/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/utils/from-flat-object-metadata-to-object-metadata-dto.util.ts@@ -19,6 +19,7 @@ export const fromFlatObjectMetadataToObjectMetadataDto = (isLabelSyncedWithName,isRemote,isSearchable,+ openRecordIn,isSystem,isUIEditable,isUICreatable,@@ -39,6 +40,7 @@ export const fromFlatObjectMetadataToObjectMetadataDto = (isLabelSyncedWithName,isRemote,isSearchable,+ openRecordIn,isSystem,isUIEditable,isUICreatable,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 361697706eb..67b0e089a2e 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@@ -1,4 +1,11 @@-import { Field, HideField, ObjectType } from '@nestjs/graphql';+import {+ Field,+ HideField,+ ObjectType,+ registerEnumType,+} from '@nestjs/graphql';++import { ObjectOpenRecordIn } from 'twenty-shared/types';import {Authorize,@@ -14,6 +21,8 @@ import { FieldMetadataDTO } from 'src/engine/metadata-modules/field-metadata/dtoimport { IndexMetadataDTO } from 'src/engine/metadata-modules/index-metadata/dtos/index-metadata.dto';import { type ObjectMetadataOverrides } from 'src/engine/metadata-modules/object-metadata/types/object-metadata-overrides.type';+registerEnumType(ObjectOpenRecordIn, { name: 'ObjectOpenRecordIn' });+@ObjectType('Object')@Authorize({// oxlint-disable-next-line typescript/no-explicit-any@@ -87,6 +96,9 @@ export class ObjectMetadataDTO {@FilterableField()isSearchable: boolean;+ @Field(() => ObjectOpenRecordIn)+ openRecordIn: ObjectOpenRecordIn;+@HideField()workspaceId: string;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 8b964c5a576..c55a54f06b0 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@@ -1,8 +1,10 @@import { Field, InputType } from '@nestjs/graphql';import { Type } from 'class-transformer';+import { ObjectOpenRecordIn } from 'twenty-shared/types';import {IsBoolean,+ IsEnum,IsNotEmpty,IsOptional,IsString,@@ -81,6 +83,11 @@ export class UpdateObjectPayload {@IsOptional()@Field({ nullable: true })isSearchable?: boolean;++ @IsEnum(ObjectOpenRecordIn)+ @IsOptional()+ @Field(() => ObjectOpenRecordIn, { nullable: true })+ openRecordIn?: ObjectOpenRecordIn;}@InputType()diff --git a/packages/twenty-server/src/engine/metadata-modules/object-metadata/object-metadata.entity.ts b/packages/twenty-server/src/engine/metadata-modules/object-metadata/object-metadata.entity.tsindex cd794e17e68..00a346755f4 100644--- a/packages/twenty-server/src/engine/metadata-modules/object-metadata/object-metadata.entity.ts+++ b/packages/twenty-server/src/engine/metadata-modules/object-metadata/object-metadata.entity.ts@@ -9,7 +9,10 @@ import {UpdateDateColumn,} from 'typeorm';+import { ObjectOpenRecordIn } from 'twenty-shared/types';+import { ADD_METADATA_OVERRIDES_COLUMN_UPGRADE_COMMAND_NAME } from 'src/database/commands/upgrade-version-command/2-19/add-metadata-overrides-column-upgrade-command-name.constant';+import { ADD_OBJECT_METADATA_OPEN_RECORD_IN_UPGRADE_COMMAND_NAME } from 'src/database/commands/upgrade-version-command/2-27/add-object-metadata-open-record-in-upgrade-command-name.constant';import { DROP_METADATA_STANDARD_OVERRIDES_COLUMN_UPGRADE_COMMAND_NAME } from 'src/database/commands/upgrade-version-command/2-20/drop-metadata-standard-overrides-column-upgrade-command-name.constant';import { type WorkspaceEntityDuplicateCriteria } from 'src/engine/api/graphql/workspace-query-builder/types/workspace-entity-duplicate-criteria.type';import { WasIntroducedInUpgrade } from 'src/engine/core-modules/upgrade/decorators/was-introduced-in-upgrade.decorator';@@ -66,6 +69,16 @@ export class ObjectMetadataEntity@Column({ nullable: true, type: 'text' })color: string | null;+ @WasIntroducedInUpgrade({+ upgradeCommandName: ADD_OBJECT_METADATA_OPEN_RECORD_IN_UPGRADE_COMMAND_NAME,+ })+ @Column({+ type: 'enum',+ enum: Object.values(ObjectOpenRecordIn),+ default: ObjectOpenRecordIn.USER_CHOICE,+ })+ openRecordIn: ObjectOpenRecordIn;+@WasIntroducedInUpgrade({upgradeCommandName: ADD_METADATA_OVERRIDES_COLUMN_UPGRADE_COMMAND_NAME,})diff --git a/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/from-object-metadata-entity-to-object-metadata-dto.util.ts b/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/from-object-metadata-entity-to-object-metadata-dto.util.tsindex 6c3d54b43c3..b54f70278e4 100644--- a/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/from-object-metadata-entity-to-object-metadata-dto.util.ts+++ b/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/from-object-metadata-entity-to-object-metadata-dto.util.ts@@ -23,6 +23,7 @@ export const fromObjectMetadataEntityToObjectMetadataDto = (isUICreatable: entity.isUICreatable,isUIReadOnly: !entity.isUIEditable,isSearchable: entity.isSearchable,+ openRecordIn: entity.openRecordIn,isLabelSyncedWithName: entity.isLabelSyncedWithName,workspaceId: entity.workspaceId,labelIdentifierFieldMetadataId:diff --git a/packages/twenty-server/src/engine/metadata-modules/view/constants/view-open-record-in-deprecation.constant.ts b/packages/twenty-server/src/engine/metadata-modules/view/constants/view-open-record-in-deprecation.constant.tsnew file mode 100644index 00000000000..638d019f9cf--- /dev/null+++ b/packages/twenty-server/src/engine/metadata-modules/view/constants/view-open-record-in-deprecation.constant.ts@@ -0,0 +1,2 @@+export const VIEW_OPEN_RECORD_IN_DEPRECATION =+ 'Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend.';diff --git a/packages/twenty-server/src/engine/metadata-modules/view/dtos/inputs/create-view.input.ts b/packages/twenty-server/src/engine/metadata-modules/view/dtos/inputs/create-view.input.tsindex 2d71fa488ab..09e92438a56 100644--- a/packages/twenty-server/src/engine/metadata-modules/view/dtos/inputs/create-view.input.ts+++ b/packages/twenty-server/src/engine/metadata-modules/view/dtos/inputs/create-view.input.ts@@ -25,6 +25,7 @@ import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/import { IsValidMetadataName } from 'src/engine/decorators/metadata/is-valid-metadata-name.decorator';import { KANBAN_COLUMN_MAX_WIDTH } from 'src/engine/metadata-modules/view/constants/kanban-column-max-width.constant';import { KANBAN_COLUMN_MIN_WIDTH } from 'src/engine/metadata-modules/view/constants/kanban-column-min-width.constant';+import { VIEW_OPEN_RECORD_IN_DEPRECATION } from 'src/engine/metadata-modules/view/constants/view-open-record-in-deprecation.constant';@InputType()export class CreateViewInput {@@ -82,6 +83,7 @@ export class CreateViewInput {@IsEnum(ViewOpenRecordIn)@Field(() => ViewOpenRecordIn, {nullable: true,+ description: `Deprecated: ${VIEW_OPEN_RECORD_IN_DEPRECATION}`,defaultValue: ViewOpenRecordIn.SIDE_PANEL,})openRecordIn?: ViewOpenRecordIn;diff --git a/packages/twenty-server/src/engine/metadata-modules/view/dtos/inputs/update-view.input.ts b/packages/twenty-server/src/engine/metadata-modules/view/dtos/inputs/update-view.input.tsindex f3b873ba504..cc738ae17a9 100644--- a/packages/twenty-server/src/engine/metadata-modules/view/dtos/inputs/update-view.input.ts+++ b/packages/twenty-server/src/engine/metadata-modules/view/dtos/inputs/update-view.input.ts@@ -23,6 +23,7 @@ import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/import { IsValidMetadataName } from 'src/engine/decorators/metadata/is-valid-metadata-name.decorator';import { KANBAN_COLUMN_MAX_WIDTH } from 'src/engine/metadata-modules/view/constants/kanban-column-max-width.constant';import { KANBAN_COLUMN_MIN_WIDTH } from 'src/engine/metadata-modules/view/constants/kanban-column-min-width.constant';+import { VIEW_OPEN_RECORD_IN_DEPRECATION } from 'src/engine/metadata-modules/view/constants/view-open-record-in-deprecation.constant';// TODO: this should be refactored like for view-field.input.ts// This is a temporary fix as we were extending the CreateViewInput class which was adding default values for the non filled fields@@ -62,6 +63,7 @@ export class UpdateViewInput {@IsEnum(ViewOpenRecordIn)@Field(() => ViewOpenRecordIn, {nullable: true,+ description: `Deprecated: ${VIEW_OPEN_RECORD_IN_DEPRECATION}`,})openRecordIn?: ViewOpenRecordIn;diff --git a/packages/twenty-server/src/engine/metadata-modules/view/dtos/inputs/upsert-view-widget-view-settings.input.ts b/packages/twenty-server/src/engine/metadata-modules/view/dtos/inputs/upsert-view-widget-view-settings.input.tsindex e0e310f2063..e82d2698da3 100644--- a/packages/twenty-server/src/engine/metadata-modules/view/dtos/inputs/upsert-view-widget-view-settings.input.ts+++ b/packages/twenty-server/src/engine/metadata-modules/view/dtos/inputs/upsert-view-widget-view-settings.input.ts@@ -19,6 +19,7 @@ import {import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { KANBAN_COLUMN_MAX_WIDTH } from 'src/engine/metadata-modules/view/constants/kanban-column-max-width.constant';import { KANBAN_COLUMN_MIN_WIDTH } from 'src/engine/metadata-modules/view/constants/kanban-column-min-width.constant';+import { VIEW_OPEN_RECORD_IN_DEPRECATION } from 'src/engine/metadata-modules/view/constants/view-open-record-in-deprecation.constant';@InputType()export class UpsertViewWidgetViewSettingsInput {@@ -43,7 +44,10 @@ export class UpsertViewWidgetViewSettingsInput {@IsOptional()@IsEnum(ViewOpenRecordIn)- @Field(() => ViewOpenRecordIn, { nullable: true })+ @Field(() => ViewOpenRecordIn, {+ nullable: true,+ description: `Deprecated: ${VIEW_OPEN_RECORD_IN_DEPRECATION}`,+ })openRecordIn?: ViewOpenRecordIn;@IsOptional()diff --git a/packages/twenty-server/src/engine/metadata-modules/view/dtos/view.dto.ts b/packages/twenty-server/src/engine/metadata-modules/view/dtos/view.dto.tsindex c493157b315..b3978e37147 100644--- a/packages/twenty-server/src/engine/metadata-modules/view/dtos/view.dto.ts+++ b/packages/twenty-server/src/engine/metadata-modules/view/dtos/view.dto.ts@@ -22,6 +22,7 @@ import { ViewFilterGroupDTO } from 'src/engine/metadata-modules/view-filter-grouimport { ViewFilterDTO } from 'src/engine/metadata-modules/view-filter/dtos/view-filter.dto';import { ViewGroupDTO } from 'src/engine/metadata-modules/view-group/dtos/view-group.dto';import { ViewSortDTO } from 'src/engine/metadata-modules/view-sort/dtos/view-sort.dto';+import { VIEW_OPEN_RECORD_IN_DEPRECATION } from 'src/engine/metadata-modules/view/constants/view-open-record-in-deprecation.constant';registerEnumType(ViewOpenRecordIn, { name: 'ViewOpenRecordIn' });registerEnumType(ViewType, { name: 'ViewType' });@@ -61,6 +62,7 @@ export class ViewDTO {@Field(() => ViewOpenRecordIn, {nullable: false,defaultValue: ViewOpenRecordIn.SIDE_PANEL,+ deprecationReason: VIEW_OPEN_RECORD_IN_DEPRECATION,})openRecordIn: ViewOpenRecordIn;diff --git a/packages/twenty-server/src/engine/metadata-modules/view/entities/view.entity.ts b/packages/twenty-server/src/engine/metadata-modules/view/entities/view.entity.tsindex fea98ac7382..e5857d74b53 100644--- a/packages/twenty-server/src/engine/metadata-modules/view/entities/view.entity.ts+++ b/packages/twenty-server/src/engine/metadata-modules/view/entities/view.entity.ts@@ -121,6 +121,7 @@ export class ViewEntity@Column({ nullable: false, default: false, type: 'boolean' })isCustom: boolean;+ // Deprecated: superseded by objectMetadata.openRecordIn and the member preference.@Column({type: 'enum',enum: Object.values(ViewOpenRecordIn),diff --git a/packages/twenty-server/src/engine/twenty-orm/entity-manager/workspace-entity-manager.spec.ts b/packages/twenty-server/src/engine/twenty-orm/entity-manager/workspace-entity-manager.spec.tsindex 0c66c3bb019..22ddc4c4714 100644--- a/packages/twenty-server/src/engine/twenty-orm/entity-manager/workspace-entity-manager.spec.ts+++ b/packages/twenty-server/src/engine/twenty-orm/entity-manager/workspace-entity-manager.spec.ts@@ -1,6 +1,7 @@import {type FieldMetadataType,type ObjectsPermissions,+ ObjectOpenRecordIn,} from 'twenty-shared/types';import { EntityManager } from 'typeorm';import { EntityPersistExecutor } from 'typeorm/persistence/EntityPersistExecutor';@@ -124,6 +125,7 @@ describe('WorkspaceEntityManager', () => {isLabelSyncedWithName: false,isUIEditable: true,isUICreatable: true,+ openRecordIn: ObjectOpenRecordIn.USER_CHOICE,duplicateCriteria: null,createdAt: new Date().toISOString(),updatedAt: new Date().toISOString(),diff --git a/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/get-column-name-to-field-metadata-id.util.spec.ts b/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/get-column-name-to-field-metadata-id.util.spec.tsindex 6345d0ee15a..6f6f2ebd2e6 100644--- a/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/get-column-name-to-field-metadata-id.util.spec.ts+++ b/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/get-column-name-to-field-metadata-id.util.spec.ts@@ -1,4 +1,4 @@-import { FieldMetadataType } from 'twenty-shared/types';+import { FieldMetadataType, ObjectOpenRecordIn } from 'twenty-shared/types';import { type FlatEntityMaps } from 'src/engine/metadata-modules/flat-entity/types/flat-entity-maps.type';import { type FlatFieldMetadata } from 'src/engine/metadata-modules/flat-field-metadata/types/flat-field-metadata.type';@@ -39,6 +39,7 @@ describe('getColumnNameToFieldMetadataIdMap', () => {overrides: null,isUIEditable: true,isUICreatable: true,+ openRecordIn: ObjectOpenRecordIn.USER_CHOICE,labelIdentifierFieldMetadataId: null,imageIdentifierFieldMetadataId: null,duplicateCriteria: null,diff --git a/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/get-field-metadata-id-to-column-names-map.util.spec.ts b/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/get-field-metadata-id-to-column-names-map.util.spec.tsindex a8fd41fe6cd..0b165eecb05 100644--- a/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/get-field-metadata-id-to-column-names-map.util.spec.ts+++ b/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/get-field-metadata-id-to-column-names-map.util.spec.ts@@ -1,4 +1,4 @@-import { FieldMetadataType } from 'twenty-shared/types';+import { FieldMetadataType, ObjectOpenRecordIn } from 'twenty-shared/types';import { type FlatEntityMaps } from 'src/engine/metadata-modules/flat-entity/types/flat-entity-maps.type';import { type FlatFieldMetadata } from 'src/engine/metadata-modules/flat-field-metadata/types/flat-field-metadata.type';@@ -39,6 +39,7 @@ describe('getFieldMetadataIdToColumnNamesMap', () => {overrides: null,isUIEditable: true,isUICreatable: true,+ openRecordIn: ObjectOpenRecordIn.USER_CHOICE,labelIdentifierFieldMetadataId: null,imageIdentifierFieldMetadataId: null,duplicateCriteria: null,diff --git a/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/is-record-matching-rls-row-level-permission-predicate.util.spec.ts b/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/is-record-matching-rls-row-level-permission-predicate.util.spec.tsindex 3eb59fc1d03..c9e00b1789a 100644--- a/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/is-record-matching-rls-row-level-permission-predicate.util.spec.ts+++ b/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/is-record-matching-rls-row-level-permission-predicate.util.spec.ts@@ -1,4 +1,8 @@-import { FieldMetadataType, type ObjectRecord } from 'twenty-shared/types';+import {+ FieldMetadataType,+ ObjectOpenRecordIn,+ type ObjectRecord,+} from 'twenty-shared/types';import { type FlatEntityMaps } from 'src/engine/metadata-modules/flat-entity/types/flat-entity-maps.type';import { type FlatFieldMetadata } from 'src/engine/metadata-modules/flat-field-metadata/types/flat-field-metadata.type';@@ -39,6 +43,7 @@ describe('isRecordMatchingRLSRowLevelPermissionPredicate', () => {overrides: null,isUIEditable: true,isUICreatable: true,+ openRecordIn: ObjectOpenRecordIn.USER_CHOICE,labelIdentifierFieldMetadataId: null,imageIdentifierFieldMetadataId: null,duplicateCriteria: null,diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-object-metadata-related-entity-ids.util.spec.ts.snap b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-object-metadata-related-entity-ids.util.spec.ts.snapindex 72c102bd798..c720eaf6ff0 100644--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-object-metadata-related-entity-ids.util.spec.ts.snap+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-object-metadata-related-entity-ids.util.spec.ts.snap@@ -2956,22 +2956,22 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"workspaceMember": {"fields": {"accountOwnerForCompanies": {- "id": "00000000-0000-0000-0000-000000000898",+ "id": "00000000-0000-0000-0000-000000000899",},"assignedTasks": {- "id": "00000000-0000-0000-0000-000000000896",+ "id": "00000000-0000-0000-0000-000000000897",},"avatarUrl": {- "id": "00000000-0000-0000-0000-000000000892",+ "id": "00000000-0000-0000-0000-000000000893",},"blocklist": {- "id": "00000000-0000-0000-0000-000000000900",+ "id": "00000000-0000-0000-0000-000000000901",},"calendarEventParticipants": {- "id": "00000000-0000-0000-0000-000000000901",+ "id": "00000000-0000-0000-0000-000000000902",},"calendarStartDay": {- "id": "00000000-0000-0000-0000-000000000906",+ "id": "00000000-0000-0000-0000-000000000907",},"colorScheme": {"id": "00000000-0000-0000-0000-000000000890",@@ -2983,7 +2983,7 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"id": "00000000-0000-0000-0000-000000000885",},"dateFormat": {- "id": "00000000-0000-0000-0000-000000000904",+ "id": "00000000-0000-0000-0000-000000000905",},"deletedAt": {"id": "00000000-0000-0000-0000-000000000884",@@ -2992,22 +2992,25 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"id": "00000000-0000-0000-0000-000000000881",},"jobTitle": {- "id": "00000000-0000-0000-0000-000000000894",+ "id": "00000000-0000-0000-0000-000000000895",},"locale": {- "id": "00000000-0000-0000-0000-000000000891",+ "id": "00000000-0000-0000-0000-000000000892",},"messageParticipants": {- "id": "00000000-0000-0000-0000-000000000899",+ "id": "00000000-0000-0000-0000-000000000900",},"name": {"id": "00000000-0000-0000-0000-000000000889",},"numberFormat": {- "id": "00000000-0000-0000-0000-000000000907",+ "id": "00000000-0000-0000-0000-000000000908",+ },+ "openRecordIn": {+ "id": "00000000-0000-0000-0000-000000000891",},"ownedOpportunities": {- "id": "00000000-0000-0000-0000-000000000897",+ "id": "00000000-0000-0000-0000-000000000898",},"position": {"id": "00000000-0000-0000-0000-000000000887",@@ -3016,13 +3019,13 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"id": "00000000-0000-0000-0000-000000000888",},"timeFormat": {- "id": "00000000-0000-0000-0000-000000000905",+ "id": "00000000-0000-0000-0000-000000000906",},"timeZone": {- "id": "00000000-0000-0000-0000-000000000903",+ "id": "00000000-0000-0000-0000-000000000904",},"timelineActivities": {- "id": "00000000-0000-0000-0000-000000000902",+ "id": "00000000-0000-0000-0000-000000000903",},"updatedAt": {"id": "00000000-0000-0000-0000-000000000883",@@ -3031,29 +3034,29 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object"id": "00000000-0000-0000-0000-000000000886",},"userEmail": {- "id": "00000000-0000-0000-0000-000000000893",+ "id": "00000000-0000-0000-0000-000000000894",},"userId": {- "id": "00000000-0000-0000-0000-000000000895",+ "id": "00000000-0000-0000-0000-000000000896",},},- "id": "00000000-0000-0000-0000-000000000913",+ "id": "00000000-0000-0000-0000-000000000914","views": {"allWorkspaceMembers": {- "id": "00000000-0000-0000-0000-000000000912",+ "id": "00000000-0000-0000-0000-000000000913","viewFieldGroups": {},"viewFields": {"assignedTasks": {- "id": "00000000-0000-0000-0000-000000000911",+ "id": "00000000-0000-0000-0000-000000000912",},"createdAt": {- "id": "00000000-0000-0000-0000-000000000909",+ "id": "00000000-0000-0000-0000-000000000910",},"name": {- "id": "00000000-0000-0000-0000-000000000908",+ "id": "00000000-0000-0000-0000-000000000909",},"ownedOpportunities": {- "id": "00000000-0000-0000-0000-000000000910",+ "id": "00000000-0000-0000-0000-000000000911",},},"viewGroups": {},diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workspace-member-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workspace-member-standard-flat-field-metadata.util.tsindex ddfa9cbf801..021c77f88d4 100644--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workspace-member-standard-flat-field-metadata.util.ts+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workspace-member-standard-flat-field-metadata.util.ts@@ -5,6 +5,7 @@ import {FieldMetadataType,NumberDataType,RelationType,+ OpenRecordIn,} from 'twenty-shared/types';import { type FlatFieldMetadata } from 'src/engine/metadata-modules/flat-field-metadata/types/flat-field-metadata.type';@@ -163,6 +164,27 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({twentyStandardApplicationId,now,}),+ openRecordIn: createStandardFieldFlatMetadata({+ objectName,+ workspaceId,+ context: {+ fieldName: 'openRecordIn',+ type: FieldMetadataType.TEXT,+ label: i18nLabel(msg`Open Records In`),+ description: i18nLabel(+ msg`Where records open for objects that follow the member's preference`,+ ),+ icon: 'IconLayoutSidebarRight',+ isSystem: true,+ isNullable: false,+ isUIEditable: false,+ defaultValue: `'${OpenRecordIn.SIDE_PANEL}'`,+ },+ standardObjectMetadataRelatedEntityIds,+ dependencyFlatEntityMaps,+ twentyStandardApplicationId,+ now,+ }),locale: createStandardFieldFlatMetadata({objectName,workspaceId,diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-flat-object-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-flat-object-metadata.util.tsindex 8fd51cfbfac..2638b5a7a57 100644--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-flat-object-metadata.util.ts+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-flat-object-metadata.util.ts@@ -1,5 +1,6 @@import { msg } from '@lingui/core/macro';import { STANDARD_OBJECTS } from 'twenty-shared/metadata';+import { ObjectOpenRecordIn } from 'twenty-shared/types';import { type FlatObjectMetadata } from 'src/engine/metadata-modules/flat-object-metadata/types/flat-object-metadata.type';import { type AllStandardObjectName } from 'src/engine/workspace-manager/twenty-standard-application/types/all-standard-object-name.type';@@ -144,6 +145,7 @@ export const STANDARD_FLAT_OBJECT_METADATA_BUILDERS_BY_OBJECT_NAME = {context: {universalIdentifier: STANDARD_OBJECTS.calendarEvent.universalIdentifier,nameSingular: 'calendarEvent',+ openRecordIn: ObjectOpenRecordIn.SIDE_PANEL,namePlural: 'calendarEvents',labelSingular: i18nLabel(msg`Calendar event`),labelPlural: i18nLabel(msg`Calendar events`),@@ -232,6 +234,7 @@ export const STANDARD_FLAT_OBJECT_METADATA_BUILDERS_BY_OBJECT_NAME = {context: {universalIdentifier: STANDARD_OBJECTS.dashboard.universalIdentifier,nameSingular: 'dashboard',+ openRecordIn: ObjectOpenRecordIn.RECORD_PAGE,namePlural: 'dashboards',labelSingular: i18nLabel(msg`Dashboard`),labelPlural: i18nLabel(msg`Dashboards`),@@ -263,6 +266,7 @@ export const STANDARD_FLAT_OBJECT_METADATA_BUILDERS_BY_OBJECT_NAME = {universalIdentifier:STANDARD_OBJECTS.messageCampaign.universalIdentifier,nameSingular: 'messageCampaign',+ openRecordIn: ObjectOpenRecordIn.RECORD_PAGE,namePlural: 'messageCampaigns',labelSingular: i18nLabel(msg`Campaign`),labelPlural: i18nLabel(msg`Campaigns`),@@ -713,6 +717,7 @@ export const STANDARD_FLAT_OBJECT_METADATA_BUILDERS_BY_OBJECT_NAME = {context: {universalIdentifier: STANDARD_OBJECTS.workflow.universalIdentifier,nameSingular: 'workflow',+ openRecordIn: ObjectOpenRecordIn.RECORD_PAGE,namePlural: 'workflows',labelSingular: i18nLabel(msg`Workflow`),labelPlural: i18nLabel(msg`Workflows`),@@ -803,6 +808,7 @@ export const STANDARD_FLAT_OBJECT_METADATA_BUILDERS_BY_OBJECT_NAME = {universalIdentifier:STANDARD_OBJECTS.workflowVersion.universalIdentifier,nameSingular: 'workflowVersion',+ openRecordIn: ObjectOpenRecordIn.RECORD_PAGE,namePlural: 'workflowVersions',labelSingular: i18nLabel(msg`Workflow Version`),labelPlural: i18nLabel(msg`Workflow Versions`),diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-object-flat-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-object-flat-metadata.util.tsindex eca93d5e14b..5df672c537d 100644--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-object-flat-metadata.util.ts+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-object-flat-metadata.util.ts@@ -1,4 +1,5 @@import { STANDARD_OBJECTS } from 'twenty-shared/metadata';+import { ObjectOpenRecordIn } from 'twenty-shared/types';import { TWENTY_STANDARD_APPLICATION_UNIVERSAL_IDENTIFIER } from 'twenty-shared/application';import { type FlatObjectMetadata } from 'src/engine/metadata-modules/flat-object-metadata/types/flat-object-metadata.type';@@ -19,6 +20,7 @@ export type CreateStandardObjectContext<O extends AllStandardObjectName> = {isAuditLogged?: boolean;isUIEditable?: boolean;isUICreatable?: boolean;+ openRecordIn?: ObjectOpenRecordIn;shortcut?: string | null;duplicateCriteria?: string[][] | null;labelIdentifierFieldMetadataName: AllStandardObjectFieldName<O>;@@ -48,6 +50,7 @@ export const createStandardObjectFlatMetadata = <isAuditLogged = true,isUIEditable = true,isUICreatable = true,+ openRecordIn = ObjectOpenRecordIn.USER_CHOICE,shortcut = null,duplicateCriteria = null,labelIdentifierFieldMetadataName,@@ -90,6 +93,7 @@ export const createStandardObjectFlatMetadata = <isAuditLogged,isUIEditable,isUICreatable,+ openRecordIn,isLabelSyncedWithName: false,overrides: null,duplicateCriteria,diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/__tests__/universal-flat-entity-update.test-type.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/__tests__/universal-flat-entity-update.test-type.tsindex 08a704ec5ec..4885c6095bb 100644--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/__tests__/universal-flat-entity-update.test-type.ts+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/__tests__/universal-flat-entity-update.test-type.ts@@ -28,6 +28,7 @@ type Assertions = [keyof UniversalFlatEntityUpdate<'objectMetadata'>,| 'icon'| 'color'+ | 'openRecordIn'| 'description'| 'isActive'| 'overrides'diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/__tests__/__snapshots__/delete-flat-entity-foreign-key-aggregators.util.spec.ts.snap b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/__tests__/__snapshots__/delete-flat-entity-foreign-key-aggregators.util.spec.ts.snapindex f5461584506..baa880d1690 100644--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/__tests__/__snapshots__/delete-flat-entity-foreign-key-aggregators.util.spec.ts.snap+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/__tests__/__snapshots__/delete-flat-entity-foreign-key-aggregators.util.spec.ts.snap@@ -68,6 +68,7 @@ exports[`deleteFlatEntityForeignKeyAggregators should strip raw workspace-scoped"namePlural": "defaultflatObjectMetadataNamePlural","nameSingular": "defaultflatObjectMetadataNameSingular","objectPermissionUniversalIdentifiers": [],+ "openRecordIn": "USER_CHOICE","overrides": null,"searchFieldMetadataUniversalIdentifiers": [],"shortcut": "shortcut",diff --git a/packages/twenty-server/src/modules/workspace-member/standard-objects/workspace-member.workspace-entity.ts b/packages/twenty-server/src/modules/workspace-member/standard-objects/workspace-member.workspace-entity.tsindex a53aab863a5..3453466bd17 100644--- a/packages/twenty-server/src/modules/workspace-member/standard-objects/workspace-member.workspace-entity.ts+++ b/packages/twenty-server/src/modules/workspace-member/standard-objects/workspace-member.workspace-entity.ts@@ -55,6 +55,7 @@ export class WorkspaceMemberWorkspaceEntity extends BaseWorkspaceEntity {position: number;name: FullNameMetadata;colorScheme: string;+ openRecordIn: string;locale: keyof typeof APP_LOCALES;avatarUrl: string | null;userEmail: string | null;diff --git a/packages/twenty-server/test/integration/metadata/suites/application/__snapshots__/successful-sync-application-workspace-migration.integration-spec.ts.snap b/packages/twenty-server/test/integration/metadata/suites/application/__snapshots__/successful-sync-application-workspace-migration.integration-spec.ts.snapindex 2059333b2b9..ca33b8f0603 100644--- a/packages/twenty-server/test/integration/metadata/suites/application/__snapshots__/successful-sync-application-workspace-migration.integration-spec.ts.snap+++ b/packages/twenty-server/test/integration/metadata/suites/application/__snapshots__/successful-sync-application-workspace-migration.integration-spec.ts.snap@@ -112,6 +112,7 @@ exports[`syncApplication should delete old field and create equivalent one when"labelSingular": "Ticket","namePlural": "tickets","nameSingular": "ticket",+ "openRecordIn": "USER_CHOICE","overrides": null,"shortcut": null,"targetTableName": "DEPRECATED",@@ -1103,6 +1104,7 @@ exports[`syncApplication should return workspace migration actions on initial sy"labelSingular": "Ticket","namePlural": "tickets","nameSingular": "ticket",+ "openRecordIn": "USER_CHOICE","overrides": null,"shortcut": null,"targetTableName": "DEPRECATED",diff --git a/packages/twenty-shared/src/application/objectManifestType.ts b/packages/twenty-shared/src/application/objectManifestType.tsindex dd05a831c61..a22d64e368d 100644--- a/packages/twenty-shared/src/application/objectManifestType.ts+++ b/packages/twenty-shared/src/application/objectManifestType.ts@@ -1,5 +1,6 @@import { type ObjectFieldManifest } from '@/application/objectFieldManifest.type';import { type SyncableEntityOptions } from '@/application/syncableEntityOptionsType';+import { type ObjectOpenRecordIn } from '@/types/ObjectOpenRecordIn';export type ObjectManifest = SyncableEntityOptions & {nameSingular: string;@@ -13,6 +14,7 @@ export type ObjectManifest = SyncableEntityOptions & {isUICreatable?: boolean;// When false, records of this object are not editable through the generic UIisUIEditable?: boolean;+ openRecordIn?: ObjectOpenRecordIn;fields: ObjectFieldManifest[];labelIdentifierFieldMetadataUniversalIdentifier: string;};diff --git a/packages/twenty-shared/src/metadata/__tests__/__snapshots__/standardObjectUniversalIdentifiers.test.ts.snap b/packages/twenty-shared/src/metadata/__tests__/__snapshots__/standardObjectUniversalIdentifiers.test.ts.snapindex 03165614efa..38b5cbca4b5 100644--- a/packages/twenty-shared/src/metadata/__tests__/__snapshots__/standardObjectUniversalIdentifiers.test.ts.snap+++ b/packages/twenty-shared/src/metadata/__tests__/__snapshots__/standardObjectUniversalIdentifiers.test.ts.snap@@ -3223,6 +3223,9 @@ exports[`STANDARD_OBJECTS universal identifiers should never change without an e"numberFormat": {"universalIdentifier": "20202020-7f40-4e7f-b126-11c0eda6b141",},+ "openRecordIn": {+ "universalIdentifier": "20202020-1b16-419d-9323-6f3ea850e5d9",+ },"ownedOpportunities": {"universalIdentifier": "20202020-9e4d-4b3a-8c1f-6d7e8f9a0b1c",},diff --git a/packages/twenty-shared/src/metadata/constants/standard-object-fields.constant.ts b/packages/twenty-shared/src/metadata/constants/standard-object-fields.constant.tsindex 8a58d4283d5..b40d07c9b6f 100644--- a/packages/twenty-shared/src/metadata/constants/standard-object-fields.constant.ts+++ b/packages/twenty-shared/src/metadata/constants/standard-object-fields.constant.ts@@ -1033,6 +1033,9 @@ export const STANDARD_OBJECT_FIELDS = {colorScheme: {universalIdentifier: '20202020-66bc-47f2-adac-f2ef7c598b63',},+ openRecordIn: {+ universalIdentifier: '20202020-1b16-419d-9323-6f3ea850e5d9',+ },locale: {universalIdentifier: '20202020-402e-4695-b169-794fa015afbe',},diff --git a/packages/twenty-shared/src/types/ObjectOpenRecordIn.ts b/packages/twenty-shared/src/types/ObjectOpenRecordIn.tsnew file mode 100644index 00000000000..8efc1670679--- /dev/null+++ b/packages/twenty-shared/src/types/ObjectOpenRecordIn.ts@@ -0,0 +1,5 @@+export enum ObjectOpenRecordIn {+ SIDE_PANEL = 'SIDE_PANEL',+ RECORD_PAGE = 'RECORD_PAGE',+ USER_CHOICE = 'USER_CHOICE',+}diff --git a/packages/twenty-shared/src/types/OpenRecordIn.ts b/packages/twenty-shared/src/types/OpenRecordIn.tsnew file mode 100644index 00000000000..b1db52f4105--- /dev/null+++ b/packages/twenty-shared/src/types/OpenRecordIn.ts@@ -0,0 +1,4 @@+export enum OpenRecordIn {+ SIDE_PANEL = 'SIDE_PANEL',+ RECORD_PAGE = 'RECORD_PAGE',+}diff --git a/packages/twenty-shared/src/types/index.ts b/packages/twenty-shared/src/types/index.tsindex 7ff1bd4a316..07564353b45 100644--- a/packages/twenty-shared/src/types/index.ts+++ b/packages/twenty-shared/src/types/index.ts@@ -163,6 +163,7 @@ export { NavigationMenuItemType } from './NavigationMenuItemType';export type { NonNullableRequired } from './NonNullableRequired';export type { Nullable } from './Nullable';export type { NullablePartial } from './NullablePartial';+export { ObjectOpenRecordIn } from './ObjectOpenRecordIn';export type { ObjectPermissions } from './ObjectPermissions';export type { ObjectRecord } from './ObjectRecord';export type {@@ -177,6 +178,7 @@ export { OrderByDirection } from './ObjectRecordGroupBy';export { ObjectRecordGroupByDateGranularity } from './ObjectRecordGroupByDateGranularity';export type { ObjectsPermissions } from './ObjectsPermissions';export type { ObjectsPermissionsByRoleId } from './ObjectsPermissionsByRoleId';+export { OpenRecordIn } from './OpenRecordIn';export type { OrderBy } from './OrderBy';export type {ChartRecordFilter,diff --git a/packages/twenty-ui/src/input/ColorSchemeCard/ColorSchemeCard.module.scss b/packages/twenty-ui/src/input/ColorSchemeCard/ColorSchemeCard.module.scssindex 0bbbb2992fc..dd07f90a2a7 100644--- a/packages/twenty-ui/src/input/ColorSchemeCard/ColorSchemeCard.module.scss+++ b/packages/twenty-ui/src/input/ColorSchemeCard/ColorSchemeCard.module.scss@@ -8,7 +8,7 @@align-items: flex-end;justify-content: flex-end;box-sizing: border-box;- width: 160px;+ width: 100%;height: 80px;padding-top: var(--t-spacing-6);padding-left: var(--t-spacing-6);@@ -47,7 +47,7 @@.mixedColorSchemeSegment {position: relative;display: flex;- width: 160px;+ width: 100%;height: 80px;border-radius: var(--t-border-radius-md);overflow: hidden;diff --git a/packages/twenty-ui/src/input/ColorSchemeCard/ColorSchemeCard.tsx b/packages/twenty-ui/src/input/ColorSchemeCard/ColorSchemeCard.tsxindex d1cf18b1ecf..200da2f124d 100644--- a/packages/twenty-ui/src/input/ColorSchemeCard/ColorSchemeCard.tsx+++ b/packages/twenty-ui/src/input/ColorSchemeCard/ColorSchemeCard.tsx@@ -60,10 +60,11 @@ export const ColorSchemeCard = ({variant,selected,onClick,+ className,}: ColorSchemeCardProps) => {if (variant === 'System') {return (- <div className={styles.container}>+ <div className={clsx(styles.container, className)}><divclassName={styles.mixedColorSchemeSegment}role={isDefined(onClick) ? 'button' : undefined}@@ -92,7 +93,7 @@ export const ColorSchemeCard = ({}return (- <div className={styles.container}>+ <div className={clsx(styles.container, className)}><ColorSchemeSegment variant={variant} onClick={onClick} /><divclassName={styles.checkmarkContainer}diff --git a/packages/twenty-ui/src/input/ColorSchemePicker/ColorSchemePicker.module.scss b/packages/twenty-ui/src/input/ColorSchemePicker/ColorSchemePicker.module.scssindex 10059973c39..f9e76a9d5fc 100644--- a/packages/twenty-ui/src/input/ColorSchemePicker/ColorSchemePicker.module.scss+++ b/packages/twenty-ui/src/input/ColorSchemePicker/ColorSchemePicker.module.scss@@ -1,6 +1,7 @@.container {display: flex;flex-direction: row;+ width: 100%;> * + * {margin-left: var(--t-spacing-4);@@ -8,12 +9,22 @@@include respond-to(mobile) {overflow: scroll;++ .cardContainer {+ flex: 0 0 160px;+ }}}.cardContainer {display: flex;+ flex: 1 1 0;flex-direction: column;+ min-width: 0;+}++.card {+ width: 100%;}.label {diff --git a/packages/twenty-ui/src/input/ColorSchemePicker/ColorSchemePicker.module.scss.d.ts b/packages/twenty-ui/src/input/ColorSchemePicker/ColorSchemePicker.module.scss.d.tsindex 847f3005c5e..793abb61483 100644--- a/packages/twenty-ui/src/input/ColorSchemePicker/ColorSchemePicker.module.scss.d.ts+++ b/packages/twenty-ui/src/input/ColorSchemePicker/ColorSchemePicker.module.scss.d.ts@@ -1,6 +1,7 @@declare const classNames: {readonly container: 'container';readonly cardContainer: 'cardContainer';+ readonly card: 'card';readonly label: 'label';};export default classNames;diff --git a/packages/twenty-ui/src/input/ColorSchemePicker/ColorSchemePicker.tsx b/packages/twenty-ui/src/input/ColorSchemePicker/ColorSchemePicker.tsxindex 111e214c0e0..42fd48ffb98 100644--- a/packages/twenty-ui/src/input/ColorSchemePicker/ColorSchemePicker.tsx+++ b/packages/twenty-ui/src/input/ColorSchemePicker/ColorSchemePicker.tsx@@ -26,6 +26,7 @@ export const ColorSchemePicker = ({<div className={clsx(styles.container, className)}><div className={styles.cardContainer}><ColorSchemeCard+ className={styles.card}onClick={() => onChange('Light')}variant="Light"selected={value === 'Light'}@@ -34,6 +35,7 @@ export const ColorSchemePicker = ({</div><div className={styles.cardContainer}><ColorSchemeCard+ className={styles.card}onClick={() => onChange('Dark')}variant="Dark"selected={value === 'Dark'}@@ -42,6 +44,7 @@ export const ColorSchemePicker = ({</div><div className={styles.cardContainer}><ColorSchemeCard+ className={styles.card}onClick={() => onChange('System')}variant="System"selected={value === 'System'}