Skip to content

The open alternative to Salesforce, designed for AI.

Add a deprecated attribute to app manifest variables (#23868)

Raphaël Bosia921c30087d0
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
index b8d152bdce1..aa3a5d966da 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
@@ -5,42 +5,24 @@ interface BillingProductDTO {
metadata: BillingProductMetadata!
}
-type ApplicationRegistrationVariable {
+type ApiKey {
id: UUID!
- key: String!
- description: String!
- isSecret: Boolean!
- isRequired: Boolean!
- type: String!
- options: JSON
- isFilled: Boolean!
+ name: String!
+ expiresAt: DateTime!
+ revokedAt: DateTime
createdAt: DateTime!
updatedAt: DateTime!
+ role: Role!
}
"""A UUID scalar type"""
scalar UUID
-"""
-The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
-"""
-scalar JSON
-
"""
A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
"""
scalar DateTime
-type ApiKey {
- id: UUID!
- name: String!
- expiresAt: DateTime!
- revokedAt: DateTime
- createdAt: DateTime!
- updatedAt: DateTime!
- role: Role!
-}
-
type ApplicationRegistrationSummary {
id: UUID!
latestAvailableVersion: String
@@ -61,10 +43,16 @@ type ApplicationVariable {
value: String!
description: String!
isSecret: Boolean!
+ isDeprecated: Boolean!
type: String!
options: JSON
}
+"""
+The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
+"""
+scalar JSON
+
type Agent {
id: UUID!
name: String!
@@ -1760,13 +1748,14 @@ type WorkspaceUrls {
subdomainUrl: String!
}
-type ApplicationRegistrationVariableDTO {
+type ApplicationRegistrationVariable {
id: UUID!
key: String!
value: String
description: String!
isSecret: Boolean!
isRequired: Boolean!
+ isDeprecated: Boolean!
isFilled: Boolean!
type: String!
options: JSON
@@ -3291,7 +3280,7 @@ type Query {
findManyApplicationRegistrations: [ApplicationRegistration!]!
findOneApplicationRegistration(id: String!): ApplicationRegistration!
findApplicationRegistrationStats(id: String!): ApplicationRegistrationStats!
- findApplicationRegistrationVariables(applicationRegistrationId: String!): [ApplicationRegistrationVariableDTO!]!
+ findApplicationRegistrationVariables(applicationRegistrationId: String!): [ApplicationRegistrationVariable!]!
applicationRegistrationTarballUrl(id: String!): String
findClaimableApplicationRegistration(sourcePackage: String, universalIdentifier: String): ClaimableApplicationRegistration
githubClaimAuthorizationUrl(applicationRegistrationId: String!): String!
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.ts b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
index 7d488d132b1..226e8a20097 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
@@ -1,10 +1,10 @@
// @ts-nocheck
export type Scalars = {
String: string,
- Boolean: boolean,
UUID: string,
- JSON: Record<string, unknown>,
DateTime: string,
+ Boolean: boolean,
+ JSON: Record<string, unknown>,
Float: number,
Int: number,
ConnectionCursor: any,
@@ -15,20 +15,6 @@ export type Scalars = {
export type BillingProductDTO = (BillingLicensedProduct | BillingMeteredProduct) & { __isUnion?: true }
-export interface ApplicationRegistrationVariable {
- id: Scalars['UUID']
- key: Scalars['String']
- description: Scalars['String']
- isSecret: Scalars['Boolean']
- isRequired: Scalars['Boolean']
- type: Scalars['String']
- options?: Scalars['JSON']
- isFilled: Scalars['Boolean']
- createdAt: Scalars['DateTime']
- updatedAt: Scalars['DateTime']
- __typename: 'ApplicationRegistrationVariable'
-}
-
export interface ApiKey {
id: Scalars['UUID']
name: Scalars['String']
@@ -56,6 +42,7 @@ export interface ApplicationVariable {
value: Scalars['String']
description: Scalars['String']
isSecret: Scalars['Boolean']
+ isDeprecated: Scalars['Boolean']
type: Scalars['String']
options?: Scalars['JSON']
__typename: 'ApplicationVariable'
@@ -1416,19 +1403,20 @@ export interface WorkspaceUrls {
__typename: 'WorkspaceUrls'
}
-export interface ApplicationRegistrationVariableDTO {
+export interface ApplicationRegistrationVariable {
id: Scalars['UUID']
key: Scalars['String']
value?: Scalars['String']
description: Scalars['String']
isSecret: Scalars['Boolean']
isRequired: Scalars['Boolean']
+ isDeprecated: Scalars['Boolean']
isFilled: Scalars['Boolean']
type: Scalars['String']
options?: Scalars['JSON']
createdAt: Scalars['DateTime']
updatedAt: Scalars['DateTime']
- __typename: 'ApplicationRegistrationVariableDTO'
+ __typename: 'ApplicationRegistrationVariable'
}
export interface VersionDistributionEntry {
@@ -2907,7 +2895,7 @@ export interface Query {
findManyApplicationRegistrations: ApplicationRegistration[]
findOneApplicationRegistration: ApplicationRegistration
findApplicationRegistrationStats: ApplicationRegistrationStats
- findApplicationRegistrationVariables: ApplicationRegistrationVariableDTO[]
+ findApplicationRegistrationVariables: ApplicationRegistrationVariable[]
applicationRegistrationTarballUrl?: Scalars['String']
findClaimableApplicationRegistration?: ClaimableApplicationRegistration
githubClaimAuthorizationUrl: Scalars['String']
@@ -3242,21 +3230,6 @@ export interface BillingProductDTOGenqlSelection{
__scalar?: boolean | number
}
-export interface ApplicationRegistrationVariableGenqlSelection{
- id?: boolean | number
- key?: boolean | number
- description?: boolean | number
- isSecret?: boolean | number
- isRequired?: boolean | number
- type?: boolean | number
- options?: boolean | number
- isFilled?: boolean | number
- createdAt?: boolean | number
- updatedAt?: boolean | number
- __typename?: boolean | number
- __scalar?: boolean | number
-}
-
export interface ApiKeyGenqlSelection{
id?: boolean | number
name?: boolean | number
@@ -3284,6 +3257,7 @@ export interface ApplicationVariableGenqlSelection{
value?: boolean | number
description?: boolean | number
isSecret?: boolean | number
+ isDeprecated?: boolean | number
type?: boolean | number
options?: boolean | number
__typename?: boolean | number
@@ -4695,13 +4669,14 @@ export interface WorkspaceUrlsGenqlSelection{
__scalar?: boolean | number
}
-export interface ApplicationRegistrationVariableDTOGenqlSelection{
+export interface ApplicationRegistrationVariableGenqlSelection{
id?: boolean | number
key?: boolean | number
value?: boolean | number
description?: boolean | number
isSecret?: boolean | number
isRequired?: boolean | number
+ isDeprecated?: boolean | number
isFilled?: boolean | number
type?: boolean | number
options?: boolean | number
@@ -6277,7 +6252,7 @@ export interface QueryGenqlSelection{
findManyApplicationRegistrations?: ApplicationRegistrationGenqlSelection
findOneApplicationRegistration?: (ApplicationRegistrationGenqlSelection & { __args: {id: Scalars['String']} })
findApplicationRegistrationStats?: (ApplicationRegistrationStatsGenqlSelection & { __args: {id: Scalars['String']} })
- findApplicationRegistrationVariables?: (ApplicationRegistrationVariableDTOGenqlSelection & { __args: {applicationRegistrationId: Scalars['String']} })
+ findApplicationRegistrationVariables?: (ApplicationRegistrationVariableGenqlSelection & { __args: {applicationRegistrationId: Scalars['String']} })
applicationRegistrationTarballUrl?: { __args: {id: Scalars['String']} }
findClaimableApplicationRegistration?: (ClaimableApplicationRegistrationGenqlSelection & { __args?: {sourcePackage?: (Scalars['String'] | null), universalIdentifier?: (Scalars['String'] | null)} })
githubClaimAuthorizationUrl?: { __args: {applicationRegistrationId: Scalars['String']} }
@@ -7045,14 +7020,6 @@ export interface LogicFunctionLogsInput {applicationId?: (Scalars['UUID'] | null
- const ApplicationRegistrationVariable_possibleTypes: string[] = ['ApplicationRegistrationVariable']
- export const isApplicationRegistrationVariable = (obj?: { __typename?: any } | null): obj is ApplicationRegistrationVariable => {
- if (!obj?.__typename) throw new Error('__typename is missing in "isApplicationRegistrationVariable"')
- return ApplicationRegistrationVariable_possibleTypes.includes(obj.__typename)
- }
-
-
-
const ApiKey_possibleTypes: string[] = ['ApiKey']
export const isApiKey = (obj?: { __typename?: any } | null): obj is ApiKey => {
if (!obj?.__typename) throw new Error('__typename is missing in "isApiKey"')
@@ -7957,10 +7924,10 @@ export interface LogicFunctionLogsInput {applicationId?: (Scalars['UUID'] | null
- const ApplicationRegistrationVariableDTO_possibleTypes: string[] = ['ApplicationRegistrationVariableDTO']
- export const isApplicationRegistrationVariableDTO = (obj?: { __typename?: any } | null): obj is ApplicationRegistrationVariableDTO => {
- if (!obj?.__typename) throw new Error('__typename is missing in "isApplicationRegistrationVariableDTO"')
- return ApplicationRegistrationVariableDTO_possibleTypes.includes(obj.__typename)
+ const ApplicationRegistrationVariable_possibleTypes: string[] = ['ApplicationRegistrationVariable']
+ export const isApplicationRegistrationVariable = (obj?: { __typename?: any } | null): obj is ApplicationRegistrationVariable => {
+ if (!obj?.__typename) throw new Error('__typename is missing in "isApplicationRegistrationVariable"')
+ return ApplicationRegistrationVariable_possibleTypes.includes(obj.__typename)
}
diff --git a/packages/twenty-client-sdk/src/metadata/generated/types.ts b/packages/twenty-client-sdk/src/metadata/generated/types.ts
index 2e31ee458a2..0eb47964907 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/types.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/types.ts
@@ -3,94 +3,94 @@ export default {
1,
3,
4,
- 5,
6,
+ 8,
9,
+ 15,
16,
17,
- 18,
- 23,
- 25,
+ 22,
+ 24,
+ 26,
27,
- 28,
+ 34,
35,
36,
37,
- 38,
- 41,
- 43,
- 51,
- 53,
- 55,
- 57,
- 60,
+ 40,
+ 42,
+ 50,
+ 52,
+ 54,
+ 56,
+ 59,
+ 62,
63,
64,
65,
66,
- 67,
+ 68,
69,
- 70,
+ 71,
72,
- 73,
- 80,
- 83,
+ 79,
+ 82,
+ 87,
88,
- 89,
+ 91,
92,
- 93,
- 95,
+ 94,
+ 97,
98,
- 99,
- 109,
- 123,
+ 108,
+ 122,
+ 128,
129,
130,
- 131,
- 133,
- 142,
- 144,
- 152,
- 155,
- 157,
- 172,
+ 132,
+ 141,
+ 143,
+ 151,
+ 154,
+ 156,
+ 171,
+ 178,
179,
- 180,
- 187,
- 190,
- 193,
- 205,
- 222,
- 224,
- 229,
- 232,
- 241,
- 247,
- 283,
+ 186,
+ 189,
+ 192,
+ 204,
+ 221,
+ 223,
+ 228,
+ 231,
+ 240,
+ 246,
+ 282,
+ 284,
285,
286,
287,
288,
289,
290,
- 291,
+ 297,
298,
- 299,
- 302,
- 339,
- 345,
+ 301,
+ 338,
+ 344,
+ 346,
347,
348,
349,
- 350,
- 352,
- 354,
- 367,
- 374,
+ 351,
+ 353,
+ 366,
+ 373,
+ 380,
381,
- 382,
- 494,
- 516
+ 493,
+ 515
],
"types": {
"BillingProductDTO": {
@@ -104,93 +104,56 @@ export default {
1
],
"metadata": [
- 128
+ 127
],
"on_BillingLicensedProduct": [
- 137
+ 136
],
"on_BillingMeteredProduct": [
- 138
+ 137
],
"__typename": [
1
]
},
"String": {},
- "ApplicationRegistrationVariable": {
- "id": [
- 4
- ],
- "key": [
- 1
- ],
- "description": [
- 1
- ],
- "isSecret": [
- 3
- ],
- "isRequired": [
- 3
- ],
- "type": [
- 1
- ],
- "options": [
- 5
- ],
- "isFilled": [
- 3
- ],
- "createdAt": [
- 6
- ],
- "updatedAt": [
- 6
- ],
- "__typename": [
- 1
- ]
- },
- "Boolean": {},
- "UUID": {},
- "JSON": {},
- "DateTime": {},
"ApiKey": {
"id": [
- 4
+ 3
],
"name": [
1
],
"expiresAt": [
- 6
+ 4
],
"revokedAt": [
- 6
+ 4
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"role": [
- 47
+ 46
],
"__typename": [
1
]
},
+ "UUID": {},
+ "DateTime": {},
"ApplicationRegistrationSummary": {
"id": [
- 4
+ 3
],
"latestAvailableVersion": [
1
],
"sourceType": [
- 9
+ 6
],
"logoUrl": [
1
@@ -202,7 +165,7 @@ export default {
"ApplicationRegistrationSourceType": {},
"ApplicationVariable": {
"id": [
- 4
+ 3
],
"key": [
1
@@ -214,21 +177,26 @@ export default {
1
],
"isSecret": [
- 3
+ 8
+ ],
+ "isDeprecated": [
+ 8
],
"type": [
1
],
"options": [
- 5
+ 9
],
"__typename": [
1
]
},
+ "Boolean": {},
+ "JSON": {},
"Agent": {
"id": [
- 4
+ 3
],
"name": [
1
@@ -249,25 +217,25 @@ export default {
1
],
"responseFormat": [
- 5
+ 9
],
"roleId": [
- 4
+ 3
],
"isCustom": [
- 3
+ 8
],
"applicationId": [
- 4
+ 3
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"modelConfiguration": [
- 5
+ 9
],
"evaluationInputs": [
1
@@ -281,7 +249,7 @@ export default {
1
],
"expiresAt": [
- 6
+ 4
],
"__typename": [
1
@@ -289,10 +257,10 @@ export default {
},
"ApplicationTokenPair": {
"applicationAccessToken": [
- 12
+ 11
],
"applicationRefreshToken": [
- 12
+ 11
],
"__typename": [
1
@@ -300,7 +268,7 @@ export default {
},
"FrontComponent": {
"id": [
- 4
+ 3
],
"name": [
1
@@ -321,28 +289,28 @@ export default {
1
],
"universalIdentifier": [
- 4
+ 3
],
"applicationId": [
- 4
+ 3
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"isHeadless": [
- 3
+ 8
],
"usesSdkClient": [
- 3
+ 8
],
"applicationTokenPair": [
- 13
+ 12
],
"applicationVariables": [
- 5
+ 9
],
"frontComponentSharedDependenciesChecksum": [
1
@@ -353,19 +321,19 @@ export default {
},
"CommandMenuItem": {
"id": [
- 4
+ 3
],
"workflowVersionId": [
- 4
+ 3
],
"frontComponentId": [
- 4
+ 3
],
"frontComponent": [
- 14
+ 13
],
"engineComponentKey": [
- 17
+ 16
],
"label": [
1
@@ -377,16 +345,16 @@ export default {
1
],
"position": [
- 16
+ 15
],
"isPinned": [
- 3
+ 8
],
"availabilityType": [
- 18
+ 17
],
"payload": [
- 19
+ 18
],
"hotKeys": [
1
@@ -395,25 +363,25 @@ export default {
1
],
"availabilityObjectMetadataId": [
- 4
+ 3
],
"pageLayoutId": [
- 4
+ 3
],
"universalIdentifier": [
- 4
+ 3
],
"applicationId": [
- 4
+ 3
],
"isActive": [
- 3
+ 8
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"__typename": [
1
@@ -424,10 +392,10 @@ export default {
"CommandMenuItemAvailabilityType": {},
"CommandMenuItemPayload": {
"on_PathCommandMenuItemPayload": [
- 20
+ 19
],
"on_ObjectMetadataCommandMenuItemPayload": [
- 21
+ 20
],
"__typename": [
1
@@ -443,7 +411,7 @@ export default {
},
"ObjectMetadataCommandMenuItemPayload": {
"objectMetadataItemId": [
- 4
+ 3
],
"__typename": [
1
@@ -451,7 +419,7 @@ export default {
},
"LogicFunction": {
"id": [
- 4
+ 3
],
"name": [
1
@@ -463,10 +431,10 @@ export default {
1
],
"timeoutSeconds": [
- 16
+ 15
],
"executionMode": [
- 23
+ 22
],
"sourceHandlerPath": [
1
@@ -475,31 +443,31 @@ export default {
1
],
"cronTriggerSettings": [
- 5
+ 9
],
"databaseEventTriggerSettings": [
- 5
+ 9
],
"httpRouteTriggerSettings": [
- 5
+ 9
],
"toolTriggerSettings": [
- 5
+ 9
],
"workflowActionTriggerSettings": [
- 5
+ 9
],
"applicationId": [
- 4
+ 3
],
"universalIdentifier": [
- 4
+ 3
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"__typename": [
1
@@ -508,7 +476,7 @@ export default {
"LogicFunctionExecutionMode": {},
"Object": {
"id": [
- 4
+ 3
],
"universalIdentifier": [
1
@@ -538,84 +506,84 @@ export default {
1
],
"isRemote": [
- 3
+ 8
],
"isActive": [
- 3
+ 8
],
"isSystem": [
- 3
+ 8
],
"isUIEditable": [
- 3
+ 8
],
"isUICreatable": [
- 3
+ 8
],
"isUIReadOnly": [
- 3
+ 8
],
"isSearchable": [
- 3
+ 8
],
"openRecordIn": [
- 25
+ 24
],
"applicationId": [
- 4
+ 3
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"labelIdentifierFieldMetadataId": [
- 4
+ 3
],
"imageIdentifierFieldMetadataId": [
- 4
+ 3
],
"isLabelSyncedWithName": [
- 3
+ 8
],
"duplicateCriteria": [
1
],
"fields": [
- 236,
+ 235,
{
"paging": [
- 26,
+ 25,
"CursorPaging!"
],
"filter": [
- 29,
+ 28,
"FieldFilter!"
]
}
],
"indexMetadatas": [
- 237,
+ 236,
{
"paging": [
- 26,
+ 25,
"CursorPaging!"
],
"filter": [
- 32,
+ 31,
"IndexFilter!"
]
}
],
"fieldsList": [
- 223
+ 222
],
"indexMetadataList": [
- 231
+ 230
],
"searchFieldMetadataList": [
- 239
+ 238
],
"__typename": [
1
@@ -624,16 +592,16 @@ export default {
"ObjectOpenRecordIn": {},
"CursorPaging": {
"before": [
- 28
+ 27
],
"after": [
- 28
+ 27
],
"first": [
- 27
+ 26
],
"last": [
- 27
+ 26
],
"__typename": [
1
@@ -643,28 +611,28 @@ export default {
"ConnectionCursor": {},
"FieldFilter": {
"and": [
- 29
+ 28
],
"or": [
- 29
+ 28
],
"id": [
- 30
+ 29
],
"isActive": [
- 31
+ 30
],
"isSystem": [
- 31
+ 30
],
"isUIEditable": [
- 31
+ 30
],
"isUIReadOnly": [
- 31
+ 30
],
"objectMetadataId": [
- 30
+ 29
],
"__typename": [
1
@@ -672,46 +640,46 @@ export default {
},
"UUIDFilterComparison": {
"is": [
- 3
+ 8
],
"isNot": [
- 3
+ 8
],
"eq": [
- 4
+ 3
],
"neq": [
- 4
+ 3
],
"gt": [
- 4
+ 3
],
"gte": [
- 4
+ 3
],
"lt": [
- 4
+ 3
],
"lte": [
- 4
+ 3
],
"like": [
- 4
+ 3
],
"notLike": [
- 4
+ 3
],
"iLike": [
- 4
+ 3
],
"notILike": [
- 4
+ 3
],
"in": [
- 4
+ 3
],
"notIn": [
- 4
+ 3
],
"__typename": [
1
@@ -719,10 +687,10 @@ export default {
},
"BooleanFieldComparison": {
"is": [
- 3
+ 8
],
"isNot": [
- 3
+ 8
],
"__typename": [
1
@@ -730,16 +698,16 @@ export default {
},
"IndexFilter": {
"and": [
- 32
+ 31
],
"or": [
- 32
+ 31
],
"id": [
- 30
+ 29
],
"isCustom": [
- 31
+ 30
],
"__typename": [
1
@@ -758,10 +726,10 @@ export default {
},
"WorkspaceMember": {
"id": [
- 4
+ 3
],
"name": [
- 33
+ 32
],
"userEmail": [
1
@@ -770,7 +738,7 @@ export default {
1
],
"openRecordIn": [
- 35
+ 34
],
"avatarUrl": [
1
@@ -779,25 +747,25 @@ export default {
1
],
"calendarStartDay": [
- 27
+ 26
],
"timeZone": [
1
],
"dateFormat": [
- 36
+ 35
],
"timeFormat": [
- 37
+ 36
],
"roles": [
- 47
+ 46
],
"userWorkspaceId": [
- 4
+ 3
],
"numberFormat": [
- 38
+ 37
],
"__typename": [
1
@@ -809,22 +777,22 @@ export default {
"WorkspaceMemberNumberFormatEnum": {},
"FieldPermission": {
"id": [
- 4
+ 3
],
"objectMetadataId": [
- 4
+ 3
],
"fieldMetadataId": [
- 4
+ 3
],
"roleId": [
- 4
+ 3
],
"canReadFieldValue": [
- 3
+ 8
],
"canUpdateFieldValue": [
- 3
+ 8
],
"__typename": [
1
@@ -838,10 +806,10 @@ export default {
1
],
"logicalOperator": [
- 41
+ 40
],
"positionInRowLevelPermissionPredicateGroup": [
- 16
+ 15
],
"roleId": [
1
@@ -865,7 +833,7 @@ export default {
1
],
"operand": [
- 43
+ 42
],
"subFieldName": [
1
@@ -880,13 +848,13 @@ export default {
1
],
"positionInRowLevelPermissionPredicateGroup": [
- 16
+ 15
],
"roleId": [
1
],
"value": [
- 5
+ 9
],
"__typename": [
1
@@ -895,28 +863,28 @@ export default {
"RowLevelPermissionPredicateOperand": {},
"ObjectPermission": {
"objectMetadataId": [
- 4
+ 3
],
"canReadObjectRecords": [
- 3
+ 8
],
"canUpdateObjectRecords": [
- 3
+ 8
],
"canSoftDeleteObjectRecords": [
- 3
+ 8
],
"canDestroyObjectRecords": [
- 3
+ 8
],
"restrictedFields": [
- 5
+ 9
],
"rowLevelPermissionPredicates": [
- 42
+ 41
],
"rowLevelPermissionPredicateGroups": [
- 40
+ 39
],
"__typename": [
1
@@ -924,10 +892,10 @@ export default {
},
"RolePermissionFlag": {
"id": [
- 4
+ 3
],
"roleId": [
- 4
+ 3
],
"flag": [
1
@@ -938,16 +906,16 @@ export default {
},
"ApiKeyForRole": {
"id": [
- 4
+ 3
],
"name": [
1
],
"expiresAt": [
- 6
+ 4
],
"revokedAt": [
- 6
+ 4
],
"__typename": [
1
@@ -955,10 +923,10 @@ export default {
},
"Role": {
"id": [
- 4
+ 3
],
"universalIdentifier": [
- 4
+ 3
],
"label": [
1
@@ -970,58 +938,58 @@ export default {
1
],
"isEditable": [
- 3
+ 8
],
"canBeAssignedToUsers": [
- 3
+ 8
],
"canBeAssignedToAgents": [
- 3
+ 8
],
"canBeAssignedToApiKeys": [
- 3
+ 8
],
"workspaceMembers": [
- 34
+ 33
],
"agents": [
- 11
+ 10
],
"apiKeys": [
- 46
+ 45
],
"canUpdateAllSettings": [
- 3
+ 8
],
"canAccessAllTools": [
- 3
+ 8
],
"canReadAllObjectRecords": [
- 3
+ 8
],
"canUpdateAllObjectRecords": [
- 3
+ 8
],
"canSoftDeleteAllObjectRecords": [
- 3
+ 8
],
"canDestroyAllObjectRecords": [
- 3
+ 8
],
"permissionFlags": [
- 45
+ 44
],
"objectPermissions": [
- 44
+ 43
],
"fieldPermissions": [
- 39
+ 38
],
"rowLevelPermissionPredicates": [
- 42
+ 41
],
"rowLevelPermissionPredicateGroups": [
- 40
+ 39
],
"__typename": [
1
@@ -1029,7 +997,7 @@ export default {
},
"Application": {
"id": [
- 4
+ 3
],
"name": [
1
@@ -1038,7 +1006,7 @@ export default {
1
],
"logoFileId": [
- 4
+ 3
],
"version": [
1
@@ -1050,55 +1018,55 @@ export default {
1
],
"packageJsonFileId": [
- 4
+ 3
],
"yarnLockChecksum": [
1
],
"yarnLockFileId": [
- 4
+ 3
],
"availablePackages": [
- 5
+ 9
],
"applicationRegistrationId": [
- 4
+ 3
],
"canBeUninstalled": [
- 3
+ 8
],
"autoUpgrade": [
- 3
+ 8
],
"defaultRoleId": [
1
],
"settingsCustomTabFrontComponentId": [
- 4
+ 3
],
"defaultLogicFunctionRole": [
- 47
+ 46
],
"agents": [
- 11
+ 10
],
"frontComponents": [
- 14
+ 13
],
"commandMenuItems": [
- 15
+ 14
],
"logicFunctions": [
- 22
+ 21
],
"objects": [
- 24
+ 23
],
"applicationVariables": [
- 10
+ 7
],
"applicationRegistration": [
- 8
+ 5
],
"logoUrl": [
1
@@ -1109,7 +1077,7 @@ export default {
},
"TwoFactorAuthenticationMethodSummary": {
"twoFactorAuthenticationMethodId": [
- 4
+ 3
],
"status": [
1
@@ -1123,40 +1091,40 @@ export default {
},
"UserWorkspace": {
"id": [
- 4
+ 3
],
"user": [
- 71
+ 70
],
"userId": [
- 4
+ 3
],
"locale": [
1
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"deletedAt": [
- 6
+ 4
],
"permissionFlags": [
- 51
+ 50
],
"objectPermissions": [
- 44
+ 43
],
"objectsPermissions": [
- 44
+ 43
],
"twoFactorAuthenticationMethodSummary": [
- 49
+ 48
],
"isImpersonating": [
- 3
+ 8
],
"__typename": [
1
@@ -1165,55 +1133,55 @@ export default {
"PermissionFlagType": {},
"ViewField": {
"id": [
- 4
+ 3
],
"universalIdentifier": [
- 4
+ 3
],
"applicationId": [
- 4
+ 3
],
"isSystemSideEffect": [
- 3
+ 8
],
"fieldMetadataId": [
- 4
+ 3
],
"isVisible": [
- 3
+ 8
],
"size": [
- 16
+ 15
],
"position": [
- 16
+ 15
],
"aggregateOperation": [
- 53
+ 52
],
"viewId": [
- 4
+ 3
],
"viewFieldGroupId": [
- 4
+ 3
],
"workspaceId": [
- 4
+ 3
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"isActive": [
- 3
+ 8
],
"deletedAt": [
- 6
+ 4
],
"isOverridden": [
- 3
+ 8
],
"__typename": [
1
@@ -1222,31 +1190,31 @@ export default {
"AggregateOperations": {},
"ViewFilterGroup": {
"id": [
- 4
+ 3
],
"parentViewFilterGroupId": [
- 4
+ 3
],
"logicalOperator": [
- 55
+ 54
],
"positionInViewFilterGroup": [
- 16
+ 15
],
"viewId": [
- 4
+ 3
],
"workspaceId": [
- 4
+ 3
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"deletedAt": [
- 6
+ 4
],
"__typename": [
1
@@ -1255,43 +1223,43 @@ export default {
"ViewFilterGroupLogicalOperator": {},
"ViewFilter": {
"id": [
- 4
+ 3
],
"fieldMetadataId": [
- 4
+ 3
],
"operand": [
- 57
+ 56
],
"value": [
- 5
+ 9
],
"viewFilterGroupId": [
- 4
+ 3
],
"positionInViewFilterGroup": [
- 16
+ 15
],
"subFieldName": [
1
],
"relationTargetFieldMetadataId": [
- 4
+ 3
],
"viewId": [
- 4
+ 3
],
"workspaceId": [
- 4
+ 3
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"deletedAt": [
- 6
+ 4
],
"__typename": [
1
@@ -1300,31 +1268,31 @@ export default {
"ViewFilterOperand": {},
"ViewGroup": {
"id": [
- 4
+ 3
],
"isVisible": [
- 3
+ 8
],
"fieldValue": [
1
],
"position": [
- 16
+ 15
],
"viewId": [
- 4
+ 3
],
"workspaceId": [
- 4
+ 3
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"deletedAt": [
- 6
+ 4
],
"__typename": [
1
@@ -1332,31 +1300,31 @@ export default {
},
"ViewSort": {
"id": [
- 4
+ 3
],
"fieldMetadataId": [
- 4
+ 3
],
"direction": [
- 60
+ 59
],
"subFieldName": [
1
],
"viewId": [
- 4
+ 3
],
"workspaceId": [
- 4
+ 3
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"deletedAt": [
- 6
+ 4
],
"__typename": [
1
@@ -1365,40 +1333,40 @@ export default {
"ViewSortDirection": {},
"ViewFieldGroup": {
"id": [
- 4
+ 3
],
"name": [
1
],
"position": [
- 16
+ 15
],
"isVisible": [
- 3
+ 8
],
"viewId": [
- 4
+ 3
],
"workspaceId": [
- 4
+ 3
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"isActive": [
- 3
+ 8
],
"deletedAt": [
- 6
+ 4
],
"viewFields": [
- 52
+ 51
],
"isOverridden": [
- 3
+ 8
],
"__typename": [
1
@@ -1406,109 +1374,109 @@ export default {
},
"View": {
"id": [
- 4
+ 3
],
"universalIdentifier": [
- 4
+ 3
],
"applicationId": [
- 4
+ 3
],
"isSystemSideEffect": [
- 3
+ 8
],
"name": [
1
],
"objectMetadataId": [
- 4
+ 3
],
"type": [
- 63
+ 62
],
"key": [
- 64
+ 63
],
"icon": [
1
],
"position": [
- 16
+ 15
],
"isCompact": [
- 3
+ 8
],
"isCustom": [
- 3
+ 8
],
"openRecordIn": [
- 65
+ 64
],
"kanbanAggregateOperation": [
- 53
+ 52
],
"kanbanAggregateOperationFieldMetadataId": [
- 4
+ 3
],
"mainGroupByFieldMetadataId": [
- 4
+ 3
],
"shouldHideEmptyGroups": [
- 3
+ 8
],
"kanbanColumnWidth": [
- 27
+ 26
],
"calendarFieldMetadataId": [
- 4
+ 3
],
"calendarEndFieldMetadataId": [
- 4
+ 3
],
"workspaceId": [
- 4
+ 3
],
"anyFieldFilterValue": [
1
],
"calendarLayout": [
- 66
+ 65
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"deletedAt": [
- 6
+ 4
],
"viewFields": [
- 52
+ 51
],
"viewFilters": [
- 56
+ 55
],
"viewFilterGroups": [
- 54
+ 53
],
"viewSorts": [
- 59
+ 58
],
"viewGroups": [
- 58
+ 57
],
"viewFieldGroups": [
- 61
+ 60
],
"visibility": [
- 67
+ 66
],
"createdByUserWorkspaceId": [
- 4
+ 3
],
"isActive": [
- 3
+ 8
],
"__typename": [
1
@@ -1521,7 +1489,7 @@ export default {
"ViewVisibility": {},
"Workspace": {
"id": [
- 4
+ 3
],
"displayName": [
1
@@ -1530,61 +1498,61 @@ export default {
1
],
"logoFileId": [
- 4
+ 3
],
"inviteHash": [
1
],
"deletedAt": [
- 6
+ 4
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"allowImpersonation": [
- 3
+ 8
],
"isPublicInviteLinkEnabled": [
- 3
+ 8
],
"workspaceDiscoverability": [
- 69
+ 68
],
"trashRetentionDays": [
- 16
+ 15
],
"eventLogRetentionDays": [
- 16
+ 15
],
"workspaceMembersCount": [
- 16
+ 15
],
"activationStatus": [
- 70
+ 69
],
"views": [
- 62
+ 61
],
"viewFields": [
- 52
+ 51
],
"viewFilters": [
- 56
+ 55
],
"viewFilterGroups": [
- 54
+ 53
],
"viewGroups": [
- 58
+ 57
],
"viewSorts": [
- 59
+ 58
],
"metadataVersion": [
- 16
+ 15
],
"databaseSchema": [
1
@@ -1596,37 +1564,37 @@ export default {
1
],
"isGoogleAuthEnabled": [
- 3
+ 8
],
"isGoogleAuthBypassEnabled": [
- 3
+ 8
],
"isTwoFactorAuthenticationEnforced": [
- 3
+ 8
],
"isPasswordAuthEnabled": [
- 3
+ 8
],
"isPasswordAuthBypassEnabled": [
- 3
+ 8
],
"isMicrosoftAuthEnabled": [
- 3
+ 8
],
"isMicrosoftAuthBypassEnabled": [
- 3
+ 8
],
"isCustomDomainEnabled": [
- 3
+ 8
],
"isInternalMessagesImportEnabled": [
- 3
+ 8
],
"editableProfileFields": [
1
],
"defaultRole": [
- 47
+ 46
],
"fastModel": [
1
@@ -1641,40 +1609,40 @@ export default {
1
],
"useRecommendedModels": [
- 3
+ 8
],
"routerModel": [
1
],
"workspaceCustomApplication": [
- 48
+ 47
],
"featureFlags": [
- 171
+ 170
],
"billingSubscriptions": [
- 141
+ 140
],
"installedApplications": [
- 48
+ 47
],
"currentBillingSubscription": [
- 141
+ 140
],
"billingCustomer": [
- 140
+ 139
],
"billingEntitlements": [
- 240
+ 239
],
"hasValidSignedEnterpriseKey": [
- 3
+ 8
],
"hasValidEnterpriseValidityToken": [
- 3
+ 8
],
"workspaceUrls": [
- 173
+ 172
],
"workspaceCustomApplicationId": [
1
@@ -1687,7 +1655,7 @@ export default {
"WorkspaceActivationStatus": {},
"User": {
"id": [
- 4
+ 3
],
"firstName": [
1
@@ -1699,67 +1667,67 @@ export default {
1
],
"isEmailVerified": [
- 3
+ 8
],
"disabled": [
- 3
+ 8
],
"canImpersonate": [
- 3
+ 8
],
"canAccessFullAdminPanel": [
- 3
+ 8
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"deletedAt": [
- 6
+ 4
],
"locale": [
1
],
"workspaceMember": [
- 34
+ 33
],
"userWorkspaces": [
- 50
+ 49
],
"onboardingStatus": [
- 72
+ 71
],
"currentWorkspace": [
- 68
+ 67
],
"currentUserWorkspace": [
- 50
+ 49
],
"userVars": [
- 73
+ 72
],
"workspaceMembers": [
- 34
+ 33
],
"deletedWorkspaceMembers": [
- 215
+ 214
],
"hasPassword": [
- 3
+ 8
],
"supportUserHash": [
1
],
"isWorkspaceCreator": [
- 3
+ 8
],
"workspaces": [
- 50
+ 49
],
"availableWorkspaces": [
- 214
+ 213
],
"__typename": [
1
@@ -1769,7 +1737,7 @@ export default {
"JSONObject": {},
"ApplicationRegistration": {
"id": [
- 4
+ 3
],
"universalIdentifier": [
1
@@ -1787,10 +1755,10 @@ export default {
1
],
"ownerWorkspaceId": [
- 4
+ 3
],
"sourceType": [
- 9
+ 6
],
"sourcePackage": [
1
@@ -1799,22 +1767,22 @@ export default {
1
],
"isListed": [
- 3
+ 8
],
"isVetted": [
- 3
+ 8
],
"isPreInstalled": [
- 3
+ 8
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"isConfigured": [
- 3
+ 8
],
"logoUrl": [
1
@@ -1839,7 +1807,7 @@ export default {
},
"RatioAggregateConfig": {
"fieldMetadataId": [
- 4
+ 3
],
"optionValue": [
1
@@ -1861,16 +1829,16 @@ export default {
},
"GridPosition": {
"row": [
- 16
+ 15
],
"column": [
- 16
+ 15
],
"rowSpan": [
- 16
+ 15
],
"columnSpan": [
- 16
+ 15
],
"__typename": [
1
@@ -1878,58 +1846,58 @@ export default {
},
"PageLayoutWidget": {
"id": [
- 4
+ 3
],
"universalIdentifier": [
- 4
+ 3
],
"isSystemSideEffect": [
- 3
+ 8
],
"applicationId": [
- 4
+ 3
],
"pageLayoutTabId": [
- 4
+ 3
],
"title": [
1
],
"type": [
- 80
+ 79
],
"objectMetadataId": [
- 4
+ 3
],
"gridPosition": [
- 78
+ 77
],
"position": [
- 81
+ 80
],
"configuration": [
- 86
+ 85
],
"conditionalDisplay": [
- 5
+ 9
],
"conditionalAvailabilityExpression": [
1
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"isActive": [
- 3
+ 8
],
"deletedAt": [
- 6
+ 4
],
"isOverridden": [
- 3
+ 8
],
"__typename": [
1
@@ -1938,13 +1906,13 @@ export default {
"WidgetType": {},
"PageLayoutWidgetPosition": {
"on_PageLayoutWidgetGridPosition": [
- 82
+ 81
],
"on_PageLayoutWidgetVerticalListPosition": [
- 84
+ 83
],
"on_PageLayoutWidgetCanvasPosition": [
- 85
+ 84
],
"__typename": [
1
@@ -1952,19 +1920,19 @@ export default {
},
"PageLayoutWidgetGridPosition": {
"layoutMode": [
- 83
+ 82
],
"row": [
- 27
+ 26
],
"column": [
- 27
+ 26
],
"rowSpan": [
- 27
+ 26
],
"columnSpan": [
- 27
+ 26
],
"__typename": [
1
@@ -1973,10 +1941,10 @@ export default {
"PageLayoutTabLayoutMode": {},
"PageLayoutWidgetVerticalListPosition": {
"layoutMode": [
- 83
+ 82
],
"index": [
- 27
+ 26
],
"__typename": [
1
@@ -1984,7 +1952,7 @@ export default {
},
"PageLayoutWidgetCanvasPosition": {
"layoutMode": [
- 83
+ 82
],
"__typename": [
1
@@ -1992,82 +1960,82 @@ export default {
},
"WidgetConfiguration": {
"on_AggregateChartConfiguration": [
- 87
+ 86
],
"on_StandaloneRichTextConfiguration": [
- 90
+ 89
],
"on_PieChartConfiguration": [
- 91
+ 90
],
"on_LineChartConfiguration": [
- 94
+ 93
],
"on_IframeConfiguration": [
- 96
+ 95
],
"on_BarChartConfiguration": [
- 97
+ 96
],
"on_CalendarConfiguration": [
- 100
+ 99
],
"on_FrontComponentConfiguration": [
- 101
+ 100
],
"on_EmailsConfiguration": [
- 102
+ 101
],
"on_EmailThreadConfiguration": [
- 103
+ 102
],
"on_CallRecordingSummaryConfiguration": [
- 104
+ 103
],
"on_CallRecordingTranscriptConfiguration": [
- 105
+ 104
],
"on_MessageCampaignBodyConfiguration": [
- 106
+ 105
],
"on_MessageCampaignDetailsConfiguration": [
- 107
+ 106
],
"on_FieldConfiguration": [
- 108
+ 107
],
"on_FieldRichTextConfiguration": [
- 110
+ 109
],
"on_FieldsConfiguration": [
- 111
+ 110
],
"on_FilesConfiguration": [
- 112
+ 111
],
"on_NotesConfiguration": [
- 113
+ 112
],
"on_TasksConfiguration": [
- 114
+ 113
],
"on_TimelineConfiguration": [
- 115
+ 114
],
"on_ViewConfiguration": [
- 116
+ 115
],
"on_RecordTableConfiguration": [
- 117
+ 116
],
"on_WorkflowConfiguration": [
- 118
+ 117
],
"on_WorkflowRunConfiguration": [
- 119
+ 118
],
"on_WorkflowVersionConfiguration": [
- 120
+ 119
],
"__typename": [
1
@@ -2075,34 +2043,34 @@ export default {
},
"AggregateChartConfiguration": {
"configurationType": [
- 88
+ 87
],
"aggregateFieldMetadataId": [
- 4
+ 3
],
"aggregateOperation": [
- 53
+ 52
],
"label": [
1
],
"displayDataLabel": [
- 3
+ 8
],
"numberFormat": [
- 89
+ 88
],
"description": [
1
],
"filter": [
- 5
+ 9
],
"timezone": [
1
],
"firstDayOfTheWeek": [
- 27
+ 26
],
"prefix": [
1
@@ -2111,7 +2079,7 @@ export default {
1
],
"ratioAggregateConfig": [
- 76
+ 75
],
"__typename": [
1
@@ -2121,10 +2089,10 @@ export default {
"ChartNumberFormat": {},
"StandaloneRichTextConfiguration": {
"configurationType": [
- 88
+ 87
],
"body": [
- 77
+ 76
],
"__typename": [
1
@@ -2132,46 +2100,46 @@ export default {
},
"PieChartConfiguration": {
"configurationType": [
- 88
+ 87
],
"aggregateFieldMetadataId": [
- 4
+ 3
],
"aggregateOperation": [
- 53
+ 52
],
"groupByFieldMetadataId": [
- 4
+ 3
],
"groupBySubFieldName": [
1
],
"dateGranularity": [
- 92
+ 91
],
"orderBy": [
- 93
+ 92
],
"manualSortOrder": [
1
],
"displayDataLabel": [
- 3
+ 8
],
"showCenterMetric": [
- 3
+ 8
],
"displayLegend": [
- 3
+ 8
],
"hideEmptyCategory": [
- 3
+ 8
],
"numberFormat": [
- 89
+ 88
],
"splitMultiValueFields": [
- 3
+ 8
],
"description": [
1
@@ -2180,13 +2148,13 @@ export default {
1
],
"filter": [
- 5
+ 9
],
"timezone": [
1
],
"firstDayOfTheWeek": [
- 27
+ 26
],
"__typename": [
1
@@ -2196,67 +2164,67 @@ export default {
"GraphOrderBy": {},
"LineChartConfiguration": {
"configurationType": [
- 88
+ 87
],
"aggregateFieldMetadataId": [
- 4
+ 3
],
"aggregateOperation": [
- 53
+ 52
],
"primaryAxisGroupByFieldMetadataId": [
- 4
+ 3
],
"primaryAxisGroupBySubFieldName": [
1
],
"primaryAxisDateGranularity": [
- 92
+ 91
],
"primaryAxisOrderBy": [
- 93
+ 92
],
"primaryAxisManualSortOrder": [
1
],
"secondaryAxisGroupByFieldMetadataId": [
- 4
+ 3
],
"secondaryAxisGroupBySubFieldName": [
1
],
"secondaryAxisGroupByDateGranularity": [
- 92
+ 91
],
"secondaryAxisOrderBy": [
- 93
+ 92
],
"secondaryAxisManualSortOrder": [
1
],
"omitNullValues": [
- 3
+ 8
],
"splitMultiValueFields": [
- 3
+ 8
],
"axisNameDisplay": [
- 95
+ 94
],
"displayDataLabel": [
- 3
+ 8
],
"displayLegend": [
- 3
+ 8
],
"numberFormat": [
- 89
+ 88
],
"rangeMin": [
- 16
+ 15
],
"rangeMax": [
- 16
+ 15
],
"description": [
1
@@ -2265,19 +2233,19 @@ export default {
1
],
"filter": [
- 5
+ 9
],
"isStacked": [
- 3
+ 8
],
"isCumulative": [
- 3
+ 8
],
"timezone": [
1
],
"firstDayOfTheWeek": [
- 27
+ 26
],
"__typename": [
1
@@ -2286,7 +2254,7 @@ export default {
"AxisNameDisplay": {},
"IframeConfiguration": {
"configurationType": [
- 88
+ 87
],
"url": [
1
@@ -2297,67 +2265,67 @@ export default {
},
"BarChartConfiguration": {
"configurationType": [
- 88
+ 87
],
"aggregateFieldMetadataId": [
- 4
+ 3
],
"aggregateOperation": [
- 53
+ 52
],
"primaryAxisGroupByFieldMetadataId": [
- 4
+ 3
],
"primaryAxisGroupBySubFieldName": [
1
],
"primaryAxisDateGranularity": [
- 92
+ 91
],
"primaryAxisOrderBy": [
- 93
+ 92
],
"primaryAxisManualSortOrder": [
1
],
"secondaryAxisGroupByFieldMetadataId": [
- 4
+ 3
],
"secondaryAxisGroupBySubFieldName": [
1
],
"secondaryAxisGroupByDateGranularity": [
- 92
+ 91
],
"secondaryAxisOrderBy": [
- 93
+ 92
],
"secondaryAxisManualSortOrder": [
1
],
"omitNullValues": [
- 3
+ 8
],
"splitMultiValueFields": [
- 3
+ 8
],
"axisNameDisplay": [
- 95
+ 94
],
"displayDataLabel": [
- 3
+ 8
],
"displayLegend": [
- 3
+ 8
],
"numberFormat": [
- 89
+ 88
],
"rangeMin": [
- 16
+ 15
],
"rangeMax": [
- 16
+ 15
],
"description": [
1
@@ -2366,22 +2334,22 @@ export default {
1
],
"filter": [
- 5
+ 9
],
"groupMode": [
- 98
+ 97
],
"layout": [
- 99
+ 98
],
"isCumulative": [
- 3
+ 8
],
"timezone": [
1
],
"firstDayOfTheWeek": [
- 27
+ 26
],
"__typename": [
1
@@ -2391,7 +2359,7 @@ export default {
"BarChartLayout": {},
"CalendarConfiguration": {
"configurationType": [
- 88
+ 87
],
"__typename": [
1
@@ -2399,10 +2367,10 @@ export default {
},
"FrontComponentConfiguration": {
"configurationType": [
- 88
+ 87
],
"frontComponentId": [
- 4
+ 3
],
"__typename": [
1
@@ -2410,7 +2378,7 @@ export default {
},
"EmailsConfiguration": {
"configurationType": [
- 88
+ 87
],
"__typename": [
1
@@ -2418,7 +2386,7 @@ export default {
},
"EmailThreadConfiguration": {
"configurationType": [
- 88
+ 87
],
"__typename": [
1
@@ -2426,7 +2394,7 @@ export default {
},
"CallRecordingSummaryConfiguration": {
"configurationType": [
- 88
+ 87
],
"__typename": [
1
@@ -2434,7 +2402,7 @@ export default {
},
"CallRecordingTranscriptConfiguration": {
"configurationType": [
- 88
+ 87
],
"__typename": [
1
@@ -2442,7 +2410,7 @@ export default {
},
"MessageCampaignBodyConfiguration": {
"configurationType": [
- 88
+ 87
],
"__typename": [
1
@@ -2450,7 +2418,7 @@ export default {
},
"MessageCampaignDetailsConfiguration": {
"configurationType": [
- 88
+ 87
],
"__typename": [
1
@@ -2458,13 +2426,13 @@ export default {
},
"FieldConfiguration": {
"configurationType": [
- 88
+ 87
],
"fieldMetadataId": [
1
],
"fieldDisplayMode": [
- 109
+ 108
],
"viewId": [
1
@@ -2479,7 +2447,7 @@ export default {
"FieldDisplayMode": {},
"FieldRichTextConfiguration": {
"configurationType": [
- 88
+ 87
],
"__typename": [
1
@@ -2487,16 +2455,16 @@ export default {
},
"FieldsConfiguration": {
"configurationType": [
- 88
+ 87
],
"viewId": [
1
],
"newFieldDefaultVisibility": [
- 3
+ 8
],
"shouldAllowUserToSeeHiddenFields": [
- 3
+ 8
],
"__typename": [
1
@@ -2504,7 +2472,7 @@ export default {
},
"FilesConfiguration": {
"configurationType": [
- 88
+ 87
],
"__typename": [
1
@@ -2512,7 +2480,7 @@ export default {
},
"NotesConfiguration": {
"configurationType": [
- 88
+ 87
],
"__typename": [
1
@@ -2520,7 +2488,7 @@ export default {
},
"TasksConfiguration": {
"configurationType": [
- 88
+ 87
],
"__typename": [
1
@@ -2528,7 +2496,7 @@ export default {
},
"TimelineConfiguration": {
"configurationType": [
- 88
+ 87
],
"__typename": [
1
@@ -2536,7 +2504,7 @@ export default {
},
"ViewConfiguration": {
"configurationType": [
- 88
+ 87
],
"__typename": [
1
@@ -2544,13 +2512,13 @@ export default {
},
"RecordTableConfiguration": {
"configurationType": [
- 88
+ 87
],
"viewId": [
1
],
"recordLimit": [
- 27
+ 26
],
"__typename": [
1
@@ -2558,7 +2526,7 @@ export default {
},
"WorkflowConfiguration": {
"configurationType": [
- 88
+ 87
],
"__typename": [
1
@@ -2566,7 +2534,7 @@ export default {
},
"WorkflowRunConfiguration": {
"configurationType": [
- 88
+ 87
],
"__typename": [
1
@@ -2574,7 +2542,7 @@ export default {
},
"WorkflowVersionConfiguration": {
"configurationType": [
- 88
+ 87
],
"__typename": [
1
@@ -2582,49 +2550,49 @@ export default {
},
"PageLayoutTab": {
"id": [
- 4
+ 3
],
"universalIdentifier": [
- 4
+ 3
],
"isSystemSideEffect": [
- 3
+ 8
],
"applicationId": [
- 4
+ 3
],
"title": [
1
],
"position": [
- 16
+ 15
],
"pageLayoutId": [
- 4
+ 3
],
"widgets": [
- 79
+ 78
],
"icon": [
1
],
"layoutMode": [
- 83
+ 82
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"isActive": [
- 3
+ 8
],
"deletedAt": [
- 6
+ 4
],
"isOverridden": [
- 3
+ 8
],
"__typename": [
1
@@ -2632,40 +2600,40 @@ export default {
},
"PageLayout": {
"id": [
- 4
+ 3
],
"name": [
1
],
"type": [
- 123
+ 122
],
"objectMetadataId": [
- 4
+ 3
],
"tabs": [
- 121
+ 120
],
"defaultTabToFocusOnMobileAndSidePanelId": [
- 4
+ 3
],
"universalIdentifier": [
- 4
+ 3
],
"applicationId": [
- 4
+ 3
],
"isSystemSideEffect": [
- 3
+ 8
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"deletedAt": [
- 6
+ 4
],
"__typename": [
1
@@ -2677,7 +2645,7 @@ export default {
1
],
"isClientCredentialsConfigured": [
- 3
+ 8
],
"__typename": [
1
@@ -2685,7 +2653,7 @@ export default {
},
"ApplicationConnectionProvider": {
"id": [
- 4
+ 3
],
"applicationId": [
1
@@ -2700,7 +2668,7 @@ export default {
1
],
"oauth": [
- 124
+ 123
],
"__typename": [
1
@@ -2711,7 +2679,7 @@ export default {
1
],
"quantity": [
- 16
+ 15
],
"__typename": [
1
@@ -2719,13 +2687,13 @@ export default {
},
"BillingSubscriptionSchedulePhase": {
"start_date": [
- 16
+ 15
],
"end_date": [
- 16
+ 15
],
"items": [
- 126
+ 125
],
"__typename": [
1
@@ -2733,13 +2701,13 @@ export default {
},
"BillingProductMetadata": {
"planKey": [
- 129
+ 128
],
"priceUsageBased": [
- 130
+ 129
],
"productKey": [
- 131
+ 130
],
"__typename": [
1
@@ -2750,19 +2718,19 @@ export default {
"BillingProductKey": {},
"BillingPriceLicensed": {
"recurringInterval": [
- 133
+ 132
],
"unitAmount": [
- 16
+ 15
],
"stripePriceId": [
1
],
"priceUsageType": [
- 130
+ 129
],
"creditAmount": [
- 16
+ 15
],
"__typename": [
1
@@ -2771,13 +2739,13 @@ export default {
"SubscriptionInterval": {},
"BillingPriceTier": {
"upTo": [
- 16
+ 15
],
"flatAmount": [
- 16
+ 15
],
"unitAmount": [
- 16
+ 15
],
"__typename": [
1
@@ -2785,16 +2753,16 @@ export default {
},
"BillingPriceMetered": {
"tiers": [
- 134
+ 133
],
"recurringInterval": [
- 133
+ 132
],
"stripePriceId": [
1
],
"priceUsageType": [
- 130
+ 129
],
"__typename": [
1
@@ -2811,7 +2779,7 @@ export default {
1
],
"metadata": [
- 128
+ 127
],
"__typename": [
1
@@ -2828,10 +2796,10 @@ export default {
1
],
"metadata": [
- 128
+ 127
],
"prices": [
- 132
+ 131
],
"__typename": [
1
@@ -2848,10 +2816,10 @@ export default {
1
],
"metadata": [
- 128
+ 127
],
"prices": [
- 135
+ 134
],
"__typename": [
1
@@ -2859,13 +2827,13 @@ export default {
},
"BillingSubscriptionItem": {
"id": [
- 4
+ 3
],
"hasReachedCurrentPeriodCap": [
- 3
+ 8
],
"quantity": [
- 16
+ 15
],
"stripePriceId": [
1
@@ -2879,10 +2847,10 @@ export default {
},
"BillingCustomer": {
"id": [
- 4
+ 3
],
"hasPaymentMethod": [
- 3
+ 8
],
"__typename": [
1
@@ -2890,28 +2858,28 @@ export default {
},
"BillingSubscription": {
"id": [
- 4
+ 3
],
"status": [
- 142
+ 141
],
"interval": [
- 133
+ 132
],
"billingSubscriptionItems": [
- 139
+ 138
],
"currentPeriodEnd": [
- 6
+ 4
],
"metadata": [
- 5
+ 9
],
"phases": [
- 127
+ 126
],
"cancelAt": [
- 6
+ 4
],
"__typename": [
1
@@ -2920,19 +2888,19 @@ export default {
"SubscriptionStatus": {},
"LogicFunctionExecutionResult": {
"data": [
- 5
+ 9
],
"logs": [
1
],
"duration": [
- 16
+ 15
],
"status": [
- 144
+ 143
],
"error": [
- 5
+ 9
],
"__typename": [
1
@@ -2941,13 +2909,13 @@ export default {
"LogicFunctionExecutionStatus": {},
"EnterpriseLicenseInfoDTO": {
"isValid": [
- 3
+ 8
],
"licensee": [
1
],
"expiresAt": [
- 6
+ 4
],
"subscriptionId": [
1
@@ -2964,16 +2932,16 @@ export default {
1
],
"expiresAt": [
- 6
+ 4
],
"cancelAt": [
- 6
+ 4
],
"currentPeriodEnd": [
- 6
+ 4
],
"isCancellationScheduled": [
- 3
+ 8
],
"__typename": [
1
@@ -2981,16 +2949,16 @@ export default {
},
"ApprovedAccessDomain": {
"id": [
- 4
+ 3
],
"domain": [
1
],
"isValidated": [
- 3
+ 8
],
"createdAt": [
- 6
+ 4
],
"__typename": [
1
@@ -2998,16 +2966,16 @@ export default {
},
"FileWithSignedUrl": {
"id": [
- 4
+ 3
],
"path": [
1
],
"size": [
- 16
+ 15
],
"createdAt": [
- 6
+ 4
],
"url": [
1
@@ -3018,7 +2986,7 @@ export default {
},
"FileUploadTarget": {
"fileId": [
- 4
+ 3
],
"uploadUrl": [
1
@@ -3027,7 +2995,7 @@ export default {
1
],
"expiresAt": [
- 6
+ 4
],
"__typename": [
1
@@ -3035,7 +3003,7 @@ export default {
},
"RecordIdentifier": {
"id": [
- 4
+ 3
],
"labelIdentifier": [
1
@@ -3049,22 +3017,22 @@ export default {
},
"NavigationMenuItem": {
"id": [
- 4
+ 3
],
"userWorkspaceId": [
- 4
+ 3
],
"targetRecordId": [
- 4
+ 3
],
"targetObjectMetadataId": [
- 4
+ 3
],
"viewId": [
- 4
+ 3
],
"type": [
- 152
+ 151
],
"name": [
1
@@ -3079,25 +3047,25 @@ export default {
1
],
"folderId": [
- 4
+ 3
],
"pageLayoutId": [
- 4
+ 3
],
"position": [
- 16
+ 15
],
"applicationId": [
- 4
+ 3
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"targetRecordIdentifier": [
- 150
+ 149
],
"__typename": [
1
@@ -3109,13 +3077,13 @@ export default {
1
],
"before": [
- 5
+ 9
],
"after": [
- 5
+ 9
],
"diff": [
- 5
+ 9
],
"__typename": [
1
@@ -3123,7 +3091,7 @@ export default {
},
"MetadataEvent": {
"type": [
- 155
+ 154
],
"metadataName": [
1
@@ -3132,7 +3100,7 @@ export default {
1
],
"properties": [
- 153
+ 152
],
"updatedCollectionHash": [
1
@@ -3144,7 +3112,7 @@ export default {
"MetadataEventAction": {},
"ObjectRecordEvent": {
"action": [
- 157
+ 156
],
"objectNameSingular": [
1
@@ -3159,7 +3127,7 @@ export default {
1
],
"properties": [
- 153
+ 152
],
"__typename": [
1
@@ -3171,7 +3139,7 @@ export default {
1
],
"objectRecordEvent": [
- 156
+ 155
],
"__typename": [
1
@@ -3182,10 +3150,10 @@ export default {
1
],
"objectRecordEventsWithQueryIds": [
- 158
+ 157
],
"metadataEvents": [
- 154
+ 153
],
"__typename": [
1
@@ -3193,16 +3161,16 @@ export default {
},
"UserSession": {
"id": [
- 4
+ 3
],
"workspaceId": [
- 4
+ 3
],
"authProvider": [
1
],
"isImpersonating": [
- 3
+ 8
],
"userAgent": [
1
@@ -3211,16 +3179,16 @@ export default {
1
],
"createdAt": [
- 6
+ 4
],
"lastActiveAt": [
- 6
+ 4
],
"expiresAt": [
- 6
+ 4
],
"isCurrent": [
- 3
+ 8
],
"__typename": [
1
@@ -3228,19 +3196,19 @@ export default {
},
"BillingEndTrialPeriod": {
"status": [
- 142
+ 141
],
"hasPaymentMethod": [
- 3
+ 8
],
"billingPortalUrl": [
1
],
"currentBillingSubscription": [
- 141
+ 140
],
"billingSubscriptions": [
- 141
+ 140
],
"__typename": [
1
@@ -3248,28 +3216,28 @@ export default {
},
"BillingResourceCreditUsage": {
"productKey": [
- 131
+ 130
],
"periodStart": [
- 6
+ 4
],
"periodEnd": [
- 6
+ 4
],
"usedCredits": [
- 16
+ 15
],
"grantedCredits": [
- 16
+ 15
],
"rolloverCredits": [
- 16
+ 15
],
"totalGrantedCredits": [
- 16
+ 15
],
"unitPriceCents": [
- 16
+ 15
],
"__typename": [
1
@@ -3277,16 +3245,16 @@ export default {
},
"BillingPlan": {
"planKey": [
- 129
+ 128
],
"baseProducts": [
- 137
+ 136
],
"resourceCreditProducts": [
- 137
+ 136
],
"meteredProducts": [
- 138
+ 137
],
"__typename": [
1
@@ -3313,10 +3281,10 @@ export default {
},
"BillingUpdate": {
"currentBillingSubscription": [
- 141
+ 140
],
"billingSubscriptions": [
- 141
+ 140
],
"__typename": [
1
@@ -3335,7 +3303,7 @@ export default {
},
"OnboardingStepSuccess": {
"success": [
- 3
+ 8
],
"__typename": [
1
@@ -3343,16 +3311,16 @@ export default {
},
"WorkspaceInvitation": {
"id": [
- 4
+ 3
],
"email": [
1
],
"roleId": [
- 4
+ 3
],
"expiresAt": [
- 6
+ 4
],
"__typename": [
1
@@ -3360,13 +3328,13 @@ export default {
},
"SendInvitations": {
"success": [
- 3
+ 8
],
"errors": [
1
],
"result": [
- 169
+ 168
],
"__typename": [
1
@@ -3374,10 +3342,10 @@ export default {
},
"FeatureFlag": {
"key": [
- 172
+ 171
],
"value": [
- 3
+ 8
],
"__typename": [
1
@@ -3395,9 +3363,9 @@ export default {
1
]
},
- "ApplicationRegistrationVariableDTO": {
+ "ApplicationRegistrationVariable": {
"id": [
- 4
+ 3
],
"key": [
1
@@ -3409,25 +3377,28 @@ export default {
1
],
"isSecret": [
- 3
+ 8
],
"isRequired": [
- 3
+ 8
+ ],
+ "isDeprecated": [
+ 8
],
"isFilled": [
- 3
+ 8
],
"type": [
1
],
"options": [
- 5
+ 9
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"__typename": [
1
@@ -3438,7 +3409,7 @@ export default {
1
],
"count": [
- 27
+ 26
],
"__typename": [
1
@@ -3446,13 +3417,13 @@ export default {
},
"ApplicationRegistrationStats": {
"activeInstalls": [
- 27
+ 26
],
"mostInstalledVersion": [
1
],
"versionDistribution": [
- 175
+ 174
],
"__typename": [
1
@@ -3460,10 +3431,10 @@ export default {
},
"BillingTrialPeriod": {
"duration": [
- 16
+ 15
],
"isCreditCardRequired": [
- 3
+ 8
],
"__typename": [
1
@@ -3471,16 +3442,16 @@ export default {
},
"SSOIdentityProvider": {
"id": [
- 4
+ 3
],
"name": [
1
],
"type": [
- 179
+ 178
],
"status": [
- 180
+ 179
],
"issuer": [
1
@@ -3493,19 +3464,19 @@ export default {
"SSOIdentityProviderStatus": {},
"AuthProviders": {
"sso": [
- 178
+ 177
],
"google": [
- 3
+ 8
],
"magicLink": [
- 3
+ 8
],
"password": [
- 3
+ 8
],
"microsoft": [
- 3
+ 8
],
"__typename": [
1
@@ -3513,13 +3484,13 @@ export default {
},
"AuthBypassProviders": {
"google": [
- 3
+ 8
],
"password": [
- 3
+ 8
],
"microsoft": [
- 3
+ 8
],
"__typename": [
1
@@ -3527,13 +3498,13 @@ export default {
},
"PublicWorkspaceData": {
"id": [
- 4
+ 3
],
"authProviders": [
- 181
+ 180
],
"authBypassProviders": [
- 182
+ 181
],
"logo": [
1
@@ -3542,7 +3513,7 @@ export default {
1
],
"workspaceUrls": [
- 173
+ 172
],
"__typename": [
1
@@ -3550,7 +3521,7 @@ export default {
},
"PublicWorkspaceDataSummary": {
"id": [
- 4
+ 3
],
"logo": [
1
@@ -3564,10 +3535,10 @@ export default {
},
"NativeModelCapabilities": {
"webSearch": [
- 3
+ 8
],
"twitterSearch": [
- 3
+ 8
],
"__typename": [
1
@@ -3581,7 +3552,7 @@ export default {
1
],
"modelFamily": [
- 187
+ 186
],
"modelFamilyLabel": [
1
@@ -3590,19 +3561,19 @@ export default {
1
],
"inputCostPerMillionTokens": [
- 16
+ 15
],
"outputCostPerMillionTokens": [
- 16
+ 15
],
"nativeCapabilities": [
- 185
+ 184
],
"isDeprecated": [
- 3
+ 8
],
"isRecommended": [
- 3
+ 8
],
"providerName": [
1
@@ -3611,10 +3582,10 @@ export default {
1
],
"contextWindowTokens": [
- 16
+ 15
],
"maxOutputTokens": [
- 16
+ 15
],
"dataResidency": [
1
@@ -3626,7 +3597,7 @@ export default {
"ModelFamily": {},
"Billing": {
"isBillingEnabled": [
- 3
+ 8
],
"billingUrl": [
1
@@ -3635,7 +3606,7 @@ export default {
1
],
"trialPeriods": [
- 177
+ 176
],
"__typename": [
1
@@ -3643,7 +3614,7 @@ export default {
},
"Support": {
"supportDriver": [
- 190
+ 189
],
"supportFrontChatId": [
1
@@ -3669,7 +3640,7 @@ export default {
},
"Captcha": {
"provider": [
- 193
+ 192
],
"siteKey": [
1
@@ -3681,7 +3652,7 @@ export default {
"CaptchaDriverType": {},
"ApiConfig": {
"mutationMaximumAffectedRecords": [
- 16
+ 15
],
"__typename": [
1
@@ -3706,10 +3677,10 @@ export default {
},
"PublicFeatureFlag": {
"key": [
- 172
+ 171
],
"metadata": [
- 195
+ 194
],
"__typename": [
1
@@ -3717,10 +3688,10 @@ export default {
},
"ClientConfigMaintenanceMode": {
"startAt": [
- 6
+ 4
],
"endAt": [
- 6
+ 4
],
"link": [
1
@@ -3734,22 +3705,22 @@ export default {
1
],
"authProviders": [
- 181
+ 180
],
"billing": [
- 188
+ 187
],
"aiModels": [
- 186
+ 185
],
"signInPrefilled": [
- 3
+ 8
],
"isMultiWorkspaceEnabled": [
- 3
+ 8
],
"isEmailVerificationRequired": [
- 3
+ 8
],
"defaultSubdomain": [
1
@@ -3761,82 +3732,82 @@ export default {
1
],
"analyticsEnabled": [
- 3
+ 8
],
"support": [
- 189
+ 188
],
"isAttachmentPreviewEnabled": [
- 3
+ 8
],
"sentry": [
- 191
+ 190
],
"captcha": [
- 192
+ 191
],
"api": [
- 194
+ 193
],
"canManageFeatureFlags": [
- 3
+ 8
],
"publicFeatureFlags": [
- 196
+ 195
],
"isCookieSessionEnabled": [
- 3
+ 8
],
"isMicrosoftMessagingEnabled": [
- 3
+ 8
],
"isMicrosoftCalendarEnabled": [
- 3
+ 8
],
"isGoogleMessagingEnabled": [
- 3
+ 8
],
"isGoogleCalendarEnabled": [
- 3
+ 8
],
"isConfigVariablesInDbEnabled": [
- 3
+ 8
],
"isImapSmtpCaldavEnabled": [
- 3
+ 8
],
"isEmailingDomainInDemoMode": [
- 3
+ 8
],
"allowRequestsToTwentyIcons": [
- 3
+ 8
],
"calendarBookingPageId": [
1
],
"isBookCallOnboardingStepEnabled": [
- 3
+ 8
],
"isCompanyEnrichmentEnabled": [
- 3
+ 8
],
"isCloudflareIntegrationEnabled": [
- 3
+ 8
],
"isClickHouseConfigured": [
- 3
+ 8
],
"isWorkspaceSchemaDDLLocked": [
- 3
+ 8
],
"isOnboardingAiChatEnabled": [
- 3
+ 8
],
"enterpriseInstanceType": [
1
],
"maintenance": [
- 197
+ 196
],
"__typename": [
1
@@ -3850,7 +3821,7 @@ export default {
1
],
"creditsUsed": [
- 16
+ 15
],
"__typename": [
1
@@ -3879,7 +3850,7 @@ export default {
1
],
"isOwned": [
- 3
+ 8
],
"__typename": [
1
@@ -3887,7 +3858,7 @@ export default {
},
"CreateApplicationRegistration": {
"applicationRegistration": [
- 74
+ 73
],
"clientSecret": [
1
@@ -3898,7 +3869,7 @@ export default {
},
"PublicApplicationRegistration": {
"id": [
- 4
+ 3
],
"name": [
1
@@ -3926,7 +3897,7 @@ export default {
},
"AppConnection": {
"id": [
- 205
+ 204
],
"providerName": [
1
@@ -3959,7 +3930,7 @@ export default {
"ID": {},
"ResendEmailVerificationToken": {
"success": [
- 3
+ 8
],
"__typename": [
1
@@ -3967,7 +3938,7 @@ export default {
},
"DeleteSso": {
"identityProviderId": [
- 4
+ 3
],
"__typename": [
1
@@ -3975,10 +3946,10 @@ export default {
},
"EditSso": {
"id": [
- 4
+ 3
],
"type": [
- 179
+ 178
],
"issuer": [
1
@@ -3987,7 +3958,7 @@ export default {
1
],
"status": [
- 180
+ 179
],
"__typename": [
1
@@ -3998,7 +3969,7 @@ export default {
1
],
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -4006,10 +3977,10 @@ export default {
},
"FindAvailableSSOIDP": {
"type": [
- 179
+ 178
],
"id": [
- 4
+ 3
],
"issuer": [
1
@@ -4018,10 +3989,10 @@ export default {
1
],
"status": [
- 180
+ 179
],
"workspace": [
- 209
+ 208
],
"__typename": [
1
@@ -4029,10 +4000,10 @@ export default {
},
"SetupSso": {
"id": [
- 4
+ 3
],
"type": [
- 179
+ 178
],
"issuer": [
1
@@ -4041,7 +4012,7 @@ export default {
1
],
"status": [
- 180
+ 179
],
"__typename": [
1
@@ -4049,10 +4020,10 @@ export default {
},
"SSOConnection": {
"type": [
- 179
+ 178
],
"id": [
- 4
+ 3
],
"issuer": [
1
@@ -4061,7 +4032,7 @@ export default {
1
],
"status": [
- 180
+ 179
],
"__typename": [
1
@@ -4069,7 +4040,7 @@ export default {
},
"AvailableWorkspace": {
"id": [
- 4
+ 3
],
"displayName": [
1
@@ -4084,13 +4055,13 @@ export default {
1
],
"workspaceUrls": [
- 173
+ 172
],
"logo": [
1
],
"sso": [
- 212
+ 211
],
"__typename": [
1
@@ -4098,10 +4069,10 @@ export default {
},
"AvailableWorkspaces": {
"availableWorkspacesForSignIn": [
- 213
+ 212
],
"availableWorkspacesForSignUp": [
- 213
+ 212
],
"__typename": [
1
@@ -4109,10 +4080,10 @@ export default {
},
"DeletedWorkspaceMember": {
"id": [
- 4
+ 3
],
"name": [
- 33
+ 32
],
"userEmail": [
1
@@ -4121,7 +4092,7 @@ export default {
1
],
"userWorkspaceId": [
- 4
+ 3
],
"__typename": [
1
@@ -4150,7 +4121,7 @@ export default {
1
],
"isVetted": [
- 3
+ 8
],
"__typename": [
1
@@ -4164,16 +4135,16 @@ export default {
1
],
"canReadObjectRecords": [
- 3
+ 8
],
"canUpdateObjectRecords": [
- 3
+ 8
],
"canSoftDeleteObjectRecords": [
- 3
+ 8
],
"canDestroyObjectRecords": [
- 3
+ 8
],
"__typename": [
1
@@ -4190,10 +4161,10 @@ export default {
1
],
"canReadFieldValue": [
- 3
+ 8
],
"canUpdateFieldValue": [
- 3
+ 8
],
"__typename": [
1
@@ -4213,31 +4184,31 @@ export default {
1
],
"canUpdateAllSettings": [
- 3
+ 8
],
"canAccessAllTools": [
- 3
+ 8
],
"canReadAllObjectRecords": [
- 3
+ 8
],
"canUpdateAllObjectRecords": [
- 3
+ 8
],
"canSoftDeleteAllObjectRecords": [
- 3
+ 8
],
"canDestroyAllObjectRecords": [
- 3
+ 8
],
"permissionFlagUniversalIdentifiers": [
1
],
"objectPermissions": [
- 217
+ 216
],
"fieldPermissions": [
- 218
+ 217
],
"__typename": [
1
@@ -4254,7 +4225,7 @@ export default {
1
],
"sourceType": [
- 9
+ 6
],
"sourcePackage": [
1
@@ -4263,10 +4234,10 @@ export default {
1
],
"isListed": [
- 3
+ 8
],
"isVetted": [
- 3
+ 8
],
"description": [
1
@@ -4305,10 +4276,10 @@ export default {
1
],
"roles": [
- 219
+ 218
],
"manifest": [
- 5
+ 9
],
"__typename": [
1
@@ -4316,13 +4287,13 @@ export default {
},
"WorkspaceCompanyEnrichmentResult": {
"outcome": [
- 222
+ 221
],
"enrichment": [
- 5
+ 9
],
"isBookCallOnboardingStepPending": [
- 3
+ 8
],
"__typename": [
1
@@ -4331,13 +4302,13 @@ export default {
"WorkspaceCompanyEnrichmentOutcome": {},
"Field": {
"id": [
- 4
+ 3
],
"universalIdentifier": [
1
],
"type": [
- 224
+ 223
],
"name": [
1
@@ -4352,58 +4323,58 @@ export default {
1
],
"isActive": [
- 3
+ 8
],
"isSystem": [
- 3
+ 8
],
"isUIEditable": [
- 3
+ 8
],
"isUIReadOnly": [
- 3
+ 8
],
"isNullable": [
- 3
+ 8
],
"isUnique": [
- 3
+ 8
],
"defaultValue": [
- 5
+ 9
],
"options": [
- 5
+ 9
],
"settings": [
- 5
+ 9
],
"objectMetadataId": [
- 4
+ 3
],
"isLabelSyncedWithName": [
- 3
+ 8
],
"morphId": [
- 4
+ 3
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"applicationId": [
- 4
+ 3
],
"object": [
- 24
+ 23
],
"relation": [
- 228
+ 227
],
"morphRelations": [
- 228
+ 227
],
"__typename": [
1
@@ -4412,16 +4383,16 @@ export default {
"FieldMetadataType": {},
"PageInfo": {
"hasNextPage": [
- 3
+ 8
],
"hasPreviousPage": [
- 3
+ 8
],
"startCursor": [
- 28
+ 27
],
"endCursor": [
- 28
+ 27
],
"__typename": [
1
@@ -4429,10 +4400,10 @@ export default {
},
"FieldEdge": {
"node": [
- 223
+ 222
],
"cursor": [
- 28
+ 27
],
"__typename": [
1
@@ -4440,10 +4411,10 @@ export default {
},
"FieldConnection": {
"pageInfo": [
- 225
+ 224
],
"edges": [
- 226
+ 225
],
"__typename": [
1
@@ -4451,19 +4422,19 @@ export default {
},
"Relation": {
"type": [
- 229
+ 228
],
"sourceObjectMetadata": [
- 24
+ 23
],
"targetObjectMetadata": [
- 24
+ 23
],
"sourceFieldMetadata": [
- 223
+ 222
],
"targetFieldMetadata": [
- 223
+ 222
],
"__typename": [
1
@@ -4472,22 +4443,22 @@ export default {
"RelationType": {},
"IndexField": {
"id": [
- 4
+ 3
],
"fieldMetadataId": [
- 4
+ 3
],
"order": [
- 16
+ 15
],
"subFieldName": [
1
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"__typename": [
1
@@ -4495,31 +4466,31 @@ export default {
},
"Index": {
"id": [
- 4
+ 3
],
"name": [
1
],
"isCustom": [
- 3
+ 8
],
"isUnique": [
- 3
+ 8
],
"indexWhereClause": [
1
],
"indexType": [
- 232
+ 231
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"indexFieldMetadataList": [
- 230
+ 229
],
"__typename": [
1
@@ -4528,10 +4499,10 @@ export default {
"IndexType": {},
"IndexEdge": {
"node": [
- 231
+ 230
],
"cursor": [
- 28
+ 27
],
"__typename": [
1
@@ -4539,10 +4510,10 @@ export default {
},
"ObjectEdge": {
"node": [
- 24
+ 23
],
"cursor": [
- 28
+ 27
],
"__typename": [
1
@@ -4550,10 +4521,10 @@ export default {
},
"ObjectConnection": {
"pageInfo": [
- 225
+ 224
],
"edges": [
- 234
+ 233
],
"__typename": [
1
@@ -4561,10 +4532,10 @@ export default {
},
"ObjectFieldsConnection": {
"pageInfo": [
- 225
+ 224
],
"edges": [
- 226
+ 225
],
"__typename": [
1
@@ -4572,10 +4543,10 @@ export default {
},
"ObjectIndexMetadatasConnection": {
"pageInfo": [
- 225
+ 224
],
"edges": [
- 233
+ 232
],
"__typename": [
1
@@ -4586,7 +4557,7 @@ export default {
1
],
"totalCount": [
- 27
+ 26
],
"__typename": [
1
@@ -4594,22 +4565,22 @@ export default {
},
"SearchField": {
"id": [
- 4
+ 3
],
"fieldMetadataId": [
- 4
+ 3
],
"tsVectorFieldMetadataId": [
- 4
+ 3
],
"position": [
- 16
+ 15
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"__typename": [
1
@@ -4617,10 +4588,10 @@ export default {
},
"BillingEntitlement": {
"key": [
- 241
+ 240
],
"value": [
- 3
+ 8
],
"__typename": [
1
@@ -4649,16 +4620,16 @@ export default {
},
"DomainValidRecords": {
"id": [
- 4
+ 3
],
"domain": [
1
],
"records": [
- 242
+ 241
],
"isCustomDomainEnabled": [
- 3
+ 8
],
"__typename": [
1
@@ -4666,10 +4637,10 @@ export default {
},
"UpsertRowLevelPermissionPredicatesResult": {
"predicates": [
- 42
+ 41
],
"predicateGroups": [
- 40
+ 39
],
"__typename": [
1
@@ -4688,13 +4659,13 @@ export default {
1
],
"port": [
- 16
+ 15
],
"username": [
1
],
"connectionSecurity": [
- 247
+ 246
],
"__typename": [
1
@@ -4703,13 +4674,13 @@ export default {
"EmailConnectionSecurity": {},
"PublicImapSmtpCaldavConnectionParameters": {
"IMAP": [
- 246
+ 245
],
"SMTP": [
- 246
+ 245
],
"CALDAV": [
- 246
+ 245
],
"__typename": [
1
@@ -4717,7 +4688,7 @@ export default {
},
"ConnectedAccountPublicDTO": {
"id": [
- 4
+ 3
],
"handle": [
1
@@ -4726,13 +4697,13 @@ export default {
1
],
"lastCredentialsRefreshedAt": [
- 6
+ 4
],
"authFailedAt": [
- 6
+ 4
],
"archivedAt": [
- 6
+ 4
],
"handleAliases": [
1
@@ -4741,16 +4712,16 @@ export default {
1
],
"lastSignedInAt": [
- 6
+ 4
],
"userWorkspaceId": [
- 4
+ 3
],
"connectionProviderId": [
- 4
+ 3
],
"applicationId": [
- 4
+ 3
],
"name": [
1
@@ -4759,13 +4730,13 @@ export default {
1
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"connectionParameters": [
- 248
+ 247
],
"__typename": [
1
@@ -4773,7 +4744,7 @@ export default {
},
"DeleteTwoFactorAuthenticationMethod": {
"success": [
- 3
+ 8
],
"__typename": [
1
@@ -4789,7 +4760,7 @@ export default {
},
"VerifyTwoFactorAuthenticationMethod": {
"success": [
- 3
+ 8
],
"__typename": [
1
@@ -4805,10 +4776,10 @@ export default {
},
"AuthTokenPair": {
"accessOrWorkspaceAgnosticToken": [
- 12
+ 11
],
"refreshToken": [
- 12
+ 11
],
"__typename": [
1
@@ -4816,10 +4787,10 @@ export default {
},
"AvailableWorkspacesAndAccessTokens": {
"tokens": [
- 254
+ 253
],
"availableWorkspaces": [
- 214
+ 213
],
"__typename": [
1
@@ -4827,7 +4798,7 @@ export default {
},
"EmailPasswordResetLink": {
"success": [
- 3
+ 8
],
"__typename": [
1
@@ -4841,7 +4812,7 @@ export default {
1
],
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -4849,7 +4820,7 @@ export default {
},
"InvalidatePassword": {
"success": [
- 3
+ 8
],
"__typename": [
1
@@ -4857,10 +4828,10 @@ export default {
},
"WorkspaceUrlsAndId": {
"workspaceUrls": [
- 173
+ 172
],
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -4868,10 +4839,10 @@ export default {
},
"SignUp": {
"loginToken": [
- 12
+ 11
],
"workspace": [
- 259
+ 258
],
"__typename": [
1
@@ -4879,7 +4850,7 @@ export default {
},
"TransientToken": {
"transientToken": [
- 12
+ 11
],
"__typename": [
1
@@ -4887,13 +4858,13 @@ export default {
},
"ValidatePasswordResetToken": {
"id": [
- 4
+ 3
],
"email": [
1
],
"hasPassword": [
- 3
+ 8
],
"__typename": [
1
@@ -4901,10 +4872,10 @@ export default {
},
"VerifyEmailAndGetLoginToken": {
"loginToken": [
- 12
+ 11
],
"workspaceUrls": [
- 173
+ 172
],
"__typename": [
1
@@ -4912,10 +4883,10 @@ export default {
},
"SubdomainAvailabilityDTO": {
"isValid": [
- 3
+ 8
],
"available": [
- 3
+ 8
],
"suggestedSubdomain": [
1
@@ -4948,7 +4919,7 @@ export default {
},
"AuthTokens": {
"tokens": [
- 254
+ 253
],
"__typename": [
1
@@ -4956,7 +4927,7 @@ export default {
},
"LoginToken": {
"loginToken": [
- 12
+ 11
],
"__typename": [
1
@@ -4964,13 +4935,13 @@ export default {
},
"CheckUserExist": {
"exists": [
- 3
+ 8
],
"availableWorkspacesCount": [
- 16
+ 15
],
"isEmailVerified": [
- 3
+ 8
],
"__typename": [
1
@@ -4978,7 +4949,7 @@ export default {
},
"WorkspaceInviteHashValid": {
"isValid": [
- 3
+ 8
],
"__typename": [
1
@@ -4986,10 +4957,10 @@ export default {
},
"Impersonate": {
"loginToken": [
- 12
+ 11
],
"workspace": [
- 259
+ 258
],
"__typename": [
1
@@ -4997,7 +4968,7 @@ export default {
},
"StopImpersonation": {
"canRestoreImpersonatorSession": [
- 3
+ 8
],
"__typename": [
1
@@ -5008,7 +4979,7 @@ export default {
1
],
"creditsUsed": [
- 16
+ 15
],
"__typename": [
1
@@ -5019,7 +4990,7 @@ export default {
1
],
"dailyUsage": [
- 273
+ 272
],
"__typename": [
1
@@ -5027,25 +4998,25 @@ export default {
},
"UsageAnalytics": {
"usageByUser": [
- 199
+ 198
],
"usageByOperationType": [
- 199
+ 198
],
"usageByModel": [
- 199
+ 198
],
"timeSeries": [
- 273
+ 272
],
"periodStart": [
- 6
+ 4
],
"periodEnd": [
- 6
+ 4
],
"userDailyUsage": [
- 274
+ 273
],
"__typename": [
1
@@ -5053,13 +5024,13 @@ export default {
},
"ApplicationAuthorization": {
"id": [
- 4
+ 3
],
"applicationId": [
- 4
+ 3
],
"workspaceId": [
- 4
+ 3
],
"applicationName": [
1
@@ -5071,13 +5042,13 @@ export default {
1
],
"lastAuthorizedAt": [
- 6
+ 4
],
"lastUsedAt": [
- 6
+ 4
],
"createdAt": [
- 6
+ 4
],
"__typename": [
1
@@ -5099,7 +5070,7 @@ export default {
1
],
"actions": [
- 5
+ 9
],
"__typename": [
1
@@ -5107,16 +5078,16 @@ export default {
},
"File": {
"id": [
- 4
+ 3
],
"path": [
1
],
"size": [
- 16
+ 15
],
"createdAt": [
- 6
+ 4
],
"__typename": [
1
@@ -5124,19 +5095,19 @@ export default {
},
"PublicDomain": {
"id": [
- 4
+ 3
],
"domain": [
1
],
"isValidated": [
- 3
+ 8
],
"applicationId": [
- 4
+ 3
],
"createdAt": [
- 6
+ 4
],
"__typename": [
1
@@ -5153,7 +5124,7 @@ export default {
1
],
"priority": [
- 16
+ 15
],
"status": [
1
@@ -5164,25 +5135,25 @@ export default {
},
"EmailingDomain": {
"id": [
- 4
+ 3
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"domain": [
1
],
"status": [
- 283
+ 282
],
"verificationRecords": [
- 281
+ 280
],
"verifiedAt": [
- 6
+ 4
],
"__typename": [
1
@@ -5191,10 +5162,10 @@ export default {
"EmailingDomainStatus": {},
"MessageChannel": {
"id": [
- 4
+ 3
],
"visibility": [
- 285
+ 284
],
"handle": [
1
@@ -5203,58 +5174,58 @@ export default {
1
],
"type": [
- 286
+ 285
],
"isContactAutoCreationEnabled": [
- 3
+ 8
],
"contactAutoCreationPolicy": [
- 287
+ 286
],
"messageFolderImportPolicy": [
- 288
+ 287
],
"excludeNonProfessionalEmails": [
- 3
+ 8
],
"excludeGroupEmails": [
- 3
+ 8
],
"pendingGroupEmailsAction": [
- 289
+ 288
],
"isSyncEnabled": [
- 3
+ 8
],
"syncedAt": [
- 6
+ 4
],
"syncStatus": [
- 290
+ 289
],
"syncStage": [
- 291
+ 290
],
"syncStageStartedAt": [
- 6
+ 4
],
"throttleFailureCount": [
- 16
+ 15
],
"throttleRetryAfter": [
- 6
+ 4
],
"connectedAccountId": [
- 4
+ 3
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"connectedAccount": [
- 249
+ 248
],
"__typename": [
1
@@ -5269,7 +5240,7 @@ export default {
"MessageChannelSyncStage": {},
"CreateEmailGroupChannelOutput": {
"messageChannel": [
- 284
+ 283
],
"forwardingAddress": [
1
@@ -5280,22 +5251,22 @@ export default {
},
"CampaignAudiencePreviewDTO": {
"totalMembers": [
- 27
+ 26
],
"withoutEmail": [
- 27
+ 26
],
"duplicateEmails": [
- 27
+ 26
],
"globallyUnsubscribed": [
- 27
+ 26
],
"topicUnsubscribed": [
- 27
+ 26
],
"sendable": [
- 27
+ 26
],
"__typename": [
1
@@ -5311,13 +5282,13 @@ export default {
},
"CampaignSkippedRecipientsDTO": {
"noEmail": [
- 27
+ 26
],
"deduped": [
- 27
+ 26
],
"overCap": [
- 27
+ 26
],
"__typename": [
1
@@ -5328,10 +5299,10 @@ export default {
1
],
"queuedCount": [
- 27
+ 26
],
"skipped": [
- 295
+ 294
],
"__typename": [
1
@@ -5339,22 +5310,22 @@ export default {
},
"MessageSuppression": {
"id": [
- 4
+ 3
],
"createdAt": [
- 6
+ 4
],
"emailAddress": [
1
],
"reason": [
- 298
+ 297
],
"source": [
- 299
+ 298
],
"unsubscribeTopicId": [
- 4
+ 3
],
"__typename": [
1
@@ -5364,10 +5335,10 @@ export default {
"MessageSuppressionSource": {},
"MessageSuppressionList": {
"records": [
- 297
+ 296
],
"totalCount": [
- 27
+ 26
],
"__typename": [
1
@@ -5375,13 +5346,13 @@ export default {
},
"UnsubscribeTopic": {
"id": [
- 4
+ 3
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"name": [
1
@@ -5390,7 +5361,7 @@ export default {
1
],
"visibility": [
- 302
+ 301
],
"__typename": [
1
@@ -5410,10 +5381,10 @@ export default {
},
"Location": {
"lat": [
- 16
+ 15
],
"lng": [
- 16
+ 15
],
"__typename": [
1
@@ -5436,7 +5407,7 @@ export default {
1
],
"location": [
- 304
+ 303
],
"__typename": [
1
@@ -5447,13 +5418,13 @@ export default {
1
],
"port": [
- 16
+ 15
],
"username": [
1
],
"connectionSecurity": [
- 247
+ 246
],
"__typename": [
1
@@ -5464,13 +5435,13 @@ export default {
1
],
"IMAP": [
- 306
+ 305
],
"SMTP": [
- 306
+ 305
],
"CALDAV": [
- 306
+ 305
],
"__typename": [
1
@@ -5478,7 +5449,7 @@ export default {
},
"ConnectedImapSmtpCaldavAccount": {
"id": [
- 4
+ 3
],
"handle": [
1
@@ -5487,10 +5458,10 @@ export default {
1
],
"userWorkspaceId": [
- 4
+ 3
],
"connectionParameters": [
- 307
+ 306
],
"__typename": [
1
@@ -5498,7 +5469,7 @@ export default {
},
"ImapSmtpCaldavConnectionSuccess": {
"success": [
- 3
+ 8
],
"connectedAccountId": [
1
@@ -5509,7 +5480,7 @@ export default {
},
"Webhook": {
"id": [
- 4
+ 3
],
"targetUrl": [
1
@@ -5524,16 +5495,16 @@ export default {
1
],
"applicationId": [
- 4
+ 3
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"deletedAt": [
- 6
+ 4
],
"__typename": [
1
@@ -5559,7 +5530,7 @@ export default {
1
],
"inputSchema": [
- 5
+ 9
],
"__typename": [
1
@@ -5567,13 +5538,13 @@ export default {
},
"AgentMessagePart": {
"id": [
- 4
+ 3
],
"messageId": [
- 4
+ 3
],
"orderIndex": [
- 27
+ 26
],
"type": [
1
@@ -5591,22 +5562,22 @@ export default {
1
],
"toolInput": [
- 5
+ 9
],
"toolOutput": [
- 5
+ 9
],
"state": [
1
],
"providerExecuted": [
- 3
+ 8
],
"errorMessage": [
1
],
"errorDetails": [
- 5
+ 9
],
"sourceUrlSourceId": [
1
@@ -5636,16 +5607,16 @@ export default {
1
],
"fileId": [
- 4
+ 3
],
"fileUrl": [
1
],
"providerMetadata": [
- 5
+ 9
],
"createdAt": [
- 6
+ 4
],
"__typename": [
1
@@ -5653,13 +5624,13 @@ export default {
},
"RunAgentResult": {
"result": [
- 5
+ 9
],
"error": [
1
],
"success": [
- 3
+ 8
],
"__typename": [
1
@@ -5667,7 +5638,7 @@ export default {
},
"ChannelSyncSuccess": {
"success": [
- 3
+ 8
],
"__typename": [
1
@@ -5675,7 +5646,7 @@ export default {
},
"CreateCalendarEventOutput": {
"success": [
- 3
+ 8
],
"iCalUid": [
1
@@ -5703,7 +5674,7 @@ export default {
},
"BarChartData": {
"data": [
- 5
+ 9
],
"indexBy": [
1
@@ -5712,7 +5683,7 @@ export default {
1
],
"series": [
- 316
+ 315
],
"xAxisLabel": [
1
@@ -5721,22 +5692,22 @@ export default {
1
],
"showLegend": [
- 3
+ 8
],
"showDataLabels": [
- 3
+ 8
],
"layout": [
- 99
+ 98
],
"groupMode": [
- 98
+ 97
],
"hasTooManyGroups": [
- 3
+ 8
],
"formattedToRawLookup": [
- 5
+ 9
],
"__typename": [
1
@@ -5747,7 +5718,7 @@ export default {
1
],
"y": [
- 16
+ 15
],
"__typename": [
1
@@ -5761,7 +5732,7 @@ export default {
1
],
"data": [
- 318
+ 317
],
"__typename": [
1
@@ -5769,7 +5740,7 @@ export default {
},
"LineChartData": {
"series": [
- 319
+ 318
],
"xAxisLabel": [
1
@@ -5778,16 +5749,16 @@ export default {
1
],
"showLegend": [
- 3
+ 8
],
"showDataLabels": [
- 3
+ 8
],
"hasTooManyGroups": [
- 3
+ 8
],
"formattedToRawLookup": [
- 5
+ 9
],
"__typename": [
1
@@ -5798,7 +5769,7 @@ export default {
1
],
"value": [
- 16
+ 15
],
"__typename": [
1
@@ -5806,22 +5777,22 @@ export default {
},
"PieChartData": {
"data": [
- 321
+ 320
],
"showLegend": [
- 3
+ 8
],
"showDataLabels": [
- 3
+ 8
],
"showCenterMetric": [
- 3
+ 8
],
"hasTooManyGroups": [
- 3
+ 8
],
"formattedToRawLookup": [
- 5
+ 9
],
"__typename": [
1
@@ -5829,16 +5800,16 @@ export default {
},
"DuplicatedDashboard": {
"id": [
- 4
+ 3
],
"title": [
1
],
"pageLayoutId": [
- 4
+ 3
],
"position": [
- 16
+ 15
],
"createdAt": [
1
@@ -5852,7 +5823,7 @@ export default {
},
"SendEmailOutput": {
"success": [
- 3
+ 8
],
"error": [
1
@@ -5866,7 +5837,7 @@ export default {
},
"Analytics": {
"success": [
- 3
+ 8
],
"__typename": [
1
@@ -5877,13 +5848,13 @@ export default {
1
],
"timestamp": [
- 6
+ 4
],
"userId": [
1
],
"properties": [
- 5
+ 9
],
"recordId": [
1
@@ -5892,7 +5863,7 @@ export default {
1
],
"isCustom": [
- 3
+ 8
],
"__typename": [
1
@@ -5903,7 +5874,7 @@ export default {
1
],
"hasNextPage": [
- 3
+ 8
],
"__typename": [
1
@@ -5911,13 +5882,13 @@ export default {
},
"EventLogQueryResult": {
"records": [
- 326
+ 325
],
"totalCount": [
- 27
+ 26
],
"pageInfo": [
- 327
+ 326
],
"__typename": [
1
@@ -5925,7 +5896,7 @@ export default {
},
"Skill": {
"id": [
- 4
+ 3
],
"name": [
1
@@ -5943,19 +5914,19 @@ export default {
1
],
"isCustom": [
- 3
+ 8
],
"isActive": [
- 3
+ 8
],
"applicationId": [
- 4
+ 3
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"__typename": [
1
@@ -5963,16 +5934,16 @@ export default {
},
"AgentMessage": {
"id": [
- 4
+ 3
],
"threadId": [
- 4
+ 3
],
"turnId": [
- 4
+ 3
],
"agentId": [
- 4
+ 3
],
"role": [
1
@@ -5981,13 +5952,13 @@ export default {
1
],
"parts": [
- 312
+ 311
],
"processedAt": [
- 6
+ 4
],
"createdAt": [
- 6
+ 4
],
"__typename": [
1
@@ -5995,40 +5966,40 @@ export default {
},
"AgentChatThread": {
"id": [
- 205
+ 204
],
"title": [
1
],
"totalInputTokens": [
- 27
+ 26
],
"totalOutputTokens": [
- 27
+ 26
],
"contextWindowTokens": [
- 27
+ 26
],
"conversationSize": [
- 27
+ 26
],
"totalInputCredits": [
- 16
+ 15
],
"totalOutputCredits": [
- 16
+ 15
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"deletedAt": [
- 6
+ 4
],
"lastMessageAt": [
- 6
+ 4
],
"__typename": [
1
@@ -6042,7 +6013,7 @@ export default {
1
],
"estimatedTokenCount": [
- 27
+ 26
],
"__typename": [
1
@@ -6050,10 +6021,10 @@ export default {
},
"AiSystemPromptPreview": {
"sections": [
- 332
+ 331
],
"estimatedTokenCount": [
- 27
+ 26
],
"__typename": [
1
@@ -6072,13 +6043,13 @@ export default {
},
"ChatStreamCatchupChunks": {
"chunks": [
- 5
+ 9
],
"maxSeq": [
- 27
+ 26
],
"error": [
- 334
+ 333
],
"__typename": [
1
@@ -6089,7 +6060,7 @@ export default {
1
],
"queued": [
- 3
+ 8
],
"streamId": [
1
@@ -6103,7 +6074,7 @@ export default {
1
],
"event": [
- 5
+ 9
],
"__typename": [
1
@@ -6111,10 +6082,10 @@ export default {
},
"StartWorkspaceSetupChatResult": {
"outcome": [
- 339
+ 338
],
"thread": [
- 331
+ 330
],
"__typename": [
1
@@ -6123,19 +6094,19 @@ export default {
"WorkspaceSetupChatOutcome": {},
"AgentTurnEvaluation": {
"id": [
- 4
+ 3
],
"turnId": [
- 4
+ 3
],
"score": [
- 27
+ 26
],
"comment": [
1
],
"createdAt": [
- 6
+ 4
],
"__typename": [
1
@@ -6143,22 +6114,22 @@ export default {
},
"AgentTurn": {
"id": [
- 4
+ 3
],
"threadId": [
- 4
+ 3
],
"agentId": [
- 4
+ 3
],
"evaluations": [
- 340
+ 339
],
"messages": [
- 330
+ 329
],
"createdAt": [
- 6
+ 4
],
"__typename": [
1
@@ -6166,13 +6137,13 @@ export default {
},
"WorkspaceAiStats": {
"conversationsCount": [
- 27
+ 26
],
"skillsCount": [
- 27
+ 26
],
"toolsCount": [
- 27
+ 26
],
"__typename": [
1
@@ -6180,7 +6151,7 @@ export default {
},
"EnqueueJobResult": {
"enqueued": [
- 3
+ 8
],
"logicFunctionUniversalIdentifier": [
1
@@ -6194,10 +6165,10 @@ export default {
1
],
"value": [
- 5
+ 9
],
"scope": [
- 345
+ 344
],
"__typename": [
1
@@ -6206,46 +6177,46 @@ export default {
"AppKeyValueScope": {},
"CalendarChannel": {
"id": [
- 4
+ 3
],
"handle": [
1
],
"syncStatus": [
- 347
+ 346
],
"syncStage": [
- 348
+ 347
],
"visibility": [
- 349
+ 348
],
"isContactAutoCreationEnabled": [
- 3
+ 8
],
"contactAutoCreationPolicy": [
- 350
+ 349
],
"isSyncEnabled": [
- 3
+ 8
],
"syncedAt": [
- 6
+ 4
],
"syncStageStartedAt": [
- 6
+ 4
],
"throttleFailureCount": [
- 16
+ 15
],
"connectedAccountId": [
- 4
+ 3
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"__typename": [
1
@@ -6257,16 +6228,16 @@ export default {
"CalendarChannelContactAutoCreationPolicy": {},
"MessageFolder": {
"id": [
- 4
+ 3
],
"name": [
1
],
"isSentFolder": [
- 3
+ 8
],
"isSynced": [
- 3
+ 8
],
"parentFolderId": [
1
@@ -6275,16 +6246,16 @@ export default {
1
],
"pendingSyncAction": [
- 352
+ 351
],
"messageChannelId": [
- 4
+ 3
],
"createdAt": [
- 6
+ 4
],
"updatedAt": [
- 6
+ 4
],
"__typename": [
1
@@ -6293,7 +6264,7 @@ export default {
"MessageFolderPendingSyncAction": {},
"CollectionHash": {
"collectionName": [
- 354
+ 353
],
"hash": [
1
@@ -6305,7 +6276,7 @@ export default {
"AllMetadataName": {},
"MinimalObjectMetadata": {
"id": [
- 4
+ 3
],
"nameSingular": [
1
@@ -6326,13 +6297,13 @@ export default {
1
],
"isActive": [
- 3
+ 8
],
"isSystem": [
- 3
+ 8
],
"isRemote": [
- 3
+ 8
],
"__typename": [
1
@@ -6340,16 +6311,16 @@ export default {
},
"MinimalView": {
"id": [
- 4
+ 3
],
"type": [
- 63
+ 62
],
"key": [
- 64
+ 63
],
"objectMetadataId": [
- 4
+ 3
],
"__typename": [
1
@@ -6357,13 +6328,13 @@ export default {
},
"MinimalMetadata": {
"objectMetadataItems": [
- 355
+ 354
],
"views": [
- 356
+ 355
],
"collectionHashes": [
- 353
+ 352
],
"__typename": [
1
@@ -6371,28 +6342,28 @@ export default {
},
"Query": {
"navigationMenuItems": [
- 151
+ 150
],
"navigationMenuItem": [
- 151,
+ 150,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"applicationSdkClientChecksums": [
- 75,
+ 74,
{
"applicationId": [
- 4,
+ 3,
"UUID!"
]
}
],
"isApplicationStopped": [
- 3,
+ 8,
{
"applicationUniversalIdentifier": [
1,
@@ -6417,10 +6388,10 @@ export default {
}
],
"enterpriseSubscriptionStatus": [
- 146
+ 145
],
"getViewFilterGroups": [
- 54,
+ 53,
{
"viewId": [
1
@@ -6428,7 +6399,7 @@ export default {
}
],
"getViewFilterGroup": [
- 54,
+ 53,
{
"id": [
1,
@@ -6437,7 +6408,7 @@ export default {
}
],
"getViewFilters": [
- 56,
+ 55,
{
"viewId": [
1
@@ -6445,7 +6416,7 @@ export default {
}
],
"getViewFilter": [
- 56,
+ 55,
{
"id": [
1,
@@ -6454,19 +6425,19 @@ export default {
}
],
"getViews": [
- 62,
+ 61,
{
"objectMetadataId": [
1
],
"viewTypes": [
- 63,
+ 62,
"[ViewType!]"
]
}
],
"getView": [
- 62,
+ 61,
{
"id": [
1,
@@ -6475,7 +6446,7 @@ export default {
}
],
"getViewSorts": [
- 59,
+ 58,
{
"viewId": [
1
@@ -6483,7 +6454,7 @@ export default {
}
],
"getViewSort": [
- 59,
+ 58,
{
"id": [
1,
@@ -6492,7 +6463,7 @@ export default {
}
],
"getViewFields": [
- 52,
+ 51,
{
"viewId": [
1,
@@ -6501,7 +6472,7 @@ export default {
}
],
"getViewField": [
- 52,
+ 51,
{
"id": [
1,
@@ -6510,7 +6481,7 @@ export default {
}
],
"getViewFieldGroups": [
- 61,
+ 60,
{
"viewId": [
1,
@@ -6519,7 +6490,7 @@ export default {
}
],
"getViewFieldGroup": [
- 61,
+ 60,
{
"id": [
1,
@@ -6528,60 +6499,60 @@ export default {
}
],
"apiKeys": [
- 7
+ 2
],
"getApiKeyRoles": [
- 47
+ 46
],
"apiKey": [
- 7,
+ 2,
{
"input": [
- 359,
+ 358,
"GetApiKeyInput!"
]
}
],
"currentUserSessions": [
- 160
+ 159
],
"getInviteSuggestions": [
- 167
+ 166
],
"applicationConnectionProviders": [
- 125,
+ 124,
{
"applicationId": [
- 4,
+ 3,
"UUID!"
]
}
],
"billingPortalSession": [
- 165,
+ 164,
{
"returnUrlPath": [
1
],
"forPaymentMethodUpdate": [
- 3
+ 8
]
}
],
"listPlans": [
- 163
+ 162
],
"getResourceCreditUsage": [
- 162
+ 161
],
"findWorkspaceInvitations": [
- 169
+ 168
],
"getApprovedAccessDomains": [
- 147
+ 146
],
"getPageLayoutTabs": [
- 121,
+ 120,
{
"pageLayoutId": [
1,
@@ -6590,7 +6561,7 @@ export default {
}
],
"getPageLayoutTab": [
- 121,
+ 120,
{
"id": [
1,
@@ -6599,18 +6570,18 @@ export default {
}
],
"getPageLayouts": [
- 122,
+ 121,
{
"objectMetadataId": [
1
],
"pageLayoutType": [
- 123
+ 122
]
}
],
"getPageLayout": [
- 122,
+ 121,
{
"id": [
1,
@@ -6619,7 +6590,7 @@ export default {
}
],
"getPageLayoutWidgets": [
- 79,
+ 78,
{
"pageLayoutTabId": [
1,
@@ -6628,7 +6599,7 @@ export default {
}
],
"getPageLayoutWidget": [
- 79,
+ 78,
{
"id": [
1,
@@ -6637,68 +6608,68 @@ export default {
}
],
"findManyAgents": [
- 11
+ 10
],
"findOneAgent": [
- 11,
+ 10,
{
"input": [
- 360,
+ 359,
"AgentIdInput!"
]
}
],
"objects": [
- 235,
+ 234,
{
"paging": [
- 26,
+ 25,
"CursorPaging!"
],
"filter": [
- 361,
+ 360,
"ObjectFilter!"
]
}
],
"object": [
- 24,
+ 23,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"objectRecordCounts": [
- 238
+ 237
],
"mostlyEmptyFieldMetadataIds": [
- 4,
+ 3,
{
"objectMetadataId": [
- 4,
+ 3,
"UUID!"
]
}
],
"findOneLogicFunction": [
- 22,
+ 21,
{
"input": [
- 362,
+ 361,
"LogicFunctionIdInput!"
]
}
],
"findManyLogicFunctions": [
- 22
+ 21
],
"getAvailablePackages": [
- 5,
+ 9,
{
"input": [
- 362,
+ 361,
"LogicFunctionIdInput!"
]
}
@@ -6707,40 +6678,40 @@ export default {
1,
{
"input": [
- 362,
+ 361,
"LogicFunctionIdInput!"
]
}
],
"commandMenuItems": [
- 15
+ 14
],
"commandMenuItem": [
- 15,
+ 14,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"frontComponents": [
- 14
+ 13
],
"frontComponent": [
- 14,
+ 13,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"currentWorkspace": [
- 68
+ 67
],
"getPublicWorkspaceDataByDomain": [
- 183,
+ 182,
{
"origin": [
1
@@ -6748,16 +6719,16 @@ export default {
}
],
"getPublicWorkspaceDataById": [
- 184,
+ 183,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"findApplicationRegistrationByClientId": [
- 202,
+ 201,
{
"clientId": [
1,
@@ -6766,7 +6737,7 @@ export default {
}
],
"findApplicationRegistrationByUniversalIdentifier": [
- 74,
+ 73,
{
"universalIdentifier": [
1,
@@ -6775,10 +6746,10 @@ export default {
}
],
"findManyApplicationRegistrations": [
- 74
+ 73
],
"findOneApplicationRegistration": [
- 74,
+ 73,
{
"id": [
1,
@@ -6787,7 +6758,7 @@ export default {
}
],
"findApplicationRegistrationStats": [
- 176,
+ 175,
{
"id": [
1,
@@ -6796,7 +6767,7 @@ export default {
}
],
"findApplicationRegistrationVariables": [
- 174,
+ 173,
{
"applicationRegistrationId": [
1,
@@ -6814,7 +6785,7 @@ export default {
}
],
"findClaimableApplicationRegistration": [
- 200,
+ 199,
{
"sourcePackage": [
1
@@ -6834,21 +6805,21 @@ export default {
}
],
"findManyApplications": [
- 48
+ 47
],
"findOneApplication": [
- 48,
+ 47,
{
"id": [
- 4
+ 3
],
"universalIdentifier": [
- 4
+ 3
]
}
],
"findManyMarketplaceApps": [
- 216,
+ 215,
{
"universalIdentifiers": [
1,
@@ -6857,7 +6828,7 @@ export default {
}
],
"findMarketplaceAppDetail": [
- 220,
+ 219,
{
"universalIdentifier": [
1,
@@ -6866,16 +6837,16 @@ export default {
}
],
"publicMarketplaceApps": [
- 216,
+ 215,
{
"isVetted": [
- 3,
+ 8,
"Boolean!"
]
}
],
"publicMarketplaceAppDetail": [
- 220,
+ 219,
{
"universalIdentifier": [
1,
@@ -6884,29 +6855,29 @@ export default {
}
],
"fields": [
- 227,
+ 226,
{
"paging": [
- 26,
+ 25,
"CursorPaging!"
],
"filter": [
- 29,
+ 28,
"FieldFilter!"
]
}
],
"field": [
- 223,
+ 222,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"getViewGroups": [
- 58,
+ 57,
{
"viewId": [
1
@@ -6914,7 +6885,7 @@ export default {
}
],
"getViewGroup": [
- 58,
+ 57,
{
"id": [
1,
@@ -6923,48 +6894,48 @@ export default {
}
],
"getRoles": [
- 47
+ 46
],
"previewMessageCampaignAudience": [
- 293,
+ 292,
{
"input": [
- 363,
+ 362,
"PreviewMessageCampaignAudienceInput!"
]
}
],
"messageSuppressions": [
- 300,
+ 299,
{
"input": [
- 364,
+ 363,
"FindMessageSuppressionsInput!"
]
}
],
"unsubscribeTopics": [
- 301
+ 300
],
"myMessageChannels": [
- 284,
+ 283,
{
"connectedAccountId": [
- 4
+ 3
]
}
],
"getEmailingDomains": [
- 282
+ 281
],
"myConnectedAccounts": [
- 249
+ 248
],
"getToolIndex": [
- 311
+ 310
],
"getToolInputSchema": [
- 5,
+ 9,
{
"toolName": [
1,
@@ -6973,124 +6944,124 @@ export default {
}
],
"webhooks": [
- 310
+ 309
],
"webhook": [
- 310,
+ 309,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"myMessageFolders": [
- 351,
+ 350,
{
"messageChannelId": [
- 4
+ 3
]
}
],
"myCalendarChannels": [
- 346,
+ 345,
{
"connectedAccountId": [
- 4
+ 3
]
}
],
"minimalMetadata": [
- 357
+ 356
],
"appKeyValue": [
- 344,
+ 343,
{
"key": [
1,
"String!"
],
"scope": [
- 345
+ 344
]
}
],
"appConnections": [
- 204,
+ 203,
{
"filter": [
- 365
+ 364
]
}
],
"appConnection": [
- 204,
+ 203,
{
"id": [
- 205,
+ 204,
"ID!"
]
}
],
"findWorkspaceAiStats": [
- 342
+ 341
],
"chatThreads": [
- 331
+ 330
],
"chatThread": [
- 331,
+ 330,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"chatMessages": [
- 330,
+ 329,
{
"threadId": [
- 4,
+ 3,
"UUID!"
]
}
],
"chatStreamCatchupChunks": [
- 335,
+ 334,
{
"threadId": [
- 4,
+ 3,
"UUID!"
]
}
],
"getAiSystemPromptPreview": [
- 333
+ 332
],
"skills": [
- 329
+ 328
],
"skill": [
- 329,
+ 328,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"agentTurns": [
- 341,
+ 340,
{
"agentId": [
- 4,
+ 3,
"UUID!"
]
}
],
"checkUserExists": [
- 269,
+ 268,
{
"email": [
1,
@@ -7102,7 +7073,7 @@ export default {
}
],
"checkWorkspaceInviteHashIsValid": [
- 270,
+ 269,
{
"inviteHash": [
1,
@@ -7111,7 +7082,7 @@ export default {
}
],
"findWorkspaceFromInviteHash": [
- 68,
+ 67,
{
"inviteHash": [
1,
@@ -7120,7 +7091,7 @@ export default {
}
],
"checkWorkspaceSubdomainAvailability": [
- 264,
+ 263,
{
"subdomain": [
1,
@@ -7129,10 +7100,10 @@ export default {
}
],
"getWorkspaceCreationDefaults": [
- 265
+ 264
],
"validatePasswordResetToken": [
- 262,
+ 261,
{
"passwordResetToken": [
1,
@@ -7141,58 +7112,58 @@ export default {
}
],
"currentUser": [
- 71
+ 70
],
"getSSOIdentityProviders": [
- 210
+ 209
],
"eventLogs": [
- 328,
+ 327,
{
"input": [
- 366,
+ 365,
"EventLogQueryInput!"
]
}
],
"pieChartData": [
- 322,
+ 321,
{
"input": [
- 370,
+ 369,
"PieChartDataInput!"
]
}
],
"lineChartData": [
- 320,
+ 319,
{
"input": [
- 371,
+ 370,
"LineChartDataInput!"
]
}
],
"barChartData": [
- 317,
+ 316,
{
"input": [
- 372,
+ 371,
"BarChartDataInput!"
]
}
],
"getConnectedImapSmtpCaldavAccount": [
- 308,
+ 307,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"getAutoCompleteAddress": [
- 303,
+ 302,
{
"address": [
1,
@@ -7206,12 +7177,12 @@ export default {
1
],
"isFieldCity": [
- 3
+ 8
]
}
],
"getAddressDetails": [
- 305,
+ 304,
{
"placeId": [
1,
@@ -7224,18 +7195,18 @@ export default {
}
],
"getUsageAnalytics": [
- 275,
+ 274,
{
"input": [
- 373
+ 372
]
}
],
"findManyPublicDomains": [
- 280
+ 279
],
"currentUserApplicationAuthorizations": [
- 276
+ 275
],
"__typename": [
1
@@ -7243,7 +7214,7 @@ export default {
},
"GetApiKeyInput": {
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -7251,7 +7222,7 @@ export default {
},
"AgentIdInput": {
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -7259,34 +7230,34 @@ export default {
},
"ObjectFilter": {
"and": [
- 361
+ 360
],
"or": [
- 361
+ 360
],
"id": [
- 30
+ 29
],
"isActive": [
- 31
+ 30
],
"isRemote": [
- 31
+ 30
],
"isSearchable": [
- 31
+ 30
],
"isSystem": [
- 31
+ 30
],
"isUICreatable": [
- 31
+ 30
],
"isUIEditable": [
- 31
+ 30
],
"isUIReadOnly": [
- 31
+ 30
],
"__typename": [
1
@@ -7294,7 +7265,7 @@ export default {
},
"LogicFunctionIdInput": {
"id": [
- 205
+ 204
],
"__typename": [
1
@@ -7313,19 +7284,19 @@ export default {
},
"FindMessageSuppressionsInput": {
"reason": [
- 298
+ 297
],
"searchTerm": [
1
],
"unsubscribeTopicId": [
- 4
+ 3
],
"limit": [
- 27
+ 26
],
"offset": [
- 27
+ 26
],
"__typename": [
1
@@ -7347,13 +7318,13 @@ export default {
},
"EventLogQueryInput": {
"table": [
- 367
+ 366
],
"filters": [
- 368
+ 367
],
"first": [
- 27
+ 26
],
"after": [
1
@@ -7371,7 +7342,7 @@ export default {
1
],
"dateRange": [
- 369
+ 368
],
"recordId": [
1
@@ -7385,10 +7356,10 @@ export default {
},
"EventLogDateRangeInput": {
"start": [
- 6
+ 4
],
"end": [
- 6
+ 4
],
"__typename": [
1
@@ -7396,10 +7367,10 @@ export default {
},
"PieChartDataInput": {
"objectMetadataId": [
- 4
+ 3
],
"configuration": [
- 5
+ 9
],
"__typename": [
1
@@ -7407,10 +7378,10 @@ export default {
},
"LineChartDataInput": {
"objectMetadataId": [
- 4
+ 3
],
"configuration": [
- 5
+ 9
],
"__typename": [
1
@@ -7418,10 +7389,10 @@ export default {
},
"BarChartDataInput": {
"objectMetadataId": [
- 4
+ 3
],
"configuration": [
- 5
+ 9
],
"__typename": [
1
@@ -7429,16 +7400,16 @@ export default {
},
"UsageAnalyticsInput": {
"periodStart": [
- 6
+ 4
],
"periodEnd": [
- 6
+ 4
],
"userWorkspaceId": [
1
],
"operationTypes": [
- 374
+ 373
],
"__typename": [
1
@@ -7447,90 +7418,90 @@ export default {
"UsageOperationType": {},
"Mutation": {
"addQueryToEventStream": [
- 3,
+ 8,
{
"input": [
- 376,
+ 375,
"AddQuerySubscriptionInput!"
]
}
],
"removeQueryFromEventStream": [
- 3,
+ 8,
{
"input": [
- 377,
+ 376,
"RemoveQueryFromEventStreamInput!"
]
}
],
"createManyNavigationMenuItems": [
- 151,
+ 150,
{
"inputs": [
- 378,
+ 377,
"[CreateNavigationMenuItemInput!]!"
]
}
],
"createNavigationMenuItem": [
- 151,
+ 150,
{
"input": [
- 378,
+ 377,
"CreateNavigationMenuItemInput!"
]
}
],
"updateManyNavigationMenuItems": [
- 151,
+ 150,
{
"inputs": [
- 379,
+ 378,
"[UpdateOneNavigationMenuItemInput!]!"
]
}
],
"updateNavigationMenuItem": [
- 151,
+ 150,
{
"input": [
- 379,
+ 378,
"UpdateOneNavigationMenuItemInput!"
]
}
],
"deleteManyNavigationMenuItems": [
- 151,
+ 150,
{
"ids": [
- 4,
+ 3,
"[UUID!]!"
]
}
],
"deleteNavigationMenuItem": [
- 151,
+ 150,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"createFileUpload": [
- 149,
+ 148,
{
"filename": [
1,
"String!"
],
"size": [
- 16,
+ 15,
"Float!"
],
"fileFolder": [
- 381,
+ 380,
"FileFolder!"
],
"fieldMetadataId": [
@@ -7542,7 +7513,7 @@ export default {
}
],
"completeFileUpload": [
- 148,
+ 147,
{
"fileId": [
1,
@@ -7551,13 +7522,13 @@ export default {
}
],
"refreshEnterpriseValidityToken": [
- 3
+ 8
],
"releaseEnterpriseServerBinding": [
- 145
+ 144
],
"setEnterpriseKey": [
- 145,
+ 144,
{
"enterpriseKey": [
1,
@@ -7566,55 +7537,55 @@ export default {
}
],
"uploadEmailAttachmentFile": [
- 148,
+ 147,
{
"file": [
- 382,
+ 381,
"Upload!"
]
}
],
"uploadAiChatFile": [
- 148,
+ 147,
{
"file": [
- 382,
+ 381,
"Upload!"
]
}
],
"uploadWorkflowFile": [
- 148,
+ 147,
{
"file": [
- 382,
+ 381,
"Upload!"
]
}
],
"uploadWorkspaceLogo": [
- 148,
+ 147,
{
"file": [
- 382,
+ 381,
"Upload!"
]
}
],
"uploadWorkspaceMemberProfilePicture": [
- 148,
+ 147,
{
"file": [
- 382,
+ 381,
"Upload!"
]
}
],
"uploadFilesFieldFile": [
- 148,
+ 147,
{
"file": [
- 382,
+ 381,
"Upload!"
],
"fieldMetadataId": [
@@ -7624,10 +7595,10 @@ export default {
}
],
"uploadFilesFieldFileByUniversalIdentifier": [
- 148,
+ 147,
{
"file": [
- 382,
+ 381,
"Upload!"
],
"fieldMetadataUniversalIdentifier": [
@@ -7637,29 +7608,29 @@ export default {
}
],
"createViewFilterGroup": [
- 54,
+ 53,
{
"input": [
- 383,
+ 382,
"CreateViewFilterGroupInput!"
]
}
],
"updateViewFilterGroup": [
- 54,
+ 53,
{
"id": [
1,
"String!"
],
"input": [
- 384,
+ 383,
"UpdateViewFilterGroupInput!"
]
}
],
"deleteViewFilterGroup": [
- 3,
+ 8,
{
"id": [
1,
@@ -7668,7 +7639,7 @@ export default {
}
],
"destroyViewFilterGroup": [
- 3,
+ 8,
{
"id": [
1,
@@ -7677,65 +7648,65 @@ export default {
}
],
"createViewFilter": [
- 56,
+ 55,
{
"input": [
- 385,
+ 384,
"CreateViewFilterInput!"
]
}
],
"updateViewFilter": [
- 56,
+ 55,
{
"input": [
- 386,
+ 385,
"UpdateViewFilterInput!"
]
}
],
"deleteViewFilter": [
- 56,
+ 55,
{
"input": [
- 388,
+ 387,
"DeleteViewFilterInput!"
]
}
],
"destroyViewFilter": [
- 56,
+ 55,
{
"input": [
- 389,
+ 388,
"DestroyViewFilterInput!"
]
}
],
"createView": [
- 62,
+ 61,
{
"input": [
- 390,
+ 389,
"CreateViewInput!"
]
}
],
"updateView": [
- 62,
+ 61,
{
"id": [
1,
"String!"
],
"input": [
- 391,
+ 390,
"UpdateViewInput!"
]
}
],
"deleteView": [
- 3,
+ 8,
{
"id": [
1,
@@ -7744,7 +7715,7 @@ export default {
}
],
"destroyView": [
- 3,
+ 8,
{
"id": [
1,
@@ -7753,209 +7724,209 @@ export default {
}
],
"upsertViewWidget": [
- 62,
+ 61,
{
"input": [
- 392,
+ 391,
"UpsertViewWidgetInput!"
]
}
],
"createViewSort": [
- 59,
+ 58,
{
"input": [
- 398,
+ 397,
"CreateViewSortInput!"
]
}
],
"updateViewSort": [
- 59,
+ 58,
{
"input": [
- 399,
+ 398,
"UpdateViewSortInput!"
]
}
],
"deleteViewSort": [
- 3,
+ 8,
{
"input": [
- 401,
+ 400,
"DeleteViewSortInput!"
]
}
],
"destroyViewSort": [
- 3,
+ 8,
{
"input": [
- 402,
+ 401,
"DestroyViewSortInput!"
]
}
],
"updateViewField": [
- 52,
+ 51,
{
"input": [
- 403,
+ 402,
"UpdateViewFieldInput!"
]
}
],
"createViewField": [
- 52,
+ 51,
{
"input": [
- 405,
+ 404,
"CreateViewFieldInput!"
]
}
],
"createManyViewFields": [
- 52,
+ 51,
{
"inputs": [
- 405,
+ 404,
"[CreateViewFieldInput!]!"
]
}
],
"deleteViewField": [
- 52,
+ 51,
{
"input": [
- 406,
+ 405,
"DeleteViewFieldInput!"
]
}
],
"destroyViewField": [
- 52,
+ 51,
{
"input": [
- 407,
+ 406,
"DestroyViewFieldInput!"
]
}
],
"updateViewFieldGroup": [
- 61,
+ 60,
{
"input": [
- 408,
+ 407,
"UpdateViewFieldGroupInput!"
]
}
],
"createViewFieldGroup": [
- 61,
+ 60,
{
"input": [
- 410,
+ 409,
"CreateViewFieldGroupInput!"
]
}
],
"createManyViewFieldGroups": [
- 61,
+ 60,
{
"inputs": [
- 410,
+ 409,
"[CreateViewFieldGroupInput!]!"
]
}
],
"deleteViewFieldGroup": [
- 61,
+ 60,
{
"input": [
- 411,
+ 410,
"DeleteViewFieldGroupInput!"
]
}
],
"destroyViewFieldGroup": [
- 61,
+ 60,
{
"input": [
- 412,
+ 411,
"DestroyViewFieldGroupInput!"
]
}
],
"upsertFieldsWidget": [
- 62,
+ 61,
{
"input": [
- 413,
+ 412,
"UpsertFieldsWidgetInput!"
]
}
],
"createApiKey": [
- 7,
+ 2,
{
"input": [
- 416,
+ 415,
"CreateApiKeyInput!"
]
}
],
"updateApiKey": [
- 7,
+ 2,
{
"input": [
- 417,
+ 416,
"UpdateApiKeyInput!"
]
}
],
"revokeApiKey": [
- 7,
+ 2,
{
"input": [
- 418,
+ 417,
"RevokeApiKeyInput!"
]
}
],
"assignRoleToApiKey": [
- 3,
+ 8,
{
"apiKeyId": [
- 4,
+ 3,
"UUID!"
],
"roleId": [
- 4,
+ 3,
"UUID!"
]
}
],
"revokeUserSession": [
- 3,
+ 8,
{
"userSessionId": [
- 4,
+ 3,
"UUID!"
]
}
],
"revokeAllOtherUserSessions": [
- 27
+ 26
],
"skipSyncEmailOnboardingStep": [
- 168
+ 167
],
"completeBookCallOnboardingStep": [
- 168
+ 167
],
"triggerInstallAppsOnboardingStep": [
- 168,
+ 167,
{
"universalIdentifiers": [
1,
@@ -7964,7 +7935,7 @@ export default {
}
],
"updateOneApplicationVariable": [
- 3,
+ 8,
{
"key": [
1,
@@ -7975,24 +7946,24 @@ export default {
"String!"
],
"applicationId": [
- 4,
+ 3,
"UUID!"
]
}
],
"checkoutSession": [
- 165,
+ 164,
{
"recurringInterval": [
- 133,
+ 132,
"SubscriptionInterval!"
],
"plan": [
- 129,
+ 128,
"BillingPlanKey!"
],
"requirePaymentMethod": [
- 3,
+ 8,
"Boolean!"
],
"successUrlPath": [
@@ -8001,18 +7972,18 @@ export default {
}
],
"createSubscriptionPaymentIntent": [
- 164,
+ 163,
{
"recurringInterval": [
- 133,
+ 132,
"SubscriptionInterval!"
],
"plan": [
- 129,
+ 128,
"BillingPlanKey!"
],
"requirePaymentMethod": [
- 3,
+ 8,
"Boolean!"
],
"successUrlPath": [
@@ -8025,22 +7996,22 @@ export default {
}
],
"createBillingPaymentMethodSetupIntent": [
- 164
+ 163
],
"switchSubscriptionInterval": [
- 166
+ 165
],
"switchBillingPlan": [
- 166
+ 165
],
"cancelSwitchBillingPlan": [
- 166
+ 165
],
"cancelSwitchBillingInterval": [
- 166
+ 165
],
"setResourceCreditSubscriptionPrice": [
- 166,
+ 165,
{
"priceId": [
1,
@@ -8049,10 +8020,10 @@ export default {
}
],
"endSubscriptionTrialPeriod": [
- 161
+ 160
],
"cancelSwitchResourceCreditPrice": [
- 166
+ 165
],
"deleteWorkspaceInvitation": [
1,
@@ -8064,7 +8035,7 @@ export default {
}
],
"resendWorkspaceInvitation": [
- 170,
+ 169,
{
"appTokenId": [
1,
@@ -8073,68 +8044,68 @@ export default {
}
],
"sendInvitations": [
- 170,
+ 169,
{
"emails": [
1,
"[String!]!"
],
"roleId": [
- 4
+ 3
]
}
],
"createApprovedAccessDomain": [
- 147,
+ 146,
{
"input": [
- 419,
+ 418,
"CreateApprovedAccessDomainInput!"
]
}
],
"deleteApprovedAccessDomain": [
- 3,
+ 8,
{
"input": [
- 420,
+ 419,
"DeleteApprovedAccessDomainInput!"
]
}
],
"validateApprovedAccessDomain": [
- 147,
+ 146,
{
"input": [
- 421,
+ 420,
"ValidateApprovedAccessDomainInput!"
]
}
],
"createPageLayoutTab": [
- 121,
+ 120,
{
"input": [
- 422,
+ 421,
"CreatePageLayoutTabInput!"
]
}
],
"updatePageLayoutTab": [
- 121,
+ 120,
{
"id": [
1,
"String!"
],
"input": [
- 423,
+ 422,
"UpdatePageLayoutTabInput!"
]
}
],
"destroyPageLayoutTab": [
- 3,
+ 8,
{
"id": [
1,
@@ -8143,29 +8114,29 @@ export default {
}
],
"createPageLayout": [
- 122,
+ 121,
{
"input": [
- 424,
+ 423,
"CreatePageLayoutInput!"
]
}
],
"updatePageLayout": [
- 122,
+ 121,
{
"id": [
1,
"String!"
],
"input": [
- 425,
+ 424,
"UpdatePageLayoutInput!"
]
}
],
"destroyPageLayout": [
- 3,
+ 8,
{
"id": [
1,
@@ -8174,20 +8145,20 @@ export default {
}
],
"updatePageLayoutWithTabsAndWidgets": [
- 122,
+ 121,
{
"id": [
1,
"String!"
],
"input": [
- 426,
+ 425,
"UpdatePageLayoutWithTabsInput!"
]
}
],
"resetPageLayoutToDefault": [
- 122,
+ 121,
{
"id": [
1,
@@ -8196,7 +8167,7 @@ export default {
}
],
"resetPageLayoutWidgetToDefault": [
- 79,
+ 78,
{
"id": [
1,
@@ -8205,7 +8176,7 @@ export default {
}
],
"resetPageLayoutTabToDefault": [
- 121,
+ 120,
{
"id": [
1,
@@ -8214,29 +8185,29 @@ export default {
}
],
"createPageLayoutWidget": [
- 79,
+ 78,
{
"input": [
- 430,
+ 429,
"CreatePageLayoutWidgetInput!"
]
}
],
"updatePageLayoutWidget": [
- 79,
+ 78,
{
"id": [
1,
"String!"
],
"input": [
- 431,
+ 430,
"UpdatePageLayoutWidgetInput!"
]
}
],
"destroyPageLayoutWidget": [
- 3,
+ 8,
{
"id": [
1,
@@ -8245,205 +8216,205 @@ export default {
}
],
"createOneAgent": [
- 11,
+ 10,
{
"input": [
- 432,
+ 431,
"CreateAgentInput!"
]
}
],
"updateOneAgent": [
- 11,
+ 10,
{
"input": [
- 433,
+ 432,
"UpdateAgentInput!"
]
}
],
"deleteOneAgent": [
- 11,
+ 10,
{
"input": [
- 360,
+ 359,
"AgentIdInput!"
]
}
],
"createOneObject": [
- 24,
+ 23,
{
"input": [
- 434,
+ 433,
"CreateOneObjectInput!"
]
}
],
"deleteOneObject": [
- 24,
+ 23,
{
"input": [
- 436,
+ 435,
"DeleteOneObjectInput!"
]
}
],
"updateOneObject": [
- 24,
+ 23,
{
"input": [
- 437,
+ 436,
"UpdateOneObjectInput!"
]
}
],
"createOneIndex": [
- 231,
+ 230,
{
"input": [
- 439,
+ 438,
"CreateOneIndexInput!"
]
}
],
"deleteOneIndex": [
- 231,
+ 230,
{
"input": [
- 442,
+ 441,
"DeleteOneIndexInput!"
]
}
],
"deleteOneLogicFunction": [
- 22,
+ 21,
{
"input": [
- 362,
+ 361,
"LogicFunctionIdInput!"
]
}
],
"createOneLogicFunction": [
- 22,
+ 21,
{
"input": [
- 443,
+ 442,
"CreateLogicFunctionFromSourceInput!"
]
}
],
"executeOneLogicFunction": [
- 143,
+ 142,
{
"input": [
- 444,
+ 443,
"ExecuteOneLogicFunctionInput!"
]
}
],
"updateOneLogicFunction": [
- 3,
+ 8,
{
"input": [
- 445,
+ 444,
"UpdateLogicFunctionFromSourceInput!"
]
}
],
"createCommandMenuItem": [
- 15,
+ 14,
{
"input": [
- 447,
+ 446,
"CreateCommandMenuItemInput!"
]
}
],
"updateCommandMenuItem": [
- 15,
+ 14,
{
"input": [
- 448,
+ 447,
"UpdateCommandMenuItemInput!"
]
}
],
"resetCommandMenuItem": [
- 15,
+ 14,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"deleteCommandMenuItem": [
- 15,
+ 14,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"createFrontComponent": [
- 14,
+ 13,
{
"input": [
- 449,
+ 448,
"CreateFrontComponentInput!"
]
}
],
"updateFrontComponent": [
- 14,
+ 13,
{
"input": [
- 450,
+ 449,
"UpdateFrontComponentInput!"
]
}
],
"deleteFrontComponent": [
- 14,
+ 13,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"activateWorkspace": [
- 68,
+ 67,
{
"data": [
- 452,
+ 451,
"ActivateWorkspaceInput!"
]
}
],
"updateWorkspace": [
- 68,
+ 67,
{
"data": [
- 453,
+ 452,
"UpdateWorkspaceInput!"
]
}
],
"deleteCurrentWorkspace": [
- 68
+ 67
],
"checkCustomDomainValidRecords": [
- 243
+ 242
],
"enrichWorkspaceCompany": [
- 221
+ 220
],
"upgradeApplication": [
- 3,
+ 8,
{
"appRegistrationId": [
1,
@@ -8456,25 +8427,25 @@ export default {
}
],
"createApplicationRegistration": [
- 201,
+ 200,
{
"input": [
- 454,
+ 453,
"CreateApplicationRegistrationInput!"
]
}
],
"updateApplicationRegistration": [
- 74,
+ 73,
{
"input": [
- 455,
+ 454,
"UpdateApplicationRegistrationInput!"
]
}
],
"deleteApplicationRegistration": [
- 3,
+ 8,
{
"id": [
1,
@@ -8483,7 +8454,7 @@ export default {
}
],
"rotateApplicationRegistrationClientSecret": [
- 203,
+ 202,
{
"id": [
1,
@@ -8492,25 +8463,25 @@ export default {
}
],
"createApplicationRegistrationVariable": [
- 2,
+ 173,
{
"input": [
- 457,
+ 456,
"CreateApplicationRegistrationVariableInput!"
]
}
],
"updateApplicationRegistrationVariable": [
- 2,
+ 173,
{
"input": [
- 458,
+ 457,
"UpdateApplicationRegistrationVariableInput!"
]
}
],
"deleteApplicationRegistrationVariable": [
- 3,
+ 8,
{
"id": [
1,
@@ -8519,10 +8490,10 @@ export default {
}
],
"uploadAppTarball": [
- 74,
+ 73,
{
"file": [
- 382,
+ 381,
"Upload!"
],
"universalIdentifier": [
@@ -8531,7 +8502,7 @@ export default {
}
],
"claimApplicationRegistrationOwnership": [
- 74,
+ 73,
{
"applicationRegistrationId": [
1,
@@ -8540,7 +8511,7 @@ export default {
}
],
"transferApplicationRegistrationOwnership": [
- 74,
+ 73,
{
"applicationRegistrationId": [
1,
@@ -8553,7 +8524,7 @@ export default {
}
],
"installMarketplaceApp": [
- 3,
+ 8,
{
"universalIdentifier": [
1,
@@ -8565,7 +8536,7 @@ export default {
}
],
"installApplication": [
- 48,
+ 47,
{
"universalIdentifier": [
1,
@@ -8577,20 +8548,20 @@ export default {
}
],
"updateApplication": [
- 48,
+ 47,
{
"id": [
- 4,
+ 3,
"UUID!"
],
"input": [
- 460,
+ 459,
"UpdateApplicationInput!"
]
}
],
"uninstallApplication": [
- 3,
+ 8,
{
"universalIdentifier": [
1,
@@ -8599,116 +8570,116 @@ export default {
}
],
"syncMarketplaceCatalog": [
- 3
+ 8
],
"createOneField": [
- 223,
+ 222,
{
"input": [
- 461,
+ 460,
"CreateOneFieldMetadataInput!"
]
}
],
"updateOneField": [
- 223,
+ 222,
{
"input": [
- 463,
+ 462,
"UpdateOneFieldMetadataInput!"
]
}
],
"deleteOneField": [
- 223,
+ 222,
{
"input": [
- 465,
+ 464,
"DeleteOneFieldInput!"
]
}
],
"createViewGroup": [
- 58,
+ 57,
{
"input": [
- 466,
+ 465,
"CreateViewGroupInput!"
]
}
],
"createManyViewGroups": [
- 58,
+ 57,
{
"inputs": [
- 466,
+ 465,
"[CreateViewGroupInput!]!"
]
}
],
"updateViewGroup": [
- 58,
+ 57,
{
"input": [
- 467,
+ 466,
"UpdateViewGroupInput!"
]
}
],
"updateManyViewGroups": [
- 58,
+ 57,
{
"inputs": [
- 467,
+ 466,
"[UpdateViewGroupInput!]!"
]
}
],
"deleteViewGroup": [
- 58,
+ 57,
{
"input": [
- 469,
+ 468,
"DeleteViewGroupInput!"
]
}
],
"destroyViewGroup": [
- 58,
+ 57,
{
"input": [
- 470,
+ 469,
"DestroyViewGroupInput!"
]
}
],
"updateWorkspaceMemberRole": [
- 34,
+ 33,
{
"workspaceMemberId": [
- 4,
+ 3,
"UUID!"
],
"roleId": [
- 4,
+ 3,
"UUID!"
]
}
],
"createOneRole": [
- 47,
+ 46,
{
"createRoleInput": [
- 471,
+ 470,
"CreateRoleInput!"
]
}
],
"updateOneRole": [
- 47,
+ 46,
{
"updateRoleInput": [
- 472,
+ 471,
"UpdateRoleInput!"
]
}
@@ -8717,116 +8688,116 @@ export default {
1,
{
"roleId": [
- 4,
+ 3,
"UUID!"
]
}
],
"upsertObjectPermissions": [
- 44,
+ 43,
{
"upsertObjectPermissionsInput": [
- 474,
+ 473,
"UpsertObjectPermissionsInput!"
]
}
],
"upsertPermissionFlags": [
- 45,
+ 44,
{
"upsertPermissionFlagsInput": [
- 476,
+ 475,
"UpsertPermissionFlagsInput!"
]
}
],
"upsertFieldPermissions": [
- 39,
+ 38,
{
"upsertFieldPermissionsInput": [
- 477,
+ 476,
"UpsertFieldPermissionsInput!"
]
}
],
"upsertRowLevelPermissionPredicates": [
- 244,
+ 243,
{
"input": [
- 479,
+ 478,
"UpsertRowLevelPermissionPredicatesInput!"
]
}
],
"assignRoleToAgent": [
- 3,
+ 8,
{
"agentId": [
- 4,
+ 3,
"UUID!"
],
"roleId": [
- 4,
+ 3,
"UUID!"
]
}
],
"removeRoleFromAgent": [
- 3,
+ 8,
{
"agentId": [
- 4,
+ 3,
"UUID!"
]
}
],
"sendEmailViaEmailingDomain": [
- 294,
+ 293,
{
"input": [
- 482,
+ 481,
"SendEmailViaDomainInput!"
]
}
],
"sendMessageCampaign": [
- 296,
+ 295,
{
"input": [
- 483,
+ 482,
"SendMessageCampaignInput!"
]
}
],
"sendMessageCampaignTest": [
- 294,
+ 293,
{
"input": [
- 484,
+ 483,
"SendMessageCampaignTestInput!"
]
}
],
"createUnsubscribeTopic": [
- 301,
+ 300,
{
"input": [
- 485,
+ 484,
"CreateUnsubscribeTopicInput!"
]
}
],
"updateUnsubscribeTopic": [
- 301,
+ 300,
{
"input": [
- 486,
+ 485,
"UpdateUnsubscribeTopicInput!"
]
}
],
"deleteUnsubscribeTopic": [
- 3,
+ 8,
{
"id": [
1,
@@ -8835,52 +8806,52 @@ export default {
}
],
"updateMessageChannel": [
- 284,
+ 283,
{
"input": [
- 487,
+ 486,
"UpdateMessageChannelInput!"
]
}
],
"createEmailGroupChannel": [
- 292,
+ 291,
{
"input": [
- 489,
+ 488,
"CreateEmailGroupChannelInput!"
]
}
],
"updateEmailGroupChannel": [
- 284,
+ 283,
{
"input": [
- 490,
+ 489,
"UpdateEmailGroupChannelInput!"
]
}
],
"deleteEmailGroupChannel": [
- 284,
+ 283,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"createEmailingDomain": [
- 282,
+ 281,
{
"input": [
- 491,
+ 490,
"CreateEmailingDomainInput!"
]
}
],
"deleteEmailingDomain": [
- 3,
+ 8,
{
"id": [
1,
@@ -8889,7 +8860,7 @@ export default {
}
],
"verifyEmailingDomain": [
- 282,
+ 281,
{
"id": [
1,
@@ -8898,115 +8869,115 @@ export default {
}
],
"deleteConnectedAccount": [
- 249,
+ 248,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"runAgent": [
- 313,
+ 312,
{
"input": [
- 492,
+ 491,
"RunAgentInput!"
]
}
],
"createWebhook": [
- 310,
+ 309,
{
"input": [
- 495,
+ 494,
"CreateWebhookInput!"
]
}
],
"updateWebhook": [
- 310,
+ 309,
{
"input": [
- 496,
+ 495,
"UpdateWebhookInput!"
]
}
],
"deleteWebhook": [
- 310,
+ 309,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"updateMessageFolder": [
- 351,
+ 350,
{
"input": [
- 498,
+ 497,
"UpdateMessageFolderInput!"
]
}
],
"updateMessageFolders": [
- 351,
+ 350,
{
"input": [
- 500,
+ 499,
"UpdateMessageFoldersInput!"
]
}
],
"updateCalendarChannel": [
- 346,
+ 345,
{
"input": [
- 501,
+ 500,
"UpdateCalendarChannelInput!"
]
}
],
"setAppKeyValue": [
- 344,
+ 343,
{
"input": [
- 503,
+ 502,
"SetAppKeyValueInput!"
]
}
],
"deleteAppKeyValue": [
- 3,
+ 8,
{
"key": [
1,
"String!"
],
"scope": [
- 345
+ 344
]
}
],
"enqueueJob": [
- 343,
+ 342,
{
"input": [
- 504,
+ 503,
"EnqueueJobInput!"
]
}
],
"createChatThread": [
- 331
+ 330
],
"sendChatMessage": [
- 336,
+ 335,
{
"threadId": [
- 4,
+ 3,
"UUID!"
],
"text": [
@@ -9014,26 +8985,26 @@ export default {
"String!"
],
"messageId": [
- 4,
+ 3,
"UUID!"
],
"browsingContext": [
- 5
+ 9
],
"modelId": [
1
],
"fileAttachments": [
- 505,
+ 504,
"[FileAttachmentInput!]"
]
}
],
"retryChatMessage": [
- 336,
+ 335,
{
"threadId": [
- 4,
+ 3,
"UUID!"
],
"modelId": [
@@ -9042,18 +9013,18 @@ export default {
}
],
"answerAgentChatQuestion": [
- 336,
+ 335,
{
"threadId": [
- 4,
+ 3,
"UUID!"
],
"messageId": [
- 4,
+ 3,
"UUID!"
],
"answers": [
- 506,
+ 505,
"[AgentChatQuestionAnswerInput!]!"
],
"modelId": [
@@ -9062,19 +9033,19 @@ export default {
}
],
"stopAgentChatStream": [
- 3,
+ 8,
{
"threadId": [
- 4,
+ 3,
"UUID!"
]
}
],
"renameChatThread": [
- 331,
+ 330,
{
"id": [
- 4,
+ 3,
"UUID!"
],
"title": [
@@ -9084,108 +9055,108 @@ export default {
}
],
"archiveChatThread": [
- 331,
+ 330,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"unarchiveChatThread": [
- 331,
+ 330,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"deleteChatThread": [
- 3,
+ 8,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"deleteQueuedChatMessage": [
- 3,
+ 8,
{
"messageId": [
- 4,
+ 3,
"UUID!"
]
}
],
"startWorkspaceSetupChat": [
- 338,
+ 337,
{
"companyContext": [
- 5
+ 9
]
}
],
"createSkill": [
- 329,
+ 328,
{
"input": [
- 507,
+ 506,
"CreateSkillInput!"
]
}
],
"updateSkill": [
- 329,
+ 328,
{
"input": [
- 508,
+ 507,
"UpdateSkillInput!"
]
}
],
"deleteSkill": [
- 329,
+ 328,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"activateSkill": [
- 329,
+ 328,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"deactivateSkill": [
- 329,
+ 328,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"evaluateAgentTurn": [
- 340,
+ 339,
{
"turnId": [
- 4,
+ 3,
"UUID!"
]
}
],
"runEvaluationInput": [
- 341,
+ 340,
{
"agentId": [
- 4,
+ 3,
"UUID!"
],
"input": [
@@ -9195,16 +9166,16 @@ export default {
}
],
"getAuthorizationUrlForSSO": [
- 257,
+ 256,
{
"input": [
- 509,
+ 508,
"GetAuthorizationUrlForSSOInput!"
]
}
],
"getLoginTokenFromCredentials": [
- 268,
+ 267,
{
"email": [
1,
@@ -9230,7 +9201,7 @@ export default {
}
],
"signIn": [
- 255,
+ 254,
{
"email": [
1,
@@ -9252,7 +9223,7 @@ export default {
}
],
"verifyEmailAndGetLoginToken": [
- 263,
+ 262,
{
"emailVerificationToken": [
1,
@@ -9272,7 +9243,7 @@ export default {
}
],
"verifyEmailAndGetWorkspaceAgnosticToken": [
- 255,
+ 254,
{
"emailVerificationToken": [
1,
@@ -9288,7 +9259,7 @@ export default {
}
],
"getAuthTokensFromOTP": [
- 267,
+ 266,
{
"otp": [
1,
@@ -9308,7 +9279,7 @@ export default {
}
],
"signUp": [
- 255,
+ 254,
{
"email": [
1,
@@ -9330,7 +9301,7 @@ export default {
}
],
"signUpInWorkspace": [
- 260,
+ 259,
{
"email": [
1,
@@ -9341,7 +9312,7 @@ export default {
"String!"
],
"workspaceId": [
- 4
+ 3
],
"workspaceInviteHash": [
1
@@ -9361,31 +9332,31 @@ export default {
}
],
"signUpInNewWorkspace": [
- 260,
+ 259,
{
"input": [
- 510
+ 509
]
}
],
"uploadNewWorkspaceLogo": [
- 148,
+ 147,
{
"workspaceId": [
1,
"String!"
],
"file": [
- 382,
+ 381,
"Upload!"
]
}
],
"generateTransientToken": [
- 261
+ 260
],
"getAuthTokensFromLoginToken": [
- 267,
+ 266,
{
"loginToken": [
1,
@@ -9398,7 +9369,7 @@ export default {
}
],
"getAuthTokensFromSSOExchangeToken": [
- 267,
+ 266,
{
"ssoExchangeToken": [
1,
@@ -9407,7 +9378,7 @@ export default {
}
],
"authorizeApp": [
- 253,
+ 252,
{
"clientId": [
1,
@@ -9429,7 +9400,7 @@ export default {
}
],
"renewToken": [
- 267,
+ 266,
{
"appToken": [
1,
@@ -9438,7 +9409,7 @@ export default {
}
],
"signOut": [
- 3,
+ 8,
{
"refreshToken": [
1
@@ -9446,10 +9417,10 @@ export default {
}
],
"generateApiKeyToken": [
- 266,
+ 265,
{
"apiKeyId": [
- 4,
+ 3,
"UUID!"
],
"expiresAt": [
@@ -9459,17 +9430,17 @@ export default {
}
],
"generatePlaygroundToken": [
- 12
+ 11
],
"emailPasswordResetLink": [
- 256,
+ 255,
{
"email": [
1,
"String!"
],
"workspaceId": [
- 4
+ 3
],
"captchaToken": [
1
@@ -9477,7 +9448,7 @@ export default {
}
],
"updatePasswordViaResetToken": [
- 258,
+ 257,
{
"passwordResetToken": [
1,
@@ -9490,7 +9461,7 @@ export default {
}
],
"initiateOTPProvisioning": [
- 251,
+ 250,
{
"loginToken": [
1,
@@ -9503,19 +9474,19 @@ export default {
}
],
"initiateOTPProvisioningForAuthenticatedUser": [
- 251
+ 250
],
"deleteTwoFactorAuthenticationMethod": [
- 250,
+ 249,
{
"twoFactorAuthenticationMethodId": [
- 4,
+ 3,
"UUID!"
]
}
],
"verifyTwoFactorAuthenticationMethodForAuthenticatedUser": [
- 252,
+ 251,
{
"otp": [
1,
@@ -9524,10 +9495,10 @@ export default {
}
],
"deleteUser": [
- 71
+ 70
],
"deleteUserFromWorkspace": [
- 50,
+ 49,
{
"workspaceMemberIdToDelete": [
1,
@@ -9536,16 +9507,16 @@ export default {
}
],
"updateWorkspaceMemberSettings": [
- 3,
+ 8,
{
"input": [
- 511,
+ 510,
"UpdateWorkspaceMemberSettingsInput!"
]
}
],
"updateUserEmail": [
- 3,
+ 8,
{
"newEmail": [
1,
@@ -9557,7 +9528,7 @@ export default {
}
],
"resendEmailVerificationToken": [
- 206,
+ 205,
{
"email": [
1,
@@ -9570,66 +9541,66 @@ export default {
}
],
"createOIDCIdentityProvider": [
- 211,
+ 210,
{
"input": [
- 512,
+ 511,
"SetupOIDCSsoInput!"
]
}
],
"createSAMLIdentityProvider": [
- 211,
+ 210,
{
"input": [
- 513,
+ 512,
"SetupSAMLSsoInput!"
]
}
],
"deleteSSOIdentityProvider": [
- 207,
+ 206,
{
"input": [
- 514,
+ 513,
"DeleteSsoInput!"
]
}
],
"editSSOIdentityProvider": [
- 208,
+ 207,
{
"input": [
- 515,
+ 514,
"EditSsoInput!"
]
}
],
"createObjectEvent": [
- 325,
+ 324,
{
"event": [
1,
"String!"
],
"recordId": [
- 4,
+ 3,
"UUID!"
],
"objectMetadataId": [
- 4,
+ 3,
"UUID!"
],
"properties": [
- 5
+ 9
]
}
],
"trackAnalytics": [
- 325,
+ 324,
{
"type": [
- 516,
+ 515,
"AnalyticsType!"
],
"name": [
@@ -9639,89 +9610,89 @@ export default {
1
],
"properties": [
- 5
+ 9
]
}
],
"duplicateDashboard": [
- 323,
+ 322,
{
"id": [
- 4,
+ 3,
"UUID!"
]
}
],
"impersonate": [
- 271,
+ 270,
{
"userId": [
- 4,
+ 3,
"UUID!"
],
"workspaceId": [
- 4,
+ 3,
"UUID!"
]
}
],
"stopImpersonation": [
- 272
+ 271
],
"createCalendarEvent": [
- 315,
+ 314,
{
"input": [
- 517,
+ 516,
"CreateCalendarEventInput!"
]
}
],
"sendEmail": [
- 324,
+ 323,
{
"input": [
- 518,
+ 517,
"SendEmailInput!"
]
}
],
"startChannelSync": [
- 314,
+ 313,
{
"connectedAccountId": [
- 4,
+ 3,
"UUID!"
]
}
],
"saveImapSmtpCaldavAccount": [
- 309,
+ 308,
{
"handle": [
1,
"String!"
],
"connectionParameters": [
- 520,
+ 519,
"EmailAccountConnectionParameters!"
],
"id": [
- 4
+ 3
]
}
],
"updateLabPublicFeatureFlag": [
- 171,
+ 170,
{
"input": [
- 522,
+ 521,
"UpdateLabPublicFeatureFlagInput!"
]
}
],
"createPublicDomain": [
- 280,
+ 279,
{
"domain": [
1,
@@ -9734,7 +9705,7 @@ export default {
}
],
"deletePublicDomain": [
- 3,
+ 8,
{
"domain": [
1,
@@ -9743,7 +9714,7 @@ export default {
}
],
"checkPublicDomainValidRecords": [
- 243,
+ 242,
{
"domain": [
1,
@@ -9752,7 +9723,7 @@ export default {
}
],
"createDevelopmentApplication": [
- 277,
+ 276,
{
"universalIdentifier": [
1,
@@ -9765,22 +9736,22 @@ export default {
}
],
"syncApplication": [
- 278,
+ 277,
{
"manifest": [
- 5,
+ 9,
"JSON!"
],
"dryRun": [
- 3
+ 8
]
}
],
"uploadApplicationFile": [
- 279,
+ 278,
{
"file": [
- 382,
+ 381,
"Upload!"
],
"applicationUniversalIdentifier": [
@@ -9788,7 +9759,7 @@ export default {
"String!"
],
"fileFolder": [
- 381,
+ 380,
"FileFolder!"
],
"filePath": [
@@ -9798,25 +9769,25 @@ export default {
}
],
"revokeApplicationAuthorization": [
- 3,
+ 8,
{
"applicationAuthorizationId": [
- 4,
+ 3,
"UUID!"
]
}
],
"generateApplicationToken": [
- 13,
+ 12,
{
"applicationId": [
- 4,
+ 3,
"UUID!"
]
}
],
"renewApplicationToken": [
- 13,
+ 12,
{
"applicationRefreshToken": [
1,
@@ -9836,7 +9807,7 @@ export default {
1
],
"operationSignature": [
- 5
+ 9
],
"__typename": [
1
@@ -9855,22 +9826,22 @@ export default {
},
"CreateNavigationMenuItemInput": {
"id": [
- 4
+ 3
],
"userWorkspaceId": [
- 4
+ 3
],
"targetRecordId": [
- 4
+ 3
],
"targetObjectMetadataId": [
- 4
+ 3
],
"viewId": [
- 4
+ 3
],
"type": [
- 152
+ 151
],
"name": [
1
@@ -9885,13 +9856,13 @@ export default {
1
],
"folderId": [
- 4
+ 3
],
"pageLayoutId": [
- 4
+ 3
],
"position": [
- 16
+ 15
],
"__typename": [
1
@@ -9899,10 +9870,10 @@ export default {
},
"UpdateOneNavigationMenuItemInput": {
"id": [
- 4
+ 3
],
"update": [
- 380
+ 379
],
"__typename": [
1
@@ -9910,10 +9881,10 @@ export default {
},
"UpdateNavigationMenuItemInput": {
"folderId": [
- 4
+ 3
],
"position": [
- 16
+ 15
],
"name": [
1
@@ -9928,7 +9899,7 @@ export default {
1
],
"pageLayoutId": [
- 4
+ 3
],
"__typename": [
1
@@ -9938,19 +9909,19 @@ export default {
"Upload": {},
"CreateViewFilterGroupInput": {
"id": [
- 4
+ 3
],
"parentViewFilterGroupId": [
- 4
+ 3
],
"logicalOperator": [
- 55
+ 54
],
"positionInViewFilterGroup": [
- 16
+ 15
],
"viewId": [
- 4
+ 3
],
"__typename": [
1
@@ -9958,19 +9929,19 @@ export default {
},
"UpdateViewFilterGroupInput": {
"id": [
- 4
+ 3
],
"parentViewFilterGroupId": [
- 4
+ 3
],
"logicalOperator": [
- 55
+ 54
],
"positionInViewFilterGroup": [
- 16
+ 15
],
"viewId": [
- 4
+ 3
],
"__typename": [
1
@@ -9978,31 +9949,31 @@ export default {
},
"CreateViewFilterInput": {
"id": [
- 4
+ 3
],
"fieldMetadataId": [
- 4
+ 3
],
"operand": [
- 57
+ 56
],
"value": [
- 5
+ 9
],
"viewFilterGroupId": [
- 4
+ 3
],
"positionInViewFilterGroup": [
- 16
+ 15
],
"subFieldName": [
1
],
"relationTargetFieldMetadataId": [
- 4
+ 3
],
"viewId": [
- 4
+ 3
],
"__typename": [
1
@@ -10010,10 +9981,10 @@ export default {
},
"UpdateViewFilterInput": {
"id": [
- 4
+ 3
],
"update": [
- 387
+ 386
],
"__typename": [
1
@@ -10021,25 +9992,25 @@ export default {
},
"UpdateViewFilterInputUpdates": {
"fieldMetadataId": [
- 4
+ 3
],
"operand": [
- 57
+ 56
],
"value": [
- 5
+ 9
],
"viewFilterGroupId": [
- 4
+ 3
],
"positionInViewFilterGroup": [
- 16
+ 15
],
"subFieldName": [
1
],
"relationTargetFieldMetadataId": [
- 4
+ 3
],
"__typename": [
1
@@ -10047,7 +10018,7 @@ export default {
},
"DeleteViewFilterInput": {
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -10055,7 +10026,7 @@ export default {
},
"DestroyViewFilterInput": {
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -10063,61 +10034,61 @@ export default {
},
"CreateViewInput": {
"id": [
- 4
+ 3
],
"name": [
1
],
"objectMetadataId": [
- 4
+ 3
],
"type": [
- 63
+ 62
],
"key": [
- 64
+ 63
],
"icon": [
1
],
"position": [
- 16
+ 15
],
"isCompact": [
- 3
+ 8
],
"shouldHideEmptyGroups": [
- 3
+ 8
],
"kanbanColumnWidth": [
- 27
+ 26
],
"openRecordIn": [
- 65
+ 64
],
"kanbanAggregateOperation": [
- 53
+ 52
],
"kanbanAggregateOperationFieldMetadataId": [
- 4
+ 3
],
"anyFieldFilterValue": [
1
],
"calendarLayout": [
- 66
+ 65
],
"calendarFieldMetadataId": [
- 4
+ 3
],
"calendarEndFieldMetadataId": [
- 4
+ 3
],
"mainGroupByFieldMetadataId": [
- 4
+ 3
],
"visibility": [
- 67
+ 66
],
"__typename": [
1
@@ -10125,55 +10096,55 @@ export default {
},
"UpdateViewInput": {
"id": [
- 4
+ 3
],
"name": [
1
],
"type": [
- 63
+ 62
],
"icon": [
1
],
"position": [
- 16
+ 15
],
"isCompact": [
- 3
+ 8
],
"openRecordIn": [
- 65
+ 64
],
"kanbanAggregateOperation": [
- 53
+ 52
],
"kanbanAggregateOperationFieldMetadataId": [
- 4
+ 3
],
"anyFieldFilterValue": [
1
],
"calendarLayout": [
- 66
+ 65
],
"calendarFieldMetadataId": [
- 4
+ 3
],
"calendarEndFieldMetadataId": [
- 4
+ 3
],
"visibility": [
- 67
+ 66
],
"mainGroupByFieldMetadataId": [
- 4
+ 3
],
"shouldHideEmptyGroups": [
- 3
+ 8
],
"kanbanColumnWidth": [
- 27
+ 26
],
"__typename": [
1
@@ -10181,22 +10152,22 @@ export default {
},
"UpsertViewWidgetInput": {
"widgetId": [
- 4
+ 3
],
"view": [
- 393
+ 392
],
"viewFields": [
- 394
+ 393
],
"viewFilters": [
- 395
+ 394
],
"viewFilterGroups": [
- 396
+ 395
],
"viewSorts": [
- 397
+ 396
],
"__typename": [
1
@@ -10204,34 +10175,34 @@ export default {
},
"UpsertViewWidgetViewSettingsInput": {
"type": [
- 63
+ 62
],
"mainGroupByFieldMetadataId": [
- 4
+ 3
],
"shouldHideEmptyGroups": [
- 3
+ 8
],
"openRecordIn": [
- 65
+ 64
],
"kanbanAggregateOperation": [
- 53
+ 52
],
"kanbanAggregateOperationFieldMetadataId": [
- 4
+ 3
],
"kanbanColumnWidth": [
- 27
+ 26
],
"calendarLayout": [
- 66
+ 65
],
"calendarFieldMetadataId": [
- 4
+ 3
],
"calendarEndFieldMetadataId": [
- 4
+ 3
],
"__typename": [
1
@@ -10239,22 +10210,22 @@ export default {
},
"UpsertViewWidgetViewFieldInput": {
"viewFieldId": [
- 4
+ 3
],
"fieldMetadataId": [
- 4
+ 3
],
"isVisible": [
- 3
+ 8
],
"position": [
- 16
+ 15
],
"size": [
- 16
+ 15
],
"aggregateOperation": [
- 53
+ 52
],
"__typename": [
1
@@ -10262,28 +10233,28 @@ export default {
},
"UpsertViewWidgetViewFilterInput": {
"id": [
- 4
+ 3
],
"fieldMetadataId": [
- 4
+ 3
],
"operand": [
- 57
+ 56
],
"value": [
- 5
+ 9
],
"viewFilterGroupId": [
- 4
+ 3
],
"positionInViewFilterGroup": [
- 16
+ 15
],
"subFieldName": [
1
],
"relationTargetFieldMetadataId": [
- 4
+ 3
],
"__typename": [
1
@@ -10291,16 +10262,16 @@ export default {
},
"UpsertViewWidgetViewFilterGroupInput": {
"id": [
- 4
+ 3
],
"parentViewFilterGroupId": [
- 4
+ 3
],
"logicalOperator": [
- 55
+ 54
],
"positionInViewFilterGroup": [
- 16
+ 15
],
"__typename": [
1
@@ -10308,13 +10279,13 @@ export default {
},
"UpsertViewWidgetViewSortInput": {
"id": [
- 4
+ 3
],
"fieldMetadataId": [
- 4
+ 3
],
"direction": [
- 60
+ 59
],
"__typename": [
1
@@ -10322,19 +10293,19 @@ export default {
},
"CreateViewSortInput": {
"id": [
- 4
+ 3
],
"fieldMetadataId": [
- 4
+ 3
],
"direction": [
- 60
+ 59
],
"subFieldName": [
1
],
"viewId": [
- 4
+ 3
],
"__typename": [
1
@@ -10342,10 +10313,10 @@ export default {
},
"UpdateViewSortInput": {
"id": [
- 4
+ 3
],
"update": [
- 400
+ 399
],
"__typename": [
1
@@ -10353,7 +10324,7 @@ export default {
},
"UpdateViewSortInputUpdates": {
"direction": [
- 60
+ 59
],
"subFieldName": [
1
@@ -10364,7 +10335,7 @@ export default {
},
"DeleteViewSortInput": {
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -10372,7 +10343,7 @@ export default {
},
"DestroyViewSortInput": {
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -10380,10 +10351,10 @@ export default {
},
"UpdateViewFieldInput": {
"id": [
- 4
+ 3
],
"update": [
- 404
+ 403
],
"__typename": [
1
@@ -10391,19 +10362,19 @@ export default {
},
"UpdateViewFieldInputUpdates": {
"isVisible": [
- 3
+ 8
],
"size": [
- 16
+ 15
],
"position": [
- 16
+ 15
],
"aggregateOperation": [
- 53
+ 52
],
"viewFieldGroupId": [
- 4
+ 3
],
"__typename": [
1
@@ -10411,28 +10382,28 @@ export default {
},
"CreateViewFieldInput": {
"id": [
- 4
+ 3
],
"fieldMetadataId": [
- 4
+ 3
],
"viewId": [
- 4
+ 3
],
"isVisible": [
- 3
+ 8
],
"size": [
- 16
+ 15
],
"position": [
- 16
+ 15
],
"aggregateOperation": [
- 53
+ 52
],
"viewFieldGroupId": [
- 4
+ 3
],
"__typename": [
1
@@ -10440,7 +10411,7 @@ export default {
},
"DeleteViewFieldInput": {
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -10448,7 +10419,7 @@ export default {
},
"DestroyViewFieldInput": {
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -10456,10 +10427,10 @@ export default {
},
"UpdateViewFieldGroupInput": {
"id": [
- 4
+ 3
],
"update": [
- 409
+ 408
],
"__typename": [
1
@@ -10470,10 +10441,10 @@ export default {
1
],
"position": [
- 16
+ 15
],
"isVisible": [
- 3
+ 8
],
"deletedAt": [
1
@@ -10484,19 +10455,19 @@ export default {
},
"CreateViewFieldGroupInput": {
"id": [
- 4
+ 3
],
"name": [
1
],
"viewId": [
- 4
+ 3
],
"position": [
- 16
+ 15
],
"isVisible": [
- 3
+ 8
],
"__typename": [
1
@@ -10504,7 +10475,7 @@ export default {
},
"DeleteViewFieldGroupInput": {
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -10512,7 +10483,7 @@ export default {
},
"DestroyViewFieldGroupInput": {
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -10520,13 +10491,13 @@ export default {
},
"UpsertFieldsWidgetInput": {
"widgetId": [
- 4
+ 3
],
"groups": [
- 414
+ 413
],
"fields": [
- 415
+ 414
],
"__typename": [
1
@@ -10534,19 +10505,19 @@ export default {
},
"UpsertFieldsWidgetGroupInput": {
"id": [
- 4
+ 3
],
"name": [
1
],
"position": [
- 16
+ 15
],
"isVisible": [
- 3
+ 8
],
"fields": [
- 415
+ 414
],
"__typename": [
1
@@ -10554,16 +10525,16 @@ export default {
},
"UpsertFieldsWidgetFieldInput": {
"viewFieldId": [
- 4
+ 3
],
"fieldMetadataId": [
- 4
+ 3
],
"isVisible": [
- 3
+ 8
],
"position": [
- 16
+ 15
],
"__typename": [
1
@@ -10580,7 +10551,7 @@ export default {
1
],
"roleId": [
- 4
+ 3
],
"__typename": [
1
@@ -10588,7 +10559,7 @@ export default {
},
"UpdateApiKeyInput": {
"id": [
- 4
+ 3
],
"name": [
1
@@ -10605,7 +10576,7 @@ export default {
},
"RevokeApiKeyInput": {
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -10624,7 +10595,7 @@ export default {
},
"DeleteApprovedAccessDomainInput": {
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -10635,7 +10606,7 @@ export default {
1
],
"approvedAccessDomainId": [
- 4
+ 3
],
"__typename": [
1
@@ -10646,13 +10617,13 @@ export default {
1
],
"position": [
- 16
+ 15
],
"pageLayoutId": [
- 4
+ 3
],
"layoutMode": [
- 83
+ 82
],
"__typename": [
1
@@ -10663,13 +10634,13 @@ export default {
1
],
"position": [
- 16
+ 15
],
"icon": [
1
],
"layoutMode": [
- 83
+ 82
],
"__typename": [
1
@@ -10680,10 +10651,10 @@ export default {
1
],
"type": [
- 123
+ 122
],
"objectMetadataId": [
- 4
+ 3
],
"__typename": [
1
@@ -10694,10 +10665,10 @@ export default {
1
],
"type": [
- 123
+ 122
],
"objectMetadataId": [
- 4
+ 3
],
"__typename": [
1
@@ -10708,13 +10679,13 @@ export default {
1
],
"type": [
- 123
+ 122
],
"objectMetadataId": [
- 4
+ 3
],
"tabs": [
- 427
+ 426
],
"__typename": [
1
@@ -10722,22 +10693,22 @@ export default {
},
"UpdatePageLayoutTabWithWidgetsInput": {
"id": [
- 4
+ 3
],
"title": [
1
],
"position": [
- 16
+ 15
],
"icon": [
1
],
"layoutMode": [
- 83
+ 82
],
"widgets": [
- 428
+ 427
],
"__typename": [
1
@@ -10745,31 +10716,31 @@ export default {
},
"UpdatePageLayoutWidgetWithIdInput": {
"id": [
- 4
+ 3
],
"pageLayoutTabId": [
- 4
+ 3
],
"title": [
1
],
"type": [
- 80
+ 79
],
"objectMetadataId": [
- 4
+ 3
],
"gridPosition": [
- 429
+ 428
],
"position": [
- 5
+ 9
],
"configuration": [
- 5
+ 9
],
"conditionalDisplay": [
- 5
+ 9
],
"conditionalAvailabilityExpression": [
1
@@ -10780,16 +10751,16 @@ export default {
},
"GridPositionInput": {
"row": [
- 16
+ 15
],
"column": [
- 16
+ 15
],
"rowSpan": [
- 16
+ 15
],
"columnSpan": [
- 16
+ 15
],
"__typename": [
1
@@ -10797,25 +10768,25 @@ export default {
},
"CreatePageLayoutWidgetInput": {
"pageLayoutTabId": [
- 4
+ 3
],
"title": [
1
],
"type": [
- 80
+ 79
],
"objectMetadataId": [
- 4
+ 3
],
"gridPosition": [
- 429
+ 428
],
"position": [
- 5
+ 9
],
"configuration": [
- 5
+ 9
],
"__typename": [
1
@@ -10823,28 +10794,28 @@ export default {
},
"UpdatePageLayoutWidgetInput": {
"pageLayoutTabId": [
- 4
+ 3
],
"title": [
1
],
"type": [
- 80
+ 79
],
"objectMetadataId": [
- 4
+ 3
],
"gridPosition": [
- 429
+ 428
],
"position": [
- 5
+ 9
],
"configuration": [
- 5
+ 9
],
"conditionalDisplay": [
- 5
+ 9
],
"conditionalAvailabilityExpression": [
1
@@ -10873,13 +10844,13 @@ export default {
1
],
"roleId": [
- 4
+ 3
],
"responseFormat": [
- 5
+ 9
],
"modelConfiguration": [
- 5
+ 9
],
"evaluationInputs": [
1
@@ -10890,7 +10861,7 @@ export default {
},
"UpdateAgentInput": {
"id": [
- 4
+ 3
],
"name": [
1
@@ -10911,13 +10882,13 @@ export default {
1
],
"roleId": [
- 4
+ 3
],
"responseFormat": [
- 5
+ 9
],
"modelConfiguration": [
- 5
+ 9
],
"evaluationInputs": [
1
@@ -10928,7 +10899,7 @@ export default {
},
"CreateOneObjectInput": {
"object": [
- 435
+ 434
],
"__typename": [
1
@@ -10960,19 +10931,19 @@ export default {
1
],
"skipNameField": [
- 3
+ 8
],
"isRemote": [
- 3
+ 8
],
"primaryKeyColumnType": [
1
],
"primaryKeyFieldMetadataSettings": [
- 5
+ 9
],
"isLabelSyncedWithName": [
- 3
+ 8
],
"__typename": [
1
@@ -10980,7 +10951,7 @@ export default {
},
"DeleteOneObjectInput": {
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -10988,10 +10959,10 @@ export default {
},
"UpdateOneObjectInput": {
"update": [
- 438
+ 437
],
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -11023,22 +10994,22 @@ export default {
1
],
"isActive": [
- 3
+ 8
],
"labelIdentifierFieldMetadataId": [
- 4
+ 3
],
"imageIdentifierFieldMetadataId": [
- 4
+ 3
],
"isLabelSyncedWithName": [
- 3
+ 8
],
"isSearchable": [
- 3
+ 8
],
"openRecordIn": [
- 25
+ 24
],
"__typename": [
1
@@ -11046,7 +11017,7 @@ export default {
},
"CreateOneIndexInput": {
"index": [
- 440
+ 439
],
"__typename": [
1
@@ -11054,13 +11025,13 @@ export default {
},
"CreateIndexInput": {
"objectMetadataId": [
- 4
+ 3
],
"fields": [
- 441
+ 440
],
"indexType": [
- 232
+ 231
],
"__typename": [
1
@@ -11068,7 +11039,7 @@ export default {
},
"CreateIndexFieldInput": {
"fieldMetadataId": [
- 4
+ 3
],
"subFieldName": [
1
@@ -11079,7 +11050,7 @@ export default {
},
"DeleteOneIndexInput": {
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -11087,10 +11058,10 @@ export default {
},
"CreateLogicFunctionFromSourceInput": {
"id": [
- 4
+ 3
],
"universalIdentifier": [
- 4
+ 3
],
"name": [
1
@@ -11099,28 +11070,28 @@ export default {
1
],
"timeoutSeconds": [
- 16
+ 15
],
"source": [
- 5
+ 9
],
"cronTriggerSettings": [
- 5
+ 9
],
"databaseEventTriggerSettings": [
- 5
+ 9
],
"httpRouteTriggerSettings": [
- 5
+ 9
],
"serverRouteTriggerSettings": [
- 5
+ 9
],
"toolTriggerSettings": [
- 5
+ 9
],
"workflowActionTriggerSettings": [
- 5
+ 9
],
"__typename": [
1
@@ -11128,10 +11099,10 @@ export default {
},
"ExecuteOneLogicFunctionInput": {
"id": [
- 4
+ 3
],
"payload": [
- 5
+ 9
],
"__typename": [
1
@@ -11139,10 +11110,10 @@ export default {
},
"UpdateLogicFunctionFromSourceInput": {
"id": [
- 4
+ 3
],
"update": [
- 446
+ 445
],
"__typename": [
1
@@ -11156,7 +11127,7 @@ export default {
1
],
"timeoutSeconds": [
- 16
+ 15
],
"sourceHandlerCode": [
1
@@ -11168,19 +11139,19 @@ export default {
1
],
"cronTriggerSettings": [
- 5
+ 9
],
"databaseEventTriggerSettings": [
- 5
+ 9
],
"httpRouteTriggerSettings": [
- 5
+ 9
],
"toolTriggerSettings": [
- 5
+ 9
],
"workflowActionTriggerSettings": [
- 5
+ 9
],
"__typename": [
1
@@ -11188,13 +11159,13 @@ export default {
},
"CreateCommandMenuItemInput": {
"workflowVersionId": [
- 4
+ 3
],
"frontComponentId": [
- 4
+ 3
],
"engineComponentKey": [
- 17
+ 16
],
"label": [
1
@@ -11206,13 +11177,13 @@ export default {
1
],
"position": [
- 16
+ 15
],
"isPinned": [
- 3
+ 8
],
"availabilityType": [
- 18
+ 17
],
"hotKeys": [
1
@@ -11221,13 +11192,13 @@ export default {
1
],
"availabilityObjectMetadataId": [
- 4
+ 3
],
"payload": [
- 5
+ 9
],
"pageLayoutId": [
- 4
+ 3
],
"__typename": [
1
@@ -11235,7 +11206,7 @@ export default {
},
"UpdateCommandMenuItemInput": {
"id": [
- 4
+ 3
],
"label": [
1
@@ -11247,25 +11218,25 @@ export default {
1
],
"position": [
- 16
+ 15
],
"isPinned": [
- 3
+ 8
],
"availabilityType": [
- 18
+ 17
],
"availabilityObjectMetadataId": [
- 4
+ 3
],
"engineComponentKey": [
- 17
+ 16
],
"hotKeys": [
1
],
"pageLayoutId": [
- 4
+ 3
],
"__typename": [
1
@@ -11273,7 +11244,7 @@ export default {
},
"CreateFrontComponentInput": {
"id": [
- 4
+ 3
],
"name": [
1
@@ -11299,10 +11270,10 @@ export default {
},
"UpdateFrontComponentInput": {
"id": [
- 4
+ 3
],
"update": [
- 451
+ 450
],
"__typename": [
1
@@ -11344,43 +11315,43 @@ export default {
1
],
"isPublicInviteLinkEnabled": [
- 3
+ 8
],
"workspaceDiscoverability": [
- 69
+ 68
],
"allowImpersonation": [
- 3
+ 8
],
"isGoogleAuthEnabled": [
- 3
+ 8
],
"isMicrosoftAuthEnabled": [
- 3
+ 8
],
"isPasswordAuthEnabled": [
- 3
+ 8
],
"isGoogleAuthBypassEnabled": [
- 3
+ 8
],
"isMicrosoftAuthBypassEnabled": [
- 3
+ 8
],
"isPasswordAuthBypassEnabled": [
- 3
+ 8
],
"defaultRoleId": [
- 4
+ 3
],
"isTwoFactorAuthenticationEnforced": [
- 3
+ 8
],
"trashRetentionDays": [
- 16
+ 15
],
"eventLogRetentionDays": [
- 16
+ 15
],
"fastModel": [
1
@@ -11398,10 +11369,10 @@ export default {
1
],
"useRecommendedModels": [
- 3
+ 8
],
"isInternalMessagesImportEnabled": [
- 3
+ 8
],
"__typename": [
1
@@ -11429,7 +11400,7 @@ export default {
1
],
"update": [
- 456
+ 455
],
"__typename": [
1
@@ -11446,13 +11417,13 @@ export default {
1
],
"isListed": [
- 3
+ 8
],
"isPreInstalled": [
- 3
+ 8
],
"isVetted": [
- 3
+ 8
],
"__typename": [
1
@@ -11472,7 +11443,7 @@ export default {
1
],
"isSecret": [
- 3
+ 8
],
"__typename": [
1
@@ -11483,7 +11454,7 @@ export default {
1
],
"update": [
- 459
+ 458
],
"__typename": [
1
@@ -11494,7 +11465,7 @@ export default {
1
],
"resetValue": [
- 3
+ 8
],
"description": [
1
@@ -11505,7 +11476,7 @@ export default {
},
"UpdateApplicationInput": {
"autoUpgrade": [
- 3
+ 8
],
"__typename": [
1
@@ -11513,7 +11484,7 @@ export default {
},
"CreateOneFieldMetadataInput": {
"field": [
- 462
+ 461
],
"__typename": [
1
@@ -11521,7 +11492,7 @@ export default {
},
"CreateFieldInput": {
"type": [
- 224
+ 223
],
"name": [
1
@@ -11536,46 +11507,46 @@ export default {
1
],
"isActive": [
- 3
+ 8
],
"isSystem": [
- 3
+ 8
],
"isUIEditable": [
- 3
+ 8
],
"isUIReadOnly": [
- 3
+ 8
],
"isNullable": [
- 3
+ 8
],
"isUnique": [
- 3
+ 8
],
"defaultValue": [
- 5
+ 9
],
"options": [
- 5
+ 9
],
"settings": [
- 5
+ 9
],
"objectMetadataId": [
- 4
+ 3
],
"isLabelSyncedWithName": [
- 3
+ 8
],
"isRemoteCreation": [
- 3
+ 8
],
"relationCreationPayload": [
- 5
+ 9
],
"morphRelationsCreationPayload": [
- 5
+ 9
],
"__typename": [
1
@@ -11583,10 +11554,10 @@ export default {
},
"UpdateOneFieldMetadataInput": {
"id": [
- 4
+ 3
],
"update": [
- 464
+ 463
],
"__typename": [
1
@@ -11609,40 +11580,40 @@ export default {
1
],
"isActive": [
- 3
+ 8
],
"isSystem": [
- 3
+ 8
],
"isUIEditable": [
- 3
+ 8
],
"isUIReadOnly": [
- 3
+ 8
],
"isNullable": [
- 3
+ 8
],
"isUnique": [
- 3
+ 8
],
"defaultValue": [
- 5
+ 9
],
"options": [
- 5
+ 9
],
"settings": [
- 5
+ 9
],
"objectMetadataId": [
- 4
+ 3
],
"isLabelSyncedWithName": [
- 3
+ 8
],
"morphRelationsUpdatePayload": [
- 5
+ 9
],
"__typename": [
1
@@ -11650,7 +11621,7 @@ export default {
},
"DeleteOneFieldInput": {
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -11658,19 +11629,19 @@ export default {
},
"CreateViewGroupInput": {
"id": [
- 4
+ 3
],
"isVisible": [
- 3
+ 8
],
"fieldValue": [
1
],
"position": [
- 16
+ 15
],
"viewId": [
- 4
+ 3
],
"__typename": [
1
@@ -11678,10 +11649,10 @@ export default {
},
"UpdateViewGroupInput": {
"id": [
- 4
+ 3
],
"update": [
- 468
+ 467
],
"__typename": [
1
@@ -11689,16 +11660,16 @@ export default {
},
"UpdateViewGroupInputUpdates": {
"fieldMetadataId": [
- 4
+ 3
],
"isVisible": [
- 3
+ 8
],
"fieldValue": [
1
],
"position": [
- 16
+ 15
],
"__typename": [
1
@@ -11706,7 +11677,7 @@ export default {
},
"DeleteViewGroupInput": {
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -11714,7 +11685,7 @@ export default {
},
"DestroyViewGroupInput": {
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -11734,31 +11705,31 @@ export default {
1
],
"canUpdateAllSettings": [
- 3
+ 8
],
"canAccessAllTools": [
- 3
+ 8
],
"canReadAllObjectRecords": [
- 3
+ 8
],
"canUpdateAllObjectRecords": [
- 3
+ 8
],
"canSoftDeleteAllObjectRecords": [
- 3
+ 8
],
"canDestroyAllObjectRecords": [
- 3
+ 8
],
"canBeAssignedToUsers": [
- 3
+ 8
],
"canBeAssignedToAgents": [
- 3
+ 8
],
"canBeAssignedToApiKeys": [
- 3
+ 8
],
"__typename": [
1
@@ -11766,10 +11737,10 @@ export default {
},
"UpdateRoleInput": {
"update": [
- 473
+ 472
],
"id": [
- 4
+ 3
],
"__typename": [
1
@@ -11786,31 +11757,31 @@ export default {
1
],
"canUpdateAllSettings": [
- 3
+ 8
],
"canAccessAllTools": [
- 3
+ 8
],
"canReadAllObjectRecords": [
- 3
+ 8
],
"canUpdateAllObjectRecords": [
- 3
+ 8
],
"canSoftDeleteAllObjectRecords": [
- 3
+ 8
],
"canDestroyAllObjectRecords": [
- 3
+ 8
],
"canBeAssignedToUsers": [
- 3
+ 8
],
"canBeAssignedToAgents": [
- 3
+ 8
],
"canBeAssignedToApiKeys": [
- 3
+ 8
],
"__typename": [
1
@@ -11818,10 +11789,10 @@ export default {
},
"UpsertObjectPermissionsInput": {
"roleId": [
- 4
+ 3
],
"objectPermissions": [
- 475
+ 474
],
"__typename": [
1
@@ -11829,19 +11800,19 @@ export default {
},
"ObjectPermissionInput": {
"objectMetadataId": [
- 4
+ 3
],
"canReadObjectRecords": [
- 3
+ 8
],
"canUpdateObjectRecords": [
- 3
+ 8
],
"canSoftDeleteObjectRecords": [
- 3
+ 8
],
"canDestroyObjectRecords": [
- 3
+ 8
],
"__typename": [
1
@@ -11849,7 +11820,7 @@ export default {
},
"UpsertPermissionFlagsInput": {
"roleId": [
- 4
+ 3
],
"permissionFlagKeys": [
1
@@ -11860,10 +11831,10 @@ export default {
},
"UpsertFieldPermissionsInput": {
"roleId": [
- 4
+ 3
],
"fieldPermissions": [
- 478
+ 477
],
"__typename": [
1
@@ -11871,16 +11842,16 @@ export default {
},
"FieldPermissionInput": {
"objectMetadataId": [
- 4
+ 3
],
"fieldMetadataId": [
- 4
+ 3
],
"canReadFieldValue": [
- 3
+ 8
],
"canUpdateFieldValue": [
- 3
+ 8
],
"__typename": [
1
@@ -11888,16 +11859,16 @@ export default {
},
"UpsertRowLevelPermissionPredicatesInput": {
"roleId": [
- 4
+ 3
],
"objectMetadataId": [
- 4
+ 3
],
"predicates": [
- 480
+ 479
],
"predicateGroups": [
- 481
+ 480
],
"__typename": [
1
@@ -11905,16 +11876,16 @@ export default {
},
"RowLevelPermissionPredicateInput": {
"id": [
- 4
+ 3
],
"fieldMetadataId": [
- 4
+ 3
],
"operand": [
- 43
+ 42
],
"value": [
- 5
+ 9
],
"subFieldName": [
1
@@ -11926,10 +11897,10 @@ export default {
1
],
"rowLevelPermissionPredicateGroupId": [
- 4
+ 3
],
"positionInRowLevelPermissionPredicateGroup": [
- 16
+ 15
],
"__typename": [
1
@@ -11937,19 +11908,19 @@ export default {
},
"RowLevelPermissionPredicateGroupInput": {
"id": [
- 4
+ 3
],
"objectMetadataId": [
- 4
+ 3
],
"parentRowLevelPermissionPredicateGroupId": [
- 4
+ 3
],
"logicalOperator": [
- 41
+ 40
],
"positionInRowLevelPermissionPredicateGroup": [
- 16
+ 15
],
"__typename": [
1
@@ -12023,7 +11994,7 @@ export default {
1
],
"visibility": [
- 302
+ 301
],
"__typename": [
1
@@ -12040,7 +12011,7 @@ export default {
1
],
"visibility": [
- 302
+ 301
],
"__typename": [
1
@@ -12048,10 +12019,10 @@ export default {
},
"UpdateMessageChannelInput": {
"id": [
- 4
+ 3
],
"update": [
- 488
+ 487
],
"__typename": [
1
@@ -12059,25 +12030,25 @@ export default {
},
"UpdateMessageChannelInputUpdates": {
"visibility": [
- 285
+ 284
],
"isContactAutoCreationEnabled": [
- 3
+ 8
],
"contactAutoCreationPolicy": [
- 287
+ 286
],
"messageFolderImportPolicy": [
- 288
+ 287
],
"isSyncEnabled": [
- 3
+ 8
],
"excludeNonProfessionalEmails": [
- 3
+ 8
],
"excludeGroupEmails": [
- 3
+ 8
],
"__typename": [
1
@@ -12096,7 +12067,7 @@ export default {
},
"UpdateEmailGroupChannelInput": {
"id": [
- 4
+ 3
],
"displayName": [
1
@@ -12121,10 +12092,10 @@ export default {
1
],
"runAsWorkspaceMemberId": [
- 4
+ 3
],
"messages": [
- 493
+ 492
],
"__typename": [
1
@@ -12132,7 +12103,7 @@ export default {
},
"RunAgentMessageInput": {
"role": [
- 494
+ 493
],
"content": [
1
@@ -12144,7 +12115,7 @@ export default {
"RunAgentMessageRole": {},
"CreateWebhookInput": {
"id": [
- 4
+ 3
],
"targetUrl": [
1
@@ -12164,10 +12135,10 @@ export default {
},
"UpdateWebhookInput": {
"id": [
- 4
+ 3
],
"update": [
- 497
+ 496
],
"__typename": [
1
@@ -12192,10 +12163,10 @@ export default {
},
"UpdateMessageFolderInput": {
"id": [
- 4
+ 3
],
"update": [
- 499
+ 498
],
"__typename": [
1
@@ -12203,7 +12174,7 @@ export default {
},
"UpdateMessageFolderInputUpdates": {
"isSynced": [
- 3
+ 8
],
"__typename": [
1
@@ -12211,10 +12182,10 @@ export default {
},
"UpdateMessageFoldersInput": {
"ids": [
- 4
+ 3
],
"update": [
- 499
+ 498
],
"__typename": [
1
@@ -12222,10 +12193,10 @@ export default {
},
"UpdateCalendarChannelInput": {
"id": [
- 4
+ 3
],
"update": [
- 502
+ 501
],
"__typename": [
1
@@ -12233,16 +12204,16 @@ export default {
},
"UpdateCalendarChannelInputUpdates": {
"visibility": [
- 349
+ 348
],
"isContactAutoCreationEnabled": [
- 3
+ 8
],
"contactAutoCreationPolicy": [
- 350
+ 349
],
"isSyncEnabled": [
- 3
+ 8
],
"__typename": [
1
@@ -12253,10 +12224,10 @@ export default {
1
],
"value": [
- 5
+ 9
],
"scope": [
- 345
+ 344
],
"__typename": [
1
@@ -12267,13 +12238,13 @@ export default {
1
],
"payload": [
- 5
+ 9
],
"retryLimit": [
- 27
+ 26
],
"delayMs": [
- 27
+ 26
],
"__typename": [
1
@@ -12281,7 +12252,7 @@ export default {
},
"FileAttachmentInput": {
"id": [
- 4
+ 3
],
"filename": [
1
@@ -12292,10 +12263,10 @@ export default {
},
"AgentChatQuestionAnswerInput": {
"questionIndex": [
- 27
+ 26
],
"selectedOptionIndices": [
- 27
+ 26
],
"freeText": [
1
@@ -12306,7 +12277,7 @@ export default {
},
"CreateSkillInput": {
"id": [
- 4
+ 3
],
"name": [
1
@@ -12329,7 +12300,7 @@ export default {
},
"UpdateSkillInput": {
"id": [
- 4
+ 3
],
"name": [
1
@@ -12347,7 +12318,7 @@ export default {
1
],
"isActive": [
- 3
+ 8
],
"__typename": [
1
@@ -12355,7 +12326,7 @@ export default {
},
"GetAuthorizationUrlForSSOInput": {
"identityProviderId": [
- 4
+ 3
],
"workspaceInviteHash": [
1
@@ -12377,10 +12348,10 @@ export default {
},
"UpdateWorkspaceMemberSettingsInput": {
"workspaceMemberId": [
- 4
+ 3
],
"update": [
- 5
+ 9
],
"__typename": [
1
@@ -12411,7 +12382,7 @@ export default {
1
],
"id": [
- 4
+ 3
],
"ssoURL": [
1
@@ -12428,7 +12399,7 @@ export default {
},
"DeleteSsoInput": {
"identityProviderId": [
- 4
+ 3
],
"__typename": [
1
@@ -12436,10 +12407,10 @@ export default {
},
"EditSsoInput": {
"id": [
- 4
+ 3
],
"status": [
- 180
+ 179
],
"__typename": [
1
@@ -12466,7 +12437,7 @@ export default {
1
],
"isFullDay": [
- 3
+ 8
],
"timeZone": [
1
@@ -12475,10 +12446,10 @@ export default {
1
],
"sendInvitations": [
- 3
+ 8
],
"addConferencing": [
- 3
+ 8
],
"__typename": [
1
@@ -12510,7 +12481,7 @@ export default {
1
],
"files": [
- 519
+ 518
],
"__typename": [
1
@@ -12532,13 +12503,13 @@ export default {
1
],
"IMAP": [
- 521
+ 520
],
"SMTP": [
- 521
+ 520
],
"CALDAV": [
- 521
+ 520
],
"__typename": [
1
@@ -12549,7 +12520,7 @@ export default {
1
],
"port": [
- 16
+ 15
],
"username": [
1
@@ -12558,7 +12529,7 @@ export default {
1
],
"connectionSecurity": [
- 247
+ 246
],
"__typename": [
1
@@ -12569,7 +12540,7 @@ export default {
1
],
"value": [
- 3
+ 8
],
"__typename": [
1
@@ -12577,7 +12548,7 @@ export default {
},
"Subscription": {
"onEventSubscription": [
- 159,
+ 158,
{
"eventStreamId": [
1,
@@ -12586,28 +12557,28 @@ export default {
}
],
"logicFunctionLogs": [
- 245,
+ 244,
{
"input": [
- 524,
+ 523,
"LogicFunctionLogsInput!"
]
}
],
"onAgentChatEvent": [
- 337,
+ 336,
{
"threadId": [
- 4,
+ 3,
"UUID!"
]
}
],
"eventLogsLive": [
- 326,
+ 325,
{
"table": [
- 367,
+ 366,
"EventLogTable!"
]
}
@@ -12618,19 +12589,19 @@ export default {
},
"LogicFunctionLogsInput": {
"applicationId": [
- 4
+ 3
],
"applicationUniversalIdentifier": [
- 4
+ 3
],
"name": [
1
],
"id": [
- 4
+ 3
],
"universalIdentifier": [
- 4
+ 3
],
"__typename": [
1
diff --git a/packages/twenty-docs/developers/extend/apps/config/application.mdx b/packages/twenty-docs/developers/extend/apps/config/application.mdx
index a12261f8682..55cc62dde92 100644
--- a/packages/twenty-docs/developers/extend/apps/config/application.mdx
+++ b/packages/twenty-docs/developers/extend/apps/config/application.mdx
@@ -36,6 +36,7 @@ Notes:
- Pre-install, post-install, and uninstall functions are detected automatically during the manifest build — you do not need to reference them in `defineApplication()`.
- Passing `defaultRoleUniversalIdentifier` explicitly is still supported for backward compatibility, but is deprecated in favor of `defineApplicationRole()`.
- `serverVariables` are instance-scoped configuration and secrets (e.g. API keys). Unlike `applicationVariables`, they declare no value in the manifest — the workspace operator fills them in from the app's settings, and they are injected into logic functions only once set.
+- Both kinds of variable accept `isDeprecated: true`. Use it to retire a variable instead of deleting it: keeping the key declared preserves the stored value (deleting it destroys the value the operator entered), and the variable is still injected, so your code can fall back to it — `process.env.NEW_API_KEY ?? process.env.API_KEY`. A deprecated variable disappears from the app's settings once it has no value, and never counts toward the app's configuration check, so `isDeprecated` beats `isRequired`.
- To render a custom configuration UI inside the app's **Settings** tab (in place of the default variable configuration section), declare a front component with [`defineSettingsFrontComponent()`](/developers/extend/apps/layout/front-components#custom-settings-component) in its own file. Only one is allowed per app. System-managed sections (auto-upgrade, App URL, connections) always remain visible.
## Variable types
diff --git a/packages/twenty-front/src/generated-admin/graphql.ts b/packages/twenty-front/src/generated-admin/graphql.ts
index f1f39f3930f..b4eda91c5bd 100644
--- a/packages/twenty-front/src/generated-admin/graphql.ts
+++ b/packages/twenty-front/src/generated-admin/graphql.ts
@@ -292,11 +292,12 @@ export type ApplicationRegistrationStats = {
versionDistribution: Array<VersionDistributionEntry>;
};
-export type ApplicationRegistrationVariableDto = {
- __typename?: 'ApplicationRegistrationVariableDTO';
+export type ApplicationRegistrationVariable = {
+ __typename?: 'ApplicationRegistrationVariable';
createdAt: Scalars['DateTime']['output'];
description: Scalars['String']['output'];
id: Scalars['UUID']['output'];
+ isDeprecated: Scalars['Boolean']['output'];
isFilled: Scalars['Boolean']['output'];
isRequired: Scalars['Boolean']['output'];
isSecret: Scalars['Boolean']['output'];
@@ -531,7 +532,7 @@ export type Mutation = {
setMaintenanceMode: Scalars['Boolean']['output'];
syncMarketplaceCatalog: Scalars['Boolean']['output'];
updateAdminApplicationRegistration: ApplicationRegistration;
- updateAdminApplicationRegistrationVariable: ApplicationRegistrationVariableDto;
+ updateAdminApplicationRegistrationVariable: ApplicationRegistrationVariable;
updateDatabaseConfigVariable: Scalars['Boolean']['output'];
updateServerAdminAccess: ServerAdmin;
updateWorkspaceFeatureFlag: Scalars['Boolean']['output'];
@@ -692,7 +693,7 @@ export type Query = {
findAdminApplicationRegistrationClaims: Array<AdminApplicationRegistrationClaim>;
findAdminApplicationRegistrationInstalledWorkspaces: ApplicationRegistrationInstalledWorkspaces;
findAdminApplicationRegistrationStats: ApplicationRegistrationStats;
- findAdminApplicationRegistrationVariables: Array<ApplicationRegistrationVariableDto>;
+ findAdminApplicationRegistrationVariables: Array<ApplicationRegistrationVariable>;
findAllApplicationRegistrations: PaginatedApplicationRegistrations;
findOneAdminApplicationRegistration: ApplicationRegistration;
getAdminAiModels: AdminAiModels;
@@ -1203,7 +1204,7 @@ export type UpdateAdminApplicationRegistrationVariableMutationVariables = Exact<
}>;
-export type UpdateAdminApplicationRegistrationVariableMutation = { __typename?: 'Mutation', updateAdminApplicationRegistrationVariable: { __typename?: 'ApplicationRegistrationVariableDTO', id: string, key: string, description: string, isSecret: boolean, isRequired: boolean, isFilled: boolean, createdAt: string, updatedAt: string } };
+export type UpdateAdminApplicationRegistrationVariableMutation = { __typename?: 'Mutation', updateAdminApplicationRegistrationVariable: { __typename?: 'ApplicationRegistrationVariable', id: string, key: string, description: string, isSecret: boolean, isRequired: boolean, isFilled: boolean, createdAt: string, updatedAt: string } };
export type FindAdminApplicationRegistrationClaimsQueryVariables = Exact<{
applicationRegistrationId: Scalars['String']['input'];
@@ -1231,7 +1232,7 @@ export type FindAdminApplicationRegistrationVariablesQueryVariables = Exact<{
}>;
-export type FindAdminApplicationRegistrationVariablesQuery = { __typename?: 'Query', findAdminApplicationRegistrationVariables: Array<{ __typename?: 'ApplicationRegistrationVariableDTO', id: string, key: string, value?: string | null, description: string, isSecret: boolean, isRequired: boolean, isFilled: boolean, type: string, options?: any | null, createdAt: string, updatedAt: string }> };
+export type FindAdminApplicationRegistrationVariablesQuery = { __typename?: 'Query', findAdminApplicationRegistrationVariables: Array<{ __typename?: 'ApplicationRegistrationVariable', id: string, key: string, value?: string | null, description: string, isSecret: boolean, isRequired: boolean, isDeprecated: boolean, isFilled: boolean, type: string, options?: any | null, createdAt: string, updatedAt: string }> };
export type FindAllApplicationRegistrationsQueryVariables = Exact<{
limit?: InputMaybe<Scalars['Int']['input']>;
@@ -1516,7 +1517,7 @@ export const UpdateAdminApplicationRegistrationVariableDocument = {"kind":"Docum
export const FindAdminApplicationRegistrationClaimsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindAdminApplicationRegistrationClaims"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"applicationRegistrationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findAdminApplicationRegistrationClaims"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"applicationRegistrationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"applicationRegistrationId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"workspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceDisplayName"}}]}}]}}]} as unknown as DocumentNode<FindAdminApplicationRegistrationClaimsQuery, FindAdminApplicationRegistrationClaimsQueryVariables>;
export const FindAdminApplicationRegistrationInstalledWorkspacesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindAdminApplicationRegistrationInstalledWorkspaces"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"FindApplicationRegistrationInstalledWorkspacesInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findAdminApplicationRegistrationInstalledWorkspaces"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"hasMore"}},{"kind":"Field","name":{"kind":"Name","value":"workspaces"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]}}]}}]} as unknown as DocumentNode<FindAdminApplicationRegistrationInstalledWorkspacesQuery, FindAdminApplicationRegistrationInstalledWorkspacesQueryVariables>;
export const FindAdminApplicationRegistrationStatsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindAdminApplicationRegistrationStats"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findAdminApplicationRegistrationStats"},"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":"activeInstalls"}},{"kind":"Field","name":{"kind":"Name","value":"mostInstalledVersion"}},{"kind":"Field","name":{"kind":"Name","value":"versionDistribution"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}}]}}]} as unknown as DocumentNode<FindAdminApplicationRegistrationStatsQuery, FindAdminApplicationRegistrationStatsQueryVariables>;
-export const FindAdminApplicationRegistrationVariablesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindAdminApplicationRegistrationVariables"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"applicationRegistrationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findAdminApplicationRegistrationVariables"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"applicationRegistrationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"applicationRegistrationId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}},{"kind":"Field","name":{"kind":"Name","value":"isRequired"}},{"kind":"Field","name":{"kind":"Name","value":"isFilled"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode<FindAdminApplicationRegistrationVariablesQuery, FindAdminApplicationRegistrationVariablesQueryVariables>;
+export const FindAdminApplicationRegistrationVariablesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindAdminApplicationRegistrationVariables"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"applicationRegistrationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findAdminApplicationRegistrationVariables"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"applicationRegistrationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"applicationRegistrationId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}},{"kind":"Field","name":{"kind":"Name","value":"isRequired"}},{"kind":"Field","name":{"kind":"Name","value":"isDeprecated"}},{"kind":"Field","name":{"kind":"Name","value":"isFilled"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode<FindAdminApplicationRegistrationVariablesQuery, FindAdminApplicationRegistrationVariablesQueryVariables>;
export const FindAllApplicationRegistrationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindAllApplicationRegistrations"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"isPreInstalledOnly"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findAllApplicationRegistrations"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"searchTerm"},"value":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}}},{"kind":"Argument","name":{"kind":"Name","value":"isPreInstalledOnly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"isPreInstalledOnly"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"registrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ApplicationRegistrationFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"hasMore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ApplicationRegistrationFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ApplicationRegistration"}},"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":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"galleryImagesUrls"}},{"kind":"Field","name":{"kind":"Name","value":"oAuthClientId"}},{"kind":"Field","name":{"kind":"Name","value":"oAuthRedirectUris"}},{"kind":"Field","name":{"kind":"Name","value":"oAuthScopes"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"sourcePackage"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"isListed"}},{"kind":"Field","name":{"kind":"Name","value":"isVetted"}},{"kind":"Field","name":{"kind":"Name","value":"isPreInstalled"}},{"kind":"Field","name":{"kind":"Name","value":"isConfigured"}},{"kind":"Field","name":{"kind":"Name","value":"ownerWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<FindAllApplicationRegistrationsQuery, FindAllApplicationRegistrationsQueryVariables>;
export const CreateDatabaseConfigVariableDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateDatabaseConfigVariable"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"key"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"value"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"JSON"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createDatabaseConfigVariable"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"key"},"value":{"kind":"Variable","name":{"kind":"Name","value":"key"}}},{"kind":"Argument","name":{"kind":"Name","value":"value"},"value":{"kind":"Variable","name":{"kind":"Name","value":"value"}}}]}]}}]} as unknown as DocumentNode<CreateDatabaseConfigVariableMutation, CreateDatabaseConfigVariableMutationVariables>;
export const DeleteDatabaseConfigVariableDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteDatabaseConfigVariable"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"key"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteDatabaseConfigVariable"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"key"},"value":{"kind":"Variable","name":{"kind":"Name","value":"key"}}}]}]}}]} as unknown as DocumentNode<DeleteDatabaseConfigVariableMutation, DeleteDatabaseConfigVariableMutationVariables>;
diff --git a/packages/twenty-front/src/generated-metadata/graphql.ts b/packages/twenty-front/src/generated-metadata/graphql.ts
index 5654204c077..a776db48f69 100644
--- a/packages/twenty-front/src/generated-metadata/graphql.ts
+++ b/packages/twenty-front/src/generated-metadata/graphql.ts
@@ -399,20 +399,7 @@ export type ApplicationRegistrationVariable = {
createdAt: Scalars['DateTime']['output'];
description: Scalars['String']['output'];
id: Scalars['UUID']['output'];
- isFilled: Scalars['Boolean']['output'];
- isRequired: Scalars['Boolean']['output'];
- isSecret: Scalars['Boolean']['output'];
- key: Scalars['String']['output'];
- options?: Maybe<Scalars['JSON']['output']>;
- type: Scalars['String']['output'];
- updatedAt: Scalars['DateTime']['output'];
-};
-
-export type ApplicationRegistrationVariableDto = {
- __typename?: 'ApplicationRegistrationVariableDTO';
- createdAt: Scalars['DateTime']['output'];
- description: Scalars['String']['output'];
- id: Scalars['UUID']['output'];
+ isDeprecated: Scalars['Boolean']['output'];
isFilled: Scalars['Boolean']['output'];
isRequired: Scalars['Boolean']['output'];
isSecret: Scalars['Boolean']['output'];
@@ -433,6 +420,7 @@ export type ApplicationVariable = {
__typename?: 'ApplicationVariable';
description: Scalars['String']['output'];
id: Scalars['UUID']['output'];
+ isDeprecated: Scalars['Boolean']['output'];
isSecret: Scalars['Boolean']['output'];
key: Scalars['String']['output'];
options?: Maybe<Scalars['JSON']['output']>;
@@ -4573,7 +4561,7 @@ export type Query = {
findApplicationRegistrationByClientId?: Maybe<PublicApplicationRegistration>;
findApplicationRegistrationByUniversalIdentifier?: Maybe<ApplicationRegistration>;
findApplicationRegistrationStats: ApplicationRegistrationStats;
- findApplicationRegistrationVariables: Array<ApplicationRegistrationVariableDto>;
+ findApplicationRegistrationVariables: Array<ApplicationRegistrationVariable>;
findClaimableApplicationRegistration?: Maybe<ClaimableApplicationRegistration>;
findManyAgents: Array<Agent>;
findManyApplicationRegistrations: Array<ApplicationRegistration>;
@@ -7066,7 +7054,7 @@ export type TrackAnalyticsMutationVariables = Exact<{
export type TrackAnalyticsMutation = { __typename?: 'Mutation', trackAnalytics: { __typename?: 'Analytics', success: boolean } };
-export type ApplicationFieldsFragment = { __typename?: 'Application', id: string, name: string, description?: string | null, logoUrl?: string | null, version?: string | null, universalIdentifier: string, applicationRegistrationId?: string | null, canBeUninstalled: boolean, autoUpgrade: boolean, defaultRoleId?: string | null, settingsCustomTabFrontComponentId?: string | null, availablePackages: any, applicationRegistration?: { __typename?: 'ApplicationRegistrationSummary', id: string, latestAvailableVersion?: string | null, sourceType: ApplicationRegistrationSourceType, logoUrl?: string | null } | null, applicationVariables: Array<{ __typename?: 'ApplicationVariable', id: string, key: string, value: string, description: string, isSecret: boolean, type: string, options?: any | null }>, agents: Array<{ __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, prompt: string, modelId: string, responseFormat?: any | null, roleId?: string | null, isCustom: boolean, modelConfiguration?: any | null, evaluationInputs: Array<string>, applicationId?: string | null, createdAt: string, updatedAt: string }>, frontComponents: Array<{ __typename?: 'FrontComponent', id: string, name: string, description?: string | null, applicationId: string, componentName: string, builtComponentChecksum: string, universalIdentifier?: string | null, isHeadless: boolean, usesSdkClient: boolean, 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, universalIdentifier: string, applicationRegistrationId?: string | null, canBeUninstalled: boolean, autoUpgrade: boolean, defaultRoleId?: string | null, settingsCustomTabFrontComponentId?: string | null, availablePackages: any, applicationRegistration?: { __typename?: 'ApplicationRegistrationSummary', id: string, latestAvailableVersion?: string | null, sourceType: ApplicationRegistrationSourceType, logoUrl?: string | null } | null, applicationVariables: Array<{ __typename?: 'ApplicationVariable', id: string, key: string, value: string, description: string, isSecret: boolean, 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; }>;
@@ -7078,7 +7066,7 @@ export type FindOneApplicationQueryVariables = Exact<{
}>;
-export type FindOneApplicationQuery = { __typename?: 'Query', findOneApplication: { __typename?: 'Application', id: string, name: string, description?: string | null, logoUrl?: string | null, version?: string | null, universalIdentifier: string, applicationRegistrationId?: string | null, canBeUninstalled: boolean, autoUpgrade: boolean, defaultRoleId?: string | null, settingsCustomTabFrontComponentId?: string | null, availablePackages: any, applicationRegistration?: { __typename?: 'ApplicationRegistrationSummary', id: string, latestAvailableVersion?: string | null, sourceType: ApplicationRegistrationSourceType, logoUrl?: string | null } | null, applicationVariables: Array<{ __typename?: 'ApplicationVariable', id: string, key: string, value: string, description: string, isSecret: boolean, type: string, options?: any | null }>, agents: Array<{ __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, prompt: string, modelId: string, responseFormat?: any | null, roleId?: string | null, isCustom: boolean, modelConfiguration?: any | null, evaluationInputs: Array<string>, applicationId?: string | null, createdAt: string, updatedAt: string }>, frontComponents: Array<{ __typename?: 'FrontComponent', id: string, name: string, description?: string | null, applicationId: string, componentName: string, builtComponentChecksum: string, universalIdentifier?: string | null, isHeadless: boolean, usesSdkClient: boolean, 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, universalIdentifier: string, applicationRegistrationId?: string | null, canBeUninstalled: boolean, autoUpgrade: boolean, defaultRoleId?: string | null, settingsCustomTabFrontComponentId?: string | null, availablePackages: any, applicationRegistration?: { __typename?: 'ApplicationRegistrationSummary', id: string, latestAvailableVersion?: string | null, sourceType: ApplicationRegistrationSourceType, logoUrl?: string | null } | null, applicationVariables: Array<{ __typename?: 'ApplicationVariable', id: string, key: string, value: string, description: string, isSecret: boolean, 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'];
@@ -8319,7 +8307,7 @@ export type FindApplicationRegistrationVariablesQueryVariables = Exact<{
}>;
-export type FindApplicationRegistrationVariablesQuery = { __typename?: 'Query', findApplicationRegistrationVariables: Array<{ __typename?: 'ApplicationRegistrationVariableDTO', id: string, key: string, value?: string | null, description: string, isSecret: boolean, isRequired: boolean, isFilled: boolean, type: string, options?: any | null, createdAt: string, updatedAt: string }> };
+export type FindApplicationRegistrationVariablesQuery = { __typename?: 'Query', findApplicationRegistrationVariables: Array<{ __typename?: 'ApplicationRegistrationVariable', id: string, key: string, value?: string | null, description: string, isSecret: boolean, isRequired: boolean, isDeprecated: boolean, isFilled: boolean, type: string, options?: any | null, createdAt: string, updatedAt: string }> };
export type FindClaimableApplicationRegistrationQueryVariables = Exact<{
sourcePackage?: InputMaybe<Scalars['String']['input']>;
@@ -9361,7 +9349,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":"isSecret"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"options"}}]}},{"kind":"Field","name":{"kind":"Name","value":"agents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AgentFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"frontComponents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"componentName"}},{"kind":"Field","name":{"kind":"Name","value":"builtComponentChecksum"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isHeadless"}},{"kind":"Field","name":{"kind":"Name","value":"usesSdkClient"}},{"kind":"Field","name":{"kind":"Name","value":"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":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistrationId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"canBeUninstalled"}},{"kind":"Field","name":{"kind":"Name","value":"autoUpgrade"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRoleId"}},{"kind":"Field","name":{"kind":"Name","value":"settingsCustomTabFrontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"availablePackages"}},{"kind":"Field","name":{"kind":"Name","value":"applicationVariables"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}},{"kind":"Field","name":{"kind":"Name","value":"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>;
@@ -9445,7 +9433,7 @@ export const GetToolInputSchemaDocument = {"kind":"Document","definitions":[{"ki
export 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":"isSecret"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"options"}}]}},{"kind":"Field","name":{"kind":"Name","value":"agents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AgentFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"frontComponents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"componentName"}},{"kind":"Field","name":{"kind":"Name","value":"builtComponentChecksum"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isHeadless"}},{"kind":"Field","name":{"kind":"Name","value":"usesSdkClient"}},{"kind":"Field","name":{"kind":"Name","value":"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 FindOneApplicationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindOneApplication"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findOneApplication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ApplicationFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AgentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Agent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"prompt"}},{"kind":"Field","name":{"kind":"Name","value":"modelId"}},{"kind":"Field","name":{"kind":"Name","value":"responseFormat"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"modelConfiguration"}},{"kind":"Field","name":{"kind":"Name","value":"evaluationInputs"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectMetadataFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Object"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isUICreatable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"shortcut"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"openRecordIn"}},{"kind":"Field","name":{"kind":"Name","value":"duplicateCriteria"}},{"kind":"Field","name":{"kind":"Name","value":"searchFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"tsVectorFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"indexMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"indexWhereClause"}},{"kind":"Field","name":{"kind":"Name","value":"indexType"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"indexFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LogicFunctionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LogicFunction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"runtime"}},{"kind":"Field","name":{"kind":"Name","value":"timeoutSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"executionMode"}},{"kind":"Field","name":{"kind":"Name","value":"sourceHandlerPath"}},{"kind":"Field","name":{"kind":"Name","value":"handlerName"}},{"kind":"Field","name":{"kind":"Name","value":"cronTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"databaseEventTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"httpRouteTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"toolTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"workflowActionTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ApplicationFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Application"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistrationId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"canBeUninstalled"}},{"kind":"Field","name":{"kind":"Name","value":"autoUpgrade"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRoleId"}},{"kind":"Field","name":{"kind":"Name","value":"settingsCustomTabFrontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"availablePackages"}},{"kind":"Field","name":{"kind":"Name","value":"applicationVariables"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}},{"kind":"Field","name":{"kind":"Name","value":"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 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>;
@@ -9570,7 +9558,7 @@ export const UpdateApplicationRegistrationDocument = {"kind":"Document","definit
export const UpdateApplicationRegistrationVariableDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateApplicationRegistrationVariable"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateApplicationRegistrationVariableInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateApplicationRegistrationVariable"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}},{"kind":"Field","name":{"kind":"Name","value":"isRequired"}},{"kind":"Field","name":{"kind":"Name","value":"isFilled"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode<UpdateApplicationRegistrationVariableMutation, UpdateApplicationRegistrationVariableMutationVariables>;
export const ApplicationRegistrationTarballUrlDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ApplicationRegistrationTarballUrl"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"applicationRegistrationTarballUrl"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}]}}]} as unknown as DocumentNode<ApplicationRegistrationTarballUrlQuery, ApplicationRegistrationTarballUrlQueryVariables>;
export const FindApplicationRegistrationStatsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindApplicationRegistrationStats"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findApplicationRegistrationStats"},"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":"activeInstalls"}},{"kind":"Field","name":{"kind":"Name","value":"mostInstalledVersion"}},{"kind":"Field","name":{"kind":"Name","value":"versionDistribution"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}}]}}]} as unknown as DocumentNode<FindApplicationRegistrationStatsQuery, FindApplicationRegistrationStatsQueryVariables>;
-export const FindApplicationRegistrationVariablesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindApplicationRegistrationVariables"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"applicationRegistrationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findApplicationRegistrationVariables"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"applicationRegistrationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"applicationRegistrationId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}},{"kind":"Field","name":{"kind":"Name","value":"isRequired"}},{"kind":"Field","name":{"kind":"Name","value":"isFilled"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode<FindApplicationRegistrationVariablesQuery, FindApplicationRegistrationVariablesQueryVariables>;
+export const FindApplicationRegistrationVariablesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindApplicationRegistrationVariables"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"applicationRegistrationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findApplicationRegistrationVariables"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"applicationRegistrationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"applicationRegistrationId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}},{"kind":"Field","name":{"kind":"Name","value":"isRequired"}},{"kind":"Field","name":{"kind":"Name","value":"isDeprecated"}},{"kind":"Field","name":{"kind":"Name","value":"isFilled"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode<FindApplicationRegistrationVariablesQuery, FindApplicationRegistrationVariablesQueryVariables>;
export const FindClaimableApplicationRegistrationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindClaimableApplicationRegistration"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sourcePackage"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findClaimableApplicationRegistration"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"sourcePackage"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sourcePackage"}}},{"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":"sourcePackage"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"author"}},{"kind":"Field","name":{"kind":"Name","value":"isOwned"}}]}}]}}]} as unknown as DocumentNode<FindClaimableApplicationRegistrationQuery, FindClaimableApplicationRegistrationQueryVariables>;
export const FindManyApplicationRegistrationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindManyApplicationRegistrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findManyApplicationRegistrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ApplicationRegistrationListItem"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ApplicationRegistrationListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ApplicationRegistration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}}]} as unknown as DocumentNode<FindManyApplicationRegistrationsQuery, FindManyApplicationRegistrationsQueryVariables>;
export const FindOneApplicationRegistrationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindOneApplicationRegistration"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findOneApplicationRegistration"},"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":"ApplicationRegistrationFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ApplicationRegistrationFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ApplicationRegistration"}},"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":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"galleryImagesUrls"}},{"kind":"Field","name":{"kind":"Name","value":"oAuthClientId"}},{"kind":"Field","name":{"kind":"Name","value":"oAuthRedirectUris"}},{"kind":"Field","name":{"kind":"Name","value":"oAuthScopes"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"sourcePackage"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"isListed"}},{"kind":"Field","name":{"kind":"Name","value":"isVetted"}},{"kind":"Field","name":{"kind":"Name","value":"isPreInstalled"}},{"kind":"Field","name":{"kind":"Name","value":"isConfigured"}},{"kind":"Field","name":{"kind":"Name","value":"ownerWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<FindOneApplicationRegistrationQuery, FindOneApplicationRegistrationQueryVariables>;
diff --git a/packages/twenty-front/src/modules/applications/graphql/fragments/applicationFragment.ts b/packages/twenty-front/src/modules/applications/graphql/fragments/applicationFragment.ts
index d717d57b128..98f38569457 100644
--- a/packages/twenty-front/src/modules/applications/graphql/fragments/applicationFragment.ts
+++ b/packages/twenty-front/src/modules/applications/graphql/fragments/applicationFragment.ts
@@ -32,6 +32,7 @@ export const APPLICATION_FRAGMENT = gql`
value
description
isSecret
+ isDeprecated
type
options
}
diff --git a/packages/twenty-front/src/modules/settings/admin-panel/apps/graphql/queries/findAdminApplicationRegistrationVariables.ts b/packages/twenty-front/src/modules/settings/admin-panel/apps/graphql/queries/findAdminApplicationRegistrationVariables.ts
index 012ac0db345..de429f6b134 100644
--- a/packages/twenty-front/src/modules/settings/admin-panel/apps/graphql/queries/findAdminApplicationRegistrationVariables.ts
+++ b/packages/twenty-front/src/modules/settings/admin-panel/apps/graphql/queries/findAdminApplicationRegistrationVariables.ts
@@ -13,6 +13,7 @@ export const FIND_ADMIN_APPLICATION_REGISTRATION_VARIABLES = gql`
description
isSecret
isRequired
+ isDeprecated
isFilled
type
options
diff --git a/packages/twenty-front/src/modules/settings/application-registrations/graphql/queries/findApplicationRegistrationVariables.ts b/packages/twenty-front/src/modules/settings/application-registrations/graphql/queries/findApplicationRegistrationVariables.ts
index 215053acd74..951ad49a250 100644
--- a/packages/twenty-front/src/modules/settings/application-registrations/graphql/queries/findApplicationRegistrationVariables.ts
+++ b/packages/twenty-front/src/modules/settings/application-registrations/graphql/queries/findApplicationRegistrationVariables.ts
@@ -13,6 +13,7 @@ export const FIND_APPLICATION_REGISTRATION_VARIABLES = gql`
description
isSecret
isRequired
+ isDeprecated
isFilled
type
options
diff --git a/packages/twenty-front/src/pages/settings/applications/SettingsApplicationDetails.tsx b/packages/twenty-front/src/pages/settings/applications/SettingsApplicationDetails.tsx
index 832ce8367c5..1e4c6cb742c 100644
--- a/packages/twenty-front/src/pages/settings/applications/SettingsApplicationDetails.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/SettingsApplicationDetails.tsx
@@ -53,6 +53,7 @@ import { SettingsApplicationDetailContentTab } from '~/pages/settings/applicatio
import { SettingsApplicationDetailSettingsTab } from '~/pages/settings/applications/tabs/SettingsApplicationDetailSettingsTab';
import { SettingsApplicationPermissionsTab } from '~/pages/settings/applications/tabs/SettingsApplicationPermissionsTab';
import { applicationHasHttpTriggeredFunctions } from '~/pages/settings/applications/utils/applicationHasHttpTriggeredFunctions';
+import { getDisplayedApplicationVariables } from '~/pages/settings/applications/utils/getDisplayedApplicationVariables';
import { isNewerSemver } from '~/pages/settings/applications/utils/isNewerSemver';
const APPLICATION_DETAIL_ID = 'application-detail-id';
@@ -247,7 +248,10 @@ export const SettingsApplicationDetails = () => {
disabled: !isDefined(application?.defaultRoleId),
},
(() => {
- const hasVariables = (application?.applicationVariables ?? []).length > 0;
+ const hasVariables =
+ getDisplayedApplicationVariables(
+ application?.applicationVariables ?? [],
+ ).length > 0;
const hasConnectionProviders = connectionProviders.length > 0;
const hasHttpTriggeredFunctions =
applicationHasHttpTriggeredFunctions(application);
diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationVariableLabelRow.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationVariableLabelRow.tsx
new file mode 100644
index 00000000000..8b30783b687
--- /dev/null
+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationVariableLabelRow.tsx
@@ -0,0 +1,62 @@
+import { styled } from '@linaria/react';
+import { useLingui } from '@lingui/react/macro';
+import { isNonEmptyString } from '@sniptt/guards';
+import { useContext } from 'react';
+import { Pill } from 'twenty-ui/data-display';
+import { IconInfoCircle } from 'twenty-ui/icon';
+import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';
+import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';
+
+const StyledLabelRow = styled.div`
+ align-items: center;
+ display: flex;
+ gap: ${themeCssVariables.spacing[1]};
+ margin-bottom: ${themeCssVariables.spacing[1]};
+`;
+
+const StyledLabel = styled.span`
+ color: ${themeCssVariables.font.color.light};
+ font-size: 11px;
+ font-weight: ${themeCssVariables.font.weight.semiBold};
+`;
+
+export const SettingsApplicationVariableLabelRow = ({
+ variableKey,
+ isDeprecated,
+ description,
+ tooltipId,
+}: {
+ variableKey: string;
+ isDeprecated: boolean;
+ description: string;
+ tooltipId: string;
+}) => {
+ const { t } = useLingui();
+ const { theme } = useContext(ThemeContext);
+
+ return (
+ <StyledLabelRow>
+ <StyledLabel>{variableKey}</StyledLabel>
+ {isDeprecated && <Pill label={t`Deprecated`} />}
+ {isNonEmptyString(description) && (
+ <>
+ <IconInfoCircle
+ id={tooltipId}
+ size={theme.icon.size.sm}
+ color={theme.font.color.tertiary}
+ style={{ outline: 'none', cursor: 'pointer' }}
+ />
+ <AppTooltip
+ anchorSelect={`#${tooltipId}`}
+ content={description}
+ offset={5}
+ noArrow
+ place="bottom"
+ positionStrategy="fixed"
+ delay={TooltipDelay.shortDelay}
+ />
+ </>
+ )}
+ </StyledLabelRow>
+ );
+};
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.tsx
index cf7c708b76d..48dfb39a9f1 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
@@ -48,6 +48,7 @@ const buildApplication = (variableValue: string): Application => ({
value: variableValue,
description: '',
isSecret: false,
+ isDeprecated: false,
type: 'TEXT',
},
],
diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailEnvironmentVariablesTable.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailEnvironmentVariablesTable.tsx
index 901d20910e9..538a4673218 100644
--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailEnvironmentVariablesTable.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailEnvironmentVariablesTable.tsx
@@ -1,16 +1,14 @@
import { styled } from '@linaria/react';
import { t } from '@lingui/core/macro';
-import { isNonEmptyString } from '@sniptt/guards';
-import { useContext, useState } from 'react';
+import { useState } from 'react';
import { type ApplicationVariableOption } from 'twenty-shared/application';
-import { IconInfoCircle } from 'twenty-ui/icon';
-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';
import { H2Title } from 'twenty-ui/typography';
import { Section } from 'twenty-ui/layout';
-import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme-constants';
import { useDebouncedCallback } from 'use-debounce';
import { type ApplicationVariable } from '~/generated-metadata/graphql';
import { SettingsApplicationVariableInput } from '~/pages/settings/applications/components/SettingsApplicationVariableInput';
+import { SettingsApplicationVariableLabelRow } from '~/pages/settings/applications/components/SettingsApplicationVariableLabelRow';
const StyledContainer = styled.div`
display: flex;
@@ -18,19 +16,6 @@ const StyledContainer = styled.div`
gap: ${themeCssVariables.spacing[4]};
`;
-const StyledLabelRow = styled.div`
- align-items: center;
- display: flex;
- gap: ${themeCssVariables.spacing[1]};
- margin-bottom: ${themeCssVariables.spacing[1]};
-`;
-
-const StyledLabel = styled.span`
- color: ${themeCssVariables.font.color.light};
- font-size: 11px;
- font-weight: ${themeCssVariables.font.weight.semiBold};
-`;
-
export const SettingsApplicationDetailEnvironmentVariablesTable = ({
envVariables,
onUpdate,
@@ -39,7 +24,6 @@ export const SettingsApplicationDetailEnvironmentVariablesTable = ({
onUpdate: (newEnv: Pick<ApplicationVariable, 'key' | 'value'>) => void;
readonly?: boolean;
}) => {
- const { theme } = useContext(ThemeContext);
const [editedEnvVariables, setEditedEnvVariables] = useState(envVariables);
const onUpdateDebounced = useDebouncedCallback(
(value: Pick<ApplicationVariable, 'key' | 'value'>) => {
@@ -56,31 +40,14 @@ export const SettingsApplicationDetailEnvironmentVariablesTable = ({
<H2Title title={t`Configuration`} description={sectionDescription} />
<StyledContainer>
{editedEnvVariables.map((editedEnvVariable) => {
- const tooltipId = `env-var-desc-${editedEnvVariable.key}`;
return (
<div key={editedEnvVariable.key}>
- <StyledLabelRow>
- <StyledLabel>{editedEnvVariable.key}</StyledLabel>
- {isNonEmptyString(editedEnvVariable.description) && (
- <>
- <IconInfoCircle
- id={`env-var-desc-${editedEnvVariable.key}`}
- size={theme.icon.size.sm}
- color={theme.font.color.tertiary}
- style={{ outline: 'none', cursor: 'pointer' }}
- />
- <AppTooltip
- anchorSelect={`#${tooltipId}`}
- content={editedEnvVariable.description}
- offset={5}
- noArrow
- place="bottom"
- positionStrategy="fixed"
- delay={TooltipDelay.shortDelay}
- />
- </>
- )}
- </StyledLabelRow>
+ <SettingsApplicationVariableLabelRow
+ variableKey={editedEnvVariable.key}
+ isDeprecated={editedEnvVariable.isDeprecated}
+ description={editedEnvVariable.description}
+ tooltipId={`env-var-desc-${editedEnvVariable.key}`}
+ />
<SettingsApplicationVariableInput
type={editedEnvVariable.type}
value={editedEnvVariable.value}
diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailSettingsTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailSettingsTab.tsx
index 8b7f3a8de44..a6209f464f0 100644
--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailSettingsTab.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailSettingsTab.tsx
@@ -7,6 +7,7 @@ import { SettingsApplicationDetailEnvironmentVariablesTable } from '~/pages/sett
import { SettingsApplicationFunctionDomainSection } from '~/pages/settings/applications/tabs/SettingsApplicationFunctionDomainSection';
import { SettingsApplicationGeneralSection } from '~/pages/settings/applications/tabs/SettingsApplicationGeneralSection';
import { applicationHasHttpTriggeredFunctions } from '~/pages/settings/applications/utils/applicationHasHttpTriggeredFunctions';
+import { getDisplayedApplicationVariables } from '~/pages/settings/applications/utils/getDisplayedApplicationVariables';
import { isUpgradableApplicationSourceType } from '~/pages/settings/applications/utils/isUpgradableApplicationSourceType';
export const SettingsApplicationDetailSettingsTab = ({
@@ -26,8 +27,8 @@ export const SettingsApplicationDetailSettingsTab = ({
}) => {
const { updateOneApplicationVariable } = useUpdateOneApplicationVariable();
- const envVariables = [...(application?.applicationVariables ?? [])].sort(
- (a, b) => a.key.localeCompare(b.key),
+ const envVariables = getDisplayedApplicationVariables(
+ application?.applicationVariables ?? [],
);
const hasHttpTriggeredFunctions =
diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationConfigTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationConfigTab.tsx
index 32402f7611e..ecf6417ae52 100644
--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationConfigTab.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationConfigTab.tsx
@@ -11,15 +11,14 @@ import {
import { styled } from '@linaria/react';
import { Section } from 'twenty-ui/layout';
import { H2Title } from 'twenty-ui/typography';
-import { IconInfoCircle } from 'twenty-ui/icon';
-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';
-import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme-constants';
import { useLingui } from '@lingui/react/macro';
-import { isNonEmptyString } from '@sniptt/guards';
-import { useContext, useState } from 'react';
+import { useState } from 'react';
import { type ApplicationVariableOption } from 'twenty-shared/application';
import { useDebouncedCallback } from 'use-debounce';
import { SettingsApplicationVariableInput } from '~/pages/settings/applications/components/SettingsApplicationVariableInput';
+import { SettingsApplicationVariableLabelRow } from '~/pages/settings/applications/components/SettingsApplicationVariableLabelRow';
+import { shouldDisplayVariable } from '~/pages/settings/applications/utils/shouldDisplayVariable';
import { useApolloAdminClient } from '@/settings/admin-panel/apollo/hooks/useApolloAdminClient';
type ConfigVariable = {
@@ -72,19 +71,6 @@ const StyledContainer = styled.div`
gap: ${themeCssVariables.spacing[4]};
`;
-const StyledLabelRow = styled.div`
- align-items: center;
- display: flex;
- gap: ${themeCssVariables.spacing[1]};
- margin-bottom: ${themeCssVariables.spacing[1]};
-`;
-
-const StyledLabel = styled.span`
- color: ${themeCssVariables.font.color.light};
- font-size: 11px;
- font-weight: ${themeCssVariables.font.weight.semiBold};
-`;
-
export const SettingsApplicationRegistrationConfigTab = ({
registration,
fromAdmin,
@@ -93,7 +79,6 @@ export const SettingsApplicationRegistrationConfigTab = ({
fromAdmin?: boolean;
}) => {
const { t } = useLingui();
- const { theme } = useContext(ThemeContext);
const apolloAdminClient = useApolloAdminClient();
const applicationRegistrationId = registration.id;
@@ -130,9 +115,16 @@ export const SettingsApplicationRegistrationConfigTab = ({
},
);
- const variables = fromAdmin
- ? (adminVariablesData?.findAdminApplicationRegistrationVariables ?? [])
- : (workspaceVariablesData?.findApplicationRegistrationVariables ?? []);
+ const variables = (
+ fromAdmin
+ ? (adminVariablesData?.findAdminApplicationRegistrationVariables ?? [])
+ : (workspaceVariablesData?.findApplicationRegistrationVariables ?? [])
+ ).filter((variable) =>
+ shouldDisplayVariable({
+ isDeprecated: variable.isDeprecated,
+ hasValue: variable.isFilled,
+ }),
+ );
const handleUpdate = (id: string, value: string) => {
if (fromAdmin === true) {
@@ -155,31 +147,14 @@ export const SettingsApplicationRegistrationConfigTab = ({
/>
<StyledContainer>
{variables.map((variable) => {
- const tooltipId = `config-var-desc-${variable.key}`;
return (
<div key={variable.key}>
- <StyledLabelRow>
- <StyledLabel>{variable.key}</StyledLabel>
- {isNonEmptyString(variable.description) && (
- <>
- <IconInfoCircle
- id={tooltipId}
- size={theme.icon.size.sm}
- color={theme.font.color.tertiary}
- style={{ outline: 'none', cursor: 'pointer' }}
- />
- <AppTooltip
- anchorSelect={`#${tooltipId}`}
- content={variable.description}
- offset={5}
- noArrow
- place="bottom"
- positionStrategy="fixed"
- delay={TooltipDelay.shortDelay}
- />
- </>
- )}
- </StyledLabelRow>
+ <SettingsApplicationVariableLabelRow
+ variableKey={variable.key}
+ isDeprecated={variable.isDeprecated}
+ description={variable.description}
+ tooltipId={`config-var-desc-${variable.key}`}
+ />
<ConfigVariableInput
variable={variable as ConfigVariable}
onUpdate={handleUpdate}
diff --git a/packages/twenty-front/src/pages/settings/applications/utils/__tests__/getDisplayedApplicationVariables.test.ts b/packages/twenty-front/src/pages/settings/applications/utils/__tests__/getDisplayedApplicationVariables.test.ts
new file mode 100644
index 00000000000..6e9d2d021f7
--- /dev/null
+++ b/packages/twenty-front/src/pages/settings/applications/utils/__tests__/getDisplayedApplicationVariables.test.ts
@@ -0,0 +1,13 @@
+import { getDisplayedApplicationVariables } from '~/pages/settings/applications/utils/getDisplayedApplicationVariables';
+
+describe('getDisplayedApplicationVariables', () => {
+ it('should hide deprecated variables with no value and sort the rest by key', () => {
+ const result = getDisplayedApplicationVariables([
+ { key: 'ZONE', value: '', isDeprecated: false },
+ { key: 'API_KEY', value: '', isDeprecated: true },
+ { key: 'LEGACY_KEY', value: 'legacy-value', isDeprecated: true },
+ ]);
+
+ expect(result.map(({ key }) => key)).toEqual(['LEGACY_KEY', 'ZONE']);
+ });
+});
diff --git a/packages/twenty-front/src/pages/settings/applications/utils/getDisplayedApplicationVariables.ts b/packages/twenty-front/src/pages/settings/applications/utils/getDisplayedApplicationVariables.ts
new file mode 100644
index 00000000000..ce4884c3d3e
--- /dev/null
+++ b/packages/twenty-front/src/pages/settings/applications/utils/getDisplayedApplicationVariables.ts
@@ -0,0 +1,21 @@
+import { isNonEmptyString } from '@sniptt/guards';
+
+import { type ApplicationVariable } from '~/generated-metadata/graphql';
+import { shouldDisplayVariable } from '~/pages/settings/applications/utils/shouldDisplayVariable';
+
+export const getDisplayedApplicationVariables = <
+ DisplayableApplicationVariable extends Pick<
+ ApplicationVariable,
+ 'key' | 'value' | 'isDeprecated'
+ >,
+>(
+ applicationVariables: DisplayableApplicationVariable[],
+): DisplayableApplicationVariable[] =>
+ applicationVariables
+ .filter((applicationVariable) =>
+ shouldDisplayVariable({
+ isDeprecated: applicationVariable.isDeprecated,
+ hasValue: isNonEmptyString(applicationVariable.value),
+ }),
+ )
+ .sort((a, b) => a.key.localeCompare(b.key));
diff --git a/packages/twenty-front/src/pages/settings/applications/utils/shouldDisplayVariable.ts b/packages/twenty-front/src/pages/settings/applications/utils/shouldDisplayVariable.ts
new file mode 100644
index 00000000000..c9480c578c5
--- /dev/null
+++ b/packages/twenty-front/src/pages/settings/applications/utils/shouldDisplayVariable.ts
@@ -0,0 +1,7 @@
+export const shouldDisplayVariable = ({
+ isDeprecated,
+ hasValue,
+}: {
+ isDeprecated: boolean;
+ hasValue: boolean;
+}): boolean => !isDeprecated || hasValue;
diff --git a/packages/twenty-sdk/src/sdk/define/application/__tests__/define-app.spec.ts b/packages/twenty-sdk/src/sdk/define/application/__tests__/define-app.spec.ts
index cc0797c30e1..d43082f4159 100644
--- a/packages/twenty-sdk/src/sdk/define/application/__tests__/define-app.spec.ts
+++ b/packages/twenty-sdk/src/sdk/define/application/__tests__/define-app.spec.ts
@@ -108,6 +108,22 @@ describe('defineApplication', () => {
expect(result.warnings ?? []).toEqual([]);
});
+ it('should warn when a server variable is both required and deprecated', () => {
+ const result = defineApplication({
+ universalIdentifier: 'a9faf5f8-cf7e-4f24-9d37-fd523c30febe',
+ displayName: 'My App',
+ description: 'My app description',
+ serverVariables: {
+ API_KEY: { isRequired: true, isDeprecated: true },
+ },
+ });
+
+ const warnings = result.warnings ?? [];
+
+ expect(result.success).toBe(true);
+ expect(warnings.some((warning) => warning.includes('API_KEY'))).toBe(true);
+ });
+
it('should return error when universalIdentifier is missing', () => {
const config = {
displayName: 'My App',
diff --git a/packages/twenty-sdk/src/sdk/define/application/define-application.ts b/packages/twenty-sdk/src/sdk/define/application/define-application.ts
index d4f928c9322..684d5d5f95d 100644
--- a/packages/twenty-sdk/src/sdk/define/application/define-application.ts
+++ b/packages/twenty-sdk/src/sdk/define/application/define-application.ts
@@ -37,6 +37,16 @@ export const defineApplication: DefineEntity<ApplicationConfig> = (config) => {
}
}
+ for (const [variableName, variable] of Object.entries(
+ config.serverVariables ?? {},
+ )) {
+ if (variable.isRequired && variable.isDeprecated) {
+ warnings.push(
+ `Server variable "${variableName}" is both required and deprecated. \`isDeprecated\` wins: the variable is excluded from the application configuration check.`,
+ );
+ }
+ }
+
if (config.defaultRoleUniversalIdentifier) {
warnings.push(
'`defaultRoleUniversalIdentifier` on defineApplication() is deprecated. Use defineApplicationRole() in your role file instead.',
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-31/2-31-instance-command-fast-1786533439000-add-is-deprecated-to-application-variables.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-31/2-31-instance-command-fast-1786533439000-add-is-deprecated-to-application-variables.ts
new file mode 100644
index 00000000000..5e02bd1db04
--- /dev/null
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-31/2-31-instance-command-fast-1786533439000-add-is-deprecated-to-application-variables.ts
@@ -0,0 +1,36 @@
+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.31.0', 1786533439000)
+export class AddIsDeprecatedToApplicationVariablesFastInstanceCommand
+ implements FastInstanceCommand
+{
+ public async up(queryRunner: QueryRunner): Promise<void> {
+ await queryRunner.query(
+ `ALTER TABLE "core"."applicationVariable" ADD COLUMN IF NOT EXISTS "isDeprecated" boolean NOT NULL DEFAULT false`,
+ );
+ await queryRunner.query(
+ `ALTER TABLE "core"."applicationRegistrationVariable" ADD COLUMN IF NOT EXISTS "isDeprecated" boolean NOT NULL DEFAULT false`,
+ );
+ await queryRunner.query(
+ `ALTER TABLE "core"."applicationRegistrationVariable" DROP CONSTRAINT IF EXISTS "CHK_applicationRegistrationVariable_deprecated_not_required"`,
+ );
+ await queryRunner.query(
+ `ALTER TABLE "core"."applicationRegistrationVariable" ADD CONSTRAINT "CHK_applicationRegistrationVariable_deprecated_not_required" CHECK (NOT ("isRequired" AND "isDeprecated"))`,
+ );
+ }
+
+ public async down(queryRunner: QueryRunner): Promise<void> {
+ await queryRunner.query(
+ `ALTER TABLE "core"."applicationRegistrationVariable" DROP CONSTRAINT IF EXISTS "CHK_applicationRegistrationVariable_deprecated_not_required"`,
+ );
+ await queryRunner.query(
+ `ALTER TABLE "core"."applicationRegistrationVariable" DROP COLUMN IF EXISTS "isDeprecated"`,
+ );
+ await queryRunner.query(
+ `ALTER TABLE "core"."applicationVariable" DROP COLUMN IF EXISTS "isDeprecated"`,
+ );
+ }
+}
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-31/2-31-instance-command-slow-1786533438000-encrypt-empty-application-variables.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-31/2-31-instance-command-slow-1786533438000-encrypt-empty-application-variables.ts
new file mode 100644
index 00000000000..78b0c9e4e4c
--- /dev/null
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-31/2-31-instance-command-slow-1786533438000-encrypt-empty-application-variables.ts
@@ -0,0 +1,134 @@
+import { Logger } from '@nestjs/common';
+
+import { DataSource, QueryRunner } from 'typeorm';
+
+import { ApplicationRegistrationVariableEntity } from 'src/engine/core-modules/application/application-registration-variable/application-registration-variable.entity';
+import { ApplicationVariableEntity } from 'src/engine/core-modules/application/application-variable/application-variable.entity';
+import { type EncryptedString } from 'src/engine/core-modules/secret-encryption/branded-strings/encrypted-string.type';
+import { type PlaintextString } from 'src/engine/core-modules/secret-encryption/branded-strings/plaintext-string.type';
+import { SecretEncryptionService } from 'src/engine/core-modules/secret-encryption/secret-encryption.service';
+import { RegisteredInstanceCommand } from 'src/engine/core-modules/upgrade/decorators/registered-instance-command.decorator';
+import { SlowInstanceCommand } from 'src/engine/core-modules/upgrade/interfaces/slow-instance-command.interface';
+
+const EMPTY_PLAINTEXT = '' as PlaintextString;
+
+const LEGACY_EMPTY_VALUE = '' as EncryptedString;
+
+@RegisteredInstanceCommand('2.31.0', 1786533438000, { type: 'slow' })
+export class EncryptEmptyApplicationVariablesSlowInstanceCommand
+ implements SlowInstanceCommand
+{
+ private readonly logger = new Logger(
+ EncryptEmptyApplicationVariablesSlowInstanceCommand.name,
+ );
+
+ constructor(
+ private readonly secretEncryptionService: SecretEncryptionService,
+ ) {}
+
+ async runDataMigration(dataSource: DataSource): Promise<void> {
+ await this.encryptEmptyRegistrationVariables(dataSource);
+ await this.encryptEmptyApplicationVariables(dataSource);
+ }
+
+ private async encryptEmptyRegistrationVariables(
+ dataSource: DataSource,
+ ): Promise<void> {
+ const applicationRegistrationVariableRepository = dataSource.getRepository(
+ ApplicationRegistrationVariableEntity,
+ );
+
+ const { affected } = await applicationRegistrationVariableRepository.update(
+ { encryptedValue: LEGACY_EMPTY_VALUE },
+ {
+ encryptedValue:
+ this.secretEncryptionService.encryptVersioned(EMPTY_PLAINTEXT),
+ },
+ );
+
+ this.logger.log(
+ `core.applicationRegistrationVariable: encrypted ${affected ?? 0} empty value(s)`,
+ );
+ }
+
+ // The encryption key is derived from the workspaceId, so each workspace
+ // needs its own envelope of the empty string.
+ private async encryptEmptyApplicationVariables(
+ dataSource: DataSource,
+ ): Promise<void> {
+ const applicationVariableRepository = dataSource.getRepository(
+ ApplicationVariableEntity,
+ );
+
+ const workspaceRows = await applicationVariableRepository
+ .createQueryBuilder('applicationVariable')
+ .select('applicationVariable.workspaceId', 'workspaceId')
+ .where('applicationVariable.value = :legacyEmptyValue', {
+ legacyEmptyValue: LEGACY_EMPTY_VALUE,
+ })
+ .distinct(true)
+ .getRawMany<{ workspaceId: string }>();
+
+ let encryptedCount = 0;
+
+ for (const { workspaceId } of workspaceRows) {
+ const { affected } = await applicationVariableRepository.update(
+ { workspaceId, value: LEGACY_EMPTY_VALUE },
+ {
+ value: this.secretEncryptionService.encryptVersioned(
+ EMPTY_PLAINTEXT,
+ { workspaceId },
+ ),
+ },
+ );
+
+ encryptedCount += affected ?? 0;
+ }
+
+ this.logger.log(
+ `core.applicationVariable: encrypted ${encryptedCount} empty value(s)`,
+ );
+ }
+
+ public async up(queryRunner: QueryRunner): Promise<void> {
+ await queryRunner.query(
+ `ALTER TABLE "core"."applicationVariable" DROP CONSTRAINT IF EXISTS "CHK_applicationVariable_value_encrypted"`,
+ );
+ await queryRunner.query(
+ `ALTER TABLE "core"."applicationVariable" ADD CONSTRAINT "CHK_applicationVariable_value_encrypted" CHECK ("value" LIKE 'enc:v2:%')`,
+ );
+ await queryRunner.query(
+ `ALTER TABLE "core"."applicationVariable" ALTER COLUMN "value" DROP DEFAULT`,
+ );
+ await queryRunner.query(
+ `ALTER TABLE "core"."applicationRegistrationVariable" DROP CONSTRAINT IF EXISTS "CHK_applicationRegistrationVariable_encryptedValue_encrypted"`,
+ );
+ await queryRunner.query(
+ `ALTER TABLE "core"."applicationRegistrationVariable" ADD CONSTRAINT "CHK_applicationRegistrationVariable_encryptedValue_encrypted" CHECK ("encryptedValue" LIKE 'enc:v2:%')`,
+ );
+ await queryRunner.query(
+ `ALTER TABLE "core"."applicationRegistrationVariable" ALTER COLUMN "encryptedValue" DROP DEFAULT`,
+ );
+ }
+
+ public async down(queryRunner: QueryRunner): Promise<void> {
+ await queryRunner.query(
+ `ALTER TABLE "core"."applicationRegistrationVariable" ALTER COLUMN "encryptedValue" SET DEFAULT ''`,
+ );
+ await queryRunner.query(
+ `ALTER TABLE "core"."applicationRegistrationVariable" DROP CONSTRAINT IF EXISTS "CHK_applicationRegistrationVariable_encryptedValue_encrypted"`,
+ );
+ await queryRunner.query(
+ `ALTER TABLE "core"."applicationRegistrationVariable" ADD CONSTRAINT "CHK_applicationRegistrationVariable_encryptedValue_encrypted" CHECK ("encryptedValue" = '' OR "encryptedValue" LIKE 'enc:v2:%')`,
+ );
+ await queryRunner.query(
+ `ALTER TABLE "core"."applicationVariable" ALTER COLUMN "value" SET DEFAULT ''`,
+ );
+ await queryRunner.query(
+ `ALTER TABLE "core"."applicationVariable" DROP CONSTRAINT IF EXISTS "CHK_applicationVariable_value_encrypted"`,
+ );
+ await queryRunner.query(
+ `ALTER TABLE "core"."applicationVariable" ADD CONSTRAINT "CHK_applicationVariable_value_encrypted" CHECK ("value" = '' OR "value" LIKE 'enc:v2:%')`,
+ );
+ }
+}
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-31/add-is-deprecated-to-application-variables-upgrade-command-name.constant.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-31/add-is-deprecated-to-application-variables-upgrade-command-name.constant.ts
new file mode 100644
index 00000000000..cad91842652
--- /dev/null
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-31/add-is-deprecated-to-application-variables-upgrade-command-name.constant.ts
@@ -0,0 +1,2 @@
+export const ADD_IS_DEPRECATED_TO_APPLICATION_VARIABLES_UPGRADE_COMMAND_NAME =
+ '2.31.0_AddIsDeprecatedToApplicationVariablesFastInstanceCommand_1786533439000';
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.ts
index 6cad172e69f..bdbbacfa006 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
@@ -143,6 +143,8 @@ import { AddIsHiddenToAgentMessageFastInstanceCommand } from './2-25/2-25-instan
import { CreateBillingCreditGrantTableFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-31/2-31-instance-command-fast-1786532184000-create-billing-credit-grant-table';
import { BackfillCreditBalanceIntoGrantsSlowInstanceCommand } from 'src/database/commands/upgrade-version-command/2-31/2-31-instance-command-slow-1786532184001-backfill-credit-balance-into-grants';
import { AddPreviousPeriodStartToBillingSubscriptionFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-31/2-31-instance-command-fast-1786532184002-add-previous-period-start-to-billing-subscription';
+import { AddIsDeprecatedToApplicationVariablesFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-31/2-31-instance-command-fast-1786533439000-add-is-deprecated-to-application-variables';
+import { EncryptEmptyApplicationVariablesSlowInstanceCommand } from 'src/database/commands/upgrade-version-command/2-31/2-31-instance-command-slow-1786533438000-encrypt-empty-application-variables';
export const INSTANCE_COMMANDS = [
AddViewFieldGroupIdIndexOnViewFieldFastInstanceCommand,
@@ -288,4 +290,6 @@ export const INSTANCE_COMMANDS = [
CreateBillingCreditGrantTableFastInstanceCommand,
BackfillCreditBalanceIntoGrantsSlowInstanceCommand,
AddPreviousPeriodStartToBillingSubscriptionFastInstanceCommand,
+ AddIsDeprecatedToApplicationVariablesFastInstanceCommand,
+ EncryptEmptyApplicationVariablesSlowInstanceCommand,
];
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/from-application-variable-manifest-to-universal-flat-application-variable.util.ts b/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/from-application-variable-manifest-to-universal-flat-application-variable.util.ts
index 1fd531d6912..d5e86ca5a4f 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/from-application-variable-manifest-to-universal-flat-application-variable.util.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/from-application-variable-manifest-to-universal-flat-application-variable.util.ts
@@ -14,6 +14,7 @@ export const fromApplicationVariableManifestToUniversalFlatApplicationVariable =
description,
encryptedValue,
isSecret,
+ isDeprecated,
type,
options,
applicationUniversalIdentifier,
@@ -22,8 +23,9 @@ export const fromApplicationVariableManifestToUniversalFlatApplicationVariable =
key: string;
universalIdentifier: string;
description?: string;
- encryptedValue: EncryptedString | '';
+ encryptedValue: EncryptedString;
isSecret?: boolean;
+ isDeprecated?: boolean;
type?: ApplicationVariableType;
options?: ApplicationVariableOption[];
applicationUniversalIdentifier: string;
@@ -36,6 +38,7 @@ export const fromApplicationVariableManifestToUniversalFlatApplicationVariable =
value: encryptedValue,
description: description ?? '',
isSecret: isSecret ?? false,
+ isDeprecated: isDeprecated ?? false,
type: type ?? FieldMetadataType.TEXT,
options: options ?? null,
createdAt: now,
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-manifest/services/compute-application-manifest-all-universal-flat-entity-maps.service.ts b/packages/twenty-server/src/engine/core-modules/application/application-manifest/services/compute-application-manifest-all-universal-flat-entity-maps.service.ts
index 102432d3089..70a940c18aa 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-manifest/services/compute-application-manifest-all-universal-flat-entity-maps.service.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-manifest/services/compute-application-manifest-all-universal-flat-entity-maps.service.ts
@@ -38,7 +38,6 @@ import { fromViewManifestToUniversalFlatView } from 'src/engine/core-modules/app
import { fromViewSortManifestToUniversalFlatViewSort } from 'src/engine/core-modules/application/application-manifest/converters/from-view-sort-manifest-to-universal-flat-view-sort.util';
import { type FlatApplication } from 'src/engine/core-modules/application/types/flat-application.type';
import { fromAgentManifestToUniversalFlatAgent } from 'src/engine/core-modules/application/utils/from-agent-manifest-to-universal-flat-agent.util';
-import { type EncryptedString } from 'src/engine/core-modules/secret-encryption/branded-strings/encrypted-string.type';
import { type PlaintextString } from 'src/engine/core-modules/secret-encryption/branded-strings/plaintext-string.type';
import { SecretEncryptionService } from 'src/engine/core-modules/secret-encryption/secret-encryption.service';
import { createEmptyAllFlatEntityMaps } from 'src/engine/metadata-modules/flat-entity/constant/create-empty-all-flat-entity-maps.constant';
@@ -52,20 +51,6 @@ export class ComputeApplicationManifestAllUniversalFlatEntityMapsService {
private readonly secretEncryptionService: SecretEncryptionService,
) {}
- private encryptApplicationVariableValue(
- plaintext: string,
- workspaceId: string,
- ): EncryptedString | '' {
- if (plaintext === '') {
- return '';
- }
-
- return this.secretEncryptionService.encryptVersioned(
- plaintext as PlaintextString,
- { workspaceId },
- );
- }
-
compute({
manifest,
ownerFlatApplication,
@@ -620,12 +605,13 @@ export class ComputeApplicationManifestAllUniversalFlatEntityMapsService {
key,
universalIdentifier:
applicationVariableManifest.universalIdentifier,
- encryptedValue: this.encryptApplicationVariableValue(
- rawValue,
- workspaceId,
+ encryptedValue: this.secretEncryptionService.encryptVersioned(
+ rawValue as PlaintextString,
+ { workspaceId },
),
description: applicationVariableManifest.description,
isSecret,
+ isDeprecated: applicationVariableManifest.isDeprecated,
type,
options: applicationVariableManifest.options,
applicationUniversalIdentifier,
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-registration-variable/__tests__/application-registration-variable.service.spec.ts b/packages/twenty-server/src/engine/core-modules/application/application-registration-variable/__tests__/application-registration-variable.service.spec.ts
new file mode 100644
index 00000000000..ca263ce6640
--- /dev/null
+++ b/packages/twenty-server/src/engine/core-modules/application/application-registration-variable/__tests__/application-registration-variable.service.spec.ts
@@ -0,0 +1,218 @@
+import { Test, type TestingModule } from '@nestjs/testing';
+import { getRepositoryToken } from '@nestjs/typeorm';
+
+import { type ServerVariables } from 'twenty-shared/application';
+import { FieldMetadataType } from 'twenty-shared/types';
+import { type Repository } from 'typeorm';
+
+import { ApplicationRegistrationVariableEntity } from 'src/engine/core-modules/application/application-registration-variable/application-registration-variable.entity';
+import { ApplicationRegistrationVariableService } from 'src/engine/core-modules/application/application-registration-variable/application-registration-variable.service';
+import { ApplicationRegistrationEntity } from 'src/engine/core-modules/application/application-registration/application-registration.entity';
+import { ApplicationEntity } from 'src/engine/core-modules/application/application.entity';
+import { type EncryptedString } from 'src/engine/core-modules/secret-encryption/branded-strings/encrypted-string.type';
+import { type PlaintextString } from 'src/engine/core-modules/secret-encryption/branded-strings/plaintext-string.type';
+import { SecretEncryptionService } from 'src/engine/core-modules/secret-encryption/secret-encryption.service';
+
+describe('ApplicationRegistrationVariableService', () => {
+ let service: ApplicationRegistrationVariableService;
+ let variableRepository: jest.Mocked<
+ Repository<ApplicationRegistrationVariableEntity>
+ >;
+ let applicationRegistrationRepository: jest.Mocked<
+ Repository<ApplicationRegistrationEntity>
+ >;
+ let applicationRepository: jest.Mocked<Repository<ApplicationEntity>>;
+ let encryptionService: jest.Mocked<SecretEncryptionService>;
+
+ const registrationId = 'registration-1';
+
+ beforeEach(async () => {
+ const module: TestingModule = await Test.createTestingModule({
+ providers: [
+ ApplicationRegistrationVariableService,
+ {
+ provide: getRepositoryToken(ApplicationRegistrationVariableEntity),
+ useValue: {
+ find: jest.fn().mockResolvedValue([]),
+ findOne: jest.fn(),
+ findOneOrFail: jest.fn(),
+ create: jest.fn((entity) => entity),
+ save: jest.fn(),
+ update: jest.fn(),
+ delete: jest.fn(),
+ },
+ },
+ {
+ provide: getRepositoryToken(ApplicationRegistrationEntity),
+ useValue: {
+ find: jest.fn().mockResolvedValue([]),
+ findOne: jest.fn(),
+ },
+ },
+ {
+ provide: getRepositoryToken(ApplicationEntity),
+ useValue: { find: jest.fn().mockResolvedValue([]) },
+ },
+ {
+ provide: SecretEncryptionService,
+ useValue: {
+ encryptVersioned: jest.fn(
+ (value: string) => `enc:v2:deadbeef:${value}`,
+ ),
+ decryptVersionedOrThrow: jest.fn((value: string) =>
+ value.replace(/^enc:v2:[0-9a-f]+:/, ''),
+ ),
+ },
+ },
+ ],
+ }).compile();
+
+ service = module.get(ApplicationRegistrationVariableService);
+ variableRepository = module.get(
+ getRepositoryToken(ApplicationRegistrationVariableEntity),
+ );
+ applicationRegistrationRepository = module.get(
+ getRepositoryToken(ApplicationRegistrationEntity),
+ );
+ applicationRepository = module.get(getRepositoryToken(ApplicationEntity));
+ encryptionService = module.get(SecretEncryptionService);
+ });
+
+ const makeExistingVariable = (
+ overrides: Partial<ApplicationRegistrationVariableEntity>,
+ ) =>
+ ({
+ id: 'variable-1',
+ key: 'API_KEY',
+ encryptedValue: 'enc:v2:deadbeef:' as EncryptedString,
+ description: '',
+ isSecret: true,
+ isRequired: false,
+ isDeprecated: false,
+ type: FieldMetadataType.TEXT,
+ options: null,
+ applicationRegistrationId: registrationId,
+ ...overrides,
+ }) as ApplicationRegistrationVariableEntity;
+
+ describe('syncVariableSchemas', () => {
+ it('should persist isDeprecated on creation', async () => {
+ const serverVariables: ServerVariables = {
+ API_KEY: { isDeprecated: true },
+ };
+
+ await service.syncVariableSchemas(registrationId, serverVariables);
+
+ expect(variableRepository.save).toHaveBeenCalledWith(
+ expect.objectContaining({
+ key: 'API_KEY',
+ isDeprecated: true,
+ encryptedValue: 'enc:v2:deadbeef:',
+ }),
+ );
+ });
+
+ it('should drop isRequired when the manifest deprecates a variable', async () => {
+ variableRepository.find.mockResolvedValue([
+ makeExistingVariable({ isRequired: true }),
+ ]);
+
+ await service.syncVariableSchemas(registrationId, {
+ API_KEY: { isRequired: true, isDeprecated: true },
+ });
+
+ expect(variableRepository.update).toHaveBeenCalledWith(
+ 'variable-1',
+ expect.objectContaining({ isRequired: false, isDeprecated: true }),
+ );
+ });
+
+ it('should un-deprecate a variable when the manifest drops the flag', async () => {
+ variableRepository.find.mockResolvedValue([
+ makeExistingVariable({ isDeprecated: true }),
+ ]);
+
+ await service.syncVariableSchemas(registrationId, { API_KEY: {} });
+
+ expect(variableRepository.update).toHaveBeenCalledWith(
+ 'variable-1',
+ expect.objectContaining({ isDeprecated: false }),
+ );
+ });
+ });
+
+ describe('isConfiguredBatch', () => {
+ const mockVariables = (
+ variables: ApplicationRegistrationVariableEntity[],
+ ) => {
+ variableRepository.find.mockResolvedValue(variables);
+ applicationRegistrationRepository.find.mockResolvedValue([
+ { id: registrationId, manifest: {}, ownerWorkspaceId: null } as never,
+ ]);
+ applicationRepository.find.mockResolvedValue([]);
+ };
+
+ it('should report configured when the only unfilled variable is deprecated', async () => {
+ mockVariables([
+ makeExistingVariable({ isRequired: false, isDeprecated: true }),
+ ]);
+
+ const result = await service.isConfiguredBatch([registrationId]);
+
+ expect(result.get(registrationId)).toBe(true);
+ });
+
+ it('should report unconfigured when a required variable decrypts to an empty string', async () => {
+ mockVariables([
+ makeExistingVariable({
+ isRequired: true,
+ encryptedValue: 'enc:v2:deadbeef:' as EncryptedString,
+ }),
+ ]);
+
+ const result = await service.isConfiguredBatch([registrationId]);
+
+ expect(result.get(registrationId)).toBe(false);
+ });
+
+ it('should report configured when a required variable decrypts to a real value', async () => {
+ mockVariables([
+ makeExistingVariable({
+ isRequired: true,
+ encryptedValue: 'enc:v2:deadbeef:stored-secret' as EncryptedString,
+ }),
+ ]);
+
+ const result = await service.isConfiguredBatch([registrationId]);
+
+ expect(result.get(registrationId)).toBe(true);
+ });
+ });
+
+ describe('updateVariableGlobal', () => {
+ it('should encrypt an empty value and report the variable unfilled', async () => {
+ const variable = makeExistingVariable({
+ encryptedValue: 'enc:v2:deadbeef:stored-secret' as EncryptedString,
+ });
+
+ variableRepository.findOne.mockResolvedValue(variable);
+ variableRepository.findOneOrFail.mockResolvedValue(
+ makeExistingVariable({
+ encryptedValue: 'enc:v2:deadbeef:' as EncryptedString,
+ }),
+ );
+
+ const result = await service.updateVariableGlobal({
+ id: 'variable-1',
+ update: { value: '' as PlaintextString },
+ });
+
+ expect(encryptionService.encryptVersioned).toHaveBeenCalledWith('');
+ expect(variableRepository.update).toHaveBeenCalledWith('variable-1', {
+ encryptedValue: 'enc:v2:deadbeef:',
+ });
+ expect(result.isFilled).toBe(false);
+ expect(result.value).toBeNull();
+ });
+ });
+});
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-registration-variable/application-registration-variable.entity.ts b/packages/twenty-server/src/engine/core-modules/application/application-registration-variable/application-registration-variable.entity.ts
index e8a0811d450..e4e4b11c66d 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-registration-variable/application-registration-variable.entity.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-registration-variable/application-registration-variable.entity.ts
@@ -1,4 +1,3 @@
-import { Field, ObjectType } from '@nestjs/graphql';
import {
Check,
Column,
@@ -13,68 +12,66 @@ import {
UpdateDateColumn,
} from 'typeorm';
-import { GraphQLJSON } from 'graphql-type-json';
import { FieldMetadataType } from 'twenty-shared/types';
import {
type ApplicationVariableOption,
type ApplicationVariableType,
} from 'twenty-shared/application';
-import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';
+import { ADD_IS_DEPRECATED_TO_APPLICATION_VARIABLES_UPGRADE_COMMAND_NAME } from 'src/database/commands/upgrade-version-command/2-31/add-is-deprecated-to-application-variables-upgrade-command-name.constant';
import { ApplicationRegistrationEntity } from 'src/engine/core-modules/application/application-registration/application-registration.entity';
import { type EncryptedString } from 'src/engine/core-modules/secret-encryption/branded-strings/encrypted-string.type';
+import { WasIntroducedInUpgrade } from 'src/engine/core-modules/upgrade/decorators/was-introduced-in-upgrade.decorator';
@Entity({ name: 'applicationRegistrationVariable', schema: 'core' })
-@ObjectType('ApplicationRegistrationVariable')
@Unique('IDX_APP_REG_VAR_KEY_APP_REGISTRATION_ID_UNIQUE', [
'key',
'applicationRegistrationId',
])
@Index('IDX_APP_REG_VAR_APP_REGISTRATION_ID', ['applicationRegistrationId'])
-// Constrains `encryptedValue` to the unfilled default ('') or to the
-// versioned envelope. Registration variables are instance-scoped so the
-// envelope's HKDF info does not include a workspaceId.
+// Registration variables are instance-scoped so the envelope's HKDF info
+// does not include a workspaceId. An empty value is stored as the envelope
+// of the empty string, never as ''.
@Check(
'CHK_applicationRegistrationVariable_encryptedValue_encrypted',
- `"encryptedValue" = '' OR "encryptedValue" LIKE 'enc:v2:%'`,
+ `"encryptedValue" LIKE 'enc:v2:%'`,
+)
+@Check(
+ 'CHK_applicationRegistrationVariable_deprecated_not_required',
+ `NOT ("isRequired" AND "isDeprecated")`,
)
export class ApplicationRegistrationVariableEntity {
- @Field(() => UUIDScalarType)
@PrimaryGeneratedColumn('uuid')
id: string;
- @Field()
@Column({ nullable: false, type: 'text' })
key: string;
- @Column({ nullable: false, type: 'text', default: '' })
- encryptedValue: EncryptedString | '';
+ @Column({ nullable: false, type: 'text' })
+ encryptedValue: EncryptedString;
- @Field()
@Column({ nullable: false, type: 'text', default: '' })
description: string;
- @Field()
@Column({ nullable: false, type: 'boolean', default: true })
isSecret: boolean;
- @Field()
@Column({ nullable: false, type: 'boolean', default: false })
isRequired: boolean;
- @Field(() => String)
+ @WasIntroducedInUpgrade({
+ upgradeCommandName:
+ ADD_IS_DEPRECATED_TO_APPLICATION_VARIABLES_UPGRADE_COMMAND_NAME,
+ })
+ @Column({ nullable: false, type: 'boolean', default: false })
+ isDeprecated: boolean;
+
@Column({ nullable: false, type: 'text', default: FieldMetadataType.TEXT })
type: ApplicationVariableType;
- @Field(() => GraphQLJSON, { nullable: true })
@Column({ nullable: true, type: 'jsonb', default: null })
options: ApplicationVariableOption[] | null;
- @Field()
- get isFilled(): boolean {
- return this.encryptedValue !== '';
- }
-
@Column({ nullable: false, type: 'uuid' })
applicationRegistrationId: string;
@@ -86,11 +83,9 @@ export class ApplicationRegistrationVariableEntity {
@JoinColumn({ name: 'applicationRegistrationId' })
applicationRegistration: Relation<ApplicationRegistrationEntity>;
- @Field()
@CreateDateColumn({ type: 'timestamptz' })
createdAt: Date;
- @Field()
@UpdateDateColumn({ type: 'timestamptz' })
updatedAt: Date;
}
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-registration-variable/application-registration-variable.service.ts b/packages/twenty-server/src/engine/core-modules/application/application-registration-variable/application-registration-variable.service.ts
index 3a3b68027a0..f4a13f72370 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-registration-variable/application-registration-variable.service.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-registration-variable/application-registration-variable.service.ts
@@ -15,6 +15,7 @@ import {
} from 'src/engine/core-modules/application/application-registration/application-registration.exception';
import { type CreateApplicationRegistrationVariableInput } from 'src/engine/core-modules/application/application-registration-variable/dtos/create-application-registration-variable.input';
import { type UpdateApplicationRegistrationVariableInput } from 'src/engine/core-modules/application/application-registration-variable/dtos/update-application-registration-variable.input';
+import { type PlaintextString } from 'src/engine/core-modules/secret-encryption/branded-strings/plaintext-string.type';
import { SecretEncryptionService } from 'src/engine/core-modules/secret-encryption/secret-encryption.service';
import { ApplicationRegistrationVariableDTO } from 'src/engine/core-modules/application/application-registration-variable/dtos/application-registration-variable.dto';
@@ -58,7 +59,7 @@ export class ApplicationRegistrationVariableService {
async createVariable(
input: CreateApplicationRegistrationVariableInput,
workspaceId: string,
- ): Promise<ApplicationRegistrationVariableEntity> {
+ ): Promise<ApplicationRegistrationVariableDTO> {
await this.assertRegistrationOwnedByWorkspace(
input.applicationRegistrationId,
workspaceId,
@@ -74,13 +75,13 @@ export class ApplicationRegistrationVariableService {
isSecret: input.isSecret ?? true,
});
- return this.variableRepository.save(variable);
+ return this.toObfuscatedDTO(await this.variableRepository.save(variable));
}
async updateVariable(
input: UpdateApplicationRegistrationVariableInput,
workspaceId: string,
- ): Promise<ApplicationRegistrationVariableEntity> {
+ ): Promise<ApplicationRegistrationVariableDTO> {
const variable = await this.findVariableOrThrow(input.id);
await this.assertRegistrationOwnedByWorkspace(
@@ -88,7 +89,7 @@ export class ApplicationRegistrationVariableService {
workspaceId,
);
- return this.applyVariableUpdate(input);
+ return this.toObfuscatedDTO(await this.applyVariableUpdate(input));
}
async updateVariableGlobal(
@@ -136,12 +137,15 @@ export class ApplicationRegistrationVariableService {
for (const [key, schema] of Object.entries(serverVariables)) {
const existing = existingByKey.get(key);
+ const isDeprecated = schema.isDeprecated ?? false;
+ const isRequired = isDeprecated ? false : (schema.isRequired ?? false);
if (existing) {
await variableRepository.update(existing.id, {
description: schema.description ?? '',
isSecret: schema.isSecret ?? true,
- isRequired: schema.isRequired ?? false,
+ isRequired,
+ isDeprecated,
type: schema.type ?? FieldMetadataType.TEXT,
options: schema.options ?? null,
});
@@ -150,10 +154,13 @@ export class ApplicationRegistrationVariableService {
variableRepository.create({
applicationRegistrationId,
key,
- encryptedValue: '',
+ encryptedValue: this.encryptionService.encryptVersioned(
+ '' as PlaintextString,
+ ),
description: schema.description ?? '',
isSecret: schema.isSecret ?? true,
- isRequired: schema.isRequired ?? false,
+ isRequired,
+ isDeprecated,
type: schema.type ?? FieldMetadataType.TEXT,
options: schema.options ?? null,
}),
@@ -200,7 +207,7 @@ export class ApplicationRegistrationVariableService {
(variable) =>
variable.applicationRegistrationId === id && variable.isRequired,
)
- .every((variable) => variable.isFilled);
+ .every((variable) => this.isVariableFilled(variable));
const isInstalledOnOwnerWorkspace = installedApps.some(
(app) =>
@@ -270,7 +277,9 @@ export class ApplicationRegistrationVariableService {
}
if (isDefined(update.resetValue) && update.resetValue) {
- updateData.encryptedValue = '';
+ updateData.encryptedValue = this.encryptionService.encryptVersioned(
+ '' as PlaintextString,
+ );
}
if (isDefined(update.description)) {
@@ -284,20 +293,34 @@ export class ApplicationRegistrationVariableService {
return this.variableRepository.findOneOrFail({ where: { id } });
}
+ private decryptValue(
+ variable: ApplicationRegistrationVariableEntity,
+ ): string {
+ return this.encryptionService.decryptVersionedOrThrow(
+ variable.encryptedValue,
+ );
+ }
+
+ private isVariableFilled(
+ variable: ApplicationRegistrationVariableEntity,
+ ): boolean {
+ return this.decryptValue(variable) !== '';
+ }
+
private toObfuscatedDTO(
variable: ApplicationRegistrationVariableEntity,
): ApplicationRegistrationVariableDTO {
- const { encryptedValue } = variable;
+ const plaintextValue = this.decryptValue(variable);
+ const isFilled = plaintextValue !== '';
return {
...variable,
- isFilled: variable.isFilled,
- value:
- encryptedValue !== ''
- ? variable.isSecret
- ? '•••••••••••••'
- : this.encryptionService.decryptVersionedOrThrow(encryptedValue)
- : null,
+ isFilled,
+ value: !isFilled
+ ? null
+ : variable.isSecret
+ ? '•••••••••••••'
+ : plaintextValue,
};
}
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-registration-variable/dtos/application-registration-variable.dto.ts b/packages/twenty-server/src/engine/core-modules/application/application-registration-variable/dtos/application-registration-variable.dto.ts
index 6d180207923..5ae73e5b500 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-registration-variable/dtos/application-registration-variable.dto.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-registration-variable/dtos/application-registration-variable.dto.ts
@@ -4,7 +4,7 @@ import { IsBoolean, IsOptional, IsString } from 'class-validator';
import { GraphQLJSON } from 'graphql-type-json';
import { type ApplicationVariableOption } from 'twenty-shared/application';
-@ObjectType()
+@ObjectType('ApplicationRegistrationVariable')
export class ApplicationRegistrationVariableDTO {
@Field(() => UUIDScalarType)
id: string;
@@ -29,6 +29,10 @@ export class ApplicationRegistrationVariableDTO {
@Field()
isRequired: boolean;
+ @IsBoolean()
+ @Field()
+ isDeprecated: boolean;
+
@IsBoolean()
@Field()
isFilled: boolean;
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-registration/application-registration.resolver.ts b/packages/twenty-server/src/engine/core-modules/application/application-registration/application-registration.resolver.ts
index d11ad2c3825..4a02d4d5a30 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-registration/application-registration.resolver.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-registration/application-registration.resolver.ts
@@ -18,7 +18,6 @@ import { type IDataloaders } from 'src/engine/dataloaders/dataloader.interface';
import type { FileUpload } from 'graphql-upload/processRequest.mjs';
import { MetadataResolver } from 'src/engine/api/graphql/graphql-config/decorators/metadata-resolver.decorator';
-import { ApplicationRegistrationVariableEntity } from 'src/engine/core-modules/application/application-registration-variable/application-registration-variable.entity';
import { ApplicationRegistrationVariableService } from 'src/engine/core-modules/application/application-registration-variable/application-registration-variable.service';
import { CreateApplicationRegistrationVariableInput } from 'src/engine/core-modules/application/application-registration-variable/dtos/create-application-registration-variable.input';
import { UpdateApplicationRegistrationVariableInput } from 'src/engine/core-modules/application/application-registration-variable/dtos/update-application-registration-variable.input';
@@ -210,11 +209,11 @@ export class ApplicationRegistrationResolver {
WorkspaceAuthGuard,
SettingsPermissionGuard(PermissionFlagType.API_KEYS_AND_WEBHOOKS),
)
- @Mutation(() => ApplicationRegistrationVariableEntity)
+ @Mutation(() => ApplicationRegistrationVariableDTO)
async createApplicationRegistrationVariable(
@Args('input') input: CreateApplicationRegistrationVariableInput,
@AuthWorkspace() { id: workspaceId }: WorkspaceEntity,
- ): Promise<ApplicationRegistrationVariableEntity> {
+ ): Promise<ApplicationRegistrationVariableDTO> {
return this.applicationRegistrationVariableService.createVariable(
input,
workspaceId,
@@ -225,11 +224,11 @@ export class ApplicationRegistrationResolver {
WorkspaceAuthGuard,
SettingsPermissionGuard(PermissionFlagType.API_KEYS_AND_WEBHOOKS),
)
- @Mutation(() => ApplicationRegistrationVariableEntity)
+ @Mutation(() => ApplicationRegistrationVariableDTO)
async updateApplicationRegistrationVariable(
@Args('input') input: UpdateApplicationRegistrationVariableInput,
@AuthWorkspace() { id: workspaceId }: WorkspaceEntity,
- ): Promise<ApplicationRegistrationVariableEntity> {
+ ): Promise<ApplicationRegistrationVariableDTO> {
return this.applicationRegistrationVariableService.updateVariable(
input,
workspaceId,
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-variable/__tests__/application-variable.service.spec.ts b/packages/twenty-server/src/engine/core-modules/application/application-variable/__tests__/application-variable.service.spec.ts
index 7490ca6e631..ff136f45e53 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-variable/__tests__/application-variable.service.spec.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-variable/__tests__/application-variable.service.spec.ts
@@ -53,16 +53,8 @@ describe('ApplicationVariableEntityService', () => {
(value: string, _opts?: { workspaceId?: string }) =>
value.replace(/^enc:v2:[0-9a-f]+:/, '').replace(/\|.*$/, ''),
),
- decryptAndMaskVersioned: jest.fn(
- ({
- value: _value,
- mask: _mask,
- workspaceId: _workspaceId,
- }: {
- value: string;
- mask: string;
- workspaceId?: string;
- }) => '********',
+ maskDecryptedValue: jest.fn(
+ (_decryptedValue: string, _mask: string) => '********',
),
},
},
@@ -93,7 +85,7 @@ describe('ApplicationVariableEntityService', () => {
({
id: '1',
key: 'KEY',
- value: '' as EncryptedString | '',
+ value: 'enc:v2:deadbeef:|instance' as EncryptedString,
description: '',
isSecret: false,
type: FieldMetadataType.TEXT,
@@ -180,6 +172,34 @@ describe('ApplicationVariableEntityService', () => {
).toHaveBeenCalledTimes(2);
});
+ it('should still inject a deprecated variable so apps can fall back to it', async () => {
+ mockCachedApplicationVariables([
+ makeFlatVariable({
+ universalIdentifier: 'variable-1',
+ key: 'API_KEY',
+ value: `enc:v2:deadbeef:legacy-key|${workspaceA}` as EncryptedString,
+ isSecret: true,
+ isDeprecated: true,
+ }),
+ makeFlatVariable({
+ universalIdentifier: 'variable-2',
+ key: 'NEW_API_KEY',
+ value: `enc:v2:deadbeef:new-key|${workspaceA}` as EncryptedString,
+ isSecret: true,
+ }),
+ ]);
+
+ const result = await service.getServerEnvVariables({
+ workspaceId: workspaceA,
+ applicationId: mockApplicationId,
+ });
+
+ expect(result).toEqual({
+ API_KEY: 'legacy-key',
+ NEW_API_KEY: 'new-key',
+ });
+ });
+
it('should route each variable to its own workspace HKDF context', async () => {
mockCachedApplicationVariables([
makeFlatVariable({
@@ -214,12 +234,12 @@ describe('ApplicationVariableEntityService', () => {
});
});
- it('should return an empty string for uninitialised variables without decrypting', async () => {
+ it('should decrypt uninitialised variables to an empty string', async () => {
mockCachedApplicationVariables([
makeFlatVariable({
universalIdentifier: 'variable-1',
key: 'EMPTY_VALUE',
- value: '',
+ value: `enc:v2:deadbeef:|${workspaceA}` as EncryptedString,
}),
]);
@@ -229,9 +249,6 @@ describe('ApplicationVariableEntityService', () => {
});
expect(result).toEqual({ EMPTY_VALUE: '' });
- expect(
- secretEncryptionService.decryptVersionedOrThrow,
- ).not.toHaveBeenCalled();
});
it('should reuse provided application variable maps instead of reading the cache', async () => {
@@ -347,6 +364,35 @@ describe('ApplicationVariableEntityService', () => {
);
});
+ it('should encrypt an empty value like any other value', async () => {
+ const existingVariable = {
+ id: '1',
+ key: 'API_KEY',
+ value: 'old-encrypted-value',
+ isSecret: true,
+ applicationId: mockApplicationId,
+ } as ApplicationVariableEntity;
+
+ repository.findOne.mockResolvedValue(existingVariable);
+ repository.update.mockResolvedValue({ affected: 1 } as any);
+
+ await service.update({
+ key: 'API_KEY',
+ plainTextValue: '' as PlaintextString,
+ applicationId: mockApplicationId,
+ workspaceId: mockWorkspaceId,
+ });
+
+ expect(secretEncryptionService.encryptVersioned).toHaveBeenCalledWith(
+ '',
+ { workspaceId: mockWorkspaceId },
+ );
+ expect(repository.update).toHaveBeenCalledWith(
+ { key: 'API_KEY', applicationId: mockApplicationId },
+ { value: `enc:v2:deadbeef:|${mockWorkspaceId}` },
+ );
+ });
+
it('should throw exception when variable not found', async () => {
repository.findOne.mockResolvedValue(null);
@@ -386,12 +432,10 @@ describe('ApplicationVariableEntityService', () => {
const result = service.getDisplayValue(variable);
expect(result).toBe('https://example.com');
- expect(
- secretEncryptionService.decryptAndMaskVersioned,
- ).not.toHaveBeenCalled();
+ expect(secretEncryptionService.maskDecryptedValue).not.toHaveBeenCalled();
});
- it('should call decryptAndMaskVersioned with the row workspaceId for secret variables', () => {
+ it('should decrypt once with the row workspaceId and mask the plaintext for secret variables', () => {
const variable = {
id: '1',
key: 'SECRET_KEY',
@@ -401,15 +445,37 @@ describe('ApplicationVariableEntityService', () => {
workspaceId: mockWorkspaceId,
} as ApplicationVariableEntity;
- service.getDisplayValue(variable);
+ const result = service.getDisplayValue(variable);
+ expect(result).toBe('********');
expect(
- secretEncryptionService.decryptAndMaskVersioned,
- ).toHaveBeenCalledWith({
- value: 'enc:v2:deadbeef:secret|workspace-123',
- mask: SECRET_APPLICATION_VARIABLE_MASK,
+ secretEncryptionService.decryptVersionedOrThrow,
+ ).toHaveBeenCalledTimes(1);
+ expect(
+ secretEncryptionService.decryptVersionedOrThrow,
+ ).toHaveBeenCalledWith('enc:v2:deadbeef:secret|workspace-123', {
workspaceId: mockWorkspaceId,
});
+ expect(secretEncryptionService.maskDecryptedValue).toHaveBeenCalledWith(
+ 'secret',
+ SECRET_APPLICATION_VARIABLE_MASK,
+ );
+ });
+
+ it('should return an empty string when a secret variable decrypts to an empty string', () => {
+ const variable = {
+ id: '1',
+ key: 'SECRET_KEY',
+ value: `enc:v2:deadbeef:|${mockWorkspaceId}`,
+ isSecret: true,
+ applicationId: mockApplicationId,
+ workspaceId: mockWorkspaceId,
+ } as ApplicationVariableEntity;
+
+ const result = service.getDisplayValue(variable);
+
+ expect(result).toBe('');
+ expect(secretEncryptionService.maskDecryptedValue).not.toHaveBeenCalled();
});
});
});
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-variable/application-variable.entity.ts b/packages/twenty-server/src/engine/core-modules/application/application-variable/application-variable.entity.ts
index dd24c030a9d..025347b5b5e 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-variable/application-variable.entity.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-variable/application-variable.entity.ts
@@ -15,6 +15,7 @@ import {
} from 'twenty-shared/application';
import { ADD_TYPE_AND_OPTIONS_TO_APPLICATION_VARIABLES_UPGRADE_COMMAND_NAME } from 'src/database/commands/upgrade-version-command/2-19/add-type-and-options-to-application-variables-upgrade-command-name.constant';
+import { ADD_IS_DEPRECATED_TO_APPLICATION_VARIABLES_UPGRADE_COMMAND_NAME } from 'src/database/commands/upgrade-version-command/2-31/add-is-deprecated-to-application-variables-upgrade-command-name.constant';
import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';
import { type EncryptedString } from 'src/engine/core-modules/secret-encryption/branded-strings/encrypted-string.type';
import { WasIntroducedInUpgrade } from 'src/engine/core-modules/upgrade/decorators/was-introduced-in-upgrade.decorator';
@@ -27,10 +28,7 @@ import { SyncableEntity } from 'src/engine/workspace-manager/types/syncable-enti
@ObjectType('ApplicationVariable')
// All values are always encrypted regardless of `isSecret`. The
// `isSecret` flag only controls display behavior (masked vs plaintext).
-@Check(
- 'CHK_applicationVariable_value_encrypted',
- `"value" = '' OR "value" LIKE 'enc:v2:%'`,
-)
+@Check('CHK_applicationVariable_value_encrypted', `"value" LIKE 'enc:v2:%'`)
export class ApplicationVariableEntity extends SyncableEntity {
@Field(() => UUIDScalarType)
@PrimaryGeneratedColumn('uuid')
@@ -39,8 +37,8 @@ export class ApplicationVariableEntity extends SyncableEntity {
@Column({ nullable: false, type: 'text' })
key: string;
- @Column({ nullable: false, type: 'text', default: '' })
- value: EncryptedString | '';
+ @Column({ nullable: false, type: 'text' })
+ value: EncryptedString;
@Column({ nullable: false, type: 'text', default: '' })
description: string;
@@ -48,6 +46,13 @@ export class ApplicationVariableEntity extends SyncableEntity {
@Column({ nullable: false, type: 'boolean', default: false })
isSecret: boolean;
+ @WasIntroducedInUpgrade({
+ upgradeCommandName:
+ ADD_IS_DEPRECATED_TO_APPLICATION_VARIABLES_UPGRADE_COMMAND_NAME,
+ })
+ @Column({ nullable: false, type: 'boolean', default: false })
+ isDeprecated: boolean;
+
@WasIntroducedInUpgrade({
upgradeCommandName:
ADD_TYPE_AND_OPTIONS_TO_APPLICATION_VARIABLES_UPGRADE_COMMAND_NAME,
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-variable/application-variable.service.ts b/packages/twenty-server/src/engine/core-modules/application/application-variable/application-variable.service.ts
index 7d1b59ec53b..3966ef81240 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-variable/application-variable.service.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-variable/application-variable.service.ts
@@ -32,22 +32,23 @@ export class ApplicationVariableEntityService {
) {}
getDisplayValue(applicationVariable: ApplicationVariableEntity): string {
- if (applicationVariable.value === '') {
+ const plaintextValue = this.secretEncryptionService.decryptVersionedOrThrow(
+ applicationVariable.value,
+ { workspaceId: applicationVariable.workspaceId },
+ );
+
+ if (plaintextValue === '') {
return '';
}
if (applicationVariable.isSecret) {
- return this.secretEncryptionService.decryptAndMaskVersioned({
- value: applicationVariable.value,
- mask: SECRET_APPLICATION_VARIABLE_MASK,
- workspaceId: applicationVariable.workspaceId,
- });
+ return this.secretEncryptionService.maskDecryptedValue(
+ plaintextValue,
+ SECRET_APPLICATION_VARIABLE_MASK,
+ );
}
- return this.secretEncryptionService.decryptVersionedOrThrow(
- applicationVariable.value,
- { workspaceId: applicationVariable.workspaceId },
- );
+ return plaintextValue;
}
async getServerEnvVariables(
@@ -115,10 +116,6 @@ export class ApplicationVariableEntityService {
value,
workspaceId,
}: FlatApplicationVariable): string {
- if (value === '') {
- return '';
- }
-
return this.secretEncryptionService.decryptVersionedOrThrow(value, {
workspaceId,
});
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-variable/dtos/application-variable.dto.ts b/packages/twenty-server/src/engine/core-modules/application/application-variable/dtos/application-variable.dto.ts
index 1a4c2294ed3..fc432278f09 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-variable/dtos/application-variable.dto.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-variable/dtos/application-variable.dto.ts
@@ -27,6 +27,10 @@ export class ApplicationVariableEntityDTO {
@Field()
isSecret: boolean;
+ @IsBoolean()
+ @Field()
+ isDeprecated: boolean;
+
@IsString()
@Field()
type: string;
diff --git a/packages/twenty-server/src/engine/core-modules/application/connection-provider/connection-provider.service.ts b/packages/twenty-server/src/engine/core-modules/application/connection-provider/connection-provider.service.ts
index 0c076742bf1..53c0a33530c 100644
--- a/packages/twenty-server/src/engine/core-modules/application/connection-provider/connection-provider.service.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/connection-provider/connection-provider.service.ts
@@ -52,11 +52,7 @@ export class ConnectionProviderService {
const valuesByKey = new Map(
variables.map((v) => [
v.key,
- v.encryptedValue !== ''
- ? this.secretEncryptionService.decryptVersionedOrThrow(
- v.encryptedValue,
- )
- : '',
+ this.secretEncryptionService.decryptVersionedOrThrow(v.encryptedValue),
]),
);
@@ -138,7 +134,13 @@ export class ConnectionProviderService {
const filledKeysByRegistrationId = new Map<string, Set<string>>();
for (const variable of variables) {
- if (variable.encryptedValue === '') continue;
+ if (
+ this.secretEncryptionService.decryptVersionedOrThrow(
+ variable.encryptedValue,
+ ) === ''
+ ) {
+ continue;
+ }
const set =
filledKeysByRegistrationId.get(variable.applicationRegistrationId) ??
new Set<string>();
diff --git a/packages/twenty-server/src/engine/core-modules/logic-function/logic-function-executor/logic-function-executor.service.ts b/packages/twenty-server/src/engine/core-modules/logic-function/logic-function-executor/logic-function-executor.service.ts
index d3a69b5d559..35485baf4ce 100644
--- a/packages/twenty-server/src/engine/core-modules/logic-function/logic-function-executor/logic-function-executor.service.ts
+++ b/packages/twenty-server/src/engine/core-modules/logic-function/logic-function-executor/logic-function-executor.service.ts
@@ -9,7 +9,7 @@ import {
} from 'twenty-shared/application';
import { FeatureFlagKey } from 'twenty-shared/types';
import { isDefined } from 'twenty-shared/utils';
-import { Not, Repository } from 'typeorm';
+import { Repository } from 'typeorm';
import { v4 } from 'uuid';
import {
@@ -403,20 +403,19 @@ export class LogicFunctionExecutorService {
const serverVariables =
await this.applicationRegistrationVariableRepository.find({
- where: {
- applicationRegistrationId,
- encryptedValue: Not(''),
- },
+ where: { applicationRegistrationId },
});
const envMap: Record<string, string> = {};
for (const variable of serverVariables) {
- if (variable.encryptedValue !== '') {
- envMap[variable.key] =
- this.secretEncryptionService.decryptVersionedOrThrow(
- variable.encryptedValue,
- );
+ const plaintextValue =
+ this.secretEncryptionService.decryptVersionedOrThrow(
+ variable.encryptedValue,
+ );
+
+ if (plaintextValue !== '') {
+ envMap[variable.key] = plaintextValue;
}
}
diff --git a/packages/twenty-server/src/engine/core-modules/secret-encryption/secret-encryption.service.spec.ts b/packages/twenty-server/src/engine/core-modules/secret-encryption/secret-encryption.service.spec.ts
index 2f87a1931cd..b50cf9b4608 100644
--- a/packages/twenty-server/src/engine/core-modules/secret-encryption/secret-encryption.service.spec.ts
+++ b/packages/twenty-server/src/engine/core-modules/secret-encryption/secret-encryption.service.spec.ts
@@ -191,55 +191,6 @@ describe('SecretEncryptionService', () => {
});
});
- describe('decryptAndMaskVersioned', () => {
- const mask = '********';
-
- it('round-trips a v2 envelope and applies the mask', () => {
- const secret = 'sk-abcdefghij1234567890';
- const encrypted = service.encryptVersioned(secret as PlaintextString);
-
- const result = service.decryptAndMaskVersioned({
- value: encrypted,
- mask,
- });
-
- // 23 chars, floor(23/10) = 2, min(5, 2) = 2 → first 2 chars + mask
- expect(result).toBe(`sk${mask}`);
- });
-
- it('decrypts a workspace-scoped v2 envelope when given the matching workspaceId', () => {
- const workspaceId = '11111111-1111-1111-1111-111111111111';
- const secret = 'sk-workspace-bound-secret';
- const encrypted = service.encryptVersioned(secret as PlaintextString, {
- workspaceId,
- });
-
- const result = service.decryptAndMaskVersioned({
- value: encrypted,
- mask,
- workspaceId,
- });
-
- // 25 chars, floor(25/10) = 2, min(5, 2) = 2 → first 2 chars + mask
- expect(result).toBe(`sk${mask}`);
- });
-
- it('returns null/undefined values as-is', () => {
- expect(
- service.decryptAndMaskVersioned({
- value: null as unknown as EncryptedString,
- mask,
- }),
- ).toBeNull();
- expect(
- service.decryptAndMaskVersioned({
- value: undefined as unknown as EncryptedString,
- mask,
- }),
- ).toBeUndefined();
- });
- });
-
describe('decryptVersionedOrThrow', () => {
it('round-trips a v2 envelope', () => {
const secret = 'sk-strict-secret-value';
diff --git a/packages/twenty-server/src/engine/core-modules/secret-encryption/secret-encryption.service.ts b/packages/twenty-server/src/engine/core-modules/secret-encryption/secret-encryption.service.ts
index 2d7f7cc0f18..a37354522aa 100644
--- a/packages/twenty-server/src/engine/core-modules/secret-encryption/secret-encryption.service.ts
+++ b/packages/twenty-server/src/engine/core-modules/secret-encryption/secret-encryption.service.ts
@@ -77,26 +77,7 @@ export class SecretEncryptionService {
return this.maskDecryptedValue(this.decrypt(value), mask);
}
- public decryptAndMaskVersioned({
- value,
- mask,
- workspaceId,
- }: {
- value: EncryptedString;
- mask: string;
- workspaceId?: string;
- }): string {
- if (!isDefined(value)) {
- return value;
- }
-
- return this.maskDecryptedValue(
- this.decryptVersionedOrThrow(value, { workspaceId }),
- mask,
- );
- }
-
- private maskDecryptedValue(decryptedValue: string, mask: string): string {
+ public maskDecryptedValue(decryptedValue: string, mask: string): string {
// Visible-char count caps at 5 and at one-tenth of the secret length, so
// short secrets reveal nothing and longer secrets reveal a stable prefix.
const visibleCharsCount = Math.min(
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/all-universal-flat-entity-properties-to-compare-and-stringify.constant.spec.ts.snap b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/all-universal-flat-entity-properties-to-compare-and-stringify.constant.spec.ts.snap
index 2d0eda97e87..dcf30e6c47b 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/all-universal-flat-entity-properties-to-compare-and-stringify.constant.spec.ts.snap
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/all-universal-flat-entity-properties-to-compare-and-stringify.constant.spec.ts.snap
@@ -25,6 +25,7 @@ exports[`ALL_UNIVERSAL_FLAT_ENTITY_PROPERTIES_TO_COMPARE_AND_STRINGIFY should ma
"key",
"description",
"isSecret",
+ "isDeprecated",
"type",
"options",
],
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant.ts b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant.ts
index b8ea18b3830..7560cad6281 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant.ts
@@ -1766,7 +1766,7 @@ export const ALL_ENTITY_PROPERTIES_CONFIGURATION_BY_METADATA_NAME = {
},
value: {
toCompare: false,
- toStringify: false,
+ toStringify: true,
universalProperty: undefined,
},
description: {
@@ -1779,6 +1779,11 @@ export const ALL_ENTITY_PROPERTIES_CONFIGURATION_BY_METADATA_NAME = {
toStringify: false,
universalProperty: undefined,
},
+ isDeprecated: {
+ toCompare: true,
+ toStringify: false,
+ universalProperty: undefined,
+ },
type: {
toCompare: true,
toStringify: false,
diff --git a/packages/twenty-server/test/integration/metadata/suites/application-registration-variable/application-registration-variable.integration-spec.ts b/packages/twenty-server/test/integration/metadata/suites/application-registration-variable/application-registration-variable.integration-spec.ts
index 5c588db4fbc..586257dedef 100644
--- a/packages/twenty-server/test/integration/metadata/suites/application-registration-variable/application-registration-variable.integration-spec.ts
+++ b/packages/twenty-server/test/integration/metadata/suites/application-registration-variable/application-registration-variable.integration-spec.ts
@@ -77,6 +77,7 @@ describe('ApplicationRegistrationVariable (integration)', () => {
expect(variable.description).toBe('Third-party API key');
expect(variable.isSecret).toBe(true);
expect(variable.isRequired).toBe(false);
+ expect(variable.isDeprecated).toBe(false);
expect(variable.isFilled).toBe(true);
variableId = variable.id;
diff --git a/packages/twenty-server/test/integration/metadata/suites/application-registration-variable/utils/application-registration-variable-api.util.ts b/packages/twenty-server/test/integration/metadata/suites/application-registration-variable/utils/application-registration-variable-api.util.ts
index 313c84521cf..b88f10cb983 100644
--- a/packages/twenty-server/test/integration/metadata/suites/application-registration-variable/utils/application-registration-variable-api.util.ts
+++ b/packages/twenty-server/test/integration/metadata/suites/application-registration-variable/utils/application-registration-variable-api.util.ts
@@ -9,15 +9,16 @@ import { type CommonResponseBody } from 'test/integration/metadata/types/common-
import { warnIfErrorButNotExpectedToFail } from 'test/integration/metadata/utils/warn-if-error-but-not-expected-to-fail.util';
import { warnIfNoErrorButExpectedToFail } from 'test/integration/metadata/utils/warn-if-no-error-but-expected-to-fail.util';
-import { type ApplicationRegistrationVariableEntity } from 'src/engine/core-modules/application/application-registration-variable/application-registration-variable.entity';
+import { type ApplicationRegistrationVariableDTO } from 'src/engine/core-modules/application/application-registration-variable/dtos/application-registration-variable.dto';
type VariableFields = Pick<
- ApplicationRegistrationVariableEntity,
+ ApplicationRegistrationVariableDTO,
| 'id'
| 'key'
| 'description'
| 'isSecret'
| 'isRequired'
+ | 'isDeprecated'
| 'isFilled'
| 'createdAt'
| 'updatedAt'
diff --git a/packages/twenty-server/test/integration/metadata/suites/application-registration-variable/utils/application-registration-variable-query-factories.util.ts b/packages/twenty-server/test/integration/metadata/suites/application-registration-variable/utils/application-registration-variable-query-factories.util.ts
index 1a6094a8e78..3ac3b20e874 100644
--- a/packages/twenty-server/test/integration/metadata/suites/application-registration-variable/utils/application-registration-variable-query-factories.util.ts
+++ b/packages/twenty-server/test/integration/metadata/suites/application-registration-variable/utils/application-registration-variable-query-factories.util.ts
@@ -6,6 +6,7 @@ const VARIABLE_GQL_FIELDS = `
description
isSecret
isRequired
+ isDeprecated
isFilled
createdAt
updatedAt
diff --git a/packages/twenty-server/test/integration/metadata/suites/application/successful-manifest-update-application-variable-is-deprecated.integration-spec.ts b/packages/twenty-server/test/integration/metadata/suites/application/successful-manifest-update-application-variable-is-deprecated.integration-spec.ts
new file mode 100644
index 00000000000..fb1d0def734
--- /dev/null
+++ b/packages/twenty-server/test/integration/metadata/suites/application/successful-manifest-update-application-variable-is-deprecated.integration-spec.ts
@@ -0,0 +1,138 @@
+import crypto from 'crypto';
+
+import gql from 'graphql-tag';
+import { type Manifest } from 'twenty-shared/application';
+import { isDefined } from 'twenty-shared/utils';
+
+import { buildBaseManifest } from 'test/integration/metadata/suites/application/utils/build-base-manifest.util';
+import { cleanupApplicationAndAppRegistration } from 'test/integration/metadata/suites/application/utils/cleanup-application-and-app-registration.util';
+import { setupApplicationForSync } from 'test/integration/metadata/suites/application/utils/setup-application-for-sync.util';
+import { syncApplication } from 'test/integration/metadata/suites/application/utils/sync-application.util';
+import { makeMetadataAPIRequest } from 'test/integration/metadata/suites/utils/make-metadata-api-request.util';
+import { findOneApplicationIdByUniversalIdentifier } from 'test/integration/secret-encryption/utils/find-one-application.util';
+import { updateOneApplicationVariable } from 'test/integration/secret-encryption/utils/update-one-application-variable.util';
+
+const TEST_APP_ID = crypto.randomUUID();
+const TEST_ROLE_ID = crypto.randomUUID();
+const VARIABLE_ID = crypto.randomUUID();
+const VARIABLE_KEY = 'API_KEY';
+const OPERATOR_SET_VALUE = 'operator-entered-api-key';
+
+const buildManifest = ({
+ isDeprecated,
+}: {
+ isDeprecated?: boolean;
+}): Manifest => {
+ const baseManifest = buildBaseManifest({
+ appId: TEST_APP_ID,
+ roleId: TEST_ROLE_ID,
+ });
+
+ return {
+ ...baseManifest,
+ application: {
+ ...baseManifest.application,
+ applicationVariables: {
+ [VARIABLE_KEY]: {
+ universalIdentifier: VARIABLE_ID,
+ description: 'Third-party API key',
+ ...(isDefined(isDeprecated) && { isDeprecated }),
+ },
+ },
+ },
+ };
+};
+
+const readVariableRow = async () => {
+ const [row] = await globalThis.testDataSource.query(
+ `SELECT key, value, "isDeprecated" FROM core."applicationVariable"
+ WHERE "universalIdentifier" = $1`,
+ [VARIABLE_ID],
+ );
+
+ return row;
+};
+
+describe('Manifest sync - deprecating an application variable', () => {
+ let applicationId: string;
+
+ beforeAll(async () => {
+ await setupApplicationForSync({
+ applicationUniversalIdentifier: TEST_APP_ID,
+ name: 'Test Deprecated Variable App',
+ description: 'App for testing application variable deprecation',
+ sourcePath: 'test-application-variable-is-deprecated',
+ });
+
+ await syncApplication({
+ manifest: buildManifest({}),
+ expectToFail: false,
+ });
+
+ applicationId = await findOneApplicationIdByUniversalIdentifier({
+ universalIdentifier: TEST_APP_ID,
+ });
+ }, 120000);
+
+ afterAll(async () => {
+ await cleanupApplicationAndAppRegistration({
+ applicationUniversalIdentifier: TEST_APP_ID,
+ });
+ });
+
+ it('should default isDeprecated to false when the manifest omits it', async () => {
+ const row = await readVariableRow();
+
+ expect(row.key).toBe(VARIABLE_KEY);
+ expect(row.isDeprecated).toBe(false);
+ });
+
+ it('should flip isDeprecated on re-sync while preserving the operator-set value', async () => {
+ await updateOneApplicationVariable({
+ key: VARIABLE_KEY,
+ value: OPERATOR_SET_VALUE,
+ applicationId,
+ });
+
+ const { value: valueBeforeDeprecation } = await readVariableRow();
+
+ expect(valueBeforeDeprecation).toMatch(/^enc:v2:/);
+
+ await syncApplication({
+ manifest: buildManifest({ isDeprecated: true }),
+ expectToFail: false,
+ });
+
+ const rowAfterDeprecation = await readVariableRow();
+
+ expect(rowAfterDeprecation.isDeprecated).toBe(true);
+ expect(rowAfterDeprecation.value).toBe(valueBeforeDeprecation);
+ });
+
+ it('should still expose a deprecated variable to the application', async () => {
+ const { data } = await makeMetadataAPIRequest({
+ query: gql`
+ query FindAppVariablesForDeprecatedVariableTest(
+ $universalIdentifier: UUID!
+ ) {
+ findOneApplication(universalIdentifier: $universalIdentifier) {
+ applicationVariables {
+ key
+ value
+ isDeprecated
+ }
+ }
+ }
+ `,
+ variables: { universalIdentifier: TEST_APP_ID },
+ }).then((response) => response.body);
+
+ expect(data.findOneApplication.applicationVariables).toEqual([
+ {
+ key: VARIABLE_KEY,
+ value: OPERATOR_SET_VALUE,
+ isDeprecated: true,
+ },
+ ]);
+ });
+});
diff --git a/packages/twenty-server/test/integration/secret-encryption/application-registration-variable-encryption.integration-spec.ts b/packages/twenty-server/test/integration/secret-encryption/application-registration-variable-encryption.integration-spec.ts
index 7597f7efbdd..6fdc59fcaaa 100644
--- a/packages/twenty-server/test/integration/secret-encryption/application-registration-variable-encryption.integration-spec.ts
+++ b/packages/twenty-server/test/integration/secret-encryption/application-registration-variable-encryption.integration-spec.ts
@@ -13,7 +13,7 @@ import { type SecretEncryptionService } from 'src/engine/core-modules/secret-enc
const V2_ENVELOPE_REGEX = /^enc:v2:[0-9a-f]{8}:[A-Za-z0-9+/=]+$/;
const CONSTRAINT_NAME =
'CHK_applicationRegistrationVariable_encryptedValue_encrypted';
-const CONSTRAINT_EXPR = `"encryptedValue" = '' OR "encryptedValue" LIKE 'enc:v2:%'`;
+const CONSTRAINT_EXPR = `"encryptedValue" LIKE 'enc:v2:%'`;
describe('ApplicationRegistrationVariable encryption (integration)', () => {
let dataSource: DataSource;
diff --git a/packages/twenty-server/test/integration/secret-encryption/application-variable-encryption.integration-spec.ts b/packages/twenty-server/test/integration/secret-encryption/application-variable-encryption.integration-spec.ts
index ab7cda9d837..99d2dc995df 100644
--- a/packages/twenty-server/test/integration/secret-encryption/application-variable-encryption.integration-spec.ts
+++ b/packages/twenty-server/test/integration/secret-encryption/application-variable-encryption.integration-spec.ts
@@ -17,7 +17,7 @@ import { type SecretEncryptionService } from 'src/engine/core-modules/secret-enc
const V2_ENVELOPE_REGEX = /^enc:v2:[0-9a-f]{8}:[A-Za-z0-9+/=]+$/;
const CONSTRAINT_NAME = 'CHK_applicationVariable_value_encrypted';
-const CONSTRAINT_EXPR = `"isSecret" = false OR "value" = '' OR "value" LIKE 'enc:v2:%'`;
+const CONSTRAINT_EXPR = `"value" LIKE 'enc:v2:%'`;
const V2_VARIABLE_KEY = 'TEST_V2_SECRET';
const V2_NON_SECRET_VARIABLE_KEY = 'TEST_V2_NON_SECRET';
@@ -253,8 +253,7 @@ describe('ApplicationVariable encryption (integration)', () => {
afterAll(async () => {
await dataSource.query(
- `UPDATE core."applicationVariable"
- SET "value" = ''
+ `DELETE FROM core."applicationVariable"
WHERE "applicationId" = $1 AND "key" = $2`,
[applicationId, LEGACY_VARIABLE_KEY],
);
diff --git a/packages/twenty-server/test/integration/upgrade/suites/2-31-instance-command-slow-1786533438000-encrypt-empty-application-variables.integration-spec.ts b/packages/twenty-server/test/integration/upgrade/suites/2-31-instance-command-slow-1786533438000-encrypt-empty-application-variables.integration-spec.ts
new file mode 100644
index 00000000000..138fc91ed06
--- /dev/null
+++ b/packages/twenty-server/test/integration/upgrade/suites/2-31-instance-command-slow-1786533438000-encrypt-empty-application-variables.integration-spec.ts
@@ -0,0 +1,222 @@
+import crypto from 'crypto';
+
+import { config } from 'dotenv';
+import { isDefined } from 'twenty-shared/utils';
+import { DataSource } from 'typeorm';
+
+import { buildSecretEncryptionServiceFromEnv } from 'test/integration/upgrade/utils/build-secret-encryption-service.util';
+
+import { SECRET_ENCRYPTION_ENVELOPE_V2_PREFIX } from 'src/engine/core-modules/secret-encryption/constants/secret-encryption.constant';
+import { SecretEncryptionService } from 'src/engine/core-modules/secret-encryption/secret-encryption.service';
+
+import { EncryptEmptyApplicationVariablesSlowInstanceCommand } from 'src/database/commands/upgrade-version-command/2-31/2-31-instance-command-slow-1786533438000-encrypt-empty-application-variables';
+
+jest.useRealTimers();
+
+config({
+ path: process.env.NODE_ENV === 'test' ? '.env.test' : '.env',
+ override: true,
+});
+
+const TEST_REGISTRATION_NAME_PREFIX = 'encrypt-empty-app-var-test-';
+
+const CONSTRAINTS = [
+ {
+ tableName: 'applicationVariable',
+ constraintName: 'CHK_applicationVariable_value_encrypted',
+ constraintExpr: `"value" LIKE '${SECRET_ENCRYPTION_ENVELOPE_V2_PREFIX}%'`,
+ },
+ {
+ tableName: 'applicationRegistrationVariable',
+ constraintName:
+ 'CHK_applicationRegistrationVariable_encryptedValue_encrypted',
+ constraintExpr: `"encryptedValue" LIKE '${SECRET_ENCRYPTION_ENVELOPE_V2_PREFIX}%'`,
+ },
+] as const;
+
+const dropCheckConstraints = async (dataSource: DataSource): Promise<void> => {
+ for (const { tableName, constraintName } of CONSTRAINTS) {
+ await dataSource.query(
+ `ALTER TABLE "core"."${tableName}" DROP CONSTRAINT IF EXISTS "${constraintName}"`,
+ );
+ }
+};
+
+const restoreCheckConstraints = async (
+ dataSource: DataSource,
+): Promise<void> => {
+ await dropCheckConstraints(dataSource);
+ for (const { tableName, constraintName, constraintExpr } of CONSTRAINTS) {
+ await dataSource.query(
+ `ALTER TABLE "core"."${tableName}" ADD CONSTRAINT "${constraintName}" CHECK (${constraintExpr})`,
+ );
+ }
+};
+
+describe('2-31 slow instance command 1786533438000 - EncryptEmptyApplicationVariablesSlowInstanceCommand (integration)', () => {
+ let dataSource: DataSource;
+ let secretEncryptionService: SecretEncryptionService;
+ let command: EncryptEmptyApplicationVariablesSlowInstanceCommand;
+ let workspaceId: string;
+ let applicationId: string;
+ let registrationId: string;
+ const seededApplicationVariableIds: string[] = [];
+ const seededRegistrationVariableIds: string[] = [];
+
+ const seedApplicationVariable = async (value: string): Promise<string> => {
+ await dropCheckConstraints(dataSource);
+
+ const id = crypto.randomUUID();
+
+ await dataSource.query(
+ `INSERT INTO "core"."applicationVariable"
+ (id, "universalIdentifier", "applicationId", "workspaceId",
+ "key", "value", "isSecret")
+ VALUES ($1, $2, $3, $4, $5, $6, false)`,
+ [id, crypto.randomUUID(), applicationId, workspaceId, `KEY_${id}`, value],
+ );
+
+ seededApplicationVariableIds.push(id);
+
+ return id;
+ };
+
+ const seedRegistrationVariable = async (
+ encryptedValue: string,
+ ): Promise<string> => {
+ await dropCheckConstraints(dataSource);
+
+ const id = crypto.randomUUID();
+
+ await dataSource.query(
+ `INSERT INTO "core"."applicationRegistrationVariable"
+ (id, "applicationRegistrationId", "key", "encryptedValue",
+ "isSecret", "isRequired")
+ VALUES ($1, $2, $3, $4, true, false)`,
+ [id, registrationId, `KEY_${id}`, encryptedValue],
+ );
+
+ seededRegistrationVariableIds.push(id);
+
+ return id;
+ };
+
+ beforeAll(async () => {
+ dataSource = new DataSource({
+ type: 'postgres',
+ url: process.env.PG_DATABASE_URL,
+ schema: 'core',
+ entities: [
+ 'src/engine/core-modules/**/*.entity.ts',
+ 'src/engine/metadata-modules/**/*.entity.ts',
+ ],
+ synchronize: false,
+ });
+ await dataSource.initialize();
+
+ secretEncryptionService = buildSecretEncryptionServiceFromEnv();
+ command = new EncryptEmptyApplicationVariablesSlowInstanceCommand(
+ secretEncryptionService,
+ );
+
+ const [seedWorkspace] = await dataSource.query(
+ `SELECT id, "workspaceCustomApplicationId"
+ FROM "core"."workspace"
+ WHERE "workspaceCustomApplicationId" IS NOT NULL
+ LIMIT 1`,
+ );
+
+ if (!isDefined(seedWorkspace)) {
+ throw new Error(
+ 'No seeded workspace with a custom application found; run database:reset before the integration suite.',
+ );
+ }
+
+ workspaceId = seedWorkspace.id as string;
+ applicationId = seedWorkspace.workspaceCustomApplicationId as string;
+
+ registrationId = crypto.randomUUID();
+
+ await dataSource.query(
+ `INSERT INTO "core"."applicationRegistration"
+ (id, "universalIdentifier", name, "oAuthClientId",
+ "oAuthRedirectUris", "oAuthScopes", "workspaceId", "sourceType")
+ VALUES ($1, $2, $3, $4, $5, $6, $7, 'local')`,
+ [
+ registrationId,
+ crypto.randomUUID(),
+ `${TEST_REGISTRATION_NAME_PREFIX}${registrationId}`,
+ crypto.randomUUID(),
+ ['http://localhost:3000/callback'],
+ ['read'],
+ workspaceId,
+ ],
+ );
+ }, 30000);
+
+ afterEach(async () => {
+ if (seededApplicationVariableIds.length > 0) {
+ await dataSource.query(
+ `DELETE FROM "core"."applicationVariable" WHERE id = ANY($1::uuid[])`,
+ [seededApplicationVariableIds],
+ );
+ seededApplicationVariableIds.length = 0;
+ }
+ if (seededRegistrationVariableIds.length > 0) {
+ await dataSource.query(
+ `DELETE FROM "core"."applicationRegistrationVariable" WHERE id = ANY($1::uuid[])`,
+ [seededRegistrationVariableIds],
+ );
+ seededRegistrationVariableIds.length = 0;
+ }
+ await restoreCheckConstraints(dataSource);
+ });
+
+ afterAll(async () => {
+ await dataSource.query(
+ `DELETE FROM "core"."applicationRegistration" WHERE id = $1`,
+ [registrationId],
+ );
+ await dataSource?.destroy();
+ });
+
+ it('encrypts empty values in both tables with their own encryption scope', async () => {
+ const applicationVariableId = await seedApplicationVariable('');
+ const registrationVariableId = await seedRegistrationVariable('');
+
+ await command.runDataMigration(dataSource);
+
+ const [applicationVariableRow] = await dataSource.query(
+ `SELECT "value" FROM "core"."applicationVariable" WHERE id = $1`,
+ [applicationVariableId],
+ );
+
+ expect(
+ applicationVariableRow.value.startsWith(
+ SECRET_ENCRYPTION_ENVELOPE_V2_PREFIX,
+ ),
+ ).toBe(true);
+ expect(
+ secretEncryptionService.decryptVersionedOrThrow(
+ applicationVariableRow.value,
+ { workspaceId },
+ ),
+ ).toBe('');
+
+ const [registrationVariableRow] = await dataSource.query(
+ `SELECT "encryptedValue" FROM "core"."applicationRegistrationVariable" WHERE id = $1`,
+ [registrationVariableId],
+ );
+
+ expect(
+ registrationVariableRow.encryptedValue.startsWith(
+ SECRET_ENCRYPTION_ENVELOPE_V2_PREFIX,
+ ),
+ ).toBe(true);
+ expect(
+ secretEncryptionService.decryptVersionedOrThrow(
+ registrationVariableRow.encryptedValue,
+ ),
+ ).toBe('');
+ });
+});
diff --git a/packages/twenty-server/test/integration/upgrade/suites/2-5-instance-command-slow-1798000005000-encrypt-application-variable.integration-spec.ts b/packages/twenty-server/test/integration/upgrade/suites/2-5-instance-command-slow-1798000005000-encrypt-application-variable.integration-spec.ts
index 82cbcf28acd..da799ba93be 100644
--- a/packages/twenty-server/test/integration/upgrade/suites/2-5-instance-command-slow-1798000005000-encrypt-application-variable.integration-spec.ts
+++ b/packages/twenty-server/test/integration/upgrade/suites/2-5-instance-command-slow-1798000005000-encrypt-application-variable.integration-spec.ts
@@ -21,7 +21,7 @@ config({
const TEST_ROW_KEY_PREFIX = 'ENCRYPT_APP_VAR_TEST_';
const CHECK_CONSTRAINT_NAME = 'CHK_applicationVariable_value_encrypted';
-const CHECK_CONSTRAINT_EXPR = `"isSecret" = false OR "value" = '' OR "value" LIKE '${SECRET_ENCRYPTION_ENVELOPE_V2_PREFIX}%'`;
+const CHECK_CONSTRAINT_EXPR = `"value" LIKE '${SECRET_ENCRYPTION_ENVELOPE_V2_PREFIX}%'`;
const dropCheckConstraint = (dataSource: DataSource): Promise<unknown> =>
dataSource.query(
diff --git a/packages/twenty-server/test/integration/upgrade/suites/2-5-instance-command-slow-1798000006000-encrypt-application-registration-variable.integration-spec.ts b/packages/twenty-server/test/integration/upgrade/suites/2-5-instance-command-slow-1798000006000-encrypt-application-registration-variable.integration-spec.ts
index d0794744d1c..9c2aa367777 100644
--- a/packages/twenty-server/test/integration/upgrade/suites/2-5-instance-command-slow-1798000006000-encrypt-application-registration-variable.integration-spec.ts
+++ b/packages/twenty-server/test/integration/upgrade/suites/2-5-instance-command-slow-1798000006000-encrypt-application-registration-variable.integration-spec.ts
@@ -22,7 +22,7 @@ config({
const TEST_REGISTRATION_NAME_PREFIX = 'encrypt-app-reg-var-test-';
const CHECK_CONSTRAINT_NAME =
'CHK_applicationRegistrationVariable_encryptedValue_encrypted';
-const CHECK_CONSTRAINT_EXPR = `"encryptedValue" = '' OR "encryptedValue" LIKE '${SECRET_ENCRYPTION_ENVELOPE_V2_PREFIX}%'`;
+const CHECK_CONSTRAINT_EXPR = `"encryptedValue" LIKE '${SECRET_ENCRYPTION_ENVELOPE_V2_PREFIX}%'`;
const dropCheckConstraint = (dataSource: DataSource): Promise<unknown> =>
dataSource.query(
diff --git a/packages/twenty-shared/src/application/applicationVariablesType.ts b/packages/twenty-shared/src/application/applicationVariablesType.ts
index 2803fa49e6c..95deae4ad93 100644
--- a/packages/twenty-shared/src/application/applicationVariablesType.ts
+++ b/packages/twenty-shared/src/application/applicationVariablesType.ts
@@ -34,6 +34,7 @@ export type ApplicationVariableValue =
type TypedApplicationVariable = {
type?: ApplicationVariableType;
options?: ApplicationVariableOption[];
+ isDeprecated?: boolean;
};
type SecretApplicationVariable = SyncableEntityOptions &
diff --git a/packages/twenty-shared/src/application/server-variables.type.ts b/packages/twenty-shared/src/application/server-variables.type.ts
index 479bb9f8325..c8fc3f5b2be 100644
--- a/packages/twenty-shared/src/application/server-variables.type.ts
+++ b/packages/twenty-shared/src/application/server-variables.type.ts
@@ -7,6 +7,7 @@ type ServerVariableSchema = {
description?: string;
isSecret?: boolean;
isRequired?: boolean;
+ isDeprecated?: boolean;
type?: ApplicationVariableType;
options?: ApplicationVariableOption[];
};