The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Add lifecycle state column to application (#25163)
martmull673b1ee54db5
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql b/packages/twenty-client-sdk/src/metadata/generated/schema.graphqlindex 16603291a4f..62a0d14567e 100644--- a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql@@ -515,6 +515,7 @@ type Application {logoFileId: UUIDversion: StringuniversalIdentifier: String!+ state: ApplicationState!packageJsonChecksum: StringpackageJsonFileId: UUIDyarnLockChecksum: String@@ -536,6 +537,13 @@ type Application {logoUrl: String}+enum ApplicationState {+ INSTALLING+ INSTALLED+ UPGRADING+ UNINSTALLING+}+type TwoFactorAuthenticationMethodSummary {twoFactorAuthenticationMethodId: UUID!status: String!diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.ts b/packages/twenty-client-sdk/src/metadata/generated/schema.tsindex d77e5351460..c68239882ee 100644--- a/packages/twenty-client-sdk/src/metadata/generated/schema.ts+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.ts@@ -343,6 +343,7 @@ export interface Application {logoFileId?: Scalars['UUID']version?: Scalars['String']universalIdentifier: Scalars['String']+ state: ApplicationStatepackageJsonChecksum?: Scalars['String']packageJsonFileId?: Scalars['UUID']yarnLockChecksum?: Scalars['String']@@ -365,6 +366,8 @@ export interface Application {__typename: 'Application'}+export type ApplicationState = 'INSTALLING' | 'INSTALLED' | 'UPGRADING' | 'UNINSTALLING'+export interface TwoFactorAuthenticationMethodSummary {twoFactorAuthenticationMethodId: Scalars['UUID']status: Scalars['String']@@ -3742,6 +3745,7 @@ export interface ApplicationGenqlSelection{logoFileId?: boolean | numberversion?: boolean | numberuniversalIdentifier?: boolean | number+ state?: boolean | numberpackageJsonChecksum?: boolean | numberpackageJsonFileId?: boolean | numberyarnLockChecksum?: boolean | number@@ -9774,6 +9778,13 @@ export const enumRowLevelPermissionPredicateOperand = {VECTOR_SEARCH: 'VECTOR_SEARCH' as const}+export const enumApplicationState = {+ INSTALLING: 'INSTALLING' as const,+ INSTALLED: 'INSTALLED' as const,+ UPGRADING: 'UPGRADING' as const,+ UNINSTALLING: 'UNINSTALLING' as const+}+export const enumPermissionFlagType = {API_KEYS_AND_WEBHOOKS: 'API_KEYS_AND_WEBHOOKS' as const,WORKSPACE: 'WORKSPACE' as const,diff --git a/packages/twenty-client-sdk/src/metadata/generated/types.ts b/packages/twenty-client-sdk/src/metadata/generated/types.tsindex 61755549b83..7d52e363f75 100644--- a/packages/twenty-client-sdk/src/metadata/generated/types.ts+++ b/packages/twenty-client-sdk/src/metadata/generated/types.ts@@ -19,82 +19,83 @@ export default {37,40,42,- 50,- 52,- 54,- 56,- 59,- 62,+ 48,+ 51,+ 53,+ 55,+ 57,+ 60,63,64,65,66,- 68,+ 67,69,- 71,+ 70,72,- 75,+ 73,76,77,- 83,- 86,- 91,+ 78,+ 84,+ 87,92,- 95,+ 93,96,- 98,- 101,+ 97,+ 99,102,- 112,- 127,- 133,+ 103,+ 113,+ 128,134,135,- 137,- 146,- 148,- 156,- 159,- 161,- 177,- 181,- 188,+ 136,+ 138,+ 147,+ 149,+ 157,+ 160,+ 162,+ 178,+ 182,189,- 196,- 199,- 202,- 214,- 231,+ 190,+ 197,+ 200,+ 203,+ 215,232,- 234,- 239,- 242,- 251,- 287,- 295,- 297,+ 233,+ 235,+ 240,+ 243,+ 252,+ 288,+ 296,298,299,300,301,302,303,- 311,+ 304,312,- 315,- 352,- 359,- 361,+ 313,+ 316,+ 353,+ 360,362,363,364,- 366,- 368,- 373,- 387,- 400,- 514,- 538+ 365,+ 367,+ 369,+ 374,+ 388,+ 401,+ 515,+ 539],"types": {"BillingProductDTO": {@@ -108,13 +109,13 @@ export default {1],"metadata": [- 132+ 133],"on_BillingLicensedProduct": [- 141+ 142],"on_BillingMeteredProduct": [- 142+ 143],"__typename": [1@@ -561,7 +562,7 @@ export default {1],"fields": [- 246,+ 247,{"paging": [25,@@ -574,7 +575,7 @@ export default {}],"indexMetadatas": [- 247,+ 248,{"paging": [25,@@ -587,13 +588,13 @@ export default {}],"fieldsList": [- 233+ 234],"indexMetadataList": [- 241+ 242],"searchFieldMetadataList": [- 249+ 250],"__typename": [1@@ -1027,6 +1028,9 @@ export default {"universalIdentifier": [1],+ "state": [+ 48+ ],"packageJsonChecksum": [1],@@ -1088,6 +1092,7 @@ export default {1]},+ "ApplicationState": {},"TwoFactorAuthenticationMethodSummary": {"twoFactorAuthenticationMethodId": [3@@ -1107,7 +1112,7 @@ export default {3],"user": [- 70+ 71],"userId": [3@@ -1125,7 +1130,7 @@ export default {4],"permissionFlags": [- 50+ 51],"objectPermissions": [43@@ -1134,7 +1139,7 @@ export default {43],"twoFactorAuthenticationMethodSummary": [- 48+ 49],"isImpersonating": [8@@ -1170,7 +1175,7 @@ export default {15],"aggregateOperation": [- 52+ 53],"viewId": [3@@ -1209,7 +1214,7 @@ export default {3],"logicalOperator": [- 54+ 55],"positionInViewFilterGroup": [15@@ -1242,7 +1247,7 @@ export default {3],"operand": [- 56+ 57],"value": [9@@ -1319,7 +1324,7 @@ export default {3],"direction": [- 59+ 60],"subFieldName": [1@@ -1376,7 +1381,7 @@ export default {4],"viewFields": [- 51+ 52],"isOverridden": [8@@ -1405,10 +1410,10 @@ export default {3],"type": [- 62+ 63],"key": [- 63+ 64],"icon": [1@@ -1423,10 +1428,10 @@ export default {8],"openRecordIn": [- 64+ 65],"kanbanAggregateOperation": [- 52+ 53],"kanbanAggregateOperationFieldMetadataId": [3@@ -1453,7 +1458,7 @@ export default {1],"calendarLayout": [- 65+ 66],"createdAt": [4@@ -1465,25 +1470,25 @@ export default {4],"viewFields": [- 51+ 52],"viewFilters": [- 55+ 56],"viewFilterGroups": [- 53+ 54],"viewSorts": [- 58+ 59],"viewGroups": [- 57+ 58],"viewFieldGroups": [- 60+ 61],"visibility": [- 66+ 67],"createdByUserWorkspaceId": [3@@ -1532,7 +1537,7 @@ export default {8],"workspaceDiscoverability": [- 68+ 69],"trashRetentionDays": [15@@ -1544,25 +1549,25 @@ export default {15],"activationStatus": [- 69+ 70],"views": [- 61+ 62],"viewFields": [- 51+ 52],"viewFilters": [- 55+ 56],"viewFilterGroups": [- 53+ 54],"viewGroups": [- 57+ 58],"viewSorts": [- 58+ 59],"metadataVersion": [15@@ -1631,22 +1636,22 @@ export default {47],"featureFlags": [- 180+ 181],"billingSubscriptions": [- 145+ 146],"installedApplications": [47],"currentBillingSubscription": [- 145+ 146],"billingCustomer": [- 144+ 145],"billingEntitlements": [- 250+ 251],"hasValidSignedEnterpriseKey": [8@@ -1655,7 +1660,7 @@ export default {8],"workspaceUrls": [- 182+ 183],"workspaceCustomApplicationId": [1@@ -1707,28 +1712,28 @@ export default {33],"userWorkspaces": [- 49+ 50],"onboardingStatus": [- 71+ 72],"previousOnboardingStatus": [- 71+ 72],"currentWorkspace": [- 67+ 68],"currentUserWorkspace": [- 49+ 50],"userVars": [- 72+ 73],"workspaceMembers": [33],"deletedWorkspaceMembers": [- 224+ 225],"hasPassword": [8@@ -1740,10 +1745,10 @@ export default {8],"workspaces": [- 49+ 50],"availableWorkspaces": [- 223+ 224],"__typename": [1@@ -1815,10 +1820,10 @@ export default {3],"resourceType": [- 75+ 76],"operationType": [- 76+ 77],"spenderType": [1@@ -1836,10 +1841,10 @@ export default {1],"limitValue": [- 77+ 78],"burstValue": [- 77+ 78],"createdAt": [4@@ -1924,19 +1929,19 @@ export default {1],"type": [- 83+ 84],"objectMetadataId": [3],"gridPosition": [- 81+ 82],"position": [- 84+ 85],"configuration": [- 89+ 90],"conditionalDisplay": [9@@ -1966,13 +1971,13 @@ export default {"WidgetType": {},"PageLayoutWidgetPosition": {"on_PageLayoutWidgetGridPosition": [- 85+ 86],"on_PageLayoutWidgetVerticalListPosition": [- 87+ 88],"on_PageLayoutWidgetCanvasPosition": [- 88+ 89],"__typename": [1@@ -1980,7 +1985,7 @@ export default {},"PageLayoutWidgetGridPosition": {"layoutMode": [- 86+ 87],"row": [26@@ -2001,7 +2006,7 @@ export default {"PageLayoutTabLayoutMode": {},"PageLayoutWidgetVerticalListPosition": {"layoutMode": [- 86+ 87],"index": [26@@ -2012,7 +2017,7 @@ export default {},"PageLayoutWidgetCanvasPosition": {"layoutMode": [- 86+ 87],"__typename": [1@@ -2020,85 +2025,85 @@ export default {},"WidgetConfiguration": {"on_AggregateChartConfiguration": [- 90+ 91],"on_StandaloneRichTextConfiguration": [- 93+ 94],"on_PieChartConfiguration": [- 94+ 95],"on_LineChartConfiguration": [- 97+ 98],"on_IframeConfiguration": [- 99+ 100],"on_BarChartConfiguration": [- 100+ 101],"on_CalendarConfiguration": [- 103+ 104],"on_FrontComponentConfiguration": [- 104+ 105],"on_EmailsConfiguration": [- 105+ 106],"on_EmailThreadConfiguration": [- 106+ 107],"on_CallRecordingSummaryConfiguration": [- 107+ 108],"on_CallRecordingTranscriptConfiguration": [- 108+ 109],"on_MessageCampaignBodyConfiguration": [- 109+ 110],"on_MessageCampaignDetailsConfiguration": [- 110+ 111],"on_FieldConfiguration": [- 111+ 112],"on_FieldRichTextConfiguration": [- 113+ 114],"on_FieldsConfiguration": [- 114+ 115],"on_FormFieldConfiguration": [- 115+ 116],"on_FilesConfiguration": [- 116+ 117],"on_NotesConfiguration": [- 117+ 118],"on_TasksConfiguration": [- 118+ 119],"on_TimelineConfiguration": [- 119+ 120],"on_ViewConfiguration": [- 120+ 121],"on_RecordTableConfiguration": [- 121+ 122],"on_WorkflowConfiguration": [- 122+ 123],"on_WorkflowRunConfiguration": [- 123+ 124],"on_WorkflowVersionConfiguration": [- 124+ 125],"__typename": [1@@ -2106,13 +2111,13 @@ export default {},"AggregateChartConfiguration": {"configurationType": [- 91+ 92],"aggregateFieldMetadataId": [3],"aggregateOperation": [- 52+ 53],"label": [1@@ -2121,7 +2126,7 @@ export default {8],"numberFormat": [- 92+ 93],"description": [1@@ -2142,7 +2147,7 @@ export default {1],"ratioAggregateConfig": [- 79+ 80],"__typename": [1@@ -2152,10 +2157,10 @@ export default {"ChartNumberFormat": {},"StandaloneRichTextConfiguration": {"configurationType": [- 91+ 92],"body": [- 80+ 81],"__typename": [1@@ -2163,13 +2168,13 @@ export default {},"PieChartConfiguration": {"configurationType": [- 91+ 92],"aggregateFieldMetadataId": [3],"aggregateOperation": [- 52+ 53],"groupByFieldMetadataId": [3@@ -2178,10 +2183,10 @@ export default {1],"dateGranularity": [- 95+ 96],"orderBy": [- 96+ 97],"manualSortOrder": [1@@ -2199,7 +2204,7 @@ export default {8],"numberFormat": [- 92+ 93],"splitMultiValueFields": [8@@ -2227,13 +2232,13 @@ export default {"GraphOrderBy": {},"LineChartConfiguration": {"configurationType": [- 91+ 92],"aggregateFieldMetadataId": [3],"aggregateOperation": [- 52+ 53],"primaryAxisGroupByFieldMetadataId": [3@@ -2242,10 +2247,10 @@ export default {1],"primaryAxisDateGranularity": [- 95+ 96],"primaryAxisOrderBy": [- 96+ 97],"primaryAxisManualSortOrder": [1@@ -2257,10 +2262,10 @@ export default {1],"secondaryAxisGroupByDateGranularity": [- 95+ 96],"secondaryAxisOrderBy": [- 96+ 97],"secondaryAxisManualSortOrder": [1@@ -2272,7 +2277,7 @@ export default {8],"axisNameDisplay": [- 98+ 99],"displayDataLabel": [8@@ -2281,7 +2286,7 @@ export default {8],"numberFormat": [- 92+ 93],"rangeMin": [15@@ -2317,7 +2322,7 @@ export default {"AxisNameDisplay": {},"IframeConfiguration": {"configurationType": [- 91+ 92],"url": [1@@ -2328,13 +2333,13 @@ export default {},"BarChartConfiguration": {"configurationType": [- 91+ 92],"aggregateFieldMetadataId": [3],"aggregateOperation": [- 52+ 53],"primaryAxisGroupByFieldMetadataId": [3@@ -2343,10 +2348,10 @@ export default {1],"primaryAxisDateGranularity": [- 95+ 96],"primaryAxisOrderBy": [- 96+ 97],"primaryAxisManualSortOrder": [1@@ -2358,10 +2363,10 @@ export default {1],"secondaryAxisGroupByDateGranularity": [- 95+ 96],"secondaryAxisOrderBy": [- 96+ 97],"secondaryAxisManualSortOrder": [1@@ -2373,7 +2378,7 @@ export default {8],"axisNameDisplay": [- 98+ 99],"displayDataLabel": [8@@ -2382,7 +2387,7 @@ export default {8],"numberFormat": [- 92+ 93],"rangeMin": [15@@ -2400,10 +2405,10 @@ export default {9],"groupMode": [- 101+ 102],"layout": [- 102+ 103],"isCumulative": [8@@ -2422,7 +2427,7 @@ export default {"BarChartLayout": {},"CalendarConfiguration": {"configurationType": [- 91+ 92],"__typename": [1@@ -2430,7 +2435,7 @@ export default {},"FrontComponentConfiguration": {"configurationType": [- 91+ 92],"frontComponentId": [3@@ -2444,7 +2449,7 @@ export default {},"EmailsConfiguration": {"configurationType": [- 91+ 92],"__typename": [1@@ -2452,7 +2457,7 @@ export default {},"EmailThreadConfiguration": {"configurationType": [- 91+ 92],"__typename": [1@@ -2460,7 +2465,7 @@ export default {},"CallRecordingSummaryConfiguration": {"configurationType": [- 91+ 92],"__typename": [1@@ -2468,7 +2473,7 @@ export default {},"CallRecordingTranscriptConfiguration": {"configurationType": [- 91+ 92],"__typename": [1@@ -2476,7 +2481,7 @@ export default {},"MessageCampaignBodyConfiguration": {"configurationType": [- 91+ 92],"__typename": [1@@ -2484,7 +2489,7 @@ export default {},"MessageCampaignDetailsConfiguration": {"configurationType": [- 91+ 92],"__typename": [1@@ -2492,13 +2497,13 @@ export default {},"FieldConfiguration": {"configurationType": [- 91+ 92],"fieldMetadataId": [1],"fieldDisplayMode": [- 112+ 113],"viewId": [1@@ -2516,7 +2521,7 @@ export default {"FieldDisplayMode": {},"FieldRichTextConfiguration": {"configurationType": [- 91+ 92],"__typename": [1@@ -2524,7 +2529,7 @@ export default {},"FieldsConfiguration": {"configurationType": [- 91+ 92],"viewId": [1@@ -2541,7 +2546,7 @@ export default {},"FormFieldConfiguration": {"configurationType": [- 91+ 92],"fieldMetadataId": [1@@ -2552,7 +2557,7 @@ export default {},"FilesConfiguration": {"configurationType": [- 91+ 92],"__typename": [1@@ -2560,7 +2565,7 @@ export default {},"NotesConfiguration": {"configurationType": [- 91+ 92],"__typename": [1@@ -2568,7 +2573,7 @@ export default {},"TasksConfiguration": {"configurationType": [- 91+ 92],"__typename": [1@@ -2576,7 +2581,7 @@ export default {},"TimelineConfiguration": {"configurationType": [- 91+ 92],"__typename": [1@@ -2584,7 +2589,7 @@ export default {},"ViewConfiguration": {"configurationType": [- 91+ 92],"__typename": [1@@ -2592,7 +2597,7 @@ export default {},"RecordTableConfiguration": {"configurationType": [- 91+ 92],"viewId": [1@@ -2609,7 +2614,7 @@ export default {},"WorkflowConfiguration": {"configurationType": [- 91+ 92],"__typename": [1@@ -2617,7 +2622,7 @@ export default {},"WorkflowRunConfiguration": {"configurationType": [- 91+ 92],"__typename": [1@@ -2625,7 +2630,7 @@ export default {},"WorkflowVersionConfiguration": {"configurationType": [- 91+ 92],"__typename": [1@@ -2654,13 +2659,13 @@ export default {3],"widgets": [- 82+ 83],"icon": [1],"layoutMode": [- 86+ 87],"createdAt": [4@@ -2689,13 +2694,13 @@ export default {1],"type": [- 127+ 128],"objectMetadataId": [3],"tabs": [- 125+ 126],"defaultTabToFocusOnMobileAndSidePanelId": [3@@ -2754,7 +2759,7 @@ export default {1],"oauth": [- 128+ 129],"__typename": [1@@ -2779,7 +2784,7 @@ export default {15],"items": [- 130+ 131],"__typename": [1@@ -2787,13 +2792,13 @@ export default {},"BillingProductMetadata": {"planKey": [- 133+ 134],"priceUsageBased": [- 134+ 135],"productKey": [- 135+ 136],"__typename": [1@@ -2804,7 +2809,7 @@ export default {"BillingProductKey": {},"BillingPriceLicensed": {"recurringInterval": [- 137+ 138],"unitAmount": [15@@ -2813,7 +2818,7 @@ export default {1],"priceUsageType": [- 134+ 135],"creditAmount": [15@@ -2839,16 +2844,16 @@ export default {},"BillingPriceMetered": {"tiers": [- 138+ 139],"recurringInterval": [- 137+ 138],"stripePriceId": [1],"priceUsageType": [- 134+ 135],"__typename": [1@@ -2865,7 +2870,7 @@ export default {1],"metadata": [- 132+ 133],"__typename": [1@@ -2882,10 +2887,10 @@ export default {1],"metadata": [- 132+ 133],"prices": [- 136+ 137],"__typename": [1@@ -2902,10 +2907,10 @@ export default {1],"metadata": [- 132+ 133],"prices": [- 139+ 140],"__typename": [1@@ -2947,13 +2952,13 @@ export default {3],"status": [- 146+ 147],"interval": [- 137+ 138],"billingSubscriptionItems": [- 143+ 144],"currentPeriodEnd": [4@@ -2962,7 +2967,7 @@ export default {9],"phases": [- 131+ 132],"cancelAt": [4@@ -2983,7 +2988,7 @@ export default {15],"status": [- 148+ 149],"error": [9@@ -3118,7 +3123,7 @@ export default {3],"type": [- 156+ 157],"name": [1@@ -3151,7 +3156,7 @@ export default {4],"targetRecordIdentifier": [- 154+ 155],"__typename": [1@@ -3177,7 +3182,7 @@ export default {},"MetadataEvent": {"type": [- 159+ 160],"metadataName": [1@@ -3186,7 +3191,7 @@ export default {1],"properties": [- 157+ 158],"updatedCollectionHash": [1@@ -3198,7 +3203,7 @@ export default {"MetadataEventAction": {},"ObjectRecordEvent": {"action": [- 161+ 162],"objectNameSingular": [1@@ -3213,7 +3218,7 @@ export default {1],"properties": [- 157+ 158],"__typename": [1@@ -3225,7 +3230,7 @@ export default {1],"objectRecordEvent": [- 160+ 161],"__typename": [1@@ -3236,10 +3241,10 @@ export default {1],"objectRecordEventsWithQueryIds": [- 162+ 163],"metadataEvents": [- 158+ 159],"__typename": [1@@ -3282,7 +3287,7 @@ export default {},"BillingEndTrialPeriod": {"status": [- 146+ 147],"hasPaymentMethod": [8@@ -3291,10 +3296,10 @@ export default {1],"currentBillingSubscription": [- 145+ 146],"billingSubscriptions": [- 145+ 146],"__typename": [1@@ -3302,7 +3307,7 @@ export default {},"BillingResourceCreditUsage": {"productKey": [- 135+ 136],"periodStart": [4@@ -3331,16 +3336,16 @@ export default {},"BillingPlan": {"planKey": [- 133+ 134],"baseProducts": [- 141+ 142],"resourceCreditProducts": [- 141+ 142],"meteredProducts": [- 142+ 143],"__typename": [1@@ -3367,10 +3372,10 @@ export default {},"BillingUpdate": {"currentBillingSubscription": [- 145+ 146],"billingSubscriptions": [- 145+ 146],"__typename": [1@@ -3389,10 +3394,10 @@ export default {},"OnboardingStepNavigation": {"onboardingStatus": [- 71+ 72],"previousOnboardingStatus": [- 71+ 72],"__typename": [1@@ -3431,7 +3436,7 @@ export default {1],"result": [- 174+ 175],"__typename": [1@@ -3448,7 +3453,7 @@ export default {1],"connectionSecurity": [- 177+ 178],"__typename": [1@@ -3457,13 +3462,13 @@ export default {"EmailConnectionSecurity": {},"PublicImapSmtpCaldavConnectionParameters": {"IMAP": [- 176+ 177],"SMTP": [- 176+ 177],"CALDAV": [- 176+ 177],"__typename": [1@@ -3519,7 +3524,7 @@ export default {4],"connectionParameters": [- 178+ 179],"__typename": [1@@ -3527,7 +3532,7 @@ export default {},"FeatureFlag": {"key": [- 181+ 182],"value": [8@@ -3608,7 +3613,7 @@ export default {1],"versionDistribution": [- 184+ 185],"__typename": [1@@ -3633,10 +3638,10 @@ export default {1],"type": [- 188+ 189],"status": [- 189+ 190],"issuer": [1@@ -3649,7 +3654,7 @@ export default {"SSOIdentityProviderStatus": {},"AuthProviders": {"sso": [- 187+ 188],"google": [8@@ -3686,10 +3691,10 @@ export default {3],"authProviders": [- 190+ 191],"authBypassProviders": [- 191+ 192],"logo": [1@@ -3698,7 +3703,7 @@ export default {1],"workspaceUrls": [- 182+ 183],"__typename": [1@@ -3737,7 +3742,7 @@ export default {1],"modelFamily": [- 196+ 197],"modelFamilyLabel": [1@@ -3752,7 +3757,7 @@ export default {15],"nativeCapabilities": [- 194+ 195],"isDeprecated": [8@@ -3791,7 +3796,7 @@ export default {1],"trialPeriods": [- 186+ 187],"__typename": [1@@ -3799,7 +3804,7 @@ export default {},"Support": {"supportDriver": [- 199+ 200],"supportFrontChatId": [1@@ -3828,7 +3833,7 @@ export default {},"Captcha": {"provider": [- 202+ 203],"siteKey": [1@@ -3865,10 +3870,10 @@ export default {},"PublicFeatureFlag": {"key": [- 181+ 182],"metadata": [- 204+ 205],"__typename": [1@@ -3893,13 +3898,13 @@ export default {1],"authProviders": [- 190+ 191],"billing": [- 197+ 198],"aiModels": [- 195+ 196],"signInPrefilled": [8@@ -3923,25 +3928,25 @@ export default {8],"support": [- 198+ 199],"isAttachmentPreviewEnabled": [8],"sentry": [- 200+ 201],"captcha": [- 201+ 202],"api": [- 203+ 204],"canManageFeatureFlags": [8],"publicFeatureFlags": [- 205+ 206],"isCookieSessionEnabled": [8@@ -3995,7 +4000,7 @@ export default {1],"maintenance": [- 206+ 207],"__typename": [1@@ -4046,7 +4051,7 @@ export default {},"CreateApplicationRegistration": {"applicationRegistration": [- 73+ 74],"clientSecret": [1@@ -4085,7 +4090,7 @@ export default {},"AppConnection": {"id": [- 214+ 215],"providerName": [1@@ -4140,7 +4145,7 @@ export default {3],"type": [- 188+ 189],"issuer": [1@@ -4149,7 +4154,7 @@ export default {1],"status": [- 189+ 190],"__typename": [1@@ -4168,7 +4173,7 @@ export default {},"FindAvailableSSOIDP": {"type": [- 188+ 189],"id": [3@@ -4180,10 +4185,10 @@ export default {1],"status": [- 189+ 190],"workspace": [- 218+ 219],"__typename": [1@@ -4194,7 +4199,7 @@ export default {3],"type": [- 188+ 189],"issuer": [1@@ -4203,7 +4208,7 @@ export default {1],"status": [- 189+ 190],"__typename": [1@@ -4211,7 +4216,7 @@ export default {},"SSOConnection": {"type": [- 188+ 189],"id": [3@@ -4223,7 +4228,7 @@ export default {1],"status": [- 189+ 190],"__typename": [1@@ -4246,13 +4251,13 @@ export default {1],"workspaceUrls": [- 182+ 183],"logo": [1],"sso": [- 221+ 222],"__typename": [1@@ -4260,10 +4265,10 @@ export default {},"AvailableWorkspaces": {"availableWorkspacesForSignIn": [- 222+ 223],"availableWorkspacesForSignUp": [- 222+ 223],"__typename": [1@@ -4396,10 +4401,10 @@ export default {1],"objectPermissions": [- 226+ 227],"fieldPermissions": [- 227+ 228],"__typename": [1@@ -4467,7 +4472,7 @@ export default {1],"roles": [- 228+ 229],"manifest": [9@@ -4478,13 +4483,13 @@ export default {},"WorkspaceCompanyEnrichmentResult": {"outcome": [- 231+ 232],"enrichment": [9],"personOutcome": [- 232+ 233],"personEnrichment": [9@@ -4506,7 +4511,7 @@ export default {1],"type": [- 234+ 235],"name": [1@@ -4569,10 +4574,10 @@ export default {23],"relation": [- 238+ 239],"morphRelations": [- 238+ 239],"__typename": [1@@ -4598,7 +4603,7 @@ export default {},"FieldEdge": {"node": [- 233+ 234],"cursor": [27@@ -4609,10 +4614,10 @@ export default {},"FieldConnection": {"pageInfo": [- 235+ 236],"edges": [- 236+ 237],"__typename": [1@@ -4620,7 +4625,7 @@ export default {},"Relation": {"type": [- 239+ 240],"sourceObjectMetadata": [23@@ -4629,10 +4634,10 @@ export default {23],"sourceFieldMetadata": [- 233+ 234],"targetFieldMetadata": [- 233+ 234],"__typename": [1@@ -4679,7 +4684,7 @@ export default {1],"indexType": [- 242+ 243],"createdAt": [4@@ -4688,7 +4693,7 @@ export default {4],"indexFieldMetadataList": [- 240+ 241],"__typename": [1@@ -4697,7 +4702,7 @@ export default {"IndexType": {},"IndexEdge": {"node": [- 241+ 242],"cursor": [27@@ -4719,10 +4724,10 @@ export default {},"ObjectConnection": {"pageInfo": [- 235+ 236],"edges": [- 244+ 245],"__typename": [1@@ -4730,10 +4735,10 @@ export default {},"ObjectFieldsConnection": {"pageInfo": [- 235+ 236],"edges": [- 236+ 237],"__typename": [1@@ -4741,10 +4746,10 @@ export default {},"ObjectIndexMetadatasConnection": {"pageInfo": [- 235+ 236],"edges": [- 243+ 244],"__typename": [1@@ -4786,7 +4791,7 @@ export default {},"BillingEntitlement": {"key": [- 251+ 252],"value": [8@@ -4824,7 +4829,7 @@ export default {1],"records": [- 252+ 253],"isCustomDomainEnabled": [8@@ -4897,10 +4902,10 @@ export default {},"AvailableWorkspacesAndAccessTokens": {"tokens": [- 260+ 261],"availableWorkspaces": [- 223+ 224],"__typename": [1@@ -4938,7 +4943,7 @@ export default {},"WorkspaceUrlsAndId": {"workspaceUrls": [- 182+ 183],"id": [3@@ -4952,7 +4957,7 @@ export default {11],"workspace": [- 265+ 266],"__typename": [1@@ -4985,7 +4990,7 @@ export default {11],"workspaceUrls": [- 182+ 183],"__typename": [1@@ -5029,7 +5034,7 @@ export default {},"AuthTokens": {"tokens": [- 260+ 261],"__typename": [1@@ -5070,7 +5075,7 @@ export default {11],"workspace": [- 265+ 266],"__typename": [1@@ -5100,7 +5105,7 @@ export default {1],"dailyUsage": [- 279+ 280],"__typename": [1@@ -5108,16 +5113,16 @@ export default {},"UsageAnalytics": {"usageByUser": [- 208+ 209],"usageByOperationType": [- 208+ 209],"usageByModel": [- 208+ 209],"timeSeries": [- 279+ 280],"periodStart": [4@@ -5126,7 +5131,7 @@ export default {4],"userDailyUsage": [- 280+ 281],"__typename": [1@@ -5194,10 +5199,10 @@ export default {},"CompleteApplicationFileUploadsResult": {"files": [- 283+ 284],"errors": [- 284+ 285],"__typename": [1@@ -5208,7 +5213,7 @@ export default {3],"fileFolder": [- 287+ 288],"filePath": [1@@ -5229,7 +5234,7 @@ export default {"FileFolder": {},"ApplicationFileUploadError": {"fileFolder": [- 287+ 288],"filePath": [1@@ -5243,10 +5248,10 @@ export default {},"CreateApplicationFileUploadsResult": {"targets": [- 286+ 287],"errors": [- 288+ 289],"__typename": [1@@ -5328,10 +5333,10 @@ export default {1],"status": [- 295+ 296],"verificationRecords": [- 293+ 294],"verifiedAt": [4@@ -5346,7 +5351,7 @@ export default {3],"visibility": [- 297+ 298],"handle": [1@@ -5355,16 +5360,16 @@ export default {1],"type": [- 298+ 299],"isContactAutoCreationEnabled": [8],"contactAutoCreationPolicy": [- 299+ 300],"messageFolderImportPolicy": [- 300+ 301],"excludeNonProfessionalEmails": [8@@ -5373,7 +5378,7 @@ export default {8],"pendingGroupEmailsAction": [- 301+ 302],"isSyncEnabled": [8@@ -5382,10 +5387,10 @@ export default {4],"syncStatus": [- 302+ 303],"syncStage": [- 303+ 304],"syncStageStartedAt": [4@@ -5406,7 +5411,7 @@ export default {4],"connectedAccount": [- 179+ 180],"__typename": [1@@ -5421,7 +5426,7 @@ export default {"MessageChannelSyncStage": {},"CreateEmailGroupChannelOutput": {"messageChannel": [- 296+ 297],"forwardingAddress": [1@@ -5494,7 +5499,7 @@ export default {26],"skipped": [- 308+ 309],"__typename": [1@@ -5511,10 +5516,10 @@ export default {1],"reason": [- 311+ 312],"source": [- 312+ 313],"unsubscribeTopicId": [3@@ -5527,7 +5532,7 @@ export default {"MessageSuppressionSource": {},"MessageSuppressionList": {"records": [- 310+ 311],"totalCount": [26@@ -5553,7 +5558,7 @@ export default {1],"visibility": [- 315+ 316],"__typename": [1@@ -5599,7 +5604,7 @@ export default {1],"location": [- 317+ 318],"__typename": [1@@ -5616,7 +5621,7 @@ export default {1],"connectionSecurity": [- 177+ 178],"__typename": [1@@ -5627,13 +5632,13 @@ export default {1],"IMAP": [- 319+ 320],"SMTP": [- 319+ 320],"CALDAV": [- 319+ 320],"__typename": [1@@ -5653,7 +5658,7 @@ export default {3],"connectionParameters": [- 320+ 321],"__typename": [1@@ -5878,7 +5883,7 @@ export default {1],"series": [- 329+ 330],"xAxisLabel": [1@@ -5893,10 +5898,10 @@ export default {8],"layout": [- 102+ 103],"groupMode": [- 101+ 102],"hasTooManyGroups": [8@@ -5927,7 +5932,7 @@ export default {1],"data": [- 331+ 332],"__typename": [1@@ -5935,7 +5940,7 @@ export default {},"LineChartData": {"series": [- 332+ 333],"xAxisLabel": [1@@ -5972,7 +5977,7 @@ export default {},"PieChartData": {"data": [- 334+ 335],"showLegend": [8@@ -6077,13 +6082,13 @@ export default {},"EventLogQueryResult": {"records": [- 339+ 340],"totalCount": [26],"pageInfo": [- 340+ 341],"__typename": [1@@ -6147,7 +6152,7 @@ export default {1],"parts": [- 325+ 326],"processedAt": [4@@ -6161,7 +6166,7 @@ export default {},"AgentChatThread": {"id": [- 214+ 215],"title": [1@@ -6216,7 +6221,7 @@ export default {},"AiSystemPromptPreview": {"sections": [- 345+ 346],"estimatedTokenCount": [26@@ -6244,7 +6249,7 @@ export default {26],"error": [- 347+ 348],"__typename": [1@@ -6277,10 +6282,10 @@ export default {},"StartWorkspaceSetupChatResult": {"outcome": [- 352+ 353],"thread": [- 344+ 345],"__typename": [1@@ -6318,10 +6323,10 @@ export default {3],"evaluations": [- 353+ 354],"messages": [- 343+ 344],"createdAt": [4@@ -6377,7 +6382,7 @@ export default {9],"scope": [- 359+ 360],"__typename": [1@@ -6392,19 +6397,19 @@ export default {1],"syncStatus": [- 361+ 362],"syncStage": [- 362+ 363],"visibility": [- 363+ 364],"isContactAutoCreationEnabled": [8],"contactAutoCreationPolicy": [- 364+ 365],"isSyncEnabled": [8@@ -6455,7 +6460,7 @@ export default {1],"pendingSyncAction": [- 366+ 367],"messageChannelId": [3@@ -6497,7 +6502,7 @@ export default {1],"provenance": [- 368+ 369],"__typename": [1@@ -6526,7 +6531,7 @@ export default {3],"through": [- 369+ 370],"__typename": [1@@ -6546,7 +6551,7 @@ export default {1],"emit": [- 370+ 371],"action": [1@@ -6581,7 +6586,7 @@ export default {},"CollectionHash": {"collectionName": [- 373+ 374],"hash": [1@@ -6631,10 +6636,10 @@ export default {3],"type": [- 62+ 63],"key": [- 63+ 64],"objectMetadataId": [3@@ -6645,13 +6650,13 @@ export default {},"MinimalMetadata": {"objectMetadataItems": [- 374+ 375],"views": [- 375+ 376],"collectionHashes": [- 372+ 373],"__typename": [1@@ -6659,10 +6664,10 @@ export default {},"Query": {"navigationMenuItems": [- 155+ 156],"navigationMenuItem": [- 155,+ 156,{"id": [3,@@ -6671,7 +6676,7 @@ export default {}],"applicationSdkClientChecksums": [- 78,+ 79,{"applicationId": [3,@@ -6705,13 +6710,13 @@ export default {}],"enterpriseSubscriptionStatus": [- 150+ 151],"usageLimits": [- 74+ 75],"getViewFilterGroups": [- 53,+ 54,{"viewId": [1@@ -6719,7 +6724,7 @@ export default {}],"getViewFilterGroup": [- 53,+ 54,{"id": [1,@@ -6728,7 +6733,7 @@ export default {}],"getViewFilters": [- 55,+ 56,{"viewId": [1@@ -6736,7 +6741,7 @@ export default {}],"getViewFilter": [- 55,+ 56,{"id": [1,@@ -6745,19 +6750,19 @@ export default {}],"getViews": [- 61,+ 62,{"objectMetadataId": [1],"viewTypes": [- 62,+ 63,"[ViewType!]"]}],"getView": [- 61,+ 62,{"id": [1,@@ -6766,7 +6771,7 @@ export default {}],"getViewSorts": [- 58,+ 59,{"viewId": [1@@ -6774,7 +6779,7 @@ export default {}],"getViewSort": [- 58,+ 59,{"id": [1,@@ -6783,7 +6788,7 @@ export default {}],"getViewFields": [- 51,+ 52,{"viewId": [1,@@ -6792,7 +6797,7 @@ export default {}],"getViewField": [- 51,+ 52,{"id": [1,@@ -6801,7 +6806,7 @@ export default {}],"getViewFieldGroups": [- 60,+ 61,{"viewId": [1,@@ -6810,7 +6815,7 @@ export default {}],"getViewFieldGroup": [- 60,+ 61,{"id": [1,@@ -6828,19 +6833,19 @@ export default {2,{"input": [- 378,+ 379,"GetApiKeyInput!"]}],"currentUserSessions": [- 164+ 165],"myConnectedAccounts": [- 179+ 180],"applicationConnectionProviders": [- 129,+ 130,{"applicationId": [3,@@ -6849,10 +6854,10 @@ export default {}],"getInviteSuggestions": [- 171+ 172],"billingPortalSession": [- 169,+ 170,{"returnUrlPath": [1@@ -6863,19 +6868,19 @@ export default {}],"listPlans": [- 167+ 168],"getResourceCreditUsage": [- 166+ 167],"findWorkspaceInvitations": [- 174+ 175],"getApprovedAccessDomains": [- 151+ 152],"getPageLayoutTabs": [- 125,+ 126,{"pageLayoutId": [1,@@ -6884,7 +6889,7 @@ export default {}],"getPageLayoutTab": [- 125,+ 126,{"id": [1,@@ -6893,18 +6898,18 @@ export default {}],"getPageLayouts": [- 126,+ 127,{"objectMetadataId": [1],"pageLayoutType": [- 127+ 128]}],"getPageLayout": [- 126,+ 127,{"id": [1,@@ -6913,7 +6918,7 @@ export default {}],"getPageLayoutWidgets": [- 82,+ 83,{"pageLayoutTabId": [1,@@ -6922,7 +6927,7 @@ export default {}],"getPageLayoutWidget": [- 82,+ 83,{"id": [1,@@ -6937,20 +6942,20 @@ export default {10,{"input": [- 379,+ 380,"AgentIdInput!"]}],"objects": [- 245,+ 246,{"paging": [25,"CursorPaging!"],"filter": [- 380,+ 381,"ObjectFilter!"]}@@ -6965,7 +6970,7 @@ export default {}],"objectRecordCounts": [- 248+ 249],"mostlyEmptyFieldMetadataIds": [3,@@ -6980,7 +6985,7 @@ export default {21,{"input": [- 381,+ 382,"LogicFunctionIdInput!"]}@@ -6992,7 +6997,7 @@ export default {9,{"input": [- 381,+ 382,"LogicFunctionIdInput!"]}@@ -7001,7 +7006,7 @@ export default {1,{"input": [- 381,+ 382,"LogicFunctionIdInput!"]}@@ -7031,10 +7036,10 @@ export default {}],"currentWorkspace": [- 67+ 68],"getPublicWorkspaceDataByDomain": [- 192,+ 193,{"origin": [1@@ -7042,7 +7047,7 @@ export default {}],"getPublicWorkspaceDataById": [- 193,+ 194,{"id": [3,@@ -7051,7 +7056,7 @@ export default {}],"findApplicationRegistrationByClientId": [- 211,+ 212,{"clientId": [1,@@ -7060,7 +7065,7 @@ export default {}],"findApplicationRegistrationByUniversalIdentifier": [- 73,+ 74,{"universalIdentifier": [1,@@ -7069,10 +7074,10 @@ export default {}],"findManyApplicationRegistrations": [- 73+ 74],"findOneApplicationRegistration": [- 73,+ 74,{"id": [1,@@ -7081,7 +7086,7 @@ export default {}],"findApplicationRegistrationStats": [- 185,+ 186,{"id": [1,@@ -7090,7 +7095,7 @@ export default {}],"findApplicationRegistrationVariables": [- 183,+ 184,{"applicationRegistrationId": [1,@@ -7108,7 +7113,7 @@ export default {}],"findClaimableApplicationRegistration": [- 209,+ 210,{"sourcePackage": [1@@ -7142,7 +7147,7 @@ export default {}],"findManyMarketplaceApps": [- 225,+ 226,{"universalIdentifiers": [1,@@ -7151,7 +7156,7 @@ export default {}],"findMarketplaceAppDetail": [- 229,+ 230,{"universalIdentifier": [1,@@ -7160,7 +7165,7 @@ export default {}],"publicMarketplaceApps": [- 225,+ 226,{"isVetted": [8,@@ -7169,7 +7174,7 @@ export default {}],"publicMarketplaceAppDetail": [- 229,+ 230,{"universalIdentifier": [1,@@ -7178,7 +7183,7 @@ export default {}],"fields": [- 237,+ 238,{"paging": [25,@@ -7191,7 +7196,7 @@ export default {}],"field": [- 233,+ 234,{"id": [3,@@ -7200,7 +7205,7 @@ export default {}],"getViewGroups": [- 57,+ 58,{"viewId": [1@@ -7208,7 +7213,7 @@ export default {}],"getViewGroup": [- 57,+ 58,{"id": [1,@@ -7220,28 +7225,28 @@ export default {46],"previewMessageCampaignAudience": [- 305,+ 306,{"input": [- 382,+ 383,"PreviewMessageCampaignAudienceInput!"]}],"messageSuppressions": [- 313,+ 314,{"input": [- 383,+ 384,"FindMessageSuppressionsInput!"]}],"unsubscribeTopics": [- 314+ 315],"myMessageChannels": [- 296,+ 297,{"connectedAccountId": [3@@ -7249,10 +7254,10 @@ export default {}],"getEmailingDomains": [- 294+ 295],"getToolIndex": [- 324+ 325],"getToolInputSchema": [9,@@ -7264,10 +7269,10 @@ export default {}],"webhooks": [- 323+ 324],"webhook": [- 323,+ 324,{"id": [3,@@ -7276,7 +7281,7 @@ export default {}],"myMessageFolders": [- 365,+ 366,{"messageChannelId": [3@@ -7284,7 +7289,7 @@ export default {}],"myCalendarChannels": [- 360,+ 361,{"connectedAccountId": [3@@ -7292,45 +7297,45 @@ export default {}],"minimalMetadata": [- 376+ 377],"appKeyValue": [- 358,+ 359,{"key": [1,"String!"],"scope": [- 359+ 360]}],"appConnections": [- 213,+ 214,{"filter": [- 384+ 385]}],"appConnection": [- 213,+ 214,{"id": [- 214,+ 215,"ID!"]}],"findWorkspaceAiStats": [- 355+ 356],"chatThreads": [- 344+ 345],"chatThread": [- 344,+ 345,{"id": [3,@@ -7339,7 +7344,7 @@ export default {}],"chatMessages": [- 343,+ 344,{"threadId": [3,@@ -7348,7 +7353,7 @@ export default {}],"chatStreamCatchupChunks": [- 348,+ 349,{"threadId": [3,@@ -7357,13 +7362,13 @@ export default {}],"getAiSystemPromptPreview": [- 346+ 347],"skills": [- 342+ 343],"skill": [- 342,+ 343,{"id": [3,@@ -7372,7 +7377,7 @@ export default {}],"agentTurns": [- 354,+ 355,{"agentId": [3,@@ -7381,19 +7386,19 @@ export default {}],"timelineActivityTypes": [- 371+ 372],"metadataTranslations": [- 367,+ 368,{"input": [- 385,+ 386,"MetadataTranslationsInput!"]}],"checkUserExists": [- 275,+ 276,{"email": [1,@@ -7405,7 +7410,7 @@ export default {}],"checkWorkspaceInviteHashIsValid": [- 276,+ 277,{"inviteHash": [1,@@ -7414,7 +7419,7 @@ export default {}],"findWorkspaceFromInviteHash": [- 67,+ 68,{"inviteHash": [1,@@ -7423,7 +7428,7 @@ export default {}],"checkWorkspaceSubdomainAvailability": [- 270,+ 271,{"subdomain": [1,@@ -7432,10 +7437,10 @@ export default {}],"getWorkspaceCreationDefaults": [- 271+ 272],"validatePasswordResetToken": [- 268,+ 269,{"passwordResetToken": [1,@@ -7444,43 +7449,43 @@ export default {}],"currentUser": [- 70+ 71],"getSSOIdentityProviders": [- 219+ 220],"eventLogs": [- 341,+ 342,{"input": [- 386,+ 387,"EventLogQueryInput!"]}],"pieChartData": [- 335,+ 336,{"input": [- 390,+ 391,"PieChartDataInput!"]}],"lineChartData": [- 333,+ 334,{"input": [- 391,+ 392,"LineChartDataInput!"]}],"barChartData": [- 330,+ 331,{"input": [- 392,+ 393,"BarChartDataInput!"]}@@ -7495,7 +7500,7 @@ export default {}],"getConnectedImapSmtpCaldavAccount": [- 321,+ 322,{"id": [3,@@ -7504,7 +7509,7 @@ export default {}],"getAutoCompleteAddress": [- 316,+ 317,{"address": [1,@@ -7523,7 +7528,7 @@ export default {}],"getAddressDetails": [- 318,+ 319,{"placeId": [1,@@ -7536,18 +7541,18 @@ export default {}],"getUsageAnalytics": [- 281,+ 282,{"input": [- 393+ 394]}],"findManyPublicDomains": [- 292+ 293],"currentUserApplicationAuthorizations": [- 282+ 283],"__typename": [1@@ -7571,10 +7576,10 @@ export default {},"ObjectFilter": {"and": [- 380+ 381],"or": [- 380+ 381],"id": [29@@ -7609,7 +7614,7 @@ export default {},"LogicFunctionIdInput": {"id": [- 214+ 215],"__typename": [1@@ -7628,7 +7633,7 @@ export default {},"FindMessageSuppressionsInput": {"reason": [- 311+ 312],"searchTerm": [1@@ -7676,10 +7681,10 @@ export default {},"EventLogQueryInput": {"table": [- 387+ 388],"filters": [- 388+ 389],"first": [26@@ -7700,7 +7705,7 @@ export default {1],"dateRange": [- 389+ 390],"recordId": [1@@ -7767,7 +7772,7 @@ export default {1],"operationTypes": [- 76+ 77],"__typename": [1@@ -7778,7 +7783,7 @@ export default {8,{"input": [- 395,+ 396,"AddQuerySubscriptionInput!"]}@@ -7787,49 +7792,49 @@ export default {8,{"input": [- 396,+ 397,"RemoveQueryFromEventStreamInput!"]}],"createManyNavigationMenuItems": [- 155,+ 156,{"inputs": [- 397,+ 398,"[CreateNavigationMenuItemInput!]!"]}],"createNavigationMenuItem": [- 155,+ 156,{"input": [- 397,+ 398,"CreateNavigationMenuItemInput!"]}],"updateManyNavigationMenuItems": [- 155,+ 156,{"inputs": [- 398,+ 399,"[UpdateOneNavigationMenuItemInput!]!"]}],"updateNavigationMenuItem": [- 155,+ 156,{"input": [- 398,+ 399,"UpdateOneNavigationMenuItemInput!"]}],"deleteManyNavigationMenuItems": [- 155,+ 156,{"ids": [3,@@ -7838,7 +7843,7 @@ export default {}],"deleteNavigationMenuItem": [- 155,+ 156,{"id": [3,@@ -7847,7 +7852,7 @@ export default {}],"createFileUpload": [- 153,+ 154,{"filename": [1,@@ -7858,7 +7863,7 @@ export default {"Float!"],"fileFolder": [- 287,+ 288,"FileFolder!"],"fieldMetadataId": [@@ -7870,7 +7875,7 @@ export default {}],"completeFileUpload": [- 152,+ 153,{"fileId": [1,@@ -7882,10 +7887,10 @@ export default {8],"releaseEnterpriseServerBinding": [- 149+ 150],"setEnterpriseKey": [- 149,+ 150,{"enterpriseKey": [1,@@ -7894,55 +7899,55 @@ export default {}],"uploadEmailAttachmentFile": [- 152,+ 153,{"file": [- 400,+ 401,"Upload!"]}],"uploadAiChatFile": [- 152,+ 153,{"file": [- 400,+ 401,"Upload!"]}],"uploadWorkflowFile": [- 152,+ 153,{"file": [- 400,+ 401,"Upload!"]}],"uploadWorkspaceLogo": [- 152,+ 153,{"file": [- 400,+ 401,"Upload!"]}],"uploadWorkspaceMemberProfilePicture": [- 152,+ 153,{"file": [- 400,+ 401,"Upload!"]}],"uploadFilesFieldFile": [- 152,+ 153,{"file": [- 400,+ 401,"Upload!"],"fieldMetadataId": [@@ -7952,10 +7957,10 @@ export default {}],"uploadFilesFieldFileByUniversalIdentifier": [- 152,+ 153,{"file": [- 400,+ 401,"Upload!"],"fieldMetadataUniversalIdentifier": [@@ -7965,10 +7970,10 @@ export default {}],"upsertUsageLimit": [- 74,+ 75,{"input": [- 401,+ 402,"UpsertUsageLimitInput!"]}@@ -7983,23 +7988,23 @@ export default {}],"createViewFilterGroup": [- 53,+ 54,{"input": [- 402,+ 403,"CreateViewFilterGroupInput!"]}],"updateViewFilterGroup": [- 53,+ 54,{"id": [1,"String!"],"input": [- 403,+ 404,"UpdateViewFilterGroupInput!"]}@@ -8023,59 +8028,59 @@ export default {}],"createViewFilter": [- 55,+ 56,{"input": [- 404,+ 405,"CreateViewFilterInput!"]}],"updateViewFilter": [- 55,+ 56,{"input": [- 405,+ 406,"UpdateViewFilterInput!"]}],"deleteViewFilter": [- 55,+ 56,{"input": [- 407,+ 408,"DeleteViewFilterInput!"]}],"destroyViewFilter": [- 55,+ 56,{"input": [- 408,+ 409,"DestroyViewFilterInput!"]}],"createView": [- 61,+ 62,{"input": [- 409,+ 410,"CreateViewInput!"]}],"updateView": [- 61,+ 62,{"id": [1,"String!"],"input": [- 410,+ 411,"UpdateViewInput!"]}@@ -8099,28 +8104,28 @@ export default {}],"upsertViewWidget": [- 61,+ 62,{"input": [- 411,+ 412,"UpsertViewWidgetInput!"]}],"createViewSort": [- 58,+ 59,{"input": [- 417,+ 418,"CreateViewSortInput!"]}],"updateViewSort": [- 58,+ 59,{"input": [- 418,+ 419,"UpdateViewSortInput!"]}@@ -8129,7 +8134,7 @@ export default {8,{"input": [- 420,+ 421,"DeleteViewSortInput!"]}@@ -8138,106 +8143,106 @@ export default {8,{"input": [- 421,+ 422,"DestroyViewSortInput!"]}],"updateViewField": [- 51,+ 52,{"input": [- 422,+ 423,"UpdateViewFieldInput!"]}],"createViewField": [- 51,+ 52,{"input": [- 424,+ 425,"CreateViewFieldInput!"]}],"createManyViewFields": [- 51,+ 52,{"inputs": [- 424,+ 425,"[CreateViewFieldInput!]!"]}],"deleteViewField": [- 51,+ 52,{"input": [- 425,+ 426,"DeleteViewFieldInput!"]}],"destroyViewField": [- 51,+ 52,{"input": [- 426,+ 427,"DestroyViewFieldInput!"]}],"updateViewFieldGroup": [- 60,+ 61,{"input": [- 427,+ 428,"UpdateViewFieldGroupInput!"]}],"createViewFieldGroup": [- 60,+ 61,{"input": [- 429,+ 430,"CreateViewFieldGroupInput!"]}],"createManyViewFieldGroups": [- 60,+ 61,{"inputs": [- 429,+ 430,"[CreateViewFieldGroupInput!]!"]}],"deleteViewFieldGroup": [- 60,+ 61,{"input": [- 430,+ 431,"DeleteViewFieldGroupInput!"]}],"destroyViewFieldGroup": [- 60,+ 61,{"input": [- 431,+ 432,"DestroyViewFieldGroupInput!"]}],"upsertFieldsWidget": [- 61,+ 62,{"input": [- 432,+ 433,"UpsertFieldsWidgetInput!"]}@@ -8246,7 +8251,7 @@ export default {2,{"input": [- 435,+ 436,"CreateApiKeyInput!"]}@@ -8255,7 +8260,7 @@ export default {2,{"input": [- 436,+ 437,"UpdateApiKeyInput!"]}@@ -8264,7 +8269,7 @@ export default {2,{"input": [- 437,+ 438,"RevokeApiKeyInput!"]}@@ -8295,7 +8300,7 @@ export default {26],"deleteConnectedAccount": [- 179,+ 180,{"id": [3,@@ -8321,7 +8326,7 @@ export default {}],"skipSyncEmailOnboardingStep": [- 173,+ 174,{"isAutoSkipped": [8,@@ -8330,7 +8335,7 @@ export default {}],"completeBookCallOnboardingStep": [- 173,+ 174,{"hasBookedCall": [8,@@ -8343,7 +8348,7 @@ export default {}],"triggerInstallAppsOnboardingStep": [- 173,+ 174,{"universalIdentifiers": [1,@@ -8356,17 +8361,17 @@ export default {}],"goBackToPreviousOnboardingStep": [- 172+ 173],"checkoutSession": [- 169,+ 170,{"recurringInterval": [- 137,+ 138,"SubscriptionInterval!"],"plan": [- 133,+ 134,"BillingPlanKey!"],"requirePaymentMethod": [@@ -8379,14 +8384,14 @@ export default {}],"createSubscriptionPaymentIntent": [- 168,+ 169,{"recurringInterval": [- 137,+ 138,"SubscriptionInterval!"],"plan": [- 133,+ 134,"BillingPlanKey!"],"requirePaymentMethod": [@@ -8403,22 +8408,22 @@ export default {}],"createBillingPaymentMethodSetupIntent": [- 168+ 169],"switchSubscriptionInterval": [- 170+ 171],"switchBillingPlan": [- 170+ 171],"cancelSwitchBillingPlan": [- 170+ 171],"cancelSwitchBillingInterval": [- 170+ 171],"setResourceCreditSubscriptionPrice": [- 170,+ 171,{"priceId": [1,@@ -8427,10 +8432,10 @@ export default {}],"endSubscriptionTrialPeriod": [- 165+ 166],"cancelSwitchResourceCreditPrice": [- 170+ 171],"deleteWorkspaceInvitation": [1,@@ -8442,7 +8447,7 @@ export default {}],"resendWorkspaceInvitation": [- 175,+ 176,{"appTokenId": [1,@@ -8451,7 +8456,7 @@ export default {}],"sendInvitations": [- 175,+ 176,{"emails": [1,@@ -8463,10 +8468,10 @@ export default {}],"createApprovedAccessDomain": [- 151,+ 152,{"input": [- 438,+ 439,"CreateApprovedAccessDomainInput!"]}@@ -8475,38 +8480,38 @@ export default {8,{"input": [- 439,+ 440,"DeleteApprovedAccessDomainInput!"]}],"validateApprovedAccessDomain": [- 151,+ 152,{"input": [- 440,+ 441,"ValidateApprovedAccessDomainInput!"]}],"createPageLayoutTab": [- 125,+ 126,{"input": [- 441,+ 442,"CreatePageLayoutTabInput!"]}],"updatePageLayoutTab": [- 125,+ 126,{"id": [1,"String!"],"input": [- 442,+ 443,"UpdatePageLayoutTabInput!"]}@@ -8521,23 +8526,23 @@ export default {}],"createPageLayout": [- 126,+ 127,{"input": [- 443,+ 444,"CreatePageLayoutInput!"]}],"updatePageLayout": [- 126,+ 127,{"id": [1,"String!"],"input": [- 444,+ 445,"UpdatePageLayoutInput!"]}@@ -8552,20 +8557,20 @@ export default {}],"updatePageLayoutWithTabsAndWidgets": [- 126,+ 127,{"id": [1,"String!"],"input": [- 445,+ 446,"UpdatePageLayoutWithTabsInput!"]}],"resetPageLayoutToDefault": [- 126,+ 127,{"id": [1,@@ -8574,7 +8579,7 @@ export default {}],"resetPageLayoutWidgetToDefault": [- 82,+ 83,{"id": [1,@@ -8583,7 +8588,7 @@ export default {}],"resetPageLayoutTabToDefault": [- 125,+ 126,{"id": [1,@@ -8592,23 +8597,23 @@ export default {}],"createPageLayoutWidget": [- 82,+ 83,{"input": [- 448,+ 449,"CreatePageLayoutWidgetInput!"]}],"updatePageLayoutWidget": [- 82,+ 83,{"id": [1,"String!"],"input": [- 449,+ 450,"UpdatePageLayoutWidgetInput!"]}@@ -8626,7 +8631,7 @@ export default {10,{"input": [- 450,+ 451,"CreateAgentInput!"]}@@ -8635,7 +8640,7 @@ export default {10,{"input": [- 451,+ 452,"UpdateAgentInput!"]}@@ -8644,7 +8649,7 @@ export default {10,{"input": [- 379,+ 380,"AgentIdInput!"]}@@ -8653,7 +8658,7 @@ export default {23,{"input": [- 452,+ 453,"CreateOneObjectInput!"]}@@ -8662,7 +8667,7 @@ export default {23,{"input": [- 454,+ 455,"DeleteOneObjectInput!"]}@@ -8671,25 +8676,25 @@ export default {23,{"input": [- 455,+ 456,"UpdateOneObjectInput!"]}],"createOneIndex": [- 241,+ 242,{"input": [- 458,+ 459,"CreateOneIndexInput!"]}],"deleteOneIndex": [- 241,+ 242,{"input": [- 461,+ 462,"DeleteOneIndexInput!"]}@@ -8698,7 +8703,7 @@ export default {21,{"input": [- 381,+ 382,"LogicFunctionIdInput!"]}@@ -8707,16 +8712,16 @@ export default {21,{"input": [- 462,+ 463,"CreateLogicFunctionFromSourceInput!"]}],"executeOneLogicFunction": [- 147,+ 148,{"input": [- 463,+ 464,"ExecuteOneLogicFunctionInput!"]}@@ -8725,7 +8730,7 @@ export default {8,{"input": [- 464,+ 465,"UpdateLogicFunctionFromSourceInput!"]}@@ -8734,7 +8739,7 @@ export default {14,{"input": [- 466,+ 467,"CreateCommandMenuItemInput!"]}@@ -8743,7 +8748,7 @@ export default {14,{"input": [- 467,+ 468,"UpdateCommandMenuItemInput!"]}@@ -8770,7 +8775,7 @@ export default {13,{"input": [- 468,+ 469,"CreateFrontComponentInput!"]}@@ -8779,7 +8784,7 @@ export default {13,{"input": [- 469,+ 470,"UpdateFrontComponentInput!"]}@@ -8794,31 +8799,31 @@ export default {}],"activateWorkspace": [- 67,+ 68,{"data": [- 471,+ 472,"ActivateWorkspaceInput!"]}],"updateWorkspace": [- 67,+ 68,{"data": [- 472,+ 473,"UpdateWorkspaceInput!"]}],"deleteCurrentWorkspace": [- 67+ 68],"checkCustomDomainValidRecords": [- 253+ 254],"enrichWorkspaceCompany": [- 230+ 231],"upgradeApplication": [8,@@ -8834,19 +8839,19 @@ export default {}],"createApplicationRegistration": [- 210,+ 211,{"input": [- 473,+ 474,"CreateApplicationRegistrationInput!"]}],"updateApplicationRegistration": [- 73,+ 74,{"input": [- 474,+ 475,"UpdateApplicationRegistrationInput!"]}@@ -8861,7 +8866,7 @@ export default {}],"rotateApplicationRegistrationClientSecret": [- 212,+ 213,{"id": [1,@@ -8870,19 +8875,19 @@ export default {}],"createApplicationRegistrationVariable": [- 183,+ 184,{"input": [- 476,+ 477,"CreateApplicationRegistrationVariableInput!"]}],"updateApplicationRegistrationVariable": [- 183,+ 184,{"input": [- 477,+ 478,"UpdateApplicationRegistrationVariableInput!"]}@@ -8897,10 +8902,10 @@ export default {}],"uploadAppTarball": [- 73,+ 74,{"file": [- 400,+ 401,"Upload!"],"universalIdentifier": [@@ -8909,7 +8914,7 @@ export default {}],"claimApplicationRegistrationOwnership": [- 73,+ 74,{"applicationRegistrationId": [1,@@ -8918,7 +8923,7 @@ export default {}],"transferApplicationRegistrationOwnership": [- 73,+ 74,{"applicationRegistrationId": [1,@@ -8962,7 +8967,7 @@ export default {"UUID!"],"input": [- 479,+ 480,"UpdateApplicationInput!"]}@@ -8980,82 +8985,82 @@ export default {8],"createOneField": [- 233,+ 234,{"input": [- 480,+ 481,"CreateOneFieldMetadataInput!"]}],"updateOneField": [- 233,+ 234,{"input": [- 482,+ 483,"UpdateOneFieldMetadataInput!"]}],"deleteOneField": [- 233,+ 234,{"input": [- 484,+ 485,"DeleteOneFieldInput!"]}],"createViewGroup": [- 57,+ 58,{"input": [- 485,+ 486,"CreateViewGroupInput!"]}],"createManyViewGroups": [- 57,+ 58,{"inputs": [- 485,+ 486,"[CreateViewGroupInput!]!"]}],"updateViewGroup": [- 57,+ 58,{"input": [- 486,+ 487,"UpdateViewGroupInput!"]}],"updateManyViewGroups": [- 57,+ 58,{"inputs": [- 486,+ 487,"[UpdateViewGroupInput!]!"]}],"deleteViewGroup": [- 57,+ 58,{"input": [- 488,+ 489,"DeleteViewGroupInput!"]}],"destroyViewGroup": [- 57,+ 58,{"input": [- 489,+ 490,"DestroyViewGroupInput!"]}@@ -9077,7 +9082,7 @@ export default {46,{"createRoleInput": [- 490,+ 491,"CreateRoleInput!"]}@@ -9086,7 +9091,7 @@ export default {46,{"updateRoleInput": [- 491,+ 492,"UpdateRoleInput!"]}@@ -9104,7 +9109,7 @@ export default {43,{"upsertObjectPermissionsInput": [- 493,+ 494,"UpsertObjectPermissionsInput!"]}@@ -9113,7 +9118,7 @@ export default {44,{"upsertPermissionFlagsInput": [- 495,+ 496,"UpsertPermissionFlagsInput!"]}@@ -9122,16 +9127,16 @@ export default {38,{"upsertFieldPermissionsInput": [- 496,+ 497,"UpsertFieldPermissionsInput!"]}],"upsertRowLevelPermissionPredicates": [- 254,+ 255,{"input": [- 498,+ 499,"UpsertRowLevelPermissionPredicatesInput!"]}@@ -9159,55 +9164,55 @@ export default {}],"sendEmailViaEmailingDomain": [- 307,+ 308,{"input": [- 501,+ 502,"SendEmailViaDomainInput!"]}],"sendMessageCampaign": [- 309,+ 310,{"input": [- 502,+ 503,"SendMessageCampaignInput!"]}],"cancelMessageCampaign": [- 306,+ 307,{"input": [- 503,+ 504,"CancelMessageCampaignInput!"]}],"sendMessageCampaignTest": [- 307,+ 308,{"input": [- 504,+ 505,"SendMessageCampaignTestInput!"]}],"createUnsubscribeTopic": [- 314,+ 315,{"input": [- 505,+ 506,"CreateUnsubscribeTopicInput!"]}],"updateUnsubscribeTopic": [- 314,+ 315,{"input": [- 506,+ 507,"UpdateUnsubscribeTopicInput!"]}@@ -9222,34 +9227,34 @@ export default {}],"updateMessageChannel": [- 296,+ 297,{"input": [- 507,+ 508,"UpdateMessageChannelInput!"]}],"createEmailGroupChannel": [- 304,+ 305,{"input": [- 509,+ 510,"CreateEmailGroupChannelInput!"]}],"updateEmailGroupChannel": [- 296,+ 297,{"input": [- 510,+ 511,"UpdateEmailGroupChannelInput!"]}],"deleteEmailGroupChannel": [- 296,+ 297,{"id": [3,@@ -9258,10 +9263,10 @@ export default {}],"createEmailingDomain": [- 294,+ 295,{"input": [- 511,+ 512,"CreateEmailingDomainInput!"]}@@ -9276,7 +9281,7 @@ export default {}],"verifyEmailingDomain": [- 294,+ 295,{"id": [1,@@ -9285,34 +9290,34 @@ export default {}],"runAgent": [- 326,+ 327,{"input": [- 512,+ 513,"RunAgentInput!"]}],"createWebhook": [- 323,+ 324,{"input": [- 515,+ 516,"CreateWebhookInput!"]}],"updateWebhook": [- 323,+ 324,{"input": [- 516,+ 517,"UpdateWebhookInput!"]}],"deleteWebhook": [- 323,+ 324,{"id": [3,@@ -9321,37 +9326,37 @@ export default {}],"updateMessageFolder": [- 365,+ 366,{"input": [- 518,+ 519,"UpdateMessageFolderInput!"]}],"updateMessageFolders": [- 365,+ 366,{"input": [- 520,+ 521,"UpdateMessageFoldersInput!"]}],"updateCalendarChannel": [- 360,+ 361,{"input": [- 521,+ 522,"UpdateCalendarChannelInput!"]}],"setAppKeyValue": [- 358,+ 359,{"input": [- 523,+ 524,"SetAppKeyValueInput!"]}@@ -9364,33 +9369,33 @@ export default {"String!"],"scope": [- 359+ 360]}],"enqueueJob": [- 356,+ 357,{"input": [- 524,+ 525,"EnqueueJobInput!"]}],"enqueueJobs": [- 357,+ 358,{"input": [- 525,+ 526,"EnqueueJobsInput!"]}],"createChatThread": [- 344+ 345],"sendChatMessage": [- 349,+ 350,{"threadId": [3,@@ -9411,13 +9416,13 @@ export default {1],"fileAttachments": [- 526,+ 527,"[FileAttachmentInput!]"]}],"retryChatMessage": [- 349,+ 350,{"threadId": [3,@@ -9429,7 +9434,7 @@ export default {}],"answerAgentChatQuestion": [- 349,+ 350,{"threadId": [3,@@ -9440,14 +9445,14 @@ export default {"UUID!"],"answers": [- 527,+ 528,"[AgentChatQuestionAnswerInput!]!"],"modelId": [1],"fileAttachments": [- 526,+ 527,"[FileAttachmentInput!]"]}@@ -9462,7 +9467,7 @@ export default {}],"renameChatThread": [- 344,+ 345,{"id": [3,@@ -9475,7 +9480,7 @@ export default {}],"archiveChatThread": [- 344,+ 345,{"id": [3,@@ -9484,7 +9489,7 @@ export default {}],"unarchiveChatThread": [- 344,+ 345,{"id": [3,@@ -9511,7 +9516,7 @@ export default {}],"startWorkspaceSetupChat": [- 351,+ 352,{"companyContext": [9@@ -9522,25 +9527,25 @@ export default {}],"createSkill": [- 342,+ 343,{"input": [- 528,+ 529,"CreateSkillInput!"]}],"updateSkill": [- 342,+ 343,{"input": [- 529,+ 530,"UpdateSkillInput!"]}],"deleteSkill": [- 342,+ 343,{"id": [3,@@ -9549,7 +9554,7 @@ export default {}],"activateSkill": [- 342,+ 343,{"id": [3,@@ -9558,7 +9563,7 @@ export default {}],"deactivateSkill": [- 342,+ 343,{"id": [3,@@ -9567,7 +9572,7 @@ export default {}],"evaluateAgentTurn": [- 353,+ 354,{"turnId": [3,@@ -9576,7 +9581,7 @@ export default {}],"runEvaluationInput": [- 354,+ 355,{"agentId": [3,@@ -9589,16 +9594,16 @@ export default {}],"updateTimelineActivityType": [- 371,+ 372,{"input": [- 530,+ 531,"UpdateTimelineActivityTypeInput!"]}],"resetTimelineActivityType": [- 371,+ 372,{"id": [3,@@ -9607,16 +9612,16 @@ export default {}],"getAuthorizationUrlForSSO": [- 263,+ 264,{"input": [- 531,+ 532,"GetAuthorizationUrlForSSOInput!"]}],"getLoginTokenFromCredentials": [- 274,+ 275,{"email": [1,@@ -9642,7 +9647,7 @@ export default {}],"signIn": [- 261,+ 262,{"email": [1,@@ -9664,7 +9669,7 @@ export default {}],"verifyEmailAndGetLoginToken": [- 269,+ 270,{"emailVerificationToken": [1,@@ -9684,7 +9689,7 @@ export default {}],"verifyEmailAndGetWorkspaceAgnosticToken": [- 261,+ 262,{"emailVerificationToken": [1,@@ -9700,7 +9705,7 @@ export default {}],"getAuthTokensFromOTP": [- 273,+ 274,{"otp": [1,@@ -9720,7 +9725,7 @@ export default {}],"signUp": [- 261,+ 262,{"email": [1,@@ -9742,7 +9747,7 @@ export default {}],"signUpInWorkspace": [- 266,+ 267,{"email": [1,@@ -9773,31 +9778,31 @@ export default {}],"signUpInNewWorkspace": [- 266,+ 267,{"input": [- 532+ 533]}],"uploadNewWorkspaceLogo": [- 152,+ 153,{"workspaceId": [1,"String!"],"file": [- 400,+ 401,"Upload!"]}],"generateTransientToken": [- 267+ 268],"getAuthTokensFromLoginToken": [- 273,+ 274,{"loginToken": [1,@@ -9810,7 +9815,7 @@ export default {}],"getAuthTokensFromSSOExchangeToken": [- 273,+ 274,{"ssoExchangeToken": [1,@@ -9819,7 +9824,7 @@ export default {}],"authorizeApp": [- 259,+ 260,{"clientId": [1,@@ -9844,7 +9849,7 @@ export default {}],"renewToken": [- 273,+ 274,{"appToken": [1,@@ -9861,7 +9866,7 @@ export default {}],"generateApiKeyToken": [- 272,+ 273,{"apiKeyId": [3,@@ -9877,7 +9882,7 @@ export default {11],"emailPasswordResetLink": [- 262,+ 263,{"email": [1,@@ -9892,7 +9897,7 @@ export default {}],"updatePasswordViaResetToken": [- 264,+ 265,{"passwordResetToken": [1,@@ -9905,7 +9910,7 @@ export default {}],"initiateOTPProvisioning": [- 257,+ 258,{"loginToken": [1,@@ -9918,10 +9923,10 @@ export default {}],"initiateOTPProvisioningForAuthenticatedUser": [- 257+ 258],"deleteTwoFactorAuthenticationMethod": [- 256,+ 257,{"twoFactorAuthenticationMethodId": [3,@@ -9930,7 +9935,7 @@ export default {}],"verifyTwoFactorAuthenticationMethodForAuthenticatedUser": [- 258,+ 259,{"otp": [1,@@ -9939,10 +9944,10 @@ export default {}],"deleteUser": [- 70+ 71],"deleteUserFromWorkspace": [- 49,+ 50,{"workspaceMemberIdToDelete": [1,@@ -9954,7 +9959,7 @@ export default {8,{"input": [- 533,+ 534,"UpdateWorkspaceMemberSettingsInput!"]}@@ -9972,7 +9977,7 @@ export default {}],"resendEmailVerificationToken": [- 215,+ 216,{"email": [1,@@ -9985,43 +9990,43 @@ export default {}],"createOIDCIdentityProvider": [- 220,+ 221,{"input": [- 534,+ 535,"SetupOIDCSsoInput!"]}],"createSAMLIdentityProvider": [- 220,+ 221,{"input": [- 535,+ 536,"SetupSAMLSsoInput!"]}],"deleteSSOIdentityProvider": [- 216,+ 217,{"input": [- 536,+ 537,"DeleteSsoInput!"]}],"editSSOIdentityProvider": [- 217,+ 218,{"input": [- 537,+ 538,"EditSsoInput!"]}],"createObjectEvent": [- 338,+ 339,{"event": [1,@@ -10041,10 +10046,10 @@ export default {}],"trackAnalytics": [- 338,+ 339,{"type": [- 538,+ 539,"AnalyticsType!"],"name": [@@ -10059,7 +10064,7 @@ export default {}],"duplicateDashboard": [- 336,+ 337,{"id": [3,@@ -10068,7 +10073,7 @@ export default {}],"impersonate": [- 277,+ 278,{"userId": [3,@@ -10081,28 +10086,28 @@ export default {}],"stopImpersonation": [- 278+ 279],"createCalendarEvent": [- 328,+ 329,{"input": [- 539,+ 540,"CreateCalendarEventInput!"]}],"sendEmail": [- 337,+ 338,{"input": [- 540,+ 541,"SendEmailInput!"]}],"startChannelSync": [- 327,+ 328,{"connectedAccountId": [3,@@ -10111,14 +10116,14 @@ export default {}],"saveImapSmtpCaldavAccount": [- 322,+ 323,{"handle": [1,"String!"],"connectionParameters": [- 542,+ 543,"EmailAccountConnectionParameters!"],"id": [@@ -10127,16 +10132,16 @@ export default {}],"updateLabPublicFeatureFlag": [- 180,+ 181,{"input": [- 544,+ 545,"UpdateLabPublicFeatureFlagInput!"]}],"createPublicDomain": [- 292,+ 293,{"domain": [1,@@ -10158,7 +10163,7 @@ export default {}],"checkPublicDomainValidRecords": [- 253,+ 254,{"domain": [1,@@ -10167,7 +10172,7 @@ export default {}],"createDevelopmentApplication": [- 290,+ 291,{"universalIdentifier": [1,@@ -10180,7 +10185,7 @@ export default {}],"syncApplication": [- 291,+ 292,{"manifest": [9,@@ -10192,10 +10197,10 @@ export default {}],"uploadApplicationFile": [- 283,+ 284,{"file": [- 400,+ 401,"Upload!"],"applicationUniversalIdentifier": [@@ -10203,7 +10208,7 @@ export default {"String!"],"fileFolder": [- 287,+ 288,"FileFolder!"],"filePath": [@@ -10213,20 +10218,20 @@ export default {}],"createApplicationFileUploads": [- 289,+ 290,{"applicationUniversalIdentifier": [1,"String!"],"files": [- 545,+ 546,"[ApplicationFileUploadRequestInput!]!"]}],"completeApplicationFileUploads": [- 285,+ 286,{"applicationUniversalIdentifier": [1,@@ -10311,7 +10316,7 @@ export default {3],"type": [- 156+ 157],"name": [1@@ -10343,7 +10348,7 @@ export default {3],"update": [- 399+ 400],"__typename": [1@@ -10378,10 +10383,10 @@ export default {"Upload": {},"UpsertUsageLimitInput": {"resourceType": [- 75+ 76],"operationType": [- 76+ 77],"spenderType": [1@@ -10396,10 +10401,10 @@ export default {26],"limitValue": [- 77+ 78],"burstValue": [- 77+ 78],"__typename": [1@@ -10413,7 +10418,7 @@ export default {3],"logicalOperator": [- 54+ 55],"positionInViewFilterGroup": [15@@ -10433,7 +10438,7 @@ export default {3],"logicalOperator": [- 54+ 55],"positionInViewFilterGroup": [15@@ -10453,7 +10458,7 @@ export default {3],"operand": [- 56+ 57],"value": [9@@ -10482,7 +10487,7 @@ export default {3],"update": [- 406+ 407],"__typename": [1@@ -10493,7 +10498,7 @@ export default {3],"operand": [- 56+ 57],"value": [9@@ -10541,10 +10546,10 @@ export default {3],"type": [- 62+ 63],"key": [- 63+ 64],"icon": [1@@ -10562,10 +10567,10 @@ export default {26],"openRecordIn": [- 64+ 65],"kanbanAggregateOperation": [- 52+ 53],"kanbanAggregateOperationFieldMetadataId": [3@@ -10574,7 +10579,7 @@ export default {1],"calendarLayout": [- 65+ 66],"calendarFieldMetadataId": [3@@ -10586,7 +10591,7 @@ export default {3],"visibility": [- 66+ 67],"__typename": [1@@ -10600,7 +10605,7 @@ export default {1],"type": [- 62+ 63],"icon": [1@@ -10612,10 +10617,10 @@ export default {8],"openRecordIn": [- 64+ 65],"kanbanAggregateOperation": [- 52+ 53],"kanbanAggregateOperationFieldMetadataId": [3@@ -10624,7 +10629,7 @@ export default {1],"calendarLayout": [- 65+ 66],"calendarFieldMetadataId": [3@@ -10633,7 +10638,7 @@ export default {3],"visibility": [- 66+ 67],"mainGroupByFieldMetadataId": [3@@ -10653,19 +10658,19 @@ export default {3],"view": [- 412+ 413],"viewFields": [- 413+ 414],"viewFilters": [- 414+ 415],"viewFilterGroups": [- 415+ 416],"viewSorts": [- 416+ 417],"__typename": [1@@ -10673,7 +10678,7 @@ export default {},"UpsertViewWidgetViewSettingsInput": {"type": [- 62+ 63],"mainGroupByFieldMetadataId": [3@@ -10682,10 +10687,10 @@ export default {8],"openRecordIn": [- 64+ 65],"kanbanAggregateOperation": [- 52+ 53],"kanbanAggregateOperationFieldMetadataId": [3@@ -10694,7 +10699,7 @@ export default {26],"calendarLayout": [- 65+ 66],"calendarFieldMetadataId": [3@@ -10723,7 +10728,7 @@ export default {15],"aggregateOperation": [- 52+ 53],"__typename": [1@@ -10737,7 +10742,7 @@ export default {3],"operand": [- 56+ 57],"value": [9@@ -10766,7 +10771,7 @@ export default {3],"logicalOperator": [- 54+ 55],"positionInViewFilterGroup": [15@@ -10783,7 +10788,7 @@ export default {3],"direction": [- 59+ 60],"__typename": [1@@ -10797,7 +10802,7 @@ export default {3],"direction": [- 59+ 60],"subFieldName": [1@@ -10814,7 +10819,7 @@ export default {3],"update": [- 419+ 420],"__typename": [1@@ -10822,7 +10827,7 @@ export default {},"UpdateViewSortInputUpdates": {"direction": [- 59+ 60],"subFieldName": [1@@ -10852,7 +10857,7 @@ export default {3],"update": [- 423+ 424],"__typename": [1@@ -10869,7 +10874,7 @@ export default {15],"aggregateOperation": [- 52+ 53],"viewFieldGroupId": [3@@ -10898,7 +10903,7 @@ export default {15],"aggregateOperation": [- 52+ 53],"viewFieldGroupId": [3@@ -10928,7 +10933,7 @@ export default {3],"update": [- 428+ 429],"__typename": [1@@ -10992,10 +10997,10 @@ export default {3],"groups": [- 433+ 434],"fields": [- 434+ 435],"__typename": [1@@ -11015,7 +11020,7 @@ export default {8],"fields": [- 434+ 435],"__typename": [1@@ -11121,7 +11126,7 @@ export default {3],"layoutMode": [- 86+ 87],"__typename": [1@@ -11138,7 +11143,7 @@ export default {1],"layoutMode": [- 86+ 87],"__typename": [1@@ -11149,7 +11154,7 @@ export default {1],"type": [- 127+ 128],"objectMetadataId": [3@@ -11163,7 +11168,7 @@ export default {1],"type": [- 127+ 128],"objectMetadataId": [3@@ -11177,7 +11182,7 @@ export default {1],"type": [- 127+ 128],"objectMetadataId": [3@@ -11186,7 +11191,7 @@ export default {8],"tabs": [- 446+ 447],"__typename": [1@@ -11206,10 +11211,10 @@ export default {1],"layoutMode": [- 86+ 87],"widgets": [- 447+ 448],"__typename": [1@@ -11226,7 +11231,7 @@ export default {1],"type": [- 83+ 84],"objectMetadataId": [3@@ -11255,7 +11260,7 @@ export default {1],"type": [- 83+ 84],"objectMetadataId": [3@@ -11278,7 +11283,7 @@ export default {1],"type": [- 83+ 84],"objectMetadataId": [3@@ -11374,7 +11379,7 @@ export default {},"CreateOneObjectInput": {"object": [- 453+ 454],"__typename": [1@@ -11434,7 +11439,7 @@ export default {},"UpdateOneObjectInput": {"update": [- 456+ 457],"id": [3@@ -11487,7 +11492,7 @@ export default {24],"translations": [- 457+ 458],"__typename": [1@@ -11509,7 +11514,7 @@ export default {},"CreateOneIndexInput": {"index": [- 459+ 460],"__typename": [1@@ -11520,10 +11525,10 @@ export default {3],"fields": [- 460+ 461],"indexType": [- 242+ 243],"__typename": [1@@ -11605,7 +11610,7 @@ export default {3],"update": [- 465+ 466],"__typename": [1@@ -11765,7 +11770,7 @@ export default {3],"update": [- 470+ 471],"__typename": [1@@ -11810,7 +11815,7 @@ export default {8],"workspaceDiscoverability": [- 68+ 69],"allowImpersonation": [8@@ -11892,7 +11897,7 @@ export default {1],"update": [- 475+ 476],"__typename": [1@@ -11946,7 +11951,7 @@ export default {1],"update": [- 478+ 479],"__typename": [1@@ -11976,7 +11981,7 @@ export default {},"CreateOneFieldMetadataInput": {"field": [- 481+ 482],"__typename": [1@@ -11984,7 +11989,7 @@ export default {},"CreateFieldInput": {"type": [- 234+ 235],"name": [1@@ -12049,7 +12054,7 @@ export default {3],"update": [- 483+ 484],"__typename": [1@@ -12108,7 +12113,7 @@ export default {9],"translations": [- 457+ 458],"__typename": [1@@ -12147,7 +12152,7 @@ export default {3],"update": [- 487+ 488],"__typename": [1@@ -12232,7 +12237,7 @@ export default {},"UpdateRoleInput": {"update": [- 492+ 493],"id": [3@@ -12287,7 +12292,7 @@ export default {3],"objectPermissions": [- 494+ 495],"__typename": [1@@ -12329,7 +12334,7 @@ export default {3],"fieldPermissions": [- 497+ 498],"__typename": [1@@ -12360,10 +12365,10 @@ export default {3],"predicates": [- 499+ 500],"predicateGroups": [- 500+ 501],"__typename": [1@@ -12497,7 +12502,7 @@ export default {1],"visibility": [- 315+ 316],"__typename": [1@@ -12514,7 +12519,7 @@ export default {1],"visibility": [- 315+ 316],"__typename": [1@@ -12525,7 +12530,7 @@ export default {3],"update": [- 508+ 509],"__typename": [1@@ -12533,16 +12538,16 @@ export default {},"UpdateMessageChannelInputUpdates": {"visibility": [- 297+ 298],"isContactAutoCreationEnabled": [8],"contactAutoCreationPolicy": [- 299+ 300],"messageFolderImportPolicy": [- 300+ 301],"isSyncEnabled": [8@@ -12598,7 +12603,7 @@ export default {3],"messages": [- 513+ 514],"__typename": [1@@ -12606,7 +12611,7 @@ export default {},"RunAgentMessageInput": {"role": [- 514+ 515],"content": [1@@ -12641,7 +12646,7 @@ export default {3],"update": [- 517+ 518],"__typename": [1@@ -12669,7 +12674,7 @@ export default {3],"update": [- 519+ 520],"__typename": [1@@ -12688,7 +12693,7 @@ export default {3],"update": [- 519+ 520],"__typename": [1@@ -12699,7 +12704,7 @@ export default {3],"update": [- 522+ 523],"__typename": [1@@ -12707,13 +12712,13 @@ export default {},"UpdateCalendarChannelInputUpdates": {"visibility": [- 363+ 364],"isContactAutoCreationEnabled": [8],"contactAutoCreationPolicy": [- 364+ 365],"isSyncEnabled": [8@@ -12730,7 +12735,7 @@ export default {9],"scope": [- 359+ 360],"__typename": [1@@ -12858,7 +12863,7 @@ export default {8],"translations": [- 457+ 458],"__typename": [1@@ -12950,7 +12955,7 @@ export default {3],"status": [- 189+ 190],"__typename": [1@@ -13024,7 +13029,7 @@ export default {1],"files": [- 541+ 542],"__typename": [1@@ -13046,13 +13051,13 @@ export default {1],"IMAP": [- 543+ 544],"SMTP": [- 543+ 544],"CALDAV": [- 543+ 544],"__typename": [1@@ -13072,7 +13077,7 @@ export default {1],"connectionSecurity": [- 177+ 178],"__typename": [1@@ -13091,7 +13096,7 @@ export default {},"ApplicationFileUploadRequestInput": {"fileFolder": [- 287+ 288],"filePath": [1@@ -13105,7 +13110,7 @@ export default {},"Subscription": {"onEventSubscription": [- 163,+ 164,{"eventStreamId": [1,@@ -13114,16 +13119,16 @@ export default {}],"logicFunctionLogs": [- 255,+ 256,{"input": [- 547,+ 548,"LogicFunctionLogsInput!"]}],"onAgentChatEvent": [- 350,+ 351,{"threadId": [3,@@ -13132,10 +13137,10 @@ export default {}],"eventLogsLive": [- 339,+ 340,{"table": [- 387,+ 388,"EventLogTable!"]}diff --git a/packages/twenty-front/src/generated-metadata/graphql.ts b/packages/twenty-front/src/generated-metadata/graphql.tsindex 3c346fe0bb1..faffd078c8b 100644--- a/packages/twenty-front/src/generated-metadata/graphql.ts+++ b/packages/twenty-front/src/generated-metadata/graphql.ts@@ -318,6 +318,7 @@ export type Application = {packageJsonChecksum?: Maybe<Scalars['String']['output']>;packageJsonFileId?: Maybe<Scalars['UUID']['output']>;settingsCustomTabFrontComponentId?: Maybe<Scalars['UUID']['output']>;+ state: ApplicationState;universalIdentifier: Scalars['String']['output'];version?: Maybe<Scalars['String']['output']>;yarnLockChecksum?: Maybe<Scalars['String']['output']>;@@ -442,6 +443,13 @@ export type ApplicationRegistrationVariable = {value?: Maybe<Scalars['String']['output']>;};+export enum ApplicationState {+ INSTALLED = 'INSTALLED',+ INSTALLING = 'INSTALLING',+ UNINSTALLING = 'UNINSTALLING',+ UPGRADING = 'UPGRADING'+}+export type ApplicationTokenPair = {__typename?: 'ApplicationTokenPair';applicationAccessToken: AuthToken;@@ -7371,7 +7379,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, label: string, isSecret: boolean, isDeprecated: 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, frontComponentSharedDependenciesChecksum?: string | null, 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 ApplicationFieldsFragment = { __typename?: 'Application', id: string, name: string, description?: string | null, logoUrl?: string | null, version?: string | null, state: ApplicationState, 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, label: string, isSecret: boolean, isDeprecated: 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, frontComponentSharedDependenciesChecksum?: string | null, 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; }>;@@ -7383,14 +7391,14 @@ 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, label: string, isSecret: boolean, isDeprecated: 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, frontComponentSharedDependenciesChecksum?: string | null, 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 FindOneApplicationQuery = { __typename?: 'Query', findOneApplication: { __typename?: 'Application', id: string, name: string, description?: string | null, logoUrl?: string | null, version?: string | null, state: ApplicationState, 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, label: string, isSecret: boolean, isDeprecated: 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, frontComponentSharedDependenciesChecksum?: string | null, 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'];}>;-export type FindOneApplicationByUniversalIdentifierQuery = { __typename?: 'Query', findOneApplication: { __typename?: 'Application', id: string, universalIdentifier: string, name: string, version?: string | null } };+export type FindOneApplicationByUniversalIdentifierQuery = { __typename?: 'Query', findOneApplication: { __typename?: 'Application', id: string, universalIdentifier: string, name: string, version?: string | null, state: ApplicationState } };export type FindOneApplicationNameQueryVariables = Exact<{id: Scalars['UUID']['input'];@@ -9703,7 +9711,7 @@ export const SkillFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":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":"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":"label"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}},{"kind":"Field","name":{"kind":"Name","value":"isDeprecated"}},{"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":"frontComponentSharedDependenciesChecksum"}},{"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 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":"state"}},{"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":"label"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}},{"kind":"Field","name":{"kind":"Name","value":"isDeprecated"}},{"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":"frontComponentSharedDependenciesChecksum"}},{"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>;@@ -9791,8 +9799,8 @@ 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":"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":"label"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}},{"kind":"Field","name":{"kind":"Name","value":"isDeprecated"}},{"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":"frontComponentSharedDependenciesChecksum"}},{"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 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":"state"}},{"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":"label"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}},{"kind":"Field","name":{"kind":"Name","value":"isDeprecated"}},{"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":"frontComponentSharedDependenciesChecksum"}},{"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"}},{"kind":"Field","name":{"kind":"Name","value":"state"}}]}}]}}]} 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>;export const IsApplicationStoppedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"IsApplicationStopped"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"applicationUniversalIdentifier"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isApplicationStopped"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"applicationUniversalIdentifier"},"value":{"kind":"Variable","name":{"kind":"Name","value":"applicationUniversalIdentifier"}}}]}]}}]} as unknown as DocumentNode<IsApplicationStoppedQuery, IsApplicationStoppedQueryVariables>;diff --git a/packages/twenty-front/src/modules/applications/graphql/fragments/applicationFragment.ts b/packages/twenty-front/src/modules/applications/graphql/fragments/applicationFragment.tsindex 36f577144ff..06828848ec1 100644--- a/packages/twenty-front/src/modules/applications/graphql/fragments/applicationFragment.ts+++ b/packages/twenty-front/src/modules/applications/graphql/fragments/applicationFragment.ts@@ -13,6 +13,7 @@ export const APPLICATION_FRAGMENT = gql`descriptionlogoUrlversion+ stateuniversalIdentifierapplicationRegistrationIdapplicationRegistration {diff --git a/packages/twenty-front/src/modules/applications/graphql/queries/findOneApplicationByUniversalIdentifier.ts b/packages/twenty-front/src/modules/applications/graphql/queries/findOneApplicationByUniversalIdentifier.tsindex 3437c42c0b6..49b27b4a266 100644--- a/packages/twenty-front/src/modules/applications/graphql/queries/findOneApplicationByUniversalIdentifier.ts+++ b/packages/twenty-front/src/modules/applications/graphql/queries/findOneApplicationByUniversalIdentifier.ts@@ -7,6 +7,7 @@ export const FIND_ONE_APPLICATION_BY_UNIVERSAL_IDENTIFIER = gql`universalIdentifiernameversion+ state}}`;diff --git a/packages/twenty-front/src/modules/object-metadata/hooks/__tests__/constants/CustomWorkspaceApplicationMock.test.constant.ts b/packages/twenty-front/src/modules/object-metadata/hooks/__tests__/constants/CustomWorkspaceApplicationMock.test.constant.tsindex f5efdd22faf..c54486f4f22 100644--- a/packages/twenty-front/src/modules/object-metadata/hooks/__tests__/constants/CustomWorkspaceApplicationMock.test.constant.ts+++ b/packages/twenty-front/src/modules/object-metadata/hooks/__tests__/constants/CustomWorkspaceApplicationMock.test.constant.ts@@ -1,4 +1,7 @@-import { type Application } from '~/generated-metadata/graphql';+import {+ type Application,+ ApplicationState,+} from '~/generated-metadata/graphql';export const CUSTOM_WORKSPACE_APPLICATION_MOCK = {id: 'dc75f982-35a2-4c1b-a63d-bd1131215377',@@ -15,4 +18,5 @@ export const CUSTOM_WORKSPACE_APPLICATION_MOCK = {logicFunctions: [],universalIdentifier: '66a698b6-f6c1-4d35-a6e7-20aeadc3cd95',version: '1.0.0',+ state: ApplicationState.INSTALLED,} as const satisfies Application;diff --git a/packages/twenty-front/src/modules/settings/applications/hooks/__tests__/useComputeObjectAndFieldsContentForApplication.test.tsx b/packages/twenty-front/src/modules/settings/applications/hooks/__tests__/useComputeObjectAndFieldsContentForApplication.test.tsxindex 82056eba3ad..21a083aff2f 100644--- a/packages/twenty-front/src/modules/settings/applications/hooks/__tests__/useComputeObjectAndFieldsContentForApplication.test.tsx+++ b/packages/twenty-front/src/modules/settings/applications/hooks/__tests__/useComputeObjectAndFieldsContentForApplication.test.tsx@@ -2,6 +2,7 @@ import { renderHook } from '@testing-library/react';import { useComputeObjectAndFieldsContentForApplication } from '@/settings/applications/hooks/useComputeObjectAndFieldsContentForApplication';import { type Manifest } from 'twenty-shared/application';+import { ApplicationState } from '~/generated-metadata/graphql';import { getJestMetadataAndApolloMocksWrapper } from '~/testing/jest/getJestMetadataAndApolloMocksWrapper';import { getTestEnrichedObjectMetadataItemsMock } from '~/testing/utils/getTestEnrichedObjectMetadataItemsMock';@@ -29,6 +30,7 @@ describe('useComputeObjectAndFieldsContentForApplication', () => {objects: [{ id: personObject.id }],name: 'Test App',logo: null,+ state: ApplicationState.INSTALLED,canBeUninstalled: true,autoUpgrade: false,availablePackages: {},@@ -60,6 +62,7 @@ describe('useComputeObjectAndFieldsContentForApplication', () => {objects: [],name: 'Test App',logo: null,+ state: ApplicationState.INSTALLED,canBeUninstalled: true,autoUpgrade: false,availablePackages: {},@@ -89,6 +92,7 @@ describe('useComputeObjectAndFieldsContentForApplication', () => {objects: [{ id: personObject.id }],name: 'Test App',logo: null,+ state: ApplicationState.INSTALLED,canBeUninstalled: true,autoUpgrade: false,availablePackages: {},@@ -119,6 +123,7 @@ describe('useComputeObjectAndFieldsContentForApplication', () => {objects: [],name: 'Test App',logo: null,+ state: ApplicationState.INSTALLED,canBeUninstalled: true,autoUpgrade: false,availablePackages: {},@@ -277,6 +282,7 @@ describe('useComputeObjectAndFieldsContentForApplication', () => {objects: [{ id: personObject.id }],name: 'Test App',logo: null,+ state: ApplicationState.INSTALLED,canBeUninstalled: true,autoUpgrade: false,availablePackages: {},diff --git a/packages/twenty-front/src/pages/settings/applications/SettingsApplicationDetails.tsx b/packages/twenty-front/src/pages/settings/applications/SettingsApplicationDetails.tsxindex 99e0a01e64b..38ed6309de5 100644--- a/packages/twenty-front/src/pages/settings/applications/SettingsApplicationDetails.tsx+++ b/packages/twenty-front/src/pages/settings/applications/SettingsApplicationDetails.tsx@@ -314,6 +314,7 @@ export const SettingsApplicationDetails = () => {canBeUninstalled={application.canBeUninstalled}onUninstall={handleUninstall}isUninstalling={isUninstalling}+ state={application.state}/>);case 'content':diff --git a/packages/twenty-front/src/pages/settings/applications/SettingsAvailableApplicationDetails.tsx b/packages/twenty-front/src/pages/settings/applications/SettingsAvailableApplicationDetails.tsxindex 169fefa3bc7..f86d6d8fb1d 100644--- a/packages/twenty-front/src/pages/settings/applications/SettingsAvailableApplicationDetails.tsx+++ b/packages/twenty-front/src/pages/settings/applications/SettingsAvailableApplicationDetails.tsx@@ -246,6 +246,7 @@ export const SettingsAvailableApplicationDetails = () => {hasUpdate={hasUpdate}onUpgrade={handleUpgrade}isUpgrading={isUpgrading}+ state={application?.state}/>);case 'content':diff --git a/packages/twenty-front/src/pages/settings/applications/hooks/__tests__/useUpdateOneApplicationVariable.test.tsx b/packages/twenty-front/src/pages/settings/applications/hooks/__tests__/useUpdateOneApplicationVariable.test.tsxindex 35af473c41b..c129c9d56d6 100644--- a/packages/twenty-front/src/pages/settings/applications/hooks/__tests__/useUpdateOneApplicationVariable.test.tsx+++ b/packages/twenty-front/src/pages/settings/applications/hooks/__tests__/useUpdateOneApplicationVariable.test.tsx@@ -5,6 +5,7 @@ import { type ReactNode } from 'react';import {type Application,+ ApplicationState,FindOneApplicationDocument,UpdateOneApplicationVariableDocument,} from '~/generated-metadata/graphql';@@ -33,6 +34,7 @@ const buildApplication = (variableValue: string): Application => ({description: null,version: '1.0.0',universalIdentifier: 'test-app',+ state: ApplicationState.INSTALLED,applicationRegistrationId: null,applicationRegistration: null,canBeUninstalled: true,diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailAboutTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailAboutTab.tsxindex 4979ebcd6df..101331c2c37 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailAboutTab.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailAboutTab.tsx@@ -15,6 +15,7 @@ import {SettingsApplicationAboutSidebar,} from '@/settings/applications/components/SettingsApplicationAboutSidebar';import { SettingsApplicationScreenshotGallery } from '@/settings/applications/components/SettingsApplicationScreenshotGallery';+import { ApplicationState } from '~/generated-metadata/graphql';const UNINSTALL_APPLICATION_MODAL_ID = 'uninstall-application-modal';@@ -39,6 +40,7 @@ type SettingsApplicationDetailAboutTabProps = {canBeUninstalled?: boolean;onUninstall?: () => void;isUninstalling?: boolean;+ state?: ApplicationState;};const StyledContentContainer = styled.div`@@ -115,6 +117,7 @@ export const SettingsApplicationDetailAboutTab = ({canBeUninstalled,onUninstall,isUninstalling,+ state,}: SettingsApplicationDetailAboutTabProps) => {const { openModal } = useModal();@@ -125,11 +128,38 @@ export const SettingsApplicationDetailAboutTab = ({description ??t`No description available for this application`;+ const getTransitionalAction = () => {+ switch (state) {+ case ApplicationState.INSTALLING:+ return { Icon: IconDownload, title: t`Installing...` };+ case ApplicationState.UPGRADING:+ return { Icon: IconUpload, title: t`Upgrading...` };+ case ApplicationState.UNINSTALLING:+ return { Icon: IconTrash, title: t`Uninstalling...` };+ default:+ return null;+ }+ };+const getActionButton = () => {if (!canInstallMarketplaceApps) {return null;}+ const transitionalAction = getTransitionalAction();++ if (isDefined(transitionalAction)) {+ return (+ <Button+ Icon={transitionalAction.Icon}+ title={transitionalAction.title}+ variant={'secondary'}+ accent={'blue'}+ disabled={true}+ />+ );+ }+if (!isInstalled) {return (<Buttondiff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-38/2-38-instance-command-fast-1788260646460-add-state-to-application.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-38/2-38-instance-command-fast-1788260646460-add-state-to-application.tsnew file mode 100644index 00000000000..328aa325bca--- /dev/null+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-38/2-38-instance-command-fast-1788260646460-add-state-to-application.ts@@ -0,0 +1,21 @@+import { QueryRunner } from 'typeorm';++import { RegisteredInstanceCommand } from 'src/engine/core-modules/upgrade/decorators/registered-instance-command.decorator';+import { FastInstanceCommand } from 'src/engine/core-modules/upgrade/interfaces/fast-instance-command.interface';++@RegisteredInstanceCommand('2.38.0', 1788260646460)+export class AddStateToApplicationFastInstanceCommand+ implements FastInstanceCommand+{+ public async up(queryRunner: QueryRunner): Promise<void> {+ await queryRunner.query(+ `ALTER TABLE "core"."application" ADD COLUMN IF NOT EXISTS "state" text NOT NULL DEFAULT 'INSTALLED'`,+ );+ }++ public async down(queryRunner: QueryRunner): Promise<void> {+ await queryRunner.query(+ 'ALTER TABLE "core"."application" DROP COLUMN IF EXISTS "state"',+ );+ }+}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 ac8aa7a601d..80753482c93 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@@ -167,6 +167,7 @@ import { DropHasReachedCurrentPeriodCapFastInstanceCommand } from 'src/database/import { AddTimelineActivityHappensAtFieldFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-38/2-38-instance-command-fast-1787918663364-add-timeline-activity-happens-at-field';import { AddPageLayoutIsFirstTabPinnedFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-38/2-38-instance-command-fast-1787929843737-add-page-layout-is-first-tab-pinned';import { CreateCampaignDeliveryFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-38/2-38-instance-command-fast-1788200700000-create-campaign-delivery';+import { AddStateToApplicationFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-38/2-38-instance-command-fast-1788260646460-add-state-to-application';export const INSTANCE_COMMANDS = [AddViewFieldGroupIdIndexOnViewFieldFastInstanceCommand,@@ -336,4 +337,5 @@ export const INSTANCE_COMMANDS = [AddTimelineActivityHappensAtFieldFastInstanceCommand,AddPageLayoutIsFirstTabPinnedFastInstanceCommand,CreateCampaignDeliveryFastInstanceCommand,+ AddStateToApplicationFastInstanceCommand,];diff --git a/packages/twenty-server/src/engine/core-modules/application/application-install/application-install.service.ts b/packages/twenty-server/src/engine/core-modules/application/application-install/application-install.service.tsindex 7d2698af83a..dff5aa5237d 100644--- a/packages/twenty-server/src/engine/core-modules/application/application-install/application-install.service.ts+++ b/packages/twenty-server/src/engine/core-modules/application/application-install/application-install.service.ts@@ -30,6 +30,7 @@ import {ApplicationExceptionCode,} from 'src/engine/core-modules/application/application.exception';import { ApplicationService } from 'src/engine/core-modules/application/application.service';+import { ApplicationState } from 'src/engine/core-modules/application/enums/application-state.enum';import { CacheLockService } from 'src/engine/core-modules/cache-lock/cache-lock.service';import { FileStorageService } from 'src/engine/core-modules/file-storage/services/file-storage.service';import { LogicFunctionExecutorService } from 'src/engine/core-modules/logic-function/logic-function-executor/logic-function-executor.service';@@ -308,12 +309,25 @@ export class ApplicationInstallService {sourceType: appRegistration.sourceType,});+ const isUpgradeOfInstalledApplication =+ isVersionUpgrade && application.state === ApplicationState.INSTALLED;++ const hasNeverCompletedInstall =+ isVersionUpgrade && application.state === ApplicationState.INSTALLING;+const incomingVersion = resolvedPackage.packageJson.version;// Rollback is scoped to the work after the application row exists: reaching- // this catch means creation succeeded, so a fresh install (not an upgrade)- // is the only case that needs uninstalling.+ // this catch means creation succeeded, so only an application that never+ // finished installing needs uninstalling.try {+ if (isUpgradeOfInstalledApplication) {+ await this.applicationService.update(application.id, {+ state: ApplicationState.UPGRADING,+ workspaceId: params.workspaceId,+ });+ }+if (isVersionUpgrade &&isDefined(application.version) &&@@ -394,6 +408,11 @@ export class ApplicationInstallService {},);+ await this.applicationService.update(application.id, {+ state: ApplicationState.INSTALLED,+ workspaceId: params.workspaceId,+ });+this.logger.log(`Successfully installed app ${universalIdentifier} v${resolvedPackage.packageJson.version ?? 'unknown'}`,);@@ -404,7 +423,15 @@ export class ApplicationInstallService {`Failed to install app ${appRegistration.universalIdentifier}: ${error}`,);- if (!isVersionUpgrade) {+ if (isUpgradeOfInstalledApplication) {+ await this.applicationService.revertStateToInstalledBestEffort({+ applicationId: application.id,+ universalIdentifier,+ workspaceId: params.workspaceId,+ });+ }++ if (!isVersionUpgrade || hasNeverCompletedInstall) {// Rollback of a failed fresh install: the app never finished// installing, so the uninstall hook must not run.await this.applicationSyncService.uninstallApplication({@@ -741,6 +768,7 @@ export class ApplicationInstallService {sourceType: params.sourceType,applicationRegistrationId: params.applicationRegistrationId,workspaceId: params.workspaceId,+ state: ApplicationState.INSTALLING,});}}diff --git a/packages/twenty-server/src/engine/core-modules/application/application-manifest/application-sync.service.ts b/packages/twenty-server/src/engine/core-modules/application/application-manifest/application-sync.service.tsindex 9479e354b1e..708269f3fd5 100644--- a/packages/twenty-server/src/engine/core-modules/application/application-manifest/application-sync.service.ts+++ b/packages/twenty-server/src/engine/core-modules/application/application-manifest/application-sync.service.ts@@ -22,6 +22,7 @@ import {ApplicationExceptionCode,} from 'src/engine/core-modules/application/application.exception';import { ApplicationService } from 'src/engine/core-modules/application/application.service';+import { ApplicationState } from 'src/engine/core-modules/application/enums/application-state.enum';import { type FlatApplication } from 'src/engine/core-modules/application/types/flat-application.type';import { FileStorageService } from 'src/engine/core-modules/file-storage/services/file-storage.service';import { LOGIC_FUNCTION_DRIVER_FACTORY_TOKEN } from 'src/engine/core-modules/logic-function/logic-function-drivers/constants/logic-function-driver-factory.token';@@ -159,6 +160,7 @@ export class ApplicationSyncService {logoFileId: null,version: null,sourceType: ApplicationRegistrationSourceType.LOCAL,+ state: ApplicationState.INSTALLED,sourcePath: manifest.application.universalIdentifier,packageJsonChecksum: null,packageJsonFileId: null,@@ -349,6 +351,47 @@ export class ApplicationSyncService {);}+ const shouldTransitionState =+ application.state === ApplicationState.INSTALLED;++ try {+ if (shouldTransitionState) {+ await this.applicationService.update(application.id, {+ state: ApplicationState.UNINSTALLING,+ workspaceId,+ });+ }++ return await this.runUninstall({+ application,+ workspaceId,+ applicationUniversalIdentifier,+ shouldRunUninstallHook,+ });+ } catch (error) {+ if (shouldTransitionState) {+ await this.applicationService.revertStateToInstalledBestEffort({+ applicationId: application.id,+ universalIdentifier: applicationUniversalIdentifier,+ workspaceId,+ });+ }++ throw error;+ }+ }++ private async runUninstall({+ application,+ workspaceId,+ applicationUniversalIdentifier,+ shouldRunUninstallHook,+ }: {+ application: ApplicationEntity;+ workspaceId: string;+ applicationUniversalIdentifier: string;+ shouldRunUninstallHook: boolean;+ }): Promise<WorkspaceMigration> {if (shouldRunUninstallHook) {await this.applicationUninstallService.runUninstallHookBestEffort({application,diff --git a/packages/twenty-server/src/engine/core-modules/application/application.entity.ts b/packages/twenty-server/src/engine/core-modules/application/application.entity.tsindex f596ce86146..6eb2662be85 100644--- a/packages/twenty-server/src/engine/core-modules/application/application.entity.ts+++ b/packages/twenty-server/src/engine/core-modules/application/application.entity.ts@@ -17,6 +17,7 @@ import {import { ApplicationRegistrationEntity } from 'src/engine/core-modules/application/application-registration/application-registration.entity';import { ApplicationRegistrationSourceType } from 'src/engine/core-modules/application/application-registration/enums/application-registration-source-type.enum';+import { ApplicationState } from 'src/engine/core-modules/application/enums/application-state.enum';import { FileEntity } from 'src/engine/core-modules/file/entities/file.entity';import { ApplicationVariableEntity } from 'src/engine/core-modules/application/application-variable/application-variable.entity';import { PublicDomainEntity } from 'src/engine/core-modules/public-domain/public-domain.entity';@@ -78,6 +79,17 @@ export class ApplicationEntity extends WorkspaceRelatedEntity {@Column({ type: 'text', default: ApplicationRegistrationSourceType.LOCAL })sourceType: ApplicationRegistrationSourceType;+ @Column({+ nullable: false,+ type: 'text',+ default: ApplicationState.INSTALLED,+ })+ @WasIntroducedInUpgrade({+ upgradeCommandName:+ '2.38.0_AddStateToApplicationFastInstanceCommand_1788260646460',+ })+ state: ApplicationState;+@Column({ nullable: false, type: 'text' })sourcePath: string;diff --git a/packages/twenty-server/src/engine/core-modules/application/application.service.ts b/packages/twenty-server/src/engine/core-modules/application/application.service.tsindex d74c1142c39..e15f0ee0783 100644--- a/packages/twenty-server/src/engine/core-modules/application/application.service.ts+++ b/packages/twenty-server/src/engine/core-modules/application/application.service.ts@@ -17,6 +17,7 @@ import {ApplicationExceptionCode,} from 'src/engine/core-modules/application/application.exception';import { WORKSPACE_CUSTOM_APPLICATION_NAME } from 'src/engine/core-modules/application/constants/workspace-custom-application.constant';+import { ApplicationState } from 'src/engine/core-modules/application/enums/application-state.enum';import { type FlatApplication } from 'src/engine/core-modules/application/types/flat-application.type';import { FileStorageService } from 'src/engine/core-modules/file-storage/services/file-storage.service';import { WorkspaceEntity } from 'src/engine/core-modules/workspace/workspace.entity';@@ -623,6 +624,27 @@ export class ApplicationService {return updatedApplication;}+ async revertStateToInstalledBestEffort({+ applicationId,+ universalIdentifier,+ workspaceId,+ }: {+ applicationId: string;+ universalIdentifier: string;+ workspaceId: string;+ }): Promise<void> {+ try {+ await this.update(applicationId, {+ state: ApplicationState.INSTALLED,+ workspaceId,+ });+ } catch (error) {+ this.logger.warn(+ `State revert to INSTALLED did not complete for application ${universalIdentifier} in workspace ${workspaceId}, the row may or may not have been updated: ${error instanceof Error ? error.message : String(error)}`,+ );+ }+ }+async delete(universalIdentifier: string, workspaceId: string) {const application = await this.findByUniversalIdentifier({universalIdentifier,diff --git a/packages/twenty-server/src/engine/core-modules/application/dtos/application.dto.ts b/packages/twenty-server/src/engine/core-modules/application/dtos/application.dto.tsindex b5d3d56664b..0f9ad175000 100644--- a/packages/twenty-server/src/engine/core-modules/application/dtos/application.dto.ts+++ b/packages/twenty-server/src/engine/core-modules/application/dtos/application.dto.ts@@ -12,6 +12,7 @@ import GraphQLJSON from 'graphql-type-json';import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';import { ApplicationRegistrationSummaryDTO } from 'src/engine/core-modules/application/application-registration/dtos/application-registration-summary.dto';import { ApplicationVariableEntityDTO } from 'src/engine/core-modules/application/application-variable/dtos/application-variable.dto';+import { ApplicationState } from 'src/engine/core-modules/application/enums/application-state.enum';import { AgentDTO } from 'src/engine/metadata-modules/ai/ai-agent/dtos/agent.dto';import { CommandMenuItemDTO } from 'src/engine/metadata-modules/command-menu-item/dtos/command-menu-item.dto';import { FrontComponentDTO } from 'src/engine/metadata-modules/front-component/dtos/front-component.dto';@@ -55,6 +56,9 @@ export class ApplicationDTO {@Field()universalIdentifier: string;+ @Field(() => ApplicationState)+ state: ApplicationState;+@IsOptional()@IsString()@Field({ nullable: true })diff --git a/packages/twenty-server/src/engine/core-modules/application/enums/application-state.enum.ts b/packages/twenty-server/src/engine/core-modules/application/enums/application-state.enum.tsnew file mode 100644index 00000000000..c694604e93c--- /dev/null+++ b/packages/twenty-server/src/engine/core-modules/application/enums/application-state.enum.ts@@ -0,0 +1,12 @@+import { registerEnumType } from '@nestjs/graphql';++export enum ApplicationState {+ INSTALLING = 'INSTALLING',+ INSTALLED = 'INSTALLED',+ UPGRADING = 'UPGRADING',+ UNINSTALLING = 'UNINSTALLING',+}++registerEnumType(ApplicationState, {+ name: 'ApplicationState',+});diff --git a/packages/twenty-server/src/engine/core-modules/application/utils/from-flat-application-to-application-dto.util.ts b/packages/twenty-server/src/engine/core-modules/application/utils/from-flat-application-to-application-dto.util.tsindex 21b5db023b0..fb1b72bbb74 100644--- a/packages/twenty-server/src/engine/core-modules/application/utils/from-flat-application-to-application-dto.util.ts+++ b/packages/twenty-server/src/engine/core-modules/application/utils/from-flat-application-to-application-dto.util.ts@@ -1,4 +1,5 @@import { type ApplicationDTO } from 'src/engine/core-modules/application/dtos/application.dto';+import { ApplicationState } from 'src/engine/core-modules/application/enums/application-state.enum';import { type FlatApplication } from 'src/engine/core-modules/application/types/flat-application.type';export const fromFlatApplicationToApplicationDto = ({@@ -15,6 +16,7 @@ export const fromFlatApplicationToApplicationDto = ({availablePackages,universalIdentifier,version,+ state,settingsCustomTabFrontComponentId,}: FlatApplication): ApplicationDTO => {return {@@ -32,6 +34,7 @@ export const fromFlatApplicationToApplicationDto = ({availablePackages: availablePackages ?? {},universalIdentifier,version: version ?? undefined,+ state: state ?? ApplicationState.INSTALLED,settingsCustomTabFrontComponentId:settingsCustomTabFrontComponentId ?? undefined,};diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/__tests__/morph-relation-from-create-field-input-to-flat-field-metadatas-to-create.spec.ts b/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/__tests__/morph-relation-from-create-field-input-to-flat-field-metadatas-to-create.spec.tsindex da76efc2f58..436814b00d2 100644--- a/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/__tests__/morph-relation-from-create-field-input-to-flat-field-metadatas-to-create.spec.ts+++ b/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/__tests__/morph-relation-from-create-field-input-to-flat-field-metadatas-to-create.spec.ts@@ -6,6 +6,7 @@ import { FieldMetadataType } from 'twenty-shared/types';import { RelationType } from 'src/engine/metadata-modules/field-metadata/interfaces/relation-type.interface';import { ApplicationRegistrationSourceType } from 'src/engine/core-modules/application/application-registration/enums/application-registration-source-type.enum';+import { ApplicationState } from 'src/engine/core-modules/application/enums/application-state.enum';import { type FlatApplication } from 'src/engine/core-modules/application/types/flat-application.type';import { createEmptyFlatEntityMaps } from 'src/engine/metadata-modules/flat-entity/constant/create-empty-flat-entity-maps.constant';import { type FlatEntityMaps } from 'src/engine/metadata-modules/flat-entity/types/flat-entity-maps.type';@@ -30,6 +31,7 @@ const MOCK_FLAT_APPLICATION: FlatApplication = {workspaceId: 'workspace-id',version: null,sourceType: ApplicationRegistrationSourceType.LOCAL,+ state: ApplicationState.INSTALLED,sourcePath: '',packageJsonChecksum: null,packageJsonFileId: null,diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/utils/__tests__/generate-morph-or-relation-flat-field-metadata-pair.spec.ts b/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/utils/__tests__/generate-morph-or-relation-flat-field-metadata-pair.spec.tsindex ab593e2cb90..86bc2b1b587 100644--- a/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/utils/__tests__/generate-morph-or-relation-flat-field-metadata-pair.spec.ts+++ b/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/utils/__tests__/generate-morph-or-relation-flat-field-metadata-pair.spec.ts@@ -7,6 +7,7 @@ import {} from 'twenty-shared/types';import { ApplicationRegistrationSourceType } from 'src/engine/core-modules/application/application-registration/enums/application-registration-source-type.enum';+import { ApplicationState } from 'src/engine/core-modules/application/enums/application-state.enum';import { type FlatApplication } from 'src/engine/core-modules/application/types/flat-application.type';import {generateMorphOrRelationFlatFieldMetadataPair,@@ -25,6 +26,7 @@ const MOCK_FLAT_APPLICATION: FlatApplication = {version: null,workspaceId: 'workspace-id',sourceType: ApplicationRegistrationSourceType.LOCAL,+ state: ApplicationState.INSTALLED,sourcePath: '',packageJsonChecksum: null,packageJsonFileId: null,diff --git a/packages/twenty-server/test/integration/metadata/suites/application/failing-application-version-progression.integration-spec.ts b/packages/twenty-server/test/integration/metadata/suites/application/failing-application-version-progression.integration-spec.tsindex 3b7f4b40263..8f9274e8303 100644--- a/packages/twenty-server/test/integration/metadata/suites/application/failing-application-version-progression.integration-spec.ts+++ b/packages/twenty-server/test/integration/metadata/suites/application/failing-application-version-progression.integration-spec.ts@@ -29,6 +29,15 @@ const buildTarball = (version: string): Promise<Buffer> =>}),});+const findApplicationState = async (): Promise<string> => {+ const [application] = await globalThis.testDataSource.query(+ `SELECT state FROM core."application" WHERE "universalIdentifier" = $1`,+ [APP_UNIVERSAL_IDENTIFIER],+ );++ return application.state;+};+describe('Application version progression gate', () => {beforeAll(async () => {jest.useRealTimers();@@ -84,6 +93,8 @@ describe('Application version progression gate', () => {input: { universalIdentifier: APP_UNIVERSAL_IDENTIFIER },});+ expect(await findApplicationState()).toBe('INSTALLED');+const { errors } = await installApplication({input: { universalIdentifier: APP_UNIVERSAL_IDENTIFIER },expectToFail: true,@@ -93,5 +104,7 @@ describe('Application version progression gate', () => {errors,normalizeMessage: scrubSemverVersions,});++ expect(await findApplicationState()).toBe('INSTALLED');});});