Skip to content

The open alternative to Salesforce, designed for AI.

Show weekly AI user credits in AI chat (#28700)

Etiennecbbad98ab1ae
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
index 68251bd3713..30aec7a6975 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
@@ -243,6 +243,12 @@ type AiChatUsage {
periodEnd: DateTime
}
+type AiChatUserCreditsUsage {
+ consumedValue: BigInt
+ limitValue: BigInt!
+ periodEnd: DateTime!
+}
+
enum AiModelTier {
balanced
extraFast
@@ -1016,6 +1022,7 @@ type BillingSubscription {
cancelAt: DateTime
collectionMethod: BillingSubscriptionCollectionMethod
currentPeriodEnd: DateTime
+ hasUserCredits: Boolean
id: UUID!
interval: SubscriptionInterval
metadata: JSON!
@@ -3949,6 +3956,7 @@ type Query {
agentChatOpenThreadsSummary: AgentChatOpenThreadsSummary!
agentRuns(agentId: UUID!, limit: Int! = 100): [AgentRun!]!
aiChatUsage: AiChatUsage
+ aiChatUserCreditsUsage: AiChatUserCreditsUsage
apiKey(input: GetApiKeyInput!): ApiKey
apiKeys: [ApiKey!]!
appConnection(id: ID!): AppConnection!
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.ts b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
index 9ae9028c7b7..294ed61aff3 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
@@ -221,6 +221,13 @@ export interface AiChatUsage {
__typename: 'AiChatUsage'
}
+export interface AiChatUserCreditsUsage {
+ consumedValue?: Scalars['BigInt']
+ limitValue: Scalars['BigInt']
+ periodEnd: Scalars['DateTime']
+ __typename: 'AiChatUserCreditsUsage'
+}
+
export type AiModelTier = 'balanced' | 'extraFast' | 'extraSmart' | 'fast' | 'smart'
export interface AiSystemPromptPreview {
@@ -923,6 +930,7 @@ export interface BillingSubscription {
cancelAt?: Scalars['DateTime']
collectionMethod?: BillingSubscriptionCollectionMethod
currentPeriodEnd?: Scalars['DateTime']
+ hasUserCredits?: Scalars['Boolean']
id: Scalars['UUID']
interval?: SubscriptionInterval
metadata: Scalars['JSON']
@@ -2905,6 +2913,7 @@ export interface Query {
agentChatOpenThreadsSummary: AgentChatOpenThreadsSummary
agentRuns: AgentRun[]
aiChatUsage?: AiChatUsage
+ aiChatUserCreditsUsage?: AiChatUserCreditsUsage
apiKey?: ApiKey
apiKeys: ApiKey[]
appConnection: AppConnection
@@ -4369,6 +4378,14 @@ export interface AiChatUsageGenqlSelection{
__scalar?: boolean | number
}
+export interface AiChatUserCreditsUsageGenqlSelection{
+ consumedValue?: boolean | number
+ limitValue?: boolean | number
+ periodEnd?: boolean | number
+ __typename?: boolean | number
+ __scalar?: boolean | number
+}
+
export interface AiSystemPromptPreviewGenqlSelection{
estimatedTokenCount?: boolean | number
sections?: AiSystemPromptSectionGenqlSelection
@@ -5115,6 +5132,7 @@ export interface BillingSubscriptionGenqlSelection{
cancelAt?: boolean | number
collectionMethod?: boolean | number
currentPeriodEnd?: boolean | number
+ hasUserCredits?: boolean | number
id?: boolean | number
interval?: boolean | number
metadata?: boolean | number
@@ -7362,6 +7380,7 @@ export interface QueryGenqlSelection{
agentChatOpenThreadsSummary?: AgentChatOpenThreadsSummaryGenqlSelection
agentRuns?: (AgentRunGenqlSelection & { __args: {agentId: Scalars['UUID'], limit: Scalars['Int']} })
aiChatUsage?: AiChatUsageGenqlSelection
+ aiChatUserCreditsUsage?: AiChatUserCreditsUsageGenqlSelection
apiKey?: (ApiKeyGenqlSelection & { __args: {input: GetApiKeyInput} })
apiKeys?: ApiKeyGenqlSelection
appConnection?: (AppConnectionGenqlSelection & { __args: {id: Scalars['ID']} })
@@ -9072,6 +9091,14 @@ export interface WorkspaceUrlsAndIdGenqlSelection{
+ const AiChatUserCreditsUsage_possibleTypes: string[] = ['AiChatUserCreditsUsage']
+ export const isAiChatUserCreditsUsage = (obj?: { __typename?: any } | null): obj is AiChatUserCreditsUsage => {
+ if (!obj?.__typename) throw new Error('__typename is missing in "isAiChatUserCreditsUsage"')
+ return AiChatUserCreditsUsage_possibleTypes.includes(obj.__typename)
+ }
+
+
+
const AiSystemPromptPreview_possibleTypes: string[] = ['AiSystemPromptPreview']
export const isAiSystemPromptPreview = (obj?: { __typename?: any } | null): obj is AiSystemPromptPreview => {
if (!obj?.__typename) throw new Error('__typename is missing in "isAiSystemPromptPreview"')
diff --git a/packages/twenty-client-sdk/src/metadata/generated/types.ts b/packages/twenty-client-sdk/src/metadata/generated/types.ts
index b8a4ea7df29..55092417ef4 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/types.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/types.ts
@@ -10,118 +10,118 @@ export default {
17,
24,
26,
- 28,
- 31,
- 33,
- 40,
- 52,
- 60,
- 70,
- 76,
- 88,
- 92,
+ 29,
+ 32,
+ 34,
+ 41,
+ 53,
+ 61,
+ 71,
+ 77,
+ 89,
93,
- 95,
- 100,
- 105,
- 111,
- 116,
- 122,
- 125,
+ 94,
+ 96,
+ 101,
+ 106,
+ 112,
+ 117,
+ 123,
126,
127,
128,
- 136,
- 138,
- 152,
- 156,
- 158,
- 160,
- 205,
+ 129,
+ 137,
+ 139,
+ 153,
+ 157,
+ 159,
+ 161,
206,
- 233,
- 237,
+ 207,
+ 234,
238,
- 240,
- 250,
- 256,
- 260,
- 264,
- 267,
- 274,
- 289,
- 291,
- 301,
- 308,
+ 239,
+ 241,
+ 251,
+ 257,
+ 261,
+ 265,
+ 268,
+ 275,
+ 290,
+ 292,
+ 302,
309,
310,
- 321,
- 323,
- 338,
+ 311,
+ 322,
+ 324,
339,
340,
341,
342,
343,
- 345,
+ 344,
346,
347,
- 350,
+ 348,
351,
- 353,
+ 352,
354,
- 357,
- 359,
- 363,
- 367,
- 376,
- 383,
+ 355,
+ 358,
+ 360,
+ 364,
+ 368,
+ 377,
384,
385,
- 388,
- 392,
+ 386,
+ 389,
393,
- 398,
- 402,
- 425,
- 427,
+ 394,
+ 399,
+ 403,
+ 426,
428,
- 431,
- 436,
- 448,
- 450,
- 454,
- 459,
- 477,
- 489,
+ 429,
+ 432,
+ 437,
+ 449,
+ 451,
+ 455,
+ 460,
+ 478,
490,
- 492,
- 516,
- 518,
- 520,
- 581,
- 601,
- 608,
- 610,
- 614,
- 625,
- 631,
+ 491,
+ 493,
+ 517,
+ 519,
+ 521,
+ 582,
+ 602,
+ 609,
+ 611,
+ 615,
+ 626,
632,
- 634,
+ 633,
635,
- 637,
+ 636,
638,
639,
- 642,
+ 640,
643,
- 648,
- 650,
- 653,
- 658,
+ 644,
+ 649,
+ 651,
+ 654,
659,
660,
- 663,
- 664
+ 661,
+ 664,
+ 665
],
"types": {
"ActivateWorkspaceInput": {
@@ -138,7 +138,7 @@ export default {
1
],
"operationSignature": [
- 308
+ 309
],
"queryId": [
1
@@ -149,10 +149,10 @@ export default {
},
"Agent": {
"applicationId": [
- 516
+ 517
],
"createdAt": [
- 206
+ 207
],
"description": [
1
@@ -161,7 +161,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"isCustom": [
4
@@ -173,7 +173,7 @@ export default {
1
],
"modelConfiguration": [
- 308
+ 309
],
"modelId": [
1
@@ -185,16 +185,16 @@ export default {
1
],
"responseFormat": [
- 308
+ 309
],
"roleId": [
- 516
+ 517
],
"triggers": [
- 308
+ 309
],
"updatedAt": [
- 206
+ 207
],
"__typename": [
1
@@ -209,7 +209,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"isAccessible": [
4
@@ -224,7 +224,7 @@ export default {
6
],
"roleIds": [
- 516
+ 517
],
"__typename": [
1
@@ -240,7 +240,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"label": [
1
@@ -251,7 +251,7 @@ export default {
},
"AgentChatChannelSummary": {
"channelId": [
- 516
+ 517
],
"hasUnreadOpen": [
4
@@ -272,7 +272,7 @@ export default {
4
],
"threadIds": [
- 516
+ 517
],
"__typename": [
1
@@ -281,7 +281,7 @@ export default {
"AgentChatChannelThreadStatus": {},
"AgentChatEvent": {
"event": [
- 308
+ 309
],
"threadId": [
1
@@ -319,10 +319,10 @@ export default {
10
],
"createdAt": [
- 206
+ 207
],
"deletedAt": [
- 206
+ 207
],
"id": [
17
@@ -346,7 +346,7 @@ export default {
10
],
"updatedAt": [
- 206
+ 207
],
"__typename": [
1
@@ -355,28 +355,28 @@ export default {
"ID": {},
"AgentChatThreadParticipant": {
"archivedAt": [
- 206
+ 207
],
"id": [
- 516
+ 517
],
"isSubscribed": [
4
],
"lastMentionedAt": [
- 206
+ 207
],
"lastReadAt": [
- 206
+ 207
],
"snoozedUntil": [
- 206
+ 207
],
"threadId": [
- 516
+ 517
],
"updatedAt": [
- 206
+ 207
],
"__typename": [
1
@@ -384,7 +384,7 @@ export default {
},
"AgentIdInput": {
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -392,19 +392,19 @@ export default {
},
"AgentMessage": {
"agentId": [
- 516
+ 517
],
"createdAt": [
- 206
+ 207
],
"id": [
- 516
+ 517
],
"parts": [
21
],
"processedAt": [
- 206
+ 207
],
"reactions": [
22
@@ -413,19 +413,19 @@ export default {
1
],
"senderUserWorkspaceId": [
- 516
+ 517
],
"senderWorkspaceMemberId": [
- 516
+ 517
],
"status": [
1
],
"threadId": [
- 516
+ 517
],
"turnId": [
- 516
+ 517
],
"__typename": [
1
@@ -433,7 +433,7 @@ export default {
},
"AgentMessagePart": {
"createdAt": [
- 206
+ 207
],
"errorMessage": [
1
@@ -442,7 +442,7 @@ export default {
1
],
"fileId": [
- 516
+ 517
],
"fileMediaType": [
1
@@ -451,10 +451,10 @@ export default {
1
],
"id": [
- 516
+ 517
],
"messageId": [
- 516
+ 517
],
"orderIndex": [
10
@@ -463,7 +463,7 @@ export default {
4
],
"providerMetadata": [
- 308
+ 309
],
"reasoningContent": [
1
@@ -499,13 +499,13 @@ export default {
1
],
"toolInput": [
- 308
+ 309
],
"toolName": [
1
],
"toolOutput": [
- 308
+ 309
],
"type": [
1
@@ -516,7 +516,7 @@ export default {
},
"AgentMessageReactionSummary": {
"agentIds": [
- 516
+ 517
],
"emoji": [
1
@@ -525,7 +525,7 @@ export default {
4
],
"workspaceMemberIds": [
- 516
+ 517
],
"__typename": [
1
@@ -533,7 +533,7 @@ export default {
},
"AgentRun": {
"createdAt": [
- 206
+ 207
],
"creatorName": [
1
@@ -545,13 +545,13 @@ export default {
6
],
"endedAt": [
- 206
+ 207
],
"errorMessage": [
1
],
"id": [
- 516
+ 517
],
"input": [
1
@@ -569,13 +569,13 @@ export default {
1
],
"startedAt": [
- 206
+ 207
],
"status": [
24
],
"threadId": [
- 516
+ 517
],
"threadTitle": [
1
@@ -590,13 +590,13 @@ export default {
"AgentTurnStatus": {},
"AggregateChartConfiguration": {
"aggregateFieldMetadataId": [
- 516
+ 517
],
"aggregateOperation": [
26
],
"configurationType": [
- 642
+ 643
],
"description": [
1
@@ -605,7 +605,7 @@ export default {
4
],
"filter": [
- 308
+ 309
],
"firstDayOfTheWeek": [
10
@@ -614,13 +614,13 @@ export default {
1
],
"numberFormat": [
- 138
+ 139
],
"prefix": [
1
],
"ratioAggregateConfig": [
- 420
+ 421
],
"suffix": [
1
@@ -635,16 +635,30 @@ export default {
"AggregateOperations": {},
"AiChatUsage": {
"consumedValue": [
- 95
+ 96
],
"kind": [
1
],
"limitValue": [
- 95
+ 96
],
"periodEnd": [
- 206
+ 207
+ ],
+ "__typename": [
+ 1
+ ]
+ },
+ "AiChatUserCreditsUsage": {
+ "consumedValue": [
+ 96
+ ],
+ "limitValue": [
+ 96
+ ],
+ "periodEnd": [
+ 207
],
"__typename": [
1
@@ -656,7 +670,7 @@ export default {
10
],
"sections": [
- 30
+ 31
],
"__typename": [
1
@@ -696,25 +710,25 @@ export default {
},
"ApiKey": {
"createdAt": [
- 206
+ 207
],
"expiresAt": [
- 206
+ 207
],
"id": [
- 516
+ 517
],
"name": [
1
],
"revokedAt": [
- 206
+ 207
],
"role": [
- 442
+ 443
],
"updatedAt": [
- 206
+ 207
],
"__typename": [
1
@@ -722,16 +736,16 @@ export default {
},
"ApiKeyForRole": {
"expiresAt": [
- 206
+ 207
],
"id": [
- 516
+ 517
],
"name": [
1
],
"revokedAt": [
- 206
+ 207
],
"__typename": [
1
@@ -771,7 +785,7 @@ export default {
1
],
"scope": [
- 156
+ 157
],
"scopes": [
1
@@ -794,10 +808,10 @@ export default {
1
],
"scope": [
- 40
+ 41
],
"value": [
- 308
+ 309
],
"__typename": [
1
@@ -809,10 +823,10 @@ export default {
1
],
"participants": [
- 42
+ 43
],
"receivedAt": [
- 206
+ 207
],
"subject": [
1
@@ -835,13 +849,13 @@ export default {
1
],
"personId": [
- 516
+ 517
],
"role": [
- 347
+ 348
],
"workspaceMemberId": [
- 516
+ 517
],
"__typename": [
1
@@ -852,31 +866,31 @@ export default {
3
],
"applicationRegistration": [
- 72
+ 73
],
"applicationRegistrationId": [
- 516
+ 517
],
"applicationVariables": [
- 75
+ 76
],
"autoUpgrade": [
4
],
"availablePackages": [
- 308
+ 309
],
"canBeUninstalled": [
4
],
"commandMenuItems": [
- 151
+ 152
],
"createdAt": [
- 206
+ 207
],
"defaultLogicFunctionRole": [
- 442
+ 443
],
"defaultRoleId": [
1
@@ -885,22 +899,22 @@ export default {
1
],
"frontComponents": [
- 281
+ 282
],
"healthCheckLogicFunctionId": [
- 516
+ 517
],
"id": [
- 516
+ 517
],
"isUninstallBlockedByOtherWorkspaceInstallations": [
4
],
"logicFunctions": [
- 320
+ 321
],
"logoFileId": [
- 516
+ 517
],
"logoUrl": [
1
@@ -909,19 +923,19 @@ export default {
1
],
"objects": [
- 369
+ 370
],
"packageJsonChecksum": [
1
],
"packageJsonFileId": [
- 516
+ 517
],
"settingsCustomTabFrontComponentId": [
- 516
+ 517
],
"settingsMenuItems": [
- 476
+ 477
],
"universalIdentifier": [
1
@@ -933,7 +947,7 @@ export default {
1
],
"yarnLockFileId": [
- 516
+ 517
],
"__typename": [
1
@@ -941,7 +955,7 @@ export default {
},
"ApplicationAuthorization": {
"applicationId": [
- 516
+ 517
],
"applicationName": [
1
@@ -950,22 +964,22 @@ export default {
1
],
"createdAt": [
- 206
+ 207
],
"id": [
- 516
+ 517
],
"lastAuthorizedAt": [
- 206
+ 207
],
"lastUsedAt": [
- 206
+ 207
],
"scopes": [
1
],
"workspaceId": [
- 516
+ 517
],
"__typename": [
1
@@ -976,7 +990,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -984,25 +998,25 @@ export default {
},
"ApplicationConnectedAccountDTO": {
"applicationId": [
- 516
+ 517
],
"archivedAt": [
- 206
+ 207
],
"authFailedAt": [
- 206
+ 207
],
"authFailedReason": [
1
],
"connectionParameters": [
- 416
+ 417
],
"connectionProviderId": [
- 516
+ 517
],
"createdAt": [
- 206
+ 207
],
"handle": [
1
@@ -1011,16 +1025,16 @@ export default {
1
],
"id": [
- 516
+ 517
],
"isOwnedByCurrentUser": [
4
],
"lastCredentialsRefreshedAt": [
- 206
+ 207
],
"lastSignedInAt": [
- 206
+ 207
],
"name": [
1
@@ -1029,16 +1043,16 @@ export default {
1
],
"scope": [
- 156
+ 157
],
"scopes": [
1
],
"updatedAt": [
- 206
+ 207
],
"userWorkspaceId": [
- 516
+ 517
],
"visibility": [
1
@@ -1055,7 +1069,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"logoUrl": [
1
@@ -1064,10 +1078,10 @@ export default {
1
],
"oauth": [
- 48
+ 49
],
"scope": [
- 160
+ 161
],
"type": [
1
@@ -1089,16 +1103,16 @@ export default {
},
"ApplicationExport": {
"application": [
- 50
+ 51
],
"coverage": [
- 51
+ 52
],
"files": [
- 53
+ 54
],
"manifest": [
- 308
+ 309
],
"__typename": [
1
@@ -1109,7 +1123,7 @@ export default {
1
],
"sourceType": [
- 70
+ 71
],
"universalIdentifier": [
1
@@ -1126,7 +1140,7 @@ export default {
1
],
"status": [
- 52
+ 53
],
"universalIdentifier": [
1
@@ -1152,7 +1166,7 @@ export default {
},
"ApplicationFileCompletionError": {
"fileId": [
- 516
+ 517
],
"message": [
1
@@ -1163,7 +1177,7 @@ export default {
},
"ApplicationFileUploadError": {
"fileFolder": [
- 274
+ 275
],
"filePath": [
1
@@ -1177,7 +1191,7 @@ export default {
},
"ApplicationFileUploadRequestInput": {
"fileFolder": [
- 274
+ 275
],
"filePath": [
1
@@ -1194,13 +1208,13 @@ export default {
1
],
"expiresAt": [
- 206
+ 207
],
"fileFolder": [
- 274
+ 275
],
"fileId": [
- 516
+ 517
],
"filePath": [
1
@@ -1225,13 +1239,13 @@ export default {
},
"ApplicationHealthCheckResult": {
"action": [
- 58
+ 59
],
"description": [
1
],
"status": [
- 60
+ 61
],
"title": [
1
@@ -1243,13 +1257,13 @@ export default {
"ApplicationHealthStatus": {},
"ApplicationMonitoring": {
"activity": [
- 62
+ 63
],
"bucketSizeInSeconds": [
10
],
"creditUsage": [
- 63
+ 64
],
"creditsUsed": [
6
@@ -1258,13 +1272,13 @@ export default {
10
],
"functions": [
- 64
+ 65
],
"issues": [
- 65
+ 66
],
"lifecycle": [
- 66
+ 67
],
"lifecycleFailureCount": [
10
@@ -1273,10 +1287,10 @@ export default {
10
],
"periodEnd": [
- 206
+ 207
],
"periodStart": [
- 206
+ 207
],
"rateLimitEventCount": [
10
@@ -1285,7 +1299,7 @@ export default {
10
],
"versions": [
- 67
+ 68
],
"__typename": [
1
@@ -1293,7 +1307,7 @@ export default {
},
"ApplicationMonitoringActivityBucket": {
"bucketStart": [
- 206
+ 207
],
"errorCount": [
10
@@ -1310,7 +1324,7 @@ export default {
},
"ApplicationMonitoringCreditBucket": {
"bucketStart": [
- 206
+ 207
],
"creditsUsed": [
6
@@ -1350,7 +1364,7 @@ export default {
10
],
"lastSeenAt": [
- 206
+ 207
],
"level": [
1
@@ -1370,7 +1384,7 @@ export default {
},
"ApplicationMonitoringLifecycleBucket": {
"bucketStart": [
- 206
+ 207
],
"failedCount": [
10
@@ -1407,13 +1421,13 @@ export default {
},
"ApplicationPreferences": {
"applicationId": [
- 516
+ 517
],
"settingsMenuItems": [
- 476
+ 477
],
"variables": [
- 613
+ 614
],
"__typename": [
1
@@ -1421,13 +1435,13 @@ export default {
},
"ApplicationRegistration": {
"createdAt": [
- 206
+ 207
],
"galleryImagesUrls": [
1
],
"id": [
- 516
+ 517
],
"isConfigured": [
4
@@ -1460,19 +1474,19 @@ export default {
1
],
"ownerWorkspaceId": [
- 516
+ 517
],
"sourcePackage": [
1
],
"sourceType": [
- 70
+ 71
],
"universalIdentifier": [
1
],
"updatedAt": [
- 206
+ 207
],
"__typename": [
1
@@ -1487,7 +1501,7 @@ export default {
10
],
"creditsUsedBreakdown": [
- 203
+ 204
],
"mostInstalledVersion": [
1
@@ -1499,7 +1513,7 @@ export default {
6
],
"versionDistribution": [
- 623
+ 624
],
"__typename": [
1
@@ -1507,7 +1521,7 @@ export default {
},
"ApplicationRegistrationSummary": {
"id": [
- 516
+ 517
],
"latestAvailableVersion": [
1
@@ -1516,7 +1530,7 @@ export default {
1
],
"sourceType": [
- 70
+ 71
],
"__typename": [
1
@@ -1524,13 +1538,13 @@ export default {
},
"ApplicationRegistrationVariable": {
"createdAt": [
- 206
+ 207
],
"description": [
1
],
"id": [
- 516
+ 517
],
"isDeprecated": [
4
@@ -1548,13 +1562,13 @@ export default {
1
],
"options": [
- 308
+ 309
],
"type": [
1
],
"updatedAt": [
- 206
+ 207
],
"value": [
1
@@ -1565,10 +1579,10 @@ export default {
},
"ApplicationTokenPair": {
"applicationAccessToken": [
- 80
+ 81
],
"applicationRefreshToken": [
- 80
+ 81
],
"__typename": [
1
@@ -1579,7 +1593,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"isDeprecated": [
4
@@ -1597,10 +1611,10 @@ export default {
1
],
"options": [
- 308
+ 309
],
"scope": [
- 76
+ 77
],
"type": [
1
@@ -1615,13 +1629,13 @@ export default {
"ApplicationVariableScope": {},
"ApprovedAccessDomain": {
"createdAt": [
- 206
+ 207
],
"domain": [
1
],
"id": [
- 516
+ 517
],
"isValidated": [
4
@@ -1658,7 +1672,7 @@ export default {
4
],
"sso": [
- 458
+ 459
],
"__typename": [
1
@@ -1666,7 +1680,7 @@ export default {
},
"AuthToken": {
"expiresAt": [
- 206
+ 207
],
"token": [
1
@@ -1677,10 +1691,10 @@ export default {
},
"AuthTokenPair": {
"accessOrWorkspaceAgnosticToken": [
- 80
+ 81
],
"refreshToken": [
- 80
+ 81
],
"__typename": [
1
@@ -1688,7 +1702,7 @@ export default {
},
"AuthTokens": {
"tokens": [
- 81
+ 82
],
"__typename": [
1
@@ -1718,7 +1732,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"inviteHash": [
1
@@ -1733,10 +1747,10 @@ export default {
1
],
"sso": [
- 457
+ 458
],
"workspaceUrls": [
- 665
+ 666
],
"__typename": [
1
@@ -1744,10 +1758,10 @@ export default {
},
"AvailableWorkspaces": {
"availableWorkspacesForSignIn": [
- 85
+ 86
],
"availableWorkspacesForSignUp": [
- 85
+ 86
],
"__typename": [
1
@@ -1755,10 +1769,10 @@ export default {
},
"AvailableWorkspacesAndAccessTokens": {
"availableWorkspaces": [
- 86
+ 87
],
"tokens": [
- 81
+ 82
],
"__typename": [
1
@@ -1767,19 +1781,19 @@ export default {
"AxisNameDisplay": {},
"BarChartConfiguration": {
"aggregateFieldMetadataId": [
- 516
+ 517
],
"aggregateOperation": [
26
],
"axisNameDisplay": [
- 88
+ 89
],
"color": [
1
],
"configurationType": [
- 642
+ 643
],
"description": [
1
@@ -1791,31 +1805,31 @@ export default {
4
],
"filter": [
- 308
+ 309
],
"firstDayOfTheWeek": [
10
],
"groupMode": [
- 92
+ 93
],
"isCumulative": [
4
],
"layout": [
- 93
+ 94
],
"numberFormat": [
- 138
+ 139
],
"omitNullValues": [
4
],
"primaryAxisDateGranularity": [
- 383
+ 384
],
"primaryAxisGroupByFieldMetadataId": [
- 516
+ 517
],
"primaryAxisGroupBySubFieldName": [
1
@@ -1824,7 +1838,7 @@ export default {
1
],
"primaryAxisOrderBy": [
- 289
+ 290
],
"rangeMax": [
6
@@ -1833,10 +1847,10 @@ export default {
6
],
"secondaryAxisGroupByDateGranularity": [
- 383
+ 384
],
"secondaryAxisGroupByFieldMetadataId": [
- 516
+ 517
],
"secondaryAxisGroupBySubFieldName": [
1
@@ -1845,7 +1859,7 @@ export default {
1
],
"secondaryAxisOrderBy": [
- 289
+ 290
],
"splitMultiValueFields": [
4
@@ -1859,13 +1873,13 @@ export default {
},
"BarChartData": {
"data": [
- 308
+ 309
],
"formattedToRawLookup": [
- 308
+ 309
],
"groupMode": [
- 92
+ 93
],
"hasTooManyGroups": [
4
@@ -1877,10 +1891,10 @@ export default {
1
],
"layout": [
- 93
+ 94
],
"series": [
- 94
+ 95
],
"showDataLabels": [
4
@@ -1900,10 +1914,10 @@ export default {
},
"BarChartDataInput": {
"configuration": [
- 308
+ 309
],
"objectMetadataId": [
- 516
+ 517
],
"__typename": [
1
@@ -1934,7 +1948,7 @@ export default {
1
],
"trialPeriods": [
- 120
+ 121
],
"__typename": [
1
@@ -1945,10 +1959,10 @@ export default {
4
],
"id": [
- 516
+ 517
],
"userCreditsFallback": [
- 614
+ 615
],
"__typename": [
1
@@ -1959,16 +1973,16 @@ export default {
1
],
"billingSubscriptions": [
- 115
+ 116
],
"currentBillingSubscription": [
- 115
+ 116
],
"hasPaymentMethod": [
4
],
"status": [
- 490
+ 491
],
"__typename": [
1
@@ -1976,7 +1990,7 @@ export default {
},
"BillingEntitlement": {
"key": [
- 100
+ 101
],
"value": [
4
@@ -1994,13 +2008,13 @@ export default {
1
],
"metadata": [
- 112
+ 113
],
"name": [
1
],
"prices": [
- 106
+ 107
],
"__typename": [
1
@@ -2014,13 +2028,13 @@ export default {
1
],
"metadata": [
- 112
+ 113
],
"name": [
1
],
"prices": [
- 107
+ 108
],
"__typename": [
1
@@ -2039,10 +2053,10 @@ export default {
},
"BillingPlan": {
"baseProducts": [
- 101
+ 102
],
"downgradePlanKeys": [
- 105
+ 106
],
"isCheckoutDefault": [
4
@@ -2051,16 +2065,16 @@ export default {
4
],
"meteredProducts": [
- 102
+ 103
],
"planKey": [
- 105
+ 106
],
"resourceCreditProducts": [
- 101
+ 102
],
"upgradePlanKeys": [
- 105
+ 106
],
"__typename": [
1
@@ -2075,10 +2089,10 @@ export default {
4
],
"priceUsageType": [
- 122
+ 123
],
"recurringInterval": [
- 489
+ 490
],
"stripePriceId": [
1
@@ -2092,16 +2106,16 @@ export default {
},
"BillingPriceMetered": {
"priceUsageType": [
- 122
+ 123
],
"recurringInterval": [
- 489
+ 490
],
"stripePriceId": [
1
],
"tiers": [
- 108
+ 109
],
"__typename": [
1
@@ -2129,7 +2143,7 @@ export default {
1
],
"metadata": [
- 112
+ 113
],
"name": [
1
@@ -2146,16 +2160,16 @@ export default {
1
],
"metadata": [
- 112
+ 113
],
"name": [
1
],
"on_BillingLicensedProduct": [
- 101
+ 102
],
"on_BillingMeteredProduct": [
- 102
+ 103
],
"__typename": [
1
@@ -2167,13 +2181,13 @@ export default {
1
],
"planKey": [
- 105
+ 106
],
"priceUsageBased": [
- 122
+ 123
],
"productKey": [
- 111
+ 112
],
"__typename": [
1
@@ -2181,13 +2195,13 @@ export default {
},
"BillingResourceCreditUsage": {
"periodEnd": [
- 206
+ 207
],
"periodStart": [
- 206
+ 207
],
"productKey": [
- 111
+ 112
],
"unitPriceCents": [
6
@@ -2227,31 +2241,34 @@ export default {
},
"BillingSubscription": {
"billingSubscriptionItems": [
- 117
+ 118
],
"cancelAt": [
- 206
+ 207
],
"collectionMethod": [
- 116
+ 117
],
"currentPeriodEnd": [
- 206
+ 207
+ ],
+ "hasUserCredits": [
+ 4
],
"id": [
- 516
+ 517
],
"interval": [
- 489
+ 490
],
"metadata": [
- 308
+ 309
],
"phases": [
- 118
+ 119
],
"status": [
- 490
+ 491
],
"__typename": [
1
@@ -2260,7 +2277,7 @@ export default {
"BillingSubscriptionCollectionMethod": {},
"BillingSubscriptionItem": {
"billingProduct": [
- 110
+ 111
],
"creditAmount": [
6
@@ -2269,7 +2286,7 @@ export default {
4
],
"id": [
- 516
+ 517
],
"quantity": [
6
@@ -2289,7 +2306,7 @@ export default {
6
],
"items": [
- 119
+ 120
],
"start_date": [
6
@@ -2322,10 +2339,10 @@ export default {
},
"BillingUpdate": {
"billingSubscriptions": [
- 115
+ 116
],
"currentBillingSubscription": [
- 115
+ 116
],
"__typename": [
1
@@ -2345,13 +2362,13 @@ export default {
},
"CalendarChannel": {
"connectedAccountId": [
- 516
+ 517
],
"contactAutoCreationPolicy": [
- 125
+ 126
],
"createdAt": [
- 206
+ 207
],
"excludePrivateEvents": [
4
@@ -2360,7 +2377,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"isContactAutoCreationEnabled": [
4
@@ -2369,25 +2386,25 @@ export default {
4
],
"syncStage": [
- 126
+ 127
],
"syncStageStartedAt": [
- 206
+ 207
],
"syncStatus": [
- 127
+ 128
],
"syncedAt": [
- 206
+ 207
],
"throttleFailureCount": [
6
],
"updatedAt": [
- 206
+ 207
],
"visibility": [
- 128
+ 129
],
"__typename": [
1
@@ -2399,7 +2416,7 @@ export default {
"CalendarChannelVisibility": {},
"CalendarConfiguration": {
"configurationType": [
- 642
+ 643
],
"__typename": [
1
@@ -2407,7 +2424,7 @@ export default {
},
"CallRecordingSummaryConfiguration": {
"configurationType": [
- 642
+ 643
],
"__typename": [
1
@@ -2415,7 +2432,7 @@ export default {
},
"CallRecordingTranscriptConfiguration": {
"configurationType": [
- 642
+ 643
],
"__typename": [
1
@@ -2471,7 +2488,7 @@ export default {
},
"Captcha": {
"provider": [
- 136
+ 137
],
"siteKey": [
1
@@ -2492,7 +2509,7 @@ export default {
"ChartNumberFormat": {},
"ChatConfiguration": {
"configurationType": [
- 642
+ 643
],
"__typename": [
1
@@ -2500,10 +2517,10 @@ export default {
},
"ChatStreamCatchupChunks": {
"chunks": [
- 308
+ 309
],
"error": [
- 141
+ 142
],
"maxSeq": [
10
@@ -2525,7 +2542,7 @@ export default {
},
"ChatThreadsConfiguration": {
"configurationType": [
- 642
+ 643
],
"__typename": [
1
@@ -2650,7 +2667,7 @@ export default {
6
],
"modelFamily": [
- 363
+ 364
],
"modelFamilyLabel": [
1
@@ -2659,7 +2676,7 @@ export default {
1
],
"nativeCapabilities": [
- 365
+ 366
],
"outputCostPerMillionTokens": [
6
@@ -2685,7 +2702,7 @@ export default {
1
],
"tier": [
- 28
+ 29
],
"__typename": [
1
@@ -2693,13 +2710,13 @@ export default {
},
"ClientConfig": {
"aiEvaluationModels": [
- 145
+ 146
],
"aiModelTiers": [
- 147
+ 148
],
"aiModels": [
- 146
+ 147
],
"allowRequestsToTwentyIcons": [
4
@@ -2708,16 +2725,16 @@ export default {
4
],
"api": [
- 34
+ 35
],
"appVersion": [
1
],
"authProviders": [
- 79
+ 80
],
"billing": [
- 96
+ 97
],
"calendarBookingPageId": [
1
@@ -2726,7 +2743,7 @@ export default {
4
],
"captcha": [
- 135
+ 136
],
"defaultSubdomain": [
1
@@ -2789,16 +2806,16 @@ export default {
4
],
"maintenance": [
- 149
+ 150
],
"publicFeatureFlags": [
- 414
+ 415
],
"publicFunctionDomain": [
1
],
"sentry": [
- 474
+ 475
],
"serverUrl": [
1
@@ -2807,7 +2824,7 @@ export default {
4
],
"support": [
- 491
+ 492
],
"__typename": [
1
@@ -2815,13 +2832,13 @@ export default {
},
"ClientConfigMaintenanceMode": {
"endAt": [
- 206
+ 207
],
"link": [
1
],
"startAt": [
- 206
+ 207
],
"__typename": [
1
@@ -2829,7 +2846,7 @@ export default {
},
"CollectionHash": {
"collectionName": [
- 31
+ 32
],
"hash": [
1
@@ -2840,13 +2857,13 @@ export default {
},
"CommandMenuItem": {
"applicationId": [
- 516
+ 517
],
"availabilityObjectMetadataId": [
- 516
+ 517
],
"availabilityType": [
- 152
+ 153
],
"conditionalAvailabilityExpression": [
1
@@ -2855,19 +2872,19 @@ export default {
1
],
"coreWorkflowVersionId": [
- 516
+ 517
],
"createdAt": [
- 206
+ 207
],
"engineComponentKey": [
- 240
+ 241
],
"frontComponent": [
- 281
+ 282
],
"frontComponentId": [
- 516
+ 517
],
"hotKeys": [
1
@@ -2876,7 +2893,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"isActive": [
4
@@ -2888,13 +2905,13 @@ export default {
1
],
"navigationTargetObjectMetadataId": [
- 516
+ 517
],
"pageLayoutId": [
- 516
+ 517
],
"payload": [
- 153
+ 154
],
"position": [
6
@@ -2903,13 +2920,13 @@ export default {
1
],
"universalIdentifier": [
- 516
+ 517
],
"updatedAt": [
- 206
+ 207
],
"workflowVersionId": [
- 516
+ 517
],
"__typename": [
1
@@ -2918,10 +2935,10 @@ export default {
"CommandMenuItemAvailabilityType": {},
"CommandMenuItemPayload": {
"on_ObjectMetadataCommandMenuItemPayload": [
- 375
+ 376
],
"on_PathCommandMenuItemPayload": [
- 400
+ 401
],
"__typename": [
1
@@ -2929,10 +2946,10 @@ export default {
},
"CompleteApplicationFileUploadsResult": {
"errors": [
- 54
+ 55
],
"files": [
- 272
+ 273
],
"__typename": [
1
@@ -2940,25 +2957,25 @@ export default {
},
"ConnectedAccountPublicDTO": {
"applicationId": [
- 516
+ 517
],
"archivedAt": [
- 206
+ 207
],
"authFailedAt": [
- 206
+ 207
],
"authFailedReason": [
1
],
"connectionParameters": [
- 416
+ 417
],
"connectionProviderId": [
- 516
+ 517
],
"createdAt": [
- 206
+ 207
],
"handle": [
1
@@ -2967,13 +2984,13 @@ export default {
1
],
"id": [
- 516
+ 517
],
"lastCredentialsRefreshedAt": [
- 206
+ 207
],
"lastSignedInAt": [
- 206
+ 207
],
"name": [
1
@@ -2982,16 +2999,16 @@ export default {
1
],
"scope": [
- 156
+ 157
],
"scopes": [
1
],
"updatedAt": [
- 206
+ 207
],
"userWorkspaceId": [
- 516
+ 517
],
"visibility": [
1
@@ -3003,19 +3020,19 @@ export default {
"ConnectedAccountScope": {},
"ConnectedImapSmtpCaldavAccount": {
"connectionParameters": [
- 294
+ 295
],
"handle": [
1
],
"id": [
- 516
+ 517
],
"provider": [
1
],
"userWorkspaceId": [
- 516
+ 517
],
"__typename": [
1
@@ -3024,7 +3041,7 @@ export default {
"ConnectionCursor": {},
"ConnectionParametersInput": {
"connectionSecurity": [
- 233
+ 234
],
"host": [
1
@@ -3054,7 +3071,7 @@ export default {
1
],
"roleIds": [
- 516
+ 517
],
"__typename": [
1
@@ -3071,7 +3088,7 @@ export default {
1
],
"modelConfiguration": [
- 308
+ 309
],
"modelId": [
1
@@ -3083,13 +3100,13 @@ export default {
1
],
"responseFormat": [
- 308
+ 309
],
"roleId": [
- 516
+ 517
],
"triggers": [
- 308
+ 309
],
"__typename": [
1
@@ -3106,7 +3123,7 @@ export default {
1
],
"roleId": [
- 516
+ 517
],
"__typename": [
1
@@ -3114,7 +3131,7 @@ export default {
},
"CreateAppMessageChannelInput": {
"connectedAccountId": [
- 516
+ 517
],
"displayName": [
1
@@ -3123,10 +3140,10 @@ export default {
1
],
"participantHandleFieldUniversalIdentifier": [
- 516
+ 517
],
"visibility": [
- 343
+ 344
],
"__typename": [
1
@@ -3134,10 +3151,10 @@ export default {
},
"CreateApplicationFileUploadsResult": {
"errors": [
- 55
+ 56
],
"targets": [
- 57
+ 58
],
"__typename": [
1
@@ -3145,7 +3162,7 @@ export default {
},
"CreateApplicationRegistration": {
"applicationRegistration": [
- 69
+ 70
],
"clientSecret": [
1
@@ -3242,10 +3259,10 @@ export default {
},
"CreateCommandMenuItemInput": {
"availabilityObjectMetadataId": [
- 516
+ 517
],
"availabilityType": [
- 152
+ 153
],
"conditionalAvailabilityExpression": [
1
@@ -3254,13 +3271,13 @@ export default {
1
],
"coreWorkflowVersionId": [
- 516
+ 517
],
"engineComponentKey": [
- 240
+ 241
],
"frontComponentId": [
- 516
+ 517
],
"hotKeys": [
1
@@ -3275,13 +3292,13 @@ export default {
1
],
"navigationTargetObjectMetadataId": [
- 516
+ 517
],
"pageLayoutId": [
- 516
+ 517
],
"payload": [
- 308
+ 309
],
"position": [
6
@@ -3290,7 +3307,7 @@ export default {
1
],
"workflowVersionId": [
- 516
+ 517
],
"__typename": [
1
@@ -3312,7 +3329,7 @@ export default {
1
],
"messageChannel": [
- 337
+ 338
],
"__typename": [
1
@@ -3328,7 +3345,7 @@ export default {
},
"CreateFieldInput": {
"defaultValue": [
- 308
+ 309
],
"description": [
1
@@ -3370,25 +3387,25 @@ export default {
1
],
"morphRelationsCreationPayload": [
- 308
+ 309
],
"name": [
1
],
"objectMetadataId": [
- 516
+ 517
],
"options": [
- 308
+ 309
],
"relationCreationPayload": [
- 308
+ 309
],
"settings": [
- 308
+ 309
],
"type": [
- 267
+ 268
],
"__typename": [
1
@@ -3408,7 +3425,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"name": [
1
@@ -3422,7 +3439,7 @@ export default {
},
"CreateIndexFieldInput": {
"fieldMetadataId": [
- 516
+ 517
],
"subFieldName": [
1
@@ -3433,13 +3450,13 @@ export default {
},
"CreateIndexInput": {
"fields": [
- 177
+ 178
],
"indexType": [
- 301
+ 302
],
"objectMetadataId": [
- 516
+ 517
],
"__typename": [
1
@@ -3447,40 +3464,40 @@ export default {
},
"CreateLogicFunctionFromSourceInput": {
"cronTriggerSettings": [
- 308
+ 309
],
"databaseEventTriggerSettings": [
- 308
+ 309
],
"description": [
1
],
"httpRouteTriggerSettings": [
- 308
+ 309
],
"id": [
- 516
+ 517
],
"name": [
1
],
"serverRouteTriggerSettings": [
- 308
+ 309
],
"source": [
- 308
+ 309
],
"timeoutSeconds": [
6
],
"toolTriggerSettings": [
- 308
+ 309
],
"universalIdentifier": [
- 516
+ 517
],
"workflowActionTriggerSettings": [
- 308
+ 309
],
"__typename": [
1
@@ -3491,7 +3508,7 @@ export default {
1
],
"unsubscribeTopicId": [
- 516
+ 517
],
"__typename": [
1
@@ -3499,19 +3516,19 @@ export default {
},
"CreateNavigationMenuItemInput": {
"agentChatChannelId": [
- 516
+ 517
],
"color": [
1
],
"folderId": [
- 516
+ 517
],
"icon": [
1
],
"id": [
- 516
+ 517
],
"link": [
1
@@ -3520,25 +3537,25 @@ export default {
1
],
"pageLayoutId": [
- 516
+ 517
],
"position": [
6
],
"targetObjectMetadataId": [
- 516
+ 517
],
"targetRecordId": [
- 516
+ 517
],
"type": [
- 367
+ 368
],
"userWorkspaceId": [
- 516
+ 517
],
"viewId": [
- 516
+ 517
],
"__typename": [
1
@@ -3576,7 +3593,7 @@ export default {
1
],
"primaryKeyFieldMetadataSettings": [
- 308
+ 309
],
"shortcut": [
1
@@ -3590,7 +3607,7 @@ export default {
},
"CreateOneFieldMetadataInput": {
"field": [
- 175
+ 176
],
"__typename": [
1
@@ -3598,7 +3615,7 @@ export default {
},
"CreateOneIndexInput": {
"index": [
- 178
+ 179
],
"__typename": [
1
@@ -3606,7 +3623,7 @@ export default {
},
"CreateOneObjectInput": {
"object": [
- 182
+ 183
],
"__typename": [
1
@@ -3617,10 +3634,10 @@ export default {
1
],
"objectMetadataId": [
- 516
+ 517
],
"type": [
- 393
+ 394
],
"__typename": [
1
@@ -3628,10 +3645,10 @@ export default {
},
"CreatePageLayoutTabInput": {
"layoutMode": [
- 392
+ 393
],
"pageLayoutId": [
- 516
+ 517
],
"position": [
6
@@ -3645,22 +3662,22 @@ export default {
},
"CreatePageLayoutWidgetInput": {
"configuration": [
- 308
+ 309
],
"objectMetadataId": [
- 516
+ 517
],
"pageLayoutTabId": [
- 516
+ 517
],
"position": [
- 308
+ 309
],
"title": [
1
],
"type": [
- 643
+ 644
],
"__typename": [
1
@@ -3668,16 +3685,16 @@ export default {
},
"CreateRecordExportInput": {
"fieldMetadataIds": [
- 516
+ 517
],
"filter": [
- 308
+ 309
],
"objectMetadataId": [
- 516
+ 517
],
"orderBy": [
- 308
+ 309
],
"__typename": [
1
@@ -3741,7 +3758,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"label": [
1
@@ -3761,7 +3778,7 @@ export default {
1
],
"visibility": [
- 520
+ 521
],
"__typename": [
1
@@ -3769,16 +3786,16 @@ export default {
},
"CreateUsageLimitInput": {
"burstValue": [
- 95
+ 96
],
"limitKind": [
1
],
"limitValue": [
- 95
+ 96
],
"operationType": [
- 601
+ 602
],
"periodCount": [
10
@@ -3787,7 +3804,7 @@ export default {
1
],
"resourceType": [
- 608
+ 609
],
"spenderId": [
1
@@ -3796,7 +3813,7 @@ export default {
1
],
"unit": [
- 610
+ 611
],
"__typename": [
1
@@ -3807,7 +3824,7 @@ export default {
1
],
"errorFieldMetadataId": [
- 516
+ 517
],
"expression": [
1
@@ -3825,7 +3842,7 @@ export default {
1
],
"objectMetadataId": [
- 516
+ 517
],
"__typename": [
1
@@ -3833,7 +3850,7 @@ export default {
},
"CreateViewFieldGroupInput": {
"id": [
- 516
+ 517
],
"isVisible": [
4
@@ -3845,7 +3862,7 @@ export default {
6
],
"viewId": [
- 516
+ 517
],
"__typename": [
1
@@ -3856,10 +3873,10 @@ export default {
26
],
"fieldMetadataId": [
- 516
+ 517
],
"id": [
- 516
+ 517
],
"isVisible": [
4
@@ -3871,10 +3888,10 @@ export default {
6
],
"viewFieldGroupId": [
- 516
+ 517
],
"viewId": [
- 516
+ 517
],
"__typename": [
1
@@ -3882,19 +3899,19 @@ export default {
},
"CreateViewFilterGroupInput": {
"id": [
- 516
+ 517
],
"logicalOperator": [
- 631
+ 632
],
"parentViewFilterGroupId": [
- 516
+ 517
],
"positionInViewFilterGroup": [
6
],
"viewId": [
- 516
+ 517
],
"__typename": [
1
@@ -3902,31 +3919,31 @@ export default {
},
"CreateViewFilterInput": {
"fieldMetadataId": [
- 516
+ 517
],
"id": [
- 516
+ 517
],
"operand": [
- 632
+ 633
],
"positionInViewFilterGroup": [
6
],
"relationTargetFieldMetadataId": [
- 516
+ 517
],
"subFieldName": [
1
],
"value": [
- 308
+ 309
],
"viewFilterGroupId": [
- 516
+ 517
],
"viewId": [
- 516
+ 517
],
"__typename": [
1
@@ -3937,7 +3954,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"isVisible": [
4
@@ -3946,7 +3963,7 @@ export default {
6
],
"viewId": [
- 516
+ 517
],
"__typename": [
1
@@ -3957,13 +3974,13 @@ export default {
1
],
"calendarEndFieldMetadataId": [
- 516
+ 517
],
"calendarFieldMetadataId": [
- 516
+ 517
],
"calendarLayout": [
- 625
+ 626
],
"groupLoadLimit": [
10
@@ -3972,7 +3989,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"isCompact": [
4
@@ -3981,25 +3998,25 @@ export default {
26
],
"kanbanAggregateOperationFieldMetadataId": [
- 516
+ 517
],
"kanbanColumnWidth": [
10
],
"key": [
- 634
+ 635
],
"mainGroupByFieldMetadataId": [
- 516
+ 517
],
"name": [
1
],
"objectMetadataId": [
- 516
+ 517
],
"openRecordIn": [
- 635
+ 636
],
"position": [
6
@@ -4008,10 +4025,10 @@ export default {
4
],
"type": [
- 638
+ 639
],
"visibility": [
- 639
+ 640
],
"__typename": [
1
@@ -4019,19 +4036,19 @@ export default {
},
"CreateViewSortInput": {
"direction": [
- 637
+ 638
],
"fieldMetadataId": [
- 516
+ 517
],
"id": [
- 516
+ 517
],
"subFieldName": [
1
],
"viewId": [
- 516
+ 517
],
"__typename": [
1
@@ -4042,7 +4059,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"operations": [
1
@@ -4065,10 +4082,10 @@ export default {
1
],
"operation": [
- 601
+ 602
],
"resource": [
- 608
+ 609
],
"__typename": [
1
@@ -4076,10 +4093,10 @@ export default {
},
"CursorPaging": {
"after": [
- 158
+ 159
],
"before": [
- 158
+ 159
],
"first": [
10
@@ -4095,7 +4112,7 @@ export default {
"DateTime": {},
"DeleteApprovedAccessDomainInput": {
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -4103,7 +4120,7 @@ export default {
},
"DeleteOneFieldInput": {
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -4111,7 +4128,7 @@ export default {
},
"DeleteOneIndexInput": {
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -4119,7 +4136,7 @@ export default {
},
"DeleteOneObjectInput": {
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -4127,7 +4144,7 @@ export default {
},
"DeleteSso": {
"identityProviderId": [
- 516
+ 517
],
"__typename": [
1
@@ -4135,7 +4152,7 @@ export default {
},
"DeleteSsoInput": {
"identityProviderId": [
- 516
+ 517
],
"__typename": [
1
@@ -4151,7 +4168,7 @@ export default {
},
"DeleteViewFieldGroupInput": {
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -4159,7 +4176,7 @@ export default {
},
"DeleteViewFieldInput": {
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -4167,7 +4184,7 @@ export default {
},
"DeleteViewFilterInput": {
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -4175,7 +4192,7 @@ export default {
},
"DeleteViewGroupInput": {
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -4183,7 +4200,7 @@ export default {
},
"DeleteViewSortInput": {
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -4194,16 +4211,16 @@ export default {
1
],
"id": [
- 516
+ 517
],
"name": [
- 284
+ 285
],
"userEmail": [
1
],
"userWorkspaceId": [
- 516
+ 517
],
"__typename": [
1
@@ -4211,7 +4228,7 @@ export default {
},
"DestroyViewFieldGroupInput": {
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -4219,7 +4236,7 @@ export default {
},
"DestroyViewFieldInput": {
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -4227,7 +4244,7 @@ export default {
},
"DestroyViewFilterInput": {
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -4235,7 +4252,7 @@ export default {
},
"DestroyViewGroupInput": {
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -4243,7 +4260,7 @@ export default {
},
"DestroyViewSortInput": {
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -4285,13 +4302,13 @@ export default {
1
],
"id": [
- 516
+ 517
],
"isCustomDomainEnabled": [
4
],
"records": [
- 226
+ 227
],
"__typename": [
1
@@ -4302,10 +4319,10 @@ export default {
1
],
"id": [
- 516
+ 517
],
"pageLayoutId": [
- 516
+ 517
],
"position": [
6
@@ -4328,7 +4345,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"memberCount": [
6
@@ -4348,7 +4365,7 @@ export default {
},
"EditSso": {
"id": [
- 516
+ 517
],
"issuer": [
1
@@ -4357,10 +4374,10 @@ export default {
1
],
"status": [
- 459
+ 460
],
"type": [
- 291
+ 292
],
"__typename": [
1
@@ -4368,10 +4385,10 @@ export default {
},
"EditSsoInput": {
"id": [
- 516
+ 517
],
"status": [
- 459
+ 460
],
"__typename": [
1
@@ -4379,13 +4396,13 @@ export default {
},
"EmailAccountConnectionParameters": {
"CALDAV": [
- 159
+ 160
],
"IMAP": [
- 159
+ 160
],
"SMTP": [
- 159
+ 160
],
"name": [
1
@@ -4405,7 +4422,7 @@ export default {
},
"EmailThreadConfiguration": {
"configurationType": [
- 642
+ 643
],
"__typename": [
1
@@ -4413,31 +4430,31 @@ export default {
},
"EmailingDomain": {
"createdAt": [
- 206
+ 207
],
"domain": [
1
],
"id": [
- 516
+ 517
],
"status": [
- 237
+ 238
],
"tenantStatus": [
- 238
+ 239
],
"unsubscribeHostnameStatus": [
- 518
+ 519
],
"updatedAt": [
- 206
+ 207
],
"verificationRecords": [
- 620
+ 621
],
"verifiedAt": [
- 206
+ 207
],
"__typename": [
1
@@ -4447,7 +4464,7 @@ export default {
"EmailingDomainTenantStatus": {},
"EmailsConfiguration": {
"configurationType": [
- 642
+ 643
],
"__typename": [
1
@@ -4465,7 +4482,7 @@ export default {
1
],
"payload": [
- 308
+ 309
],
"retryLimit": [
10
@@ -4479,7 +4496,7 @@ export default {
1
],
"payload": [
- 308
+ 309
],
"__typename": [
1
@@ -4504,13 +4521,13 @@ export default {
10
],
"jobs": [
- 242
+ 243
],
"logicFunctionUniversalIdentifier": [
1
],
"payloads": [
- 308
+ 309
],
"retryLimit": [
10
@@ -4538,7 +4555,7 @@ export default {
},
"EnterpriseLicenseInfoDTO": {
"expiresAt": [
- 206
+ 207
],
"isValid": [
4
@@ -4555,13 +4572,13 @@ export default {
},
"EnterpriseSubscriptionStatusDTO": {
"cancelAt": [
- 206
+ 207
],
"currentPeriodEnd": [
- 206
+ 207
],
"expiresAt": [
- 206
+ 207
],
"isCancellationScheduled": [
4
@@ -4578,10 +4595,10 @@ export default {
},
"EventLogDateRangeInput": {
"end": [
- 206
+ 207
],
"start": [
- 206
+ 207
],
"__typename": [
1
@@ -4592,7 +4609,7 @@ export default {
1
],
"operand": [
- 250
+ 251
],
"values": [
1
@@ -4604,13 +4621,13 @@ export default {
"EventLogFilterOperand": {},
"EventLogFiltersInput": {
"dateRange": [
- 248
+ 249
],
"eventType": [
1
],
"fieldFilters": [
- 249
+ 250
],
"objectMetadataId": [
1
@@ -4641,13 +4658,13 @@ export default {
1
],
"filters": [
- 251
+ 252
],
"first": [
10
],
"table": [
- 256
+ 257
],
"__typename": [
1
@@ -4655,10 +4672,10 @@ export default {
},
"EventLogQueryResult": {
"pageInfo": [
- 252
+ 253
],
"records": [
- 255
+ 256
],
"totalCount": [
10
@@ -4678,13 +4695,13 @@ export default {
1
],
"properties": [
- 308
+ 309
],
"recordId": [
1
],
"timestamp": [
- 206
+ 207
],
"userId": [
1
@@ -4699,13 +4716,13 @@ export default {
1
],
"metadataEvents": [
- 352
+ 353
],
"objectRecordEventsWithQueryIds": [
- 382
+ 383
],
"queueJobEvents": [
- 311
+ 312
],
"__typename": [
1
@@ -4713,10 +4730,10 @@ export default {
},
"ExecuteOneLogicFunctionInput": {
"id": [
- 516
+ 517
],
"payload": [
- 308
+ 309
],
"__typename": [
1
@@ -4724,7 +4741,7 @@ export default {
},
"FeatureFlag": {
"key": [
- 260
+ 261
],
"value": [
4
@@ -4736,13 +4753,13 @@ export default {
"FeatureFlagKey": {},
"Field": {
"applicationId": [
- 516
+ 517
],
"createdAt": [
- 206
+ 207
],
"defaultValue": [
- 308
+ 309
],
"description": [
1
@@ -4751,7 +4768,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"isActive": [
4
@@ -4784,40 +4801,40 @@ export default {
1
],
"morphId": [
- 516
+ 517
],
"morphRelations": [
- 435
+ 436
],
"name": [
1
],
"object": [
- 369
+ 370
],
"objectMetadataId": [
- 516
+ 517
],
"options": [
- 308
+ 309
],
"relation": [
- 435
+ 436
],
"settings": [
- 308
+ 309
],
"type": [
- 267
+ 268
],
"universalIdentifier": [
1
],
"updatedAt": [
- 206
+ 207
],
"writability": [
- 359
+ 360
],
"__typename": [
1
@@ -4825,10 +4842,10 @@ export default {
},
"FieldConfiguration": {
"configurationType": [
- 642
+ 643
],
"fieldDisplayMode": [
- 264
+ 265
],
"fieldMetadataId": [
1
@@ -4848,10 +4865,10 @@ export default {
},
"FieldConnection": {
"edges": [
- 265
+ 266
],
"pageInfo": [
- 389
+ 390
],
"__typename": [
1
@@ -4860,10 +4877,10 @@ export default {
"FieldDisplayMode": {},
"FieldEdge": {
"cursor": [
- 158
+ 159
],
"node": [
- 261
+ 262
],
"__typename": [
1
@@ -4871,28 +4888,28 @@ export default {
},
"FieldFilter": {
"and": [
- 266
+ 267
],
"id": [
- 517
+ 518
],
"isActive": [
- 123
+ 124
],
"isSystem": [
- 123
+ 124
],
"isUIEditable": [
- 123
+ 124
],
"isUIReadOnly": [
- 123
+ 124
],
"objectMetadataId": [
- 517
+ 518
],
"or": [
- 266
+ 267
],
"__typename": [
1
@@ -4907,16 +4924,16 @@ export default {
4
],
"fieldMetadataId": [
- 516
+ 517
],
"id": [
- 516
+ 517
],
"objectMetadataId": [
- 516
+ 517
],
"roleId": [
- 516
+ 517
],
"__typename": [
1
@@ -4930,10 +4947,10 @@ export default {
4
],
"fieldMetadataId": [
- 516
+ 517
],
"objectMetadataId": [
- 516
+ 517
],
"__typename": [
1
@@ -4941,7 +4958,7 @@ export default {
},
"FieldRichTextConfiguration": {
"configurationType": [
- 642
+ 643
],
"__typename": [
1
@@ -4949,7 +4966,7 @@ export default {
},
"FieldsConfiguration": {
"configurationType": [
- 642
+ 643
],
"newFieldDefaultVisibility": [
4
@@ -4966,10 +4983,10 @@ export default {
},
"File": {
"createdAt": [
- 206
+ 207
],
"id": [
- 516
+ 517
],
"path": [
1
@@ -4986,7 +5003,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -4998,10 +5015,10 @@ export default {
1
],
"expiresAt": [
- 206
+ 207
],
"fileId": [
- 516
+ 517
],
"uploadUrl": [
1
@@ -5012,10 +5029,10 @@ export default {
},
"FileWithSignedUrl": {
"createdAt": [
- 206
+ 207
],
"id": [
- 516
+ 517
],
"path": [
1
@@ -5032,7 +5049,7 @@ export default {
},
"FilesConfiguration": {
"configurationType": [
- 642
+ 643
],
"__typename": [
1
@@ -5040,7 +5057,7 @@ export default {
},
"FindAvailableSSOIDP": {
"id": [
- 516
+ 517
],
"issuer": [
1
@@ -5049,13 +5066,13 @@ export default {
1
],
"status": [
- 459
+ 460
],
"type": [
- 291
+ 292
],
"workspace": [
- 662
+ 663
],
"__typename": [
1
@@ -5069,13 +5086,13 @@ export default {
10
],
"reason": [
- 350
+ 351
],
"searchTerm": [
1
],
"unsubscribeTopicId": [
- 516
+ 517
],
"__typename": [
1
@@ -5083,7 +5100,7 @@ export default {
},
"FormFieldConfiguration": {
"configurationType": [
- 642
+ 643
],
"fieldMetadataId": [
1
@@ -5097,16 +5114,16 @@ export default {
1
],
"applicationId": [
- 516
+ 517
],
"applicationName": [
1
],
"applicationTokenPair": [
- 74
+ 75
],
"applicationVariables": [
- 308
+ 309
],
"builtComponentChecksum": [
1
@@ -5118,7 +5135,7 @@ export default {
1
],
"createdAt": [
- 206
+ 207
],
"description": [
1
@@ -5127,7 +5144,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"isHeadless": [
4
@@ -5139,16 +5156,16 @@ export default {
1
],
"universalIdentifier": [
- 516
+ 517
],
"updatedAt": [
- 206
+ 207
],
"usesSdkClient": [
4
],
"widgetAvailability": [
- 283
+ 284
],
"__typename": [
1
@@ -5156,13 +5173,13 @@ export default {
},
"FrontComponentConfiguration": {
"configurationType": [
- 642
+ 643
],
"frontComponentId": [
- 516
+ 517
],
"headerCommandMenuItemUniversalIdentifiers": [
- 516
+ 517
],
"__typename": [
1
@@ -5170,10 +5187,10 @@ export default {
},
"FrontComponentWidgetAvailability": {
"objectMetadataId": [
- 516
+ 517
],
"pageLayoutType": [
- 393
+ 394
],
"__typename": [
1
@@ -5192,7 +5209,7 @@ export default {
},
"GetApiKeyInput": {
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -5203,7 +5220,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"type": [
1
@@ -5214,7 +5231,7 @@ export default {
},
"GetAuthorizationUrlForSSOInput": {
"identityProviderId": [
- 516
+ 517
],
"workspaceInviteHash": [
1
@@ -5225,7 +5242,7 @@ export default {
},
"GrantApplicationCapabilitiesInput": {
"applicationId": [
- 516
+ 517
],
"capabilities": [
1
@@ -5255,7 +5272,7 @@ export default {
"IdentityProviderType": {},
"IframeConfiguration": {
"configurationType": [
- 642
+ 643
],
"url": [
1
@@ -5277,13 +5294,13 @@ export default {
},
"ImapSmtpCaldavPublicConnectionParameters": {
"CALDAV": [
- 295
+ 296
],
"IMAP": [
- 295
+ 296
],
"SMTP": [
- 295
+ 296
],
"name": [
1
@@ -5294,7 +5311,7 @@ export default {
},
"ImapSmtpCaldavPublicConnectionParams": {
"connectionSecurity": [
- 233
+ 234
],
"host": [
1
@@ -5311,10 +5328,10 @@ export default {
},
"Impersonate": {
"loginToken": [
- 80
+ 81
],
"workspace": [
- 666
+ 667
],
"__typename": [
1
@@ -5322,16 +5339,16 @@ export default {
},
"Index": {
"createdAt": [
- 206
+ 207
],
"id": [
- 516
+ 517
],
"indexFieldMetadataList": [
- 299
+ 300
],
"indexType": [
- 301
+ 302
],
"indexWhereClause": [
1
@@ -5346,7 +5363,7 @@ export default {
1
],
"updatedAt": [
- 206
+ 207
],
"__typename": [
1
@@ -5354,10 +5371,10 @@ export default {
},
"IndexEdge": {
"cursor": [
- 158
+ 159
],
"node": [
- 297
+ 298
],
"__typename": [
1
@@ -5365,13 +5382,13 @@ export default {
},
"IndexField": {
"createdAt": [
- 206
+ 207
],
"fieldMetadataId": [
- 516
+ 517
],
"id": [
- 516
+ 517
],
"order": [
6
@@ -5380,7 +5397,7 @@ export default {
1
],
"updatedAt": [
- 206
+ 207
],
"__typename": [
1
@@ -5388,16 +5405,16 @@ export default {
},
"IndexFilter": {
"and": [
- 300
+ 301
],
"id": [
- 517
+ 518
],
"isCustom": [
- 123
+ 124
],
"or": [
- 300
+ 301
],
"__typename": [
1
@@ -5406,10 +5423,10 @@ export default {
"IndexType": {},
"IngestAppMessagesInput": {
"messageChannelId": [
- 516
+ 517
],
"messages": [
- 41
+ 42
],
"__typename": [
1
@@ -5417,7 +5434,7 @@ export default {
},
"IngestAppMessagesOutput": {
"messages": [
- 304
+ 305
],
"__typename": [
1
@@ -5428,10 +5445,10 @@ export default {
1
],
"messageId": [
- 516
+ 517
],
"messageThreadId": [
- 516
+ 517
],
"__typename": [
1
@@ -5490,7 +5507,7 @@ export default {
6
],
"state": [
- 310
+ 311
],
"__typename": [
1
@@ -5498,19 +5515,19 @@ export default {
},
"LineChartConfiguration": {
"aggregateFieldMetadataId": [
- 516
+ 517
],
"aggregateOperation": [
26
],
"axisNameDisplay": [
- 88
+ 89
],
"color": [
1
],
"configurationType": [
- 642
+ 643
],
"description": [
1
@@ -5522,7 +5539,7 @@ export default {
4
],
"filter": [
- 308
+ 309
],
"firstDayOfTheWeek": [
10
@@ -5534,16 +5551,16 @@ export default {
4
],
"numberFormat": [
- 138
+ 139
],
"omitNullValues": [
4
],
"primaryAxisDateGranularity": [
- 383
+ 384
],
"primaryAxisGroupByFieldMetadataId": [
- 516
+ 517
],
"primaryAxisGroupBySubFieldName": [
1
@@ -5552,7 +5569,7 @@ export default {
1
],
"primaryAxisOrderBy": [
- 289
+ 290
],
"rangeMax": [
6
@@ -5561,10 +5578,10 @@ export default {
6
],
"secondaryAxisGroupByDateGranularity": [
- 383
+ 384
],
"secondaryAxisGroupByFieldMetadataId": [
- 516
+ 517
],
"secondaryAxisGroupBySubFieldName": [
1
@@ -5573,7 +5590,7 @@ export default {
1
],
"secondaryAxisOrderBy": [
- 289
+ 290
],
"splitMultiValueFields": [
4
@@ -5587,13 +5604,13 @@ export default {
},
"LineChartData": {
"formattedToRawLookup": [
- 308
+ 309
],
"hasTooManyGroups": [
4
],
"series": [
- 316
+ 317
],
"showDataLabels": [
4
@@ -5613,10 +5630,10 @@ export default {
},
"LineChartDataInput": {
"configuration": [
- 308
+ 309
],
"objectMetadataId": [
- 516
+ 517
],
"__typename": [
1
@@ -5635,7 +5652,7 @@ export default {
},
"LineChartSeries": {
"data": [
- 315
+ 316
],
"key": [
1
@@ -5652,7 +5669,7 @@ export default {
1
],
"scope": [
- 156
+ 157
],
"userWorkspaceId": [
1
@@ -5666,7 +5683,7 @@ export default {
},
"ListAppMessageChannelsInput": {
"connectedAccountId": [
- 516
+ 517
],
"__typename": [
1
@@ -5685,34 +5702,34 @@ export default {
},
"LogicFunction": {
"applicationId": [
- 516
+ 517
],
"canRunOnDemand": [
4
],
"createdAt": [
- 206
+ 207
],
"cronTriggerSettings": [
- 308
+ 309
],
"databaseEventTriggerSettings": [
- 308
+ 309
],
"description": [
1
],
"executionMode": [
- 321
+ 322
],
"handlerName": [
1
],
"httpRouteTriggerSettings": [
- 308
+ 309
],
"id": [
- 516
+ 517
],
"name": [
1
@@ -5727,16 +5744,16 @@ export default {
6
],
"toolTriggerSettings": [
- 308
+ 309
],
"universalIdentifier": [
- 516
+ 517
],
"updatedAt": [
- 206
+ 207
],
"workflowActionTriggerSettings": [
- 308
+ 309
],
"__typename": [
1
@@ -5745,19 +5762,19 @@ export default {
"LogicFunctionExecutionMode": {},
"LogicFunctionExecutionResult": {
"data": [
- 308
+ 309
],
"duration": [
6
],
"error": [
- 308
+ 309
],
"logs": [
1
],
"status": [
- 323
+ 324
],
"__typename": [
1
@@ -5780,7 +5797,7 @@ export default {
1
],
"universalIdentifier": [
- 516
+ 517
],
"__typename": [
1
@@ -5788,19 +5805,19 @@ export default {
},
"LogicFunctionLogsInput": {
"applicationId": [
- 516
+ 517
],
"applicationUniversalIdentifier": [
- 516
+ 517
],
"id": [
- 516
+ 517
],
"name": [
1
],
"universalIdentifier": [
- 516
+ 517
],
"__typename": [
1
@@ -5808,7 +5825,7 @@ export default {
},
"LoginToken": {
"loginToken": [
- 80
+ 81
],
"__typename": [
1
@@ -5890,13 +5907,13 @@ export default {
1
],
"manifest": [
- 308
+ 309
],
"name": [
1
],
"objects": [
- 330
+ 331
],
"pricingDescription": [
1
@@ -5905,7 +5922,7 @@ export default {
1
],
"roles": [
- 331
+ 332
],
"screenshots": [
1
@@ -5914,7 +5931,7 @@ export default {
1
],
"sourceType": [
- 70
+ 71
],
"termsUrl": [
1
@@ -5966,7 +5983,7 @@ export default {
1
],
"fieldPermissions": [
- 332
+ 333
],
"icon": [
1
@@ -5975,7 +5992,7 @@ export default {
1
],
"objectPermissions": [
- 333
+ 334
],
"permissionFlagUniversalIdentifiers": [
1
@@ -6032,7 +6049,7 @@ export default {
},
"MessageCampaignBodyConfiguration": {
"configurationType": [
- 642
+ 643
],
"__typename": [
1
@@ -6040,7 +6057,7 @@ export default {
},
"MessageCampaignDetailsConfiguration": {
"configurationType": [
- 642
+ 643
],
"__typename": [
1
@@ -6059,16 +6076,16 @@ export default {
},
"MessageChannel": {
"connectedAccount": [
- 155
+ 156
],
"connectedAccountId": [
- 516
+ 517
],
"contactAutoCreationPolicy": [
- 338
+ 339
],
"createdAt": [
- 206
+ 207
],
"displayName": [
1
@@ -6083,7 +6100,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"importProgress": [
10
@@ -6095,40 +6112,40 @@ export default {
4
],
"messageFolderImportPolicy": [
- 345
+ 346
],
"participantHandleFieldUniversalIdentifier": [
- 516
+ 517
],
"pendingGroupEmailsAction": [
- 339
+ 340
],
"syncStage": [
- 340
+ 341
],
"syncStageStartedAt": [
- 206
+ 207
],
"syncStatus": [
- 341
+ 342
],
"syncedAt": [
- 206
+ 207
],
"throttleFailureCount": [
6
],
"throttleRetryAfter": [
- 206
+ 207
],
"type": [
- 342
+ 343
],
"updatedAt": [
- 206
+ 207
],
"visibility": [
- 343
+ 344
],
"__typename": [
1
@@ -6142,13 +6159,13 @@ export default {
"MessageChannelVisibility": {},
"MessageFolder": {
"createdAt": [
- 206
+ 207
],
"externalId": [
1
],
"id": [
- 516
+ 517
],
"isSentFolder": [
4
@@ -6157,7 +6174,7 @@ export default {
4
],
"messageChannelId": [
- 516
+ 517
],
"name": [
1
@@ -6166,10 +6183,10 @@ export default {
1
],
"pendingSyncAction": [
- 346
+ 347
],
"updatedAt": [
- 206
+ 207
],
"__typename": [
1
@@ -6180,22 +6197,22 @@ export default {
"MessageParticipantRole": {},
"MessageSuppression": {
"createdAt": [
- 206
+ 207
],
"emailAddress": [
1
],
"id": [
- 516
+ 517
],
"reason": [
- 350
+ 351
],
"source": [
- 351
+ 352
],
"unsubscribeTopicId": [
- 516
+ 517
],
"__typename": [
1
@@ -6203,7 +6220,7 @@ export default {
},
"MessageSuppressionList": {
"records": [
- 348
+ 349
],
"totalCount": [
10
@@ -6219,13 +6236,13 @@ export default {
1
],
"properties": [
- 381
+ 382
],
"recordId": [
1
],
"type": [
- 353
+ 354
],
"updatedCollectionHash": [
1
@@ -6247,16 +6264,16 @@ export default {
1
],
"objectMetadataId": [
- 516
+ 517
],
"property": [
1
],
"provenance": [
- 357
+ 358
],
"recordId": [
- 516
+ 517
],
"sourceValue": [
1
@@ -6285,13 +6302,13 @@ export default {
"MetadataTranslationProvenance": {},
"MetadataTranslationsInput": {
"fieldMetadataId": [
- 516
+ 517
],
"locale": [
1
],
"objectMetadataId": [
- 516
+ 517
],
"__typename": [
1
@@ -6300,13 +6317,13 @@ export default {
"MetadataWritability": {},
"MinimalMetadata": {
"collectionHashes": [
- 150
+ 151
],
"objectMetadataItems": [
- 361
+ 362
],
"views": [
- 362
+ 363
],
"__typename": [
1
@@ -6320,7 +6337,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"isActive": [
4
@@ -6349,16 +6366,16 @@ export default {
},
"MinimalView": {
"id": [
- 516
+ 517
],
"key": [
- 634
+ 635
],
"objectMetadataId": [
- 516
+ 517
],
"type": [
- 638
+ 639
],
"__typename": [
1
@@ -6367,16 +6384,16 @@ export default {
"ModelFamily": {},
"Mutation": {
"activateSkill": [
- 483,
+ 484,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"activateWorkspace": [
- 647,
+ 648,
{
"data": [
0,
@@ -6392,7 +6409,7 @@ export default {
"String!"
],
"messageId": [
- 516,
+ 517,
"UUID!"
]
}
@@ -6410,10 +6427,10 @@ export default {
4,
{
"assigneeWorkspaceMemberId": [
- 516
+ 517
],
"threadId": [
- 516,
+ 517,
"UUID!"
]
}
@@ -6422,11 +6439,11 @@ export default {
4,
{
"agentId": [
- 516,
+ 517,
"UUID!"
],
"roleId": [
- 516,
+ 517,
"UUID!"
]
}
@@ -6435,17 +6452,17 @@ export default {
4,
{
"apiKeyId": [
- 516,
+ 517,
"UUID!"
],
"roleId": [
- 516,
+ 517,
"UUID!"
]
}
],
"authorizeApp": [
- 83,
+ 84,
{
"clientId": [
1,
@@ -6470,28 +6487,28 @@ export default {
}
],
"cancelMessageCampaign": [
- 134,
+ 135,
{
"input": [
- 133,
+ 134,
"CancelMessageCampaignInput!"
]
}
],
"cancelSwitchBillingInterval": [
- 121
+ 122
],
"cancelSwitchBillingPlan": [
- 121
+ 122
],
"cancelSwitchResourceCreditPrice": [
- 121
+ 122
],
"checkCustomDomainValidRecords": [
- 227
+ 228
],
"checkPublicDomainValidRecords": [
- 227,
+ 228,
{
"domain": [
1,
@@ -6500,14 +6517,14 @@ export default {
}
],
"checkoutSession": [
- 114,
+ 115,
{
"plan": [
- 105,
+ 106,
"BillingPlanKey!"
],
"recurringInterval": [
- 489,
+ 490,
"SubscriptionInterval!"
],
"requirePaymentMethod": [
@@ -6520,7 +6537,7 @@ export default {
}
],
"claimApplicationRegistrationOwnership": [
- 69,
+ 70,
{
"applicationRegistrationId": [
1,
@@ -6529,29 +6546,29 @@ export default {
}
],
"completeAppTarballUpload": [
- 69,
+ 70,
{
"fileId": [
- 516,
+ 517,
"UUID!"
]
}
],
"completeApplicationFileUploads": [
- 154,
+ 155,
{
"applicationUniversalIdentifier": [
1,
"String!"
],
"fileIds": [
- 516,
+ 517,
"[UUID!]!"
]
}
],
"completeBookCallOnboardingStep": [
- 387,
+ 388,
{
"hasBookedCall": [
4,
@@ -6564,7 +6581,7 @@ export default {
}
],
"completeFileUpload": [
- 276,
+ 277,
{
"fileId": [
1,
@@ -6573,7 +6590,7 @@ export default {
}
],
"completeNewWorkspaceLogoUpload": [
- 276,
+ 277,
{
"fileId": [
1,
@@ -6586,7 +6603,7 @@ export default {
}
],
"completeWorkspaceLogoUpload": [
- 276,
+ 277,
{
"fileId": [
1,
@@ -6595,7 +6612,7 @@ export default {
}
],
"completeWorkspaceMemberProfilePictureUpload": [
- 276,
+ 277,
{
"fileId": [
1,
@@ -6607,68 +6624,68 @@ export default {
5,
{
"input": [
- 161,
+ 162,
"CreateAgentChatChannelInput!"
]
}
],
"createApiKey": [
- 35,
+ 36,
{
"input": [
- 163,
+ 164,
"CreateApiKeyInput!"
]
}
],
"createAppMessageChannel": [
- 337,
+ 338,
{
"input": [
- 164,
+ 165,
"CreateAppMessageChannelInput!"
]
}
],
"createApplicationFileUploads": [
- 165,
+ 166,
{
"applicationUniversalIdentifier": [
1,
"String!"
],
"files": [
- 56,
+ 57,
"[ApplicationFileUploadRequestInput!]!"
]
}
],
"createApplicationRegistration": [
- 166,
+ 167,
{
"input": [
- 167,
+ 168,
"CreateApplicationRegistrationInput!"
]
}
],
"createApprovedAccessDomain": [
- 77,
+ 78,
{
"input": [
- 168,
+ 169,
"CreateApprovedAccessDomainInput!"
]
}
],
"createBillingPaymentMethodSetupIntent": [
- 103
+ 104
],
"createCalendarEvent": [
- 170,
+ 171,
{
"input": [
- 169,
+ 170,
"CreateCalendarEventInput!"
]
}
@@ -6677,21 +6694,21 @@ export default {
16,
{
"channelId": [
- 516
+ 517
]
}
],
"createCommandMenuItem": [
- 151,
+ 152,
{
"input": [
- 171,
+ 172,
"CreateCommandMenuItemInput!"
]
}
],
"createDevelopmentApplication": [
- 225,
+ 226,
{
"name": [
1,
@@ -6704,25 +6721,25 @@ export default {
}
],
"createEmailGroupChannel": [
- 173,
+ 174,
{
"input": [
- 172,
+ 173,
"CreateEmailGroupChannelInput!"
]
}
],
"createEmailingDomain": [
- 236,
+ 237,
{
"input": [
- 174,
+ 175,
"CreateEmailingDomainInput!"
]
}
],
"createFileUpload": [
- 275,
+ 276,
{
"fieldMetadataId": [
1
@@ -6731,7 +6748,7 @@ export default {
1
],
"fileFolder": [
- 274,
+ 275,
"FileFolder!"
],
"filename": [
@@ -6745,70 +6762,70 @@ export default {
}
],
"createFrontComponent": [
- 281,
+ 282,
{
"input": [
- 176,
+ 177,
"CreateFrontComponentInput!"
]
}
],
"createManyNavigationMenuItems": [
- 366,
+ 367,
{
"inputs": [
- 181,
+ 182,
"[CreateNavigationMenuItemInput!]!"
]
}
],
"createManyViewFieldGroups": [
- 628,
+ 629,
{
"inputs": [
- 195,
+ 196,
"[CreateViewFieldGroupInput!]!"
]
}
],
"createManyViewFields": [
- 627,
+ 628,
{
"inputs": [
- 196,
+ 197,
"[CreateViewFieldInput!]!"
]
}
],
"createManyViewGroups": [
- 633,
+ 634,
{
"inputs": [
- 199,
+ 200,
"[CreateViewGroupInput!]!"
]
}
],
"createMessageSuppression": [
- 348,
+ 349,
{
"input": [
- 180,
+ 181,
"CreateMessageSuppressionInput!"
]
}
],
"createNavigationMenuItem": [
- 366,
+ 367,
{
"input": [
- 181,
+ 182,
"CreateNavigationMenuItemInput!"
]
}
],
"createNewWorkspaceLogoUpload": [
- 275,
+ 276,
{
"filename": [
1,
@@ -6825,30 +6842,30 @@ export default {
}
],
"createOIDCIdentityProvider": [
- 480,
+ 481,
{
"input": [
- 478,
+ 479,
"SetupOIDCSsoInput!"
]
}
],
"createObjectEvent": [
- 32,
+ 33,
{
"event": [
1,
"String!"
],
"objectMetadataId": [
- 516,
+ 517,
"UUID!"
],
"properties": [
- 308
+ 309
],
"recordId": [
- 516,
+ 517,
"UUID!"
]
}
@@ -6857,85 +6874,85 @@ export default {
3,
{
"input": [
- 162,
+ 163,
"CreateAgentInput!"
]
}
],
"createOneField": [
- 261,
+ 262,
{
"input": [
- 183,
+ 184,
"CreateOneFieldMetadataInput!"
]
}
],
"createOneIndex": [
- 297,
+ 298,
{
"input": [
- 184,
+ 185,
"CreateOneIndexInput!"
]
}
],
"createOneLogicFunction": [
- 320,
+ 321,
{
"input": [
- 179,
+ 180,
"CreateLogicFunctionFromSourceInput!"
]
}
],
"createOneObject": [
- 369,
+ 370,
{
"input": [
- 185,
+ 186,
"CreateOneObjectInput!"
]
}
],
"createOneRole": [
- 442,
+ 443,
{
"createRoleInput": [
- 190,
+ 191,
"CreateRoleInput!"
]
}
],
"createPageLayout": [
- 390,
+ 391,
{
"input": [
- 186,
+ 187,
"CreatePageLayoutInput!"
]
}
],
"createPageLayoutTab": [
- 391,
+ 392,
{
"input": [
- 187,
+ 188,
"CreatePageLayoutTabInput!"
]
}
],
"createPageLayoutWidget": [
- 394,
+ 395,
{
"input": [
- 188,
+ 189,
"CreatePageLayoutWidgetInput!"
]
}
],
"createPublicDomain": [
- 413,
+ 414,
{
"applicationId": [
1,
@@ -6948,36 +6965,36 @@ export default {
}
],
"createSAMLIdentityProvider": [
- 480,
+ 481,
{
"input": [
- 479,
+ 480,
"SetupSAMLSsoInput!"
]
}
],
"createSkill": [
- 483,
+ 484,
{
"input": [
- 191,
+ 192,
"CreateSkillInput!"
]
}
],
"createSubscriptionPaymentIntent": [
- 103,
+ 104,
{
"idempotencyKey": [
1,
"String!"
],
"plan": [
- 105,
+ 106,
"BillingPlanKey!"
],
"recurringInterval": [
- 489,
+ 490,
"SubscriptionInterval!"
],
"requirePaymentMethod": [
@@ -6990,109 +7007,109 @@ export default {
}
],
"createUnsubscribeTopic": [
- 519,
+ 520,
{
"input": [
- 192,
+ 193,
"CreateUnsubscribeTopicInput!"
]
}
],
"createUsageLimit": [
- 599,
+ 600,
{
"input": [
- 193,
+ 194,
"CreateUsageLimitInput!"
]
}
],
"createValidationRule": [
- 619,
+ 620,
{
"input": [
- 194,
+ 195,
"CreateValidationRuleInput!"
]
}
],
"createView": [
- 624,
+ 625,
{
"input": [
- 200,
+ 201,
"CreateViewInput!"
]
}
],
"createViewField": [
- 627,
+ 628,
{
"input": [
- 196,
+ 197,
"CreateViewFieldInput!"
]
}
],
"createViewFieldGroup": [
- 628,
+ 629,
{
"input": [
- 195,
+ 196,
"CreateViewFieldGroupInput!"
]
}
],
"createViewFilter": [
- 629,
+ 630,
{
"input": [
- 198,
+ 199,
"CreateViewFilterInput!"
]
}
],
"createViewFilterGroup": [
- 630,
+ 631,
{
"input": [
- 197,
+ 198,
"CreateViewFilterGroupInput!"
]
}
],
"createViewGroup": [
- 633,
+ 634,
{
"input": [
- 199,
+ 200,
"CreateViewGroupInput!"
]
}
],
"createViewSort": [
- 636,
+ 637,
{
"input": [
- 201,
+ 202,
"CreateViewSortInput!"
]
}
],
"createWebhook": [
- 640,
+ 641,
{
"input": [
- 202,
+ 203,
"CreateWebhookInput!"
]
}
],
"deactivateSkill": [
- 483,
+ 484,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
@@ -7101,11 +7118,11 @@ export default {
4,
{
"channelId": [
- 516,
+ 517,
"UUID!"
],
"destinationChannelId": [
- 516
+ 517
]
}
],
@@ -7117,15 +7134,15 @@ export default {
"String!"
],
"scope": [
- 40
+ 41
]
}
],
"deleteAppMessageChannel": [
- 337,
+ 338,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
@@ -7143,37 +7160,37 @@ export default {
4,
{
"input": [
- 207,
+ 208,
"DeleteApprovedAccessDomainInput!"
]
}
],
"deleteCommandMenuItem": [
- 151,
+ 152,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"deleteConnectedAccount": [
- 155,
+ 156,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"deleteCurrentWorkspace": [
- 647
+ 648
],
"deleteEmailGroupChannel": [
- 337,
+ 338,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
@@ -7188,19 +7205,19 @@ export default {
}
],
"deleteFrontComponent": [
- 281,
+ 282,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"deleteManyNavigationMenuItems": [
- 366,
+ 367,
{
"ids": [
- 516,
+ 517,
"[UUID!]!"
]
}
@@ -7209,16 +7226,16 @@ export default {
4,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"deleteNavigationMenuItem": [
- 366,
+ 367,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
@@ -7233,37 +7250,37 @@ export default {
}
],
"deleteOneField": [
- 261,
+ 262,
{
"input": [
- 208,
+ 209,
"DeleteOneFieldInput!"
]
}
],
"deleteOneIndex": [
- 297,
+ 298,
{
"input": [
- 209,
+ 210,
"DeleteOneIndexInput!"
]
}
],
"deleteOneLogicFunction": [
- 320,
+ 321,
{
"input": [
- 324,
+ 325,
"LogicFunctionIdInput!"
]
}
],
"deleteOneObject": [
- 369,
+ 370,
{
"input": [
- 210,
+ 211,
"DeleteOneObjectInput!"
]
}
@@ -7272,7 +7289,7 @@ export default {
1,
{
"roleId": [
- 516,
+ 517,
"UUID!"
]
}
@@ -7290,34 +7307,34 @@ export default {
4,
{
"messageId": [
- 516,
+ 517,
"UUID!"
]
}
],
"deleteSSOIdentityProvider": [
- 211,
+ 212,
{
"input": [
- 212,
+ 213,
"DeleteSsoInput!"
]
}
],
"deleteSkill": [
- 483,
+ 484,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"deleteTwoFactorAuthenticationMethod": [
- 213,
+ 214,
{
"twoFactorAuthenticationMethodId": [
- 516,
+ 517,
"UUID!"
]
}
@@ -7335,16 +7352,16 @@ export default {
4,
{
"usageLimitId": [
- 516,
+ 517,
"UUID!"
]
}
],
"deleteUser": [
- 612
+ 613
],
"deleteUserFromWorkspace": [
- 616,
+ 617,
{
"workspaceMemberIdToDelete": [
1,
@@ -7353,10 +7370,10 @@ export default {
}
],
"deleteValidationRule": [
- 619,
+ 620,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
@@ -7371,28 +7388,28 @@ export default {
}
],
"deleteViewField": [
- 627,
+ 628,
{
"input": [
- 215,
+ 216,
"DeleteViewFieldInput!"
]
}
],
"deleteViewFieldGroup": [
- 628,
+ 629,
{
"input": [
- 214,
+ 215,
"DeleteViewFieldGroupInput!"
]
}
],
"deleteViewFilter": [
- 629,
+ 630,
{
"input": [
- 216,
+ 217,
"DeleteViewFilterInput!"
]
}
@@ -7407,10 +7424,10 @@ export default {
}
],
"deleteViewGroup": [
- 633,
+ 634,
{
"input": [
- 217,
+ 218,
"DeleteViewGroupInput!"
]
}
@@ -7419,16 +7436,16 @@ export default {
4,
{
"input": [
- 218,
+ 219,
"DeleteViewSortInput!"
]
}
],
"deleteWebhook": [
- 640,
+ 641,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
@@ -7479,28 +7496,28 @@ export default {
}
],
"destroyViewField": [
- 627,
+ 628,
{
"input": [
- 221,
+ 222,
"DestroyViewFieldInput!"
]
}
],
"destroyViewFieldGroup": [
- 628,
+ 629,
{
"input": [
- 220,
+ 221,
"DestroyViewFieldGroupInput!"
]
}
],
"destroyViewFilter": [
- 629,
+ 630,
{
"input": [
- 222,
+ 223,
"DestroyViewFilterInput!"
]
}
@@ -7515,10 +7532,10 @@ export default {
}
],
"destroyViewGroup": [
- 633,
+ 634,
{
"input": [
- 223,
+ 224,
"DestroyViewGroupInput!"
]
}
@@ -7527,49 +7544,49 @@ export default {
4,
{
"input": [
- 224,
+ 225,
"DestroyViewSortInput!"
]
}
],
"disconnectConnectedAccount": [
- 155,
+ 156,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"duplicateDashboard": [
- 228,
+ 229,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"duplicateMessageList": [
- 229,
+ 230,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"editSSOIdentityProvider": [
- 230,
+ 231,
{
"input": [
- 231,
+ 232,
"EditSsoInput!"
]
}
],
"emailPasswordResetLink": [
- 234,
+ 235,
{
"captchaToken": [
1
@@ -7579,48 +7596,48 @@ export default {
"String!"
],
"workspaceId": [
- 516
+ 517
]
}
],
"endSubscriptionTrialPeriod": [
- 98
+ 99
],
"enqueueJob": [
- 243,
+ 244,
{
"input": [
- 241,
+ 242,
"EnqueueJobInput!"
]
}
],
"enqueueJobs": [
- 245,
+ 246,
{
"input": [
- 244,
+ 245,
"EnqueueJobsInput!"
]
}
],
"enrichWorkspaceCompany": [
- 651
+ 652
],
"executeOneLogicFunction": [
- 322,
+ 323,
{
"input": [
- 258,
+ 259,
"ExecuteOneLogicFunctionInput!"
]
}
],
"generateApiKeyToken": [
- 37,
+ 38,
{
"apiKeyId": [
- 516,
+ 517,
"UUID!"
],
"expiresAt": [
@@ -7630,34 +7647,34 @@ export default {
}
],
"generateFrontComponentApplicationTokenPair": [
- 74,
+ 75,
{
"applicationId": [
- 516,
+ 517,
"UUID!"
]
}
],
"generatePlaygroundToken": [
- 80
+ 81
],
"generateTransientToken": [
- 499
+ 500
],
"generateTwoFactorAuthenticationRecoveryCode": [
- 513,
+ 514,
{
"otp": [
1
],
"userId": [
- 516,
+ 517,
"UUID!"
]
}
],
"getAuthTokensFromLoginToken": [
- 82,
+ 83,
{
"loginToken": [
1,
@@ -7670,7 +7687,7 @@ export default {
}
],
"getAuthTokensFromOTP": [
- 82,
+ 83,
{
"captchaToken": [
1
@@ -7690,7 +7707,7 @@ export default {
}
],
"getAuthTokensFromSSOExchangeToken": [
- 82,
+ 83,
{
"ssoExchangeToken": [
1,
@@ -7699,7 +7716,7 @@ export default {
}
],
"getAuthTokensFromTwoFactorAuthenticationRecoveryCode": [
- 514,
+ 515,
{
"captchaToken": [
1
@@ -7719,16 +7736,16 @@ export default {
}
],
"getAuthorizationUrlForSSO": [
- 286,
+ 287,
{
"input": [
- 287,
+ 288,
"GetAuthorizationUrlForSSOInput!"
]
}
],
"getLoginTokenFromCredentials": [
- 327,
+ 328,
{
"captchaToken": [
1
@@ -7754,41 +7771,41 @@ export default {
}
],
"goBackToPreviousOnboardingStep": [
- 386
+ 387
],
"grantApplicationCapabilities": [
- 45,
+ 46,
{
"input": [
- 288,
+ 289,
"GrantApplicationCapabilitiesInput!"
]
}
],
"impersonate": [
- 296,
+ 297,
{
"userId": [
- 516,
+ 517,
"UUID!"
],
"workspaceId": [
- 516,
+ 517,
"UUID!"
]
}
],
"ingestAppMessages": [
- 303,
+ 304,
{
"input": [
- 302,
+ 303,
"IngestAppMessagesInput!"
]
}
],
"initiateOTPProvisioning": [
- 305,
+ 306,
{
"loginToken": [
1,
@@ -7801,10 +7818,10 @@ export default {
}
],
"initiateOTPProvisioningForAuthenticatedUser": [
- 305
+ 306
],
"installApplication": [
- 43,
+ 44,
{
"universalIdentifier": [
1,
@@ -7831,7 +7848,7 @@ export default {
4,
{
"threadId": [
- 516,
+ 517,
"UUID!"
]
}
@@ -7840,10 +7857,10 @@ export default {
4,
{
"channelId": [
- 516
+ 517
],
"threadId": [
- 516,
+ 517,
"UUID!"
]
}
@@ -7852,7 +7869,7 @@ export default {
4
],
"releaseEnterpriseServerBinding": [
- 246
+ 247
],
"removeAgentChatMessageReaction": [
22,
@@ -7862,7 +7879,7 @@ export default {
"String!"
],
"messageId": [
- 516,
+ 517,
"UUID!"
]
}
@@ -7871,20 +7888,20 @@ export default {
4,
{
"input": [
- 437,
+ 438,
"RemoveQueryFromEventStreamInput!"
]
}
],
"removeRecordShare": [
- 429,
+ 430,
{
"principal": [
- 426,
+ 427,
"RecordSharePrincipalInput!"
],
"target": [
- 434,
+ 435,
"RecordTargetInput!"
]
}
@@ -7893,13 +7910,13 @@ export default {
4,
{
"agentId": [
- 516,
+ 517,
"UUID!"
]
}
],
"renewApplicationToken": [
- 74,
+ 75,
{
"applicationRefreshToken": [
1,
@@ -7908,7 +7925,7 @@ export default {
}
],
"renewToken": [
- 82,
+ 83,
{
"appToken": [
1,
@@ -7920,7 +7937,7 @@ export default {
4,
{
"threadId": [
- 516,
+ 517,
"UUID!"
]
}
@@ -7929,13 +7946,13 @@ export default {
4,
{
"input": [
- 438,
+ 439,
"ReportAppConnectionAuthFailureInput!"
]
}
],
"resendEmailVerificationToken": [
- 439,
+ 440,
{
"email": [
1,
@@ -7948,7 +7965,7 @@ export default {
}
],
"resendWorkspaceInvitation": [
- 470,
+ 471,
{
"appTokenId": [
1,
@@ -7957,16 +7974,16 @@ export default {
}
],
"resetCommandMenuItem": [
- 151,
+ 152,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"resetPageLayoutTabToDefault": [
- 391,
+ 392,
{
"id": [
1,
@@ -7975,7 +7992,7 @@ export default {
}
],
"resetPageLayoutToDefault": [
- 390,
+ 391,
{
"id": [
1,
@@ -7984,7 +8001,7 @@ export default {
}
],
"resetPageLayoutWidgetToDefault": [
- 394,
+ 395,
{
"id": [
1,
@@ -7993,22 +8010,22 @@ export default {
}
],
"resetTimelineActivityType": [
- 494,
+ 495,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"retryChatMessage": [
- 462,
+ 463,
{
"modelId": [
1
],
"threadId": [
- 516,
+ 517,
"UUID!"
]
}
@@ -8017,10 +8034,10 @@ export default {
10
],
"revokeApiKey": [
- 35,
+ 36,
{
"input": [
- 440,
+ 441,
"RevokeApiKeyInput!"
]
}
@@ -8029,7 +8046,7 @@ export default {
4,
{
"applicationAuthorizationId": [
- 516,
+ 517,
"UUID!"
]
}
@@ -8038,7 +8055,7 @@ export default {
4,
{
"userId": [
- 516,
+ 517,
"UUID!"
]
}
@@ -8047,13 +8064,13 @@ export default {
4,
{
"userSessionId": [
- 516,
+ 517,
"UUID!"
]
}
],
"rotateApplicationRegistrationClientSecret": [
- 444,
+ 445,
{
"id": [
1,
@@ -8062,28 +8079,28 @@ export default {
}
],
"runAgent": [
- 455,
+ 456,
{
"input": [
- 451,
+ 452,
"RunAgentInput!"
]
}
],
"runApplicationHealthCheck": [
- 59,
+ 60,
{
"applicationId": [
- 516,
+ 517,
"UUID!"
]
}
],
"saveImapSmtpCaldavAccount": [
- 293,
+ 294,
{
"connectionParameters": [
- 232,
+ 233,
"EmailAccountConnectionParameters!"
],
"handle": [
@@ -8091,29 +8108,29 @@ export default {
"String!"
],
"id": [
- 516
+ 517
]
}
],
"sendChatMessage": [
- 462,
+ 463,
{
"browsingContext": [
- 308
+ 309
],
"channelId": [
- 516
+ 517
],
"fileAttachments": [
- 273,
+ 274,
"[FileAttachmentInput!]"
],
"mentionedWorkspaceMemberIds": [
- 516,
+ 517,
"[UUID!]"
],
"messageId": [
- 516,
+ 517,
"UUID!"
],
"modelId": [
@@ -8127,70 +8144,70 @@ export default {
"String!"
],
"threadId": [
- 516,
+ 517,
"UUID!"
]
}
],
"sendEmail": [
- 465,
+ 466,
{
"input": [
- 464,
+ 465,
"SendEmailInput!"
]
}
],
"sendInboxMessage": [
- 469,
+ 470,
{
"input": [
- 468,
+ 469,
"SendInboxMessageInput!"
]
}
],
"sendInvitations": [
- 470,
+ 471,
{
"emails": [
1,
"[String!]!"
],
"roleId": [
- 516
+ 517
]
}
],
"sendMessageCampaign": [
- 472,
+ 473,
{
"input": [
- 471,
+ 472,
"SendMessageCampaignInput!"
]
}
],
"sendMessageCampaignTest": [
- 467,
+ 468,
{
"input": [
- 473,
+ 474,
"SendMessageCampaignTestInput!"
]
}
],
"setAppKeyValue": [
- 39,
+ 40,
{
"input": [
- 475,
+ 476,
"SetAppKeyValueInput!"
]
}
],
"setEnterpriseKey": [
- 246,
+ 247,
{
"enterpriseKey": [
1,
@@ -8199,37 +8216,37 @@ export default {
}
],
"setRecordGeneralAccess": [
- 429,
+ 430,
{
"accessLevel": [
- 425,
+ 426,
"RecordShareAccessLevel!"
],
"target": [
- 434,
+ 435,
"RecordTargetInput!"
]
}
],
"setRecordShare": [
- 429,
+ 430,
{
"accessLevel": [
- 425,
+ 426,
"RecordShareAccessLevel!"
],
"principal": [
- 426,
+ 427,
"RecordSharePrincipalInput!"
],
"target": [
- 434,
+ 435,
"RecordTargetInput!"
]
}
],
"setResourceCreditSubscriptionPrice": [
- 121,
+ 122,
{
"priceId": [
1,
@@ -8238,7 +8255,7 @@ export default {
}
],
"signIn": [
- 87,
+ 88,
{
"captchaToken": [
1
@@ -8268,7 +8285,7 @@ export default {
}
],
"signUp": [
- 87,
+ 88,
{
"captchaToken": [
1
@@ -8290,15 +8307,15 @@ export default {
}
],
"signUpInNewWorkspace": [
- 481,
+ 482,
{
"input": [
- 482
+ 483
]
}
],
"signUpInWorkspace": [
- 481,
+ 482,
{
"captchaToken": [
1
@@ -8318,7 +8335,7 @@ export default {
1
],
"workspaceId": [
- 516
+ 517
],
"workspaceInviteHash": [
1
@@ -8329,7 +8346,7 @@ export default {
}
],
"skipSyncEmailOnboardingStep": [
- 387,
+ 388,
{
"isAutoSkipped": [
4,
@@ -8341,32 +8358,32 @@ export default {
4,
{
"snoozedUntil": [
- 206,
+ 207,
"DateTime!"
],
"threadId": [
- 516,
+ 517,
"UUID!"
]
}
],
"startChannelSync": [
- 137,
+ 138,
{
"connectedAccountId": [
- 516,
+ 517,
"UUID!"
]
}
],
"startWorkspaceSetupChat": [
- 485,
+ 486,
{
"companyContext": [
- 308
+ 309
],
"personContext": [
- 308
+ 309
]
}
],
@@ -8374,27 +8391,27 @@ export default {
4,
{
"threadId": [
- 516,
+ 517,
"UUID!"
]
}
],
"stopImpersonation": [
- 486
+ 487
],
"switchBillingPlan": [
- 121,
+ 122,
{
"plan": [
- 105
+ 106
]
}
],
"switchSubscriptionInterval": [
- 121
+ 122
],
"syncApplication": [
- 661,
+ 662,
{
"dryRun": [
4
@@ -8403,7 +8420,7 @@ export default {
4
],
"manifest": [
- 308,
+ 309,
"JSON!"
]
}
@@ -8412,7 +8429,7 @@ export default {
4
],
"trackAnalytics": [
- 32,
+ 33,
{
"event": [
1
@@ -8421,16 +8438,16 @@ export default {
1
],
"properties": [
- 308
+ 309
],
"type": [
- 33,
+ 34,
"AnalyticsType!"
]
}
],
"transferApplicationRegistrationOwnership": [
- 69,
+ 70,
{
"applicationRegistrationId": [
1,
@@ -8443,55 +8460,55 @@ export default {
}
],
"triggerAddPeopleToMessageListJob": [
- 501,
+ 502,
{
"input": [
- 500,
+ 501,
"TriggerAddPeopleToMessageListJobInput!"
]
}
],
"triggerInstallApplication": [
- 505,
+ 506,
{
"input": [
- 502,
+ 503,
"TriggerInstallApplicationInput!"
]
}
],
"triggerInstallApplicationJob": [
- 504,
+ 505,
{
"input": [
- 503,
+ 504,
"TriggerInstallApplicationJobInput!"
]
}
],
"triggerUninstallApplication": [
- 509,
+ 510,
{
"input": [
- 506,
+ 507,
"TriggerUninstallApplicationInput!"
]
}
],
"triggerUninstallApplicationJob": [
- 508,
+ 509,
{
"input": [
- 507,
+ 508,
"TriggerUninstallApplicationJobInput!"
]
}
],
"triggerUpgradeApplication": [
- 511,
+ 512,
{
"input": [
- 510,
+ 511,
"TriggerUpgradeApplicationInput!"
]
}
@@ -8509,11 +8526,11 @@ export default {
5,
{
"channelId": [
- 516,
+ 517,
"UUID!"
],
"input": [
- 521,
+ 522,
"UpdateAgentChatChannelInput!"
]
}
@@ -8526,158 +8543,158 @@ export default {
"AgentChatInboxAction!"
],
"snoozedUntil": [
- 206
+ 207
],
"threadIds": [
- 516,
+ 517,
"[UUID!]!"
]
}
],
"updateApiKey": [
- 35,
+ 36,
{
"input": [
- 523,
+ 524,
"UpdateApiKeyInput!"
]
}
],
"updateAppMessageChannel": [
- 337,
+ 338,
{
"input": [
- 524,
+ 525,
"UpdateAppMessageChannelInput!"
]
}
],
"updateApplication": [
- 43,
+ 44,
{
"id": [
- 516,
+ 517,
"UUID!"
],
"input": [
- 525,
+ 526,
"UpdateApplicationInput!"
]
}
],
"updateApplicationRegistration": [
- 69,
+ 70,
{
"input": [
- 526,
+ 527,
"UpdateApplicationRegistrationInput!"
]
}
],
"updateApplicationRegistrationVariable": [
- 73,
+ 74,
{
"input": [
- 528,
+ 529,
"UpdateApplicationRegistrationVariableInput!"
]
}
],
"updateCalendarChannel": [
- 124,
+ 125,
{
"input": [
- 530,
+ 531,
"UpdateCalendarChannelInput!"
]
}
],
"updateCommandMenuItem": [
- 151,
+ 152,
{
"input": [
- 532,
+ 533,
"UpdateCommandMenuItemInput!"
]
}
],
"updateEmailGroupChannel": [
- 337,
+ 338,
{
"input": [
- 533,
+ 534,
"UpdateEmailGroupChannelInput!"
]
}
],
"updateFrontComponent": [
- 281,
+ 282,
{
"input": [
- 535,
+ 536,
"UpdateFrontComponentInput!"
]
}
],
"updateLabPublicFeatureFlag": [
- 259,
+ 260,
{
"input": [
- 537,
+ 538,
"UpdateLabPublicFeatureFlagInput!"
]
}
],
"updateManyNavigationMenuItems": [
- 366,
+ 367,
{
"inputs": [
- 548,
+ 549,
"[UpdateOneNavigationMenuItemInput!]!"
]
}
],
"updateManyObjects": [
- 369,
+ 370,
{
"inputs": [
- 549,
+ 550,
"[UpdateOneObjectInput!]!"
]
}
],
"updateManyViewGroups": [
- 633,
+ 634,
{
"inputs": [
- 571,
+ 572,
"[UpdateViewGroupInput!]!"
]
}
],
"updateMessageChannel": [
- 337,
+ 338,
{
"input": [
- 540,
+ 541,
"UpdateMessageChannelInput!"
]
}
],
"updateMessageFolder": [
- 344,
+ 345,
{
"input": [
- 542,
+ 543,
"UpdateMessageFolderInput!"
]
}
],
"updateMessageFolders": [
- 344,
+ 345,
{
"input": [
- 544,
+ 545,
"UpdateMessageFoldersInput!"
]
}
@@ -8700,10 +8717,10 @@ export default {
}
],
"updateNavigationMenuItem": [
- 366,
+ 367,
{
"input": [
- 548,
+ 549,
"UpdateOneNavigationMenuItemInput!"
]
}
@@ -8712,7 +8729,7 @@ export default {
3,
{
"input": [
- 522,
+ 523,
"UpdateAgentInput!"
]
}
@@ -8721,7 +8738,7 @@ export default {
4,
{
"applicationId": [
- 516
+ 517
],
"key": [
1,
@@ -8734,10 +8751,10 @@ export default {
}
],
"updateOneField": [
- 261,
+ 262,
{
"input": [
- 547,
+ 548,
"UpdateOneFieldMetadataInput!"
]
}
@@ -8746,83 +8763,83 @@ export default {
4,
{
"input": [
- 538,
+ 539,
"UpdateLogicFunctionFromSourceInput!"
]
}
],
"updateOneObject": [
- 369,
+ 370,
{
"input": [
- 549,
+ 550,
"UpdateOneObjectInput!"
]
}
],
"updateOneRole": [
- 442,
+ 443,
{
"updateRoleInput": [
- 556,
+ 557,
"UpdateRoleInput!"
]
}
],
"updatePageLayout": [
- 390,
+ 391,
{
"id": [
1,
"String!"
],
"input": [
- 550,
+ 551,
"UpdatePageLayoutInput!"
]
}
],
"updatePageLayoutTab": [
- 391,
+ 392,
{
"id": [
1,
"String!"
],
"input": [
- 551,
+ 552,
"UpdatePageLayoutTabInput!"
]
}
],
"updatePageLayoutWidget": [
- 394,
+ 395,
{
"id": [
1,
"String!"
],
"input": [
- 553,
+ 554,
"UpdatePageLayoutWidgetInput!"
]
}
],
"updatePageLayoutWithTabsAndWidgets": [
- 390,
+ 391,
{
"id": [
1,
"String!"
],
"input": [
- 555,
+ 556,
"UpdatePageLayoutWithTabsInput!"
]
}
],
"updatePasswordViaResetToken": [
- 306,
+ 307,
{
"newPassword": [
1,
@@ -8835,46 +8852,46 @@ export default {
}
],
"updateSkill": [
- 483,
+ 484,
{
"input": [
- 558,
+ 559,
"UpdateSkillInput!"
]
}
],
"updateTimelineActivityType": [
- 494,
+ 495,
{
"input": [
- 559,
+ 560,
"UpdateTimelineActivityTypeInput!"
]
}
],
"updateUnsubscribeTopic": [
- 519,
+ 520,
{
"input": [
- 560,
+ 561,
"UpdateUnsubscribeTopicInput!"
]
}
],
"updateUsageLimit": [
- 599,
+ 600,
{
"input": [
- 561,
+ 562,
"UpdateUsageLimitInput!"
]
}
],
"updateUserCreditsFallback": [
- 97,
+ 98,
{
"userCreditsFallback": [
- 614,
+ 615,
"UserCreditsFallback!"
]
}
@@ -8892,121 +8909,121 @@ export default {
}
],
"updateValidationRule": [
- 619,
+ 620,
{
"input": [
- 562,
+ 563,
"UpdateValidationRuleInput!"
]
}
],
"updateView": [
- 624,
+ 625,
{
"id": [
1,
"String!"
],
"input": [
- 573,
+ 574,
"UpdateViewInput!"
]
}
],
"updateViewField": [
- 627,
+ 628,
{
"input": [
- 566,
+ 567,
"UpdateViewFieldInput!"
]
}
],
"updateViewFieldGroup": [
- 628,
+ 629,
{
"input": [
- 564,
+ 565,
"UpdateViewFieldGroupInput!"
]
}
],
"updateViewFilter": [
- 629,
+ 630,
{
"input": [
- 569,
+ 570,
"UpdateViewFilterInput!"
]
}
],
"updateViewFilterGroup": [
- 630,
+ 631,
{
"id": [
1,
"String!"
],
"input": [
- 568,
+ 569,
"UpdateViewFilterGroupInput!"
]
}
],
"updateViewGroup": [
- 633,
+ 634,
{
"input": [
- 571,
+ 572,
"UpdateViewGroupInput!"
]
}
],
"updateViewSort": [
- 636,
+ 637,
{
"input": [
- 574,
+ 575,
"UpdateViewSortInput!"
]
}
],
"updateWebhook": [
- 640,
+ 641,
{
"input": [
- 576,
+ 577,
"UpdateWebhookInput!"
]
}
],
"updateWorkspace": [
- 647,
+ 648,
{
"data": [
- 579,
+ 580,
"UpdateWorkspaceInput!"
]
}
],
"updateWorkspaceAllowedIframeOrigins": [
- 647,
+ 648,
{
"data": [
- 578,
+ 579,
"UpdateWorkspaceAllowedIframeOriginsInput!"
]
}
],
"updateWorkspaceMemberRole": [
- 656,
+ 657,
{
"roleId": [
- 516,
+ 517,
"UUID!"
],
"workspaceMemberId": [
- 516,
+ 517,
"UUID!"
]
}
@@ -9015,7 +9032,7 @@ export default {
4,
{
"input": [
- 580,
+ 581,
"UpdateWorkspaceMemberSettingsInput!"
]
}
@@ -9034,10 +9051,10 @@ export default {
}
],
"uploadAppTarball": [
- 69,
+ 70,
{
"file": [
- 581,
+ 582,
"Upload!"
],
"universalIdentifier": [
@@ -9046,18 +9063,18 @@ export default {
}
],
"uploadApplicationFile": [
- 272,
+ 273,
{
"applicationUniversalIdentifier": [
1,
"String!"
],
"file": [
- 581,
+ 582,
"Upload!"
],
"fileFolder": [
- 274,
+ 275,
"FileFolder!"
],
"filePath": [
@@ -9067,23 +9084,23 @@ export default {
}
],
"uploadFilesFieldFileByUniversalIdentifier": [
- 276,
+ 277,
{
"fieldMetadataUniversalIdentifier": [
1,
"String!"
],
"file": [
- 581,
+ 582,
"Upload!"
]
}
],
"uploadNewWorkspaceLogo": [
- 276,
+ 277,
{
"file": [
- 581,
+ 582,
"Upload!"
],
"workspaceId": [
@@ -9093,88 +9110,88 @@ export default {
}
],
"uploadWorkspaceLogo": [
- 276,
+ 277,
{
"file": [
- 581,
+ 582,
"Upload!"
]
}
],
"uploadWorkspaceMemberProfilePicture": [
- 276,
+ 277,
{
"file": [
- 581,
+ 582,
"Upload!"
]
}
],
"upsertFieldPermissions": [
- 268,
+ 269,
{
"upsertFieldPermissionsInput": [
- 582,
+ 583,
"UpsertFieldPermissionsInput!"
]
}
],
"upsertFieldsWidget": [
- 624,
+ 625,
{
"input": [
- 585,
+ 586,
"UpsertFieldsWidgetInput!"
]
}
],
"upsertObjectPermissions": [
- 377,
+ 378,
{
"upsertObjectPermissionsInput": [
- 586,
+ 587,
"UpsertObjectPermissionsInput!"
]
}
],
"upsertPermissionFlags": [
- 443,
+ 444,
{
"upsertPermissionFlagsInput": [
- 587,
+ 588,
"UpsertPermissionFlagsInput!"
]
}
],
"upsertRowLevelPermissionPredicates": [
- 589,
+ 590,
{
"input": [
- 588,
+ 589,
"UpsertRowLevelPermissionPredicatesInput!"
]
}
],
"upsertViewWidget": [
- 624,
+ 625,
{
"input": [
- 590,
+ 591,
"UpsertViewWidgetInput!"
]
}
],
"validateApprovedAccessDomain": [
- 77,
+ 78,
{
"input": [
- 617,
+ 618,
"ValidateApprovedAccessDomainInput!"
]
}
],
"verifyEmailAndGetLoginToken": [
- 621,
+ 622,
{
"captchaToken": [
1
@@ -9194,7 +9211,7 @@ export default {
}
],
"verifyEmailAndGetWorkspaceAgnosticToken": [
- 87,
+ 88,
{
"captchaToken": [
1
@@ -9210,7 +9227,7 @@ export default {
}
],
"verifyEmailingDomain": [
- 236,
+ 237,
{
"id": [
1,
@@ -9219,7 +9236,7 @@ export default {
}
],
"verifyTwoFactorAuthenticationMethodForAuthenticatedUser": [
- 622,
+ 623,
{
"otp": [
1,
@@ -9244,25 +9261,25 @@ export default {
},
"NavigationMenuItem": {
"agentChatChannelId": [
- 516
+ 517
],
"applicationId": [
- 516
+ 517
],
"color": [
1
],
"createdAt": [
- 206
+ 207
],
"folderId": [
- 516
+ 517
],
"icon": [
1
],
"id": [
- 516
+ 517
],
"link": [
1
@@ -9271,31 +9288,31 @@ export default {
1
],
"pageLayoutId": [
- 516
+ 517
],
"position": [
6
],
"targetObjectMetadataId": [
- 516
+ 517
],
"targetRecordId": [
- 516
+ 517
],
"targetRecordIdentifier": [
- 422
+ 423
],
"type": [
- 367
+ 368
],
"updatedAt": [
- 206
+ 207
],
"userWorkspaceId": [
- 516
+ 517
],
"viewId": [
- 516
+ 517
],
"__typename": [
1
@@ -9304,7 +9321,7 @@ export default {
"NavigationMenuItemType": {},
"NotesConfiguration": {
"configurationType": [
- 642
+ 643
],
"__typename": [
1
@@ -9312,13 +9329,13 @@ export default {
},
"Object": {
"applicationId": [
- 516
+ 517
],
"color": [
1
],
"createdAt": [
- 206
+ 207
],
"description": [
1
@@ -9327,42 +9344,42 @@ export default {
1
],
"fields": [
- 372,
+ 373,
{
"filter": [
- 266,
+ 267,
"FieldFilter!"
],
"paging": [
- 204,
+ 205,
"CursorPaging!"
]
}
],
"fieldsList": [
- 261
+ 262
],
"icon": [
1
],
"id": [
- 516
+ 517
],
"imageIdentifierFieldMetadataId": [
- 516
+ 517
],
"indexMetadataList": [
- 297
+ 298
],
"indexMetadatas": [
- 374,
+ 375,
{
"filter": [
- 300,
+ 301,
"IndexFilter!"
],
"paging": [
- 204,
+ 205,
"CursorPaging!"
]
}
@@ -9392,7 +9409,7 @@ export default {
4
],
"labelIdentifierFieldMetadataId": [
- 516
+ 517
],
"labelPlural": [
1
@@ -9407,19 +9424,19 @@ export default {
1
],
"openRecordIn": [
- 376
+ 377
],
"readability": [
- 354
+ 355
],
"readabilityParentFieldUniversalIdentifiers": [
- 516
+ 517
],
"searchFieldMetadataList": [
- 461
+ 462
],
"sharingReach": [
- 384
+ 385
],
"shortcut": [
1
@@ -9428,10 +9445,10 @@ export default {
1
],
"updatedAt": [
- 206
+ 207
],
"writability": [
- 359
+ 360
],
"__typename": [
1
@@ -9439,10 +9456,10 @@ export default {
},
"ObjectConnection": {
"edges": [
- 371
+ 372
],
"pageInfo": [
- 389
+ 390
],
"__typename": [
1
@@ -9450,10 +9467,10 @@ export default {
},
"ObjectEdge": {
"cursor": [
- 158
+ 159
],
"node": [
- 369
+ 370
],
"__typename": [
1
@@ -9461,10 +9478,10 @@ export default {
},
"ObjectFieldsConnection": {
"edges": [
- 265
+ 266
],
"pageInfo": [
- 389
+ 390
],
"__typename": [
1
@@ -9472,37 +9489,37 @@ export default {
},
"ObjectFilter": {
"and": [
- 373
+ 374
],
"id": [
- 517
+ 518
],
"isActive": [
- 123
+ 124
],
"isRemote": [
- 123
+ 124
],
"isSearchable": [
- 123
+ 124
],
"isSystem": [
- 123
+ 124
],
"isUICreatable": [
- 123
+ 124
],
"isUIEditable": [
- 123
+ 124
],
"isUIReadOnly": [
- 123
+ 124
],
"or": [
- 373
+ 374
],
"universalIdentifier": [
- 517
+ 518
],
"__typename": [
1
@@ -9510,10 +9527,10 @@ export default {
},
"ObjectIndexMetadatasConnection": {
"edges": [
- 298
+ 299
],
"pageInfo": [
- 389
+ 390
],
"__typename": [
1
@@ -9521,7 +9538,7 @@ export default {
},
"ObjectMetadataCommandMenuItemPayload": {
"objectMetadataItemId": [
- 516
+ 517
],
"__typename": [
1
@@ -9542,16 +9559,16 @@ export default {
4
],
"objectMetadataId": [
- 516
+ 517
],
"restrictedFields": [
- 308
+ 309
],
"rowLevelPermissionPredicateGroups": [
- 446
+ 447
],
"rowLevelPermissionPredicates": [
- 445
+ 446
],
"__typename": [
1
@@ -9571,7 +9588,7 @@ export default {
4
],
"objectMetadataId": [
- 516
+ 517
],
"__typename": [
1
@@ -9590,13 +9607,13 @@ export default {
},
"ObjectRecordEvent": {
"action": [
- 205
+ 206
],
"objectNameSingular": [
1
],
"properties": [
- 381
+ 382
],
"recordId": [
1
@@ -9613,13 +9630,13 @@ export default {
},
"ObjectRecordEventProperties": {
"after": [
- 308
+ 309
],
"before": [
- 308
+ 309
],
"diff": [
- 308
+ 309
],
"updatedFields": [
1
@@ -9630,7 +9647,7 @@ export default {
},
"ObjectRecordEventWithQueryIds": {
"objectRecordEvent": [
- 380
+ 381
],
"queryIds": [
1
@@ -9644,10 +9661,10 @@ export default {
"OnboardingStatus": {},
"OnboardingStepNavigation": {
"onboardingStatus": [
- 385
+ 386
],
"previousOnboardingStatus": [
- 385
+ 386
],
"__typename": [
1
@@ -9664,7 +9681,7 @@ export default {
"OpenRecordIn": {},
"PageInfo": {
"endCursor": [
- 158
+ 159
],
"hasNextPage": [
4
@@ -9673,7 +9690,7 @@ export default {
4
],
"startCursor": [
- 158
+ 159
],
"__typename": [
1
@@ -9681,19 +9698,19 @@ export default {
},
"PageLayout": {
"applicationId": [
- 516
+ 517
],
"createdAt": [
- 206
+ 207
],
"defaultTabToFocusOnMobileAndSidePanelId": [
- 516
+ 517
],
"deletedAt": [
- 206
+ 207
],
"id": [
- 516
+ 517
],
"isFirstTabPinned": [
4
@@ -9705,19 +9722,19 @@ export default {
1
],
"objectMetadataId": [
- 516
+ 517
],
"tabs": [
- 391
+ 392
],
"type": [
- 393
+ 394
],
"universalIdentifier": [
- 516
+ 517
],
"updatedAt": [
- 206
+ 207
],
"__typename": [
1
@@ -9725,19 +9742,19 @@ export default {
},
"PageLayoutTab": {
"applicationId": [
- 516
+ 517
],
"createdAt": [
- 206
+ 207
],
"deletedAt": [
- 206
+ 207
],
"icon": [
1
],
"id": [
- 516
+ 517
],
"isActive": [
4
@@ -9749,10 +9766,10 @@ export default {
4
],
"layoutMode": [
- 392
+ 393
],
"pageLayoutId": [
- 516
+ 517
],
"position": [
6
@@ -9761,13 +9778,13 @@ export default {
1
],
"universalIdentifier": [
- 516
+ 517
],
"updatedAt": [
- 206
+ 207
],
"widgets": [
- 394
+ 395
],
"__typename": [
1
@@ -9777,28 +9794,28 @@ export default {
"PageLayoutType": {},
"PageLayoutWidget": {
"applicationId": [
- 516
+ 517
],
"conditionalAvailabilityExpression": [
1
],
"conditionalDisplay": [
- 308
+ 309
],
"configuration": [
- 641
+ 642
],
"createdAt": [
- 206
+ 207
],
"deletedAt": [
- 206
+ 207
],
"gridPosition": [
- 290
+ 291
],
"id": [
- 516
+ 517
],
"isActive": [
4
@@ -9810,25 +9827,25 @@ export default {
4
],
"objectMetadataId": [
- 516
+ 517
],
"pageLayoutTabId": [
- 516
+ 517
],
"position": [
- 397
+ 398
],
"title": [
1
],
"type": [
- 643
+ 644
],
"universalIdentifier": [
- 516
+ 517
],
"updatedAt": [
- 206
+ 207
],
"__typename": [
1
@@ -9836,7 +9853,7 @@ export default {
},
"PageLayoutWidgetCanvasPosition": {
"layoutMode": [
- 392
+ 393
],
"__typename": [
1
@@ -9850,7 +9867,7 @@ export default {
10
],
"layoutMode": [
- 392
+ 393
],
"row": [
10
@@ -9864,13 +9881,13 @@ export default {
},
"PageLayoutWidgetPosition": {
"on_PageLayoutWidgetCanvasPosition": [
- 395
+ 396
],
"on_PageLayoutWidgetGridPosition": [
- 396
+ 397
],
"on_PageLayoutWidgetVerticalListPosition": [
- 399
+ 400
],
"__typename": [
1
@@ -9879,13 +9896,13 @@ export default {
"PageLayoutWidgetVerticalListHeightBehavior": {},
"PageLayoutWidgetVerticalListPosition": {
"heightBehavior": [
- 398
+ 399
],
"index": [
10
],
"layoutMode": [
- 392
+ 393
],
"__typename": [
1
@@ -9901,10 +9918,10 @@ export default {
},
"PermissionFlag": {
"applicationId": [
- 516
+ 517
],
"createdAt": [
- 206
+ 207
],
"description": [
1
@@ -9913,7 +9930,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"key": [
1
@@ -9925,10 +9942,10 @@ export default {
1
],
"universalIdentifier": [
- 516
+ 517
],
"updatedAt": [
- 206
+ 207
],
"__typename": [
1
@@ -9937,7 +9954,7 @@ export default {
"PermissionFlagType": {},
"PieChartConfiguration": {
"aggregateFieldMetadataId": [
- 516
+ 517
],
"aggregateOperation": [
26
@@ -9946,10 +9963,10 @@ export default {
1
],
"configurationType": [
- 642
+ 643
],
"dateGranularity": [
- 383
+ 384
],
"description": [
1
@@ -9961,13 +9978,13 @@ export default {
4
],
"filter": [
- 308
+ 309
],
"firstDayOfTheWeek": [
10
],
"groupByFieldMetadataId": [
- 516
+ 517
],
"groupBySubFieldName": [
1
@@ -9979,10 +9996,10 @@ export default {
1
],
"numberFormat": [
- 138
+ 139
],
"orderBy": [
- 289
+ 290
],
"showCenterMetric": [
4
@@ -9999,10 +10016,10 @@ export default {
},
"PieChartData": {
"data": [
- 406
+ 407
],
"formattedToRawLookup": [
- 308
+ 309
],
"hasTooManyGroups": [
4
@@ -10022,10 +10039,10 @@ export default {
},
"PieChartDataInput": {
"configuration": [
- 308
+ 309
],
"objectMetadataId": [
- 516
+ 517
],
"__typename": [
1
@@ -10050,7 +10067,7 @@ export default {
1
],
"location": [
- 319
+ 320
],
"postcode": [
1
@@ -10081,7 +10098,7 @@ export default {
1
],
"scheduledAt": [
- 206
+ 207
],
"__typename": [
1
@@ -10089,10 +10106,10 @@ export default {
},
"PreviewMessageCampaignSendOutputDTO": {
"audience": [
- 132
+ 133
],
"blockers": [
- 336
+ 337
],
"__typename": [
1
@@ -10100,7 +10117,7 @@ export default {
},
"PublicApplicationRegistration": {
"id": [
- 516
+ 517
],
"logoUrl": [
1
@@ -10120,7 +10137,7 @@ export default {
},
"PublicConnectionParametersOutput": {
"connectionSecurity": [
- 233
+ 234
],
"host": [
1
@@ -10137,16 +10154,16 @@ export default {
},
"PublicDomain": {
"applicationId": [
- 516
+ 517
],
"createdAt": [
- 206
+ 207
],
"domain": [
1
],
"id": [
- 516
+ 517
],
"isValidated": [
4
@@ -10157,10 +10174,10 @@ export default {
},
"PublicFeatureFlag": {
"key": [
- 260
+ 261
],
"metadata": [
- 415
+ 416
],
"__typename": [
1
@@ -10185,13 +10202,13 @@ export default {
},
"PublicImapSmtpCaldavConnectionParameters": {
"CALDAV": [
- 412
+ 413
],
"IMAP": [
- 412
+ 413
],
"SMTP": [
- 412
+ 413
],
"__typename": [
1
@@ -10199,22 +10216,22 @@ export default {
},
"PublicWorkspaceData": {
"authBypassProviders": [
- 78
+ 79
],
"authProviders": [
- 79
+ 80
],
"displayName": [
1
],
"id": [
- 516
+ 517
],
"logo": [
1
],
"workspaceUrls": [
- 665
+ 666
],
"__typename": [
1
@@ -10225,7 +10242,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"logo": [
1
@@ -10251,7 +10268,7 @@ export default {
7
],
"channelId": [
- 516,
+ 517,
"UUID!"
],
"first": [
@@ -10272,7 +10289,7 @@ export default {
23,
{
"agentId": [
- 516,
+ 517,
"UUID!"
],
"limit": [
@@ -10284,20 +10301,23 @@ export default {
"aiChatUsage": [
27
],
+ "aiChatUserCreditsUsage": [
+ 28
+ ],
"apiKey": [
- 35,
+ 36,
{
"input": [
- 285,
+ 286,
"GetApiKeyInput!"
]
}
],
"apiKeys": [
- 35
+ 36
],
"appConnection": [
- 38,
+ 39,
{
"id": [
17,
@@ -10306,47 +10326,47 @@ export default {
}
],
"appConnections": [
- 38,
+ 39,
{
"filter": [
- 317
+ 318
]
}
],
"appKeyValue": [
- 39,
+ 40,
{
"key": [
1,
"String!"
],
"scope": [
- 40
+ 41
]
}
],
"appMessageChannels": [
- 337,
+ 338,
{
"filter": [
- 318
+ 319
]
}
],
"applicationConnectedAccounts": [
- 46,
+ 47,
{
"applicationId": [
- 516,
+ 517,
"UUID!"
]
}
],
"applicationConnectionProviders": [
- 47,
+ 48,
{
"applicationId": [
- 516,
+ 517,
"UUID!"
]
}
@@ -10370,25 +10390,25 @@ export default {
}
],
"applicationSdkClientChecksums": [
- 460,
+ 461,
{
"applicationId": [
- 516,
+ 517,
"UUID!"
]
}
],
"barChartData": [
- 90,
+ 91,
{
"input": [
- 91,
+ 92,
"BarChartDataInput!"
]
}
],
"billingPortalSession": [
- 114,
+ 115,
{
"forPaymentMethodUpdate": [
4
@@ -10399,10 +10419,10 @@ export default {
}
],
"callRecordingIdForCalendarEvent": [
- 516,
+ 517,
{
"calendarEventId": [
- 516,
+ 517,
"UUID!"
]
}
@@ -10411,16 +10431,16 @@ export default {
20,
{
"threadId": [
- 516,
+ 517,
"UUID!"
]
}
],
"chatStreamCatchupChunks": [
- 140,
+ 141,
{
"threadId": [
- 516,
+ 517,
"UUID!"
]
}
@@ -10429,13 +10449,13 @@ export default {
16,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"checkUserExists": [
- 143,
+ 144,
{
"captchaToken": [
1
@@ -10447,7 +10467,7 @@ export default {
}
],
"checkWorkspaceInviteHashIsValid": [
- 655,
+ 656,
{
"inviteHash": [
1,
@@ -10456,7 +10476,7 @@ export default {
}
],
"checkWorkspaceSubdomainAvailability": [
- 487,
+ 488,
{
"subdomain": [
1,
@@ -10465,28 +10485,28 @@ export default {
}
],
"commandMenuItem": [
- 151,
+ 152,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"commandMenuItems": [
- 151
+ 152
],
"currentUser": [
- 612
+ 613
],
"currentUserApplicationAuthorizations": [
- 44
+ 45
],
"currentUserSessions": [
- 615
+ 616
],
"currentWorkspace": [
- 647
+ 648
],
"enterpriseCheckoutSession": [
1,
@@ -10505,50 +10525,50 @@ export default {
}
],
"enterpriseSubscriptionStatus": [
- 247
+ 248
],
"eventLogs": [
- 254,
+ 255,
{
"input": [
- 253,
+ 254,
"EventLogQueryInput!"
]
}
],
"exportApplication": [
- 49,
+ 50,
{
"universalIdentifier": [
- 516,
+ 517,
"UUID!"
]
}
],
"field": [
- 261,
+ 262,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"fields": [
- 263,
+ 264,
{
"filter": [
- 266,
+ 267,
"FieldFilter!"
],
"paging": [
- 204,
+ 205,
"CursorPaging!"
]
}
],
"findApplicationRegistrationByClientId": [
- 411,
+ 412,
{
"clientId": [
1,
@@ -10557,7 +10577,7 @@ export default {
}
],
"findApplicationRegistrationByUniversalIdentifier": [
- 69,
+ 70,
{
"universalIdentifier": [
1,
@@ -10566,37 +10586,37 @@ export default {
}
],
"findApplicationRegistrationMonitoring": [
- 61,
+ 62,
{
"id": [
1,
"String!"
],
"periodEnd": [
- 206
+ 207
],
"periodStart": [
- 206
+ 207
]
}
],
"findApplicationRegistrationStats": [
- 71,
+ 72,
{
"id": [
1,
"String!"
],
"periodEnd": [
- 206
+ 207
],
"periodStart": [
- 206
+ 207
]
}
],
"findApplicationRegistrationVariables": [
- 73,
+ 74,
{
"applicationRegistrationId": [
1,
@@ -10605,7 +10625,7 @@ export default {
}
],
"findClaimableApplicationRegistration": [
- 144,
+ 145,
{
"sourcePackage": [
1
@@ -10616,7 +10636,7 @@ export default {
}
],
"findInstallApplicationJobStatus": [
- 311,
+ 312,
{
"jobId": [
1
@@ -10631,16 +10651,16 @@ export default {
3
],
"findManyApplicationRegistrations": [
- 69
+ 70
],
"findManyApplications": [
- 43
+ 44
],
"findManyLogicFunctions": [
- 320
+ 321
],
"findManyMarketplaceApps": [
- 328,
+ 329,
{
"universalIdentifiers": [
1,
@@ -10649,10 +10669,10 @@ export default {
}
],
"findManyPublicDomains": [
- 413
+ 414
],
"findMarketplaceAppDetail": [
- 329,
+ 330,
{
"universalIdentifier": [
1,
@@ -10670,18 +10690,18 @@ export default {
}
],
"findOneApplication": [
- 43,
+ 44,
{
"id": [
- 516
+ 517
],
"universalIdentifier": [
- 516
+ 517
]
}
],
"findOneApplicationRegistration": [
- 69,
+ 70,
{
"id": [
1,
@@ -10690,16 +10710,16 @@ export default {
}
],
"findOneLogicFunction": [
- 320,
+ 321,
{
"input": [
- 324,
+ 325,
"LogicFunctionIdInput!"
]
}
],
"findUninstallApplicationJobStatus": [
- 311,
+ 312,
{
"jobId": [
1
@@ -10711,7 +10731,7 @@ export default {
}
],
"findUpgradeApplicationJobStatus": [
- 311,
+ 312,
{
"jobId": [
1
@@ -10723,10 +10743,10 @@ export default {
}
],
"findWorkspaceAiStats": [
- 649
+ 650
],
"findWorkspaceFromInviteHash": [
- 647,
+ 648,
{
"inviteHash": [
1,
@@ -10735,22 +10755,22 @@ export default {
}
],
"findWorkspaceInvitations": [
- 654
+ 655
],
"frontComponent": [
- 281,
+ 282,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"frontComponents": [
- 281
+ 282
],
"getAddressDetails": [
- 407,
+ 408,
{
"placeId": [
1,
@@ -10763,16 +10783,16 @@ export default {
}
],
"getAiSystemPromptPreview": [
- 29
+ 30
],
"getApiKeyRoles": [
- 442
+ 443
],
"getApprovedAccessDomains": [
- 77
+ 78
],
"getAutoCompleteAddress": [
- 84,
+ 85,
{
"address": [
1,
@@ -10791,31 +10811,31 @@ export default {
}
],
"getAvailablePackages": [
- 308,
+ 309,
{
"input": [
- 324,
+ 325,
"LogicFunctionIdInput!"
]
}
],
"getConnectedImapSmtpCaldavAccount": [
- 157,
+ 158,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"getEmailingDomains": [
- 236
+ 237
],
"getInviteSuggestions": [
- 307
+ 308
],
"getJobs": [
- 311,
+ 312,
{
"jobIds": [
1,
@@ -10827,13 +10847,13 @@ export default {
1,
{
"input": [
- 324,
+ 325,
"LogicFunctionIdInput!"
]
}
],
"getPageLayout": [
- 390,
+ 391,
{
"id": [
1,
@@ -10842,7 +10862,7 @@ export default {
}
],
"getPageLayoutTab": [
- 391,
+ 392,
{
"id": [
1,
@@ -10851,7 +10871,7 @@ export default {
}
],
"getPageLayoutTabs": [
- 391,
+ 392,
{
"pageLayoutId": [
1,
@@ -10860,7 +10880,7 @@ export default {
}
],
"getPageLayoutWidget": [
- 394,
+ 395,
{
"id": [
1,
@@ -10869,7 +10889,7 @@ export default {
}
],
"getPageLayoutWidgets": [
- 394,
+ 395,
{
"pageLayoutTabId": [
1,
@@ -10878,21 +10898,21 @@ export default {
}
],
"getPageLayouts": [
- 390,
+ 391,
{
"objectMetadataId": [
1
],
"pageLayoutType": [
- 393
+ 394
]
}
],
"getPermissionFlags": [
- 401
+ 402
],
"getPublicWorkspaceDataByDomain": [
- 417,
+ 418,
{
"origin": [
1
@@ -10900,37 +10920,37 @@ export default {
}
],
"getPublicWorkspaceDataById": [
- 418,
+ 419,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"getResourceCreditUsage": [
- 113
+ 114
],
"getRole": [
- 442,
+ 443,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"getRoles": [
- 442
+ 443
],
"getSSOIdentityProviders": [
- 278
+ 279
],
"getToolIndex": [
- 498
+ 499
],
"getToolInputSchema": [
- 308,
+ 309,
{
"toolName": [
1,
@@ -10939,15 +10959,15 @@ export default {
}
],
"getUsageAnalytics": [
- 596,
+ 597,
{
"input": [
- 597
+ 598
]
}
],
"getView": [
- 624,
+ 625,
{
"id": [
1,
@@ -10956,7 +10976,7 @@ export default {
}
],
"getViewField": [
- 627,
+ 628,
{
"id": [
1,
@@ -10965,7 +10985,7 @@ export default {
}
],
"getViewFieldGroup": [
- 628,
+ 629,
{
"id": [
1,
@@ -10974,7 +10994,7 @@ export default {
}
],
"getViewFieldGroups": [
- 628,
+ 629,
{
"viewId": [
1,
@@ -10983,7 +11003,7 @@ export default {
}
],
"getViewFields": [
- 627,
+ 628,
{
"viewId": [
1,
@@ -10992,7 +11012,7 @@ export default {
}
],
"getViewFilter": [
- 629,
+ 630,
{
"id": [
1,
@@ -11001,7 +11021,7 @@ export default {
}
],
"getViewFilterGroup": [
- 630,
+ 631,
{
"id": [
1,
@@ -11010,7 +11030,7 @@ export default {
}
],
"getViewFilterGroups": [
- 630,
+ 631,
{
"viewId": [
1
@@ -11018,7 +11038,7 @@ export default {
}
],
"getViewFilters": [
- 629,
+ 630,
{
"viewId": [
1
@@ -11026,7 +11046,7 @@ export default {
}
],
"getViewGroup": [
- 633,
+ 634,
{
"id": [
1,
@@ -11035,7 +11055,7 @@ export default {
}
],
"getViewGroups": [
- 633,
+ 634,
{
"viewId": [
1
@@ -11043,7 +11063,7 @@ export default {
}
],
"getViewSort": [
- 636,
+ 637,
{
"id": [
1,
@@ -11052,7 +11072,7 @@ export default {
}
],
"getViewSorts": [
- 636,
+ 637,
{
"viewId": [
1
@@ -11060,19 +11080,19 @@ export default {
}
],
"getViews": [
- 624,
+ 625,
{
"objectMetadataId": [
1
],
"viewTypes": [
- 638,
+ 639,
"[ViewType!]"
]
}
],
"getWorkspaceCreationDefaults": [
- 652
+ 653
],
"githubClaimAuthorizationUrl": [
1,
@@ -11093,146 +11113,146 @@ export default {
}
],
"lineChartData": [
- 313,
+ 314,
{
"input": [
- 314,
+ 315,
"LineChartDataInput!"
]
}
],
"listPlans": [
- 104
+ 105
],
"messageSuppressions": [
- 349,
+ 350,
{
"input": [
- 279,
+ 280,
"FindMessageSuppressionsInput!"
]
}
],
"metadataTranslations": [
- 355,
+ 356,
{
"input": [
- 358,
+ 359,
"MetadataTranslationsInput!"
]
}
],
"minimalMetadata": [
- 360
+ 361
],
"mostlyEmptyFieldMetadataIds": [
- 516,
+ 517,
{
"objectMetadataId": [
- 516,
+ 517,
"UUID!"
]
}
],
"myApplicationPreferences": [
- 68
+ 69
],
"myCalendarChannels": [
- 124,
+ 125,
{
"connectedAccountId": [
- 516
+ 517
]
}
],
"myConnectedAccounts": [
- 155
+ 156
],
"myMessageChannels": [
- 337,
+ 338,
{
"connectedAccountId": [
- 516
+ 517
]
}
],
"myMessageFolders": [
- 344,
+ 345,
{
"messageChannelId": [
- 516
+ 517
]
}
],
"myUserApplicationVariables": [
- 657
+ 658
],
"navigationMenuItem": [
- 366,
+ 367,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"navigationMenuItems": [
- 366
+ 367
],
"object": [
- 369,
+ 370,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"objectRecordCounts": [
- 379
+ 380
],
"objects": [
- 370,
+ 371,
{
"filter": [
- 373,
+ 374,
"ObjectFilter!"
],
"paging": [
- 204,
+ 205,
"CursorPaging!"
]
}
],
"pieChartData": [
- 404,
+ 405,
{
"input": [
- 405,
+ 406,
"PieChartDataInput!"
]
}
],
"previewMessageCampaignAudience": [
- 132,
+ 133,
{
"input": [
- 408,
+ 409,
"PreviewMessageCampaignAudienceInput!"
]
}
],
"previewMessageCampaignSend": [
- 410,
+ 411,
{
"input": [
- 409,
+ 410,
"PreviewMessageCampaignSendInput!"
]
}
],
"publicMarketplaceAppDetail": [
- 329,
+ 330,
{
"universalIdentifier": [
1,
@@ -11241,7 +11261,7 @@ export default {
}
],
"publicMarketplaceApps": [
- 328,
+ 329,
{
"isVetted": [
4,
@@ -11250,70 +11270,70 @@ export default {
}
],
"recordPermissions": [
- 424,
+ 425,
{
"targets": [
- 434,
+ 435,
"[RecordTargetInput!]!"
]
}
],
"recordSharing": [
- 429,
+ 430,
{
"target": [
- 434,
+ 435,
"RecordTargetInput!"
]
}
],
"skill": [
- 483,
+ 484,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"skills": [
- 483
+ 484
],
"timelineActivityTypes": [
- 494
+ 495
],
"twoFactorAuthenticationRecoveryStatus": [
- 515,
+ 516,
{
"userId": [
- 516,
+ 517,
"UUID!"
]
}
],
"unsubscribeTopics": [
- 519
+ 520
],
"usageLimits": [
- 599
+ 600
],
"usageQuotaDefinitions": [
- 603
+ 604
],
"usageQuotaScopeConsumption": [
- 605,
+ 606,
{
"input": [
- 606,
+ 607,
"UsageQuotaScopeInput!"
]
}
],
"usageQuotasWithConsumption": [
- 607
+ 608
],
"validatePasswordResetToken": [
- 618,
+ 619,
{
"passwordResetToken": [
1,
@@ -11322,25 +11342,25 @@ export default {
}
],
"validationRules": [
- 619,
+ 620,
{
"objectMetadataId": [
- 516,
+ 517,
"UUID!"
]
}
],
"webhook": [
- 640,
+ 641,
{
"id": [
- 516,
+ 517,
"UUID!"
]
}
],
"webhooks": [
- 640
+ 641
],
"__typename": [
1
@@ -11348,7 +11368,7 @@ export default {
},
"RatioAggregateConfig": {
"fieldMetadataId": [
- 516
+ 517
],
"optionValue": [
1
@@ -11368,7 +11388,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"progress": [
10
@@ -11379,7 +11399,7 @@ export default {
},
"RecordIdentifier": {
"id": [
- 516
+ 517
],
"imageIdentifier": [
1
@@ -11410,13 +11430,13 @@ export default {
},
"RecordPermissionsResult": {
"objectMetadataId": [
- 516
+ 517
],
"permissions": [
- 423
+ 424
],
"recordId": [
- 516
+ 517
],
"__typename": [
1
@@ -11425,10 +11445,10 @@ export default {
"RecordShareAccessLevel": {},
"RecordSharePrincipalInput": {
"roleId": [
- 516
+ 517
],
"workspaceMemberId": [
- 516
+ 517
],
"__typename": [
1
@@ -11441,25 +11461,25 @@ export default {
4
],
"defaultGeneralAccessLevel": [
- 425
+ 426
],
"generalAccessLevel": [
- 425
+ 426
],
"hasManagedGeneralAccess": [
4
],
"permissions": [
- 423
+ 424
],
"roles": [
- 432
+ 433
],
"shares": [
- 430
+ 431
],
"sharingMode": [
- 431
+ 432
],
"__typename": [
1
@@ -11467,22 +11487,22 @@ export default {
},
"RecordSharingGrantDTO": {
"accessLevel": [
- 425
+ 426
],
"id": [
17
],
"principalId": [
- 516
+ 517
],
"principalRoleId": [
- 516
+ 517
],
"principalType": [
- 427
+ 428
],
"rowCause": [
- 428
+ 429
],
"__typename": [
1
@@ -11497,7 +11517,7 @@ export default {
4
],
"id": [
- 516
+ 517
],
"label": [
1
@@ -11508,7 +11528,7 @@ export default {
},
"RecordTableConfiguration": {
"configurationType": [
- 642
+ 643
],
"isUIEditable": [
4
@@ -11525,10 +11545,10 @@ export default {
},
"RecordTargetInput": {
"objectMetadataId": [
- 516
+ 517
],
"recordId": [
- 516
+ 517
],
"__typename": [
1
@@ -11536,19 +11556,19 @@ export default {
},
"Relation": {
"sourceFieldMetadata": [
- 261
+ 262
],
"sourceObjectMetadata": [
- 369
+ 370
],
"targetFieldMetadata": [
- 261
+ 262
],
"targetObjectMetadata": [
- 369
+ 370
],
"type": [
- 436
+ 437
],
"__typename": [
1
@@ -11587,7 +11607,7 @@ export default {
},
"RevokeApiKeyInput": {
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -11612,10 +11632,10 @@ export default {
3
],
"apiKeys": [
- 36
+ 37
],
"applicationId": [
- 516
+ 517
],
"canAccessAllAgentChatChannels": [
4
@@ -11651,13 +11671,13 @@ export default {
1
],
"fieldPermissions": [
- 268
+ 269
],
"icon": [
1
],
"id": [
- 516
+ 517
],
"isEditable": [
4
@@ -11666,22 +11686,22 @@ export default {
1
],
"objectPermissions": [
- 377
+ 378
],
"permissionFlags": [
- 443
+ 444
],
"rowLevelPermissionPredicateGroups": [
- 446
+ 447
],
"rowLevelPermissionPredicates": [
- 445
+ 446
],
"universalIdentifier": [
- 516
+ 517
],
"workspaceMembers": [
- 656
+ 657
],
"__typename": [
1
@@ -11692,10 +11712,10 @@ export default {
1
],
"id": [
- 516
+ 517
],
"roleId": [
- 516
+ 517
],
"__typename": [
1
@@ -11720,7 +11740,7 @@ export default {
1
],
"operand": [
- 450
+ 451
],
"positionInRowLevelPermissionPredicateGroup": [
6
@@ -11735,7 +11755,7 @@ export default {
1
],
"value": [
- 308
+ 309
],
"workspaceMemberFieldMetadataId": [
1
@@ -11752,7 +11772,7 @@ export default {
1
],
"logicalOperator": [
- 448
+ 449
],
"objectMetadataId": [
1
@@ -11772,16 +11792,16 @@ export default {
},
"RowLevelPermissionPredicateGroupInput": {
"id": [
- 516
+ 517
],
"logicalOperator": [
- 448
+ 449
],
"objectMetadataId": [
- 516
+ 517
],
"parentRowLevelPermissionPredicateGroupId": [
- 516
+ 517
],
"positionInRowLevelPermissionPredicateGroup": [
6
@@ -11793,25 +11813,25 @@ export default {
"RowLevelPermissionPredicateGroupLogicalOperator": {},
"RowLevelPermissionPredicateInput": {
"fieldMetadataId": [
- 516
+ 517
],
"id": [
- 516
+ 517
],
"operand": [
- 450
+ 451
],
"positionInRowLevelPermissionPredicateGroup": [
6
],
"rowLevelPermissionPredicateGroupId": [
- 516
+ 517
],
"subFieldName": [
1
],
"value": [
- 308
+ 309
],
"workspaceMemberFieldMetadataId": [
1
@@ -11832,22 +11852,22 @@ export default {
1
],
"input": [
- 453
+ 454
],
"messages": [
- 453
+ 454
],
"prompt": [
1
],
"responseFormat": [
- 308
+ 309
],
"runAsWorkspaceMemberId": [
- 516
+ 517
],
"thread": [
- 456
+ 457
],
"waitForCompletion": [
4
@@ -11858,7 +11878,7 @@ export default {
},
"RunAgentMessageAttachmentInput": {
"fileId": [
- 516
+ 517
],
"filename": [
1
@@ -11869,13 +11889,13 @@ export default {
},
"RunAgentMessageInput": {
"attachments": [
- 452
+ 453
],
"content": [
1
],
"role": [
- 454
+ 455
],
"__typename": [
1
@@ -11887,7 +11907,7 @@ export default {
1
],
"result": [
- 308
+ 309
],
"status": [
1
@@ -11896,7 +11916,7 @@ export default {
4
],
"threadId": [
- 516
+ 517
],
"__typename": [
1
@@ -11915,7 +11935,7 @@ export default {
},
"SSOConnection": {
"id": [
- 516
+ 517
],
"issuer": [
1
@@ -11924,10 +11944,10 @@ export default {
1
],
"status": [
- 459
+ 460
],
"type": [
- 291
+ 292
],
"__typename": [
1
@@ -11935,7 +11955,7 @@ export default {
},
"SSOIdentityProvider": {
"id": [
- 516
+ 517
],
"issuer": [
1
@@ -11944,10 +11964,10 @@ export default {
1
],
"status": [
- 459
+ 460
],
"type": [
- 291
+ 292
],
"__typename": [
1
@@ -11967,22 +11987,22 @@ export default {
},
"SearchField": {
"createdAt": [
- 206
+ 207
],
"fieldMetadataId": [
- 516
+ 517
],
"id": [
- 516
+ 517
],
"position": [
6
],
"tsVectorFieldMetadataId": [
- 516
+ 517
],
"updatedAt": [
- 206
+ 207
],
"__typename": [
1
@@ -11990,7 +12010,7 @@ export default {
},
"SendChatMessageResult": {
"mentionedParticipantWorkspaceMemberIds": [
- 516
+ 517
],
"messageId": [
1
@@ -12033,7 +12053,7 @@ export default {
1
],
"files": [
- 463
+ 464
],
"fromHandle": [
1
@@ -12045,7 +12065,7 @@ export default {
1
],
"targetRecord": [
- 466
+ 467
],
"to": [
1
@@ -12073,7 +12093,7 @@ export default {
1
],
"recordId": [
- 516
+ 517
],
"__typename": [
1
@@ -12101,10 +12121,10 @@ export default {
1
],
"toolCall": [
- 308
+ 309
],
"workspaceMemberIds": [
- 516
+ 517
],
"__typename": [
1
@@ -12112,7 +12132,7 @@ export default {
},
"SendInboxMessageResult": {
"threadId": [
- 516
+ 517
],
"__typename": [
1
@@ -12123,7 +12143,7 @@ export default {
1
],
"result": [
- 654
+ 655
],
"success": [
4
@@ -12137,7 +12157,7 @@ export default {
1
],
"scheduledAt": [
- 206
+ 207
],
"__typename": [
1
@@ -12145,7 +12165,7 @@ export default {
},
"SendMessageCampaignOutputDTO": {
"audience": [
- 132
+ 133
],
"campaignId": [
1
@@ -12199,10 +12219,10 @@ export default {
1
],
"scope": [
- 40
+ 41
],
"value": [
- 308
+ 309
],
"__typename": [
1
@@ -12210,34 +12230,34 @@ export default {
},
"SettingsMenuItem": {
"applicationId": [
- 516
+ 517
],
"createdAt": [
- 206
+ 207
],
"frontComponentId": [
- 516
+ 517
],
"icon": [
1
],
"id": [
- 516
+ 517
],
"position": [
6
],
"scope": [
- 477
+ 478
],
"title": [
1
],
"universalIdentifier": [
- 516
+ 517
],
"updatedAt": [
- 206
+ 207
],
"__typename": [
1
@@ -12269,7 +12289,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"issuer": [
1
@@ -12286,7 +12306,7 @@ export default {
},
"SetupSso": {
"id": [
- 516
+ 517
],
"issuer": [
1
@@ -12295,10 +12315,10 @@ export default {
1
],
"status": [
- 459
+ 460
],
"type": [
- 291
+ 292
],
"__typename": [
1
@@ -12306,10 +12326,10 @@ export default {
},
"SignUp": {
"loginToken": [
- 80
+ 81
],
"workspace": [
- 666
+ 667
],
"__typename": [
1
@@ -12331,13 +12351,13 @@ export default {
},
"Skill": {
"applicationId": [
- 516
+ 517
],
"content": [
1
],
"createdAt": [
- 206
+ 207
],
"description": [
1
@@ -12346,7 +12366,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"isActive": [
4
@@ -12364,7 +12384,7 @@ export default {
1
],
"updatedAt": [
- 206
+ 207
],
"__typename": [
1
@@ -12372,10 +12392,10 @@ export default {
},
"StandaloneRichTextConfiguration": {
"body": [
- 441
+ 442
],
"configurationType": [
- 642
+ 643
],
"__typename": [
1
@@ -12383,7 +12403,7 @@ export default {
},
"StartWorkspaceSetupChatResult": {
"outcome": [
- 664
+ 665
],
"thread": [
16
@@ -12419,32 +12439,32 @@ export default {
},
"Subscription": {
"eventLogsLive": [
- 255,
+ 256,
{
"fieldFilters": [
- 249,
+ 250,
"[EventLogFieldFilterInput!]"
],
"table": [
- 256,
+ 257,
"EventLogTable!"
]
}
],
"exportRecords": [
- 421,
+ 422,
{
"input": [
- 189,
+ 190,
"CreateRecordExportInput!"
]
}
],
"logicFunctionLogs": [
- 325,
+ 326,
{
"input": [
- 326,
+ 327,
"LogicFunctionLogsInput!"
]
}
@@ -12453,13 +12473,13 @@ export default {
13,
{
"threadId": [
- 516,
+ 517,
"UUID!"
]
}
],
"onEventSubscription": [
- 257,
+ 258,
{
"eventStreamId": [
1,
@@ -12475,7 +12495,7 @@ export default {
"SubscriptionStatus": {},
"Support": {
"supportDriver": [
- 492
+ 493
],
"supportFrontChatId": [
1
@@ -12487,7 +12507,7 @@ export default {
"SupportDriver": {},
"TasksConfiguration": {
"configurationType": [
- 642
+ 643
],
"__typename": [
1
@@ -12498,22 +12518,22 @@ export default {
1
],
"applicationId": [
- 516
+ 517
],
"createdAt": [
- 206
+ 207
],
"emit": [
- 495
+ 496
],
"frontComponentUniversalIdentifier": [
- 516
+ 517
],
"icon": [
1
],
"id": [
- 516
+ 517
],
"isActive": [
4
@@ -12525,16 +12545,16 @@ export default {
1
],
"objectUniversalIdentifier": [
- 516
+ 517
],
"replacesTimelineActivityTypeUniversalIdentifier": [
- 516
+ 517
],
"universalIdentifier": [
- 516
+ 517
],
"updatedAt": [
- 206
+ 207
],
"__typename": [
1
@@ -12542,13 +12562,13 @@ export default {
},
"TimelineActivityTypeEmit": {
"objectUniversalIdentifier": [
- 516
+ 517
],
"on": [
1
],
"through": [
- 496
+ 497
],
"__typename": [
1
@@ -12556,13 +12576,13 @@ export default {
},
"TimelineActivityTypeEmitThrough": {
"happensAtFieldUniversalIdentifier": [
- 516
+ 517
],
"relationFieldUniversalIdentifier": [
- 516
+ 517
],
"triggerFieldUniversalIdentifiers": [
- 516
+ 517
],
"__typename": [
1
@@ -12570,7 +12590,7 @@ export default {
},
"TimelineConfiguration": {
"configurationType": [
- 642
+ 643
],
"__typename": [
1
@@ -12590,7 +12610,7 @@ export default {
1
],
"inputSchema": [
- 308
+ 309
],
"label": [
1
@@ -12610,7 +12630,7 @@ export default {
},
"TransientToken": {
"transientToken": [
- 80
+ 81
],
"__typename": [
1
@@ -12618,10 +12638,10 @@ export default {
},
"TriggerAddPeopleToMessageListJobInput": {
"messageListId": [
- 516
+ 517
],
"personFilter": [
- 308
+ 309
],
"__typename": [
1
@@ -12726,7 +12746,7 @@ export default {
1
],
"twoFactorAuthenticationMethodId": [
- 516
+ 517
],
"__typename": [
1
@@ -12734,7 +12754,7 @@ export default {
},
"TwoFactorAuthenticationRecoveryCode": {
"expiresAt": [
- 206
+ 207
],
"recoveryCode": [
1
@@ -12748,7 +12768,7 @@ export default {
1
],
"tokens": [
- 81
+ 82
],
"__typename": [
1
@@ -12762,7 +12782,7 @@ export default {
4
],
"pendingRecoveryCodeExpiresAt": [
- 206
+ 207
],
"__typename": [
1
@@ -12771,19 +12791,19 @@ export default {
"UUID": {},
"UUIDFilterComparison": {
"eq": [
- 516
+ 517
],
"gt": [
- 516
+ 517
],
"gte": [
- 516
+ 517
],
"iLike": [
- 516
+ 517
],
"in": [
- 516
+ 517
],
"is": [
4
@@ -12792,25 +12812,25 @@ export default {
4
],
"like": [
- 516
+ 517
],
"lt": [
- 516
+ 517
],
"lte": [
- 516
+ 517
],
"neq": [
- 516
+ 517
],
"notILike": [
- 516
+ 517
],
"notIn": [
- 516
+ 517
],
"notLike": [
- 516
+ 517
],
"__typename": [
1
@@ -12819,22 +12839,22 @@ export default {
"UnsubscribeHostnameStatus": {},
"UnsubscribeTopic": {
"createdAt": [
- 206
+ 207
],
"description": [
1
],
"id": [
- 516
+ 517
],
"name": [
1
],
"updatedAt": [
- 206
+ 207
],
"visibility": [
- 520
+ 521
],
"__typename": [
1
@@ -12855,7 +12875,7 @@ export default {
6
],
"roleIds": [
- 516
+ 517
],
"__typename": [
1
@@ -12869,13 +12889,13 @@ export default {
1
],
"id": [
- 516
+ 517
],
"label": [
1
],
"modelConfiguration": [
- 308
+ 309
],
"modelId": [
1
@@ -12887,13 +12907,13 @@ export default {
1
],
"responseFormat": [
- 308
+ 309
],
"roleId": [
- 516
+ 517
],
"triggers": [
- 308
+ 309
],
"__typename": [
1
@@ -12904,7 +12924,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"name": [
1
@@ -12921,13 +12941,13 @@ export default {
1
],
"id": [
- 516
+ 517
],
"isSyncEnabled": [
4
],
"visibility": [
- 343
+ 344
],
"__typename": [
1
@@ -12946,7 +12966,7 @@ export default {
1
],
"update": [
- 527
+ 528
],
"__typename": [
1
@@ -12971,7 +12991,7 @@ export default {
1
],
"update": [
- 529
+ 530
],
"__typename": [
1
@@ -12993,10 +13013,10 @@ export default {
},
"UpdateCalendarChannelInput": {
"id": [
- 516
+ 517
],
"update": [
- 531
+ 532
],
"__typename": [
1
@@ -13004,7 +13024,7 @@ export default {
},
"UpdateCalendarChannelInputUpdates": {
"contactAutoCreationPolicy": [
- 125
+ 126
],
"excludePrivateEvents": [
4
@@ -13016,7 +13036,7 @@ export default {
4
],
"visibility": [
- 128
+ 129
],
"__typename": [
1
@@ -13024,13 +13044,13 @@ export default {
},
"UpdateCommandMenuItemInput": {
"availabilityObjectMetadataId": [
- 516
+ 517
],
"availabilityType": [
- 152
+ 153
],
"engineComponentKey": [
- 240
+ 241
],
"hotKeys": [
1
@@ -13039,7 +13059,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"isPinned": [
4
@@ -13048,7 +13068,7 @@ export default {
1
],
"pageLayoutId": [
- 516
+ 517
],
"position": [
6
@@ -13065,7 +13085,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -13073,7 +13093,7 @@ export default {
},
"UpdateFieldInput": {
"defaultValue": [
- 308
+ 309
],
"description": [
1
@@ -13112,22 +13132,22 @@ export default {
1
],
"morphRelationsUpdatePayload": [
- 308
+ 309
],
"name": [
1
],
"objectMetadataId": [
- 516
+ 517
],
"options": [
- 308
+ 309
],
"settings": [
- 308
+ 309
],
"translations": [
- 356
+ 357
],
"universalIdentifier": [
1
@@ -13138,10 +13158,10 @@ export default {
},
"UpdateFrontComponentInput": {
"id": [
- 516
+ 517
],
"update": [
- 536
+ 537
],
"__typename": [
1
@@ -13171,10 +13191,10 @@ export default {
},
"UpdateLogicFunctionFromSourceInput": {
"id": [
- 516
+ 517
],
"update": [
- 539
+ 540
],
"__typename": [
1
@@ -13182,10 +13202,10 @@ export default {
},
"UpdateLogicFunctionFromSourceInputUpdates": {
"cronTriggerSettings": [
- 308
+ 309
],
"databaseEventTriggerSettings": [
- 308
+ 309
],
"description": [
1
@@ -13194,7 +13214,7 @@ export default {
1
],
"httpRouteTriggerSettings": [
- 308
+ 309
],
"name": [
1
@@ -13209,10 +13229,10 @@ export default {
6
],
"toolTriggerSettings": [
- 308
+ 309
],
"workflowActionTriggerSettings": [
- 308
+ 309
],
"__typename": [
1
@@ -13220,10 +13240,10 @@ export default {
},
"UpdateMessageChannelInput": {
"id": [
- 516
+ 517
],
"update": [
- 541
+ 542
],
"__typename": [
1
@@ -13231,7 +13251,7 @@ export default {
},
"UpdateMessageChannelInputUpdates": {
"contactAutoCreationPolicy": [
- 338
+ 339
],
"excludeGroupEmails": [
4
@@ -13246,10 +13266,10 @@ export default {
4
],
"messageFolderImportPolicy": [
- 345
+ 346
],
"visibility": [
- 343
+ 344
],
"__typename": [
1
@@ -13257,10 +13277,10 @@ export default {
},
"UpdateMessageFolderInput": {
"id": [
- 516
+ 517
],
"update": [
- 543
+ 544
],
"__typename": [
1
@@ -13276,10 +13296,10 @@ export default {
},
"UpdateMessageFoldersInput": {
"ids": [
- 516
+ 517
],
"update": [
- 543
+ 544
],
"__typename": [
1
@@ -13290,7 +13310,7 @@ export default {
1
],
"folderId": [
- 516
+ 517
],
"icon": [
1
@@ -13302,7 +13322,7 @@ export default {
1
],
"pageLayoutId": [
- 516
+ 517
],
"position": [
6
@@ -13322,7 +13342,7 @@ export default {
1
],
"imageIdentifierFieldMetadataId": [
- 516
+ 517
],
"isActive": [
4
@@ -13334,7 +13354,7 @@ export default {
4
],
"labelIdentifierFieldMetadataId": [
- 516
+ 517
],
"labelPlural": [
1
@@ -13349,19 +13369,19 @@ export default {
1
],
"openRecordIn": [
- 376
+ 377
],
"readability": [
- 354
+ 355
],
"sharingReach": [
- 384
+ 385
],
"shortcut": [
1
],
"translations": [
- 356
+ 357
],
"__typename": [
1
@@ -13369,10 +13389,10 @@ export default {
},
"UpdateOneFieldMetadataInput": {
"id": [
- 516
+ 517
],
"update": [
- 534
+ 535
],
"__typename": [
1
@@ -13380,10 +13400,10 @@ export default {
},
"UpdateOneNavigationMenuItemInput": {
"id": [
- 516
+ 517
],
"update": [
- 545
+ 546
],
"__typename": [
1
@@ -13391,10 +13411,10 @@ export default {
},
"UpdateOneObjectInput": {
"id": [
- 516
+ 517
],
"update": [
- 546
+ 547
],
"__typename": [
1
@@ -13405,10 +13425,10 @@ export default {
1
],
"objectMetadataId": [
- 516
+ 517
],
"type": [
- 393
+ 394
],
"__typename": [
1
@@ -13419,7 +13439,7 @@ export default {
1
],
"layoutMode": [
- 392
+ 393
],
"position": [
6
@@ -13436,10 +13456,10 @@ export default {
1
],
"id": [
- 516
+ 517
],
"layoutMode": [
- 392
+ 393
],
"position": [
6
@@ -13448,7 +13468,7 @@ export default {
1
],
"widgets": [
- 554
+ 555
],
"__typename": [
1
@@ -13459,28 +13479,28 @@ export default {
1
],
"conditionalDisplay": [
- 308
+ 309
],
"configuration": [
- 308
+ 309
],
"isActive": [
4
],
"objectMetadataId": [
- 516
+ 517
],
"pageLayoutTabId": [
- 516
+ 517
],
"position": [
- 308
+ 309
],
"title": [
1
],
"type": [
- 643
+ 644
],
"__typename": [
1
@@ -13491,28 +13511,28 @@ export default {
1
],
"conditionalDisplay": [
- 308
+ 309
],
"configuration": [
- 308
+ 309
],
"id": [
- 516
+ 517
],
"objectMetadataId": [
- 516
+ 517
],
"pageLayoutTabId": [
- 516
+ 517
],
"position": [
- 308
+ 309
],
"title": [
1
],
"type": [
- 643
+ 644
],
"__typename": [
1
@@ -13526,13 +13546,13 @@ export default {
1
],
"objectMetadataId": [
- 516
+ 517
],
"tabs": [
- 552
+ 553
],
"type": [
- 393
+ 394
],
"__typename": [
1
@@ -13540,10 +13560,10 @@ export default {
},
"UpdateRoleInput": {
"id": [
- 516
+ 517
],
"update": [
- 557
+ 558
],
"__typename": [
1
@@ -13604,7 +13624,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"isActive": [
4
@@ -13624,7 +13644,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"isActive": [
4
@@ -13633,7 +13653,7 @@ export default {
1
],
"translations": [
- 356
+ 357
],
"__typename": [
1
@@ -13650,7 +13670,7 @@ export default {
1
],
"visibility": [
- 520
+ 521
],
"__typename": [
1
@@ -13658,10 +13678,10 @@ export default {
},
"UpdateUsageLimitInput": {
"id": [
- 516
+ 517
],
"payload": [
- 193
+ 194
],
"__typename": [
1
@@ -13669,10 +13689,10 @@ export default {
},
"UpdateValidationRuleInput": {
"id": [
- 516
+ 517
],
"update": [
- 563
+ 564
],
"__typename": [
1
@@ -13683,7 +13703,7 @@ export default {
1
],
"errorFieldMetadataId": [
- 516
+ 517
],
"expression": [
1
@@ -13706,10 +13726,10 @@ export default {
},
"UpdateViewFieldGroupInput": {
"id": [
- 516
+ 517
],
"update": [
- 565
+ 566
],
"__typename": [
1
@@ -13734,10 +13754,10 @@ export default {
},
"UpdateViewFieldInput": {
"id": [
- 516
+ 517
],
"update": [
- 567
+ 568
],
"__typename": [
1
@@ -13757,7 +13777,7 @@ export default {
6
],
"viewFieldGroupId": [
- 516
+ 517
],
"__typename": [
1
@@ -13765,19 +13785,19 @@ export default {
},
"UpdateViewFilterGroupInput": {
"id": [
- 516
+ 517
],
"logicalOperator": [
- 631
+ 632
],
"parentViewFilterGroupId": [
- 516
+ 517
],
"positionInViewFilterGroup": [
6
],
"viewId": [
- 516
+ 517
],
"__typename": [
1
@@ -13785,10 +13805,10 @@ export default {
},
"UpdateViewFilterInput": {
"id": [
- 516
+ 517
],
"update": [
- 570
+ 571
],
"__typename": [
1
@@ -13796,25 +13816,25 @@ export default {
},
"UpdateViewFilterInputUpdates": {
"fieldMetadataId": [
- 516
+ 517
],
"operand": [
- 632
+ 633
],
"positionInViewFilterGroup": [
6
],
"relationTargetFieldMetadataId": [
- 516
+ 517
],
"subFieldName": [
1
],
"value": [
- 308
+ 309
],
"viewFilterGroupId": [
- 516
+ 517
],
"__typename": [
1
@@ -13822,10 +13842,10 @@ export default {
},
"UpdateViewGroupInput": {
"id": [
- 516
+ 517
],
"update": [
- 572
+ 573
],
"__typename": [
1
@@ -13833,7 +13853,7 @@ export default {
},
"UpdateViewGroupInputUpdates": {
"fieldMetadataId": [
- 516
+ 517
],
"fieldValue": [
1
@@ -13853,13 +13873,13 @@ export default {
1
],
"calendarEndFieldMetadataId": [
- 516
+ 517
],
"calendarFieldMetadataId": [
- 516
+ 517
],
"calendarLayout": [
- 625
+ 626
],
"groupLoadLimit": [
10
@@ -13868,7 +13888,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"isCompact": [
4
@@ -13877,19 +13897,19 @@ export default {
26
],
"kanbanAggregateOperationFieldMetadataId": [
- 516
+ 517
],
"kanbanColumnWidth": [
10
],
"mainGroupByFieldMetadataId": [
- 516
+ 517
],
"name": [
1
],
"openRecordIn": [
- 635
+ 636
],
"position": [
6
@@ -13898,10 +13918,10 @@ export default {
4
],
"type": [
- 638
+ 639
],
"visibility": [
- 639
+ 640
],
"__typename": [
1
@@ -13909,10 +13929,10 @@ export default {
},
"UpdateViewSortInput": {
"id": [
- 516
+ 517
],
"update": [
- 575
+ 576
],
"__typename": [
1
@@ -13920,7 +13940,7 @@ export default {
},
"UpdateViewSortInputUpdates": {
"direction": [
- 637
+ 638
],
"subFieldName": [
1
@@ -13931,10 +13951,10 @@ export default {
},
"UpdateWebhookInput": {
"id": [
- 516
+ 517
],
"update": [
- 577
+ 578
],
"__typename": [
1
@@ -13973,16 +13993,16 @@ export default {
1
],
"aiAgentModelTier": [
- 28
+ 29
],
"aiChatModelTier": [
- 28
+ 29
],
"aiEvaluationModelId": [
1
],
"aiModelIdByTier": [
- 308
+ 309
],
"allowImpersonation": [
4
@@ -13991,7 +14011,7 @@ export default {
1
],
"defaultRoleId": [
- 516
+ 517
],
"displayName": [
1
@@ -14051,7 +14071,7 @@ export default {
6
],
"workspaceDiscoverability": [
- 653
+ 654
],
"__typename": [
1
@@ -14059,10 +14079,10 @@ export default {
},
"UpdateWorkspaceMemberSettingsInput": {
"update": [
- 308
+ 309
],
"workspaceMemberId": [
- 516
+ 517
],
"__typename": [
1
@@ -14071,10 +14091,10 @@ export default {
"Upload": {},
"UpsertFieldPermissionsInput": {
"fieldPermissions": [
- 269
+ 270
],
"roleId": [
- 516
+ 517
],
"__typename": [
1
@@ -14082,7 +14102,7 @@ export default {
},
"UpsertFieldsWidgetFieldInput": {
"fieldMetadataId": [
- 516
+ 517
],
"isVisible": [
4
@@ -14091,7 +14111,7 @@ export default {
6
],
"viewFieldId": [
- 516
+ 517
],
"__typename": [
1
@@ -14099,10 +14119,10 @@ export default {
},
"UpsertFieldsWidgetGroupInput": {
"fields": [
- 583
+ 584
],
"id": [
- 516
+ 517
],
"isVisible": [
4
@@ -14119,13 +14139,13 @@ export default {
},
"UpsertFieldsWidgetInput": {
"fields": [
- 583
+ 584
],
"groups": [
- 584
+ 585
],
"widgetId": [
- 516
+ 517
],
"__typename": [
1
@@ -14133,10 +14153,10 @@ export default {
},
"UpsertObjectPermissionsInput": {
"objectPermissions": [
- 378
+ 379
],
"roleId": [
- 516
+ 517
],
"__typename": [
1
@@ -14147,7 +14167,7 @@ export default {
1
],
"roleId": [
- 516
+ 517
],
"__typename": [
1
@@ -14155,16 +14175,16 @@ export default {
},
"UpsertRowLevelPermissionPredicatesInput": {
"objectMetadataId": [
- 516
+ 517
],
"predicateGroups": [
- 447
+ 448
],
"predicates": [
- 449
+ 450
],
"roleId": [
- 516
+ 517
],
"__typename": [
1
@@ -14172,10 +14192,10 @@ export default {
},
"UpsertRowLevelPermissionPredicatesResult": {
"predicateGroups": [
- 446
+ 447
],
"predicates": [
- 445
+ 446
],
"__typename": [
1
@@ -14183,22 +14203,22 @@ export default {
},
"UpsertViewWidgetInput": {
"view": [
- 594
+ 595
],
"viewFields": [
- 591
+ 592
],
"viewFilterGroups": [
- 592
+ 593
],
"viewFilters": [
- 593
+ 594
],
"viewSorts": [
- 595
+ 596
],
"widgetId": [
- 516
+ 517
],
"__typename": [
1
@@ -14209,7 +14229,7 @@ export default {
26
],
"fieldMetadataId": [
- 516
+ 517
],
"isVisible": [
4
@@ -14221,7 +14241,7 @@ export default {
6
],
"viewFieldId": [
- 516
+ 517
],
"__typename": [
1
@@ -14229,13 +14249,13 @@ export default {
},
"UpsertViewWidgetViewFilterGroupInput": {
"id": [
- 516
+ 517
],
"logicalOperator": [
- 631
+ 632
],
"parentViewFilterGroupId": [
- 516
+ 517
],
"positionInViewFilterGroup": [
6
@@ -14246,28 +14266,28 @@ export default {
},
"UpsertViewWidgetViewFilterInput": {
"fieldMetadataId": [
- 516
+ 517
],
"id": [
- 516
+ 517
],
"operand": [
- 632
+ 633
],
"positionInViewFilterGroup": [
6
],
"relationTargetFieldMetadataId": [
- 516
+ 517
],
"subFieldName": [
1
],
"value": [
- 308
+ 309
],
"viewFilterGroupId": [
- 516
+ 517
],
"__typename": [
1
@@ -14275,34 +14295,34 @@ export default {
},
"UpsertViewWidgetViewSettingsInput": {
"calendarEndFieldMetadataId": [
- 516
+ 517
],
"calendarFieldMetadataId": [
- 516
+ 517
],
"calendarLayout": [
- 625
+ 626
],
"kanbanAggregateOperation": [
26
],
"kanbanAggregateOperationFieldMetadataId": [
- 516
+ 517
],
"kanbanColumnWidth": [
10
],
"mainGroupByFieldMetadataId": [
- 516
+ 517
],
"openRecordIn": [
- 635
+ 636
],
"shouldHideEmptyGroups": [
4
],
"type": [
- 638
+ 639
],
"__typename": [
1
@@ -14310,13 +14330,13 @@ export default {
},
"UpsertViewWidgetViewSortInput": {
"direction": [
- 637
+ 638
],
"fieldMetadataId": [
- 516
+ 517
],
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -14324,28 +14344,28 @@ export default {
},
"UsageAnalytics": {
"periodEnd": [
- 206
+ 207
],
"periodStart": [
- 206
+ 207
],
"timeSeries": [
- 609
+ 610
],
"usageByApplication": [
- 598
+ 599
],
"usageByModel": [
- 598
+ 599
],
"usageByOperationType": [
- 598
+ 599
],
"usageByUser": [
- 598
+ 599
],
"userDailyUsage": [
- 611
+ 612
],
"__typename": [
1
@@ -14353,13 +14373,13 @@ export default {
},
"UsageAnalyticsInput": {
"operationTypes": [
- 601
+ 602
],
"periodEnd": [
- 206
+ 207
],
"periodStart": [
- 206
+ 207
],
"userWorkspaceId": [
1
@@ -14390,22 +14410,22 @@ export default {
},
"UsageLimit": {
"burstValue": [
- 95
+ 96
],
"createdAt": [
- 206
+ 207
],
"id": [
- 516
+ 517
],
"limitKind": [
1
],
"limitValue": [
- 95
+ 96
],
"operationType": [
- 601
+ 602
],
"periodCount": [
10
@@ -14414,7 +14434,7 @@ export default {
1
],
"resourceType": [
- 608
+ 609
],
"spenderId": [
1
@@ -14423,10 +14443,10 @@ export default {
1
],
"unit": [
- 610
+ 611
],
"updatedAt": [
- 206
+ 207
],
"__typename": [
1
@@ -14434,10 +14454,10 @@ export default {
},
"UsageLimitOperationDefinition": {
"allowedUnits": [
- 610
+ 611
],
"operationType": [
- 601
+ 602
],
"__typename": [
1
@@ -14446,7 +14466,7 @@ export default {
"UsageOperationType": {},
"UsageQuotaDefinition": {
"allowedOperations": [
- 600
+ 601
],
"allowedSpenderTypes": [
1
@@ -14455,10 +14475,10 @@ export default {
1
],
"operatorOnlyScopes": [
- 604
+ 605
],
"resourceType": [
- 608
+ 609
],
"__typename": [
1
@@ -14466,7 +14486,7 @@ export default {
},
"UsageQuotaDefinitions": {
"definitions": [
- 602
+ 603
],
"hasAllowancePeriod": [
4
@@ -14480,7 +14500,7 @@ export default {
},
"UsageQuotaOperatorOnlyScope": {
"operationType": [
- 601
+ 602
],
"periodUnit": [
1
@@ -14489,7 +14509,7 @@ export default {
1
],
"unit": [
- 610
+ 611
],
"__typename": [
1
@@ -14497,13 +14517,13 @@ export default {
},
"UsageQuotaScopeConsumption": {
"consumedValue": [
- 95
+ 96
],
"periodEnd": [
- 206
+ 207
],
"periodStart": [
- 206
+ 207
],
"__typename": [
1
@@ -14511,13 +14531,13 @@ export default {
},
"UsageQuotaScopeInput": {
"operationType": [
- 601
+ 602
],
"periodUnit": [
1
],
"resourceType": [
- 608
+ 609
],
"spenderId": [
1
@@ -14526,7 +14546,7 @@ export default {
1
],
"unit": [
- 610
+ 611
],
"__typename": [
1
@@ -14534,34 +14554,34 @@ export default {
},
"UsageQuotaWithConsumption": {
"consumedValue": [
- 95
+ 96
],
"id": [
- 516
+ 517
],
"isEnforced": [
4
],
"limitValue": [
- 95
+ 96
],
"operationType": [
- 601
+ 602
],
"periodEnd": [
- 206
+ 207
],
"periodStart": [
- 206
+ 207
],
"periodUnit": [
1
],
"remainingValue": [
- 95
+ 96
],
"resourceType": [
- 608
+ 609
],
"spenderId": [
1
@@ -14573,7 +14593,7 @@ export default {
1
],
"unit": [
- 610
+ 611
],
"__typename": [
1
@@ -14597,7 +14617,7 @@ export default {
"UsageUnit": {},
"UsageUserDaily": {
"dailyUsage": [
- 609
+ 610
],
"userWorkspaceId": [
1
@@ -14608,7 +14628,7 @@ export default {
},
"User": {
"availableWorkspaces": [
- 86
+ 87
],
"canAccessFullAdminPanel": [
4
@@ -14617,19 +14637,19 @@ export default {
4
],
"createdAt": [
- 206
+ 207
],
"currentUserWorkspace": [
- 616
+ 617
],
"currentWorkspace": [
- 647
+ 648
],
"deletedAt": [
- 206
+ 207
],
"deletedWorkspaceMembers": [
- 219
+ 220
],
"disabled": [
4
@@ -14644,7 +14664,7 @@ export default {
4
],
"id": [
- 516
+ 517
],
"isEmailVerified": [
4
@@ -14659,31 +14679,31 @@ export default {
1
],
"onboardingStatus": [
- 385
+ 386
],
"previousOnboardingStatus": [
- 385
+ 386
],
"supportUserHash": [
1
],
"updatedAt": [
- 206
+ 207
],
"userVars": [
- 309
+ 310
],
"userWorkspaces": [
- 616
+ 617
],
"workspaceMember": [
- 656
+ 657
],
"workspaceMembers": [
- 656
+ 657
],
"workspaces": [
- 616
+ 617
],
"__typename": [
1
@@ -14709,7 +14729,7 @@ export default {
1
],
"options": [
- 308
+ 309
],
"type": [
1
@@ -14727,13 +14747,13 @@ export default {
1
],
"createdAt": [
- 206
+ 207
],
"expiresAt": [
- 206
+ 207
],
"id": [
- 516
+ 517
],
"ipAddress": [
1
@@ -14745,13 +14765,13 @@ export default {
4
],
"lastActiveAt": [
- 206
+ 207
],
"userAgent": [
1
],
"workspaceId": [
- 516
+ 517
],
"__typename": [
1
@@ -14759,13 +14779,13 @@ export default {
},
"UserWorkspace": {
"createdAt": [
- 206
+ 207
],
"deletedAt": [
- 206
+ 207
],
"id": [
- 516
+ 517
],
"isImpersonating": [
4
@@ -14774,25 +14794,25 @@ export default {
1
],
"objectPermissions": [
- 377
+ 378
],
"objectsPermissions": [
- 377
+ 378
],
"permissionFlags": [
- 402
+ 403
],
"twoFactorAuthenticationMethodSummary": [
- 512
+ 513
],
"updatedAt": [
- 206
+ 207
],
"user": [
- 612
+ 613
],
"userId": [
- 516
+ 517
],
"__typename": [
1
@@ -14800,7 +14820,7 @@ export default {
},
"ValidateApprovedAccessDomainInput": {
"approvedAccessDomainId": [
- 516
+ 517
],
"validationToken": [
1
@@ -14817,7 +14837,7 @@ export default {
4
],
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -14828,7 +14848,7 @@ export default {
1
],
"errorFieldMetadataId": [
- 516
+ 517
],
"expression": [
1
@@ -14837,7 +14857,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"isActive": [
4
@@ -14849,7 +14869,7 @@ export default {
1
],
"objectMetadataId": [
- 516
+ 517
],
"__typename": [
1
@@ -14877,10 +14897,10 @@ export default {
},
"VerifyEmailAndGetLoginToken": {
"loginToken": [
- 80
+ 81
],
"workspaceUrls": [
- 665
+ 666
],
"__typename": [
1
@@ -14910,25 +14930,25 @@ export default {
1
],
"applicationId": [
- 516
+ 517
],
"calendarEndFieldMetadataId": [
- 516
+ 517
],
"calendarFieldMetadataId": [
- 516
+ 517
],
"calendarLayout": [
- 625
+ 626
],
"createdAt": [
- 206
+ 207
],
"createdByUserWorkspaceId": [
- 516
+ 517
],
"deletedAt": [
- 206
+ 207
],
"groupLoadLimit": [
10
@@ -14937,7 +14957,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"isActive": [
4
@@ -14955,25 +14975,25 @@ export default {
26
],
"kanbanAggregateOperationFieldMetadataId": [
- 516
+ 517
],
"kanbanColumnWidth": [
10
],
"key": [
- 634
+ 635
],
"mainGroupByFieldMetadataId": [
- 516
+ 517
],
"name": [
1
],
"objectMetadataId": [
- 516
+ 517
],
"openRecordIn": [
- 635
+ 636
],
"position": [
6
@@ -14982,37 +15002,37 @@ export default {
4
],
"type": [
- 638
+ 639
],
"universalIdentifier": [
- 516
+ 517
],
"updatedAt": [
- 206
+ 207
],
"viewFieldGroups": [
- 628
+ 629
],
"viewFields": [
- 627
+ 628
],
"viewFilterGroups": [
- 630
+ 631
],
"viewFilters": [
- 629
+ 630
],
"viewGroups": [
- 633
+ 634
],
"viewSorts": [
- 636
+ 637
],
"visibility": [
- 639
+ 640
],
"workspaceId": [
- 516
+ 517
],
"__typename": [
1
@@ -15021,7 +15041,7 @@ export default {
"ViewCalendarLayout": {},
"ViewConfiguration": {
"configurationType": [
- 642
+ 643
],
"__typename": [
1
@@ -15032,19 +15052,19 @@ export default {
26
],
"applicationId": [
- 516
+ 517
],
"createdAt": [
- 206
+ 207
],
"deletedAt": [
- 206
+ 207
],
"fieldMetadataId": [
- 516
+ 517
],
"id": [
- 516
+ 517
],
"isActive": [
4
@@ -15065,19 +15085,19 @@ export default {
6
],
"universalIdentifier": [
- 516
+ 517
],
"updatedAt": [
- 206
+ 207
],
"viewFieldGroupId": [
- 516
+ 517
],
"viewId": [
- 516
+ 517
],
"workspaceId": [
- 516
+ 517
],
"__typename": [
1
@@ -15085,13 +15105,13 @@ export default {
},
"ViewFieldGroup": {
"createdAt": [
- 206
+ 207
],
"deletedAt": [
- 206
+ 207
],
"id": [
- 516
+ 517
],
"isActive": [
4
@@ -15109,16 +15129,16 @@ export default {
6
],
"updatedAt": [
- 206
+ 207
],
"viewFields": [
- 627
+ 628
],
"viewId": [
- 516
+ 517
],
"workspaceId": [
- 516
+ 517
],
"__typename": [
1
@@ -15126,43 +15146,43 @@ export default {
},
"ViewFilter": {
"createdAt": [
- 206
+ 207
],
"deletedAt": [
- 206
+ 207
],
"fieldMetadataId": [
- 516
+ 517
],
"id": [
- 516
+ 517
],
"operand": [
- 632
+ 633
],
"positionInViewFilterGroup": [
6
],
"relationTargetFieldMetadataId": [
- 516
+ 517
],
"subFieldName": [
1
],
"updatedAt": [
- 206
+ 207
],
"value": [
- 308
+ 309
],
"viewFilterGroupId": [
- 516
+ 517
],
"viewId": [
- 516
+ 517
],
"workspaceId": [
- 516
+ 517
],
"__typename": [
1
@@ -15170,31 +15190,31 @@ export default {
},
"ViewFilterGroup": {
"createdAt": [
- 206
+ 207
],
"deletedAt": [
- 206
+ 207
],
"id": [
- 516
+ 517
],
"logicalOperator": [
- 631
+ 632
],
"parentViewFilterGroupId": [
- 516
+ 517
],
"positionInViewFilterGroup": [
6
],
"updatedAt": [
- 206
+ 207
],
"viewId": [
- 516
+ 517
],
"workspaceId": [
- 516
+ 517
],
"__typename": [
1
@@ -15204,16 +15224,16 @@ export default {
"ViewFilterOperand": {},
"ViewGroup": {
"createdAt": [
- 206
+ 207
],
"deletedAt": [
- 206
+ 207
],
"fieldValue": [
1
],
"id": [
- 516
+ 517
],
"isVisible": [
4
@@ -15222,13 +15242,13 @@ export default {
6
],
"updatedAt": [
- 206
+ 207
],
"viewId": [
- 516
+ 517
],
"workspaceId": [
- 516
+ 517
],
"__typename": [
1
@@ -15238,31 +15258,31 @@ export default {
"ViewOpenRecordIn": {},
"ViewSort": {
"createdAt": [
- 206
+ 207
],
"deletedAt": [
- 206
+ 207
],
"direction": [
- 637
+ 638
],
"fieldMetadataId": [
- 516
+ 517
],
"id": [
- 516
+ 517
],
"subFieldName": [
1
],
"updatedAt": [
- 206
+ 207
],
"viewId": [
- 516
+ 517
],
"workspaceId": [
- 516
+ 517
],
"__typename": [
1
@@ -15273,19 +15293,19 @@ export default {
"ViewVisibility": {},
"Webhook": {
"applicationId": [
- 516
+ 517
],
"createdAt": [
- 206
+ 207
],
"deletedAt": [
- 206
+ 207
],
"description": [
1
],
"id": [
- 516
+ 517
],
"operations": [
1
@@ -15297,7 +15317,7 @@ export default {
1
],
"updatedAt": [
- 206
+ 207
],
"__typename": [
1
@@ -15308,88 +15328,88 @@ export default {
25
],
"on_BarChartConfiguration": [
- 89
+ 90
],
"on_CalendarConfiguration": [
- 129
+ 130
],
"on_CallRecordingSummaryConfiguration": [
- 130
+ 131
],
"on_CallRecordingTranscriptConfiguration": [
- 131
+ 132
],
"on_ChatConfiguration": [
- 139
+ 140
],
"on_ChatThreadsConfiguration": [
- 142
+ 143
],
"on_EmailThreadConfiguration": [
- 235
+ 236
],
"on_EmailsConfiguration": [
- 239
+ 240
],
"on_FieldConfiguration": [
- 262
+ 263
],
"on_FieldRichTextConfiguration": [
- 270
+ 271
],
"on_FieldsConfiguration": [
- 271
+ 272
],
"on_FilesConfiguration": [
- 277
+ 278
],
"on_FormFieldConfiguration": [
- 280
+ 281
],
"on_FrontComponentConfiguration": [
- 282
+ 283
],
"on_IframeConfiguration": [
- 292
+ 293
],
"on_LineChartConfiguration": [
- 312
+ 313
],
"on_MessageCampaignBodyConfiguration": [
- 334
+ 335
],
"on_MessageCampaignDetailsConfiguration": [
- 335
+ 336
],
"on_NotesConfiguration": [
- 368
+ 369
],
"on_PieChartConfiguration": [
- 403
+ 404
],
"on_RecordTableConfiguration": [
- 433
+ 434
],
"on_StandaloneRichTextConfiguration": [
- 484
+ 485
],
"on_TasksConfiguration": [
- 493
+ 494
],
"on_TimelineConfiguration": [
- 497
+ 498
],
"on_ViewConfiguration": [
- 626
+ 627
],
"on_WorkflowConfiguration": [
- 644
+ 645
],
"on_WorkflowRunConfiguration": [
- 645
+ 646
],
"on_WorkflowVersionConfiguration": [
- 646
+ 647
],
"__typename": [
1
@@ -15399,7 +15419,7 @@ export default {
"WidgetType": {},
"WorkflowConfiguration": {
"configurationType": [
- 642
+ 643
],
"__typename": [
1
@@ -15407,7 +15427,7 @@ export default {
},
"WorkflowRunConfiguration": {
"configurationType": [
- 642
+ 643
],
"__typename": [
1
@@ -15415,7 +15435,7 @@ export default {
},
"WorkflowVersionConfiguration": {
"configurationType": [
- 642
+ 643
],
"__typename": [
1
@@ -15423,22 +15443,22 @@ export default {
},
"Workspace": {
"activationStatus": [
- 648
+ 649
],
"aiAdditionalInstructions": [
1
],
"aiAgentModelTier": [
- 28
+ 29
],
"aiChatModelTier": [
- 28
+ 29
],
"aiEvaluationModelId": [
1
],
"aiModelIdByTier": [
- 308
+ 309
],
"allowImpersonation": [
4
@@ -15447,19 +15467,19 @@ export default {
1
],
"billingCustomer": [
- 97
+ 98
],
"billingEntitlements": [
- 99
+ 100
],
"billingSubscriptions": [
- 115
+ 116
],
"createdAt": [
- 206
+ 207
],
"currentBillingSubscription": [
- 115
+ 116
],
"customDomain": [
1
@@ -15468,10 +15488,10 @@ export default {
1
],
"defaultRole": [
- 442
+ 443
],
"deletedAt": [
- 206
+ 207
],
"displayName": [
1
@@ -15483,7 +15503,7 @@ export default {
6
],
"featureFlags": [
- 259
+ 260
],
"hasValidEnterpriseValidityToken": [
4
@@ -15492,10 +15512,10 @@ export default {
4
],
"id": [
- 516
+ 517
],
"installedApplications": [
- 43
+ 44
],
"inviteHash": [
1
@@ -15543,7 +15563,7 @@ export default {
1
],
"logoFileId": [
- 516
+ 517
],
"metadataVersion": [
6
@@ -15555,40 +15575,40 @@ export default {
6
],
"updatedAt": [
- 206
+ 207
],
"viewFields": [
- 627
+ 628
],
"viewFilterGroups": [
- 630
+ 631
],
"viewFilters": [
- 629
+ 630
],
"viewGroups": [
- 633
+ 634
],
"viewSorts": [
- 636
+ 637
],
"views": [
- 624
+ 625
],
"workspaceCustomApplication": [
- 43
+ 44
],
"workspaceCustomApplicationId": [
1
],
"workspaceDiscoverability": [
- 653
+ 654
],
"workspaceMembersCount": [
6
],
"workspaceUrls": [
- 665
+ 666
],
"__typename": [
1
@@ -15612,19 +15632,19 @@ export default {
"WorkspaceCompanyEnrichmentOutcome": {},
"WorkspaceCompanyEnrichmentResult": {
"enrichment": [
- 308
+ 309
],
"isBookCallOnboardingStepPending": [
4
],
"outcome": [
- 650
+ 651
],
"personEnrichment": [
- 308
+ 309
],
"personOutcome": [
- 663
+ 664
],
"__typename": [
1
@@ -15647,13 +15667,13 @@ export default {
1
],
"expiresAt": [
- 206
+ 207
],
"id": [
- 516
+ 517
],
"roleId": [
- 516
+ 517
],
"__typename": [
1
@@ -15678,28 +15698,28 @@ export default {
1
],
"dateFormat": [
- 658
+ 659
],
"id": [
- 516
+ 517
],
"locale": [
1
],
"name": [
- 284
+ 285
],
"numberFormat": [
- 659
+ 660
],
"openRecordIn": [
- 388
+ 389
],
"roles": [
- 442
+ 443
],
"timeFormat": [
- 660
+ 661
],
"timeZone": [
1
@@ -15711,10 +15731,10 @@ export default {
1
],
"userId": [
- 516
+ 517
],
"userWorkspaceId": [
- 516
+ 517
],
"__typename": [
1
@@ -15722,13 +15742,13 @@ export default {
},
"WorkspaceMemberApplicationVariables": {
"userWorkspaceId": [
- 516
+ 517
],
"variables": [
- 613
+ 614
],
"workspaceMemberId": [
- 516
+ 517
],
"__typename": [
1
@@ -15739,7 +15759,7 @@ export default {
"WorkspaceMemberTimeFormatEnum": {},
"WorkspaceMigration": {
"actions": [
- 308
+ 309
],
"applicationUniversalIdentifier": [
1
@@ -15753,7 +15773,7 @@ export default {
1
],
"id": [
- 516
+ 517
],
"__typename": [
1
@@ -15774,10 +15794,10 @@ export default {
},
"WorkspaceUrlsAndId": {
"id": [
- 516
+ 517
],
"workspaceUrls": [
- 665
+ 666
],
"__typename": [
1
diff --git a/packages/twenty-front/src/generated-metadata/graphql.ts b/packages/twenty-front/src/generated-metadata/graphql.ts
index 9fcd5bc082e..95b43bbb7cb 100644
--- a/packages/twenty-front/src/generated-metadata/graphql.ts
+++ b/packages/twenty-front/src/generated-metadata/graphql.ts
@@ -280,6 +280,13 @@ export type AiChatUsage = {
periodEnd?: Maybe<Scalars['DateTime']['output']>;
};
+export type AiChatUserCreditsUsage = {
+ __typename?: 'AiChatUserCreditsUsage';
+ consumedValue?: Maybe<Scalars['BigInt']['output']>;
+ limitValue: Scalars['BigInt']['output'];
+ periodEnd: Scalars['DateTime']['output'];
+};
+
export enum AiModelTier {
balanced = 'balanced',
extraFast = 'extraFast',
@@ -1111,6 +1118,7 @@ export type BillingSubscription = {
cancelAt?: Maybe<Scalars['DateTime']['output']>;
collectionMethod?: Maybe<BillingSubscriptionCollectionMethod>;
currentPeriodEnd?: Maybe<Scalars['DateTime']['output']>;
+ hasUserCredits?: Maybe<Scalars['Boolean']['output']>;
id: Scalars['UUID']['output'];
interval?: Maybe<SubscriptionInterval>;
metadata: Scalars['JSON']['output'];
@@ -5612,6 +5620,7 @@ export type Query = {
agentChatOpenThreadsSummary: AgentChatOpenThreadsSummary;
agentRuns: Array<AgentRun>;
aiChatUsage?: Maybe<AiChatUsage>;
+ aiChatUserCreditsUsage?: Maybe<AiChatUserCreditsUsage>;
apiKey?: Maybe<ApiKey>;
apiKeys: Array<ApiKey>;
appConnection: AppConnection;
@@ -8823,7 +8832,7 @@ export type GetAgentRunsQuery = { __typename?: 'Query', agentRuns: Array<{ __typ
export type GetAiChatUsageQueryVariables = Exact<{ [key: string]: never; }>;
-export type GetAiChatUsageQuery = { __typename?: 'Query', aiChatUsage?: { __typename?: 'AiChatUsage', limitValue: any, consumedValue?: any | null, periodEnd?: string | null, kind: string } | null };
+export type GetAiChatUsageQuery = { __typename?: 'Query', aiChatUsage?: { __typename?: 'AiChatUsage', limitValue: any, consumedValue?: any | null, periodEnd?: string | null, kind: string } | null, aiChatUserCreditsUsage?: { __typename?: 'AiChatUserCreditsUsage', limitValue: any, consumedValue?: any | null, periodEnd: string } | null };
export type GetChatMessagesQueryVariables = Exact<{
threadId: Scalars['UUID']['input'];
@@ -10400,7 +10409,7 @@ export type BillingSubscriptionSchedulePhaseItemFragmentFragment = { __typename?
export type CancelSwitchBillingIntervalMutationVariables = Exact<{ [key: string]: never; }>;
-export type CancelSwitchBillingIntervalMutation = { __typename?: 'Mutation', cancelSwitchBillingInterval: { __typename?: 'BillingUpdate', currentBillingSubscription: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, collectionMethod?: BillingSubscriptionCollectionMethod | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, unitAmount?: number | null, creditAmount?: number | null, billingProduct:
+export type CancelSwitchBillingIntervalMutation = { __typename?: 'Mutation', cancelSwitchBillingInterval: { __typename?: 'BillingUpdate', currentBillingSubscription: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, collectionMethod?: BillingSubscriptionCollectionMethod | null, hasUserCredits?: boolean | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, unitAmount?: number | null, creditAmount?: number | null, billingProduct:
| { __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType, isLegacy?: string | null } }
| { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType, isLegacy?: string | null } }
}> | null }, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, metadata: any, cancelAt?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }> }> } };
@@ -10408,7 +10417,7 @@ export type CancelSwitchBillingIntervalMutation = { __typename?: 'Mutation', can
export type CancelSwitchBillingPlanMutationVariables = Exact<{ [key: string]: never; }>;
-export type CancelSwitchBillingPlanMutation = { __typename?: 'Mutation', cancelSwitchBillingPlan: { __typename?: 'BillingUpdate', currentBillingSubscription: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, collectionMethod?: BillingSubscriptionCollectionMethod | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, unitAmount?: number | null, creditAmount?: number | null, billingProduct:
+export type CancelSwitchBillingPlanMutation = { __typename?: 'Mutation', cancelSwitchBillingPlan: { __typename?: 'BillingUpdate', currentBillingSubscription: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, collectionMethod?: BillingSubscriptionCollectionMethod | null, hasUserCredits?: boolean | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, unitAmount?: number | null, creditAmount?: number | null, billingProduct:
| { __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType, isLegacy?: string | null } }
| { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType, isLegacy?: string | null } }
}> | null }, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, metadata: any, cancelAt?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }> }> } };
@@ -10416,7 +10425,7 @@ export type CancelSwitchBillingPlanMutation = { __typename?: 'Mutation', cancelS
export type CancelSwitchResourceCreditPriceMutationVariables = Exact<{ [key: string]: never; }>;
-export type CancelSwitchResourceCreditPriceMutation = { __typename?: 'Mutation', cancelSwitchResourceCreditPrice: { __typename?: 'BillingUpdate', currentBillingSubscription: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, collectionMethod?: BillingSubscriptionCollectionMethod | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, unitAmount?: number | null, creditAmount?: number | null, billingProduct:
+export type CancelSwitchResourceCreditPriceMutation = { __typename?: 'Mutation', cancelSwitchResourceCreditPrice: { __typename?: 'BillingUpdate', currentBillingSubscription: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, collectionMethod?: BillingSubscriptionCollectionMethod | null, hasUserCredits?: boolean | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, unitAmount?: number | null, creditAmount?: number | null, billingProduct:
| { __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType, isLegacy?: string | null } }
| { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType, isLegacy?: string | null } }
}> | null }, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, metadata: any, cancelAt?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }> }> } };
@@ -10462,7 +10471,7 @@ export type DeleteUsageLimitMutation = { __typename?: 'Mutation', deleteUsageLim
export type EndSubscriptionTrialPeriodMutationVariables = Exact<{ [key: string]: never; }>;
-export type EndSubscriptionTrialPeriodMutation = { __typename?: 'Mutation', endSubscriptionTrialPeriod: { __typename?: 'BillingEndTrialPeriod', status?: SubscriptionStatus | null, hasPaymentMethod: boolean, billingPortalUrl?: string | null, currentBillingSubscription?: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, collectionMethod?: BillingSubscriptionCollectionMethod | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, unitAmount?: number | null, creditAmount?: number | null, billingProduct:
+export type EndSubscriptionTrialPeriodMutation = { __typename?: 'Mutation', endSubscriptionTrialPeriod: { __typename?: 'BillingEndTrialPeriod', status?: SubscriptionStatus | null, hasPaymentMethod: boolean, billingPortalUrl?: string | null, currentBillingSubscription?: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, collectionMethod?: BillingSubscriptionCollectionMethod | null, hasUserCredits?: boolean | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, unitAmount?: number | null, creditAmount?: number | null, billingProduct:
| { __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType, isLegacy?: string | null } }
| { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType, isLegacy?: string | null } }
}> | null } | null, billingSubscriptions?: Array<{ __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, metadata: any, cancelAt?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }> }> | null } };
@@ -10472,7 +10481,7 @@ export type SetResourceCreditSubscriptionPriceMutationVariables = Exact<{
}>;
-export type SetResourceCreditSubscriptionPriceMutation = { __typename?: 'Mutation', setResourceCreditSubscriptionPrice: { __typename?: 'BillingUpdate', currentBillingSubscription: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, collectionMethod?: BillingSubscriptionCollectionMethod | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, unitAmount?: number | null, creditAmount?: number | null, billingProduct:
+export type SetResourceCreditSubscriptionPriceMutation = { __typename?: 'Mutation', setResourceCreditSubscriptionPrice: { __typename?: 'BillingUpdate', currentBillingSubscription: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, collectionMethod?: BillingSubscriptionCollectionMethod | null, hasUserCredits?: boolean | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, unitAmount?: number | null, creditAmount?: number | null, billingProduct:
| { __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType, isLegacy?: string | null } }
| { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType, isLegacy?: string | null } }
}> | null }, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, metadata: any, cancelAt?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }> }> } };
@@ -10482,7 +10491,7 @@ export type SwitchBillingPlanMutationVariables = Exact<{
}>;
-export type SwitchBillingPlanMutation = { __typename?: 'Mutation', switchBillingPlan: { __typename?: 'BillingUpdate', currentBillingSubscription: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, collectionMethod?: BillingSubscriptionCollectionMethod | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, unitAmount?: number | null, creditAmount?: number | null, billingProduct:
+export type SwitchBillingPlanMutation = { __typename?: 'Mutation', switchBillingPlan: { __typename?: 'BillingUpdate', currentBillingSubscription: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, collectionMethod?: BillingSubscriptionCollectionMethod | null, hasUserCredits?: boolean | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, unitAmount?: number | null, creditAmount?: number | null, billingProduct:
| { __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType, isLegacy?: string | null } }
| { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType, isLegacy?: string | null } }
}> | null }, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, metadata: any, cancelAt?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }> }> } };
@@ -10490,7 +10499,7 @@ export type SwitchBillingPlanMutation = { __typename?: 'Mutation', switchBilling
export type SwitchSubscriptionIntervalMutationVariables = Exact<{ [key: string]: never; }>;
-export type SwitchSubscriptionIntervalMutation = { __typename?: 'Mutation', switchSubscriptionInterval: { __typename?: 'BillingUpdate', currentBillingSubscription: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, collectionMethod?: BillingSubscriptionCollectionMethod | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, unitAmount?: number | null, creditAmount?: number | null, billingProduct:
+export type SwitchSubscriptionIntervalMutation = { __typename?: 'Mutation', switchSubscriptionInterval: { __typename?: 'BillingUpdate', currentBillingSubscription: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, collectionMethod?: BillingSubscriptionCollectionMethod | null, hasUserCredits?: boolean | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, unitAmount?: number | null, creditAmount?: number | null, billingProduct:
| { __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType, isLegacy?: string | null } }
| { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType, isLegacy?: string | null } }
}> | null }, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, metadata: any, cancelAt?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }> }> } };
@@ -10502,6 +10511,13 @@ export type UpdateUsageLimitMutationVariables = Exact<{
export type UpdateUsageLimitMutation = { __typename?: 'Mutation', updateUsageLimit: { __typename?: 'UsageLimit', id: string } };
+export type UpdateUserCreditsFallbackMutationVariables = Exact<{
+ userCreditsFallback: UserCreditsFallback;
+}>;
+
+
+export type UpdateUserCreditsFallbackMutation = { __typename?: 'Mutation', updateUserCreditsFallback: { __typename?: 'BillingCustomer', id: string, userCreditsFallback: UserCreditsFallback } };
+
export type BillingPortalSessionQueryVariables = Exact<{
returnUrlPath?: InputMaybe<Scalars['String']['input']>;
forPaymentMethodUpdate?: InputMaybe<Scalars['Boolean']['input']>;
@@ -10985,12 +11001,12 @@ export type OnEventSubscriptionSubscription = { __typename?: 'Subscription', onE
export type BillingSubscriptionFragmentFragment = { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, metadata: any, cancelAt?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }> };
-export type CurrentBillingSubscriptionFragmentFragment = { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, collectionMethod?: BillingSubscriptionCollectionMethod | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, unitAmount?: number | null, creditAmount?: number | null, billingProduct:
+export type CurrentBillingSubscriptionFragmentFragment = { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, collectionMethod?: BillingSubscriptionCollectionMethod | null, hasUserCredits?: boolean | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, unitAmount?: number | null, creditAmount?: number | null, billingProduct:
| { __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType, isLegacy?: string | null } }
| { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType, isLegacy?: string | null } }
}> | null };
-export type UserQueryFragmentFragment = { __typename?: 'User', id: string, firstName: string, lastName: string, email: string, hasPassword: boolean, canAccessFullAdminPanel: boolean, canImpersonate: boolean, supportUserHash?: string | null, onboardingStatus?: OnboardingStatus | null, previousOnboardingStatus?: OnboardingStatus | null, isWorkspaceCreator?: boolean | null, userVars?: any | null, workspaceMember?: { __typename?: 'WorkspaceMember', id: string, colorScheme: string, uiScale: string, openRecordIn: OpenRecordIn, avatarUrl?: string | null, locale?: string | null, userEmail: string, userId: string, userWorkspaceId?: string | null, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, numberFormat?: WorkspaceMemberNumberFormatEnum | null, name: { __typename?: 'FullName', firstName: string, lastName: string } } | null, workspaceMembers?: Array<{ __typename?: 'WorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, userId: string, userWorkspaceId?: string | null, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, deletedWorkspaceMembers?: Array<{ __typename?: 'DeletedWorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, currentUserWorkspace?: { __typename?: 'UserWorkspace', id: string, permissionFlags?: Array<PermissionFlagType> | null, isImpersonating?: boolean | null, objectsPermissions?: Array<{ __typename?: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null, rowLevelPermissionPredicates?: Array<{ __typename?: 'RowLevelPermissionPredicate', id: string, fieldMetadataId: string, objectMetadataId: string, operand: RowLevelPermissionPredicateOperand, subFieldName?: string | null, workspaceMemberFieldMetadataId?: string | null, workspaceMemberSubFieldName?: string | null, rowLevelPermissionPredicateGroupId?: string | null, positionInRowLevelPermissionPredicateGroup?: number | null, roleId: string, value?: any | null }> | null, rowLevelPermissionPredicateGroups?: Array<{ __typename?: 'RowLevelPermissionPredicateGroup', id: string, parentRowLevelPermissionPredicateGroupId?: string | null, logicalOperator: RowLevelPermissionPredicateGroupLogicalOperator, positionInRowLevelPermissionPredicateGroup?: number | null, roleId: string, objectMetadataId: string }> | null }> | null, twoFactorAuthenticationMethodSummary?: Array<{ __typename?: 'TwoFactorAuthenticationMethodSummary', twoFactorAuthenticationMethodId: string, status: string, strategy: string }> | null } | null, currentWorkspace?: { __typename?: 'Workspace', id: string, displayName?: string | null, logo?: string | null, inviteHash?: string | null, allowImpersonation: boolean, activationStatus: WorkspaceActivationStatus, isPublicInviteLinkEnabled: boolean, isCampaignClickTrackingEnabled: boolean, isCampaignOpenTrackingEnabled: boolean, workspaceDiscoverability: WorkspaceDiscoverability, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, isGoogleAuthBypassEnabled: boolean, isMicrosoftAuthBypassEnabled: boolean, isPasswordAuthBypassEnabled: boolean, subdomain: string, customDomain?: string | null, hasValidSignedEnterpriseKey: boolean, hasValidEnterpriseValidityToken: boolean, isCustomDomainEnabled: boolean, workspaceMembersCount?: number | null, aiChatModelTier: AiModelTier, aiAgentModelTier: AiModelTier, isAutoModelSelectionEnabled: boolean, aiModelIdByTier: any, aiAdditionalInstructions?: string | null, isTwoFactorAuthenticationEnforced: boolean, trashRetentionDays: number, eventLogRetentionDays: number, editableProfileFields?: Array<string> | null, isInternalMessagesImportEnabled: boolean, workspaceCustomApplication?: { __typename?: 'Application', id: string } | null, installedApplications: Array<{ __typename?: 'Application', id: string, name: string, universalIdentifier: string, logoUrl?: string | null, createdAt: string }>, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, featureFlags?: Array<{ __typename?: 'FeatureFlag', key: FeatureFlagKey, value: boolean }> | null, currentBillingSubscription?: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, collectionMethod?: BillingSubscriptionCollectionMethod | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, unitAmount?: number | null, creditAmount?: number | null, billingProduct:
+export type UserQueryFragmentFragment = { __typename?: 'User', id: string, firstName: string, lastName: string, email: string, hasPassword: boolean, canAccessFullAdminPanel: boolean, canImpersonate: boolean, supportUserHash?: string | null, onboardingStatus?: OnboardingStatus | null, previousOnboardingStatus?: OnboardingStatus | null, isWorkspaceCreator?: boolean | null, userVars?: any | null, workspaceMember?: { __typename?: 'WorkspaceMember', id: string, colorScheme: string, uiScale: string, openRecordIn: OpenRecordIn, avatarUrl?: string | null, locale?: string | null, userEmail: string, userId: string, userWorkspaceId?: string | null, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, numberFormat?: WorkspaceMemberNumberFormatEnum | null, name: { __typename?: 'FullName', firstName: string, lastName: string } } | null, workspaceMembers?: Array<{ __typename?: 'WorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, userId: string, userWorkspaceId?: string | null, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, deletedWorkspaceMembers?: Array<{ __typename?: 'DeletedWorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, currentUserWorkspace?: { __typename?: 'UserWorkspace', id: string, permissionFlags?: Array<PermissionFlagType> | null, isImpersonating?: boolean | null, objectsPermissions?: Array<{ __typename?: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null, rowLevelPermissionPredicates?: Array<{ __typename?: 'RowLevelPermissionPredicate', id: string, fieldMetadataId: string, objectMetadataId: string, operand: RowLevelPermissionPredicateOperand, subFieldName?: string | null, workspaceMemberFieldMetadataId?: string | null, workspaceMemberSubFieldName?: string | null, rowLevelPermissionPredicateGroupId?: string | null, positionInRowLevelPermissionPredicateGroup?: number | null, roleId: string, value?: any | null }> | null, rowLevelPermissionPredicateGroups?: Array<{ __typename?: 'RowLevelPermissionPredicateGroup', id: string, parentRowLevelPermissionPredicateGroupId?: string | null, logicalOperator: RowLevelPermissionPredicateGroupLogicalOperator, positionInRowLevelPermissionPredicateGroup?: number | null, roleId: string, objectMetadataId: string }> | null }> | null, twoFactorAuthenticationMethodSummary?: Array<{ __typename?: 'TwoFactorAuthenticationMethodSummary', twoFactorAuthenticationMethodId: string, status: string, strategy: string }> | null } | null, currentWorkspace?: { __typename?: 'Workspace', id: string, displayName?: string | null, logo?: string | null, inviteHash?: string | null, allowImpersonation: boolean, activationStatus: WorkspaceActivationStatus, isPublicInviteLinkEnabled: boolean, isCampaignClickTrackingEnabled: boolean, isCampaignOpenTrackingEnabled: boolean, workspaceDiscoverability: WorkspaceDiscoverability, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, isGoogleAuthBypassEnabled: boolean, isMicrosoftAuthBypassEnabled: boolean, isPasswordAuthBypassEnabled: boolean, subdomain: string, customDomain?: string | null, hasValidSignedEnterpriseKey: boolean, hasValidEnterpriseValidityToken: boolean, isCustomDomainEnabled: boolean, workspaceMembersCount?: number | null, aiChatModelTier: AiModelTier, aiAgentModelTier: AiModelTier, isAutoModelSelectionEnabled: boolean, aiModelIdByTier: any, aiAdditionalInstructions?: string | null, isTwoFactorAuthenticationEnforced: boolean, trashRetentionDays: number, eventLogRetentionDays: number, editableProfileFields?: Array<string> | null, isInternalMessagesImportEnabled: boolean, workspaceCustomApplication?: { __typename?: 'Application', id: string } | null, installedApplications: Array<{ __typename?: 'Application', id: string, name: string, universalIdentifier: string, logoUrl?: string | null, createdAt: string }>, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, featureFlags?: Array<{ __typename?: 'FeatureFlag', key: FeatureFlagKey, value: boolean }> | null, currentBillingSubscription?: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, collectionMethod?: BillingSubscriptionCollectionMethod | null, hasUserCredits?: boolean | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, unitAmount?: number | null, creditAmount?: number | null, billingProduct:
| { __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType, isLegacy?: string | null } }
| { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType, isLegacy?: string | null } }
}> | null } | null, billingCustomer?: { __typename?: 'BillingCustomer', id: string, hasPaymentMethod?: boolean | null, userCreditsFallback: UserCreditsFallback } | null, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, metadata: any, cancelAt?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }> }>, billingEntitlements: Array<{ __typename?: 'BillingEntitlement', key: BillingEntitlementKey, value: boolean }>, defaultRole?: { __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, canAccessAllAgentChatChannels: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean, canBeAssignedToUsers: boolean, canBeAssignedToAgents: boolean, canBeAssignedToApiKeys: boolean, applicationId: string, universalIdentifier?: string | null } | null } | null, availableWorkspaces: { __typename?: 'AvailableWorkspaces', availableWorkspacesForSignIn: Array<{ __typename?: 'AvailableWorkspace', id: string, displayName?: string | null, loginToken?: string | null, inviteHash?: string | null, personalInviteToken?: string | null, logo?: string | null, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, sso: Array<{ __typename?: 'SSOConnection', type: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }>, availableWorkspacesForSignUp: Array<{ __typename?: 'AvailableWorkspace', id: string, displayName?: string | null, loginToken?: string | null, inviteHash?: string | null, personalInviteToken?: string | null, logo?: string | null, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, sso: Array<{ __typename?: 'SSOConnection', type: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }> } };
@@ -11012,7 +11028,7 @@ export type DeleteUserWorkspaceMutation = { __typename?: 'Mutation', deleteUserF
export type GetCurrentUserQueryVariables = Exact<{ [key: string]: never; }>;
-export type GetCurrentUserQuery = { __typename?: 'Query', currentUser: { __typename?: 'User', id: string, firstName: string, lastName: string, email: string, hasPassword: boolean, canAccessFullAdminPanel: boolean, canImpersonate: boolean, supportUserHash?: string | null, onboardingStatus?: OnboardingStatus | null, previousOnboardingStatus?: OnboardingStatus | null, isWorkspaceCreator?: boolean | null, userVars?: any | null, workspaceMember?: { __typename?: 'WorkspaceMember', id: string, colorScheme: string, uiScale: string, openRecordIn: OpenRecordIn, avatarUrl?: string | null, locale?: string | null, userEmail: string, userId: string, userWorkspaceId?: string | null, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, numberFormat?: WorkspaceMemberNumberFormatEnum | null, name: { __typename?: 'FullName', firstName: string, lastName: string } } | null, workspaceMembers?: Array<{ __typename?: 'WorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, userId: string, userWorkspaceId?: string | null, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, deletedWorkspaceMembers?: Array<{ __typename?: 'DeletedWorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, currentUserWorkspace?: { __typename?: 'UserWorkspace', id: string, permissionFlags?: Array<PermissionFlagType> | null, isImpersonating?: boolean | null, objectsPermissions?: Array<{ __typename?: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null, rowLevelPermissionPredicates?: Array<{ __typename?: 'RowLevelPermissionPredicate', id: string, fieldMetadataId: string, objectMetadataId: string, operand: RowLevelPermissionPredicateOperand, subFieldName?: string | null, workspaceMemberFieldMetadataId?: string | null, workspaceMemberSubFieldName?: string | null, rowLevelPermissionPredicateGroupId?: string | null, positionInRowLevelPermissionPredicateGroup?: number | null, roleId: string, value?: any | null }> | null, rowLevelPermissionPredicateGroups?: Array<{ __typename?: 'RowLevelPermissionPredicateGroup', id: string, parentRowLevelPermissionPredicateGroupId?: string | null, logicalOperator: RowLevelPermissionPredicateGroupLogicalOperator, positionInRowLevelPermissionPredicateGroup?: number | null, roleId: string, objectMetadataId: string }> | null }> | null, twoFactorAuthenticationMethodSummary?: Array<{ __typename?: 'TwoFactorAuthenticationMethodSummary', twoFactorAuthenticationMethodId: string, status: string, strategy: string }> | null } | null, currentWorkspace?: { __typename?: 'Workspace', id: string, displayName?: string | null, logo?: string | null, inviteHash?: string | null, allowImpersonation: boolean, activationStatus: WorkspaceActivationStatus, isPublicInviteLinkEnabled: boolean, isCampaignClickTrackingEnabled: boolean, isCampaignOpenTrackingEnabled: boolean, workspaceDiscoverability: WorkspaceDiscoverability, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, isGoogleAuthBypassEnabled: boolean, isMicrosoftAuthBypassEnabled: boolean, isPasswordAuthBypassEnabled: boolean, subdomain: string, customDomain?: string | null, hasValidSignedEnterpriseKey: boolean, hasValidEnterpriseValidityToken: boolean, isCustomDomainEnabled: boolean, workspaceMembersCount?: number | null, aiChatModelTier: AiModelTier, aiAgentModelTier: AiModelTier, isAutoModelSelectionEnabled: boolean, aiModelIdByTier: any, aiAdditionalInstructions?: string | null, isTwoFactorAuthenticationEnforced: boolean, trashRetentionDays: number, eventLogRetentionDays: number, editableProfileFields?: Array<string> | null, isInternalMessagesImportEnabled: boolean, workspaceCustomApplication?: { __typename?: 'Application', id: string } | null, installedApplications: Array<{ __typename?: 'Application', id: string, name: string, universalIdentifier: string, logoUrl?: string | null, createdAt: string }>, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, featureFlags?: Array<{ __typename?: 'FeatureFlag', key: FeatureFlagKey, value: boolean }> | null, currentBillingSubscription?: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, collectionMethod?: BillingSubscriptionCollectionMethod | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, unitAmount?: number | null, creditAmount?: number | null, billingProduct:
+export type GetCurrentUserQuery = { __typename?: 'Query', currentUser: { __typename?: 'User', id: string, firstName: string, lastName: string, email: string, hasPassword: boolean, canAccessFullAdminPanel: boolean, canImpersonate: boolean, supportUserHash?: string | null, onboardingStatus?: OnboardingStatus | null, previousOnboardingStatus?: OnboardingStatus | null, isWorkspaceCreator?: boolean | null, userVars?: any | null, workspaceMember?: { __typename?: 'WorkspaceMember', id: string, colorScheme: string, uiScale: string, openRecordIn: OpenRecordIn, avatarUrl?: string | null, locale?: string | null, userEmail: string, userId: string, userWorkspaceId?: string | null, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, numberFormat?: WorkspaceMemberNumberFormatEnum | null, name: { __typename?: 'FullName', firstName: string, lastName: string } } | null, workspaceMembers?: Array<{ __typename?: 'WorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, userId: string, userWorkspaceId?: string | null, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, deletedWorkspaceMembers?: Array<{ __typename?: 'DeletedWorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, currentUserWorkspace?: { __typename?: 'UserWorkspace', id: string, permissionFlags?: Array<PermissionFlagType> | null, isImpersonating?: boolean | null, objectsPermissions?: Array<{ __typename?: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null, rowLevelPermissionPredicates?: Array<{ __typename?: 'RowLevelPermissionPredicate', id: string, fieldMetadataId: string, objectMetadataId: string, operand: RowLevelPermissionPredicateOperand, subFieldName?: string | null, workspaceMemberFieldMetadataId?: string | null, workspaceMemberSubFieldName?: string | null, rowLevelPermissionPredicateGroupId?: string | null, positionInRowLevelPermissionPredicateGroup?: number | null, roleId: string, value?: any | null }> | null, rowLevelPermissionPredicateGroups?: Array<{ __typename?: 'RowLevelPermissionPredicateGroup', id: string, parentRowLevelPermissionPredicateGroupId?: string | null, logicalOperator: RowLevelPermissionPredicateGroupLogicalOperator, positionInRowLevelPermissionPredicateGroup?: number | null, roleId: string, objectMetadataId: string }> | null }> | null, twoFactorAuthenticationMethodSummary?: Array<{ __typename?: 'TwoFactorAuthenticationMethodSummary', twoFactorAuthenticationMethodId: string, status: string, strategy: string }> | null } | null, currentWorkspace?: { __typename?: 'Workspace', id: string, displayName?: string | null, logo?: string | null, inviteHash?: string | null, allowImpersonation: boolean, activationStatus: WorkspaceActivationStatus, isPublicInviteLinkEnabled: boolean, isCampaignClickTrackingEnabled: boolean, isCampaignOpenTrackingEnabled: boolean, workspaceDiscoverability: WorkspaceDiscoverability, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, isGoogleAuthBypassEnabled: boolean, isMicrosoftAuthBypassEnabled: boolean, isPasswordAuthBypassEnabled: boolean, subdomain: string, customDomain?: string | null, hasValidSignedEnterpriseKey: boolean, hasValidEnterpriseValidityToken: boolean, isCustomDomainEnabled: boolean, workspaceMembersCount?: number | null, aiChatModelTier: AiModelTier, aiAgentModelTier: AiModelTier, isAutoModelSelectionEnabled: boolean, aiModelIdByTier: any, aiAdditionalInstructions?: string | null, isTwoFactorAuthenticationEnforced: boolean, trashRetentionDays: number, eventLogRetentionDays: number, editableProfileFields?: Array<string> | null, isInternalMessagesImportEnabled: boolean, workspaceCustomApplication?: { __typename?: 'Application', id: string } | null, installedApplications: Array<{ __typename?: 'Application', id: string, name: string, universalIdentifier: string, logoUrl?: string | null, createdAt: string }>, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, featureFlags?: Array<{ __typename?: 'FeatureFlag', key: FeatureFlagKey, value: boolean }> | null, currentBillingSubscription?: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, cancelAt?: string | null, collectionMethod?: BillingSubscriptionCollectionMethod | null, hasUserCredits?: boolean | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItem', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, unitAmount?: number | null, creditAmount?: number | null, billingProduct:
| { __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType, isLegacy?: string | null } }
| { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array<string> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType, isLegacy?: string | null } }
}> | null } | null, billingCustomer?: { __typename?: 'BillingCustomer', id: string, hasPaymentMethod?: boolean | null, userCreditsFallback: UserCreditsFallback } | null, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, metadata: any, cancelAt?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }> }>, billingEntitlements: Array<{ __typename?: 'BillingEntitlement', key: BillingEntitlementKey, value: boolean }>, defaultRole?: { __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, canAccessAllAgentChatChannels: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean, canBeAssignedToUsers: boolean, canBeAssignedToAgents: boolean, canBeAssignedToApiKeys: boolean, applicationId: string, universalIdentifier?: string | null } | null } | null, availableWorkspaces: { __typename?: 'AvailableWorkspaces', availableWorkspacesForSignIn: Array<{ __typename?: 'AvailableWorkspace', id: string, displayName?: string | null, loginToken?: string | null, inviteHash?: string | null, personalInviteToken?: string | null, logo?: string | null, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, sso: Array<{ __typename?: 'SSOConnection', type: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }>, availableWorkspacesForSignUp: Array<{ __typename?: 'AvailableWorkspace', id: string, displayName?: string | null, loginToken?: string | null, inviteHash?: string | null, personalInviteToken?: string | null, logo?: string | null, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, sso: Array<{ __typename?: 'SSOConnection', type: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }> } } };
@@ -11359,12 +11375,12 @@ export const RowLevelPermissionPredicateGroupFragmentFragmentDoc = {"kind":"Docu
export const WorkspaceUrlsFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceUrlsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceUrls"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}}]} as unknown as DocumentNode<WorkspaceUrlsFragmentFragment, unknown>;
export const BillingSubscriptionSchedulePhaseItemFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]} as unknown as DocumentNode<BillingSubscriptionSchedulePhaseItemFragmentFragment, unknown>;
export const BillingSubscriptionSchedulePhaseFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]} as unknown as DocumentNode<BillingSubscriptionSchedulePhaseFragmentFragment, unknown>;
-export const CurrentBillingSubscriptionFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}}]} as unknown as DocumentNode<CurrentBillingSubscriptionFragmentFragment, unknown>;
+export const CurrentBillingSubscriptionFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"hasUserCredits"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}}]} as unknown as DocumentNode<CurrentBillingSubscriptionFragmentFragment, unknown>;
export const BillingSubscriptionFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}}]} as unknown as DocumentNode<BillingSubscriptionFragmentFragment, unknown>;
export const RoleFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllSettings"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllTools"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllAgentChatChannels"}},{"kind":"Field","name":{"kind":"Name","value":"isEditable"}},{"kind":"Field","name":{"kind":"Name","value":"canReadAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToUsers"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToAgents"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToApiKeys"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}}]}}]} as unknown as DocumentNode<RoleFragmentFragment, unknown>;
export const AvailableWorkspaceFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspaceFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspace"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"loginToken"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"personalInviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"sso"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issuer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}}]} as unknown as DocumentNode<AvailableWorkspaceFragmentFragment, unknown>;
export const AvailableWorkspacesFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspacesFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspaces"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignIn"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignUp"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspaceFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspace"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"loginToken"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"personalInviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"sso"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issuer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}}]} as unknown as DocumentNode<AvailableWorkspacesFragmentFragment, unknown>;
-export const UserQueryFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"hasPassword"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessFullAdminPanel"}},{"kind":"Field","name":{"kind":"Name","value":"canImpersonate"}},{"kind":"Field","name":{"kind":"Name","value":"supportUserHash"}},{"kind":"Field","name":{"kind":"Name","value":"onboardingStatus"}},{"kind":"Field","name":{"kind":"Name","value":"previousOnboardingStatus"}},{"kind":"Field","name":{"kind":"Name","value":"isWorkspaceCreator"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMember"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"deletedWorkspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentUserWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"permissionFlags"}},{"kind":"Field","name":{"kind":"Name","value":"isImpersonating"}},{"kind":"Field","name":{"kind":"Name","value":"objectsPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectPermissionFragment"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"strategy"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"allowImpersonation"}},{"kind":"Field","name":{"kind":"Name","value":"activationStatus"}},{"kind":"Field","name":{"kind":"Name","value":"isPublicInviteLinkEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isCampaignClickTrackingEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isCampaignOpenTrackingEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceDiscoverability"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"subdomain"}},{"kind":"Field","name":{"kind":"Name","value":"customDomain"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidSignedEnterpriseKey"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidEnterpriseValidityToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceCustomApplication"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"installedApplications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceUrlsFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"featureFlags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingCustomer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasPaymentMethod"}},{"kind":"Field","name":{"kind":"Name","value":"userCreditsFallback"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingEntitlements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembersCount"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RoleFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"aiChatModelTier"}},{"kind":"Field","name":{"kind":"Name","value":"aiAgentModelTier"}},{"kind":"Field","name":{"kind":"Name","value":"isAutoModelSelectionEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"aiModelIdByTier"}},{"kind":"Field","name":{"kind":"Name","value":"aiAdditionalInstructions"}},{"kind":"Field","name":{"kind":"Name","value":"isTwoFactorAuthenticationEnforced"}},{"kind":"Field","name":{"kind":"Name","value":"trashRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"eventLogRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"editableProfileFields"}},{"kind":"Field","name":{"kind":"Name","value":"isInternalMessagesImportEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspaces"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspacesFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userVars"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspaceFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspace"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"loginToken"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"personalInviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"sso"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issuer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"colorScheme"}},{"kind":"Field","name":{"kind":"Name","value":"uiScale"}},{"kind":"Field","name":{"kind":"Name","value":"openRecordIn"}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"timeZone"}},{"kind":"Field","name":{"kind":"Name","value":"dateFormat"}},{"kind":"Field","name":{"kind":"Name","value":"timeFormat"}},{"kind":"Field","name":{"kind":"Name","value":"calendarStartDay"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DeletedWorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectPermissionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectPermission"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"canReadObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"restrictedFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"operand"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberSubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"parentRowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"logicalOperator"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceUrlsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceUrls"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllSettings"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllTools"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllAgentChatChannels"}},{"kind":"Field","name":{"kind":"Name","value":"isEditable"}},{"kind":"Field","name":{"kind":"Name","value":"canReadAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToUsers"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToAgents"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToApiKeys"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspacesFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspaces"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignIn"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignUp"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}}]}}]} as unknown as DocumentNode<UserQueryFragmentFragment, unknown>;
+export const UserQueryFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"hasPassword"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessFullAdminPanel"}},{"kind":"Field","name":{"kind":"Name","value":"canImpersonate"}},{"kind":"Field","name":{"kind":"Name","value":"supportUserHash"}},{"kind":"Field","name":{"kind":"Name","value":"onboardingStatus"}},{"kind":"Field","name":{"kind":"Name","value":"previousOnboardingStatus"}},{"kind":"Field","name":{"kind":"Name","value":"isWorkspaceCreator"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMember"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"deletedWorkspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentUserWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"permissionFlags"}},{"kind":"Field","name":{"kind":"Name","value":"isImpersonating"}},{"kind":"Field","name":{"kind":"Name","value":"objectsPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectPermissionFragment"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"strategy"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"allowImpersonation"}},{"kind":"Field","name":{"kind":"Name","value":"activationStatus"}},{"kind":"Field","name":{"kind":"Name","value":"isPublicInviteLinkEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isCampaignClickTrackingEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isCampaignOpenTrackingEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceDiscoverability"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"subdomain"}},{"kind":"Field","name":{"kind":"Name","value":"customDomain"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidSignedEnterpriseKey"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidEnterpriseValidityToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceCustomApplication"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"installedApplications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceUrlsFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"featureFlags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingCustomer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasPaymentMethod"}},{"kind":"Field","name":{"kind":"Name","value":"userCreditsFallback"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingEntitlements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembersCount"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RoleFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"aiChatModelTier"}},{"kind":"Field","name":{"kind":"Name","value":"aiAgentModelTier"}},{"kind":"Field","name":{"kind":"Name","value":"isAutoModelSelectionEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"aiModelIdByTier"}},{"kind":"Field","name":{"kind":"Name","value":"aiAdditionalInstructions"}},{"kind":"Field","name":{"kind":"Name","value":"isTwoFactorAuthenticationEnforced"}},{"kind":"Field","name":{"kind":"Name","value":"trashRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"eventLogRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"editableProfileFields"}},{"kind":"Field","name":{"kind":"Name","value":"isInternalMessagesImportEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspaces"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspacesFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userVars"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspaceFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspace"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"loginToken"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"personalInviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"sso"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issuer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"colorScheme"}},{"kind":"Field","name":{"kind":"Name","value":"uiScale"}},{"kind":"Field","name":{"kind":"Name","value":"openRecordIn"}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"timeZone"}},{"kind":"Field","name":{"kind":"Name","value":"dateFormat"}},{"kind":"Field","name":{"kind":"Name","value":"timeFormat"}},{"kind":"Field","name":{"kind":"Name","value":"calendarStartDay"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DeletedWorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectPermissionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectPermission"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"canReadObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"restrictedFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"operand"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberSubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"parentRowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"logicalOperator"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceUrlsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceUrls"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"hasUserCredits"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllSettings"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllTools"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllAgentChatChannels"}},{"kind":"Field","name":{"kind":"Name","value":"isEditable"}},{"kind":"Field","name":{"kind":"Name","value":"canReadAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToUsers"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToAgents"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToApiKeys"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspacesFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspaces"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignIn"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignUp"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}}]}}]} as unknown as DocumentNode<UserQueryFragmentFragment, unknown>;
export const ValidationRuleFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ValidationRuleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ValidationRule"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"errorFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"expression"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}}]}}]} as unknown as DocumentNode<ValidationRuleFragmentFragment, unknown>;
export const ViewFieldFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ViewFieldFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"isVisible"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"viewFieldGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}}]}}]} as unknown as DocumentNode<ViewFieldFragmentFragment, unknown>;
export const ViewFieldGroupFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ViewFieldGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewFieldGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"isVisible"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}},{"kind":"Field","name":{"kind":"Name","value":"viewFields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ViewFieldFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ViewFieldFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ViewField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"isVisible"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOperation"}},{"kind":"Field","name":{"kind":"Name","value":"viewFieldGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"deletedAt"}}]}}]} as unknown as DocumentNode<ViewFieldGroupFragmentFragment, unknown>;
@@ -11418,7 +11434,7 @@ export const GetAgentChatChannelThreadIdsDocument = {"kind":"Document","definiti
export const GetAgentChatChannelsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAgentChatChannels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"agentChatChannels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"roleIds"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isAccessible"}}]}}]}}]} as unknown as DocumentNode<GetAgentChatChannelsQuery, GetAgentChatChannelsQueryVariables>;
export const GetAgentChatOpenThreadsSummaryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAgentChatOpenThreadsSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"agentChatOpenThreadsSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"openThreadCount"}},{"kind":"Field","name":{"kind":"Name","value":"needsInputThreadCount"}},{"kind":"Field","name":{"kind":"Name","value":"hasUnreadOpenThread"}},{"kind":"Field","name":{"kind":"Name","value":"hasUnreadMentionThread"}},{"kind":"Field","name":{"kind":"Name","value":"hasUnreadAssignedThread"}}]}}]}}]} as unknown as DocumentNode<GetAgentChatOpenThreadsSummaryQuery, GetAgentChatOpenThreadsSummaryQueryVariables>;
export const GetAgentRunsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAgentRuns"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"agentId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"agentRuns"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"agentId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"agentId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"threadId"}},{"kind":"Field","name":{"kind":"Name","value":"threadTitle"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"errorMessage"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"endedAt"}},{"kind":"Field","name":{"kind":"Name","value":"modelId"}},{"kind":"Field","name":{"kind":"Name","value":"inputTokens"}},{"kind":"Field","name":{"kind":"Name","value":"outputTokens"}},{"kind":"Field","name":{"kind":"Name","value":"credits"}},{"kind":"Field","name":{"kind":"Name","value":"creatorSource"}},{"kind":"Field","name":{"kind":"Name","value":"creatorName"}},{"kind":"Field","name":{"kind":"Name","value":"input"}},{"kind":"Field","name":{"kind":"Name","value":"reply"}},{"kind":"Field","name":{"kind":"Name","value":"toolNames"}}]}}]}}]} as unknown as DocumentNode<GetAgentRunsQuery, GetAgentRunsQueryVariables>;
-export const GetAiChatUsageDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAiChatUsage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aiChatUsage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"limitValue"}},{"kind":"Field","name":{"kind":"Name","value":"consumedValue"}},{"kind":"Field","name":{"kind":"Name","value":"periodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}}]}}]}}]} as unknown as DocumentNode<GetAiChatUsageQuery, GetAiChatUsageQueryVariables>;
+export const GetAiChatUsageDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAiChatUsage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aiChatUsage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"limitValue"}},{"kind":"Field","name":{"kind":"Name","value":"consumedValue"}},{"kind":"Field","name":{"kind":"Name","value":"periodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}}]}},{"kind":"Field","name":{"kind":"Name","value":"aiChatUserCreditsUsage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"limitValue"}},{"kind":"Field","name":{"kind":"Name","value":"consumedValue"}},{"kind":"Field","name":{"kind":"Name","value":"periodEnd"}}]}}]}}]} as unknown as DocumentNode<GetAiChatUsageQuery, GetAiChatUsageQueryVariables>;
export const GetChatMessagesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetChatMessages"},"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":"chatMessages"},"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":"id"}},{"kind":"Field","name":{"kind":"Name","value":"threadId"}},{"kind":"Field","name":{"kind":"Name","value":"turnId"}},{"kind":"Field","name":{"kind":"Name","value":"senderWorkspaceMemberId"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"processedAt"}},{"kind":"Field","name":{"kind":"Name","value":"parts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"messageId"}},{"kind":"Field","name":{"kind":"Name","value":"orderIndex"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"textContent"}},{"kind":"Field","name":{"kind":"Name","value":"reasoningContent"}},{"kind":"Field","name":{"kind":"Name","value":"toolName"}},{"kind":"Field","name":{"kind":"Name","value":"toolCallId"}},{"kind":"Field","name":{"kind":"Name","value":"toolInput"}},{"kind":"Field","name":{"kind":"Name","value":"toolOutput"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"providerExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"errorMessage"}},{"kind":"Field","name":{"kind":"Name","value":"sourceUrlSourceId"}},{"kind":"Field","name":{"kind":"Name","value":"sourceUrlUrl"}},{"kind":"Field","name":{"kind":"Name","value":"sourceUrlTitle"}},{"kind":"Field","name":{"kind":"Name","value":"sourceDocumentSourceId"}},{"kind":"Field","name":{"kind":"Name","value":"sourceDocumentMediaType"}},{"kind":"Field","name":{"kind":"Name","value":"sourceDocumentTitle"}},{"kind":"Field","name":{"kind":"Name","value":"sourceDocumentFilename"}},{"kind":"Field","name":{"kind":"Name","value":"fileMediaType"}},{"kind":"Field","name":{"kind":"Name","value":"fileFilename"}},{"kind":"Field","name":{"kind":"Name","value":"fileUrl"}},{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"providerMetadata"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"reactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"emoji"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberIds"}},{"kind":"Field","name":{"kind":"Name","value":"agentIds"}},{"kind":"Field","name":{"kind":"Name","value":"hasAssistantReacted"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"chatStreamCatchupChunks"},"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":"chunks"}},{"kind":"Field","name":{"kind":"Name","value":"maxSeq"}},{"kind":"Field","name":{"kind":"Name","value":"error"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<GetChatMessagesQuery, GetChatMessagesQueryVariables>;
export const GetToolIndexDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetToolIndex"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getToolIndex"},"selectionSet":{"kind":"SelectionSet","selections":[{"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":"category"}},{"kind":"Field","name":{"kind":"Name","value":"objectName"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"widgetName"}},{"kind":"Field","name":{"kind":"Name","value":"frontComponentId"}}]}}]}}]} as unknown as DocumentNode<GetToolIndexQuery, GetToolIndexQueryVariables>;
export const GetToolInputSchemaDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetToolInputSchema"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"toolName"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getToolInputSchema"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"toolName"},"value":{"kind":"Variable","name":{"kind":"Name","value":"toolName"}}}]}]}}]} as unknown as DocumentNode<GetToolInputSchemaQuery, GetToolInputSchemaQueryVariables>;
@@ -11582,19 +11598,20 @@ export const UpdateOneApplicationVariableDocument = {"kind":"Document","definiti
export const ApplicationConnectedAccountsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ApplicationConnectedAccounts"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"applicationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"applicationConnectedAccounts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"applicationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"applicationId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"handle"}},{"kind":"Field","name":{"kind":"Name","value":"authFailedAt"}},{"kind":"Field","name":{"kind":"Name","value":"authFailedReason"}},{"kind":"Field","name":{"kind":"Name","value":"scopes"}},{"kind":"Field","name":{"kind":"Name","value":"lastSignedInAt"}},{"kind":"Field","name":{"kind":"Name","value":"connectionProviderId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"kind":"Field","name":{"kind":"Name","value":"lastCredentialsRefreshedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode<ApplicationConnectedAccountsQuery, ApplicationConnectedAccountsQueryVariables>;
export const ApplicationConnectionProvidersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ApplicationConnectionProviders"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"applicationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"applicationConnectionProviders"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"applicationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"applicationId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"oauth"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"scopes"}},{"kind":"Field","name":{"kind":"Name","value":"isClientCredentialsConfigured"}}]}}]}}]}}]} as unknown as DocumentNode<ApplicationConnectionProvidersQuery, ApplicationConnectionProvidersQueryVariables>;
export const FindUninstallApplicationJobStatusDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindUninstallApplicationJobStatus"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"jobId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findUninstallApplicationJobStatus"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"universalIdentifier"},"value":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}}},{"kind":"Argument","name":{"kind":"Name","value":"jobId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"jobId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"jobId"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"failedReason"}},{"kind":"Field","name":{"kind":"Name","value":"progress"}}]}}]}}]} as unknown as DocumentNode<FindUninstallApplicationJobStatusQuery, FindUninstallApplicationJobStatusQueryVariables>;
-export const CancelSwitchBillingIntervalDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CancelSwitchBillingInterval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cancelSwitchBillingInterval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}}]} as unknown as DocumentNode<CancelSwitchBillingIntervalMutation, CancelSwitchBillingIntervalMutationVariables>;
-export const CancelSwitchBillingPlanDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CancelSwitchBillingPlan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cancelSwitchBillingPlan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}}]} as unknown as DocumentNode<CancelSwitchBillingPlanMutation, CancelSwitchBillingPlanMutationVariables>;
-export const CancelSwitchResourceCreditPriceDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CancelSwitchResourceCreditPrice"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cancelSwitchResourceCreditPrice"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}}]} as unknown as DocumentNode<CancelSwitchResourceCreditPriceMutation, CancelSwitchResourceCreditPriceMutationVariables>;
+export const CancelSwitchBillingIntervalDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CancelSwitchBillingInterval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cancelSwitchBillingInterval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"hasUserCredits"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}}]} as unknown as DocumentNode<CancelSwitchBillingIntervalMutation, CancelSwitchBillingIntervalMutationVariables>;
+export const CancelSwitchBillingPlanDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CancelSwitchBillingPlan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cancelSwitchBillingPlan"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"hasUserCredits"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}}]} as unknown as DocumentNode<CancelSwitchBillingPlanMutation, CancelSwitchBillingPlanMutationVariables>;
+export const CancelSwitchResourceCreditPriceDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CancelSwitchResourceCreditPrice"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cancelSwitchResourceCreditPrice"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"hasUserCredits"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}}]} as unknown as DocumentNode<CancelSwitchResourceCreditPriceMutation, CancelSwitchResourceCreditPriceMutationVariables>;
export const CheckoutSessionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CheckoutSession"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"recurringInterval"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionInterval"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"successUrlPath"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"plan"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"BillingPlanKey"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"requirePaymentMethod"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"checkoutSession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"recurringInterval"},"value":{"kind":"Variable","name":{"kind":"Name","value":"recurringInterval"}}},{"kind":"Argument","name":{"kind":"Name","value":"successUrlPath"},"value":{"kind":"Variable","name":{"kind":"Name","value":"successUrlPath"}}},{"kind":"Argument","name":{"kind":"Name","value":"plan"},"value":{"kind":"Variable","name":{"kind":"Name","value":"plan"}}},{"kind":"Argument","name":{"kind":"Name","value":"requirePaymentMethod"},"value":{"kind":"Variable","name":{"kind":"Name","value":"requirePaymentMethod"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]} as unknown as DocumentNode<CheckoutSessionMutation, CheckoutSessionMutationVariables>;
export const CreateBillingPaymentMethodSetupIntentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateBillingPaymentMethodSetupIntent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createBillingPaymentMethodSetupIntent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"clientSecret"}}]}}]}}]} as unknown as DocumentNode<CreateBillingPaymentMethodSetupIntentMutation, CreateBillingPaymentMethodSetupIntentMutationVariables>;
export const CreateSubscriptionPaymentIntentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateSubscriptionPaymentIntent"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"recurringInterval"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionInterval"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"plan"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"BillingPlanKey"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"idempotencyKey"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createSubscriptionPaymentIntent"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"recurringInterval"},"value":{"kind":"Variable","name":{"kind":"Name","value":"recurringInterval"}}},{"kind":"Argument","name":{"kind":"Name","value":"plan"},"value":{"kind":"Variable","name":{"kind":"Name","value":"plan"}}},{"kind":"Argument","name":{"kind":"Name","value":"idempotencyKey"},"value":{"kind":"Variable","name":{"kind":"Name","value":"idempotencyKey"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"clientSecret"}},{"kind":"Field","name":{"kind":"Name","value":"paymentIntentType"}}]}}]}}]} as unknown as DocumentNode<CreateSubscriptionPaymentIntentMutation, CreateSubscriptionPaymentIntentMutationVariables>;
export const CreateUsageLimitDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateUsageLimit"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateUsageLimitInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createUsageLimit"},"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"}}]}}]}}]} as unknown as DocumentNode<CreateUsageLimitMutation, CreateUsageLimitMutationVariables>;
export const DeleteUsageLimitDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteUsageLimit"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"usageLimitId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteUsageLimit"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"usageLimitId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"usageLimitId"}}}]}]}}]} as unknown as DocumentNode<DeleteUsageLimitMutation, DeleteUsageLimitMutationVariables>;
-export const EndSubscriptionTrialPeriodDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"EndSubscriptionTrialPeriod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"endSubscriptionTrialPeriod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"hasPaymentMethod"}},{"kind":"Field","name":{"kind":"Name","value":"billingPortalUrl"}},{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}}]} as unknown as DocumentNode<EndSubscriptionTrialPeriodMutation, EndSubscriptionTrialPeriodMutationVariables>;
-export const SetResourceCreditSubscriptionPriceDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetResourceCreditSubscriptionPrice"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"priceId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setResourceCreditSubscriptionPrice"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"priceId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"priceId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}}]} as unknown as DocumentNode<SetResourceCreditSubscriptionPriceMutation, SetResourceCreditSubscriptionPriceMutationVariables>;
-export const SwitchBillingPlanDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SwitchBillingPlan"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"plan"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"BillingPlanKey"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"switchBillingPlan"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"plan"},"value":{"kind":"Variable","name":{"kind":"Name","value":"plan"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}}]} as unknown as DocumentNode<SwitchBillingPlanMutation, SwitchBillingPlanMutationVariables>;
-export const SwitchSubscriptionIntervalDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SwitchSubscriptionInterval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"switchSubscriptionInterval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}}]} as unknown as DocumentNode<SwitchSubscriptionIntervalMutation, SwitchSubscriptionIntervalMutationVariables>;
+export const EndSubscriptionTrialPeriodDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"EndSubscriptionTrialPeriod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"endSubscriptionTrialPeriod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"hasPaymentMethod"}},{"kind":"Field","name":{"kind":"Name","value":"billingPortalUrl"}},{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"hasUserCredits"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}}]} as unknown as DocumentNode<EndSubscriptionTrialPeriodMutation, EndSubscriptionTrialPeriodMutationVariables>;
+export const SetResourceCreditSubscriptionPriceDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetResourceCreditSubscriptionPrice"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"priceId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setResourceCreditSubscriptionPrice"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"priceId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"priceId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"hasUserCredits"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}}]} as unknown as DocumentNode<SetResourceCreditSubscriptionPriceMutation, SetResourceCreditSubscriptionPriceMutationVariables>;
+export const SwitchBillingPlanDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SwitchBillingPlan"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"plan"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"BillingPlanKey"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"switchBillingPlan"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"plan"},"value":{"kind":"Variable","name":{"kind":"Name","value":"plan"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"hasUserCredits"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}}]} as unknown as DocumentNode<SwitchBillingPlanMutation, SwitchBillingPlanMutationVariables>;
+export const SwitchSubscriptionIntervalDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SwitchSubscriptionInterval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"switchSubscriptionInterval"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"hasUserCredits"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}}]} as unknown as DocumentNode<SwitchSubscriptionIntervalMutation, SwitchSubscriptionIntervalMutationVariables>;
export const UpdateUsageLimitDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateUsageLimit"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateUsageLimitInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateUsageLimit"},"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"}}]}}]}}]} as unknown as DocumentNode<UpdateUsageLimitMutation, UpdateUsageLimitMutationVariables>;
+export const UpdateUserCreditsFallbackDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateUserCreditsFallback"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"userCreditsFallback"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UserCreditsFallback"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateUserCreditsFallback"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"userCreditsFallback"},"value":{"kind":"Variable","name":{"kind":"Name","value":"userCreditsFallback"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"userCreditsFallback"}}]}}]}}]} as unknown as DocumentNode<UpdateUserCreditsFallbackMutation, UpdateUserCreditsFallbackMutationVariables>;
export const BillingPortalSessionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"BillingPortalSession"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"returnUrlPath"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"forPaymentMethodUpdate"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"billingPortalSession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"returnUrlPath"},"value":{"kind":"Variable","name":{"kind":"Name","value":"returnUrlPath"}}},{"kind":"Argument","name":{"kind":"Name","value":"forPaymentMethodUpdate"},"value":{"kind":"Variable","name":{"kind":"Name","value":"forPaymentMethodUpdate"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]} as unknown as DocumentNode<BillingPortalSessionQuery, BillingPortalSessionQueryVariables>;
export const GetResourceCreditUsageDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetResourceCreditUsage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getResourceCreditUsage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceCreditsUsed"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceCreditsGranted"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceCreditsGrantedForSeats"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceCreditsSeats"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceCreditsExtraGranted"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceCreditsTotalGranted"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceCents"}}]}}]}}]} as unknown as DocumentNode<GetResourceCreditUsageQuery, GetResourceCreditUsageQueryVariables>;
export const ListPlansDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"listPlans"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"listPlans"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"isSellable"}},{"kind":"Field","name":{"kind":"Name","value":"isCheckoutDefault"}},{"kind":"Field","name":{"kind":"Name","value":"upgradePlanKeys"}},{"kind":"Field","name":{"kind":"Name","value":"downgradePlanKeys"}},{"kind":"Field","name":{"kind":"Name","value":"baseProducts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingLicensedProduct"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingPriceLicensedFragment"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"resourceCreditProducts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingLicensedProduct"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingPriceLicensedFragment"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"meteredProducts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingMeteredProduct"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingPriceMeteredFragment"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingPriceLicensedFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingPriceLicensed"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"recurringInterval"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageType"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"isSellable"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingPriceMeteredFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingPriceMetered"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"priceUsageType"}},{"kind":"Field","name":{"kind":"Name","value":"recurringInterval"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"tiers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"flatAmount"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"upTo"}}]}}]}}]} as unknown as DocumentNode<ListPlansQuery, ListPlansQueryVariables>;
@@ -11667,7 +11684,7 @@ export const RemoveQueryFromEventStreamDocument = {"kind":"Document","definition
export const OnEventSubscriptionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"OnEventSubscription"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"eventStreamId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"onEventSubscription"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"eventStreamId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"eventStreamId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"eventStreamId"}},{"kind":"Field","name":{"kind":"Name","value":"objectRecordEventsWithQueryIds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectRecordEvent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"action"}},{"kind":"Field","name":{"kind":"Name","value":"objectNameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"recordId"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberId"}},{"kind":"Field","name":{"kind":"Name","value":"properties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updatedFields"}},{"kind":"Field","name":{"kind":"Name","value":"before"}},{"kind":"Field","name":{"kind":"Name","value":"after"}},{"kind":"Field","name":{"kind":"Name","value":"diff"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"queryIds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"metadataEvents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"metadataName"}},{"kind":"Field","name":{"kind":"Name","value":"recordId"}},{"kind":"Field","name":{"kind":"Name","value":"updatedCollectionHash"}},{"kind":"Field","name":{"kind":"Name","value":"properties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updatedFields"}},{"kind":"Field","name":{"kind":"Name","value":"before"}},{"kind":"Field","name":{"kind":"Name","value":"after"}},{"kind":"Field","name":{"kind":"Name","value":"diff"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"queueJobEvents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"jobId"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"attemptsMade"}},{"kind":"Field","name":{"kind":"Name","value":"failedReason"}},{"kind":"Field","name":{"kind":"Name","value":"progress"}},{"kind":"Field","name":{"kind":"Name","value":"enqueuedAt"}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"finishedAt"}}]}}]}}]}}]} as unknown as DocumentNode<OnEventSubscriptionSubscription, OnEventSubscriptionSubscriptionVariables>;
export const DeleteUserAccountDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteUserAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<DeleteUserAccountMutation, DeleteUserAccountMutationVariables>;
export const DeleteUserWorkspaceDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteUserWorkspace"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"workspaceMemberIdToDelete"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteUserFromWorkspace"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"workspaceMemberIdToDelete"},"value":{"kind":"Variable","name":{"kind":"Name","value":"workspaceMemberIdToDelete"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<DeleteUserWorkspaceMutation, DeleteUserWorkspaceMutationVariables>;
-export const GetCurrentUserDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCurrentUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserQueryFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"colorScheme"}},{"kind":"Field","name":{"kind":"Name","value":"uiScale"}},{"kind":"Field","name":{"kind":"Name","value":"openRecordIn"}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"timeZone"}},{"kind":"Field","name":{"kind":"Name","value":"dateFormat"}},{"kind":"Field","name":{"kind":"Name","value":"timeFormat"}},{"kind":"Field","name":{"kind":"Name","value":"calendarStartDay"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DeletedWorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectPermissionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectPermission"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"canReadObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"restrictedFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"operand"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberSubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"parentRowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"logicalOperator"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceUrlsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceUrls"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllSettings"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllTools"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllAgentChatChannels"}},{"kind":"Field","name":{"kind":"Name","value":"isEditable"}},{"kind":"Field","name":{"kind":"Name","value":"canReadAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToUsers"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToAgents"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToApiKeys"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspaceFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspace"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"loginToken"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"personalInviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"sso"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issuer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspacesFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspaces"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignIn"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignUp"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"hasPassword"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessFullAdminPanel"}},{"kind":"Field","name":{"kind":"Name","value":"canImpersonate"}},{"kind":"Field","name":{"kind":"Name","value":"supportUserHash"}},{"kind":"Field","name":{"kind":"Name","value":"onboardingStatus"}},{"kind":"Field","name":{"kind":"Name","value":"previousOnboardingStatus"}},{"kind":"Field","name":{"kind":"Name","value":"isWorkspaceCreator"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMember"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"deletedWorkspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentUserWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"permissionFlags"}},{"kind":"Field","name":{"kind":"Name","value":"isImpersonating"}},{"kind":"Field","name":{"kind":"Name","value":"objectsPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectPermissionFragment"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"strategy"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"allowImpersonation"}},{"kind":"Field","name":{"kind":"Name","value":"activationStatus"}},{"kind":"Field","name":{"kind":"Name","value":"isPublicInviteLinkEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isCampaignClickTrackingEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isCampaignOpenTrackingEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceDiscoverability"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"subdomain"}},{"kind":"Field","name":{"kind":"Name","value":"customDomain"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidSignedEnterpriseKey"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidEnterpriseValidityToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceCustomApplication"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"installedApplications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceUrlsFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"featureFlags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingCustomer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasPaymentMethod"}},{"kind":"Field","name":{"kind":"Name","value":"userCreditsFallback"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingEntitlements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembersCount"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RoleFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"aiChatModelTier"}},{"kind":"Field","name":{"kind":"Name","value":"aiAgentModelTier"}},{"kind":"Field","name":{"kind":"Name","value":"isAutoModelSelectionEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"aiModelIdByTier"}},{"kind":"Field","name":{"kind":"Name","value":"aiAdditionalInstructions"}},{"kind":"Field","name":{"kind":"Name","value":"isTwoFactorAuthenticationEnforced"}},{"kind":"Field","name":{"kind":"Name","value":"trashRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"eventLogRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"editableProfileFields"}},{"kind":"Field","name":{"kind":"Name","value":"isInternalMessagesImportEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspaces"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspacesFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userVars"}}]}}]} as unknown as DocumentNode<GetCurrentUserQuery, GetCurrentUserQueryVariables>;
+export const GetCurrentUserDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCurrentUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserQueryFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"colorScheme"}},{"kind":"Field","name":{"kind":"Name","value":"uiScale"}},{"kind":"Field","name":{"kind":"Name","value":"openRecordIn"}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"timeZone"}},{"kind":"Field","name":{"kind":"Name","value":"dateFormat"}},{"kind":"Field","name":{"kind":"Name","value":"timeFormat"}},{"kind":"Field","name":{"kind":"Name","value":"calendarStartDay"}},{"kind":"Field","name":{"kind":"Name","value":"numberFormat"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DeletedWorkspaceMember"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"avatarUrl"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectPermissionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectPermission"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"canReadObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"restrictedFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"operand"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMemberSubFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"parentRowLevelPermissionPredicateGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"logicalOperator"}},{"kind":"Field","name":{"kind":"Name","value":"positionInRowLevelPermissionPredicateGroup"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceUrlsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceUrls"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhase"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start_date"}},{"kind":"Field","name":{"kind":"Name","value":"end_date"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"collectionMethod"}},{"kind":"Field","name":{"kind":"Name","value":"hasUserCredits"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptionItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasReachedCurrentPeriodCap"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"stripePriceId"}},{"kind":"Field","name":{"kind":"Name","value":"unitAmount"}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount"}},{"kind":"Field","name":{"kind":"Name","value":"billingProduct"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"images"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productKey"}},{"kind":"Field","name":{"kind":"Name","value":"planKey"}},{"kind":"Field","name":{"kind":"Name","value":"priceUsageBased"}},{"kind":"Field","name":{"kind":"Name","value":"isLegacy"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BillingSubscriptionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BillingSubscription"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAt"}},{"kind":"Field","name":{"kind":"Name","value":"phases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionSchedulePhaseFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RoleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllSettings"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllTools"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAllAgentChatChannels"}},{"kind":"Field","name":{"kind":"Name","value":"isEditable"}},{"kind":"Field","name":{"kind":"Name","value":"canReadAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canSoftDeleteAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canDestroyAllObjectRecords"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToUsers"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToAgents"}},{"kind":"Field","name":{"kind":"Name","value":"canBeAssignedToApiKeys"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspaceFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspace"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"loginToken"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"personalInviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subdomainUrl"}},{"kind":"Field","name":{"kind":"Name","value":"customUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"sso"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issuer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableWorkspacesFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AvailableWorkspaces"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignIn"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspacesForSignUp"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspaceFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserQueryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"hasPassword"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessFullAdminPanel"}},{"kind":"Field","name":{"kind":"Name","value":"canImpersonate"}},{"kind":"Field","name":{"kind":"Name","value":"supportUserHash"}},{"kind":"Field","name":{"kind":"Name","value":"onboardingStatus"}},{"kind":"Field","name":{"kind":"Name","value":"previousOnboardingStatus"}},{"kind":"Field","name":{"kind":"Name","value":"isWorkspaceCreator"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMember"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PartialWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"deletedWorkspaceMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DeletedWorkspaceMemberQueryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentUserWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"permissionFlags"}},{"kind":"Field","name":{"kind":"Name","value":"isImpersonating"}},{"kind":"Field","name":{"kind":"Name","value":"objectsPermissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectPermissionFragment"}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rowLevelPermissionPredicateGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RowLevelPermissionPredicateGroupFragment"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twoFactorAuthenticationMethodId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"strategy"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"inviteHash"}},{"kind":"Field","name":{"kind":"Name","value":"allowImpersonation"}},{"kind":"Field","name":{"kind":"Name","value":"activationStatus"}},{"kind":"Field","name":{"kind":"Name","value":"isPublicInviteLinkEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isCampaignClickTrackingEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isCampaignOpenTrackingEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceDiscoverability"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isGoogleAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isMicrosoftAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"isPasswordAuthBypassEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"subdomain"}},{"kind":"Field","name":{"kind":"Name","value":"customDomain"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidSignedEnterpriseKey"}},{"kind":"Field","name":{"kind":"Name","value":"hasValidEnterpriseValidityToken"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceCustomApplication"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"installedApplications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceUrls"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceUrlsFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"featureFlags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentBillingSubscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentBillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingCustomer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasPaymentMethod"}},{"kind":"Field","name":{"kind":"Name","value":"userCreditsFallback"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingSubscriptions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BillingSubscriptionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingEntitlements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workspaceMembersCount"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRole"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RoleFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"aiChatModelTier"}},{"kind":"Field","name":{"kind":"Name","value":"aiAgentModelTier"}},{"kind":"Field","name":{"kind":"Name","value":"isAutoModelSelectionEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"aiModelIdByTier"}},{"kind":"Field","name":{"kind":"Name","value":"aiAdditionalInstructions"}},{"kind":"Field","name":{"kind":"Name","value":"isTwoFactorAuthenticationEnforced"}},{"kind":"Field","name":{"kind":"Name","value":"trashRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"eventLogRetentionDays"}},{"kind":"Field","name":{"kind":"Name","value":"editableProfileFields"}},{"kind":"Field","name":{"kind":"Name","value":"isInternalMessagesImportEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableWorkspaces"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AvailableWorkspacesFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userVars"}}]}}]} as unknown as DocumentNode<GetCurrentUserQuery, GetCurrentUserQueryVariables>;
export const CreateValidationRuleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateValidationRule"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateValidationRuleInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createValidationRule"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ValidationRuleFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ValidationRuleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ValidationRule"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"errorFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"expression"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}}]}}]} as unknown as DocumentNode<CreateValidationRuleMutation, CreateValidationRuleMutationVariables>;
export const DeleteValidationRuleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteValidationRule"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteValidationRule"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ValidationRuleFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ValidationRuleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ValidationRule"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"errorFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"expression"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}}]}}]} as unknown as DocumentNode<DeleteValidationRuleMutation, DeleteValidationRuleMutationVariables>;
export const UpdateValidationRuleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateValidationRule"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateValidationRuleInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateValidationRule"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ValidationRuleFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ValidationRuleFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ValidationRule"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"errorFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"expression"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}}]}}]} as unknown as DocumentNode<UpdateValidationRuleMutation, UpdateValidationRuleMutationVariables>;
diff --git a/packages/twenty-front/src/modules/ai/components/AiChatEditorSection.tsx b/packages/twenty-front/src/modules/ai/components/AiChatEditorSection.tsx
index 40f725bf7e4..3f67c742d11 100644
--- a/packages/twenty-front/src/modules/ai/components/AiChatEditorSection.tsx
+++ b/packages/twenty-front/src/modules/ai/components/AiChatEditorSection.tsx
@@ -13,6 +13,7 @@ import { AiChatParticipantMentionBar } from '@/ai/components/AiChatParticipantMe
import { AiChatPendingAskGate } from '@/ai/components/AiChatPendingAskGate';
import { AiChatNoMoreBillingCreditsBanner } from '@/ai/components/AiChatNoMoreBillingCreditsBanner';
import { AiChatUsageLimitReachedBanner } from '@/ai/components/AiChatUsageLimitReachedBanner';
+import { AiChatUserCreditsExhaustedBanner } from '@/ai/components/AiChatUserCreditsExhaustedBanner';
import { AiChatStandaloneError } from '@/ai/components/AiChatStandaloneError';
import { AgentChatContextPreview } from '@/ai/components/internal/AgentChatContextPreview';
import { AiChatAddMenu } from '@/ai/components/AiChatAddMenu';
@@ -217,6 +218,7 @@ const EditableAiChatEditorSection = () => {
)}
{hasReachedAiChatCreditsCap && <AiChatNoMoreBillingCreditsBanner />}
{shouldShowUsageLimitBanner && <AiChatUsageLimitReachedBanner />}
+ <AiChatUserCreditsExhaustedBanner />
<AiChatParticipantMentionBar editor={editor} />
<AiChatPendingAskGate>{composer}</AiChatPendingAskGate>
</StyledInputArea>
diff --git a/packages/twenty-front/src/modules/ai/components/AiChatErrorRenderer.tsx b/packages/twenty-front/src/modules/ai/components/AiChatErrorRenderer.tsx
index 348066111af..81f5dd3a051 100644
--- a/packages/twenty-front/src/modules/ai/components/AiChatErrorRenderer.tsx
+++ b/packages/twenty-front/src/modules/ai/components/AiChatErrorRenderer.tsx
@@ -1,12 +1,14 @@
import { AiChatApiKeyNotConfiguredMessage } from '@/ai/components/AiChatApiKeyNotConfiguredMessage';
import { AiChatErrorMessage } from '@/ai/components/AiChatErrorMessage';
import { AiChatQuotaLimitExhaustedMessage } from '@/ai/components/AiChatQuotaLimitExhaustedMessage';
+import { AiChatUserCreditsExhaustedMessage } from '@/ai/components/AiChatUserCreditsExhaustedMessage';
import { useCanRetryCurrentAiChatTurn } from '@/ai/hooks/useCanRetryCurrentAiChatTurn';
import { useRetryChatMessage } from '@/ai/hooks/useRetryChatMessage';
import { type AiChatError } from '@/ai/types/AiChatError';
import { AiChatErrorCode } from '@/ai/utils/aiChatErrorCode';
import { getAiChatQuotaExhaustedKind } from '@/ai/utils/getAiChatQuotaExhaustedKind';
import { isAiChatCreditsExhaustedError } from '@/ai/utils/isAiChatCreditsExhaustedError';
+import { isAiChatUserCreditsExhaustedError } from '@/ai/utils/isAiChatUserCreditsExhaustedError';
import { isGraphqlErrorOfType } from '~/utils/is-graphql-error-of-type.util';
type AiChatErrorRendererProps = {
@@ -33,6 +35,10 @@ export const AiChatErrorRenderer = ({ error }: AiChatErrorRendererProps) => {
return <AiChatErrorMessage error={error} />;
}
+ if (isAiChatUserCreditsExhaustedError(error)) {
+ return <AiChatUserCreditsExhaustedMessage error={error} />;
+ }
+
// The quota is checked before persistence, so a retry repeats the same refusal
if (getAiChatQuotaExhaustedKind(error) === 'limit') {
return <AiChatQuotaLimitExhaustedMessage error={error} />;
diff --git a/packages/twenty-front/src/modules/ai/components/AiChatInlineBanner.tsx b/packages/twenty-front/src/modules/ai/components/AiChatInlineBanner.tsx
index dd4c72bc28f..7b6636f7239 100644
--- a/packages/twenty-front/src/modules/ai/components/AiChatInlineBanner.tsx
+++ b/packages/twenty-front/src/modules/ai/components/AiChatInlineBanner.tsx
@@ -3,13 +3,17 @@ import {
InlineBanner,
} from 'twenty-ui/components/feedback';
-type AiChatInlineBannerProps = Pick<InlineBannerProps, 'children' | 'action'>;
+type AiChatInlineBannerProps = Pick<
+ InlineBannerProps,
+ 'children' | 'action' | 'status'
+>;
export const AiChatInlineBanner = ({
children,
action,
+ status = 'error',
}: AiChatInlineBannerProps) => (
- <InlineBanner embedded status="error" action={action}>
+ <InlineBanner embedded status={status} action={action}>
{children}
</InlineBanner>
);
diff --git a/packages/twenty-front/src/modules/ai/components/AiChatUserCreditsExhaustedBanner.tsx b/packages/twenty-front/src/modules/ai/components/AiChatUserCreditsExhaustedBanner.tsx
new file mode 100644
index 00000000000..d46cef0e4f1
--- /dev/null
+++ b/packages/twenty-front/src/modules/ai/components/AiChatUserCreditsExhaustedBanner.tsx
@@ -0,0 +1,70 @@
+import { plural } from '@lingui/core/macro';
+import { useLingui } from '@lingui/react/macro';
+import { isDefined } from 'twenty-shared/utils';
+import { InlineBanner } from 'twenty-ui/components/feedback';
+
+import { AiChatInlineBanner } from '@/ai/components/AiChatInlineBanner';
+import { useAiChatUserCreditsUsage } from '@/ai/hooks/useAiChatUserCreditsUsage';
+import { useIsWorkspaceSetupChat } from '@/ai/hooks/useIsWorkspaceSetupChat';
+import { agentChatUserCreditsBannerDismissalState } from '@/ai/states/agentChatUserCreditsBannerDismissalState';
+import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState';
+import { useAtomState } from '@/ui/utilities/state/jotai/hooks/useAtomState';
+import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';
+
+export const AiChatUserCreditsExhaustedBanner = () => {
+ const { t } = useLingui();
+
+ const isWorkspaceSetupChat = useIsWorkspaceSetupChat();
+ const currentWorkspaceMember = useAtomStateValue(currentWorkspaceMemberState);
+
+ const [
+ agentChatUserCreditsBannerDismissal,
+ setAgentChatUserCreditsBannerDismissal,
+ ] = useAtomState(agentChatUserCreditsBannerDismissalState);
+
+ const { userCreditsUsage } = useAiChatUserCreditsUsage({
+ skip: isWorkspaceSetupChat,
+ });
+
+ if (
+ !isDefined(currentWorkspaceMember) ||
+ !isDefined(userCreditsUsage) ||
+ !userCreditsUsage.isExhausted
+ ) {
+ return null;
+ }
+
+ const { periodEnd, daysUntilReset, isFallingBackToWorkspaceCredits } =
+ userCreditsUsage;
+
+ if (
+ agentChatUserCreditsBannerDismissal?.workspaceMemberId ===
+ currentWorkspaceMember.id &&
+ agentChatUserCreditsBannerDismissal.periodEnd === periodEnd &&
+ agentChatUserCreditsBannerDismissal.isFallingBackToWorkspaceCredits ===
+ isFallingBackToWorkspaceCredits
+ ) {
+ return null;
+ }
+
+ return (
+ <AiChatInlineBanner
+ status={isFallingBackToWorkspaceCredits ? 'info' : 'error'}
+ action={
+ <InlineBanner.Action
+ onClick={() =>
+ setAgentChatUserCreditsBannerDismissal({
+ workspaceMemberId: currentWorkspaceMember.id,
+ periodEnd,
+ isFallingBackToWorkspaceCredits,
+ })
+ }
+ >{t`Dismiss`}</InlineBanner.Action>
+ }
+ >
+ {isFallingBackToWorkspaceCredits
+ ? t`Personal usage limit reached. Using workspace credits until it resets in ${plural(daysUntilReset, { one: '# day', other: '# days' })}.`
+ : t`Personal usage limit reached. Chats resume in ${plural(daysUntilReset, { one: '# day', other: '# days' })}.`}
+ </AiChatInlineBanner>
+ );
+};
diff --git a/packages/twenty-front/src/modules/ai/components/AiChatUserCreditsExhaustedMessage.tsx b/packages/twenty-front/src/modules/ai/components/AiChatUserCreditsExhaustedMessage.tsx
new file mode 100644
index 00000000000..ae0a85ddb2a
--- /dev/null
+++ b/packages/twenty-front/src/modules/ai/components/AiChatUserCreditsExhaustedMessage.tsx
@@ -0,0 +1,41 @@
+import { plural } from '@lingui/core/macro';
+import { useLingui } from '@lingui/react/macro';
+import { isDefined } from 'twenty-shared/utils';
+
+import { AiChatErrorMessage } from '@/ai/components/AiChatErrorMessage';
+import { useAiChatUserCreditsUsage } from '@/ai/hooks/useAiChatUserCreditsUsage';
+import { useCanRetryCurrentAiChatTurn } from '@/ai/hooks/useCanRetryCurrentAiChatTurn';
+import { useRetryChatMessage } from '@/ai/hooks/useRetryChatMessage';
+import { type AiChatError } from '@/ai/types/AiChatError';
+
+type AiChatUserCreditsExhaustedMessageProps = {
+ error: AiChatError;
+};
+
+export const AiChatUserCreditsExhaustedMessage = ({
+ error,
+}: AiChatUserCreditsExhaustedMessageProps) => {
+ const { t } = useLingui();
+
+ const { retryChatMessage } = useRetryChatMessage();
+ const canRetry = useCanRetryCurrentAiChatTurn();
+
+ const { userCreditsUsage } = useAiChatUserCreditsUsage();
+
+ const canSpendCredits =
+ isDefined(userCreditsUsage) &&
+ (!userCreditsUsage.isExhausted ||
+ userCreditsUsage.isFallingBackToWorkspaceCredits);
+
+ return (
+ <AiChatErrorMessage
+ error={error}
+ hint={
+ userCreditsUsage?.isExhausted
+ ? t`AI credits renew in ${plural(userCreditsUsage.daysUntilReset, { one: '# day', other: '# days' })}.`
+ : undefined
+ }
+ onRetry={canRetry && canSpendCredits ? retryChatMessage : undefined}
+ />
+ );
+};
diff --git a/packages/twenty-front/src/modules/ai/components/__tests__/AiChatUserCreditsExhaustedBanner.test.tsx b/packages/twenty-front/src/modules/ai/components/__tests__/AiChatUserCreditsExhaustedBanner.test.tsx
new file mode 100644
index 00000000000..2ee10191e7a
--- /dev/null
+++ b/packages/twenty-front/src/modules/ai/components/__tests__/AiChatUserCreditsExhaustedBanner.test.tsx
@@ -0,0 +1,151 @@
+import { MockedProvider } from '@apollo/client/testing/react';
+import { i18n } from '@lingui/core';
+import { I18nProvider } from '@lingui/react';
+import { render, screen } from '@testing-library/react';
+import userEvent from '@testing-library/user-event';
+import { createStore, Provider as JotaiProvider } from 'jotai';
+import { SOURCE_LOCALE } from 'twenty-shared/translations';
+
+import { AiChatUserCreditsExhaustedBanner } from '@/ai/components/AiChatUserCreditsExhaustedBanner';
+import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState';
+import { currentWorkspaceState } from '@/auth/states/currentWorkspaceState';
+import {
+ GetAiChatUsageDocument,
+ UserCreditsFallback,
+} from '~/generated-metadata/graphql';
+import { messages } from '~/locales/generated/en';
+import {
+ mockCurrentWorkspace,
+ mockedWorkspaceMemberData,
+} from '~/testing/mock-data/users';
+
+i18n.load({ [SOURCE_LOCALE]: messages });
+i18n.activate(SOURCE_LOCALE);
+
+const PERIOD_END = new Date(Date.now() + 3 * 86400000).toISOString();
+
+const renderBanner = (
+ userCreditsFallback: UserCreditsFallback = UserCreditsFallback.WORKSPACE_CREDITS,
+) => {
+ const store = createStore();
+
+ store.set(currentWorkspaceMemberState.atom, mockedWorkspaceMemberData);
+ store.set(currentWorkspaceState.atom, {
+ ...mockCurrentWorkspace,
+ billingCustomer: {
+ id: 'billing-customer',
+ userCreditsFallback,
+ },
+ });
+
+ render(
+ <JotaiProvider store={store}>
+ <MockedProvider
+ mocks={[
+ {
+ request: { query: GetAiChatUsageDocument },
+ result: {
+ data: {
+ aiChatUsage: null,
+ aiChatUserCreditsUsage: {
+ __typename: 'AiChatUserCreditsUsage',
+ limitValue: 4160000,
+ consumedValue: 4160000,
+ periodEnd: PERIOD_END,
+ },
+ },
+ },
+ },
+ ]}
+ >
+ <I18nProvider i18n={i18n}>
+ <AiChatUserCreditsExhaustedBanner />
+ </I18nProvider>
+ </MockedProvider>
+ </JotaiProvider>,
+ );
+};
+
+describe('AiChatUserCreditsExhaustedBanner', () => {
+ beforeEach(() => {
+ localStorage.clear();
+ });
+
+ it.each([
+ [
+ UserCreditsFallback.WORKSPACE_CREDITS,
+ 'Personal usage limit reached. Using workspace credits until it resets in 3 days.',
+ ],
+ [
+ UserCreditsFallback.STOP,
+ 'Personal usage limit reached. Chats resume in 3 days.',
+ ],
+ ])(
+ 'tells the member what happens until renewal with fallback %s',
+ async (userCreditsFallback, notice) => {
+ renderBanner(userCreditsFallback);
+
+ expect(await screen.findByText(notice)).toBeVisible();
+ },
+ );
+
+ it('stays hidden for the rest of the period once dismissed', async () => {
+ renderBanner();
+
+ await userEvent.click(
+ await screen.findByRole('button', { name: 'Dismiss' }),
+ );
+
+ expect(
+ screen.queryByText(/Personal usage limit reached/),
+ ).not.toBeInTheDocument();
+ expect(
+ JSON.parse(
+ localStorage.getItem('ai/agentChatUserCreditsBannerDismissal') ??
+ 'null',
+ ),
+ ).toEqual({
+ workspaceMemberId: mockedWorkspaceMemberData.id,
+ periodEnd: PERIOD_END,
+ isFallingBackToWorkspaceCredits: true,
+ });
+ });
+
+ it('shows the notice to a member who did not dismiss it in this browser', async () => {
+ localStorage.setItem(
+ 'ai/agentChatUserCreditsBannerDismissal',
+ JSON.stringify({
+ workspaceMemberId: 'another-workspace-member-id',
+ periodEnd: PERIOD_END,
+ isFallingBackToWorkspaceCredits: true,
+ }),
+ );
+
+ renderBanner();
+
+ expect(
+ await screen.findByText(
+ 'Personal usage limit reached. Using workspace credits until it resets in 3 days.',
+ ),
+ ).toBeVisible();
+ });
+
+ it('shows the stop notice when chats stop after the fallback notice was dismissed', async () => {
+ localStorage.setItem(
+ 'ai/agentChatUserCreditsBannerDismissal',
+ JSON.stringify({
+ workspaceMemberId: mockedWorkspaceMemberData.id,
+ periodEnd: PERIOD_END,
+ isFallingBackToWorkspaceCredits: true,
+ }),
+ );
+
+ renderBanner(UserCreditsFallback.STOP);
+
+ expect(
+ await screen.findByText(
+ 'Personal usage limit reached. Chats resume in 3 days.',
+ ),
+ ).toBeVisible();
+ });
+});
diff --git a/packages/twenty-front/src/modules/ai/components/__tests__/AiChatUserCreditsExhaustedMessage.test.tsx b/packages/twenty-front/src/modules/ai/components/__tests__/AiChatUserCreditsExhaustedMessage.test.tsx
new file mode 100644
index 00000000000..eb676b24897
--- /dev/null
+++ b/packages/twenty-front/src/modules/ai/components/__tests__/AiChatUserCreditsExhaustedMessage.test.tsx
@@ -0,0 +1,139 @@
+import { MockedProvider } from '@apollo/client/testing/react';
+import { CombinedGraphQLErrors } from '@apollo/client/errors';
+import { i18n } from '@lingui/core';
+import { I18nProvider } from '@lingui/react';
+import { render, screen } from '@testing-library/react';
+import { createStore, Provider as JotaiProvider } from 'jotai';
+import { SOURCE_LOCALE } from 'twenty-shared/translations';
+
+import { AiChatErrorRenderer } from '@/ai/components/AiChatErrorRenderer';
+import { type AiChatError } from '@/ai/types/AiChatError';
+import { AiChatErrorCode } from '@/ai/utils/aiChatErrorCode';
+import { createAiChatCodedError } from '@/ai/utils/createAiChatCodedError';
+import { currentWorkspaceState } from '@/auth/states/currentWorkspaceState';
+import {
+ GetAiChatUsageDocument,
+ UserCreditsFallback,
+} from '~/generated-metadata/graphql';
+import { messages } from '~/locales/generated/en';
+import { mockCurrentWorkspace } from '~/testing/mock-data/users';
+
+i18n.load({ [SOURCE_LOCALE]: messages });
+i18n.activate(SOURCE_LOCALE);
+
+jest.mock('@/ai/hooks/useRetryChatMessage', () => ({
+ useRetryChatMessage: () => ({ retryChatMessage: jest.fn() }),
+}));
+jest.mock('@/ai/hooks/useCanRetryCurrentAiChatTurn', () => ({
+ useCanRetryCurrentAiChatTurn: () => true,
+}));
+
+const USER_CREDITS_STOPPED_TURN_ERROR = createAiChatCodedError(
+ 'The member ran out of AI credits.',
+ AiChatErrorCode.USER_CREDITS_EXHAUSTED,
+);
+
+const renderError = ({
+ error,
+ consumedValue = 830000,
+ userCreditsFallback = UserCreditsFallback.STOP,
+}: {
+ error: AiChatError;
+ consumedValue?: number;
+ userCreditsFallback?: UserCreditsFallback;
+}) => {
+ const store = createStore();
+
+ store.set(currentWorkspaceState.atom, {
+ ...mockCurrentWorkspace,
+ billingCustomer: { id: 'billing-customer', userCreditsFallback },
+ });
+
+ const result = {
+ data: {
+ aiChatUsage: null,
+ aiChatUserCreditsUsage: {
+ __typename: 'AiChatUserCreditsUsage',
+ limitValue: 830000,
+ consumedValue,
+ periodEnd: new Date(Date.now() + 3 * 86400000).toISOString(),
+ },
+ },
+ };
+
+ render(
+ <JotaiProvider store={store}>
+ <MockedProvider
+ mocks={[
+ {
+ request: { query: GetAiChatUsageDocument },
+ result,
+ },
+ ]}
+ >
+ <I18nProvider i18n={i18n}>
+ <AiChatErrorRenderer error={error} />
+ </I18nProvider>
+ </MockedProvider>
+ </JotaiProvider>,
+ );
+};
+
+describe('AiChatErrorRenderer with spent user credits', () => {
+ it('explains a reopened turn that user credits stopped, without a retry', async () => {
+ renderError({ error: USER_CREDITS_STOPPED_TURN_ERROR });
+
+ expect(screen.getByText('The member ran out of AI credits.')).toBeVisible();
+ expect(
+ await screen.findByText('AI credits renew in 3 days.'),
+ ).toBeVisible();
+ expect(
+ screen.queryByRole('button', { name: /Retry/ }),
+ ).not.toBeInTheDocument();
+ });
+
+ it('offers a retry without the renewal once credits have renewed', async () => {
+ renderError({ error: USER_CREDITS_STOPPED_TURN_ERROR, consumedValue: 0 });
+
+ expect(await screen.findByRole('button', { name: /Retry/ })).toBeVisible();
+ expect(screen.queryByText(/renew in/)).not.toBeInTheDocument();
+ });
+
+ it('offers a retry once chats fall back to workspace credits', async () => {
+ renderError({
+ error: USER_CREDITS_STOPPED_TURN_ERROR,
+ userCreditsFallback: UserCreditsFallback.WORKSPACE_CREDITS,
+ });
+
+ expect(await screen.findByRole('button', { name: /Retry/ })).toBeVisible();
+ });
+
+ it('explains a send refused upfront', async () => {
+ renderError({
+ error: new CombinedGraphQLErrors({
+ data: null,
+ errors: [
+ {
+ message: 'User credits allowance exhausted for this period',
+ extensions: {
+ code: 'QUOTA_EXHAUSTED',
+ exhaustedKind: 'userAllowance',
+ userFriendlyMessage:
+ 'Your AI credits for this period are used up.',
+ },
+ },
+ ],
+ }),
+ });
+
+ expect(
+ screen.getByText('Your AI credits for this period are used up.'),
+ ).toBeVisible();
+ expect(
+ await screen.findByText('AI credits renew in 3 days.'),
+ ).toBeVisible();
+ expect(
+ screen.queryByText('Ask an admin to raise the limit.'),
+ ).not.toBeInTheDocument();
+ });
+});
diff --git a/packages/twenty-front/src/modules/ai/components/internal/AiChatContextUsageButton.tsx b/packages/twenty-front/src/modules/ai/components/internal/AiChatContextUsageButton.tsx
index e07486d1a73..330fe125abe 100644
--- a/packages/twenty-front/src/modules/ai/components/internal/AiChatContextUsageButton.tsx
+++ b/packages/twenty-front/src/modules/ai/components/internal/AiChatContextUsageButton.tsx
@@ -1,4 +1,3 @@
-import { getAiChatUsageLabel } from '@/ai/utils/getAiChatUsageLabel';
import { formatAiChatTokens } from '@/ai/utils/formatAiChatTokens';
import { FloatingPortal, useTransitionStyles } from '@floating-ui/react';
import { styled } from '@linaria/react';
@@ -10,13 +9,15 @@ import { MetricRow } from 'twenty-ui/components/data-display';
import { LightIconButton } from 'twenty-ui/components/input';
import { ProgressRing } from 'twenty-ui/primitives/feedback';
import { Button } from 'twenty-ui/primitives/input';
-import { IconWindow, IconGauge } from 'twenty-ui/icon';
+import { IconWindow, IconGauge, IconUser } from 'twenty-ui/icon';
import { Separator } from 'twenty-ui/primitives/layout';
import { themeCssVariables, useTheme } from 'twenty-ui/theme';
import { AiChatContextUsageDetails } from '@/ai/components/internal/AiChatContextUsageDetails';
+import { AiChatUsageMetricRow } from '@/ai/components/internal/AiChatUsageMetricRow';
import { useAiChatHoverCard } from '@/ai/hooks/useAiChatHoverCard';
import { useAiChatUsage } from '@/ai/hooks/useAiChatUsage';
+import { useAiChatUserCreditsUsage } from '@/ai/hooks/useAiChatUserCreditsUsage';
import { useAiModelTiers } from '@/ai/hooks/useAiModelTiers';
import { useWorkspaceAiModelTiers } from '@/ai/hooks/useWorkspaceAiModelTiers';
import { useIsWorkspaceSetupChat } from '@/ai/hooks/useIsWorkspaceSetupChat';
@@ -24,7 +25,6 @@ import { agentChatUsageFamilyState } from '@/ai/states/agentChatUsageFamilyState
import { agentChatUserSelectedModelTierState } from '@/ai/states/agentChatUserSelectedModelTierState';
import { currentAiChatThreadState } from '@/ai/states/currentAiChatThreadState';
import { getUsageLimitRingColor } from '@/settings/billing/utils/getUsageLimitRingColor';
-import { computeUsageLimitProgress } from '@/settings/billing/utils/computeUsageLimitProgress';
import { StyledInformationCard } from '@/ui/layout/information-card/components/StyledInformationCard';
import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';
import { formatNumber } from '@/localization/utils/formatNumber';
@@ -109,34 +109,17 @@ export const AiChatContextUsageButton = () => {
fetchPolicy: 'network-only',
});
- const limitValue = creditUsage?.limitValue ?? null;
-
- const progress = isDefined(limitValue)
- ? computeUsageLimitProgress({
- limitValue,
- consumedValue: creditUsage?.consumedValue ?? null,
- })
- : null;
-
- const creditPercentage =
- limitValue === 0 ? 100 : (progress?.consumedPercentage ?? null);
+ const { userCreditsUsage } = useAiChatUserCreditsUsage({
+ skip: !isOpen || isWorkspaceSetupChat,
+ });
- const daysUntilReset = isDefined(creditUsage?.periodEnd)
- ? Math.max(
- 0,
- Math.ceil(
- (new Date(creditUsage.periodEnd).getTime() - Date.now()) / 86400000,
- ),
- )
- : null;
+ const isPaidByWorkspaceCredits =
+ !isDefined(userCreditsUsage) ||
+ (userCreditsUsage.isExhausted &&
+ userCreditsUsage.isFallingBackToWorkspaceCredits);
- const usageLabelInput = {
- loading,
- hasError: isDefined(error),
- hasUsage: isDefined(creditUsage),
- daysUntilReset,
- creditPercentage,
- };
+ const isAiLimitCharged =
+ creditUsage?.kind === 'limit' && !userCreditsUsage?.isExhausted;
const { isMounted, styles: transitionStyles } = useTransitionStyles(context, {
duration: shouldReduceMotion ? 0 : { open: 150, close: 100 },
@@ -190,25 +173,24 @@ export const AiChatContextUsageButton = () => {
>
{t`Context window`}
</MetricRow>
- {!isWorkspaceSetupChat && (
- <MetricRow
- startIcon={<IconGauge size={theme.icon.size.sm} />}
- progress={
- loading || isDefined(error) ? 0 : (creditPercentage ?? 0)
- }
- value={getAiChatUsageLabel(usageLabelInput)}
- progressValueText={getAiChatUsageLabel({
- ...usageLabelInput,
- unavailableConsumptionLabel: t`Not available`,
- })}
- progressColor={getUsageLimitRingColor({
- consumedPercentage: creditPercentage ?? 0,
- isExhausted: creditPercentage === 100,
- })}
- >
- {t`Usage`}
- </MetricRow>
+ {!isPaidByWorkspaceCredits && (
+ <AiChatUsageMetricRow
+ Icon={IconUser}
+ label={t`Personal usage`}
+ tooltip={t`Your own AI usage, separate from the workspace credits`}
+ usage={userCreditsUsage}
+ />
)}
+ {!isWorkspaceSetupChat &&
+ (isPaidByWorkspaceCredits || isAiLimitCharged) && (
+ <AiChatUsageMetricRow
+ Icon={IconGauge}
+ label={t`Usage`}
+ usage={creditUsage}
+ isLoading={loading}
+ hasError={isDefined(error)}
+ />
+ )}
{showDetails && <AiChatContextUsageDetails />}
{isDefined(agentChatUsage) && (
<>
diff --git a/packages/twenty-front/src/modules/ai/components/internal/AiChatUsageMetricRow.tsx b/packages/twenty-front/src/modules/ai/components/internal/AiChatUsageMetricRow.tsx
new file mode 100644
index 00000000000..4c6c28ca6f5
--- /dev/null
+++ b/packages/twenty-front/src/modules/ai/components/internal/AiChatUsageMetricRow.tsx
@@ -0,0 +1,72 @@
+import { useLingui } from '@lingui/react/macro';
+import { isDefined } from 'twenty-shared/utils';
+import { MetricRow } from 'twenty-ui/components/data-display';
+import { type IconComponent } from 'twenty-ui/icon';
+import { Tooltip } from 'twenty-ui/primitives/surfaces';
+import { useTheme } from 'twenty-ui/theme';
+
+import { type AiChatUsage } from '@/ai/types/AiChatUsage';
+import { computeDaysUntilReset } from '@/ai/utils/computeDaysUntilReset';
+import { getAiChatUsageLabel } from '@/ai/utils/getAiChatUsageLabel';
+import { computeUsageLimitProgress } from '@/settings/billing/utils/computeUsageLimitProgress';
+import { getUsageLimitRingColor } from '@/settings/billing/utils/getUsageLimitRingColor';
+import { TooltipDelay } from '@/ui/layout/tooltip/constants/TooltipDelay';
+
+type AiChatUsageMetricRowProps = {
+ Icon: IconComponent;
+ label: string;
+ tooltip?: string;
+ usage: Pick<AiChatUsage, 'limitValue' | 'consumedValue' | 'periodEnd'> | null;
+ isLoading?: boolean;
+ hasError?: boolean;
+};
+
+export const AiChatUsageMetricRow = ({
+ Icon,
+ label,
+ tooltip,
+ usage,
+ isLoading = false,
+ hasError = false,
+}: AiChatUsageMetricRowProps) => {
+ const { t } = useLingui();
+ const theme = useTheme();
+
+ const creditPercentage = isDefined(usage)
+ ? (computeUsageLimitProgress(usage)?.consumedPercentage ?? null)
+ : null;
+
+ const usageLabelInput = {
+ loading: isLoading,
+ hasError,
+ hasUsage: isDefined(usage),
+ daysUntilReset: isDefined(usage?.periodEnd)
+ ? computeDaysUntilReset(usage.periodEnd)
+ : null,
+ creditPercentage,
+ };
+
+ return (
+ <MetricRow
+ startIcon={<Icon size={theme.icon.size.sm} />}
+ progress={isLoading || hasError ? 0 : (creditPercentage ?? 0)}
+ value={getAiChatUsageLabel(usageLabelInput)}
+ progressValueText={getAiChatUsageLabel({
+ ...usageLabelInput,
+ unavailableConsumptionLabel: t`Not available`,
+ })}
+ progressColor={getUsageLimitRingColor({
+ consumedPercentage: creditPercentage ?? 0,
+ isExhausted: creditPercentage === 100,
+ })}
+ >
+ {isDefined(tooltip) ? (
+ <Tooltip content={tooltip} delay={TooltipDelay.shortDelay}>
+ <span>{label}</span>
+ </Tooltip>
+ ) : (
+ label
+ )}
+ </MetricRow>
+ );
+};
diff --git a/packages/twenty-front/src/modules/ai/components/internal/__stories__/AiChatContextUsageButton.stories.tsx b/packages/twenty-front/src/modules/ai/components/internal/__stories__/AiChatContextUsageButton.stories.tsx
index 6c6555d1b00..879f527e540 100644
--- a/packages/twenty-front/src/modules/ai/components/internal/__stories__/AiChatContextUsageButton.stories.tsx
+++ b/packages/twenty-front/src/modules/ai/components/internal/__stories__/AiChatContextUsageButton.stories.tsx
@@ -11,7 +11,13 @@ import {
type AgentChatUsageState,
} from '@/ai/states/agentChatUsageFamilyState';
import { currentAiChatThreadState } from '@/ai/states/currentAiChatThreadState';
-import { GetAiChatUsageDocument } from '~/generated-metadata/graphql';
+import { type AiChatUserCreditsUsage } from '@/ai/types/AiChatUserCreditsUsage';
+import { currentWorkspaceState } from '@/auth/states/currentWorkspaceState';
+import {
+ GetAiChatUsageDocument,
+ UserCreditsFallback,
+} from '~/generated-metadata/graphql';
+import { mockCurrentWorkspace } from '~/testing/mock-data/users';
const USAGE: AgentChatUsageState = {
conversationSize: 200000,
@@ -34,20 +40,30 @@ const UsageStory = ({
usage = null,
limit = 1000,
consumed = 800,
+ kind = 'workspaceAllowance',
error = false,
loading = false,
+ userCreditsUsage = null,
+ userCreditsFallback = UserCreditsFallback.WORKSPACE_CREDITS,
children,
}: {
usage?: AgentChatUsageState | null;
limit?: number | null;
consumed?: number | null;
+ kind?: string;
error?: boolean;
loading?: boolean;
+ userCreditsUsage?: AiChatUserCreditsUsage | null;
+ userCreditsFallback?: UserCreditsFallback;
children?: ReactNode;
}) => {
const [store] = useState(() => {
const storyStore = createStore();
storyStore.set(currentAiChatThreadState.atom, 'story-thread');
+ storyStore.set(currentWorkspaceState.atom, {
+ ...mockCurrentWorkspace,
+ billingCustomer: { id: 'billing-customer', userCreditsFallback },
+ });
storyStore.set(
agentChatUsageFamilyState.atomFamily({ threadId: 'story-thread' }),
usage,
@@ -74,8 +90,12 @@ const UsageStory = ({
limitValue: limit,
consumedValue: consumed,
periodEnd: null,
- kind: 'workspaceAllowance',
+ kind,
},
+ aiChatUserCreditsUsage: userCreditsUsage && {
+ __typename: 'AiChatUserCreditsUsage',
+ ...userCreditsUsage,
+ },
},
},
}),
@@ -145,6 +165,112 @@ export const Expanded: Story = {
export const ReopenedConversation: Story = {
render: () => <UsageStory usage={{ ...USAGE, lastMessage: null }} />,
};
+const USER_CREDITS_PERIOD_END = new Date(
+ Date.now() + 3 * 86400000,
+).toISOString();
+
+export const WithUserCredits: Story = {
+ render: () => (
+ <UsageStory
+ userCreditsUsage={{
+ limitValue: 4160000,
+ consumedValue: 1160000,
+ periodEnd: USER_CREDITS_PERIOD_END,
+ }}
+ />
+ ),
+ play: async ({ canvasElement }) => {
+ const canvas = within(canvasElement);
+ const page = within(canvasElement.ownerDocument.body);
+ await userEvent.click(
+ canvas.getByRole('button', { name: /^Context and usage/ }),
+ );
+ await waitFor(() => expect(page.getByText('Personal usage')).toBeVisible());
+ await expect(
+ page.getByRole('progressbar', { name: 'Personal usage' }),
+ ).toHaveAttribute('aria-valuetext', 'Reset in 3 days (28%)');
+ await expect(page.queryByText('Usage')).not.toBeInTheDocument();
+ await userEvent.hover(page.getByText('Personal usage'));
+ await waitFor(() =>
+ expect(
+ page.getByText(
+ 'Your own AI usage, separate from the workspace credits',
+ ),
+ ).toBeVisible(),
+ );
+ },
+};
+export const WithUserCreditsAndLimit: Story = {
+ render: () => (
+ <UsageStory
+ kind="limit"
+ userCreditsUsage={{
+ limitValue: 4160000,
+ consumedValue: 1160000,
+ periodEnd: USER_CREDITS_PERIOD_END,
+ }}
+ />
+ ),
+ play: async ({ canvasElement }) => {
+ const canvas = within(canvasElement);
+ const page = within(canvasElement.ownerDocument.body);
+ await userEvent.click(
+ canvas.getByRole('button', { name: /^Context and usage/ }),
+ );
+ await waitFor(() => expect(page.getByText('Personal usage')).toBeVisible());
+ await expect(page.getByText('Usage')).toBeVisible();
+ },
+};
+export const UserCreditsSpentWithFallback: Story = {
+ render: () => (
+ <UsageStory
+ userCreditsUsage={{
+ limitValue: 4160000,
+ consumedValue: 4160000,
+ periodEnd: USER_CREDITS_PERIOD_END,
+ }}
+ />
+ ),
+ play: async ({ canvasElement }) => {
+ const canvas = within(canvasElement);
+ const page = within(canvasElement.ownerDocument.body);
+ await userEvent.click(
+ canvas.getByRole('button', { name: /^Context and usage/ }),
+ );
+ await waitFor(() =>
+ expect(page.getByRole('progressbar', { name: 'Usage' })).toHaveAttribute(
+ 'aria-valuetext',
+ '80%',
+ ),
+ );
+ await expect(page.queryByText('Personal usage')).not.toBeInTheDocument();
+ },
+};
+export const UserCreditsSpentWithoutFallback: Story = {
+ render: () => (
+ <UsageStory
+ userCreditsUsage={{
+ limitValue: 4160000,
+ consumedValue: 4160000,
+ periodEnd: USER_CREDITS_PERIOD_END,
+ }}
+ userCreditsFallback={UserCreditsFallback.STOP}
+ />
+ ),
+ play: async ({ canvasElement }) => {
+ const canvas = within(canvasElement);
+ const page = within(canvasElement.ownerDocument.body);
+ await userEvent.click(
+ canvas.getByRole('button', { name: /^Context and usage/ }),
+ );
+ await waitFor(() =>
+ expect(
+ page.getByRole('progressbar', { name: 'Personal usage' }),
+ ).toHaveAttribute('aria-valuetext', 'Reset in 3 days (100%)'),
+ );
+ await expect(page.queryByText('Usage')).not.toBeInTheDocument();
+ },
+};
export const NoLimit: Story = { render: () => <UsageStory limit={null} /> };
export const UnknownConsumption: Story = {
render: () => <UsageStory consumed={null} />,
diff --git a/packages/twenty-front/src/modules/ai/graphql/queries/getAiChatUsage.ts b/packages/twenty-front/src/modules/ai/graphql/queries/getAiChatUsage.ts
index b46f87d1e00..26db9726630 100644
--- a/packages/twenty-front/src/modules/ai/graphql/queries/getAiChatUsage.ts
+++ b/packages/twenty-front/src/modules/ai/graphql/queries/getAiChatUsage.ts
@@ -8,5 +8,10 @@ export const GET_AI_CHAT_USAGE = gql`
periodEnd
kind
}
+ aiChatUserCreditsUsage {
+ limitValue
+ consumedValue
+ periodEnd
+ }
}
`;
diff --git a/packages/twenty-front/src/modules/ai/hooks/__tests__/useAgentChatSubscription.test.tsx b/packages/twenty-front/src/modules/ai/hooks/__tests__/useAgentChatSubscription.test.tsx
index fd979d74f4b..fa41d72b8b6 100644
--- a/packages/twenty-front/src/modules/ai/hooks/__tests__/useAgentChatSubscription.test.tsx
+++ b/packages/twenty-front/src/modules/ai/hooks/__tests__/useAgentChatSubscription.test.tsx
@@ -11,6 +11,7 @@ import { agentChatFetchedMessagesFamilyState } from '@/ai/states/agentChatFetche
import { agentChatQueuedMessagesFamilyState } from '@/ai/states/agentChatQueuedMessagesFamilyState';
import { agentChatErrorFamilyState } from '@/ai/states/agentChatErrorFamilyState';
import { agentChatIsAwaitingFirstChunkFamilyState } from '@/ai/states/agentChatIsAwaitingFirstChunkFamilyState';
+import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState';
import { sseClientState } from '@/sse-db-event/states/sseClientState';
import {
jotaiStore,
@@ -29,6 +30,10 @@ const disconnect = jest.fn();
jest.mock('@/ai/hooks/useRefreshAgentChatThreads', () => ({
useRefreshAgentChatThreads: () => ({ refreshAgentChatThreads }),
}));
+const refreshAiChatUsage = jest.fn();
+jest.mock('@/ai/hooks/useRefreshAiChatUsage', () => ({
+ useRefreshAiChatUsage: () => ({ refreshAiChatUsage }),
+}));
const key = { threadId: 'thread' };
const messagesAtom = agentChatMessagesFamilyState.atomFamily(key);
const fetchedAtom = agentChatFetchedMessagesFamilyState.atomFamily(key);
@@ -349,3 +354,46 @@ describe('Message reactions', () => {
unmount();
});
});
+
+describe('User credits exhausted', () => {
+ const sendUserCreditsExhausted = (workspaceMemberId: string) =>
+ subscribe.mock.calls[0][1].next({
+ data: {
+ onAgentChatEvent: {
+ threadId: 'thread',
+ event: {
+ type: 'user-credits-exhausted',
+ workspaceMemberId,
+ isFallingBackToWorkspaceCredits: true,
+ renewsAt: '2026-10-26T00:00:00.000Z',
+ },
+ },
+ },
+ });
+
+ beforeEach(() => {
+ jest.clearAllMocks();
+ resetJotaiStore();
+ subscribe.mockReturnValue(disconnect);
+ jotaiStore.set(sseClientState.atom, { subscribe } as never);
+ jotaiStore.set(currentWorkspaceMemberState.atom, {
+ id: 'julia',
+ } as never);
+ });
+
+ it('refreshes the user credits of the member who sent the turn only', () => {
+ const { unmount } = renderHook(() => useAgentChatSubscription('thread'), {
+ wrapper: Wrapper,
+ });
+
+ act(() => sendUserCreditsExhausted('tom'));
+
+ expect(refreshAiChatUsage).not.toHaveBeenCalled();
+
+ act(() => sendUserCreditsExhausted('julia'));
+
+ expect(refreshAiChatUsage).toHaveBeenCalledTimes(1);
+ expect(jotaiStore.get(errorAtom)).toBeNull();
+ unmount();
+ });
+});
diff --git a/packages/twenty-front/src/modules/ai/hooks/useAgentChatSubscription.ts b/packages/twenty-front/src/modules/ai/hooks/useAgentChatSubscription.ts
index 3fae458eed6..6879ef98bf2 100644
--- a/packages/twenty-front/src/modules/ai/hooks/useAgentChatSubscription.ts
+++ b/packages/twenty-front/src/modules/ai/hooks/useAgentChatSubscription.ts
@@ -6,6 +6,7 @@ import { agentChatLiveReactionRevisionsFamilyState } from '@/ai/states/agentChat
import { agentChatFetchedMessagesFamilyState } from '@/ai/states/agentChatFetchedMessagesFamilyState';
import { agentChatQueuedMessagesFamilyState } from '@/ai/states/agentChatQueuedMessagesFamilyState';
import { useRefreshAgentChatThreads } from '@/ai/hooks/useRefreshAgentChatThreads';
+import { useRefreshAiChatUsage } from '@/ai/hooks/useRefreshAiChatUsage';
import { isChatAccessDenied } from '@/ai/utils/isChatAccessDenied';
import { useEffect, useState } from 'react';
import { t } from '@lingui/core/macro';
@@ -40,6 +41,7 @@ import { createMidStreamAdapter } from '@/ai/utils/createMidStreamAdapter';
import { createStreamChunkSequencer } from '@/ai/utils/createStreamChunkSequencer';
import { getAgentChatMessageThreadTitle } from '@/ai/utils/getAgentChatMessageThreadTitle';
import { upsertAgentChatMessage } from '@/ai/utils/upsertAgentChatMessage';
+import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState';
import { currentWorkspaceState } from '@/auth/states/currentWorkspaceState';
import { dispatchBrowserEvent } from '@/browser-event/utils/dispatchBrowserEvent';
import { sseClientState } from '@/sse-db-event/states/sseClientState';
@@ -61,6 +63,7 @@ export const useAgentChatSubscription = (threadId: string | null) => {
const { refreshAgentChatThreadPermissions } =
useRefreshAgentChatThreadPermissions();
const { refreshAgentChatThreads } = useRefreshAgentChatThreads();
+ const { refreshAiChatUsage } = useRefreshAiChatUsage();
const { applyAgentChatThreadUpdate } = useApplyAgentChatThreadUpdate();
const sseClient = useAtomStateValue(sseClientState);
const [resubscribeNonce, setResubscribeNonce] = useState(0);
@@ -336,6 +339,16 @@ export const useAgentChatSubscription = (threadId: string | null) => {
store.set(isStreamingAtom, false);
break;
}
+
+ case 'user-credits-exhausted': {
+ if (
+ event.workspaceMemberId ===
+ store.get(currentWorkspaceMemberState.atom)?.id
+ ) {
+ refreshAiChatUsage();
+ }
+ break;
+ }
}
};
@@ -484,6 +497,7 @@ export const useAgentChatSubscription = (threadId: string | null) => {
store,
refreshAgentChatThreads,
refreshAgentChatThreadPermissions,
+ refreshAiChatUsage,
applyAgentChatThreadUpdate,
currentUserWorkspace,
]);
diff --git a/packages/twenty-front/src/modules/ai/hooks/useAiChatUserCreditsUsage.ts b/packages/twenty-front/src/modules/ai/hooks/useAiChatUserCreditsUsage.ts
new file mode 100644
index 00000000000..933420a7816
--- /dev/null
+++ b/packages/twenty-front/src/modules/ai/hooks/useAiChatUserCreditsUsage.ts
@@ -0,0 +1,49 @@
+import { useQuery } from '@apollo/client/react';
+import { isDefined } from 'twenty-shared/utils';
+
+import { computeDaysUntilReset } from '@/ai/utils/computeDaysUntilReset';
+import { isAiChatUserCreditsExhausted } from '@/ai/utils/isAiChatUserCreditsExhausted';
+import { currentWorkspaceState } from '@/auth/states/currentWorkspaceState';
+import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';
+import {
+ GetAiChatUsageDocument,
+ UserCreditsFallback,
+} from '~/generated-metadata/graphql';
+
+export const useAiChatUserCreditsUsage = ({
+ skip = false,
+}: { skip?: boolean } = {}) => {
+ const currentWorkspace = useAtomStateValue(currentWorkspaceState);
+
+ const { data } = useQuery(GetAiChatUsageDocument, {
+ skip,
+ fetchPolicy: 'cache-and-network',
+ });
+
+ const aiChatUserCreditsUsage = data?.aiChatUserCreditsUsage;
+
+ if (!isDefined(aiChatUserCreditsUsage)) {
+ return { userCreditsUsage: null };
+ }
+
+ const usage = {
+ limitValue: Number(aiChatUserCreditsUsage.limitValue),
+ consumedValue: isDefined(aiChatUserCreditsUsage.consumedValue)
+ ? Number(aiChatUserCreditsUsage.consumedValue)
+ : null,
+ periodEnd: aiChatUserCreditsUsage.periodEnd,
+ };
+
+ const daysUntilReset = computeDaysUntilReset(usage.periodEnd);
+
+ return {
+ userCreditsUsage: {
+ ...usage,
+ daysUntilReset,
+ isExhausted: isAiChatUserCreditsExhausted(usage) && daysUntilReset > 0,
+ isFallingBackToWorkspaceCredits:
+ currentWorkspace?.billingCustomer?.userCreditsFallback !==
+ UserCreditsFallback.STOP,
+ },
+ };
+};
diff --git a/packages/twenty-front/src/modules/ai/hooks/useRefreshAiChatUsage.ts b/packages/twenty-front/src/modules/ai/hooks/useRefreshAiChatUsage.ts
new file mode 100644
index 00000000000..3d80096d820
--- /dev/null
+++ b/packages/twenty-front/src/modules/ai/hooks/useRefreshAiChatUsage.ts
@@ -0,0 +1,16 @@
+import { useApolloClient } from '@apollo/client/react';
+import { useCallback } from 'react';
+
+import { GetAiChatUsageDocument } from '~/generated-metadata/graphql';
+
+export const useRefreshAiChatUsage = () => {
+ const client = useApolloClient();
+
+ const refreshAiChatUsage = useCallback(() => {
+ client
+ .refetchQueries({ include: [GetAiChatUsageDocument] })
+ .catch(() => undefined);
+ }, [client]);
+
+ return { refreshAiChatUsage };
+};
diff --git a/packages/twenty-front/src/modules/ai/states/agentChatUserCreditsBannerDismissalState.ts b/packages/twenty-front/src/modules/ai/states/agentChatUserCreditsBannerDismissalState.ts
new file mode 100644
index 00000000000..464f80bb37a
--- /dev/null
+++ b/packages/twenty-front/src/modules/ai/states/agentChatUserCreditsBannerDismissalState.ts
@@ -0,0 +1,11 @@
+import { createAtomState } from '@/ui/utilities/state/jotai/utils/createAtomState';
+
+export const agentChatUserCreditsBannerDismissalState = createAtomState<{
+ workspaceMemberId: string;
+ periodEnd: string;
+ isFallingBackToWorkspaceCredits: boolean;
+} | null>({
+ key: 'ai/agentChatUserCreditsBannerDismissal',
+ defaultValue: null,
+ useLocalStorage: true,
+});
diff --git a/packages/twenty-front/src/modules/ai/types/AiChatUserCreditsUsage.ts b/packages/twenty-front/src/modules/ai/types/AiChatUserCreditsUsage.ts
new file mode 100644
index 00000000000..ea64ba48e90
--- /dev/null
+++ b/packages/twenty-front/src/modules/ai/types/AiChatUserCreditsUsage.ts
@@ -0,0 +1,8 @@
+import { type AiChatUsage } from '@/ai/types/AiChatUsage';
+
+export type AiChatUserCreditsUsage = Pick<
+ AiChatUsage,
+ 'limitValue' | 'consumedValue'
+> & {
+ periodEnd: string;
+};
diff --git a/packages/twenty-front/src/modules/ai/utils/__tests__/computeDaysUntilReset.test.ts b/packages/twenty-front/src/modules/ai/utils/__tests__/computeDaysUntilReset.test.ts
new file mode 100644
index 00000000000..243834b5614
--- /dev/null
+++ b/packages/twenty-front/src/modules/ai/utils/__tests__/computeDaysUntilReset.test.ts
@@ -0,0 +1,24 @@
+import { computeDaysUntilReset } from '@/ai/utils/computeDaysUntilReset';
+
+describe('computeDaysUntilReset', () => {
+ beforeEach(() => {
+ jest.useFakeTimers({ now: new Date('2026-10-23T12:00:00Z') });
+ });
+
+ afterEach(() => {
+ jest.useRealTimers();
+ });
+
+ it.each<[string, number]>([
+ ['2026-10-26T12:00:00Z', 3],
+ ['2026-10-26T00:00:00Z', 3],
+ ['2026-10-23T12:05:00Z', 1],
+ ['2026-10-23T12:00:00Z', 0],
+ ['2026-10-20T00:00:00Z', 0],
+ ])(
+ 'counts the days left until %s, a partial day as a full one',
+ (periodEnd, expected) => {
+ expect(computeDaysUntilReset(periodEnd)).toBe(expected);
+ },
+ );
+});
diff --git a/packages/twenty-front/src/modules/ai/utils/__tests__/getAiChatQuotaExhaustedKind.test.ts b/packages/twenty-front/src/modules/ai/utils/__tests__/getAiChatQuotaExhaustedKind.test.ts
index 751d2cfa612..5bd1daa0b2b 100644
--- a/packages/twenty-front/src/modules/ai/utils/__tests__/getAiChatQuotaExhaustedKind.test.ts
+++ b/packages/twenty-front/src/modules/ai/utils/__tests__/getAiChatQuotaExhaustedKind.test.ts
@@ -19,6 +19,12 @@ describe('getAiChatQuotaExhaustedKind', () => {
),
).toBe('workspaceAllowance');
+ expect(
+ getAiChatQuotaExhaustedKind(
+ buildError({ code: 'QUOTA_EXHAUSTED', exhaustedKind: 'userAllowance' }),
+ ),
+ ).toBe('userAllowance');
+
expect(
getAiChatQuotaExhaustedKind(
buildError({ code: 'QUOTA_EXHAUSTED', exhaustedKind: 'limit' }),
diff --git a/packages/twenty-front/src/modules/ai/utils/__tests__/isAiChatUserCreditsExhausted.test.ts b/packages/twenty-front/src/modules/ai/utils/__tests__/isAiChatUserCreditsExhausted.test.ts
new file mode 100644
index 00000000000..c0a838840a1
--- /dev/null
+++ b/packages/twenty-front/src/modules/ai/utils/__tests__/isAiChatUserCreditsExhausted.test.ts
@@ -0,0 +1,19 @@
+import { isAiChatUserCreditsExhausted } from '@/ai/utils/isAiChatUserCreditsExhausted';
+
+const periodEnd = '2026-10-26T00:00:00.000Z';
+
+describe('isAiChatUserCreditsExhausted', () => {
+ it.each<[number | null, boolean]>([
+ [1000000, false],
+ [4160000, true],
+ [null, false],
+ ])('with %s of 4160000 consumed, returns %s', (consumedValue, expected) => {
+ expect(
+ isAiChatUserCreditsExhausted({
+ limitValue: 4160000,
+ consumedValue,
+ periodEnd,
+ }),
+ ).toBe(expected);
+ });
+});
diff --git a/packages/twenty-front/src/modules/ai/utils/aiChatErrorCode.ts b/packages/twenty-front/src/modules/ai/utils/aiChatErrorCode.ts
index 8fd512b43dd..407bfc1b355 100644
--- a/packages/twenty-front/src/modules/ai/utils/aiChatErrorCode.ts
+++ b/packages/twenty-front/src/modules/ai/utils/aiChatErrorCode.ts
@@ -5,4 +5,5 @@ export const AiChatErrorCode = {
CONNECTION_LOST: 'CONNECTION_LOST',
TOOL_CALL_NOT_PENDING: 'TOOL_CALL_NOT_PENDING',
QUOTA_EXHAUSTED: 'QUOTA_EXHAUSTED',
+ USER_CREDITS_EXHAUSTED: 'USER_CREDITS_EXHAUSTED',
} as const;
diff --git a/packages/twenty-front/src/modules/ai/utils/computeDaysUntilReset.ts b/packages/twenty-front/src/modules/ai/utils/computeDaysUntilReset.ts
new file mode 100644
index 00000000000..41bbffc1787
--- /dev/null
+++ b/packages/twenty-front/src/modules/ai/utils/computeDaysUntilReset.ts
@@ -0,0 +1,9 @@
+const MILLISECONDS_PER_DAY = 86400000;
+
+export const computeDaysUntilReset = (periodEnd: string) =>
+ Math.max(
+ 0,
+ Math.ceil(
+ (new Date(periodEnd).getTime() - Date.now()) / MILLISECONDS_PER_DAY,
+ ),
+ );
diff --git a/packages/twenty-front/src/modules/ai/utils/getAiChatQuotaExhaustedKind.ts b/packages/twenty-front/src/modules/ai/utils/getAiChatQuotaExhaustedKind.ts
index 3b253c814ee..19586035f9a 100644
--- a/packages/twenty-front/src/modules/ai/utils/getAiChatQuotaExhaustedKind.ts
+++ b/packages/twenty-front/src/modules/ai/utils/getAiChatQuotaExhaustedKind.ts
@@ -5,13 +5,16 @@ import { isGraphqlErrorOfType } from '~/utils/is-graphql-error-of-type.util';
// An unreadable refusal is reported as a limit: guessing 'workspaceAllowance' would flip the workspace into the upgrade banner
export const getAiChatQuotaExhaustedKind = (
error: unknown,
-): 'limit' | 'workspaceAllowance' | null => {
+): 'limit' | 'workspaceAllowance' | 'userAllowance' | null => {
if (!isGraphqlErrorOfType(error, AiChatErrorCode.QUOTA_EXHAUSTED)) {
return null;
}
- return getGraphqlErrorExtensionsFromError(error)?.exhaustedKind ===
- 'workspaceAllowance'
- ? 'workspaceAllowance'
+ const exhaustedKind =
+ getGraphqlErrorExtensionsFromError(error)?.exhaustedKind;
+
+ return exhaustedKind === 'workspaceAllowance' ||
+ exhaustedKind === 'userAllowance'
+ ? exhaustedKind
: 'limit';
};
diff --git a/packages/twenty-front/src/modules/ai/utils/isAiChatUserCreditsExhausted.ts b/packages/twenty-front/src/modules/ai/utils/isAiChatUserCreditsExhausted.ts
new file mode 100644
index 00000000000..2f6b0b4f93f
--- /dev/null
+++ b/packages/twenty-front/src/modules/ai/utils/isAiChatUserCreditsExhausted.ts
@@ -0,0 +1,9 @@
+import { isDefined } from 'twenty-shared/utils';
+
+import { type AiChatUserCreditsUsage } from '@/ai/types/AiChatUserCreditsUsage';
+
+export const isAiChatUserCreditsExhausted = ({
+ limitValue,
+ consumedValue,
+}: AiChatUserCreditsUsage): boolean =>
+ isDefined(consumedValue) && consumedValue >= limitValue;
diff --git a/packages/twenty-front/src/modules/ai/utils/isAiChatUserCreditsExhaustedError.ts b/packages/twenty-front/src/modules/ai/utils/isAiChatUserCreditsExhaustedError.ts
new file mode 100644
index 00000000000..fd7f58edd1d
--- /dev/null
+++ b/packages/twenty-front/src/modules/ai/utils/isAiChatUserCreditsExhaustedError.ts
@@ -0,0 +1,7 @@
+import { AiChatErrorCode } from '@/ai/utils/aiChatErrorCode';
+import { getAiChatQuotaExhaustedKind } from '@/ai/utils/getAiChatQuotaExhaustedKind';
+import { isGraphqlErrorOfType } from '~/utils/is-graphql-error-of-type.util';
+
+export const isAiChatUserCreditsExhaustedError = (error: unknown): boolean =>
+ isGraphqlErrorOfType(error, AiChatErrorCode.USER_CREDITS_EXHAUSTED) ||
+ getAiChatQuotaExhaustedKind(error) === 'userAllowance';
diff --git a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingContent.tsx b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingContent.tsx
index 1334a4dbef6..6945a3b08c7 100644
--- a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingContent.tsx
+++ b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingContent.tsx
@@ -4,6 +4,7 @@ import { currentWorkspaceState } from '@/auth/states/currentWorkspaceState';
import { SettingsBillingCreditsSection } from '@/settings/billing/components/SettingsBillingCreditsSection';
import { SettingsBillingSubscriptionInfo } from '@/settings/billing/components/SettingsBillingSubscriptionInfo';
import { SettingsBillingTrialNoPaymentMethodBanner } from '@/settings/billing/components/SettingsBillingTrialNoPaymentMethodBanner';
+import { SettingsBillingUserCreditsSection } from '@/settings/billing/components/SettingsBillingUserCreditsSection';
import { UpdatePaymentMethodModal } from '@/settings/billing/components/UpdatePaymentMethodModal';
import { useGetResourceCreditUsage } from '@/settings/billing/hooks/useGetResourceCreditUsage';
import { usePaymentMethodFlow } from '@/settings/billing/hooks/usePaymentMethodFlow';
@@ -88,6 +89,9 @@ export const SettingsBillingContent = () => {
isUpdatePaymentDisabled={isPaymentMethodFlowDisabled}
/>
)}
+ {hasNotCanceledCurrentSubscription && (
+ <SettingsBillingUserCreditsSection />
+ )}
<Section.Root>
<Section.Header
title={t`Manage billing information`}
diff --git a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingUserCreditsSection.tsx b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingUserCreditsSection.tsx
new file mode 100644
index 00000000000..f4140596689
--- /dev/null
+++ b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingUserCreditsSection.tsx
@@ -0,0 +1,84 @@
+import { useMutation } from '@apollo/client/react';
+import { useLingui } from '@lingui/react/macro';
+import { isDefined } from 'twenty-shared/utils';
+import { useToast } from 'twenty-ui/components/feedback';
+import { Section } from 'twenty-ui/components/layout';
+import { IconCoins } from 'twenty-ui/icon';
+import { Card } from 'twenty-ui/primitives/surfaces';
+
+import { currentWorkspaceState } from '@/auth/states/currentWorkspaceState';
+import { getToastOptionsFromError } from '@/error-handler/utils/getToastOptionsFromError';
+import { SettingsOptionCardContentSwitch } from '@/settings/components/SettingsOptions/SettingsOptionCardContentSwitch';
+import { useHasPermissionFlag } from '@/settings/roles/hooks/useHasPermissionFlag';
+import { useAtomState } from '@/ui/utilities/state/jotai/hooks/useAtomState';
+import {
+ PermissionFlagType,
+ UpdateUserCreditsFallbackDocument,
+ UserCreditsFallback,
+} from '~/generated-metadata/graphql';
+
+export const SettingsBillingUserCreditsSection = () => {
+ const { t } = useLingui();
+ const { enqueueToast } = useToast();
+ const [currentWorkspace, setCurrentWorkspace] = useAtomState(
+ currentWorkspaceState,
+ );
+ const [updateUserCreditsFallback, { loading }] = useMutation(
+ UpdateUserCreditsFallbackDocument,
+ );
+
+ const hasPermissionToManageBilling = useHasPermissionFlag(
+ PermissionFlagType.BILLING,
+ );
+
+ const billingCustomer = currentWorkspace?.billingCustomer;
+
+ if (
+ !hasPermissionToManageBilling ||
+ !isDefined(currentWorkspace) ||
+ !isDefined(billingCustomer) ||
+ !currentWorkspace.currentBillingSubscription?.hasUserCredits
+ ) {
+ return null;
+ }
+
+ const handleUserCreditsFallbackChange = async (checked: boolean) => {
+ const userCreditsFallback = checked
+ ? UserCreditsFallback.WORKSPACE_CREDITS
+ : UserCreditsFallback.STOP;
+
+ try {
+ setCurrentWorkspace({
+ ...currentWorkspace,
+ billingCustomer: { ...billingCustomer, userCreditsFallback },
+ });
+
+ await updateUserCreditsFallback({ variables: { userCreditsFallback } });
+ } catch (error) {
+ setCurrentWorkspace(currentWorkspace);
+ enqueueToast(getToastOptionsFromError({ error }));
+ }
+ };
+
+ return (
+ <Section.Root>
+ <Section.Header
+ title={t`User credits`}
+ description={t`Each member spends their own AI credits before workspace credits`}
+ />
+ <Card.Root>
+ <SettingsOptionCardContentSwitch
+ Icon={IconCoins}
+ title={t`Use workspace credits when a member runs out`}
+ description={t`When off, a member's AI chats stop until their credits renew`}
+ checked={
+ billingCustomer.userCreditsFallback ===
+ UserCreditsFallback.WORKSPACE_CREDITS
+ }
+ disabled={loading}
+ onChange={handleUserCreditsFallbackChange}
+ />
+ </Card.Root>
+ </Section.Root>
+ );
+};
diff --git a/packages/twenty-front/src/modules/settings/billing/components/__tests__/SettingsBillingUserCreditsSection.test.tsx b/packages/twenty-front/src/modules/settings/billing/components/__tests__/SettingsBillingUserCreditsSection.test.tsx
new file mode 100644
index 00000000000..36c7c2d481a
--- /dev/null
+++ b/packages/twenty-front/src/modules/settings/billing/components/__tests__/SettingsBillingUserCreditsSection.test.tsx
@@ -0,0 +1,132 @@
+import { MockedProvider } from '@apollo/client/testing/react';
+import { i18n } from '@lingui/core';
+import { I18nProvider } from '@lingui/react';
+import { render, screen, waitFor } from '@testing-library/react';
+import userEvent from '@testing-library/user-event';
+import { createStore, Provider as JotaiProvider } from 'jotai';
+import { SOURCE_LOCALE } from 'twenty-shared/translations';
+
+import { currentUserWorkspaceState } from '@/auth/states/currentUserWorkspaceState';
+import { currentWorkspaceState } from '@/auth/states/currentWorkspaceState';
+import { SettingsBillingUserCreditsSection } from '@/settings/billing/components/SettingsBillingUserCreditsSection';
+import {
+ PermissionFlagType,
+ UpdateUserCreditsFallbackDocument,
+ UserCreditsFallback,
+} from '~/generated-metadata/graphql';
+import { messages } from '~/locales/generated/en';
+import { mockCurrentWorkspace } from '~/testing/mock-data/users';
+
+i18n.load({ [SOURCE_LOCALE]: messages });
+i18n.activate(SOURCE_LOCALE);
+
+jest.mock('twenty-ui/components/feedback', () => ({
+ ...jest.requireActual('twenty-ui/components/feedback'),
+ useToast: () => ({ enqueueToast: jest.fn() }),
+}));
+
+const BILLING_CUSTOMER_ID = '20202020-1c25-4d02-bf25-6aeccf7ea419';
+
+const renderSection = ({
+ hasUserCredits,
+ hasBillingPermission = true,
+ userCreditsFallback,
+}: {
+ hasUserCredits: boolean;
+ hasBillingPermission?: boolean;
+ userCreditsFallback: UserCreditsFallback;
+}) => {
+ const store = createStore();
+
+ store.set(currentUserWorkspaceState.atom, {
+ permissionFlags: hasBillingPermission ? [PermissionFlagType.BILLING] : [],
+ twoFactorAuthenticationMethodSummary: [],
+ objectsPermissions: [],
+ isImpersonating: false,
+ });
+
+ store.set(currentWorkspaceState.atom, {
+ ...mockCurrentWorkspace,
+ currentBillingSubscription: {
+ ...mockCurrentWorkspace.currentBillingSubscription,
+ hasUserCredits,
+ },
+ billingCustomer: {
+ id: BILLING_CUSTOMER_ID,
+ hasPaymentMethod: true,
+ userCreditsFallback,
+ },
+ });
+
+ render(
+ <JotaiProvider store={store}>
+ <MockedProvider
+ mocks={[
+ {
+ request: {
+ query: UpdateUserCreditsFallbackDocument,
+ variables: { userCreditsFallback: UserCreditsFallback.STOP },
+ },
+ result: {
+ data: {
+ updateUserCreditsFallback: {
+ __typename: 'BillingCustomer',
+ id: BILLING_CUSTOMER_ID,
+ userCreditsFallback: UserCreditsFallback.STOP,
+ },
+ },
+ },
+ },
+ ]}
+ >
+ <I18nProvider i18n={i18n}>
+ <SettingsBillingUserCreditsSection />
+ </I18nProvider>
+ </MockedProvider>
+ </JotaiProvider>,
+ );
+
+ return store;
+};
+
+describe('SettingsBillingUserCreditsSection', () => {
+ beforeAll(() => {
+ window.PointerEvent ??= MouseEvent as typeof PointerEvent;
+ });
+
+ it('lets a billing admin stop chats once a member runs out of credits', async () => {
+ const store = renderSection({
+ hasUserCredits: true,
+ userCreditsFallback: UserCreditsFallback.WORKSPACE_CREDITS,
+ });
+
+ const toggle = await screen.findByRole('switch', {
+ name: 'Use workspace credits when a member runs out',
+ });
+
+ expect(toggle).toBeChecked();
+
+ await userEvent.click(toggle);
+
+ await waitFor(() =>
+ expect(
+ store.get(currentWorkspaceState.atom)?.billingCustomer
+ ?.userCreditsFallback,
+ ).toBe(UserCreditsFallback.STOP),
+ );
+ expect(toggle).not.toBeChecked();
+ });
+
+ it.each([
+ { hasUserCredits: false, hasBillingPermission: true },
+ { hasUserCredits: true, hasBillingPermission: false },
+ ])('stays hidden with %o', ({ hasUserCredits, hasBillingPermission }) => {
+ renderSection({
+ hasUserCredits,
+ hasBillingPermission,
+ userCreditsFallback: UserCreditsFallback.WORKSPACE_CREDITS,
+ });
+
+ expect(screen.queryByText('User credits')).not.toBeInTheDocument();
+ });
+});
diff --git a/packages/twenty-front/src/modules/settings/billing/graphql/mutations/updateUserCreditsFallback.ts b/packages/twenty-front/src/modules/settings/billing/graphql/mutations/updateUserCreditsFallback.ts
new file mode 100644
index 00000000000..10e5457d39e
--- /dev/null
+++ b/packages/twenty-front/src/modules/settings/billing/graphql/mutations/updateUserCreditsFallback.ts
@@ -0,0 +1,12 @@
+import { gql } from '@apollo/client';
+
+export const UPDATE_USER_CREDITS_FALLBACK = gql`
+ mutation UpdateUserCreditsFallback(
+ $userCreditsFallback: UserCreditsFallback!
+ ) {
+ updateUserCreditsFallback(userCreditsFallback: $userCreditsFallback) {
+ id
+ userCreditsFallback
+ }
+ }
+`;
diff --git a/packages/twenty-front/src/modules/users/graphql/fragments/currentBillingSubscriptionFragment.ts b/packages/twenty-front/src/modules/users/graphql/fragments/currentBillingSubscriptionFragment.ts
index da7518eb20d..6eee88d43e8 100644
--- a/packages/twenty-front/src/modules/users/graphql/fragments/currentBillingSubscriptionFragment.ts
+++ b/packages/twenty-front/src/modules/users/graphql/fragments/currentBillingSubscriptionFragment.ts
@@ -11,6 +11,7 @@ export const CURRENT_BILLING_SUBSCRIPTION_FRAGMENT = gql`
currentPeriodEnd
cancelAt
collectionMethod
+ hasUserCredits
phases {
...BillingSubscriptionSchedulePhaseFragment
}
diff --git a/packages/twenty-server/src/engine/core-modules/usage-limit/billing-subscription-user-credits.resolver.ts b/packages/twenty-server/src/engine/core-modules/usage-limit/billing-subscription-user-credits.resolver.ts
new file mode 100644
index 00000000000..2fb23cb044e
--- /dev/null
+++ b/packages/twenty-server/src/engine/core-modules/usage-limit/billing-subscription-user-credits.resolver.ts
@@ -0,0 +1,40 @@
+/* @license Enterprise */
+
+import { Logger, UseFilters, UsePipes } from '@nestjs/common';
+import { Parent, ResolveField } from '@nestjs/graphql';
+
+import { MetadataResolver } from 'src/engine/api/graphql/graphql-config/decorators/metadata-resolver.decorator';
+import { BillingSubscriptionEntity } from 'src/engine/core-modules/billing/entities/billing-subscription.entity';
+import { PreventNestToAutoLogGraphqlErrorsFilter } from 'src/engine/core-modules/graphql/filters/prevent-nest-to-auto-log-graphql-errors.filter';
+import { ResolverValidationPipe } from 'src/engine/core-modules/graphql/pipes/resolver-validation.pipe';
+import { UsageLimitQuotaService } from 'src/engine/core-modules/usage-limit/services/usage-limit-quota.service';
+
+@MetadataResolver(() => BillingSubscriptionEntity)
+@UsePipes(ResolverValidationPipe)
+@UseFilters(PreventNestToAutoLogGraphqlErrorsFilter)
+export class BillingSubscriptionUserCreditsResolver {
+ private readonly logger = new Logger(
+ BillingSubscriptionUserCreditsResolver.name,
+ );
+
+ constructor(
+ private readonly usageLimitQuotaService: UsageLimitQuotaService,
+ ) {}
+
+ @ResolveField(() => Boolean, { nullable: true })
+ async hasUserCredits(
+ @Parent() billingSubscription: BillingSubscriptionEntity,
+ ): Promise<boolean> {
+ try {
+ return await this.usageLimitQuotaService.hasUserCredits(
+ billingSubscription.workspaceId,
+ );
+ } catch (error) {
+ this.logger.warn(
+ `Failed to derive hasUserCredits for billing subscription ${billingSubscription.id}: ${error instanceof Error ? error.message : String(error)}`,
+ );
+
+ return false;
+ }
+ }
+}
diff --git a/packages/twenty-server/src/engine/core-modules/usage-limit/services/usage-limit-quota.service.ts b/packages/twenty-server/src/engine/core-modules/usage-limit/services/usage-limit-quota.service.ts
index b63308dc38f..76dff020376 100644
--- a/packages/twenty-server/src/engine/core-modules/usage-limit/services/usage-limit-quota.service.ts
+++ b/packages/twenty-server/src/engine/core-modules/usage-limit/services/usage-limit-quota.service.ts
@@ -16,6 +16,7 @@ import { UsageLimitException } from 'src/engine/core-modules/usage-limit/excepti
import { UsageLimitDefaultValueService } from 'src/engine/core-modules/usage-limit/services/usage-limit-default-value.service';
import { UsageLimitEntitlementService } from 'src/engine/core-modules/usage-limit/services/usage-limit-entitlement.service';
import { UsagePeriodService } from 'src/engine/core-modules/usage-limit/services/usage-period.service';
+import { type AllowanceUsage } from 'src/engine/core-modules/usage-limit/types/allowance-usage.type';
import { type WorkspaceAllowanceQuotaCounter } from 'src/engine/core-modules/usage-limit/types/workspace-allowance-quota-counter.type';
import { type ExhaustedKind } from 'src/engine/core-modules/usage-limit/types/exhausted-kind.type';
import { type ExhaustedScope } from 'src/engine/core-modules/usage-limit/types/exhausted-scope.type';
@@ -50,7 +51,7 @@ import { isQuotaLimit } from 'src/engine/core-modules/usage-limit/utils/is-quota
import { splitUserCreditsAcrossEvents } from 'src/engine/core-modules/usage-limit/utils/split-user-credits-across-events.util';
import { getPeriodAnchor } from 'src/engine/core-modules/usage-limit/utils/get-period-anchor.util';
import { type UsageOperationType } from 'src/engine/core-modules/usage/enums/usage-operation-type.enum';
-import { type UsageResourceType } from 'src/engine/core-modules/usage/enums/usage-resource-type.enum';
+import { UsageResourceType } from 'src/engine/core-modules/usage/enums/usage-resource-type.enum';
import { UsageUnit } from 'src/engine/core-modules/usage/enums/usage-unit.enum';
import { UsageAnalyticsService } from 'src/engine/core-modules/usage/services/usage-analytics.service';
import { UsageRecorderService } from 'src/engine/core-modules/usage/services/usage-recorder.service';
@@ -195,11 +196,9 @@ export class UsageLimitQuotaService {
);
}
- async getWorkspaceAllowanceUsage(workspaceId: string): Promise<{
- limitValue: number;
- consumedValue: number | null;
- periodEnd: Date;
- } | null> {
+ async getWorkspaceAllowanceUsage(
+ workspaceId: string,
+ ): Promise<AllowanceUsage | null> {
const counter = await this.buildWorkspaceAllowanceCounter(workspaceId);
if (!isDefined(counter)) {
@@ -220,6 +219,44 @@ export class UsageLimitQuotaService {
};
}
+ async getUserAllowanceUsage(
+ scope: QuotaConsumeArgs,
+ ): Promise<AllowanceUsage | null> {
+ const counter = (await this.buildQuotaCountersForScope(scope)).find(
+ (quotaCounter) => quotaCounter.kind === 'userAllowance',
+ );
+
+ if (!isDefined(counter)) {
+ return null;
+ }
+
+ const {
+ consumedValues: [consumedValue],
+ } = await this.readCountersAdmittingOnFailure({
+ workspaceId: scope.workspaceId,
+ counters: [counter],
+ });
+
+ return {
+ limitValue: counter.limitValue,
+ consumedValue: consumedValue ?? null,
+ periodEnd: counter.periodEnd,
+ };
+ }
+
+ async hasUserCredits(workspaceId: string): Promise<boolean> {
+ const quotaLimitDefaults = await this.buildQuotaLimitDefaults({
+ workspaceId,
+ resourceType: UsageResourceType.AI,
+ });
+
+ return quotaLimitDefaults.some(
+ (quotaLimitDefault) =>
+ quotaLimitDefault.unit === UsageUnit.USER_CREDIT &&
+ quotaLimitDefault.limitValue > 0,
+ );
+ }
+
async getWorkspaceAllowanceRemainingMicro(
workspaceId: string,
): Promise<number | null> {
diff --git a/packages/twenty-server/src/engine/core-modules/usage-limit/types/allowance-usage.type.ts b/packages/twenty-server/src/engine/core-modules/usage-limit/types/allowance-usage.type.ts
new file mode 100644
index 00000000000..de99a27e8c3
--- /dev/null
+++ b/packages/twenty-server/src/engine/core-modules/usage-limit/types/allowance-usage.type.ts
@@ -0,0 +1,5 @@
+export type AllowanceUsage = {
+ limitValue: number;
+ consumedValue: number | null;
+ periodEnd: Date;
+};
diff --git a/packages/twenty-server/src/engine/core-modules/usage-limit/usage-limit.module.ts b/packages/twenty-server/src/engine/core-modules/usage-limit/usage-limit.module.ts
index 620965ab31f..6e0c3578c5e 100644
--- a/packages/twenty-server/src/engine/core-modules/usage-limit/usage-limit.module.ts
+++ b/packages/twenty-server/src/engine/core-modules/usage-limit/usage-limit.module.ts
@@ -5,6 +5,7 @@ import { ApiKeyEntity } from 'src/engine/core-modules/api-key/api-key.entity';
import { BillingModule } from 'src/engine/core-modules/billing/billing.module';
import { MetricsModule } from 'src/engine/core-modules/metrics/metrics.module';
import { ThrottlerModule } from 'src/engine/core-modules/throttler/throttler.module';
+import { BillingSubscriptionUserCreditsResolver } from 'src/engine/core-modules/usage-limit/billing-subscription-user-credits.resolver';
import { BillingSubscriptionItemCapResolver } from 'src/engine/core-modules/usage-limit/billing-subscription-item-cap.resolver';
import { UsageLimitQuotaService } from 'src/engine/core-modules/usage-limit/services/usage-limit-quota.service';
import { UsagePeriodService } from 'src/engine/core-modules/usage-limit/services/usage-period.service';
@@ -63,6 +64,7 @@ import { WorkspaceCacheModule } from 'src/engine/workspace-cache/workspace-cache
UsageLimitResolver,
UsageQuotaAdmissionService,
BillingSubscriptionItemCapResolver,
+ BillingSubscriptionUserCreditsResolver,
provideWorkspaceScopedRepository(UsageLimitEntity),
provideWorkspaceScopedRepository(ApiKeyEntity),
provideWorkspaceScopedRepository(ApplicationEntity),
diff --git a/packages/twenty-server/src/engine/metadata-modules/ai/ai-chat/dtos/ai-chat-user-credits-usage.dto.ts b/packages/twenty-server/src/engine/metadata-modules/ai/ai-chat/dtos/ai-chat-user-credits-usage.dto.ts
new file mode 100644
index 00000000000..012609ed53b
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/ai/ai-chat/dtos/ai-chat-user-credits-usage.dto.ts
@@ -0,0 +1,14 @@
+import { Field, ObjectType } from '@nestjs/graphql';
+import { GraphQLBigInt } from 'graphql-scalars';
+
+@ObjectType('AiChatUserCreditsUsage')
+export class AiChatUserCreditsUsageDTO {
+ @Field(() => GraphQLBigInt)
+ limitValue: number;
+
+ @Field(() => GraphQLBigInt, { nullable: true })
+ consumedValue: number | null;
+
+ @Field(() => Date)
+ periodEnd: Date;
+}
diff --git a/packages/twenty-server/src/engine/metadata-modules/ai/ai-chat/resolvers/ai-chat-usage.resolver.ts b/packages/twenty-server/src/engine/metadata-modules/ai/ai-chat/resolvers/ai-chat-usage.resolver.ts
index 728d14f777d..842402e7f6e 100644
--- a/packages/twenty-server/src/engine/metadata-modules/ai/ai-chat/resolvers/ai-chat-usage.resolver.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/ai/ai-chat/resolvers/ai-chat-usage.resolver.ts
@@ -5,7 +5,11 @@ import { PermissionFlagType } from 'twenty-shared/constants';
import { MetadataResolver } from 'src/engine/api/graphql/graphql-config/decorators/metadata-resolver.decorator';
import { PreventNestToAutoLogGraphqlErrorsFilter } from 'src/engine/core-modules/graphql/filters/prevent-nest-to-auto-log-graphql-errors.filter';
import { AiChatUsageDTO } from 'src/engine/metadata-modules/ai/ai-chat/dtos/ai-chat-usage.dto';
+import { AiChatUserCreditsUsageDTO } from 'src/engine/metadata-modules/ai/ai-chat/dtos/ai-chat-user-credits-usage.dto';
import { AiChatUsageService } from 'src/engine/metadata-modules/ai/ai-chat/services/ai-chat-usage.service';
+import { UsageLimitQuotaService } from 'src/engine/core-modules/usage-limit/services/usage-limit-quota.service';
+import { UsageOperationType } from 'src/engine/core-modules/usage/enums/usage-operation-type.enum';
+import { UsageResourceType } from 'src/engine/core-modules/usage/enums/usage-resource-type.enum';
import { type WorkspaceEntity } from 'src/engine/core-modules/workspace/workspace.entity';
import { AuthUserWorkspaceId } from 'src/engine/decorators/auth/auth-user-workspace-id.decorator';
import { AuthWorkspace } from 'src/engine/decorators/auth/auth-workspace.decorator';
@@ -29,7 +33,10 @@ import { AuthPrincipalGuard } from 'src/engine/guards/auth-principal.guard';
)
@UseFilters(PreventNestToAutoLogGraphqlErrorsFilter)
export class AiChatUsageResolver {
- constructor(private readonly aiChatUsageService: AiChatUsageService) {}
+ constructor(
+ private readonly aiChatUsageService: AiChatUsageService,
+ private readonly usageLimitQuotaService: UsageLimitQuotaService,
+ ) {}
@Query(() => AiChatUsageDTO, { nullable: true })
async aiChatUsage(
@@ -38,4 +45,17 @@ export class AiChatUsageResolver {
): Promise<AiChatUsageDTO | null> {
return this.aiChatUsageService.findUsage({ workspaceId, userWorkspaceId });
}
+
+ @Query(() => AiChatUserCreditsUsageDTO, { nullable: true })
+ async aiChatUserCreditsUsage(
+ @AuthWorkspace() { id: workspaceId }: WorkspaceEntity,
+ @AuthUserWorkspaceId() userWorkspaceId: string,
+ ): Promise<AiChatUserCreditsUsageDTO | null> {
+ return this.usageLimitQuotaService.getUserAllowanceUsage({
+ workspaceId,
+ resourceType: UsageResourceType.AI,
+ operationType: UsageOperationType.AI_CHAT_TOKEN,
+ spenders: { userWorkspaceId },
+ });
+ }
}
diff --git a/packages/twenty-server/test/integration/endpoint-permissions/__snapshots__/endpoint-permission-declarations.integration-spec.ts.snap b/packages/twenty-server/test/integration/endpoint-permissions/__snapshots__/endpoint-permission-declarations.integration-spec.ts.snap
index f34b97fbb34..fd58becb17f 100644
--- a/packages/twenty-server/test/integration/endpoint-permissions/__snapshots__/endpoint-permission-declarations.integration-spec.ts.snap
+++ b/packages/twenty-server/test/integration/endpoint-permissions/__snapshots__/endpoint-permission-declarations.integration-spec.ts.snap
@@ -99,6 +99,7 @@ exports[`endpoint permission declarations should match the auth principals, perm
"AgentRunResolver.runAgent {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":true,"application":{"withAgent":false,"withUser":true,"withoutUser":true},"oauthClient":{"withUser":true,"withoutUser":true},"userSession":{"impersonated":true,"playground":true,"standard":true,"workspaceAgnostic":false}}],"requiredFeatureFlags":[],"requiredPermissionFlags":["AI"]}",
"AgentRunsResolver.agentRuns {"applicationTarget":{"argName":"agentId","kind":"applicationOwnedEntity","metadataName":"agent","requireApplicationRegistrationOwnership":false,"source":"graphqlArg"},"authPrincipalGuards":[{"apiKey":true,"application":{"withAgent":false,"withUser":true,"withoutUser":true},"oauthClient":{"withUser":true,"withoutUser":true},"userSession":{"impersonated":true,"playground":true,"standard":true,"workspaceAgnostic":false}}],"requiredFeatureFlags":[],"requiredPermissionFlags":["AI_SETTINGS"]}",
"AiChatUsageResolver.aiChatUsage {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":true,"application":{"withAgent":false,"withUser":true,"withoutUser":true},"oauthClient":{"withUser":true,"withoutUser":true},"userSession":{"impersonated":true,"playground":true,"standard":true,"workspaceAgnostic":false}}],"requiredFeatureFlags":[],"requiredPermissionFlags":["AI"]}",
+ "AiChatUsageResolver.aiChatUserCreditsUsage {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":true,"application":{"withAgent":false,"withUser":true,"withoutUser":true},"oauthClient":{"withUser":true,"withoutUser":true},"userSession":{"impersonated":true,"playground":true,"standard":true,"workspaceAgnostic":false}}],"requiredFeatureFlags":[],"requiredPermissionFlags":["AI"]}",
"AiGenerateTextController.handleGenerateText {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":true,"application":{"withAgent":false,"withUser":true,"withoutUser":true},"oauthClient":{"withUser":true,"withoutUser":true},"userSession":{"impersonated":true,"playground":true,"standard":true,"workspaceAgnostic":false}}],"requiredFeatureFlags":[],"requiredPermissionFlags":["AI"]}",
"AiWorkspaceStatsResolver.findWorkspaceAiStats {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":true,"application":{"withAgent":false,"withUser":true,"withoutUser":true},"oauthClient":{"withUser":true,"withoutUser":true},"userSession":{"impersonated":true,"playground":true,"standard":true,"workspaceAgnostic":false}}],"requiredFeatureFlags":[],"requiredPermissionFlags":["AI_SETTINGS"]}",
"ApiKeyController.create {"applicationTarget":null,"authPrincipalGuards":[{"apiKey":true,"application":{"withAgent":false,"withUser":true,"withoutUser":true},"oauthClient":{"withUser":true,"withoutUser":true},"userSession":{"impersonated":true,"playground":true,"standard":true,"workspaceAgnostic":false}},{"apiKey":false,"application":{"withAgent":false,"withUser":false,"withoutUser":false},"oauthClient":{"withUser":false,"withoutUser":false},"userSession":{"impersonated":true,"playground":false,"standard":true,"workspaceAgnostic":false}}],"requiredFeatureFlags":[],"requiredPermissionFlags":["API_KEYS_AND_WEBHOOKS","ROLES"]}",