Skip to content

The open alternative to Salesforce, designed for AI.

feat: add application credit usage with ClickHouse query caching (3/4) (#28205)

martmull49764d0424a1
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
index 0dfec254713..3d7c2b5722b 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
@@ -542,8 +542,10 @@ enum ApplicationRegistrationSourceType {
type ApplicationRegistrationStats {
activeInstalls: Int!
autoUpdateEnabled: Int!
+ creditsUsedBreakdown: [CreditUsedItem!]
mostInstalledVersion: String
suspendedInstalls: Int!
+ totalCreditsUsed: Float
versionDistribution: [VersionDistributionEntry!]!
}
@@ -1668,6 +1670,13 @@ input CreateWebhookInput {
targetUrl: String!
}
+type CreditUsedItem {
+ creditsUsed: Float!
+ label: String
+ operation: UsageOperationType
+ resource: UsageResourceType
+}
+
input CursorPaging {
"""Paginate after opaque cursor"""
after: ConnectionCursor
@@ -3831,7 +3840,7 @@ type Query {
): FieldConnection!
findApplicationRegistrationByClientId(clientId: String!): PublicApplicationRegistration
findApplicationRegistrationByUniversalIdentifier(universalIdentifier: String!): ApplicationRegistration
- findApplicationRegistrationStats(id: String!): ApplicationRegistrationStats!
+ findApplicationRegistrationStats(id: String!, periodEnd: DateTime, periodStart: DateTime): ApplicationRegistrationStats!
findApplicationRegistrationVariables(applicationRegistrationId: String!): [ApplicationRegistrationVariable!]!
findClaimableApplicationRegistration(sourcePackage: String, universalIdentifier: String): ClaimableApplicationRegistration
findInstallApplicationJobStatus(jobId: String, universalIdentifier: String!): JobStatus
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.ts b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
index 86ea6df81c6..2e74741b9ab 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
@@ -460,8 +460,10 @@ export type ApplicationRegistrationSourceType = 'LOCAL' | 'NPM' | 'OAUTH_ONLY' |
export interface ApplicationRegistrationStats {
activeInstalls: Scalars['Int']
autoUpdateEnabled: Scalars['Int']
+ creditsUsedBreakdown?: CreditUsedItem[]
mostInstalledVersion?: Scalars['String']
suspendedInstalls: Scalars['Int']
+ totalCreditsUsed?: Scalars['Float']
versionDistribution: VersionDistributionEntry[]
__typename: 'ApplicationRegistrationStats'
}
@@ -1175,6 +1177,14 @@ export interface CreateEmailGroupChannelOutput {
__typename: 'CreateEmailGroupChannelOutput'
}
+export interface CreditUsedItem {
+ creditsUsed: Scalars['Float']
+ label?: Scalars['String']
+ operation?: UsageOperationType
+ resource?: UsageResourceType
+ __typename: 'CreditUsedItem'
+}
+
/** Database Event Action */
export type DatabaseEventAction = 'CREATED' | 'DELETED' | 'DESTROYED' | 'RESTORED' | 'UPDATED' | 'UPSERTED'
@@ -4463,8 +4473,10 @@ export interface ApplicationRegistrationGenqlSelection{
export interface ApplicationRegistrationStatsGenqlSelection{
activeInstalls?: boolean | number
autoUpdateEnabled?: boolean | number
+ creditsUsedBreakdown?: CreditUsedItemGenqlSelection
mostInstalledVersion?: boolean | number
suspendedInstalls?: boolean | number
+ totalCreditsUsed?: boolean | number
versionDistribution?: VersionDistributionEntryGenqlSelection
__typename?: boolean | number
__scalar?: boolean | number
@@ -5301,6 +5313,15 @@ export interface CreateViewSortInput {direction?: (ViewSortDirection | null),fie
export interface CreateWebhookInput {description?: (Scalars['String'] | null),id?: (Scalars['UUID'] | null),operations: Scalars['String'][],secret?: (Scalars['String'] | null),targetUrl: Scalars['String']}
+export interface CreditUsedItemGenqlSelection{
+ creditsUsed?: boolean | number
+ label?: boolean | number
+ operation?: boolean | number
+ resource?: boolean | number
+ __typename?: boolean | number
+ __scalar?: boolean | number
+}
+
export interface CursorPaging {
/** Paginate after opaque cursor */
after?: (Scalars['ConnectionCursor'] | null),
@@ -7074,7 +7095,7 @@ export interface QueryGenqlSelection{
paging: CursorPaging} })
findApplicationRegistrationByClientId?: (PublicApplicationRegistrationGenqlSelection & { __args: {clientId: Scalars['String']} })
findApplicationRegistrationByUniversalIdentifier?: (ApplicationRegistrationGenqlSelection & { __args: {universalIdentifier: Scalars['String']} })
- findApplicationRegistrationStats?: (ApplicationRegistrationStatsGenqlSelection & { __args: {id: Scalars['String']} })
+ findApplicationRegistrationStats?: (ApplicationRegistrationStatsGenqlSelection & { __args: {id: Scalars['String'], periodEnd?: (Scalars['DateTime'] | null), periodStart?: (Scalars['DateTime'] | null)} })
findApplicationRegistrationVariables?: (ApplicationRegistrationVariableGenqlSelection & { __args: {applicationRegistrationId: Scalars['String']} })
findClaimableApplicationRegistration?: (ClaimableApplicationRegistrationGenqlSelection & { __args?: {sourcePackage?: (Scalars['String'] | null), universalIdentifier?: (Scalars['String'] | null)} })
findInstallApplicationJobStatus?: (JobStatusGenqlSelection & { __args: {jobId?: (Scalars['String'] | null), universalIdentifier: Scalars['String']} })
@@ -9461,6 +9482,14 @@ export interface WorkspaceUrlsAndIdGenqlSelection{
+ const CreditUsedItem_possibleTypes: string[] = ['CreditUsedItem']
+ export const isCreditUsedItem = (obj?: { __typename?: any } | null): obj is CreditUsedItem => {
+ if (!obj?.__typename) throw new Error('__typename is missing in "isCreditUsedItem"')
+ return CreditUsedItem_possibleTypes.includes(obj.__typename)
+ }
+
+
+
const DeleteSso_possibleTypes: string[] = ['DeleteSso']
export const isDeleteSso = (obj?: { __typename?: any } | null): obj is DeleteSso => {
if (!obj?.__typename) throw new Error('__typename is missing in "isDeleteSso"')
diff --git a/packages/twenty-client-sdk/src/metadata/generated/types.ts b/packages/twenty-client-sdk/src/metadata/generated/types.ts
index 4731245e637..703ed6f0f18 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/types.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/types.ts
@@ -35,91 +35,91 @@ export default {
142,
144,
146,
- 189,
190,
- 217,
- 221,
+ 191,
+ 218,
222,
- 224,
- 234,
- 240,
- 244,
- 248,
- 251,
- 258,
- 273,
- 275,
- 285,
- 292,
+ 223,
+ 225,
+ 235,
+ 241,
+ 245,
+ 249,
+ 252,
+ 259,
+ 274,
+ 276,
+ 286,
293,
294,
- 305,
- 307,
- 321,
+ 295,
+ 306,
+ 308,
322,
323,
324,
325,
326,
- 328,
+ 327,
329,
330,
- 333,
+ 331,
334,
- 336,
+ 335,
337,
- 340,
- 342,
- 346,
- 350,
- 359,
- 366,
+ 338,
+ 341,
+ 343,
+ 347,
+ 351,
+ 360,
367,
368,
- 371,
- 375,
+ 369,
+ 372,
376,
- 381,
- 385,
- 406,
- 408,
+ 377,
+ 382,
+ 386,
+ 407,
409,
- 412,
- 417,
- 429,
- 431,
- 435,
- 440,
- 457,
- 469,
+ 410,
+ 413,
+ 418,
+ 430,
+ 432,
+ 436,
+ 441,
+ 458,
470,
- 472,
- 496,
- 498,
- 500,
- 560,
- 580,
- 587,
- 589,
- 593,
- 604,
- 610,
+ 471,
+ 473,
+ 497,
+ 499,
+ 501,
+ 561,
+ 581,
+ 588,
+ 590,
+ 594,
+ 605,
611,
- 613,
+ 612,
614,
- 616,
+ 615,
617,
618,
- 621,
+ 619,
622,
- 627,
- 629,
- 632,
- 637,
+ 623,
+ 628,
+ 630,
+ 633,
638,
639,
- 642,
- 643
+ 640,
+ 643,
+ 644
],
"types": {
"ActivateWorkspaceInput": {
@@ -136,7 +136,7 @@ export default {
1
],
"operationSignature": [
- 292
+ 293
],
"queryId": [
1
@@ -147,10 +147,10 @@ export default {
},
"Agent": {
"applicationId": [
- 496
+ 497
],
"createdAt": [
- 190
+ 191
],
"description": [
1
@@ -159,7 +159,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"isCustom": [
4
@@ -171,7 +171,7 @@ export default {
1
],
"modelConfiguration": [
- 292
+ 293
],
"modelId": [
1
@@ -183,16 +183,16 @@ export default {
1
],
"responseFormat": [
- 292
+ 293
],
"roleId": [
- 496
+ 497
],
"triggers": [
- 292
+ 293
],
"updatedAt": [
- 190
+ 191
],
"__typename": [
1
@@ -201,7 +201,7 @@ export default {
"Boolean": {},
"AgentChatEvent": {
"event": [
- 292
+ 293
],
"threadId": [
1
@@ -240,10 +240,10 @@ export default {
8
],
"createdAt": [
- 190
+ 191
],
"deletedAt": [
- 190
+ 191
],
"id": [
10
@@ -267,7 +267,7 @@ export default {
8
],
"updatedAt": [
- 190
+ 191
],
"__typename": [
1
@@ -277,28 +277,28 @@ export default {
"Float": {},
"AgentChatThreadParticipant": {
"archivedAt": [
- 190
+ 191
],
"id": [
- 496
+ 497
],
"isSubscribed": [
4
],
"lastMentionedAt": [
- 190
+ 191
],
"lastReadAt": [
- 190
+ 191
],
"snoozedUntil": [
- 190
+ 191
],
"threadId": [
- 496
+ 497
],
"updatedAt": [
- 190
+ 191
],
"__typename": [
1
@@ -306,7 +306,7 @@ export default {
},
"AgentIdInput": {
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -314,19 +314,19 @@ export default {
},
"AgentMessage": {
"agentId": [
- 496
+ 497
],
"createdAt": [
- 190
+ 191
],
"id": [
- 496
+ 497
],
"parts": [
15
],
"processedAt": [
- 190
+ 191
],
"reactions": [
16
@@ -335,19 +335,19 @@ export default {
1
],
"senderUserWorkspaceId": [
- 496
+ 497
],
"senderWorkspaceMemberId": [
- 496
+ 497
],
"status": [
1
],
"threadId": [
- 496
+ 497
],
"turnId": [
- 496
+ 497
],
"__typename": [
1
@@ -355,7 +355,7 @@ export default {
},
"AgentMessagePart": {
"createdAt": [
- 190
+ 191
],
"errorMessage": [
1
@@ -364,7 +364,7 @@ export default {
1
],
"fileId": [
- 496
+ 497
],
"fileMediaType": [
1
@@ -373,10 +373,10 @@ export default {
1
],
"id": [
- 496
+ 497
],
"messageId": [
- 496
+ 497
],
"orderIndex": [
8
@@ -385,7 +385,7 @@ export default {
4
],
"providerMetadata": [
- 292
+ 293
],
"reasoningContent": [
1
@@ -421,13 +421,13 @@ export default {
1
],
"toolInput": [
- 292
+ 293
],
"toolName": [
1
],
"toolOutput": [
- 292
+ 293
],
"type": [
1
@@ -447,7 +447,7 @@ export default {
4
],
"workspaceMemberIds": [
- 496
+ 497
],
"__typename": [
1
@@ -455,7 +455,7 @@ export default {
},
"AgentRun": {
"createdAt": [
- 190
+ 191
],
"creatorName": [
1
@@ -467,13 +467,13 @@ export default {
11
],
"endedAt": [
- 190
+ 191
],
"errorMessage": [
1
],
"id": [
- 496
+ 497
],
"input": [
1
@@ -491,13 +491,13 @@ export default {
1
],
"startedAt": [
- 190
+ 191
],
"status": [
18
],
"threadId": [
- 496
+ 497
],
"threadTitle": [
1
@@ -512,13 +512,13 @@ export default {
"AgentTurnStatus": {},
"AggregateChartConfiguration": {
"aggregateFieldMetadataId": [
- 496
+ 497
],
"aggregateOperation": [
20
],
"configurationType": [
- 621
+ 622
],
"description": [
1
@@ -527,7 +527,7 @@ export default {
4
],
"filter": [
- 292
+ 293
],
"firstDayOfTheWeek": [
8
@@ -542,7 +542,7 @@ export default {
1
],
"ratioAggregateConfig": [
- 401
+ 402
],
"suffix": [
1
@@ -566,7 +566,7 @@ export default {
81
],
"periodEnd": [
- 190
+ 191
],
"__typename": [
1
@@ -618,25 +618,25 @@ export default {
},
"ApiKey": {
"createdAt": [
- 190
+ 191
],
"expiresAt": [
- 190
+ 191
],
"id": [
- 496
+ 497
],
"name": [
1
],
"revokedAt": [
- 190
+ 191
],
"role": [
- 423
+ 424
],
"updatedAt": [
- 190
+ 191
],
"__typename": [
1
@@ -644,16 +644,16 @@ export default {
},
"ApiKeyForRole": {
"expiresAt": [
- 190
+ 191
],
"id": [
- 496
+ 497
],
"name": [
1
],
"revokedAt": [
- 190
+ 191
],
"__typename": [
1
@@ -719,7 +719,7 @@ export default {
34
],
"value": [
- 292
+ 293
],
"__typename": [
1
@@ -734,7 +734,7 @@ export default {
36
],
"receivedAt": [
- 190
+ 191
],
"subject": [
1
@@ -757,13 +757,13 @@ export default {
1
],
"personId": [
- 496
+ 497
],
"role": [
- 330
+ 331
],
"workspaceMemberId": [
- 496
+ 497
],
"__typename": [
1
@@ -777,7 +777,7 @@ export default {
58
],
"applicationRegistrationId": [
- 496
+ 497
],
"applicationVariables": [
61
@@ -786,7 +786,7 @@ export default {
4
],
"availablePackages": [
- 292
+ 293
],
"canBeUninstalled": [
4
@@ -795,10 +795,10 @@ export default {
137
],
"createdAt": [
- 190
+ 191
],
"defaultLogicFunctionRole": [
- 423
+ 424
],
"defaultRoleId": [
1
@@ -807,22 +807,22 @@ export default {
1
],
"frontComponents": [
- 265
+ 266
],
"healthCheckLogicFunctionId": [
- 496
+ 497
],
"id": [
- 496
+ 497
],
"isUninstallBlockedByOtherWorkspaceInstallations": [
4
],
"logicFunctions": [
- 304
+ 305
],
"logoFileId": [
- 496
+ 497
],
"logoUrl": [
1
@@ -831,19 +831,19 @@ export default {
1
],
"objects": [
- 352
+ 353
],
"packageJsonChecksum": [
1
],
"packageJsonFileId": [
- 496
+ 497
],
"settingsCustomTabFrontComponentId": [
- 496
+ 497
],
"settingsMenuItems": [
- 456
+ 457
],
"universalIdentifier": [
1
@@ -855,7 +855,7 @@ export default {
1
],
"yarnLockFileId": [
- 496
+ 497
],
"__typename": [
1
@@ -863,7 +863,7 @@ export default {
},
"ApplicationAuthorization": {
"applicationId": [
- 496
+ 497
],
"applicationName": [
1
@@ -872,22 +872,22 @@ export default {
1
],
"createdAt": [
- 190
+ 191
],
"id": [
- 496
+ 497
],
"lastAuthorizedAt": [
- 190
+ 191
],
"lastUsedAt": [
- 190
+ 191
],
"scopes": [
1
],
"workspaceId": [
- 496
+ 497
],
"__typename": [
1
@@ -898,7 +898,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -906,25 +906,25 @@ export default {
},
"ApplicationConnectedAccountDTO": {
"applicationId": [
- 496
+ 497
],
"archivedAt": [
- 190
+ 191
],
"authFailedAt": [
- 190
+ 191
],
"authFailedReason": [
1
],
"connectionParameters": [
- 397
+ 398
],
"connectionProviderId": [
- 496
+ 497
],
"createdAt": [
- 190
+ 191
],
"handle": [
1
@@ -933,16 +933,16 @@ export default {
1
],
"id": [
- 496
+ 497
],
"isOwnedByCurrentUser": [
4
],
"lastCredentialsRefreshedAt": [
- 190
+ 191
],
"lastSignedInAt": [
- 190
+ 191
],
"name": [
1
@@ -957,10 +957,10 @@ export default {
1
],
"updatedAt": [
- 190
+ 191
],
"userWorkspaceId": [
- 496
+ 497
],
"visibility": [
1
@@ -977,7 +977,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"logoUrl": [
1
@@ -1020,7 +1020,7 @@ export default {
47
],
"manifest": [
- 292
+ 293
],
"__typename": [
1
@@ -1074,7 +1074,7 @@ export default {
},
"ApplicationFileCompletionError": {
"fileId": [
- 496
+ 497
],
"message": [
1
@@ -1085,7 +1085,7 @@ export default {
},
"ApplicationFileUploadError": {
"fileFolder": [
- 258
+ 259
],
"filePath": [
1
@@ -1099,7 +1099,7 @@ export default {
},
"ApplicationFileUploadRequestInput": {
"fileFolder": [
- 258
+ 259
],
"filePath": [
1
@@ -1116,13 +1116,13 @@ export default {
1
],
"expiresAt": [
- 190
+ 191
],
"fileFolder": [
- 258
+ 259
],
"fileId": [
- 496
+ 497
],
"filePath": [
1
@@ -1165,13 +1165,13 @@ export default {
"ApplicationHealthStatus": {},
"ApplicationRegistration": {
"createdAt": [
- 190
+ 191
],
"galleryImagesUrls": [
1
],
"id": [
- 496
+ 497
],
"isConfigured": [
4
@@ -1204,7 +1204,7 @@ export default {
1
],
"ownerWorkspaceId": [
- 496
+ 497
],
"sourcePackage": [
1
@@ -1216,7 +1216,7 @@ export default {
1
],
"updatedAt": [
- 190
+ 191
],
"__typename": [
1
@@ -1230,14 +1230,20 @@ export default {
"autoUpdateEnabled": [
8
],
+ "creditsUsedBreakdown": [
+ 188
+ ],
"mostInstalledVersion": [
1
],
"suspendedInstalls": [
8
],
+ "totalCreditsUsed": [
+ 11
+ ],
"versionDistribution": [
- 602
+ 603
],
"__typename": [
1
@@ -1245,7 +1251,7 @@ export default {
},
"ApplicationRegistrationSummary": {
"id": [
- 496
+ 497
],
"latestAvailableVersion": [
1
@@ -1262,13 +1268,13 @@ export default {
},
"ApplicationRegistrationVariable": {
"createdAt": [
- 190
+ 191
],
"description": [
1
],
"id": [
- 496
+ 497
],
"isDeprecated": [
4
@@ -1286,13 +1292,13 @@ export default {
1
],
"options": [
- 292
+ 293
],
"type": [
1
],
"updatedAt": [
- 190
+ 191
],
"value": [
1
@@ -1317,7 +1323,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"isDeprecated": [
4
@@ -1335,7 +1341,7 @@ export default {
1
],
"options": [
- 292
+ 293
],
"scope": [
62
@@ -1353,13 +1359,13 @@ export default {
"ApplicationVariableScope": {},
"ApprovedAccessDomain": {
"createdAt": [
- 190
+ 191
],
"domain": [
1
],
"id": [
- 496
+ 497
],
"isValidated": [
4
@@ -1396,7 +1402,7 @@ export default {
4
],
"sso": [
- 439
+ 440
],
"__typename": [
1
@@ -1404,7 +1410,7 @@ export default {
},
"AuthToken": {
"expiresAt": [
- 190
+ 191
],
"token": [
1
@@ -1456,7 +1462,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"inviteHash": [
1
@@ -1471,10 +1477,10 @@ export default {
1
],
"sso": [
- 438
+ 439
],
"workspaceUrls": [
- 644
+ 645
],
"__typename": [
1
@@ -1505,7 +1511,7 @@ export default {
"AxisNameDisplay": {},
"BarChartConfiguration": {
"aggregateFieldMetadataId": [
- 496
+ 497
],
"aggregateOperation": [
20
@@ -1517,7 +1523,7 @@ export default {
1
],
"configurationType": [
- 621
+ 622
],
"description": [
1
@@ -1529,7 +1535,7 @@ export default {
4
],
"filter": [
- 292
+ 293
],
"firstDayOfTheWeek": [
8
@@ -1550,10 +1556,10 @@ export default {
4
],
"primaryAxisDateGranularity": [
- 366
+ 367
],
"primaryAxisGroupByFieldMetadataId": [
- 496
+ 497
],
"primaryAxisGroupBySubFieldName": [
1
@@ -1562,7 +1568,7 @@ export default {
1
],
"primaryAxisOrderBy": [
- 273
+ 274
],
"rangeMax": [
11
@@ -1571,10 +1577,10 @@ export default {
11
],
"secondaryAxisGroupByDateGranularity": [
- 366
+ 367
],
"secondaryAxisGroupByFieldMetadataId": [
- 496
+ 497
],
"secondaryAxisGroupBySubFieldName": [
1
@@ -1583,7 +1589,7 @@ export default {
1
],
"secondaryAxisOrderBy": [
- 273
+ 274
],
"splitMultiValueFields": [
4
@@ -1597,10 +1603,10 @@ export default {
},
"BarChartData": {
"data": [
- 292
+ 293
],
"formattedToRawLookup": [
- 292
+ 293
],
"groupMode": [
78
@@ -1638,10 +1644,10 @@ export default {
},
"BarChartDataInput": {
"configuration": [
- 292
+ 293
],
"objectMetadataId": [
- 496
+ 497
],
"__typename": [
1
@@ -1683,10 +1689,10 @@ export default {
4
],
"id": [
- 496
+ 497
],
"userCreditsFallback": [
- 593
+ 594
],
"__typename": [
1
@@ -1706,7 +1712,7 @@ export default {
4
],
"status": [
- 470
+ 471
],
"__typename": [
1
@@ -1813,7 +1819,7 @@ export default {
108
],
"recurringInterval": [
- 469
+ 470
],
"stripePriceId": [
1
@@ -1830,7 +1836,7 @@ export default {
108
],
"recurringInterval": [
- 469
+ 470
],
"stripePriceId": [
1
@@ -1916,10 +1922,10 @@ export default {
},
"BillingResourceCreditUsage": {
"periodEnd": [
- 190
+ 191
],
"periodStart": [
- 190
+ 191
],
"productKey": [
97
@@ -1959,28 +1965,28 @@ export default {
103
],
"cancelAt": [
- 190
+ 191
],
"collectionMethod": [
102
],
"currentPeriodEnd": [
- 190
+ 191
],
"id": [
- 496
+ 497
],
"interval": [
- 469
+ 470
],
"metadata": [
- 292
+ 293
],
"phases": [
104
],
"status": [
- 470
+ 471
],
"__typename": [
1
@@ -1998,7 +2004,7 @@ export default {
4
],
"id": [
- 496
+ 497
],
"quantity": [
11
@@ -2074,13 +2080,13 @@ export default {
},
"CalendarChannel": {
"connectedAccountId": [
- 496
+ 497
],
"contactAutoCreationPolicy": [
111
],
"createdAt": [
- 190
+ 191
],
"excludePrivateEvents": [
4
@@ -2089,7 +2095,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"isContactAutoCreationEnabled": [
4
@@ -2101,19 +2107,19 @@ export default {
112
],
"syncStageStartedAt": [
- 190
+ 191
],
"syncStatus": [
113
],
"syncedAt": [
- 190
+ 191
],
"throttleFailureCount": [
11
],
"updatedAt": [
- 190
+ 191
],
"visibility": [
114
@@ -2128,7 +2134,7 @@ export default {
"CalendarChannelVisibility": {},
"CalendarConfiguration": {
"configurationType": [
- 621
+ 622
],
"__typename": [
1
@@ -2136,7 +2142,7 @@ export default {
},
"CallRecordingSummaryConfiguration": {
"configurationType": [
- 621
+ 622
],
"__typename": [
1
@@ -2144,7 +2150,7 @@ export default {
},
"CallRecordingTranscriptConfiguration": {
"configurationType": [
- 621
+ 622
],
"__typename": [
1
@@ -2221,7 +2227,7 @@ export default {
"ChartNumberFormat": {},
"ChatConfiguration": {
"configurationType": [
- 621
+ 622
],
"__typename": [
1
@@ -2229,7 +2235,7 @@ export default {
},
"ChatStreamCatchupChunks": {
"chunks": [
- 292
+ 293
],
"error": [
127
@@ -2254,7 +2260,7 @@ export default {
},
"ChatThreadsConfiguration": {
"configurationType": [
- 621
+ 622
],
"__typename": [
1
@@ -2379,7 +2385,7 @@ export default {
11
],
"modelFamily": [
- 346
+ 347
],
"modelFamilyLabel": [
1
@@ -2388,7 +2394,7 @@ export default {
1
],
"nativeCapabilities": [
- 348
+ 349
],
"outputCostPerMillionTokens": [
11
@@ -2521,13 +2527,13 @@ export default {
135
],
"publicFeatureFlags": [
- 395
+ 396
],
"publicFunctionDomain": [
1
],
"sentry": [
- 454
+ 455
],
"serverUrl": [
1
@@ -2536,7 +2542,7 @@ export default {
4
],
"support": [
- 471
+ 472
],
"__typename": [
1
@@ -2544,13 +2550,13 @@ export default {
},
"ClientConfigMaintenanceMode": {
"endAt": [
- 190
+ 191
],
"link": [
1
],
"startAt": [
- 190
+ 191
],
"__typename": [
1
@@ -2569,10 +2575,10 @@ export default {
},
"CommandMenuItem": {
"applicationId": [
- 496
+ 497
],
"availabilityObjectMetadataId": [
- 496
+ 497
],
"availabilityType": [
138
@@ -2584,19 +2590,19 @@ export default {
1
],
"coreWorkflowVersionId": [
- 496
+ 497
],
"createdAt": [
- 190
+ 191
],
"engineComponentKey": [
- 224
+ 225
],
"frontComponent": [
- 265
+ 266
],
"frontComponentId": [
- 496
+ 497
],
"hotKeys": [
1
@@ -2605,7 +2611,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"isActive": [
4
@@ -2617,10 +2623,10 @@ export default {
1
],
"navigationTargetObjectMetadataId": [
- 496
+ 497
],
"pageLayoutId": [
- 496
+ 497
],
"payload": [
139
@@ -2632,13 +2638,13 @@ export default {
1
],
"universalIdentifier": [
- 496
+ 497
],
"updatedAt": [
- 190
+ 191
],
"workflowVersionId": [
- 496
+ 497
],
"__typename": [
1
@@ -2647,10 +2653,10 @@ export default {
"CommandMenuItemAvailabilityType": {},
"CommandMenuItemPayload": {
"on_ObjectMetadataCommandMenuItemPayload": [
- 358
+ 359
],
"on_PathCommandMenuItemPayload": [
- 383
+ 384
],
"__typename": [
1
@@ -2661,7 +2667,7 @@ export default {
48
],
"files": [
- 256
+ 257
],
"__typename": [
1
@@ -2669,25 +2675,25 @@ export default {
},
"ConnectedAccountPublicDTO": {
"applicationId": [
- 496
+ 497
],
"archivedAt": [
- 190
+ 191
],
"authFailedAt": [
- 190
+ 191
],
"authFailedReason": [
1
],
"connectionParameters": [
- 397
+ 398
],
"connectionProviderId": [
- 496
+ 497
],
"createdAt": [
- 190
+ 191
],
"handle": [
1
@@ -2696,13 +2702,13 @@ export default {
1
],
"id": [
- 496
+ 497
],
"lastCredentialsRefreshedAt": [
- 190
+ 191
],
"lastSignedInAt": [
- 190
+ 191
],
"name": [
1
@@ -2717,10 +2723,10 @@ export default {
1
],
"updatedAt": [
- 190
+ 191
],
"userWorkspaceId": [
- 496
+ 497
],
"visibility": [
1
@@ -2732,19 +2738,19 @@ export default {
"ConnectedAccountScope": {},
"ConnectedImapSmtpCaldavAccount": {
"connectionParameters": [
- 278
+ 279
],
"handle": [
1
],
"id": [
- 496
+ 497
],
"provider": [
1
],
"userWorkspaceId": [
- 496
+ 497
],
"__typename": [
1
@@ -2753,7 +2759,7 @@ export default {
"ConnectionCursor": {},
"ConnectionParametersInput": {
"connectionSecurity": [
- 217
+ 218
],
"host": [
1
@@ -2783,7 +2789,7 @@ export default {
1
],
"modelConfiguration": [
- 292
+ 293
],
"modelId": [
1
@@ -2795,13 +2801,13 @@ export default {
1
],
"responseFormat": [
- 292
+ 293
],
"roleId": [
- 496
+ 497
],
"triggers": [
- 292
+ 293
],
"__typename": [
1
@@ -2818,7 +2824,7 @@ export default {
1
],
"roleId": [
- 496
+ 497
],
"__typename": [
1
@@ -2826,7 +2832,7 @@ export default {
},
"CreateAppMessageChannelInput": {
"connectedAccountId": [
- 496
+ 497
],
"displayName": [
1
@@ -2835,7 +2841,7 @@ export default {
1
],
"visibility": [
- 326
+ 327
],
"__typename": [
1
@@ -2951,7 +2957,7 @@ export default {
},
"CreateCommandMenuItemInput": {
"availabilityObjectMetadataId": [
- 496
+ 497
],
"availabilityType": [
138
@@ -2963,13 +2969,13 @@ export default {
1
],
"coreWorkflowVersionId": [
- 496
+ 497
],
"engineComponentKey": [
- 224
+ 225
],
"frontComponentId": [
- 496
+ 497
],
"hotKeys": [
1
@@ -2984,13 +2990,13 @@ export default {
1
],
"navigationTargetObjectMetadataId": [
- 496
+ 497
],
"pageLayoutId": [
- 496
+ 497
],
"payload": [
- 292
+ 293
],
"position": [
11
@@ -2999,7 +3005,7 @@ export default {
1
],
"workflowVersionId": [
- 496
+ 497
],
"__typename": [
1
@@ -3021,7 +3027,7 @@ export default {
1
],
"messageChannel": [
- 320
+ 321
],
"__typename": [
1
@@ -3037,7 +3043,7 @@ export default {
},
"CreateFieldInput": {
"defaultValue": [
- 292
+ 293
],
"description": [
1
@@ -3079,25 +3085,25 @@ export default {
1
],
"morphRelationsCreationPayload": [
- 292
+ 293
],
"name": [
1
],
"objectMetadataId": [
- 496
+ 497
],
"options": [
- 292
+ 293
],
"relationCreationPayload": [
- 292
+ 293
],
"settings": [
- 292
+ 293
],
"type": [
- 251
+ 252
],
"__typename": [
1
@@ -3117,7 +3123,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"name": [
1
@@ -3131,7 +3137,7 @@ export default {
},
"CreateIndexFieldInput": {
"fieldMetadataId": [
- 496
+ 497
],
"subFieldName": [
1
@@ -3145,10 +3151,10 @@ export default {
162
],
"indexType": [
- 285
+ 286
],
"objectMetadataId": [
- 496
+ 497
],
"__typename": [
1
@@ -3156,40 +3162,40 @@ export default {
},
"CreateLogicFunctionFromSourceInput": {
"cronTriggerSettings": [
- 292
+ 293
],
"databaseEventTriggerSettings": [
- 292
+ 293
],
"description": [
1
],
"httpRouteTriggerSettings": [
- 292
+ 293
],
"id": [
- 496
+ 497
],
"name": [
1
],
"serverRouteTriggerSettings": [
- 292
+ 293
],
"source": [
- 292
+ 293
],
"timeoutSeconds": [
11
],
"toolTriggerSettings": [
- 292
+ 293
],
"universalIdentifier": [
- 496
+ 497
],
"workflowActionTriggerSettings": [
- 292
+ 293
],
"__typename": [
1
@@ -3200,7 +3206,7 @@ export default {
1
],
"unsubscribeTopicId": [
- 496
+ 497
],
"__typename": [
1
@@ -3211,13 +3217,13 @@ export default {
1
],
"folderId": [
- 496
+ 497
],
"icon": [
1
],
"id": [
- 496
+ 497
],
"link": [
1
@@ -3226,25 +3232,25 @@ export default {
1
],
"pageLayoutId": [
- 496
+ 497
],
"position": [
11
],
"targetObjectMetadataId": [
- 496
+ 497
],
"targetRecordId": [
- 496
+ 497
],
"type": [
- 350
+ 351
],
"userWorkspaceId": [
- 496
+ 497
],
"viewId": [
- 496
+ 497
],
"__typename": [
1
@@ -3282,7 +3288,7 @@ export default {
1
],
"primaryKeyFieldMetadataSettings": [
- 292
+ 293
],
"shortcut": [
1
@@ -3323,10 +3329,10 @@ export default {
1
],
"objectMetadataId": [
- 496
+ 497
],
"type": [
- 376
+ 377
],
"__typename": [
1
@@ -3334,10 +3340,10 @@ export default {
},
"CreatePageLayoutTabInput": {
"layoutMode": [
- 375
+ 376
],
"pageLayoutId": [
- 496
+ 497
],
"position": [
11
@@ -3351,22 +3357,22 @@ export default {
},
"CreatePageLayoutWidgetInput": {
"configuration": [
- 292
+ 293
],
"objectMetadataId": [
- 496
+ 497
],
"pageLayoutTabId": [
- 496
+ 497
],
"position": [
- 292
+ 293
],
"title": [
1
],
"type": [
- 622
+ 623
],
"__typename": [
1
@@ -3374,16 +3380,16 @@ export default {
},
"CreateRecordExportInput": {
"fieldMetadataIds": [
- 496
+ 497
],
"filter": [
- 292
+ 293
],
"objectMetadataId": [
- 496
+ 497
],
"orderBy": [
- 292
+ 293
],
"__typename": [
1
@@ -3444,7 +3450,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"label": [
1
@@ -3464,7 +3470,7 @@ export default {
1
],
"visibility": [
- 500
+ 501
],
"__typename": [
1
@@ -3481,7 +3487,7 @@ export default {
81
],
"operationType": [
- 580
+ 581
],
"periodCount": [
8
@@ -3490,7 +3496,7 @@ export default {
1
],
"resourceType": [
- 587
+ 588
],
"spenderId": [
1
@@ -3499,7 +3505,7 @@ export default {
1
],
"unit": [
- 589
+ 590
],
"__typename": [
1
@@ -3510,7 +3516,7 @@ export default {
1
],
"errorFieldMetadataId": [
- 496
+ 497
],
"expression": [
1
@@ -3528,7 +3534,7 @@ export default {
1
],
"objectMetadataId": [
- 496
+ 497
],
"__typename": [
1
@@ -3536,7 +3542,7 @@ export default {
},
"CreateViewFieldGroupInput": {
"id": [
- 496
+ 497
],
"isVisible": [
4
@@ -3548,7 +3554,7 @@ export default {
11
],
"viewId": [
- 496
+ 497
],
"__typename": [
1
@@ -3559,10 +3565,10 @@ export default {
20
],
"fieldMetadataId": [
- 496
+ 497
],
"id": [
- 496
+ 497
],
"isVisible": [
4
@@ -3574,10 +3580,10 @@ export default {
11
],
"viewFieldGroupId": [
- 496
+ 497
],
"viewId": [
- 496
+ 497
],
"__typename": [
1
@@ -3585,19 +3591,19 @@ export default {
},
"CreateViewFilterGroupInput": {
"id": [
- 496
+ 497
],
"logicalOperator": [
- 610
+ 611
],
"parentViewFilterGroupId": [
- 496
+ 497
],
"positionInViewFilterGroup": [
11
],
"viewId": [
- 496
+ 497
],
"__typename": [
1
@@ -3605,31 +3611,31 @@ export default {
},
"CreateViewFilterInput": {
"fieldMetadataId": [
- 496
+ 497
],
"id": [
- 496
+ 497
],
"operand": [
- 611
+ 612
],
"positionInViewFilterGroup": [
11
],
"relationTargetFieldMetadataId": [
- 496
+ 497
],
"subFieldName": [
1
],
"value": [
- 292
+ 293
],
"viewFilterGroupId": [
- 496
+ 497
],
"viewId": [
- 496
+ 497
],
"__typename": [
1
@@ -3640,7 +3646,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"isVisible": [
4
@@ -3649,7 +3655,7 @@ export default {
11
],
"viewId": [
- 496
+ 497
],
"__typename": [
1
@@ -3660,13 +3666,13 @@ export default {
1
],
"calendarEndFieldMetadataId": [
- 496
+ 497
],
"calendarFieldMetadataId": [
- 496
+ 497
],
"calendarLayout": [
- 604
+ 605
],
"groupLoadLimit": [
8
@@ -3675,7 +3681,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"isCompact": [
4
@@ -3684,25 +3690,25 @@ export default {
20
],
"kanbanAggregateOperationFieldMetadataId": [
- 496
+ 497
],
"kanbanColumnWidth": [
8
],
"key": [
- 613
+ 614
],
"mainGroupByFieldMetadataId": [
- 496
+ 497
],
"name": [
1
],
"objectMetadataId": [
- 496
+ 497
],
"openRecordIn": [
- 614
+ 615
],
"position": [
11
@@ -3711,10 +3717,10 @@ export default {
4
],
"type": [
- 617
+ 618
],
"visibility": [
- 618
+ 619
],
"__typename": [
1
@@ -3722,19 +3728,19 @@ export default {
},
"CreateViewSortInput": {
"direction": [
- 616
+ 617
],
"fieldMetadataId": [
- 496
+ 497
],
"id": [
- 496
+ 497
],
"subFieldName": [
1
],
"viewId": [
- 496
+ 497
],
"__typename": [
1
@@ -3745,7 +3751,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"operations": [
1
@@ -3760,10 +3766,27 @@ export default {
1
]
},
- "CursorPaging": {
- "after": [
- 144
- ],
+ "CreditUsedItem": {
+ "creditsUsed": [
+ 11
+ ],
+ "label": [
+ 1
+ ],
+ "operation": [
+ 581
+ ],
+ "resource": [
+ 588
+ ],
+ "__typename": [
+ 1
+ ]
+ },
+ "CursorPaging": {
+ "after": [
+ 144
+ ],
"before": [
144
],
@@ -3781,7 +3804,7 @@ export default {
"DateTime": {},
"DeleteApprovedAccessDomainInput": {
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -3789,7 +3812,7 @@ export default {
},
"DeleteOneFieldInput": {
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -3797,7 +3820,7 @@ export default {
},
"DeleteOneIndexInput": {
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -3805,7 +3828,7 @@ export default {
},
"DeleteOneObjectInput": {
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -3813,7 +3836,7 @@ export default {
},
"DeleteSso": {
"identityProviderId": [
- 496
+ 497
],
"__typename": [
1
@@ -3821,7 +3844,7 @@ export default {
},
"DeleteSsoInput": {
"identityProviderId": [
- 496
+ 497
],
"__typename": [
1
@@ -3837,7 +3860,7 @@ export default {
},
"DeleteViewFieldGroupInput": {
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -3845,7 +3868,7 @@ export default {
},
"DeleteViewFieldInput": {
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -3853,7 +3876,7 @@ export default {
},
"DeleteViewFilterInput": {
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -3861,7 +3884,7 @@ export default {
},
"DeleteViewGroupInput": {
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -3869,7 +3892,7 @@ export default {
},
"DeleteViewSortInput": {
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -3880,16 +3903,16 @@ export default {
1
],
"id": [
- 496
+ 497
],
"name": [
- 268
+ 269
],
"userEmail": [
1
],
"userWorkspaceId": [
- 496
+ 497
],
"__typename": [
1
@@ -3897,7 +3920,7 @@ export default {
},
"DestroyViewFieldGroupInput": {
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -3905,7 +3928,7 @@ export default {
},
"DestroyViewFieldInput": {
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -3913,7 +3936,7 @@ export default {
},
"DestroyViewFilterInput": {
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -3921,7 +3944,7 @@ export default {
},
"DestroyViewGroupInput": {
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -3929,7 +3952,7 @@ export default {
},
"DestroyViewSortInput": {
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -3971,13 +3994,13 @@ export default {
1
],
"id": [
- 496
+ 497
],
"isCustomDomainEnabled": [
4
],
"records": [
- 210
+ 211
],
"__typename": [
1
@@ -3988,10 +4011,10 @@ export default {
1
],
"id": [
- 496
+ 497
],
"pageLayoutId": [
- 496
+ 497
],
"position": [
11
@@ -4014,7 +4037,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"memberCount": [
11
@@ -4034,7 +4057,7 @@ export default {
},
"EditSso": {
"id": [
- 496
+ 497
],
"issuer": [
1
@@ -4043,10 +4066,10 @@ export default {
1
],
"status": [
- 440
+ 441
],
"type": [
- 275
+ 276
],
"__typename": [
1
@@ -4054,10 +4077,10 @@ export default {
},
"EditSsoInput": {
"id": [
- 496
+ 497
],
"status": [
- 440
+ 441
],
"__typename": [
1
@@ -4091,7 +4114,7 @@ export default {
},
"EmailThreadConfiguration": {
"configurationType": [
- 621
+ 622
],
"__typename": [
1
@@ -4099,31 +4122,31 @@ export default {
},
"EmailingDomain": {
"createdAt": [
- 190
+ 191
],
"domain": [
1
],
"id": [
- 496
+ 497
],
"status": [
- 221
+ 222
],
"tenantStatus": [
- 222
+ 223
],
"unsubscribeHostnameStatus": [
- 498
+ 499
],
"updatedAt": [
- 190
+ 191
],
"verificationRecords": [
- 599
+ 600
],
"verifiedAt": [
- 190
+ 191
],
"__typename": [
1
@@ -4133,7 +4156,7 @@ export default {
"EmailingDomainTenantStatus": {},
"EmailsConfiguration": {
"configurationType": [
- 621
+ 622
],
"__typename": [
1
@@ -4151,7 +4174,7 @@ export default {
1
],
"payload": [
- 292
+ 293
],
"retryLimit": [
8
@@ -4165,7 +4188,7 @@ export default {
1
],
"payload": [
- 292
+ 293
],
"__typename": [
1
@@ -4190,13 +4213,13 @@ export default {
8
],
"jobs": [
- 226
+ 227
],
"logicFunctionUniversalIdentifier": [
1
],
"payloads": [
- 292
+ 293
],
"retryLimit": [
8
@@ -4224,7 +4247,7 @@ export default {
},
"EnterpriseLicenseInfoDTO": {
"expiresAt": [
- 190
+ 191
],
"isValid": [
4
@@ -4241,13 +4264,13 @@ export default {
},
"EnterpriseSubscriptionStatusDTO": {
"cancelAt": [
- 190
+ 191
],
"currentPeriodEnd": [
- 190
+ 191
],
"expiresAt": [
- 190
+ 191
],
"isCancellationScheduled": [
4
@@ -4264,10 +4287,10 @@ export default {
},
"EventLogDateRangeInput": {
"end": [
- 190
+ 191
],
"start": [
- 190
+ 191
],
"__typename": [
1
@@ -4278,7 +4301,7 @@ export default {
1
],
"operand": [
- 234
+ 235
],
"values": [
1
@@ -4290,13 +4313,13 @@ export default {
"EventLogFilterOperand": {},
"EventLogFiltersInput": {
"dateRange": [
- 232
+ 233
],
"eventType": [
1
],
"fieldFilters": [
- 233
+ 234
],
"objectMetadataId": [
1
@@ -4327,13 +4350,13 @@ export default {
1
],
"filters": [
- 235
+ 236
],
"first": [
8
],
"table": [
- 240
+ 241
],
"__typename": [
1
@@ -4341,10 +4364,10 @@ export default {
},
"EventLogQueryResult": {
"pageInfo": [
- 236
+ 237
],
"records": [
- 239
+ 240
],
"totalCount": [
8
@@ -4364,13 +4387,13 @@ export default {
1
],
"properties": [
- 292
+ 293
],
"recordId": [
1
],
"timestamp": [
- 190
+ 191
],
"userId": [
1
@@ -4385,13 +4408,13 @@ export default {
1
],
"metadataEvents": [
- 335
+ 336
],
"objectRecordEventsWithQueryIds": [
- 365
+ 366
],
"queueJobEvents": [
- 295
+ 296
],
"__typename": [
1
@@ -4399,10 +4422,10 @@ export default {
},
"ExecuteOneLogicFunctionInput": {
"id": [
- 496
+ 497
],
"payload": [
- 292
+ 293
],
"__typename": [
1
@@ -4410,7 +4433,7 @@ export default {
},
"FeatureFlag": {
"key": [
- 244
+ 245
],
"value": [
4
@@ -4422,13 +4445,13 @@ export default {
"FeatureFlagKey": {},
"Field": {
"applicationId": [
- 496
+ 497
],
"createdAt": [
- 190
+ 191
],
"defaultValue": [
- 292
+ 293
],
"description": [
1
@@ -4437,7 +4460,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"isActive": [
4
@@ -4470,40 +4493,40 @@ export default {
1
],
"morphId": [
- 496
+ 497
],
"morphRelations": [
- 416
+ 417
],
"name": [
1
],
"object": [
- 352
+ 353
],
"objectMetadataId": [
- 496
+ 497
],
"options": [
- 292
+ 293
],
"relation": [
- 416
+ 417
],
"settings": [
- 292
+ 293
],
"type": [
- 251
+ 252
],
"universalIdentifier": [
1
],
"updatedAt": [
- 190
+ 191
],
"writability": [
- 342
+ 343
],
"__typename": [
1
@@ -4511,10 +4534,10 @@ export default {
},
"FieldConfiguration": {
"configurationType": [
- 621
+ 622
],
"fieldDisplayMode": [
- 248
+ 249
],
"fieldMetadataId": [
1
@@ -4534,10 +4557,10 @@ export default {
},
"FieldConnection": {
"edges": [
- 249
+ 250
],
"pageInfo": [
- 372
+ 373
],
"__typename": [
1
@@ -4549,7 +4572,7 @@ export default {
144
],
"node": [
- 245
+ 246
],
"__typename": [
1
@@ -4557,10 +4580,10 @@ export default {
},
"FieldFilter": {
"and": [
- 250
+ 251
],
"id": [
- 497
+ 498
],
"isActive": [
109
@@ -4575,10 +4598,10 @@ export default {
109
],
"objectMetadataId": [
- 497
+ 498
],
"or": [
- 250
+ 251
],
"__typename": [
1
@@ -4593,16 +4616,16 @@ export default {
4
],
"fieldMetadataId": [
- 496
+ 497
],
"id": [
- 496
+ 497
],
"objectMetadataId": [
- 496
+ 497
],
"roleId": [
- 496
+ 497
],
"__typename": [
1
@@ -4616,10 +4639,10 @@ export default {
4
],
"fieldMetadataId": [
- 496
+ 497
],
"objectMetadataId": [
- 496
+ 497
],
"__typename": [
1
@@ -4627,7 +4650,7 @@ export default {
},
"FieldRichTextConfiguration": {
"configurationType": [
- 621
+ 622
],
"__typename": [
1
@@ -4635,7 +4658,7 @@ export default {
},
"FieldsConfiguration": {
"configurationType": [
- 621
+ 622
],
"newFieldDefaultVisibility": [
4
@@ -4652,10 +4675,10 @@ export default {
},
"File": {
"createdAt": [
- 190
+ 191
],
"id": [
- 496
+ 497
],
"path": [
1
@@ -4672,7 +4695,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -4684,10 +4707,10 @@ export default {
1
],
"expiresAt": [
- 190
+ 191
],
"fileId": [
- 496
+ 497
],
"uploadUrl": [
1
@@ -4698,10 +4721,10 @@ export default {
},
"FileWithSignedUrl": {
"createdAt": [
- 190
+ 191
],
"id": [
- 496
+ 497
],
"path": [
1
@@ -4718,7 +4741,7 @@ export default {
},
"FilesConfiguration": {
"configurationType": [
- 621
+ 622
],
"__typename": [
1
@@ -4726,7 +4749,7 @@ export default {
},
"FindAvailableSSOIDP": {
"id": [
- 496
+ 497
],
"issuer": [
1
@@ -4735,13 +4758,13 @@ export default {
1
],
"status": [
- 440
+ 441
],
"type": [
- 275
+ 276
],
"workspace": [
- 641
+ 642
],
"__typename": [
1
@@ -4755,13 +4778,13 @@ export default {
8
],
"reason": [
- 333
+ 334
],
"searchTerm": [
1
],
"unsubscribeTopicId": [
- 496
+ 497
],
"__typename": [
1
@@ -4769,7 +4792,7 @@ export default {
},
"FormFieldConfiguration": {
"configurationType": [
- 621
+ 622
],
"fieldMetadataId": [
1
@@ -4783,7 +4806,7 @@ export default {
1
],
"applicationId": [
- 496
+ 497
],
"applicationName": [
1
@@ -4792,7 +4815,7 @@ export default {
60
],
"applicationVariables": [
- 292
+ 293
],
"builtComponentChecksum": [
1
@@ -4804,7 +4827,7 @@ export default {
1
],
"createdAt": [
- 190
+ 191
],
"description": [
1
@@ -4813,7 +4836,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"isHeadless": [
4
@@ -4825,16 +4848,16 @@ export default {
1
],
"universalIdentifier": [
- 496
+ 497
],
"updatedAt": [
- 190
+ 191
],
"usesSdkClient": [
4
],
"widgetAvailability": [
- 267
+ 268
],
"__typename": [
1
@@ -4842,13 +4865,13 @@ export default {
},
"FrontComponentConfiguration": {
"configurationType": [
- 621
+ 622
],
"frontComponentId": [
- 496
+ 497
],
"headerCommandMenuItemUniversalIdentifiers": [
- 496
+ 497
],
"__typename": [
1
@@ -4856,10 +4879,10 @@ export default {
},
"FrontComponentWidgetAvailability": {
"objectMetadataId": [
- 496
+ 497
],
"pageLayoutType": [
- 376
+ 377
],
"__typename": [
1
@@ -4878,7 +4901,7 @@ export default {
},
"GetApiKeyInput": {
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -4889,7 +4912,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"type": [
1
@@ -4900,7 +4923,7 @@ export default {
},
"GetAuthorizationUrlForSSOInput": {
"identityProviderId": [
- 496
+ 497
],
"workspaceInviteHash": [
1
@@ -4911,7 +4934,7 @@ export default {
},
"GrantApplicationCapabilitiesInput": {
"applicationId": [
- 496
+ 497
],
"capabilities": [
1
@@ -4941,7 +4964,7 @@ export default {
"IdentityProviderType": {},
"IframeConfiguration": {
"configurationType": [
- 621
+ 622
],
"url": [
1
@@ -4963,13 +4986,13 @@ export default {
},
"ImapSmtpCaldavPublicConnectionParameters": {
"CALDAV": [
- 279
+ 280
],
"IMAP": [
- 279
+ 280
],
"SMTP": [
- 279
+ 280
],
"name": [
1
@@ -4980,7 +5003,7 @@ export default {
},
"ImapSmtpCaldavPublicConnectionParams": {
"connectionSecurity": [
- 217
+ 218
],
"host": [
1
@@ -5000,7 +5023,7 @@ export default {
66
],
"workspace": [
- 645
+ 646
],
"__typename": [
1
@@ -5008,16 +5031,16 @@ export default {
},
"Index": {
"createdAt": [
- 190
+ 191
],
"id": [
- 496
+ 497
],
"indexFieldMetadataList": [
- 283
+ 284
],
"indexType": [
- 285
+ 286
],
"indexWhereClause": [
1
@@ -5032,7 +5055,7 @@ export default {
1
],
"updatedAt": [
- 190
+ 191
],
"__typename": [
1
@@ -5043,7 +5066,7 @@ export default {
144
],
"node": [
- 281
+ 282
],
"__typename": [
1
@@ -5051,13 +5074,13 @@ export default {
},
"IndexField": {
"createdAt": [
- 190
+ 191
],
"fieldMetadataId": [
- 496
+ 497
],
"id": [
- 496
+ 497
],
"order": [
11
@@ -5066,7 +5089,7 @@ export default {
1
],
"updatedAt": [
- 190
+ 191
],
"__typename": [
1
@@ -5074,16 +5097,16 @@ export default {
},
"IndexFilter": {
"and": [
- 284
+ 285
],
"id": [
- 497
+ 498
],
"isCustom": [
109
],
"or": [
- 284
+ 285
],
"__typename": [
1
@@ -5092,7 +5115,7 @@ export default {
"IndexType": {},
"IngestAppMessagesInput": {
"messageChannelId": [
- 496
+ 497
],
"messages": [
35
@@ -5103,7 +5126,7 @@ export default {
},
"IngestAppMessagesOutput": {
"messages": [
- 288
+ 289
],
"__typename": [
1
@@ -5114,10 +5137,10 @@ export default {
1
],
"messageId": [
- 496
+ 497
],
"messageThreadId": [
- 496
+ 497
],
"__typename": [
1
@@ -5176,7 +5199,7 @@ export default {
11
],
"state": [
- 294
+ 295
],
"__typename": [
1
@@ -5184,7 +5207,7 @@ export default {
},
"LineChartConfiguration": {
"aggregateFieldMetadataId": [
- 496
+ 497
],
"aggregateOperation": [
20
@@ -5196,7 +5219,7 @@ export default {
1
],
"configurationType": [
- 621
+ 622
],
"description": [
1
@@ -5208,7 +5231,7 @@ export default {
4
],
"filter": [
- 292
+ 293
],
"firstDayOfTheWeek": [
8
@@ -5226,10 +5249,10 @@ export default {
4
],
"primaryAxisDateGranularity": [
- 366
+ 367
],
"primaryAxisGroupByFieldMetadataId": [
- 496
+ 497
],
"primaryAxisGroupBySubFieldName": [
1
@@ -5238,7 +5261,7 @@ export default {
1
],
"primaryAxisOrderBy": [
- 273
+ 274
],
"rangeMax": [
11
@@ -5247,10 +5270,10 @@ export default {
11
],
"secondaryAxisGroupByDateGranularity": [
- 366
+ 367
],
"secondaryAxisGroupByFieldMetadataId": [
- 496
+ 497
],
"secondaryAxisGroupBySubFieldName": [
1
@@ -5259,7 +5282,7 @@ export default {
1
],
"secondaryAxisOrderBy": [
- 273
+ 274
],
"splitMultiValueFields": [
4
@@ -5273,13 +5296,13 @@ export default {
},
"LineChartData": {
"formattedToRawLookup": [
- 292
+ 293
],
"hasTooManyGroups": [
4
],
"series": [
- 300
+ 301
],
"showDataLabels": [
4
@@ -5299,10 +5322,10 @@ export default {
},
"LineChartDataInput": {
"configuration": [
- 292
+ 293
],
"objectMetadataId": [
- 496
+ 497
],
"__typename": [
1
@@ -5321,7 +5344,7 @@ export default {
},
"LineChartSeries": {
"data": [
- 299
+ 300
],
"key": [
1
@@ -5352,7 +5375,7 @@ export default {
},
"ListAppMessageChannelsInput": {
"connectedAccountId": [
- 496
+ 497
],
"__typename": [
1
@@ -5371,34 +5394,34 @@ export default {
},
"LogicFunction": {
"applicationId": [
- 496
+ 497
],
"canRunOnDemand": [
4
],
"createdAt": [
- 190
+ 191
],
"cronTriggerSettings": [
- 292
+ 293
],
"databaseEventTriggerSettings": [
- 292
+ 293
],
"description": [
1
],
"executionMode": [
- 305
+ 306
],
"handlerName": [
1
],
"httpRouteTriggerSettings": [
- 292
+ 293
],
"id": [
- 496
+ 497
],
"name": [
1
@@ -5413,16 +5436,16 @@ export default {
11
],
"toolTriggerSettings": [
- 292
+ 293
],
"universalIdentifier": [
- 496
+ 497
],
"updatedAt": [
- 190
+ 191
],
"workflowActionTriggerSettings": [
- 292
+ 293
],
"__typename": [
1
@@ -5431,19 +5454,19 @@ export default {
"LogicFunctionExecutionMode": {},
"LogicFunctionExecutionResult": {
"data": [
- 292
+ 293
],
"duration": [
11
],
"error": [
- 292
+ 293
],
"logs": [
1
],
"status": [
- 307
+ 308
],
"__typename": [
1
@@ -5466,7 +5489,7 @@ export default {
1
],
"universalIdentifier": [
- 496
+ 497
],
"__typename": [
1
@@ -5474,19 +5497,19 @@ export default {
},
"LogicFunctionLogsInput": {
"applicationId": [
- 496
+ 497
],
"applicationUniversalIdentifier": [
- 496
+ 497
],
"id": [
- 496
+ 497
],
"name": [
1
],
"universalIdentifier": [
- 496
+ 497
],
"__typename": [
1
@@ -5576,13 +5599,13 @@ export default {
1
],
"manifest": [
- 292
+ 293
],
"name": [
1
],
"objects": [
- 314
+ 315
],
"pricingDescription": [
1
@@ -5591,7 +5614,7 @@ export default {
1
],
"roles": [
- 315
+ 316
],
"screenshots": [
1
@@ -5652,7 +5675,7 @@ export default {
1
],
"fieldPermissions": [
- 316
+ 317
],
"icon": [
1
@@ -5661,7 +5684,7 @@ export default {
1
],
"objectPermissions": [
- 317
+ 318
],
"permissionFlagUniversalIdentifiers": [
1
@@ -5718,7 +5741,7 @@ export default {
},
"MessageCampaignBodyConfiguration": {
"configurationType": [
- 621
+ 622
],
"__typename": [
1
@@ -5726,7 +5749,7 @@ export default {
},
"MessageCampaignDetailsConfiguration": {
"configurationType": [
- 621
+ 622
],
"__typename": [
1
@@ -5737,13 +5760,13 @@ export default {
141
],
"connectedAccountId": [
- 496
+ 497
],
"contactAutoCreationPolicy": [
- 321
+ 322
],
"createdAt": [
- 190
+ 191
],
"displayName": [
1
@@ -5758,7 +5781,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"importProgress": [
8
@@ -5770,37 +5793,37 @@ export default {
4
],
"messageFolderImportPolicy": [
- 328
+ 329
],
"pendingGroupEmailsAction": [
- 322
+ 323
],
"syncStage": [
- 323
+ 324
],
"syncStageStartedAt": [
- 190
+ 191
],
"syncStatus": [
- 324
+ 325
],
"syncedAt": [
- 190
+ 191
],
"throttleFailureCount": [
11
],
"throttleRetryAfter": [
- 190
+ 191
],
"type": [
- 325
+ 326
],
"updatedAt": [
- 190
+ 191
],
"visibility": [
- 326
+ 327
],
"__typename": [
1
@@ -5814,13 +5837,13 @@ export default {
"MessageChannelVisibility": {},
"MessageFolder": {
"createdAt": [
- 190
+ 191
],
"externalId": [
1
],
"id": [
- 496
+ 497
],
"isSentFolder": [
4
@@ -5829,7 +5852,7 @@ export default {
4
],
"messageChannelId": [
- 496
+ 497
],
"name": [
1
@@ -5838,10 +5861,10 @@ export default {
1
],
"pendingSyncAction": [
- 329
+ 330
],
"updatedAt": [
- 190
+ 191
],
"__typename": [
1
@@ -5852,22 +5875,22 @@ export default {
"MessageParticipantRole": {},
"MessageSuppression": {
"createdAt": [
- 190
+ 191
],
"emailAddress": [
1
],
"id": [
- 496
+ 497
],
"reason": [
- 333
+ 334
],
"source": [
- 334
+ 335
],
"unsubscribeTopicId": [
- 496
+ 497
],
"__typename": [
1
@@ -5875,7 +5898,7 @@ export default {
},
"MessageSuppressionList": {
"records": [
- 331
+ 332
],
"totalCount": [
8
@@ -5891,13 +5914,13 @@ export default {
1
],
"properties": [
- 364
+ 365
],
"recordId": [
1
],
"type": [
- 336
+ 337
],
"updatedCollectionHash": [
1
@@ -5919,16 +5942,16 @@ export default {
1
],
"objectMetadataId": [
- 496
+ 497
],
"property": [
1
],
"provenance": [
- 340
+ 341
],
"recordId": [
- 496
+ 497
],
"sourceValue": [
1
@@ -5957,13 +5980,13 @@ export default {
"MetadataTranslationProvenance": {},
"MetadataTranslationsInput": {
"fieldMetadataId": [
- 496
+ 497
],
"locale": [
1
],
"objectMetadataId": [
- 496
+ 497
],
"__typename": [
1
@@ -5975,10 +5998,10 @@ export default {
136
],
"objectMetadataItems": [
- 344
+ 345
],
"views": [
- 345
+ 346
],
"__typename": [
1
@@ -5992,7 +6015,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"isActive": [
4
@@ -6021,16 +6044,16 @@ export default {
},
"MinimalView": {
"id": [
- 496
+ 497
],
"key": [
- 613
+ 614
],
"objectMetadataId": [
- 496
+ 497
],
"type": [
- 617
+ 618
],
"__typename": [
1
@@ -6039,16 +6062,16 @@ export default {
"ModelFamily": {},
"Mutation": {
"activateSkill": [
- 463,
+ 464,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
],
"activateWorkspace": [
- 626,
+ 627,
{
"data": [
0,
@@ -6064,7 +6087,7 @@ export default {
"String!"
],
"messageId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -6082,10 +6105,10 @@ export default {
4,
{
"assigneeWorkspaceMemberId": [
- 496
+ 497
],
"threadId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -6094,11 +6117,11 @@ export default {
4,
{
"agentId": [
- 496,
+ 497,
"UUID!"
],
"roleId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -6107,11 +6130,11 @@ export default {
4,
{
"apiKeyId": [
- 496,
+ 497,
"UUID!"
],
"roleId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -6160,10 +6183,10 @@ export default {
107
],
"checkCustomDomainValidRecords": [
- 211
+ 212
],
"checkPublicDomainValidRecords": [
- 211,
+ 212,
{
"domain": [
1,
@@ -6179,7 +6202,7 @@ export default {
"BillingPlanKey!"
],
"recurringInterval": [
- 469,
+ 470,
"SubscriptionInterval!"
],
"requirePaymentMethod": [
@@ -6204,7 +6227,7 @@ export default {
55,
{
"fileId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -6217,13 +6240,13 @@ export default {
"String!"
],
"fileIds": [
- 496,
+ 497,
"[UUID!]!"
]
}
],
"completeBookCallOnboardingStep": [
- 370,
+ 371,
{
"hasBookedCall": [
4,
@@ -6236,7 +6259,7 @@ export default {
}
],
"completeFileUpload": [
- 260,
+ 261,
{
"fileId": [
1,
@@ -6245,7 +6268,7 @@ export default {
}
],
"completeNewWorkspaceLogoUpload": [
- 260,
+ 261,
{
"fileId": [
1,
@@ -6258,7 +6281,7 @@ export default {
}
],
"completeWorkspaceLogoUpload": [
- 260,
+ 261,
{
"fileId": [
1,
@@ -6267,7 +6290,7 @@ export default {
}
],
"completeWorkspaceMemberProfilePictureUpload": [
- 260,
+ 261,
{
"fileId": [
1,
@@ -6285,7 +6308,7 @@ export default {
}
],
"createAppMessageChannel": [
- 320,
+ 321,
{
"input": [
149,
@@ -6349,7 +6372,7 @@ export default {
}
],
"createDevelopmentApplication": [
- 209,
+ 210,
{
"name": [
1,
@@ -6371,7 +6394,7 @@ export default {
}
],
"createEmailingDomain": [
- 220,
+ 221,
{
"input": [
159,
@@ -6380,7 +6403,7 @@ export default {
}
],
"createFileUpload": [
- 259,
+ 260,
{
"fieldMetadataId": [
1
@@ -6389,7 +6412,7 @@ export default {
1
],
"fileFolder": [
- 258,
+ 259,
"FileFolder!"
],
"filename": [
@@ -6403,7 +6426,7 @@ export default {
}
],
"createFrontComponent": [
- 265,
+ 266,
{
"input": [
161,
@@ -6412,7 +6435,7 @@ export default {
}
],
"createManyNavigationMenuItems": [
- 349,
+ 350,
{
"inputs": [
166,
@@ -6421,7 +6444,7 @@ export default {
}
],
"createManyViewFieldGroups": [
- 607,
+ 608,
{
"inputs": [
180,
@@ -6430,7 +6453,7 @@ export default {
}
],
"createManyViewFields": [
- 606,
+ 607,
{
"inputs": [
181,
@@ -6439,7 +6462,7 @@ export default {
}
],
"createManyViewGroups": [
- 612,
+ 613,
{
"inputs": [
184,
@@ -6448,7 +6471,7 @@ export default {
}
],
"createMessageSuppression": [
- 331,
+ 332,
{
"input": [
165,
@@ -6457,7 +6480,7 @@ export default {
}
],
"createNavigationMenuItem": [
- 349,
+ 350,
{
"input": [
166,
@@ -6466,7 +6489,7 @@ export default {
}
],
"createNewWorkspaceLogoUpload": [
- 259,
+ 260,
{
"filename": [
1,
@@ -6483,10 +6506,10 @@ export default {
}
],
"createOIDCIdentityProvider": [
- 460,
+ 461,
{
"input": [
- 458,
+ 459,
"SetupOIDCSsoInput!"
]
}
@@ -6499,14 +6522,14 @@ export default {
"String!"
],
"objectMetadataId": [
- 496,
+ 497,
"UUID!"
],
"properties": [
- 292
+ 293
],
"recordId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -6521,7 +6544,7 @@ export default {
}
],
"createOneField": [
- 245,
+ 246,
{
"input": [
168,
@@ -6530,7 +6553,7 @@ export default {
}
],
"createOneIndex": [
- 281,
+ 282,
{
"input": [
169,
@@ -6539,7 +6562,7 @@ export default {
}
],
"createOneLogicFunction": [
- 304,
+ 305,
{
"input": [
164,
@@ -6548,7 +6571,7 @@ export default {
}
],
"createOneObject": [
- 352,
+ 353,
{
"input": [
170,
@@ -6557,7 +6580,7 @@ export default {
}
],
"createOneRole": [
- 423,
+ 424,
{
"createRoleInput": [
175,
@@ -6566,7 +6589,7 @@ export default {
}
],
"createPageLayout": [
- 373,
+ 374,
{
"input": [
171,
@@ -6575,7 +6598,7 @@ export default {
}
],
"createPageLayoutTab": [
- 374,
+ 375,
{
"input": [
172,
@@ -6584,7 +6607,7 @@ export default {
}
],
"createPageLayoutWidget": [
- 377,
+ 378,
{
"input": [
173,
@@ -6593,7 +6616,7 @@ export default {
}
],
"createPublicDomain": [
- 394,
+ 395,
{
"applicationId": [
1,
@@ -6606,16 +6629,16 @@ export default {
}
],
"createSAMLIdentityProvider": [
- 460,
+ 461,
{
"input": [
- 459,
+ 460,
"SetupSAMLSsoInput!"
]
}
],
"createSkill": [
- 463,
+ 464,
{
"input": [
176,
@@ -6635,7 +6658,7 @@ export default {
"BillingPlanKey!"
],
"recurringInterval": [
- 469,
+ 470,
"SubscriptionInterval!"
],
"requirePaymentMethod": [
@@ -6648,7 +6671,7 @@ export default {
}
],
"createUnsubscribeTopic": [
- 499,
+ 500,
{
"input": [
177,
@@ -6657,7 +6680,7 @@ export default {
}
],
"createUsageLimit": [
- 578,
+ 579,
{
"input": [
178,
@@ -6666,7 +6689,7 @@ export default {
}
],
"createValidationRule": [
- 598,
+ 599,
{
"input": [
179,
@@ -6675,7 +6698,7 @@ export default {
}
],
"createView": [
- 603,
+ 604,
{
"input": [
185,
@@ -6684,7 +6707,7 @@ export default {
}
],
"createViewField": [
- 606,
+ 607,
{
"input": [
181,
@@ -6693,7 +6716,7 @@ export default {
}
],
"createViewFieldGroup": [
- 607,
+ 608,
{
"input": [
180,
@@ -6702,7 +6725,7 @@ export default {
}
],
"createViewFilter": [
- 608,
+ 609,
{
"input": [
183,
@@ -6711,7 +6734,7 @@ export default {
}
],
"createViewFilterGroup": [
- 609,
+ 610,
{
"input": [
182,
@@ -6720,7 +6743,7 @@ export default {
}
],
"createViewGroup": [
- 612,
+ 613,
{
"input": [
184,
@@ -6729,7 +6752,7 @@ export default {
}
],
"createViewSort": [
- 615,
+ 616,
{
"input": [
186,
@@ -6738,7 +6761,7 @@ export default {
}
],
"createWebhook": [
- 619,
+ 620,
{
"input": [
187,
@@ -6747,10 +6770,10 @@ export default {
}
],
"deactivateSkill": [
- 463,
+ 464,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
@@ -6768,10 +6791,10 @@ export default {
}
],
"deleteAppMessageChannel": [
- 320,
+ 321,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
@@ -6789,7 +6812,7 @@ export default {
4,
{
"input": [
- 191,
+ 192,
"DeleteApprovedAccessDomainInput!"
]
}
@@ -6798,7 +6821,7 @@ export default {
137,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
@@ -6807,19 +6830,19 @@ export default {
141,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
],
"deleteCurrentWorkspace": [
- 626
+ 627
],
"deleteEmailGroupChannel": [
- 320,
+ 321,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
@@ -6834,19 +6857,19 @@ export default {
}
],
"deleteFrontComponent": [
- 265,
+ 266,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
],
"deleteManyNavigationMenuItems": [
- 349,
+ 350,
{
"ids": [
- 496,
+ 497,
"[UUID!]!"
]
}
@@ -6855,16 +6878,16 @@ export default {
4,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
],
"deleteNavigationMenuItem": [
- 349,
+ 350,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
@@ -6879,37 +6902,37 @@ export default {
}
],
"deleteOneField": [
- 245,
+ 246,
{
"input": [
- 192,
+ 193,
"DeleteOneFieldInput!"
]
}
],
"deleteOneIndex": [
- 281,
+ 282,
{
"input": [
- 193,
+ 194,
"DeleteOneIndexInput!"
]
}
],
"deleteOneLogicFunction": [
- 304,
+ 305,
{
"input": [
- 308,
+ 309,
"LogicFunctionIdInput!"
]
}
],
"deleteOneObject": [
- 352,
+ 353,
{
"input": [
- 194,
+ 195,
"DeleteOneObjectInput!"
]
}
@@ -6918,7 +6941,7 @@ export default {
1,
{
"roleId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -6936,34 +6959,34 @@ export default {
4,
{
"messageId": [
- 496,
+ 497,
"UUID!"
]
}
],
"deleteSSOIdentityProvider": [
- 195,
+ 196,
{
"input": [
- 196,
+ 197,
"DeleteSsoInput!"
]
}
],
"deleteSkill": [
- 463,
+ 464,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
],
"deleteTwoFactorAuthenticationMethod": [
- 197,
+ 198,
{
"twoFactorAuthenticationMethodId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -6981,16 +7004,16 @@ export default {
4,
{
"usageLimitId": [
- 496,
+ 497,
"UUID!"
]
}
],
"deleteUser": [
- 591
+ 592
],
"deleteUserFromWorkspace": [
- 595,
+ 596,
{
"workspaceMemberIdToDelete": [
1,
@@ -6999,10 +7022,10 @@ export default {
}
],
"deleteValidationRule": [
- 598,
+ 599,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
@@ -7017,28 +7040,28 @@ export default {
}
],
"deleteViewField": [
- 606,
+ 607,
{
"input": [
- 199,
+ 200,
"DeleteViewFieldInput!"
]
}
],
"deleteViewFieldGroup": [
- 607,
+ 608,
{
"input": [
- 198,
+ 199,
"DeleteViewFieldGroupInput!"
]
}
],
"deleteViewFilter": [
- 608,
+ 609,
{
"input": [
- 200,
+ 201,
"DeleteViewFilterInput!"
]
}
@@ -7053,10 +7076,10 @@ export default {
}
],
"deleteViewGroup": [
- 612,
+ 613,
{
"input": [
- 201,
+ 202,
"DeleteViewGroupInput!"
]
}
@@ -7065,16 +7088,16 @@ export default {
4,
{
"input": [
- 202,
+ 203,
"DeleteViewSortInput!"
]
}
],
"deleteWebhook": [
- 619,
+ 620,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
@@ -7125,28 +7148,28 @@ export default {
}
],
"destroyViewField": [
- 606,
+ 607,
{
"input": [
- 205,
+ 206,
"DestroyViewFieldInput!"
]
}
],
"destroyViewFieldGroup": [
- 607,
+ 608,
{
"input": [
- 204,
+ 205,
"DestroyViewFieldGroupInput!"
]
}
],
"destroyViewFilter": [
- 608,
+ 609,
{
"input": [
- 206,
+ 207,
"DestroyViewFilterInput!"
]
}
@@ -7161,10 +7184,10 @@ export default {
}
],
"destroyViewGroup": [
- 612,
+ 613,
{
"input": [
- 207,
+ 208,
"DestroyViewGroupInput!"
]
}
@@ -7173,7 +7196,7 @@ export default {
4,
{
"input": [
- 208,
+ 209,
"DestroyViewSortInput!"
]
}
@@ -7182,40 +7205,40 @@ export default {
141,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
],
"duplicateDashboard": [
- 212,
+ 213,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
],
"duplicateMessageList": [
- 213,
+ 214,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
],
"editSSOIdentityProvider": [
- 214,
+ 215,
{
"input": [
- 215,
+ 216,
"EditSsoInput!"
]
}
],
"emailPasswordResetLink": [
- 218,
+ 219,
{
"captchaToken": [
1
@@ -7225,7 +7248,7 @@ export default {
"String!"
],
"workspaceId": [
- 496
+ 497
]
}
],
@@ -7233,31 +7256,31 @@ export default {
84
],
"enqueueJob": [
- 227,
+ 228,
{
"input": [
- 225,
+ 226,
"EnqueueJobInput!"
]
}
],
"enqueueJobs": [
- 229,
+ 230,
{
"input": [
- 228,
+ 229,
"EnqueueJobsInput!"
]
}
],
"enrichWorkspaceCompany": [
- 630
+ 631
],
"executeOneLogicFunction": [
- 306,
+ 307,
{
"input": [
- 242,
+ 243,
"ExecuteOneLogicFunctionInput!"
]
}
@@ -7266,7 +7289,7 @@ export default {
31,
{
"apiKeyId": [
- 496,
+ 497,
"UUID!"
],
"expiresAt": [
@@ -7279,7 +7302,7 @@ export default {
60,
{
"applicationId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -7288,16 +7311,16 @@ export default {
66
],
"generateTransientToken": [
- 479
+ 480
],
"generateTwoFactorAuthenticationRecoveryCode": [
- 493,
+ 494,
{
"otp": [
1
],
"userId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -7345,7 +7368,7 @@ export default {
}
],
"getAuthTokensFromTwoFactorAuthenticationRecoveryCode": [
- 494,
+ 495,
{
"captchaToken": [
1
@@ -7365,16 +7388,16 @@ export default {
}
],
"getAuthorizationUrlForSSO": [
- 270,
+ 271,
{
"input": [
- 271,
+ 272,
"GetAuthorizationUrlForSSOInput!"
]
}
],
"getLoginTokenFromCredentials": [
- 311,
+ 312,
{
"captchaToken": [
1
@@ -7400,41 +7423,41 @@ export default {
}
],
"goBackToPreviousOnboardingStep": [
- 369
+ 370
],
"grantApplicationCapabilities": [
39,
{
"input": [
- 272,
+ 273,
"GrantApplicationCapabilitiesInput!"
]
}
],
"impersonate": [
- 280,
+ 281,
{
"userId": [
- 496,
+ 497,
"UUID!"
],
"workspaceId": [
- 496,
+ 497,
"UUID!"
]
}
],
"ingestAppMessages": [
- 287,
+ 288,
{
"input": [
- 286,
+ 287,
"IngestAppMessagesInput!"
]
}
],
"initiateOTPProvisioning": [
- 289,
+ 290,
{
"loginToken": [
1,
@@ -7447,7 +7470,7 @@ export default {
}
],
"initiateOTPProvisioningForAuthenticatedUser": [
- 289
+ 290
],
"installApplication": [
37,
@@ -7477,7 +7500,7 @@ export default {
4
],
"releaseEnterpriseServerBinding": [
- 230
+ 231
],
"removeAgentChatMessageReaction": [
16,
@@ -7487,7 +7510,7 @@ export default {
"String!"
],
"messageId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -7496,20 +7519,20 @@ export default {
4,
{
"input": [
- 418,
+ 419,
"RemoveQueryFromEventStreamInput!"
]
}
],
"removeRecordShare": [
- 410,
+ 411,
{
"principal": [
- 407,
+ 408,
"RecordSharePrincipalInput!"
],
"target": [
- 415,
+ 416,
"RecordTargetInput!"
]
}
@@ -7518,7 +7541,7 @@ export default {
4,
{
"agentId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -7545,13 +7568,13 @@ export default {
4,
{
"input": [
- 419,
+ 420,
"ReportAppConnectionAuthFailureInput!"
]
}
],
"resendEmailVerificationToken": [
- 420,
+ 421,
{
"email": [
1,
@@ -7564,7 +7587,7 @@ export default {
}
],
"resendWorkspaceInvitation": [
- 450,
+ 451,
{
"appTokenId": [
1,
@@ -7576,13 +7599,13 @@ export default {
137,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
],
"resetPageLayoutTabToDefault": [
- 374,
+ 375,
{
"id": [
1,
@@ -7591,7 +7614,7 @@ export default {
}
],
"resetPageLayoutToDefault": [
- 373,
+ 374,
{
"id": [
1,
@@ -7600,7 +7623,7 @@ export default {
}
],
"resetPageLayoutWidgetToDefault": [
- 377,
+ 378,
{
"id": [
1,
@@ -7609,22 +7632,22 @@ export default {
}
],
"resetTimelineActivityType": [
- 474,
+ 475,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
],
"retryChatMessage": [
- 443,
+ 444,
{
"modelId": [
1
],
"threadId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -7636,7 +7659,7 @@ export default {
29,
{
"input": [
- 421,
+ 422,
"RevokeApiKeyInput!"
]
}
@@ -7645,7 +7668,7 @@ export default {
4,
{
"applicationAuthorizationId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -7654,7 +7677,7 @@ export default {
4,
{
"userId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -7663,13 +7686,13 @@ export default {
4,
{
"userSessionId": [
- 496,
+ 497,
"UUID!"
]
}
],
"rotateApplicationRegistrationClientSecret": [
- 425,
+ 426,
{
"id": [
1,
@@ -7678,10 +7701,10 @@ export default {
}
],
"runAgent": [
- 436,
+ 437,
{
"input": [
- 432,
+ 433,
"RunAgentInput!"
]
}
@@ -7690,16 +7713,16 @@ export default {
53,
{
"applicationId": [
- 496,
+ 497,
"UUID!"
]
}
],
"saveImapSmtpCaldavAccount": [
- 277,
+ 278,
{
"connectionParameters": [
- 216,
+ 217,
"EmailAccountConnectionParameters!"
],
"handle": [
@@ -7707,26 +7730,26 @@ export default {
"String!"
],
"id": [
- 496
+ 497
]
}
],
"sendChatMessage": [
- 443,
+ 444,
{
"browsingContext": [
- 292
+ 293
],
"fileAttachments": [
- 257,
+ 258,
"[FileAttachmentInput!]"
],
"mentionedWorkspaceMemberIds": [
- 496,
+ 497,
"[UUID!]"
],
"messageId": [
- 496,
+ 497,
"UUID!"
],
"modelId": [
@@ -7740,55 +7763,55 @@ export default {
"String!"
],
"threadId": [
- 496,
+ 497,
"UUID!"
]
}
],
"sendEmail": [
- 446,
+ 447,
{
"input": [
- 445,
+ 446,
"SendEmailInput!"
]
}
],
"sendInboxMessage": [
- 449,
+ 450,
{
"input": [
- 448,
+ 449,
"SendInboxMessageInput!"
]
}
],
"sendInvitations": [
- 450,
+ 451,
{
"emails": [
1,
"[String!]!"
],
"roleId": [
- 496
+ 497
]
}
],
"sendMessageCampaign": [
- 452,
+ 453,
{
"input": [
- 451,
+ 452,
"SendMessageCampaignInput!"
]
}
],
"sendMessageCampaignTest": [
- 447,
+ 448,
{
"input": [
- 453,
+ 454,
"SendMessageCampaignTestInput!"
]
}
@@ -7797,13 +7820,13 @@ export default {
33,
{
"input": [
- 455,
+ 456,
"SetAppKeyValueInput!"
]
}
],
"setEnterpriseKey": [
- 230,
+ 231,
{
"enterpriseKey": [
1,
@@ -7812,31 +7835,31 @@ export default {
}
],
"setRecordGeneralAccess": [
- 410,
+ 411,
{
"accessLevel": [
- 406,
+ 407,
"RecordShareAccessLevel!"
],
"target": [
- 415,
+ 416,
"RecordTargetInput!"
]
}
],
"setRecordShare": [
- 410,
+ 411,
{
"accessLevel": [
- 406,
+ 407,
"RecordShareAccessLevel!"
],
"principal": [
- 407,
+ 408,
"RecordSharePrincipalInput!"
],
"target": [
- 415,
+ 416,
"RecordTargetInput!"
]
}
@@ -7903,15 +7926,15 @@ export default {
}
],
"signUpInNewWorkspace": [
- 461,
+ 462,
{
"input": [
- 462
+ 463
]
}
],
"signUpInWorkspace": [
- 461,
+ 462,
{
"captchaToken": [
1
@@ -7931,7 +7954,7 @@ export default {
1
],
"workspaceId": [
- 496
+ 497
],
"workspaceInviteHash": [
1
@@ -7942,7 +7965,7 @@ export default {
}
],
"skipSyncEmailOnboardingStep": [
- 370,
+ 371,
{
"isAutoSkipped": [
4,
@@ -7954,19 +7977,19 @@ export default {
123,
{
"connectedAccountId": [
- 496,
+ 497,
"UUID!"
]
}
],
"startWorkspaceSetupChat": [
- 465,
+ 466,
{
"companyContext": [
- 292
+ 293
],
"personContext": [
- 292
+ 293
]
}
],
@@ -7974,13 +7997,13 @@ export default {
4,
{
"threadId": [
- 496,
+ 497,
"UUID!"
]
}
],
"stopImpersonation": [
- 466
+ 467
],
"switchBillingPlan": [
107,
@@ -7994,7 +8017,7 @@ export default {
107
],
"syncApplication": [
- 640,
+ 641,
{
"dryRun": [
4
@@ -8003,7 +8026,7 @@ export default {
4
],
"manifest": [
- 292,
+ 293,
"JSON!"
]
}
@@ -8021,7 +8044,7 @@ export default {
1
],
"properties": [
- 292
+ 293
],
"type": [
27,
@@ -8043,55 +8066,55 @@ export default {
}
],
"triggerAddPeopleToMessageListJob": [
- 481,
+ 482,
{
"input": [
- 480,
+ 481,
"TriggerAddPeopleToMessageListJobInput!"
]
}
],
"triggerInstallApplication": [
- 485,
+ 486,
{
"input": [
- 482,
+ 483,
"TriggerInstallApplicationInput!"
]
}
],
"triggerInstallApplicationJob": [
- 484,
+ 485,
{
"input": [
- 483,
+ 484,
"TriggerInstallApplicationJobInput!"
]
}
],
"triggerUninstallApplication": [
- 489,
+ 490,
{
"input": [
- 486,
+ 487,
"TriggerUninstallApplicationInput!"
]
}
],
"triggerUninstallApplicationJob": [
- 488,
+ 489,
{
"input": [
- 487,
+ 488,
"TriggerUninstallApplicationJobInput!"
]
}
],
"triggerUpgradeApplication": [
- 491,
+ 492,
{
"input": [
- 490,
+ 491,
"TriggerUpgradeApplicationInput!"
]
}
@@ -8113,10 +8136,10 @@ export default {
"AgentChatInboxAction!"
],
"snoozedUntil": [
- 190
+ 191
],
"threadIds": [
- 496,
+ 497,
"[UUID!]!"
]
}
@@ -8125,16 +8148,16 @@ export default {
29,
{
"input": [
- 502,
+ 503,
"UpdateApiKeyInput!"
]
}
],
"updateAppMessageChannel": [
- 320,
+ 321,
{
"input": [
- 503,
+ 504,
"UpdateAppMessageChannelInput!"
]
}
@@ -8143,11 +8166,11 @@ export default {
37,
{
"id": [
- 496,
+ 497,
"UUID!"
],
"input": [
- 504,
+ 505,
"UpdateApplicationInput!"
]
}
@@ -8156,7 +8179,7 @@ export default {
55,
{
"input": [
- 505,
+ 506,
"UpdateApplicationRegistrationInput!"
]
}
@@ -8165,7 +8188,7 @@ export default {
59,
{
"input": [
- 507,
+ 508,
"UpdateApplicationRegistrationVariableInput!"
]
}
@@ -8174,7 +8197,7 @@ export default {
110,
{
"input": [
- 509,
+ 510,
"UpdateCalendarChannelInput!"
]
}
@@ -8183,88 +8206,88 @@ export default {
137,
{
"input": [
- 511,
+ 512,
"UpdateCommandMenuItemInput!"
]
}
],
"updateEmailGroupChannel": [
- 320,
+ 321,
{
"input": [
- 512,
+ 513,
"UpdateEmailGroupChannelInput!"
]
}
],
"updateFrontComponent": [
- 265,
+ 266,
{
"input": [
- 514,
+ 515,
"UpdateFrontComponentInput!"
]
}
],
"updateLabPublicFeatureFlag": [
- 243,
+ 244,
{
"input": [
- 516,
+ 517,
"UpdateLabPublicFeatureFlagInput!"
]
}
],
"updateManyNavigationMenuItems": [
- 349,
+ 350,
{
"inputs": [
- 527,
+ 528,
"[UpdateOneNavigationMenuItemInput!]!"
]
}
],
"updateManyObjects": [
- 352,
+ 353,
{
"inputs": [
- 528,
+ 529,
"[UpdateOneObjectInput!]!"
]
}
],
"updateManyViewGroups": [
- 612,
+ 613,
{
"inputs": [
- 550,
+ 551,
"[UpdateViewGroupInput!]!"
]
}
],
"updateMessageChannel": [
- 320,
+ 321,
{
"input": [
- 519,
+ 520,
"UpdateMessageChannelInput!"
]
}
],
"updateMessageFolder": [
- 327,
+ 328,
{
"input": [
- 521,
+ 522,
"UpdateMessageFolderInput!"
]
}
],
"updateMessageFolders": [
- 327,
+ 328,
{
"input": [
- 523,
+ 524,
"UpdateMessageFoldersInput!"
]
}
@@ -8287,10 +8310,10 @@ export default {
}
],
"updateNavigationMenuItem": [
- 349,
+ 350,
{
"input": [
- 527,
+ 528,
"UpdateOneNavigationMenuItemInput!"
]
}
@@ -8299,7 +8322,7 @@ export default {
3,
{
"input": [
- 501,
+ 502,
"UpdateAgentInput!"
]
}
@@ -8308,7 +8331,7 @@ export default {
4,
{
"applicationId": [
- 496
+ 497
],
"key": [
1,
@@ -8321,10 +8344,10 @@ export default {
}
],
"updateOneField": [
- 245,
+ 246,
{
"input": [
- 526,
+ 527,
"UpdateOneFieldMetadataInput!"
]
}
@@ -8333,83 +8356,83 @@ export default {
4,
{
"input": [
- 517,
+ 518,
"UpdateLogicFunctionFromSourceInput!"
]
}
],
"updateOneObject": [
- 352,
+ 353,
{
"input": [
- 528,
+ 529,
"UpdateOneObjectInput!"
]
}
],
"updateOneRole": [
- 423,
+ 424,
{
"updateRoleInput": [
- 535,
+ 536,
"UpdateRoleInput!"
]
}
],
"updatePageLayout": [
- 373,
+ 374,
{
"id": [
1,
"String!"
],
"input": [
- 529,
+ 530,
"UpdatePageLayoutInput!"
]
}
],
"updatePageLayoutTab": [
- 374,
+ 375,
{
"id": [
1,
"String!"
],
"input": [
- 530,
+ 531,
"UpdatePageLayoutTabInput!"
]
}
],
"updatePageLayoutWidget": [
- 377,
+ 378,
{
"id": [
1,
"String!"
],
"input": [
- 532,
+ 533,
"UpdatePageLayoutWidgetInput!"
]
}
],
"updatePageLayoutWithTabsAndWidgets": [
- 373,
+ 374,
{
"id": [
1,
"String!"
],
"input": [
- 534,
+ 535,
"UpdatePageLayoutWithTabsInput!"
]
}
],
"updatePasswordViaResetToken": [
- 290,
+ 291,
{
"newPassword": [
1,
@@ -8422,37 +8445,37 @@ export default {
}
],
"updateSkill": [
- 463,
+ 464,
{
"input": [
- 537,
+ 538,
"UpdateSkillInput!"
]
}
],
"updateTimelineActivityType": [
- 474,
+ 475,
{
"input": [
- 538,
+ 539,
"UpdateTimelineActivityTypeInput!"
]
}
],
"updateUnsubscribeTopic": [
- 499,
+ 500,
{
"input": [
- 539,
+ 540,
"UpdateUnsubscribeTopicInput!"
]
}
],
"updateUsageLimit": [
- 578,
+ 579,
{
"input": [
- 540,
+ 541,
"UpdateUsageLimitInput!"
]
}
@@ -8461,7 +8484,7 @@ export default {
83,
{
"userCreditsFallback": [
- 593,
+ 594,
"UserCreditsFallback!"
]
}
@@ -8479,121 +8502,121 @@ export default {
}
],
"updateValidationRule": [
- 598,
+ 599,
{
"input": [
- 541,
+ 542,
"UpdateValidationRuleInput!"
]
}
],
"updateView": [
- 603,
+ 604,
{
"id": [
1,
"String!"
],
"input": [
- 552,
+ 553,
"UpdateViewInput!"
]
}
],
"updateViewField": [
- 606,
+ 607,
{
"input": [
- 545,
+ 546,
"UpdateViewFieldInput!"
]
}
],
"updateViewFieldGroup": [
- 607,
+ 608,
{
"input": [
- 543,
+ 544,
"UpdateViewFieldGroupInput!"
]
}
],
"updateViewFilter": [
- 608,
+ 609,
{
"input": [
- 548,
+ 549,
"UpdateViewFilterInput!"
]
}
],
"updateViewFilterGroup": [
- 609,
+ 610,
{
"id": [
1,
"String!"
],
"input": [
- 547,
+ 548,
"UpdateViewFilterGroupInput!"
]
}
],
"updateViewGroup": [
- 612,
+ 613,
{
"input": [
- 550,
+ 551,
"UpdateViewGroupInput!"
]
}
],
"updateViewSort": [
- 615,
+ 616,
{
"input": [
- 553,
+ 554,
"UpdateViewSortInput!"
]
}
],
"updateWebhook": [
- 619,
+ 620,
{
"input": [
- 555,
+ 556,
"UpdateWebhookInput!"
]
}
],
"updateWorkspace": [
- 626,
+ 627,
{
"data": [
- 558,
+ 559,
"UpdateWorkspaceInput!"
]
}
],
"updateWorkspaceAllowedIframeOrigins": [
- 626,
+ 627,
{
"data": [
- 557,
+ 558,
"UpdateWorkspaceAllowedIframeOriginsInput!"
]
}
],
"updateWorkspaceMemberRole": [
- 635,
+ 636,
{
"roleId": [
- 496,
+ 497,
"UUID!"
],
"workspaceMemberId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -8602,7 +8625,7 @@ export default {
4,
{
"input": [
- 559,
+ 560,
"UpdateWorkspaceMemberSettingsInput!"
]
}
@@ -8624,7 +8647,7 @@ export default {
55,
{
"file": [
- 560,
+ 561,
"Upload!"
],
"universalIdentifier": [
@@ -8633,18 +8656,18 @@ export default {
}
],
"uploadApplicationFile": [
- 256,
+ 257,
{
"applicationUniversalIdentifier": [
1,
"String!"
],
"file": [
- 560,
+ 561,
"Upload!"
],
"fileFolder": [
- 258,
+ 259,
"FileFolder!"
],
"filePath": [
@@ -8654,23 +8677,23 @@ export default {
}
],
"uploadFilesFieldFileByUniversalIdentifier": [
- 260,
+ 261,
{
"fieldMetadataUniversalIdentifier": [
1,
"String!"
],
"file": [
- 560,
+ 561,
"Upload!"
]
}
],
"uploadNewWorkspaceLogo": [
- 260,
+ 261,
{
"file": [
- 560,
+ 561,
"Upload!"
],
"workspaceId": [
@@ -8680,73 +8703,73 @@ export default {
}
],
"uploadWorkspaceLogo": [
- 260,
+ 261,
{
"file": [
- 560,
+ 561,
"Upload!"
]
}
],
"uploadWorkspaceMemberProfilePicture": [
- 260,
+ 261,
{
"file": [
- 560,
+ 561,
"Upload!"
]
}
],
"upsertFieldPermissions": [
- 252,
+ 253,
{
"upsertFieldPermissionsInput": [
- 561,
+ 562,
"UpsertFieldPermissionsInput!"
]
}
],
"upsertFieldsWidget": [
- 603,
+ 604,
{
"input": [
- 564,
+ 565,
"UpsertFieldsWidgetInput!"
]
}
],
"upsertObjectPermissions": [
- 360,
+ 361,
{
"upsertObjectPermissionsInput": [
- 565,
+ 566,
"UpsertObjectPermissionsInput!"
]
}
],
"upsertPermissionFlags": [
- 424,
+ 425,
{
"upsertPermissionFlagsInput": [
- 566,
+ 567,
"UpsertPermissionFlagsInput!"
]
}
],
"upsertRowLevelPermissionPredicates": [
- 568,
+ 569,
{
"input": [
- 567,
+ 568,
"UpsertRowLevelPermissionPredicatesInput!"
]
}
],
"upsertViewWidget": [
- 603,
+ 604,
{
"input": [
- 569,
+ 570,
"UpsertViewWidgetInput!"
]
}
@@ -8755,13 +8778,13 @@ export default {
63,
{
"input": [
- 596,
+ 597,
"ValidateApprovedAccessDomainInput!"
]
}
],
"verifyEmailAndGetLoginToken": [
- 600,
+ 601,
{
"captchaToken": [
1
@@ -8797,7 +8820,7 @@ export default {
}
],
"verifyEmailingDomain": [
- 220,
+ 221,
{
"id": [
1,
@@ -8806,7 +8829,7 @@ export default {
}
],
"verifyTwoFactorAuthenticationMethodForAuthenticatedUser": [
- 601,
+ 602,
{
"otp": [
1,
@@ -8831,22 +8854,22 @@ export default {
},
"NavigationMenuItem": {
"applicationId": [
- 496
+ 497
],
"color": [
1
],
"createdAt": [
- 190
+ 191
],
"folderId": [
- 496
+ 497
],
"icon": [
1
],
"id": [
- 496
+ 497
],
"link": [
1
@@ -8855,31 +8878,31 @@ export default {
1
],
"pageLayoutId": [
- 496
+ 497
],
"position": [
11
],
"targetObjectMetadataId": [
- 496
+ 497
],
"targetRecordId": [
- 496
+ 497
],
"targetRecordIdentifier": [
- 403
+ 404
],
"type": [
- 350
+ 351
],
"updatedAt": [
- 190
+ 191
],
"userWorkspaceId": [
- 496
+ 497
],
"viewId": [
- 496
+ 497
],
"__typename": [
1
@@ -8888,7 +8911,7 @@ export default {
"NavigationMenuItemType": {},
"NotesConfiguration": {
"configurationType": [
- 621
+ 622
],
"__typename": [
1
@@ -8896,13 +8919,13 @@ export default {
},
"Object": {
"applicationId": [
- 496
+ 497
],
"color": [
1
],
"createdAt": [
- 190
+ 191
],
"description": [
1
@@ -8911,42 +8934,42 @@ export default {
1
],
"fields": [
- 355,
+ 356,
{
"filter": [
- 250,
+ 251,
"FieldFilter!"
],
"paging": [
- 188,
+ 189,
"CursorPaging!"
]
}
],
"fieldsList": [
- 245
+ 246
],
"icon": [
1
],
"id": [
- 496
+ 497
],
"imageIdentifierFieldMetadataId": [
- 496
+ 497
],
"indexMetadataList": [
- 281
+ 282
],
"indexMetadatas": [
- 357,
+ 358,
{
"filter": [
- 284,
+ 285,
"IndexFilter!"
],
"paging": [
- 188,
+ 189,
"CursorPaging!"
]
}
@@ -8976,7 +8999,7 @@ export default {
4
],
"labelIdentifierFieldMetadataId": [
- 496
+ 497
],
"labelPlural": [
1
@@ -8991,19 +9014,19 @@ export default {
1
],
"openRecordIn": [
- 359
+ 360
],
"readability": [
- 337
+ 338
],
"readabilityParentFieldUniversalIdentifiers": [
- 496
+ 497
],
"searchFieldMetadataList": [
- 442
+ 443
],
"sharingReach": [
- 367
+ 368
],
"shortcut": [
1
@@ -9012,10 +9035,10 @@ export default {
1
],
"updatedAt": [
- 190
+ 191
],
"writability": [
- 342
+ 343
],
"__typename": [
1
@@ -9023,10 +9046,10 @@ export default {
},
"ObjectConnection": {
"edges": [
- 354
+ 355
],
"pageInfo": [
- 372
+ 373
],
"__typename": [
1
@@ -9037,7 +9060,7 @@ export default {
144
],
"node": [
- 352
+ 353
],
"__typename": [
1
@@ -9045,10 +9068,10 @@ export default {
},
"ObjectFieldsConnection": {
"edges": [
- 249
+ 250
],
"pageInfo": [
- 372
+ 373
],
"__typename": [
1
@@ -9056,10 +9079,10 @@ export default {
},
"ObjectFilter": {
"and": [
- 356
+ 357
],
"id": [
- 497
+ 498
],
"isActive": [
109
@@ -9083,10 +9106,10 @@ export default {
109
],
"or": [
- 356
+ 357
],
"universalIdentifier": [
- 497
+ 498
],
"__typename": [
1
@@ -9094,10 +9117,10 @@ export default {
},
"ObjectIndexMetadatasConnection": {
"edges": [
- 282
+ 283
],
"pageInfo": [
- 372
+ 373
],
"__typename": [
1
@@ -9105,7 +9128,7 @@ export default {
},
"ObjectMetadataCommandMenuItemPayload": {
"objectMetadataItemId": [
- 496
+ 497
],
"__typename": [
1
@@ -9126,16 +9149,16 @@ export default {
4
],
"objectMetadataId": [
- 496
+ 497
],
"restrictedFields": [
- 292
+ 293
],
"rowLevelPermissionPredicateGroups": [
- 427
+ 428
],
"rowLevelPermissionPredicates": [
- 426
+ 427
],
"__typename": [
1
@@ -9155,7 +9178,7 @@ export default {
4
],
"objectMetadataId": [
- 496
+ 497
],
"__typename": [
1
@@ -9174,13 +9197,13 @@ export default {
},
"ObjectRecordEvent": {
"action": [
- 189
+ 190
],
"objectNameSingular": [
1
],
"properties": [
- 364
+ 365
],
"recordId": [
1
@@ -9197,13 +9220,13 @@ export default {
},
"ObjectRecordEventProperties": {
"after": [
- 292
+ 293
],
"before": [
- 292
+ 293
],
"diff": [
- 292
+ 293
],
"updatedFields": [
1
@@ -9214,7 +9237,7 @@ export default {
},
"ObjectRecordEventWithQueryIds": {
"objectRecordEvent": [
- 363
+ 364
],
"queryIds": [
1
@@ -9228,10 +9251,10 @@ export default {
"OnboardingStatus": {},
"OnboardingStepNavigation": {
"onboardingStatus": [
- 368
+ 369
],
"previousOnboardingStatus": [
- 368
+ 369
],
"__typename": [
1
@@ -9265,19 +9288,19 @@ export default {
},
"PageLayout": {
"applicationId": [
- 496
+ 497
],
"createdAt": [
- 190
+ 191
],
"defaultTabToFocusOnMobileAndSidePanelId": [
- 496
+ 497
],
"deletedAt": [
- 190
+ 191
],
"id": [
- 496
+ 497
],
"isFirstTabPinned": [
4
@@ -9289,19 +9312,19 @@ export default {
1
],
"objectMetadataId": [
- 496
+ 497
],
"tabs": [
- 374
+ 375
],
"type": [
- 376
+ 377
],
"universalIdentifier": [
- 496
+ 497
],
"updatedAt": [
- 190
+ 191
],
"__typename": [
1
@@ -9309,19 +9332,19 @@ export default {
},
"PageLayoutTab": {
"applicationId": [
- 496
+ 497
],
"createdAt": [
- 190
+ 191
],
"deletedAt": [
- 190
+ 191
],
"icon": [
1
],
"id": [
- 496
+ 497
],
"isActive": [
4
@@ -9333,10 +9356,10 @@ export default {
4
],
"layoutMode": [
- 375
+ 376
],
"pageLayoutId": [
- 496
+ 497
],
"position": [
11
@@ -9345,13 +9368,13 @@ export default {
1
],
"universalIdentifier": [
- 496
+ 497
],
"updatedAt": [
- 190
+ 191
],
"widgets": [
- 377
+ 378
],
"__typename": [
1
@@ -9361,28 +9384,28 @@ export default {
"PageLayoutType": {},
"PageLayoutWidget": {
"applicationId": [
- 496
+ 497
],
"conditionalAvailabilityExpression": [
1
],
"conditionalDisplay": [
- 292
+ 293
],
"configuration": [
- 620
+ 621
],
"createdAt": [
- 190
+ 191
],
"deletedAt": [
- 190
+ 191
],
"gridPosition": [
- 274
+ 275
],
"id": [
- 496
+ 497
],
"isActive": [
4
@@ -9394,25 +9417,25 @@ export default {
4
],
"objectMetadataId": [
- 496
+ 497
],
"pageLayoutTabId": [
- 496
+ 497
],
"position": [
- 380
+ 381
],
"title": [
1
],
"type": [
- 622
+ 623
],
"universalIdentifier": [
- 496
+ 497
],
"updatedAt": [
- 190
+ 191
],
"__typename": [
1
@@ -9420,7 +9443,7 @@ export default {
},
"PageLayoutWidgetCanvasPosition": {
"layoutMode": [
- 375
+ 376
],
"__typename": [
1
@@ -9434,7 +9457,7 @@ export default {
8
],
"layoutMode": [
- 375
+ 376
],
"row": [
8
@@ -9448,13 +9471,13 @@ export default {
},
"PageLayoutWidgetPosition": {
"on_PageLayoutWidgetCanvasPosition": [
- 378
+ 379
],
"on_PageLayoutWidgetGridPosition": [
- 379
+ 380
],
"on_PageLayoutWidgetVerticalListPosition": [
- 382
+ 383
],
"__typename": [
1
@@ -9463,13 +9486,13 @@ export default {
"PageLayoutWidgetVerticalListHeightBehavior": {},
"PageLayoutWidgetVerticalListPosition": {
"heightBehavior": [
- 381
+ 382
],
"index": [
8
],
"layoutMode": [
- 375
+ 376
],
"__typename": [
1
@@ -9485,10 +9508,10 @@ export default {
},
"PermissionFlag": {
"applicationId": [
- 496
+ 497
],
"createdAt": [
- 190
+ 191
],
"description": [
1
@@ -9497,7 +9520,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"key": [
1
@@ -9509,10 +9532,10 @@ export default {
1
],
"universalIdentifier": [
- 496
+ 497
],
"updatedAt": [
- 190
+ 191
],
"__typename": [
1
@@ -9521,7 +9544,7 @@ export default {
"PermissionFlagType": {},
"PieChartConfiguration": {
"aggregateFieldMetadataId": [
- 496
+ 497
],
"aggregateOperation": [
20
@@ -9530,10 +9553,10 @@ export default {
1
],
"configurationType": [
- 621
+ 622
],
"dateGranularity": [
- 366
+ 367
],
"description": [
1
@@ -9545,13 +9568,13 @@ export default {
4
],
"filter": [
- 292
+ 293
],
"firstDayOfTheWeek": [
8
],
"groupByFieldMetadataId": [
- 496
+ 497
],
"groupBySubFieldName": [
1
@@ -9566,7 +9589,7 @@ export default {
124
],
"orderBy": [
- 273
+ 274
],
"showCenterMetric": [
4
@@ -9583,10 +9606,10 @@ export default {
},
"PieChartData": {
"data": [
- 389
+ 390
],
"formattedToRawLookup": [
- 292
+ 293
],
"hasTooManyGroups": [
4
@@ -9606,10 +9629,10 @@ export default {
},
"PieChartDataInput": {
"configuration": [
- 292
+ 293
],
"objectMetadataId": [
- 496
+ 497
],
"__typename": [
1
@@ -9634,7 +9657,7 @@ export default {
1
],
"location": [
- 303
+ 304
],
"postcode": [
1
@@ -9662,7 +9685,7 @@ export default {
},
"PublicApplicationRegistration": {
"id": [
- 496
+ 497
],
"logoUrl": [
1
@@ -9682,7 +9705,7 @@ export default {
},
"PublicConnectionParametersOutput": {
"connectionSecurity": [
- 217
+ 218
],
"host": [
1
@@ -9699,16 +9722,16 @@ export default {
},
"PublicDomain": {
"applicationId": [
- 496
+ 497
],
"createdAt": [
- 190
+ 191
],
"domain": [
1
],
"id": [
- 496
+ 497
],
"isValidated": [
4
@@ -9719,10 +9742,10 @@ export default {
},
"PublicFeatureFlag": {
"key": [
- 244
+ 245
],
"metadata": [
- 396
+ 397
],
"__typename": [
1
@@ -9747,13 +9770,13 @@ export default {
},
"PublicImapSmtpCaldavConnectionParameters": {
"CALDAV": [
- 393
+ 394
],
"IMAP": [
- 393
+ 394
],
"SMTP": [
- 393
+ 394
],
"__typename": [
1
@@ -9770,13 +9793,13 @@ export default {
1
],
"id": [
- 496
+ 497
],
"logo": [
1
],
"workspaceUrls": [
- 644
+ 645
],
"__typename": [
1
@@ -9787,7 +9810,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"logo": [
1
@@ -9804,7 +9827,7 @@ export default {
17,
{
"agentId": [
- 496,
+ 497,
"UUID!"
],
"limit": [
@@ -9820,7 +9843,7 @@ export default {
29,
{
"input": [
- 269,
+ 270,
"GetApiKeyInput!"
]
}
@@ -9841,7 +9864,7 @@ export default {
32,
{
"filter": [
- 301
+ 302
]
}
],
@@ -9858,10 +9881,10 @@ export default {
}
],
"appMessageChannels": [
- 320,
+ 321,
{
"filter": [
- 302
+ 303
]
}
],
@@ -9869,7 +9892,7 @@ export default {
40,
{
"applicationId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -9878,7 +9901,7 @@ export default {
41,
{
"applicationId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -9902,10 +9925,10 @@ export default {
}
],
"applicationSdkClientChecksums": [
- 441,
+ 442,
{
"applicationId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -9931,10 +9954,10 @@ export default {
}
],
"callRecordingIdForCalendarEvent": [
- 496,
+ 497,
{
"calendarEventId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -9943,7 +9966,7 @@ export default {
14,
{
"threadId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -9952,7 +9975,7 @@ export default {
126,
{
"threadId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -9961,7 +9984,7 @@ export default {
9,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
@@ -9979,7 +10002,7 @@ export default {
}
],
"checkWorkspaceInviteHashIsValid": [
- 634,
+ 635,
{
"inviteHash": [
1,
@@ -9988,7 +10011,7 @@ export default {
}
],
"checkWorkspaceSubdomainAvailability": [
- 467,
+ 468,
{
"subdomain": [
1,
@@ -10000,7 +10023,7 @@ export default {
137,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
@@ -10009,16 +10032,16 @@ export default {
137
],
"currentUser": [
- 591
+ 592
],
"currentUserApplicationAuthorizations": [
38
],
"currentUserSessions": [
- 594
+ 595
],
"currentWorkspace": [
- 626
+ 627
],
"enterpriseCheckoutSession": [
1,
@@ -10037,13 +10060,13 @@ export default {
}
],
"enterpriseSubscriptionStatus": [
- 231
+ 232
],
"eventLogs": [
- 238,
+ 239,
{
"input": [
- 237,
+ 238,
"EventLogQueryInput!"
]
}
@@ -10052,35 +10075,35 @@ export default {
43,
{
"universalIdentifier": [
- 496,
+ 497,
"UUID!"
]
}
],
"field": [
- 245,
+ 246,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
],
"fields": [
- 247,
+ 248,
{
"filter": [
- 250,
+ 251,
"FieldFilter!"
],
"paging": [
- 188,
+ 189,
"CursorPaging!"
]
}
],
"findApplicationRegistrationByClientId": [
- 392,
+ 393,
{
"clientId": [
1,
@@ -10103,6 +10126,12 @@ export default {
"id": [
1,
"String!"
+ ],
+ "periodEnd": [
+ 191
+ ],
+ "periodStart": [
+ 191
]
}
],
@@ -10127,7 +10156,7 @@ export default {
}
],
"findInstallApplicationJobStatus": [
- 295,
+ 296,
{
"jobId": [
1
@@ -10148,10 +10177,10 @@ export default {
37
],
"findManyLogicFunctions": [
- 304
+ 305
],
"findManyMarketplaceApps": [
- 312,
+ 313,
{
"universalIdentifiers": [
1,
@@ -10160,10 +10189,10 @@ export default {
}
],
"findManyPublicDomains": [
- 394
+ 395
],
"findMarketplaceAppDetail": [
- 313,
+ 314,
{
"universalIdentifier": [
1,
@@ -10184,10 +10213,10 @@ export default {
37,
{
"id": [
- 496
+ 497
],
"universalIdentifier": [
- 496
+ 497
]
}
],
@@ -10201,16 +10230,16 @@ export default {
}
],
"findOneLogicFunction": [
- 304,
+ 305,
{
"input": [
- 308,
+ 309,
"LogicFunctionIdInput!"
]
}
],
"findUninstallApplicationJobStatus": [
- 295,
+ 296,
{
"jobId": [
1
@@ -10222,7 +10251,7 @@ export default {
}
],
"findUpgradeApplicationJobStatus": [
- 295,
+ 296,
{
"jobId": [
1
@@ -10234,10 +10263,10 @@ export default {
}
],
"findWorkspaceAiStats": [
- 628
+ 629
],
"findWorkspaceFromInviteHash": [
- 626,
+ 627,
{
"inviteHash": [
1,
@@ -10246,22 +10275,22 @@ export default {
}
],
"findWorkspaceInvitations": [
- 633
+ 634
],
"frontComponent": [
- 265,
+ 266,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
],
"frontComponents": [
- 265
+ 266
],
"getAddressDetails": [
- 390,
+ 391,
{
"placeId": [
1,
@@ -10277,7 +10306,7 @@ export default {
23
],
"getApiKeyRoles": [
- 423
+ 424
],
"getApprovedAccessDomains": [
63
@@ -10302,10 +10331,10 @@ export default {
}
],
"getAvailablePackages": [
- 292,
+ 293,
{
"input": [
- 308,
+ 309,
"LogicFunctionIdInput!"
]
}
@@ -10314,19 +10343,19 @@ export default {
143,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
],
"getEmailingDomains": [
- 220
+ 221
],
"getInviteSuggestions": [
- 291
+ 292
],
"getJobs": [
- 295,
+ 296,
{
"jobIds": [
1,
@@ -10338,13 +10367,13 @@ export default {
1,
{
"input": [
- 308,
+ 309,
"LogicFunctionIdInput!"
]
}
],
"getPageLayout": [
- 373,
+ 374,
{
"id": [
1,
@@ -10353,7 +10382,7 @@ export default {
}
],
"getPageLayoutTab": [
- 374,
+ 375,
{
"id": [
1,
@@ -10362,7 +10391,7 @@ export default {
}
],
"getPageLayoutTabs": [
- 374,
+ 375,
{
"pageLayoutId": [
1,
@@ -10371,7 +10400,7 @@ export default {
}
],
"getPageLayoutWidget": [
- 377,
+ 378,
{
"id": [
1,
@@ -10380,7 +10409,7 @@ export default {
}
],
"getPageLayoutWidgets": [
- 377,
+ 378,
{
"pageLayoutTabId": [
1,
@@ -10389,21 +10418,21 @@ export default {
}
],
"getPageLayouts": [
- 373,
+ 374,
{
"objectMetadataId": [
1
],
"pageLayoutType": [
- 376
+ 377
]
}
],
"getPermissionFlags": [
- 384
+ 385
],
"getPublicWorkspaceDataByDomain": [
- 398,
+ 399,
{
"origin": [
1
@@ -10411,10 +10440,10 @@ export default {
}
],
"getPublicWorkspaceDataById": [
- 399,
+ 400,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
@@ -10423,25 +10452,25 @@ export default {
99
],
"getRole": [
- 423,
+ 424,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
],
"getRoles": [
- 423
+ 424
],
"getSSOIdentityProviders": [
- 262
+ 263
],
"getToolIndex": [
- 478
+ 479
],
"getToolInputSchema": [
- 292,
+ 293,
{
"toolName": [
1,
@@ -10450,15 +10479,15 @@ export default {
}
],
"getUsageAnalytics": [
- 575,
+ 576,
{
"input": [
- 576
+ 577
]
}
],
"getView": [
- 603,
+ 604,
{
"id": [
1,
@@ -10467,7 +10496,7 @@ export default {
}
],
"getViewField": [
- 606,
+ 607,
{
"id": [
1,
@@ -10476,7 +10505,7 @@ export default {
}
],
"getViewFieldGroup": [
- 607,
+ 608,
{
"id": [
1,
@@ -10485,7 +10514,7 @@ export default {
}
],
"getViewFieldGroups": [
- 607,
+ 608,
{
"viewId": [
1,
@@ -10494,7 +10523,7 @@ export default {
}
],
"getViewFields": [
- 606,
+ 607,
{
"viewId": [
1,
@@ -10503,7 +10532,7 @@ export default {
}
],
"getViewFilter": [
- 608,
+ 609,
{
"id": [
1,
@@ -10512,7 +10541,7 @@ export default {
}
],
"getViewFilterGroup": [
- 609,
+ 610,
{
"id": [
1,
@@ -10521,7 +10550,7 @@ export default {
}
],
"getViewFilterGroups": [
- 609,
+ 610,
{
"viewId": [
1
@@ -10529,7 +10558,7 @@ export default {
}
],
"getViewFilters": [
- 608,
+ 609,
{
"viewId": [
1
@@ -10537,7 +10566,7 @@ export default {
}
],
"getViewGroup": [
- 612,
+ 613,
{
"id": [
1,
@@ -10546,7 +10575,7 @@ export default {
}
],
"getViewGroups": [
- 612,
+ 613,
{
"viewId": [
1
@@ -10554,7 +10583,7 @@ export default {
}
],
"getViewSort": [
- 615,
+ 616,
{
"id": [
1,
@@ -10563,7 +10592,7 @@ export default {
}
],
"getViewSorts": [
- 615,
+ 616,
{
"viewId": [
1
@@ -10571,19 +10600,19 @@ export default {
}
],
"getViews": [
- 603,
+ 604,
{
"objectMetadataId": [
1
],
"viewTypes": [
- 617,
+ 618,
"[ViewType!]"
]
}
],
"getWorkspaceCreationDefaults": [
- 631
+ 632
],
"githubClaimAuthorizationUrl": [
1,
@@ -10604,10 +10633,10 @@ export default {
}
],
"lineChartData": [
- 297,
+ 298,
{
"input": [
- 298,
+ 299,
"LineChartDataInput!"
]
}
@@ -10616,31 +10645,31 @@ export default {
90
],
"messageSuppressions": [
- 332,
+ 333,
{
"input": [
- 263,
+ 264,
"FindMessageSuppressionsInput!"
]
}
],
"metadataTranslations": [
- 338,
+ 339,
{
"input": [
- 341,
+ 342,
"MetadataTranslationsInput!"
]
}
],
"minimalMetadata": [
- 343
+ 344
],
"mostlyEmptyFieldMetadataIds": [
- 496,
+ 497,
{
"objectMetadataId": [
- 496,
+ 497,
"UUID!"
]
}
@@ -10649,7 +10678,7 @@ export default {
110,
{
"connectedAccountId": [
- 496
+ 497
]
}
],
@@ -10657,66 +10686,66 @@ export default {
141
],
"myMessageChannels": [
- 320,
+ 321,
{
"connectedAccountId": [
- 496
+ 497
]
}
],
"myMessageFolders": [
- 327,
+ 328,
{
"messageChannelId": [
- 496
+ 497
]
}
],
"myUserApplicationVariables": [
- 636
+ 637
],
"navigationMenuItem": [
- 349,
+ 350,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
],
"navigationMenuItems": [
- 349
+ 350
],
"object": [
- 352,
+ 353,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
],
"objectRecordCounts": [
- 362
+ 363
],
"objects": [
- 353,
+ 354,
{
"filter": [
- 356,
+ 357,
"ObjectFilter!"
],
"paging": [
- 188,
+ 189,
"CursorPaging!"
]
}
],
"pieChartData": [
- 387,
+ 388,
{
"input": [
- 388,
+ 389,
"PieChartDataInput!"
]
}
@@ -10725,13 +10754,13 @@ export default {
118,
{
"input": [
- 391,
+ 392,
"PreviewMessageCampaignAudienceInput!"
]
}
],
"publicMarketplaceAppDetail": [
- 313,
+ 314,
{
"universalIdentifier": [
1,
@@ -10740,7 +10769,7 @@ export default {
}
],
"publicMarketplaceApps": [
- 312,
+ 313,
{
"isVetted": [
4,
@@ -10749,70 +10778,70 @@ export default {
}
],
"recordPermissions": [
- 405,
+ 406,
{
"targets": [
- 415,
+ 416,
"[RecordTargetInput!]!"
]
}
],
"recordSharing": [
- 410,
+ 411,
{
"target": [
- 415,
+ 416,
"RecordTargetInput!"
]
}
],
"skill": [
- 463,
+ 464,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
],
"skills": [
- 463
+ 464
],
"timelineActivityTypes": [
- 474
+ 475
],
"twoFactorAuthenticationRecoveryStatus": [
- 495,
+ 496,
{
"userId": [
- 496,
+ 497,
"UUID!"
]
}
],
"unsubscribeTopics": [
- 499
+ 500
],
"usageLimits": [
- 578
+ 579
],
"usageQuotaDefinitions": [
- 582
+ 583
],
"usageQuotaScopeConsumption": [
- 584,
+ 585,
{
"input": [
- 585,
+ 586,
"UsageQuotaScopeInput!"
]
}
],
"usageQuotasWithConsumption": [
- 586
+ 587
],
"validatePasswordResetToken": [
- 597,
+ 598,
{
"passwordResetToken": [
1,
@@ -10821,25 +10850,25 @@ export default {
}
],
"validationRules": [
- 598,
+ 599,
{
"objectMetadataId": [
- 496,
+ 497,
"UUID!"
]
}
],
"webhook": [
- 619,
+ 620,
{
"id": [
- 496,
+ 497,
"UUID!"
]
}
],
"webhooks": [
- 619
+ 620
],
"__typename": [
1
@@ -10847,7 +10876,7 @@ export default {
},
"RatioAggregateConfig": {
"fieldMetadataId": [
- 496
+ 497
],
"optionValue": [
1
@@ -10867,7 +10896,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"progress": [
8
@@ -10878,7 +10907,7 @@ export default {
},
"RecordIdentifier": {
"id": [
- 496
+ 497
],
"imageIdentifier": [
1
@@ -10909,13 +10938,13 @@ export default {
},
"RecordPermissionsResult": {
"objectMetadataId": [
- 496
+ 497
],
"permissions": [
- 404
+ 405
],
"recordId": [
- 496
+ 497
],
"__typename": [
1
@@ -10924,10 +10953,10 @@ export default {
"RecordShareAccessLevel": {},
"RecordSharePrincipalInput": {
"roleId": [
- 496
+ 497
],
"workspaceMemberId": [
- 496
+ 497
],
"__typename": [
1
@@ -10940,25 +10969,25 @@ export default {
4
],
"defaultGeneralAccessLevel": [
- 406
+ 407
],
"generalAccessLevel": [
- 406
+ 407
],
"hasManagedGeneralAccess": [
4
],
"permissions": [
- 404
+ 405
],
"roles": [
- 413
+ 414
],
"shares": [
- 411
+ 412
],
"sharingMode": [
- 412
+ 413
],
"__typename": [
1
@@ -10966,22 +10995,22 @@ export default {
},
"RecordSharingGrantDTO": {
"accessLevel": [
- 406
+ 407
],
"id": [
10
],
"principalId": [
- 496
+ 497
],
"principalRoleId": [
- 496
+ 497
],
"principalType": [
- 408
+ 409
],
"rowCause": [
- 409
+ 410
],
"__typename": [
1
@@ -10996,7 +11025,7 @@ export default {
4
],
"id": [
- 496
+ 497
],
"label": [
1
@@ -11007,7 +11036,7 @@ export default {
},
"RecordTableConfiguration": {
"configurationType": [
- 621
+ 622
],
"isUIEditable": [
4
@@ -11024,10 +11053,10 @@ export default {
},
"RecordTargetInput": {
"objectMetadataId": [
- 496
+ 497
],
"recordId": [
- 496
+ 497
],
"__typename": [
1
@@ -11035,19 +11064,19 @@ export default {
},
"Relation": {
"sourceFieldMetadata": [
- 245
+ 246
],
"sourceObjectMetadata": [
- 352
+ 353
],
"targetFieldMetadata": [
- 245
+ 246
],
"targetObjectMetadata": [
- 352
+ 353
],
"type": [
- 417
+ 418
],
"__typename": [
1
@@ -11086,7 +11115,7 @@ export default {
},
"RevokeApiKeyInput": {
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -11111,7 +11140,7 @@ export default {
30
],
"applicationId": [
- 496
+ 497
],
"canAccessAllTools": [
4
@@ -11144,13 +11173,13 @@ export default {
1
],
"fieldPermissions": [
- 252
+ 253
],
"icon": [
1
],
"id": [
- 496
+ 497
],
"isEditable": [
4
@@ -11159,22 +11188,22 @@ export default {
1
],
"objectPermissions": [
- 360
+ 361
],
"permissionFlags": [
- 424
+ 425
],
"rowLevelPermissionPredicateGroups": [
- 427
+ 428
],
"rowLevelPermissionPredicates": [
- 426
+ 427
],
"universalIdentifier": [
- 496
+ 497
],
"workspaceMembers": [
- 635
+ 636
],
"__typename": [
1
@@ -11185,10 +11214,10 @@ export default {
1
],
"id": [
- 496
+ 497
],
"roleId": [
- 496
+ 497
],
"__typename": [
1
@@ -11213,7 +11242,7 @@ export default {
1
],
"operand": [
- 431
+ 432
],
"positionInRowLevelPermissionPredicateGroup": [
11
@@ -11228,7 +11257,7 @@ export default {
1
],
"value": [
- 292
+ 293
],
"workspaceMemberFieldMetadataId": [
1
@@ -11245,7 +11274,7 @@ export default {
1
],
"logicalOperator": [
- 429
+ 430
],
"objectMetadataId": [
1
@@ -11265,16 +11294,16 @@ export default {
},
"RowLevelPermissionPredicateGroupInput": {
"id": [
- 496
+ 497
],
"logicalOperator": [
- 429
+ 430
],
"objectMetadataId": [
- 496
+ 497
],
"parentRowLevelPermissionPredicateGroupId": [
- 496
+ 497
],
"positionInRowLevelPermissionPredicateGroup": [
11
@@ -11286,25 +11315,25 @@ export default {
"RowLevelPermissionPredicateGroupLogicalOperator": {},
"RowLevelPermissionPredicateInput": {
"fieldMetadataId": [
- 496
+ 497
],
"id": [
- 496
+ 497
],
"operand": [
- 431
+ 432
],
"positionInRowLevelPermissionPredicateGroup": [
11
],
"rowLevelPermissionPredicateGroupId": [
- 496
+ 497
],
"subFieldName": [
1
],
"value": [
- 292
+ 293
],
"workspaceMemberFieldMetadataId": [
1
@@ -11325,22 +11354,22 @@ export default {
1
],
"input": [
- 434
+ 435
],
"messages": [
- 434
+ 435
],
"prompt": [
1
],
"responseFormat": [
- 292
+ 293
],
"runAsWorkspaceMemberId": [
- 496
+ 497
],
"thread": [
- 437
+ 438
],
"waitForCompletion": [
4
@@ -11351,7 +11380,7 @@ export default {
},
"RunAgentMessageAttachmentInput": {
"fileId": [
- 496
+ 497
],
"filename": [
1
@@ -11362,13 +11391,13 @@ export default {
},
"RunAgentMessageInput": {
"attachments": [
- 433
+ 434
],
"content": [
1
],
"role": [
- 435
+ 436
],
"__typename": [
1
@@ -11380,7 +11409,7 @@ export default {
1
],
"result": [
- 292
+ 293
],
"status": [
1
@@ -11389,7 +11418,7 @@ export default {
4
],
"threadId": [
- 496
+ 497
],
"__typename": [
1
@@ -11408,7 +11437,7 @@ export default {
},
"SSOConnection": {
"id": [
- 496
+ 497
],
"issuer": [
1
@@ -11417,10 +11446,10 @@ export default {
1
],
"status": [
- 440
+ 441
],
"type": [
- 275
+ 276
],
"__typename": [
1
@@ -11428,7 +11457,7 @@ export default {
},
"SSOIdentityProvider": {
"id": [
- 496
+ 497
],
"issuer": [
1
@@ -11437,10 +11466,10 @@ export default {
1
],
"status": [
- 440
+ 441
],
"type": [
- 275
+ 276
],
"__typename": [
1
@@ -11460,22 +11489,22 @@ export default {
},
"SearchField": {
"createdAt": [
- 190
+ 191
],
"fieldMetadataId": [
- 496
+ 497
],
"id": [
- 496
+ 497
],
"position": [
11
],
"tsVectorFieldMetadataId": [
- 496
+ 497
],
"updatedAt": [
- 190
+ 191
],
"__typename": [
1
@@ -11483,7 +11512,7 @@ export default {
},
"SendChatMessageResult": {
"mentionedParticipantWorkspaceMemberIds": [
- 496
+ 497
],
"messageId": [
1
@@ -11526,7 +11555,7 @@ export default {
1
],
"files": [
- 444
+ 445
],
"fromHandle": [
1
@@ -11580,10 +11609,10 @@ export default {
1
],
"toolCall": [
- 292
+ 293
],
"workspaceMemberIds": [
- 496
+ 497
],
"__typename": [
1
@@ -11591,7 +11620,7 @@ export default {
},
"SendInboxMessageResult": {
"threadId": [
- 496
+ 497
],
"__typename": [
1
@@ -11602,7 +11631,7 @@ export default {
1
],
"result": [
- 633
+ 634
],
"success": [
4
@@ -11616,7 +11645,7 @@ export default {
1
],
"scheduledAt": [
- 190
+ 191
],
"__typename": [
1
@@ -11681,7 +11710,7 @@ export default {
34
],
"value": [
- 292
+ 293
],
"__typename": [
1
@@ -11689,34 +11718,34 @@ export default {
},
"SettingsMenuItem": {
"applicationId": [
- 496
+ 497
],
"createdAt": [
- 190
+ 191
],
"frontComponentId": [
- 496
+ 497
],
"icon": [
1
],
"id": [
- 496
+ 497
],
"position": [
11
],
"scope": [
- 457
+ 458
],
"title": [
1
],
"universalIdentifier": [
- 496
+ 497
],
"updatedAt": [
- 190
+ 191
],
"__typename": [
1
@@ -11748,7 +11777,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"issuer": [
1
@@ -11765,7 +11794,7 @@ export default {
},
"SetupSso": {
"id": [
- 496
+ 497
],
"issuer": [
1
@@ -11774,10 +11803,10 @@ export default {
1
],
"status": [
- 440
+ 441
],
"type": [
- 275
+ 276
],
"__typename": [
1
@@ -11788,7 +11817,7 @@ export default {
66
],
"workspace": [
- 645
+ 646
],
"__typename": [
1
@@ -11810,13 +11839,13 @@ export default {
},
"Skill": {
"applicationId": [
- 496
+ 497
],
"content": [
1
],
"createdAt": [
- 190
+ 191
],
"description": [
1
@@ -11825,7 +11854,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"isActive": [
4
@@ -11843,7 +11872,7 @@ export default {
1
],
"updatedAt": [
- 190
+ 191
],
"__typename": [
1
@@ -11851,10 +11880,10 @@ export default {
},
"StandaloneRichTextConfiguration": {
"body": [
- 422
+ 423
],
"configurationType": [
- 621
+ 622
],
"__typename": [
1
@@ -11862,7 +11891,7 @@ export default {
},
"StartWorkspaceSetupChatResult": {
"outcome": [
- 643
+ 644
],
"thread": [
9
@@ -11898,20 +11927,20 @@ export default {
},
"Subscription": {
"eventLogsLive": [
- 239,
+ 240,
{
"fieldFilters": [
- 233,
+ 234,
"[EventLogFieldFilterInput!]"
],
"table": [
- 240,
+ 241,
"EventLogTable!"
]
}
],
"exportRecords": [
- 402,
+ 403,
{
"input": [
174,
@@ -11920,10 +11949,10 @@ export default {
}
],
"logicFunctionLogs": [
- 309,
+ 310,
{
"input": [
- 310,
+ 311,
"LogicFunctionLogsInput!"
]
}
@@ -11932,13 +11961,13 @@ export default {
5,
{
"threadId": [
- 496,
+ 497,
"UUID!"
]
}
],
"onEventSubscription": [
- 241,
+ 242,
{
"eventStreamId": [
1,
@@ -11954,7 +11983,7 @@ export default {
"SubscriptionStatus": {},
"Support": {
"supportDriver": [
- 472
+ 473
],
"supportFrontChatId": [
1
@@ -11966,7 +11995,7 @@ export default {
"SupportDriver": {},
"TasksConfiguration": {
"configurationType": [
- 621
+ 622
],
"__typename": [
1
@@ -11977,22 +12006,22 @@ export default {
1
],
"applicationId": [
- 496
+ 497
],
"createdAt": [
- 190
+ 191
],
"emit": [
- 475
+ 476
],
"frontComponentUniversalIdentifier": [
- 496
+ 497
],
"icon": [
1
],
"id": [
- 496
+ 497
],
"isActive": [
4
@@ -12004,16 +12033,16 @@ export default {
1
],
"objectUniversalIdentifier": [
- 496
+ 497
],
"replacesTimelineActivityTypeUniversalIdentifier": [
- 496
+ 497
],
"universalIdentifier": [
- 496
+ 497
],
"updatedAt": [
- 190
+ 191
],
"__typename": [
1
@@ -12021,13 +12050,13 @@ export default {
},
"TimelineActivityTypeEmit": {
"objectUniversalIdentifier": [
- 496
+ 497
],
"on": [
1
],
"through": [
- 476
+ 477
],
"__typename": [
1
@@ -12035,13 +12064,13 @@ export default {
},
"TimelineActivityTypeEmitThrough": {
"happensAtFieldUniversalIdentifier": [
- 496
+ 497
],
"relationFieldUniversalIdentifier": [
- 496
+ 497
],
"triggerFieldUniversalIdentifiers": [
- 496
+ 497
],
"__typename": [
1
@@ -12049,7 +12078,7 @@ export default {
},
"TimelineConfiguration": {
"configurationType": [
- 621
+ 622
],
"__typename": [
1
@@ -12069,7 +12098,7 @@ export default {
1
],
"inputSchema": [
- 292
+ 293
],
"label": [
1
@@ -12097,10 +12126,10 @@ export default {
},
"TriggerAddPeopleToMessageListJobInput": {
"messageListId": [
- 496
+ 497
],
"personFilter": [
- 292
+ 293
],
"__typename": [
1
@@ -12205,7 +12234,7 @@ export default {
1
],
"twoFactorAuthenticationMethodId": [
- 496
+ 497
],
"__typename": [
1
@@ -12213,7 +12242,7 @@ export default {
},
"TwoFactorAuthenticationRecoveryCode": {
"expiresAt": [
- 190
+ 191
],
"recoveryCode": [
1
@@ -12241,7 +12270,7 @@ export default {
4
],
"pendingRecoveryCodeExpiresAt": [
- 190
+ 191
],
"__typename": [
1
@@ -12250,19 +12279,19 @@ export default {
"UUID": {},
"UUIDFilterComparison": {
"eq": [
- 496
+ 497
],
"gt": [
- 496
+ 497
],
"gte": [
- 496
+ 497
],
"iLike": [
- 496
+ 497
],
"in": [
- 496
+ 497
],
"is": [
4
@@ -12271,25 +12300,25 @@ export default {
4
],
"like": [
- 496
+ 497
],
"lt": [
- 496
+ 497
],
"lte": [
- 496
+ 497
],
"neq": [
- 496
+ 497
],
"notILike": [
- 496
+ 497
],
"notIn": [
- 496
+ 497
],
"notLike": [
- 496
+ 497
],
"__typename": [
1
@@ -12298,22 +12327,22 @@ export default {
"UnsubscribeHostnameStatus": {},
"UnsubscribeTopic": {
"createdAt": [
- 190
+ 191
],
"description": [
1
],
"id": [
- 496
+ 497
],
"name": [
1
],
"updatedAt": [
- 190
+ 191
],
"visibility": [
- 500
+ 501
],
"__typename": [
1
@@ -12328,13 +12357,13 @@ export default {
1
],
"id": [
- 496
+ 497
],
"label": [
1
],
"modelConfiguration": [
- 292
+ 293
],
"modelId": [
1
@@ -12346,13 +12375,13 @@ export default {
1
],
"responseFormat": [
- 292
+ 293
],
"roleId": [
- 496
+ 497
],
"triggers": [
- 292
+ 293
],
"__typename": [
1
@@ -12363,7 +12392,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"name": [
1
@@ -12380,13 +12409,13 @@ export default {
1
],
"id": [
- 496
+ 497
],
"isSyncEnabled": [
4
],
"visibility": [
- 326
+ 327
],
"__typename": [
1
@@ -12405,7 +12434,7 @@ export default {
1
],
"update": [
- 506
+ 507
],
"__typename": [
1
@@ -12430,7 +12459,7 @@ export default {
1
],
"update": [
- 508
+ 509
],
"__typename": [
1
@@ -12452,10 +12481,10 @@ export default {
},
"UpdateCalendarChannelInput": {
"id": [
- 496
+ 497
],
"update": [
- 510
+ 511
],
"__typename": [
1
@@ -12483,13 +12512,13 @@ export default {
},
"UpdateCommandMenuItemInput": {
"availabilityObjectMetadataId": [
- 496
+ 497
],
"availabilityType": [
138
],
"engineComponentKey": [
- 224
+ 225
],
"hotKeys": [
1
@@ -12498,7 +12527,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"isPinned": [
4
@@ -12507,7 +12536,7 @@ export default {
1
],
"pageLayoutId": [
- 496
+ 497
],
"position": [
11
@@ -12524,7 +12553,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -12532,7 +12561,7 @@ export default {
},
"UpdateFieldInput": {
"defaultValue": [
- 292
+ 293
],
"description": [
1
@@ -12571,22 +12600,22 @@ export default {
1
],
"morphRelationsUpdatePayload": [
- 292
+ 293
],
"name": [
1
],
"objectMetadataId": [
- 496
+ 497
],
"options": [
- 292
+ 293
],
"settings": [
- 292
+ 293
],
"translations": [
- 339
+ 340
],
"universalIdentifier": [
1
@@ -12597,10 +12626,10 @@ export default {
},
"UpdateFrontComponentInput": {
"id": [
- 496
+ 497
],
"update": [
- 515
+ 516
],
"__typename": [
1
@@ -12630,10 +12659,10 @@ export default {
},
"UpdateLogicFunctionFromSourceInput": {
"id": [
- 496
+ 497
],
"update": [
- 518
+ 519
],
"__typename": [
1
@@ -12641,10 +12670,10 @@ export default {
},
"UpdateLogicFunctionFromSourceInputUpdates": {
"cronTriggerSettings": [
- 292
+ 293
],
"databaseEventTriggerSettings": [
- 292
+ 293
],
"description": [
1
@@ -12653,7 +12682,7 @@ export default {
1
],
"httpRouteTriggerSettings": [
- 292
+ 293
],
"name": [
1
@@ -12668,10 +12697,10 @@ export default {
11
],
"toolTriggerSettings": [
- 292
+ 293
],
"workflowActionTriggerSettings": [
- 292
+ 293
],
"__typename": [
1
@@ -12679,10 +12708,10 @@ export default {
},
"UpdateMessageChannelInput": {
"id": [
- 496
+ 497
],
"update": [
- 520
+ 521
],
"__typename": [
1
@@ -12690,7 +12719,7 @@ export default {
},
"UpdateMessageChannelInputUpdates": {
"contactAutoCreationPolicy": [
- 321
+ 322
],
"excludeGroupEmails": [
4
@@ -12705,10 +12734,10 @@ export default {
4
],
"messageFolderImportPolicy": [
- 328
+ 329
],
"visibility": [
- 326
+ 327
],
"__typename": [
1
@@ -12716,10 +12745,10 @@ export default {
},
"UpdateMessageFolderInput": {
"id": [
- 496
+ 497
],
"update": [
- 522
+ 523
],
"__typename": [
1
@@ -12735,10 +12764,10 @@ export default {
},
"UpdateMessageFoldersInput": {
"ids": [
- 496
+ 497
],
"update": [
- 522
+ 523
],
"__typename": [
1
@@ -12749,7 +12778,7 @@ export default {
1
],
"folderId": [
- 496
+ 497
],
"icon": [
1
@@ -12761,7 +12790,7 @@ export default {
1
],
"pageLayoutId": [
- 496
+ 497
],
"position": [
11
@@ -12781,7 +12810,7 @@ export default {
1
],
"imageIdentifierFieldMetadataId": [
- 496
+ 497
],
"isActive": [
4
@@ -12793,7 +12822,7 @@ export default {
4
],
"labelIdentifierFieldMetadataId": [
- 496
+ 497
],
"labelPlural": [
1
@@ -12808,19 +12837,19 @@ export default {
1
],
"openRecordIn": [
- 359
+ 360
],
"readability": [
- 337
+ 338
],
"sharingReach": [
- 367
+ 368
],
"shortcut": [
1
],
"translations": [
- 339
+ 340
],
"__typename": [
1
@@ -12828,10 +12857,10 @@ export default {
},
"UpdateOneFieldMetadataInput": {
"id": [
- 496
+ 497
],
"update": [
- 513
+ 514
],
"__typename": [
1
@@ -12839,10 +12868,10 @@ export default {
},
"UpdateOneNavigationMenuItemInput": {
"id": [
- 496
+ 497
],
"update": [
- 524
+ 525
],
"__typename": [
1
@@ -12850,10 +12879,10 @@ export default {
},
"UpdateOneObjectInput": {
"id": [
- 496
+ 497
],
"update": [
- 525
+ 526
],
"__typename": [
1
@@ -12864,10 +12893,10 @@ export default {
1
],
"objectMetadataId": [
- 496
+ 497
],
"type": [
- 376
+ 377
],
"__typename": [
1
@@ -12878,7 +12907,7 @@ export default {
1
],
"layoutMode": [
- 375
+ 376
],
"position": [
11
@@ -12895,10 +12924,10 @@ export default {
1
],
"id": [
- 496
+ 497
],
"layoutMode": [
- 375
+ 376
],
"position": [
11
@@ -12907,7 +12936,7 @@ export default {
1
],
"widgets": [
- 533
+ 534
],
"__typename": [
1
@@ -12918,28 +12947,28 @@ export default {
1
],
"conditionalDisplay": [
- 292
+ 293
],
"configuration": [
- 292
+ 293
],
"isActive": [
4
],
"objectMetadataId": [
- 496
+ 497
],
"pageLayoutTabId": [
- 496
+ 497
],
"position": [
- 292
+ 293
],
"title": [
1
],
"type": [
- 622
+ 623
],
"__typename": [
1
@@ -12950,28 +12979,28 @@ export default {
1
],
"conditionalDisplay": [
- 292
+ 293
],
"configuration": [
- 292
+ 293
],
"id": [
- 496
+ 497
],
"objectMetadataId": [
- 496
+ 497
],
"pageLayoutTabId": [
- 496
+ 497
],
"position": [
- 292
+ 293
],
"title": [
1
],
"type": [
- 622
+ 623
],
"__typename": [
1
@@ -12985,13 +13014,13 @@ export default {
1
],
"objectMetadataId": [
- 496
+ 497
],
"tabs": [
- 531
+ 532
],
"type": [
- 376
+ 377
],
"__typename": [
1
@@ -12999,10 +13028,10 @@ export default {
},
"UpdateRoleInput": {
"id": [
- 496
+ 497
],
"update": [
- 536
+ 537
],
"__typename": [
1
@@ -13060,7 +13089,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"isActive": [
4
@@ -13080,7 +13109,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"isActive": [
4
@@ -13089,7 +13118,7 @@ export default {
1
],
"translations": [
- 339
+ 340
],
"__typename": [
1
@@ -13106,7 +13135,7 @@ export default {
1
],
"visibility": [
- 500
+ 501
],
"__typename": [
1
@@ -13114,7 +13143,7 @@ export default {
},
"UpdateUsageLimitInput": {
"id": [
- 496
+ 497
],
"payload": [
178
@@ -13125,10 +13154,10 @@ export default {
},
"UpdateValidationRuleInput": {
"id": [
- 496
+ 497
],
"update": [
- 542
+ 543
],
"__typename": [
1
@@ -13139,7 +13168,7 @@ export default {
1
],
"errorFieldMetadataId": [
- 496
+ 497
],
"expression": [
1
@@ -13162,10 +13191,10 @@ export default {
},
"UpdateViewFieldGroupInput": {
"id": [
- 496
+ 497
],
"update": [
- 544
+ 545
],
"__typename": [
1
@@ -13190,10 +13219,10 @@ export default {
},
"UpdateViewFieldInput": {
"id": [
- 496
+ 497
],
"update": [
- 546
+ 547
],
"__typename": [
1
@@ -13213,7 +13242,7 @@ export default {
11
],
"viewFieldGroupId": [
- 496
+ 497
],
"__typename": [
1
@@ -13221,19 +13250,19 @@ export default {
},
"UpdateViewFilterGroupInput": {
"id": [
- 496
+ 497
],
"logicalOperator": [
- 610
+ 611
],
"parentViewFilterGroupId": [
- 496
+ 497
],
"positionInViewFilterGroup": [
11
],
"viewId": [
- 496
+ 497
],
"__typename": [
1
@@ -13241,10 +13270,10 @@ export default {
},
"UpdateViewFilterInput": {
"id": [
- 496
+ 497
],
"update": [
- 549
+ 550
],
"__typename": [
1
@@ -13252,25 +13281,25 @@ export default {
},
"UpdateViewFilterInputUpdates": {
"fieldMetadataId": [
- 496
+ 497
],
"operand": [
- 611
+ 612
],
"positionInViewFilterGroup": [
11
],
"relationTargetFieldMetadataId": [
- 496
+ 497
],
"subFieldName": [
1
],
"value": [
- 292
+ 293
],
"viewFilterGroupId": [
- 496
+ 497
],
"__typename": [
1
@@ -13278,10 +13307,10 @@ export default {
},
"UpdateViewGroupInput": {
"id": [
- 496
+ 497
],
"update": [
- 551
+ 552
],
"__typename": [
1
@@ -13289,7 +13318,7 @@ export default {
},
"UpdateViewGroupInputUpdates": {
"fieldMetadataId": [
- 496
+ 497
],
"fieldValue": [
1
@@ -13309,13 +13338,13 @@ export default {
1
],
"calendarEndFieldMetadataId": [
- 496
+ 497
],
"calendarFieldMetadataId": [
- 496
+ 497
],
"calendarLayout": [
- 604
+ 605
],
"groupLoadLimit": [
8
@@ -13324,7 +13353,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"isCompact": [
4
@@ -13333,19 +13362,19 @@ export default {
20
],
"kanbanAggregateOperationFieldMetadataId": [
- 496
+ 497
],
"kanbanColumnWidth": [
8
],
"mainGroupByFieldMetadataId": [
- 496
+ 497
],
"name": [
1
],
"openRecordIn": [
- 614
+ 615
],
"position": [
11
@@ -13354,10 +13383,10 @@ export default {
4
],
"type": [
- 617
+ 618
],
"visibility": [
- 618
+ 619
],
"__typename": [
1
@@ -13365,10 +13394,10 @@ export default {
},
"UpdateViewSortInput": {
"id": [
- 496
+ 497
],
"update": [
- 554
+ 555
],
"__typename": [
1
@@ -13376,7 +13405,7 @@ export default {
},
"UpdateViewSortInputUpdates": {
"direction": [
- 616
+ 617
],
"subFieldName": [
1
@@ -13387,10 +13416,10 @@ export default {
},
"UpdateWebhookInput": {
"id": [
- 496
+ 497
],
"update": [
- 556
+ 557
],
"__typename": [
1
@@ -13438,7 +13467,7 @@ export default {
1
],
"aiModelIdByTier": [
- 292
+ 293
],
"allowImpersonation": [
4
@@ -13447,7 +13476,7 @@ export default {
1
],
"defaultRoleId": [
- 496
+ 497
],
"displayName": [
1
@@ -13507,7 +13536,7 @@ export default {
11
],
"workspaceDiscoverability": [
- 632
+ 633
],
"__typename": [
1
@@ -13515,10 +13544,10 @@ export default {
},
"UpdateWorkspaceMemberSettingsInput": {
"update": [
- 292
+ 293
],
"workspaceMemberId": [
- 496
+ 497
],
"__typename": [
1
@@ -13527,10 +13556,10 @@ export default {
"Upload": {},
"UpsertFieldPermissionsInput": {
"fieldPermissions": [
- 253
+ 254
],
"roleId": [
- 496
+ 497
],
"__typename": [
1
@@ -13538,7 +13567,7 @@ export default {
},
"UpsertFieldsWidgetFieldInput": {
"fieldMetadataId": [
- 496
+ 497
],
"isVisible": [
4
@@ -13547,7 +13576,7 @@ export default {
11
],
"viewFieldId": [
- 496
+ 497
],
"__typename": [
1
@@ -13555,10 +13584,10 @@ export default {
},
"UpsertFieldsWidgetGroupInput": {
"fields": [
- 562
+ 563
],
"id": [
- 496
+ 497
],
"isVisible": [
4
@@ -13575,13 +13604,13 @@ export default {
},
"UpsertFieldsWidgetInput": {
"fields": [
- 562
+ 563
],
"groups": [
- 563
+ 564
],
"widgetId": [
- 496
+ 497
],
"__typename": [
1
@@ -13589,10 +13618,10 @@ export default {
},
"UpsertObjectPermissionsInput": {
"objectPermissions": [
- 361
+ 362
],
"roleId": [
- 496
+ 497
],
"__typename": [
1
@@ -13603,7 +13632,7 @@ export default {
1
],
"roleId": [
- 496
+ 497
],
"__typename": [
1
@@ -13611,16 +13640,16 @@ export default {
},
"UpsertRowLevelPermissionPredicatesInput": {
"objectMetadataId": [
- 496
+ 497
],
"predicateGroups": [
- 428
+ 429
],
"predicates": [
- 430
+ 431
],
"roleId": [
- 496
+ 497
],
"__typename": [
1
@@ -13628,10 +13657,10 @@ export default {
},
"UpsertRowLevelPermissionPredicatesResult": {
"predicateGroups": [
- 427
+ 428
],
"predicates": [
- 426
+ 427
],
"__typename": [
1
@@ -13639,22 +13668,22 @@ export default {
},
"UpsertViewWidgetInput": {
"view": [
- 573
+ 574
],
"viewFields": [
- 570
+ 571
],
"viewFilterGroups": [
- 571
+ 572
],
"viewFilters": [
- 572
+ 573
],
"viewSorts": [
- 574
+ 575
],
"widgetId": [
- 496
+ 497
],
"__typename": [
1
@@ -13665,7 +13694,7 @@ export default {
20
],
"fieldMetadataId": [
- 496
+ 497
],
"isVisible": [
4
@@ -13677,7 +13706,7 @@ export default {
11
],
"viewFieldId": [
- 496
+ 497
],
"__typename": [
1
@@ -13685,13 +13714,13 @@ export default {
},
"UpsertViewWidgetViewFilterGroupInput": {
"id": [
- 496
+ 497
],
"logicalOperator": [
- 610
+ 611
],
"parentViewFilterGroupId": [
- 496
+ 497
],
"positionInViewFilterGroup": [
11
@@ -13702,28 +13731,28 @@ export default {
},
"UpsertViewWidgetViewFilterInput": {
"fieldMetadataId": [
- 496
+ 497
],
"id": [
- 496
+ 497
],
"operand": [
- 611
+ 612
],
"positionInViewFilterGroup": [
11
],
"relationTargetFieldMetadataId": [
- 496
+ 497
],
"subFieldName": [
1
],
"value": [
- 292
+ 293
],
"viewFilterGroupId": [
- 496
+ 497
],
"__typename": [
1
@@ -13731,34 +13760,34 @@ export default {
},
"UpsertViewWidgetViewSettingsInput": {
"calendarEndFieldMetadataId": [
- 496
+ 497
],
"calendarFieldMetadataId": [
- 496
+ 497
],
"calendarLayout": [
- 604
+ 605
],
"kanbanAggregateOperation": [
20
],
"kanbanAggregateOperationFieldMetadataId": [
- 496
+ 497
],
"kanbanColumnWidth": [
8
],
"mainGroupByFieldMetadataId": [
- 496
+ 497
],
"openRecordIn": [
- 614
+ 615
],
"shouldHideEmptyGroups": [
4
],
"type": [
- 617
+ 618
],
"__typename": [
1
@@ -13766,13 +13795,13 @@ export default {
},
"UpsertViewWidgetViewSortInput": {
"direction": [
- 616
+ 617
],
"fieldMetadataId": [
- 496
+ 497
],
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -13780,28 +13809,28 @@ export default {
},
"UsageAnalytics": {
"periodEnd": [
- 190
+ 191
],
"periodStart": [
- 190
+ 191
],
"timeSeries": [
- 588
+ 589
],
"usageByApplication": [
- 577
+ 578
],
"usageByModel": [
- 577
+ 578
],
"usageByOperationType": [
- 577
+ 578
],
"usageByUser": [
- 577
+ 578
],
"userDailyUsage": [
- 590
+ 591
],
"__typename": [
1
@@ -13809,13 +13838,13 @@ export default {
},
"UsageAnalyticsInput": {
"operationTypes": [
- 580
+ 581
],
"periodEnd": [
- 190
+ 191
],
"periodStart": [
- 190
+ 191
],
"userWorkspaceId": [
1
@@ -13849,10 +13878,10 @@ export default {
81
],
"createdAt": [
- 190
+ 191
],
"id": [
- 496
+ 497
],
"limitKind": [
1
@@ -13861,7 +13890,7 @@ export default {
81
],
"operationType": [
- 580
+ 581
],
"periodCount": [
8
@@ -13870,7 +13899,7 @@ export default {
1
],
"resourceType": [
- 587
+ 588
],
"spenderId": [
1
@@ -13879,10 +13908,10 @@ export default {
1
],
"unit": [
- 589
+ 590
],
"updatedAt": [
- 190
+ 191
],
"__typename": [
1
@@ -13890,10 +13919,10 @@ export default {
},
"UsageLimitOperationDefinition": {
"allowedUnits": [
- 589
+ 590
],
"operationType": [
- 580
+ 581
],
"__typename": [
1
@@ -13902,7 +13931,7 @@ export default {
"UsageOperationType": {},
"UsageQuotaDefinition": {
"allowedOperations": [
- 579
+ 580
],
"allowedSpenderTypes": [
1
@@ -13911,10 +13940,10 @@ export default {
1
],
"operatorOnlyScopes": [
- 583
+ 584
],
"resourceType": [
- 587
+ 588
],
"__typename": [
1
@@ -13922,7 +13951,7 @@ export default {
},
"UsageQuotaDefinitions": {
"definitions": [
- 581
+ 582
],
"hasAllowancePeriod": [
4
@@ -13936,7 +13965,7 @@ export default {
},
"UsageQuotaOperatorOnlyScope": {
"operationType": [
- 580
+ 581
],
"periodUnit": [
1
@@ -13945,7 +13974,7 @@ export default {
1
],
"unit": [
- 589
+ 590
],
"__typename": [
1
@@ -13956,10 +13985,10 @@ export default {
81
],
"periodEnd": [
- 190
+ 191
],
"periodStart": [
- 190
+ 191
],
"__typename": [
1
@@ -13967,13 +13996,13 @@ export default {
},
"UsageQuotaScopeInput": {
"operationType": [
- 580
+ 581
],
"periodUnit": [
1
],
"resourceType": [
- 587
+ 588
],
"spenderId": [
1
@@ -13982,7 +14011,7 @@ export default {
1
],
"unit": [
- 589
+ 590
],
"__typename": [
1
@@ -13993,7 +14022,7 @@ export default {
81
],
"id": [
- 496
+ 497
],
"isEnforced": [
4
@@ -14002,13 +14031,13 @@ export default {
81
],
"operationType": [
- 580
+ 581
],
"periodEnd": [
- 190
+ 191
],
"periodStart": [
- 190
+ 191
],
"periodUnit": [
1
@@ -14017,7 +14046,7 @@ export default {
81
],
"resourceType": [
- 587
+ 588
],
"spenderId": [
1
@@ -14029,7 +14058,7 @@ export default {
1
],
"unit": [
- 589
+ 590
],
"__typename": [
1
@@ -14053,7 +14082,7 @@ export default {
"UsageUnit": {},
"UsageUserDaily": {
"dailyUsage": [
- 588
+ 589
],
"userWorkspaceId": [
1
@@ -14073,19 +14102,19 @@ export default {
4
],
"createdAt": [
- 190
+ 191
],
"currentUserWorkspace": [
- 595
+ 596
],
"currentWorkspace": [
- 626
+ 627
],
"deletedAt": [
- 190
+ 191
],
"deletedWorkspaceMembers": [
- 203
+ 204
],
"disabled": [
4
@@ -14100,7 +14129,7 @@ export default {
4
],
"id": [
- 496
+ 497
],
"isEmailVerified": [
4
@@ -14115,31 +14144,31 @@ export default {
1
],
"onboardingStatus": [
- 368
+ 369
],
"previousOnboardingStatus": [
- 368
+ 369
],
"supportUserHash": [
1
],
"updatedAt": [
- 190
+ 191
],
"userVars": [
- 293
+ 294
],
"userWorkspaces": [
- 595
+ 596
],
"workspaceMember": [
- 635
+ 636
],
"workspaceMembers": [
- 635
+ 636
],
"workspaces": [
- 595
+ 596
],
"__typename": [
1
@@ -14165,7 +14194,7 @@ export default {
1
],
"options": [
- 292
+ 293
],
"type": [
1
@@ -14183,13 +14212,13 @@ export default {
1
],
"createdAt": [
- 190
+ 191
],
"expiresAt": [
- 190
+ 191
],
"id": [
- 496
+ 497
],
"ipAddress": [
1
@@ -14201,13 +14230,13 @@ export default {
4
],
"lastActiveAt": [
- 190
+ 191
],
"userAgent": [
1
],
"workspaceId": [
- 496
+ 497
],
"__typename": [
1
@@ -14215,13 +14244,13 @@ export default {
},
"UserWorkspace": {
"createdAt": [
- 190
+ 191
],
"deletedAt": [
- 190
+ 191
],
"id": [
- 496
+ 497
],
"isImpersonating": [
4
@@ -14230,25 +14259,25 @@ export default {
1
],
"objectPermissions": [
- 360
+ 361
],
"objectsPermissions": [
- 360
+ 361
],
"permissionFlags": [
- 385
+ 386
],
"twoFactorAuthenticationMethodSummary": [
- 492
+ 493
],
"updatedAt": [
- 190
+ 191
],
"user": [
- 591
+ 592
],
"userId": [
- 496
+ 497
],
"__typename": [
1
@@ -14256,7 +14285,7 @@ export default {
},
"ValidateApprovedAccessDomainInput": {
"approvedAccessDomainId": [
- 496
+ 497
],
"validationToken": [
1
@@ -14273,7 +14302,7 @@ export default {
4
],
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -14284,7 +14313,7 @@ export default {
1
],
"errorFieldMetadataId": [
- 496
+ 497
],
"expression": [
1
@@ -14293,7 +14322,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"isActive": [
4
@@ -14305,7 +14334,7 @@ export default {
1
],
"objectMetadataId": [
- 496
+ 497
],
"__typename": [
1
@@ -14336,7 +14365,7 @@ export default {
66
],
"workspaceUrls": [
- 644
+ 645
],
"__typename": [
1
@@ -14366,25 +14395,25 @@ export default {
1
],
"applicationId": [
- 496
+ 497
],
"calendarEndFieldMetadataId": [
- 496
+ 497
],
"calendarFieldMetadataId": [
- 496
+ 497
],
"calendarLayout": [
- 604
+ 605
],
"createdAt": [
- 190
+ 191
],
"createdByUserWorkspaceId": [
- 496
+ 497
],
"deletedAt": [
- 190
+ 191
],
"groupLoadLimit": [
8
@@ -14393,7 +14422,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"isActive": [
4
@@ -14411,25 +14440,25 @@ export default {
20
],
"kanbanAggregateOperationFieldMetadataId": [
- 496
+ 497
],
"kanbanColumnWidth": [
8
],
"key": [
- 613
+ 614
],
"mainGroupByFieldMetadataId": [
- 496
+ 497
],
"name": [
1
],
"objectMetadataId": [
- 496
+ 497
],
"openRecordIn": [
- 614
+ 615
],
"position": [
11
@@ -14438,37 +14467,37 @@ export default {
4
],
"type": [
- 617
+ 618
],
"universalIdentifier": [
- 496
+ 497
],
"updatedAt": [
- 190
+ 191
],
"viewFieldGroups": [
- 607
+ 608
],
"viewFields": [
- 606
+ 607
],
"viewFilterGroups": [
- 609
+ 610
],
"viewFilters": [
- 608
+ 609
],
"viewGroups": [
- 612
+ 613
],
"viewSorts": [
- 615
+ 616
],
"visibility": [
- 618
+ 619
],
"workspaceId": [
- 496
+ 497
],
"__typename": [
1
@@ -14477,7 +14506,7 @@ export default {
"ViewCalendarLayout": {},
"ViewConfiguration": {
"configurationType": [
- 621
+ 622
],
"__typename": [
1
@@ -14488,19 +14517,19 @@ export default {
20
],
"applicationId": [
- 496
+ 497
],
"createdAt": [
- 190
+ 191
],
"deletedAt": [
- 190
+ 191
],
"fieldMetadataId": [
- 496
+ 497
],
"id": [
- 496
+ 497
],
"isActive": [
4
@@ -14521,19 +14550,19 @@ export default {
11
],
"universalIdentifier": [
- 496
+ 497
],
"updatedAt": [
- 190
+ 191
],
"viewFieldGroupId": [
- 496
+ 497
],
"viewId": [
- 496
+ 497
],
"workspaceId": [
- 496
+ 497
],
"__typename": [
1
@@ -14541,13 +14570,13 @@ export default {
},
"ViewFieldGroup": {
"createdAt": [
- 190
+ 191
],
"deletedAt": [
- 190
+ 191
],
"id": [
- 496
+ 497
],
"isActive": [
4
@@ -14565,16 +14594,16 @@ export default {
11
],
"updatedAt": [
- 190
+ 191
],
"viewFields": [
- 606
+ 607
],
"viewId": [
- 496
+ 497
],
"workspaceId": [
- 496
+ 497
],
"__typename": [
1
@@ -14582,43 +14611,43 @@ export default {
},
"ViewFilter": {
"createdAt": [
- 190
+ 191
],
"deletedAt": [
- 190
+ 191
],
"fieldMetadataId": [
- 496
+ 497
],
"id": [
- 496
+ 497
],
"operand": [
- 611
+ 612
],
"positionInViewFilterGroup": [
11
],
"relationTargetFieldMetadataId": [
- 496
+ 497
],
"subFieldName": [
1
],
"updatedAt": [
- 190
+ 191
],
"value": [
- 292
+ 293
],
"viewFilterGroupId": [
- 496
+ 497
],
"viewId": [
- 496
+ 497
],
"workspaceId": [
- 496
+ 497
],
"__typename": [
1
@@ -14626,31 +14655,31 @@ export default {
},
"ViewFilterGroup": {
"createdAt": [
- 190
+ 191
],
"deletedAt": [
- 190
+ 191
],
"id": [
- 496
+ 497
],
"logicalOperator": [
- 610
+ 611
],
"parentViewFilterGroupId": [
- 496
+ 497
],
"positionInViewFilterGroup": [
11
],
"updatedAt": [
- 190
+ 191
],
"viewId": [
- 496
+ 497
],
"workspaceId": [
- 496
+ 497
],
"__typename": [
1
@@ -14660,16 +14689,16 @@ export default {
"ViewFilterOperand": {},
"ViewGroup": {
"createdAt": [
- 190
+ 191
],
"deletedAt": [
- 190
+ 191
],
"fieldValue": [
1
],
"id": [
- 496
+ 497
],
"isVisible": [
4
@@ -14678,13 +14707,13 @@ export default {
11
],
"updatedAt": [
- 190
+ 191
],
"viewId": [
- 496
+ 497
],
"workspaceId": [
- 496
+ 497
],
"__typename": [
1
@@ -14694,31 +14723,31 @@ export default {
"ViewOpenRecordIn": {},
"ViewSort": {
"createdAt": [
- 190
+ 191
],
"deletedAt": [
- 190
+ 191
],
"direction": [
- 616
+ 617
],
"fieldMetadataId": [
- 496
+ 497
],
"id": [
- 496
+ 497
],
"subFieldName": [
1
],
"updatedAt": [
- 190
+ 191
],
"viewId": [
- 496
+ 497
],
"workspaceId": [
- 496
+ 497
],
"__typename": [
1
@@ -14729,19 +14758,19 @@ export default {
"ViewVisibility": {},
"Webhook": {
"applicationId": [
- 496
+ 497
],
"createdAt": [
- 190
+ 191
],
"deletedAt": [
- 190
+ 191
],
"description": [
1
],
"id": [
- 496
+ 497
],
"operations": [
1
@@ -14753,7 +14782,7 @@ export default {
1
],
"updatedAt": [
- 190
+ 191
],
"__typename": [
1
@@ -14782,70 +14811,70 @@ export default {
128
],
"on_EmailThreadConfiguration": [
- 219
+ 220
],
"on_EmailsConfiguration": [
- 223
+ 224
],
"on_FieldConfiguration": [
- 246
+ 247
],
"on_FieldRichTextConfiguration": [
- 254
+ 255
],
"on_FieldsConfiguration": [
- 255
+ 256
],
"on_FilesConfiguration": [
- 261
+ 262
],
"on_FormFieldConfiguration": [
- 264
+ 265
],
"on_FrontComponentConfiguration": [
- 266
+ 267
],
"on_IframeConfiguration": [
- 276
+ 277
],
"on_LineChartConfiguration": [
- 296
+ 297
],
"on_MessageCampaignBodyConfiguration": [
- 318
+ 319
],
"on_MessageCampaignDetailsConfiguration": [
- 319
+ 320
],
"on_NotesConfiguration": [
- 351
+ 352
],
"on_PieChartConfiguration": [
- 386
+ 387
],
"on_RecordTableConfiguration": [
- 414
+ 415
],
"on_StandaloneRichTextConfiguration": [
- 464
+ 465
],
"on_TasksConfiguration": [
- 473
+ 474
],
"on_TimelineConfiguration": [
- 477
+ 478
],
"on_ViewConfiguration": [
- 605
+ 606
],
"on_WorkflowConfiguration": [
- 623
+ 624
],
"on_WorkflowRunConfiguration": [
- 624
+ 625
],
"on_WorkflowVersionConfiguration": [
- 625
+ 626
],
"__typename": [
1
@@ -14855,7 +14884,7 @@ export default {
"WidgetType": {},
"WorkflowConfiguration": {
"configurationType": [
- 621
+ 622
],
"__typename": [
1
@@ -14863,7 +14892,7 @@ export default {
},
"WorkflowRunConfiguration": {
"configurationType": [
- 621
+ 622
],
"__typename": [
1
@@ -14871,7 +14900,7 @@ export default {
},
"WorkflowVersionConfiguration": {
"configurationType": [
- 621
+ 622
],
"__typename": [
1
@@ -14879,7 +14908,7 @@ export default {
},
"Workspace": {
"activationStatus": [
- 627
+ 628
],
"aiAdditionalInstructions": [
1
@@ -14894,7 +14923,7 @@ export default {
1
],
"aiModelIdByTier": [
- 292
+ 293
],
"allowImpersonation": [
4
@@ -14912,7 +14941,7 @@ export default {
101
],
"createdAt": [
- 190
+ 191
],
"currentBillingSubscription": [
101
@@ -14924,10 +14953,10 @@ export default {
1
],
"defaultRole": [
- 423
+ 424
],
"deletedAt": [
- 190
+ 191
],
"displayName": [
1
@@ -14939,7 +14968,7 @@ export default {
11
],
"featureFlags": [
- 243
+ 244
],
"hasValidEnterpriseValidityToken": [
4
@@ -14948,7 +14977,7 @@ export default {
4
],
"id": [
- 496
+ 497
],
"installedApplications": [
37
@@ -14999,7 +15028,7 @@ export default {
1
],
"logoFileId": [
- 496
+ 497
],
"metadataVersion": [
11
@@ -15011,25 +15040,25 @@ export default {
11
],
"updatedAt": [
- 190
+ 191
],
"viewFields": [
- 606
+ 607
],
"viewFilterGroups": [
- 609
+ 610
],
"viewFilters": [
- 608
+ 609
],
"viewGroups": [
- 612
+ 613
],
"viewSorts": [
- 615
+ 616
],
"views": [
- 603
+ 604
],
"workspaceCustomApplication": [
37
@@ -15038,13 +15067,13 @@ export default {
1
],
"workspaceDiscoverability": [
- 632
+ 633
],
"workspaceMembersCount": [
11
],
"workspaceUrls": [
- 644
+ 645
],
"__typename": [
1
@@ -15068,19 +15097,19 @@ export default {
"WorkspaceCompanyEnrichmentOutcome": {},
"WorkspaceCompanyEnrichmentResult": {
"enrichment": [
- 292
+ 293
],
"isBookCallOnboardingStepPending": [
4
],
"outcome": [
- 629
+ 630
],
"personEnrichment": [
- 292
+ 293
],
"personOutcome": [
- 642
+ 643
],
"__typename": [
1
@@ -15103,13 +15132,13 @@ export default {
1
],
"expiresAt": [
- 190
+ 191
],
"id": [
- 496
+ 497
],
"roleId": [
- 496
+ 497
],
"__typename": [
1
@@ -15134,28 +15163,28 @@ export default {
1
],
"dateFormat": [
- 637
+ 638
],
"id": [
- 496
+ 497
],
"locale": [
1
],
"name": [
- 268
+ 269
],
"numberFormat": [
- 638
+ 639
],
"openRecordIn": [
- 371
+ 372
],
"roles": [
- 423
+ 424
],
"timeFormat": [
- 639
+ 640
],
"timeZone": [
1
@@ -15167,10 +15196,10 @@ export default {
1
],
"userId": [
- 496
+ 497
],
"userWorkspaceId": [
- 496
+ 497
],
"__typename": [
1
@@ -15178,13 +15207,13 @@ export default {
},
"WorkspaceMemberApplicationVariables": {
"userWorkspaceId": [
- 496
+ 497
],
"variables": [
- 592
+ 593
],
"workspaceMemberId": [
- 496
+ 497
],
"__typename": [
1
@@ -15195,7 +15224,7 @@ export default {
"WorkspaceMemberTimeFormatEnum": {},
"WorkspaceMigration": {
"actions": [
- 292
+ 293
],
"applicationUniversalIdentifier": [
1
@@ -15209,7 +15238,7 @@ export default {
1
],
"id": [
- 496
+ 497
],
"__typename": [
1
@@ -15230,10 +15259,10 @@ export default {
},
"WorkspaceUrlsAndId": {
"id": [
- 496
+ 497
],
"workspaceUrls": [
- 644
+ 645
],
"__typename": [
1
diff --git a/packages/twenty-front/src/generated-admin/graphql.ts b/packages/twenty-front/src/generated-admin/graphql.ts
index 26774e51204..c66f272158e 100644
--- a/packages/twenty-front/src/generated-admin/graphql.ts
+++ b/packages/twenty-front/src/generated-admin/graphql.ts
@@ -321,8 +321,10 @@ export type ApplicationRegistrationStats = {
__typename?: 'ApplicationRegistrationStats';
activeInstalls: Scalars['Int']['output'];
autoUpdateEnabled: Scalars['Int']['output'];
+ creditsUsedBreakdown?: Maybe<Array<CreditUsedItem>>;
mostInstalledVersion?: Maybe<Scalars['String']['output']>;
suspendedInstalls: Scalars['Int']['output'];
+ totalCreditsUsed?: Maybe<Scalars['Float']['output']>;
versionDistribution: Array<VersionDistributionEntry>;
};
@@ -427,6 +429,14 @@ export type CreateUsageLimitInput = {
unit: UsageUnit;
};
+export type CreditUsedItem = {
+ __typename?: 'CreditUsedItem';
+ creditsUsed: Scalars['Float']['output'];
+ label?: Maybe<Scalars['String']['output']>;
+ operation?: Maybe<UsageOperationType>;
+ resource?: Maybe<UsageResourceType>;
+};
+
export type CustomAiProviderAccessDto = {
__typename?: 'CustomAiProviderAccessDTO';
hasAccess: Scalars['Boolean']['output'];
@@ -809,6 +819,8 @@ export type QueryFindAdminApplicationRegistrationInstalledWorkspacesArgs = {
export type QueryFindAdminApplicationRegistrationStatsArgs = {
id: Scalars['String']['input'];
+ periodEnd?: InputMaybe<Scalars['DateTime']['input']>;
+ periodStart?: InputMaybe<Scalars['DateTime']['input']>;
};
@@ -1318,10 +1330,12 @@ export type FindAdminApplicationRegistrationInstalledWorkspacesQuery = { __typen
export type FindAdminApplicationRegistrationStatsQueryVariables = Exact<{
id: Scalars['String']['input'];
+ periodStart: Scalars['DateTime']['input'];
+ periodEnd: Scalars['DateTime']['input'];
}>;
-export type FindAdminApplicationRegistrationStatsQuery = { __typename?: 'Query', findAdminApplicationRegistrationStats: { __typename?: 'ApplicationRegistrationStats', activeInstalls: number, autoUpdateEnabled: number, suspendedInstalls: number, mostInstalledVersion?: string | null, versionDistribution: Array<{ __typename?: 'VersionDistributionEntry', version: string, count: number }> } };
+export type FindAdminApplicationRegistrationStatsQuery = { __typename?: 'Query', findAdminApplicationRegistrationStats: { __typename?: 'ApplicationRegistrationStats', activeInstalls: number, autoUpdateEnabled: number, totalCreditsUsed?: number | null, suspendedInstalls: number, mostInstalledVersion?: string | null, creditsUsedBreakdown?: Array<{ __typename?: 'CreditUsedItem', label?: string | null, operation?: UsageOperationType | null, creditsUsed: number }> | null, versionDistribution: Array<{ __typename?: 'VersionDistributionEntry', version: string, count: number }> } };
export type FindAdminApplicationRegistrationVariablesQueryVariables = Exact<{
applicationRegistrationId: Scalars['String']['input'];
@@ -1642,7 +1656,7 @@ export const UpdateAdminApplicationRegistrationDocument = {"kind":"Document","de
export const UpdateAdminApplicationRegistrationVariableDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateAdminApplicationRegistrationVariable"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateApplicationRegistrationVariableInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateAdminApplicationRegistrationVariable"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}},{"kind":"Field","name":{"kind":"Name","value":"isRequired"}},{"kind":"Field","name":{"kind":"Name","value":"isFilled"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode<UpdateAdminApplicationRegistrationVariableMutation, UpdateAdminApplicationRegistrationVariableMutationVariables>;
export const FindAdminApplicationRegistrationClaimsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindAdminApplicationRegistrationClaims"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"applicationRegistrationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findAdminApplicationRegistrationClaims"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"applicationRegistrationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"applicationRegistrationId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"workspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceDisplayName"}}]}}]}}]} as unknown as DocumentNode<FindAdminApplicationRegistrationClaimsQuery, FindAdminApplicationRegistrationClaimsQueryVariables>;
export const FindAdminApplicationRegistrationInstalledWorkspacesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindAdminApplicationRegistrationInstalledWorkspaces"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"FindApplicationRegistrationInstalledWorkspacesInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findAdminApplicationRegistrationInstalledWorkspaces"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"hasMore"}},{"kind":"Field","name":{"kind":"Name","value":"workspaces"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]}}]}}]} as unknown as DocumentNode<FindAdminApplicationRegistrationInstalledWorkspacesQuery, FindAdminApplicationRegistrationInstalledWorkspacesQueryVariables>;
-export const FindAdminApplicationRegistrationStatsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindAdminApplicationRegistrationStats"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findAdminApplicationRegistrationStats"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"activeInstalls"}},{"kind":"Field","name":{"kind":"Name","value":"autoUpdateEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"suspendedInstalls"}},{"kind":"Field","name":{"kind":"Name","value":"mostInstalledVersion"}},{"kind":"Field","name":{"kind":"Name","value":"versionDistribution"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}}]}}]} as unknown as DocumentNode<FindAdminApplicationRegistrationStatsQuery, FindAdminApplicationRegistrationStatsQueryVariables>;
+export const FindAdminApplicationRegistrationStatsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindAdminApplicationRegistrationStats"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"periodStart"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"periodEnd"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findAdminApplicationRegistrationStats"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"periodStart"},"value":{"kind":"Variable","name":{"kind":"Name","value":"periodStart"}}},{"kind":"Argument","name":{"kind":"Name","value":"periodEnd"},"value":{"kind":"Variable","name":{"kind":"Name","value":"periodEnd"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"activeInstalls"}},{"kind":"Field","name":{"kind":"Name","value":"autoUpdateEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"totalCreditsUsed"}},{"kind":"Field","name":{"kind":"Name","value":"creditsUsedBreakdown"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"operation"}},{"kind":"Field","name":{"kind":"Name","value":"creditsUsed"}}]}},{"kind":"Field","name":{"kind":"Name","value":"suspendedInstalls"}},{"kind":"Field","name":{"kind":"Name","value":"mostInstalledVersion"}},{"kind":"Field","name":{"kind":"Name","value":"versionDistribution"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}}]}}]} as unknown as DocumentNode<FindAdminApplicationRegistrationStatsQuery, FindAdminApplicationRegistrationStatsQueryVariables>;
export const FindAdminApplicationRegistrationVariablesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindAdminApplicationRegistrationVariables"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"applicationRegistrationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findAdminApplicationRegistrationVariables"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"applicationRegistrationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"applicationRegistrationId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}},{"kind":"Field","name":{"kind":"Name","value":"isRequired"}},{"kind":"Field","name":{"kind":"Name","value":"isDeprecated"}},{"kind":"Field","name":{"kind":"Name","value":"isFilled"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode<FindAdminApplicationRegistrationVariablesQuery, FindAdminApplicationRegistrationVariablesQueryVariables>;
export const FindAllApplicationRegistrationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindAllApplicationRegistrations"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"isPreInstalledOnly"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sourceTypes"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ApplicationRegistrationSourceType"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"isListed"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"isConfigured"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findAllApplicationRegistrations"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"searchTerm"},"value":{"kind":"Variable","name":{"kind":"Name","value":"searchTerm"}}},{"kind":"Argument","name":{"kind":"Name","value":"isPreInstalledOnly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"isPreInstalledOnly"}}},{"kind":"Argument","name":{"kind":"Name","value":"sourceTypes"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sourceTypes"}}},{"kind":"Argument","name":{"kind":"Name","value":"isListed"},"value":{"kind":"Variable","name":{"kind":"Name","value":"isListed"}}},{"kind":"Argument","name":{"kind":"Name","value":"isConfigured"},"value":{"kind":"Variable","name":{"kind":"Name","value":"isConfigured"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"registrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ApplicationRegistrationFragment"}},{"kind":"Field","name":{"kind":"Name","value":"author"}},{"kind":"Field","name":{"kind":"Name","value":"installCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"hasMore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ApplicationRegistrationFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ApplicationRegistration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"galleryImagesUrls"}},{"kind":"Field","name":{"kind":"Name","value":"oAuthClientId"}},{"kind":"Field","name":{"kind":"Name","value":"oAuthRedirectUris"}},{"kind":"Field","name":{"kind":"Name","value":"oAuthScopes"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"sourcePackage"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"isListed"}},{"kind":"Field","name":{"kind":"Name","value":"isVetted"}},{"kind":"Field","name":{"kind":"Name","value":"isPreInstalled"}},{"kind":"Field","name":{"kind":"Name","value":"isConfigured"}},{"kind":"Field","name":{"kind":"Name","value":"ownerWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<FindAllApplicationRegistrationsQuery, FindAllApplicationRegistrationsQueryVariables>;
export const CreateDatabaseConfigVariableDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateDatabaseConfigVariable"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"key"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"value"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"JSON"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createDatabaseConfigVariable"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"key"},"value":{"kind":"Variable","name":{"kind":"Name","value":"key"}}},{"kind":"Argument","name":{"kind":"Name","value":"value"},"value":{"kind":"Variable","name":{"kind":"Name","value":"value"}}}]}]}}]} as unknown as DocumentNode<CreateDatabaseConfigVariableMutation, CreateDatabaseConfigVariableMutationVariables>;
diff --git a/packages/twenty-front/src/generated-metadata/graphql.ts b/packages/twenty-front/src/generated-metadata/graphql.ts
index fb83aad8afc..fb971c42370 100644
--- a/packages/twenty-front/src/generated-metadata/graphql.ts
+++ b/packages/twenty-front/src/generated-metadata/graphql.ts
@@ -602,8 +602,10 @@ export type ApplicationRegistrationStats = {
__typename?: 'ApplicationRegistrationStats';
activeInstalls: Scalars['Int']['output'];
autoUpdateEnabled: Scalars['Int']['output'];
+ creditsUsedBreakdown?: Maybe<Array<CreditUsedItem>>;
mostInstalledVersion?: Maybe<Scalars['String']['output']>;
suspendedInstalls: Scalars['Int']['output'];
+ totalCreditsUsed?: Maybe<Scalars['Float']['output']>;
versionDistribution: Array<VersionDistributionEntry>;
};
@@ -1778,6 +1780,14 @@ export type CreateWebhookInput = {
targetUrl: Scalars['String']['input'];
};
+export type CreditUsedItem = {
+ __typename?: 'CreditUsedItem';
+ creditsUsed: Scalars['Float']['output'];
+ label?: Maybe<Scalars['String']['output']>;
+ operation?: Maybe<UsageOperationType>;
+ resource?: Maybe<UsageResourceType>;
+};
+
export type CursorPaging = {
/** Paginate after opaque cursor */
after?: InputMaybe<Scalars['ConnectionCursor']['input']>;
@@ -5681,6 +5691,8 @@ export type QueryFindApplicationRegistrationByUniversalIdentifierArgs = {
export type QueryFindApplicationRegistrationStatsArgs = {
id: Scalars['String']['input'];
+ periodEnd?: InputMaybe<Scalars['DateTime']['input']>;
+ periodStart?: InputMaybe<Scalars['DateTime']['input']>;
};
@@ -9917,10 +9929,19 @@ export type ApplicationRegistrationTarballUrlQuery = { __typename?: 'Query', app
export type FindApplicationRegistrationStatsQueryVariables = Exact<{
id: Scalars['String']['input'];
+ periodStart: Scalars['DateTime']['input'];
+ periodEnd: Scalars['DateTime']['input'];
+}>;
+
+
+export type FindApplicationRegistrationStatsQuery = { __typename?: 'Query', findApplicationRegistrationStats: { __typename?: 'ApplicationRegistrationStats', activeInstalls: number, autoUpdateEnabled: number, totalCreditsUsed?: number | null, suspendedInstalls: number, mostInstalledVersion?: string | null, creditsUsedBreakdown?: Array<{ __typename?: 'CreditUsedItem', label?: string | null, operation?: UsageOperationType | null, creditsUsed: number }> | null, versionDistribution: Array<{ __typename?: 'VersionDistributionEntry', version: string, count: number }> } };
+
+export type FindApplicationRegistrationInstallCountQueryVariables = Exact<{
+ id: Scalars['String']['input'];
}>;
-export type FindApplicationRegistrationStatsQuery = { __typename?: 'Query', findApplicationRegistrationStats: { __typename?: 'ApplicationRegistrationStats', activeInstalls: number, autoUpdateEnabled: number, suspendedInstalls: number, mostInstalledVersion?: string | null, versionDistribution: Array<{ __typename?: 'VersionDistributionEntry', version: string, count: number }> } };
+export type FindApplicationRegistrationInstallCountQuery = { __typename?: 'Query', findApplicationRegistrationStats: { __typename?: 'ApplicationRegistrationStats', activeInstalls: number } };
export type FindApplicationRegistrationVariablesQueryVariables = Exact<{
applicationRegistrationId: Scalars['String']['input'];
@@ -11176,7 +11197,8 @@ export const TransferApplicationRegistrationOwnershipDocument = {"kind":"Documen
export const UpdateApplicationRegistrationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateApplicationRegistration"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateApplicationRegistrationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateApplicationRegistration"},"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":"ApplicationRegistrationFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ApplicationRegistrationFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ApplicationRegistration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"galleryImagesUrls"}},{"kind":"Field","name":{"kind":"Name","value":"oAuthClientId"}},{"kind":"Field","name":{"kind":"Name","value":"oAuthRedirectUris"}},{"kind":"Field","name":{"kind":"Name","value":"oAuthScopes"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"sourcePackage"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"isListed"}},{"kind":"Field","name":{"kind":"Name","value":"isVetted"}},{"kind":"Field","name":{"kind":"Name","value":"isPreInstalled"}},{"kind":"Field","name":{"kind":"Name","value":"isConfigured"}},{"kind":"Field","name":{"kind":"Name","value":"ownerWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<UpdateApplicationRegistrationMutation, UpdateApplicationRegistrationMutationVariables>;
export const UpdateApplicationRegistrationVariableDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateApplicationRegistrationVariable"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateApplicationRegistrationVariableInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateApplicationRegistrationVariable"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}},{"kind":"Field","name":{"kind":"Name","value":"isRequired"}},{"kind":"Field","name":{"kind":"Name","value":"isFilled"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode<UpdateApplicationRegistrationVariableMutation, UpdateApplicationRegistrationVariableMutationVariables>;
export const ApplicationRegistrationTarballUrlDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ApplicationRegistrationTarballUrl"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"applicationRegistrationTarballUrl"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}]}}]} as unknown as DocumentNode<ApplicationRegistrationTarballUrlQuery, ApplicationRegistrationTarballUrlQueryVariables>;
-export const FindApplicationRegistrationStatsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindApplicationRegistrationStats"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findApplicationRegistrationStats"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"activeInstalls"}},{"kind":"Field","name":{"kind":"Name","value":"autoUpdateEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"suspendedInstalls"}},{"kind":"Field","name":{"kind":"Name","value":"mostInstalledVersion"}},{"kind":"Field","name":{"kind":"Name","value":"versionDistribution"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}}]}}]} as unknown as DocumentNode<FindApplicationRegistrationStatsQuery, FindApplicationRegistrationStatsQueryVariables>;
+export const FindApplicationRegistrationStatsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindApplicationRegistrationStats"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"periodStart"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"periodEnd"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findApplicationRegistrationStats"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"periodStart"},"value":{"kind":"Variable","name":{"kind":"Name","value":"periodStart"}}},{"kind":"Argument","name":{"kind":"Name","value":"periodEnd"},"value":{"kind":"Variable","name":{"kind":"Name","value":"periodEnd"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"activeInstalls"}},{"kind":"Field","name":{"kind":"Name","value":"autoUpdateEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"totalCreditsUsed"}},{"kind":"Field","name":{"kind":"Name","value":"creditsUsedBreakdown"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"operation"}},{"kind":"Field","name":{"kind":"Name","value":"creditsUsed"}}]}},{"kind":"Field","name":{"kind":"Name","value":"suspendedInstalls"}},{"kind":"Field","name":{"kind":"Name","value":"mostInstalledVersion"}},{"kind":"Field","name":{"kind":"Name","value":"versionDistribution"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}}]}}]} as unknown as DocumentNode<FindApplicationRegistrationStatsQuery, FindApplicationRegistrationStatsQueryVariables>;
+export const FindApplicationRegistrationInstallCountDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindApplicationRegistrationInstallCount"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findApplicationRegistrationStats"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"activeInstalls"}}]}}]}}]} as unknown as DocumentNode<FindApplicationRegistrationInstallCountQuery, FindApplicationRegistrationInstallCountQueryVariables>;
export const FindApplicationRegistrationVariablesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindApplicationRegistrationVariables"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"applicationRegistrationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findApplicationRegistrationVariables"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"applicationRegistrationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"applicationRegistrationId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}},{"kind":"Field","name":{"kind":"Name","value":"isRequired"}},{"kind":"Field","name":{"kind":"Name","value":"isDeprecated"}},{"kind":"Field","name":{"kind":"Name","value":"isFilled"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode<FindApplicationRegistrationVariablesQuery, FindApplicationRegistrationVariablesQueryVariables>;
export const FindClaimableApplicationRegistrationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindClaimableApplicationRegistration"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sourcePackage"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findClaimableApplicationRegistration"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"sourcePackage"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sourcePackage"}}},{"kind":"Argument","name":{"kind":"Name","value":"universalIdentifier"},"value":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sourcePackage"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"author"}},{"kind":"Field","name":{"kind":"Name","value":"isOwned"}}]}}]}}]} as unknown as DocumentNode<FindClaimableApplicationRegistrationQuery, FindClaimableApplicationRegistrationQueryVariables>;
export const FindManyApplicationRegistrationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindManyApplicationRegistrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findManyApplicationRegistrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ApplicationRegistrationListItem"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ApplicationRegistrationListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ApplicationRegistration"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}}]} as unknown as DocumentNode<FindManyApplicationRegistrationsQuery, FindManyApplicationRegistrationsQueryVariables>;
diff --git a/packages/twenty-front/src/modules/settings/admin-panel/apps/graphql/queries/findAdminApplicationRegistrationStats.ts b/packages/twenty-front/src/modules/settings/admin-panel/apps/graphql/queries/findAdminApplicationRegistrationStats.ts
index 81b81d89f88..ee6693c76ba 100644
--- a/packages/twenty-front/src/modules/settings/admin-panel/apps/graphql/queries/findAdminApplicationRegistrationStats.ts
+++ b/packages/twenty-front/src/modules/settings/admin-panel/apps/graphql/queries/findAdminApplicationRegistrationStats.ts
@@ -1,10 +1,24 @@
import { gql } from '@apollo/client';
export const FIND_ADMIN_APPLICATION_REGISTRATION_STATS = gql`
- query FindAdminApplicationRegistrationStats($id: String!) {
- findAdminApplicationRegistrationStats(id: $id) {
+ query FindAdminApplicationRegistrationStats(
+ $id: String!
+ $periodStart: DateTime!
+ $periodEnd: DateTime!
+ ) {
+ findAdminApplicationRegistrationStats(
+ id: $id
+ periodStart: $periodStart
+ periodEnd: $periodEnd
+ ) {
activeInstalls
autoUpdateEnabled
+ totalCreditsUsed
+ creditsUsedBreakdown {
+ label
+ operation
+ creditsUsed
+ }
suspendedInstalls
mostInstalledVersion
versionDistribution {
diff --git a/packages/twenty-front/src/modules/settings/application-registrations/graphql/queries/findApplicationRegistrationStats.ts b/packages/twenty-front/src/modules/settings/application-registrations/graphql/queries/findApplicationRegistrationStats.ts
index 56825fe0aac..fe3b7645f2a 100644
--- a/packages/twenty-front/src/modules/settings/application-registrations/graphql/queries/findApplicationRegistrationStats.ts
+++ b/packages/twenty-front/src/modules/settings/application-registrations/graphql/queries/findApplicationRegistrationStats.ts
@@ -1,10 +1,24 @@
import { gql } from '@apollo/client';
export const FIND_APPLICATION_REGISTRATION_STATS = gql`
- query FindApplicationRegistrationStats($id: String!) {
- findApplicationRegistrationStats(id: $id) {
+ query FindApplicationRegistrationStats(
+ $id: String!
+ $periodStart: DateTime!
+ $periodEnd: DateTime!
+ ) {
+ findApplicationRegistrationStats(
+ id: $id
+ periodStart: $periodStart
+ periodEnd: $periodEnd
+ ) {
activeInstalls
autoUpdateEnabled
+ totalCreditsUsed
+ creditsUsedBreakdown {
+ label
+ operation
+ creditsUsed
+ }
suspendedInstalls
mostInstalledVersion
versionDistribution {
@@ -14,3 +28,11 @@ export const FIND_APPLICATION_REGISTRATION_STATS = gql`
}
}
`;
+
+export const FIND_APPLICATION_REGISTRATION_INSTALL_COUNT = gql`
+ query FindApplicationRegistrationInstallCount($id: String!) {
+ findApplicationRegistrationStats(id: $id) {
+ activeInstalls
+ }
+ }
+`;
diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationDangerZone.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationDangerZone.tsx
index 811a72d992c..97a2764a5fc 100644
--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationDangerZone.tsx
+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationDangerZone.tsx
@@ -24,7 +24,7 @@ import {
type ApplicationRegistration,
ClaimApplicationRegistrationOwnershipDocument,
DeleteApplicationRegistrationDocument,
- FindApplicationRegistrationStatsDocument,
+ FindApplicationRegistrationInstallCountDocument,
FindManyApplicationRegistrationsDocument,
PermissionFlagType,
TransferApplicationRegistrationOwnershipDocument,
@@ -78,7 +78,7 @@ export const SettingsAdminApplicationRegistrationDangerZone = ({
);
const { data: statsData } = useQuery(
- FindApplicationRegistrationStatsDocument,
+ FindApplicationRegistrationInstallCountDocument,
{
variables: { id: applicationRegistrationId },
skip: !applicationRegistrationId,
diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationGeneralStats.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationGeneralStats.tsx
index 63f66474a90..d60387dc9cf 100644
--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationGeneralStats.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationGeneralStats.tsx
@@ -16,7 +16,7 @@ export const SettingsApplicationRegistrationGeneralStats = ({
return (
<Section.Root>
<Section.Header
- title={t`Install Stats`}
+ title={t`Statistics`}
description={t`Usage across all non-deleted workspaces on this server`}
/>
<SettingsApplicationRegistrationInstallStats
diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationInstallStats.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationInstallStats.tsx
index 77969b3f51a..86ec20f0a28 100644
--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationInstallStats.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationInstallStats.tsx
@@ -1,17 +1,37 @@
+import { useQuery } from '@apollo/client/react';
+import { styled } from '@linaria/react';
+import { useLingui } from '@lingui/react/macro';
+import { useState } from 'react';
+
+import { useApolloAdminClient } from '@/settings/admin-panel/apollo/hooks/useApolloAdminClient';
+import { SettingsTableCard } from '@/settings/components/SettingsTableCard';
+import { getUsageOperationTypeLabel } from '@/settings/usage/utils/getUsageOperationTypeLabel';
+import { getPeriodDates } from '@/settings/usage/utils/getPeriodDates';
+import { getPeriodOptions } from '@/settings/usage/utils/getPeriodOptions';
+import { type PeriodPreset } from '@/settings/usage/utils/periodPreset';
+import { Select } from '@/ui/input/components/Select';
+import { isDefined } from 'twenty-shared/utils';
+import { Section } from 'twenty-ui/components/layout';
import {
IconBrandDocker,
IconChartBar,
+ IconCoins,
IconPlayerPause,
IconRefresh,
IconVersions,
} from 'twenty-ui/icon';
-import { useLingui } from '@lingui/react/macro';
-import { SettingsTableCard } from '@/settings/components/SettingsTableCard';
-import { FindApplicationRegistrationStatsDocument } from '~/generated-metadata/graphql';
-import { FindAdminApplicationRegistrationStatsDocument } from '~/generated-admin/graphql';
-import { useQuery } from '@apollo/client/react';
+import { Tooltip } from 'twenty-ui/primitives/surfaces';
import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/typography';
-import { useApolloAdminClient } from '@/settings/admin-panel/apollo/hooks/useApolloAdminClient';
+import { themeCssVariables } from 'twenty-ui/theme';
+import { FindAdminApplicationRegistrationStatsDocument } from '~/generated-admin/graphql';
+import { FindApplicationRegistrationStatsDocument } from '~/generated-metadata/graphql';
+
+const StyledStats = styled.div`
+ align-items: start;
+ display: grid;
+ gap: ${themeCssVariables.spacing[4]};
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
+`;
export const SettingsApplicationRegistrationInstallStats = ({
registration,
@@ -22,6 +42,8 @@ export const SettingsApplicationRegistrationInstallStats = ({
}) => {
const { t, i18n } = useLingui();
const apolloAdminClient = useApolloAdminClient();
+ const [period, setPeriod] = useState<PeriodPreset>('30d');
+ const periodDates = getPeriodDates(period);
const applicationRegistrationId = registration.id;
@@ -29,13 +51,13 @@ export const SettingsApplicationRegistrationInstallStats = ({
FindAdminApplicationRegistrationStatsDocument,
{
client: apolloAdminClient,
- variables: { id: applicationRegistrationId },
+ variables: { id: applicationRegistrationId, ...periodDates },
skip: !isAdminView || !applicationRegistrationId,
},
);
const { data } = useQuery(FindApplicationRegistrationStatsDocument, {
- variables: { id: applicationRegistrationId },
+ variables: { id: applicationRegistrationId, ...periodDates },
skip: isAdminView || !applicationRegistrationId,
});
@@ -83,11 +105,68 @@ export const SettingsApplicationRegistrationInstallStats = ({
},
];
+ const formatCredits = (credits: number | null | undefined) =>
+ isDefined(credits)
+ ? i18n.number(credits, { maximumFractionDigits: 6 })
+ : '—';
+
+ const creditsUsedItems = [
+ {
+ Icon: IconCoins,
+ label: t`Total credits used`,
+ value: (
+ <Tooltip
+ content={t`Usage attributed to this application in its current installing workspaces for the selected period. Updated every ten minutes.`}
+ >
+ <span tabIndex={0}>{formatCredits(stats?.totalCreditsUsed)}</span>
+ </Tooltip>
+ ),
+ },
+ ...(stats?.creditsUsedBreakdown ?? []).map(
+ ({ label, operation, creditsUsed }) => {
+ const operationLabel = isDefined(operation)
+ ? getUsageOperationTypeLabel(operation)
+ : undefined;
+
+ return {
+ label: isDefined(operationLabel)
+ ? i18n._(operationLabel)
+ : (label ?? operation ?? '—'),
+ value: formatCredits(creditsUsed),
+ };
+ },
+ ),
+ ];
+
return (
- <SettingsTableCard
- rounded
- items={statsItems}
- gridAutoColumns="minmax(0, 200px) minmax(0, 1fr)"
- />
+ <StyledStats>
+ <div role="group" aria-label={t`Install statistics`}>
+ <SettingsTableCard
+ rounded
+ items={statsItems}
+ gridAutoColumns="minmax(0, 200px) minmax(0, 1fr)"
+ />
+ </div>
+ <div role="group" aria-label={t`Credit consumption`}>
+ <Section.Header
+ title={t`Credits used`}
+ actions={
+ <Select
+ dropdownId={`application-registration-credits-period-${applicationRegistrationId}`}
+ value={period}
+ options={getPeriodOptions()}
+ onChange={setPeriod}
+ needIconCheck
+ selectSizeVariant="small"
+ />
+ }
+ />
+ <SettingsTableCard
+ rounded
+ items={creditsUsedItems}
+ gridAutoColumns="minmax(0, 200px) minmax(0, 1fr)"
+ />
+ </div>
+ </StyledStats>
);
};
diff --git a/packages/twenty-front/src/pages/settings/applications/components/__tests__/SettingsApplicationRegistrationInstallStats.test.tsx b/packages/twenty-front/src/pages/settings/applications/components/__tests__/SettingsApplicationRegistrationInstallStats.test.tsx
new file mode 100644
index 00000000000..fee497c4b0a
--- /dev/null
+++ b/packages/twenty-front/src/pages/settings/applications/components/__tests__/SettingsApplicationRegistrationInstallStats.test.tsx
@@ -0,0 +1,121 @@
+import { ApolloClient, InMemoryCache } from '@apollo/client';
+import { ApolloProvider } from '@apollo/client/react';
+import { MockLink } from '@apollo/client/testing';
+import { i18n } from '@lingui/core';
+import { I18nProvider } from '@lingui/react';
+import { render, screen, within } from '@testing-library/react';
+import userEvent from '@testing-library/user-event';
+import { createStore, Provider as JotaiProvider } from 'jotai';
+
+import { getPeriodDates } from '@/settings/usage/utils/getPeriodDates';
+
+import { ApolloAdminClientContext } from '@/settings/admin-panel/apollo/contexts/ApolloAdminClientContext';
+import { FindAdminApplicationRegistrationStatsDocument } from '~/generated-admin/graphql';
+import {
+ type ApplicationRegistrationStats,
+ FindApplicationRegistrationStatsDocument,
+ UsageOperationType,
+} from '~/generated-metadata/graphql';
+import { SettingsApplicationRegistrationInstallStats } from '~/pages/settings/applications/components/SettingsApplicationRegistrationInstallStats';
+
+const STATS: ApplicationRegistrationStats = {
+ activeInstalls: 4,
+ suspendedInstalls: 0,
+ autoUpdateEnabled: 2,
+ mostInstalledVersion: '1.2.3',
+ versionDistribution: [{ version: '1.2.3', count: 4 }],
+ totalCreditsUsed: 3.000001,
+ creditsUsedBreakdown: [
+ {
+ label: null,
+ operation: UsageOperationType.CODE_EXECUTION,
+ creditsUsed: 3,
+ },
+ { label: 'HISTORICAL_OPERATION', operation: null, creditsUsed: 0.000001 },
+ ],
+};
+
+const renderStats = (stats = STATS, isAdminView = false) => {
+ const client = new ApolloClient({
+ cache: new InMemoryCache(),
+ link: new MockLink(
+ (['30d', '7d', '90d'] as const).map((period) => ({
+ request: {
+ query: isAdminView
+ ? FindAdminApplicationRegistrationStatsDocument
+ : FindApplicationRegistrationStatsDocument,
+ variables: { id: 'registration-id', ...getPeriodDates(period) },
+ },
+ result: {
+ data: {
+ [isAdminView
+ ? 'findAdminApplicationRegistrationStats'
+ : 'findApplicationRegistrationStats']:
+ period === '30d' ? stats : { ...stats, totalCreditsUsed: 7 },
+ },
+ },
+ delay: 0,
+ })),
+ ),
+ });
+
+ return render(
+ <JotaiProvider store={createStore()}>
+ <I18nProvider i18n={i18n}>
+ <ApolloAdminClientContext.Provider value={client}>
+ <ApolloProvider client={client}>
+ <SettingsApplicationRegistrationInstallStats
+ registration={{ id: 'registration-id' }}
+ isAdminView={isAdminView}
+ />
+ </ApolloProvider>
+ </ApolloAdminClientContext.Provider>
+ </I18nProvider>
+ </JotaiProvider>,
+ );
+};
+
+describe('Application registration statistics', () => {
+ it.each([false, true])(
+ 'shows credit consumption for owner/admin view: %s',
+ async (isAdminView) => {
+ renderStats(STATS, isAdminView);
+
+ expect(await screen.findByText('3.000001')).toBeVisible();
+ expect(screen.getByText('Code Execution')).toBeVisible();
+ expect(screen.getByText('HISTORICAL_OPERATION')).toBeVisible();
+ expect(screen.getByText('0.000001')).toBeVisible();
+ expect(
+ screen.queryByText('On suspended workspaces'),
+ ).not.toBeInTheDocument();
+ },
+ );
+
+ it('requests the selected credit period', async () => {
+ const user = userEvent.setup();
+ renderStats();
+ expect(await screen.findByText('3.000001')).toBeVisible();
+ await user.click(screen.getByText('Last 30 days'));
+ await user.click(await screen.findByText('Last 7 days'));
+ expect(await screen.findByText('7')).toBeVisible();
+ });
+
+ it.each([null, 0])(
+ 'distinguishes unavailable usage from zero: %s',
+ async (totalCreditsUsed) => {
+ renderStats({
+ ...STATS,
+ totalCreditsUsed,
+ creditsUsedBreakdown: totalCreditsUsed === null ? null : [],
+ });
+
+ await screen.findByText('1.2.3');
+ const credits = within(
+ screen.getByRole('group', { name: 'Credit consumption' }),
+ );
+ expect(
+ credits.getByText(totalCreditsUsed === null ? '—' : '0'),
+ ).toBeVisible();
+ },
+ );
+});
diff --git a/packages/twenty-server/src/engine/core-modules/admin-panel/admin-panel.resolver.ts b/packages/twenty-server/src/engine/core-modules/admin-panel/admin-panel.resolver.ts
index 2a8da9bfffc..9c1e08ebda7 100644
--- a/packages/twenty-server/src/engine/core-modules/admin-panel/admin-panel.resolver.ts
+++ b/packages/twenty-server/src/engine/core-modules/admin-panel/admin-panel.resolver.ts
@@ -1,7 +1,8 @@
import { UseFilters, UseGuards, UsePipes } from '@nestjs/common';
-import { Args, Int, Mutation, Query } from '@nestjs/graphql';
+import { Args, Info, Int, Mutation, Query } from '@nestjs/graphql';
import { InjectRepository } from '@nestjs/typeorm';
+import { type GraphQLResolveInfo } from 'graphql';
import GraphQLJSON from 'graphql-type-json';
import { AI_MODEL_TIERS } from 'twenty-shared/ai';
import { PermissionFlagType } from 'twenty-shared/constants';
@@ -57,7 +58,9 @@ import { ApplicationRegistrationVariableService } from 'src/engine/core-modules/
import { UpdateApplicationRegistrationVariableInput } from 'src/engine/core-modules/application/application-registration-variable/dtos/update-application-registration-variable.input';
import { ApplicationRegistrationClaimService } from 'src/engine/core-modules/application/application-registration/application-registration-claim.service';
import { ApplicationRegistrationEntity } from 'src/engine/core-modules/application/application-registration/application-registration.entity';
+import { ApplicationRegistrationExceptionFilter } from 'src/engine/core-modules/application/application-registration/application-registration-exception-filter';
import { ApplicationRegistrationService } from 'src/engine/core-modules/application/application-registration/application-registration.service';
+import { isCreditsUsedRequested } from 'src/engine/core-modules/application/application-registration/utils/is-credits-used-requested.util';
import { ApplicationRegistrationSourceType } from 'src/engine/core-modules/application/application-registration/enums/application-registration-source-type.enum';
import { AdminApplicationRegistrationClaimDTO } from 'src/engine/core-modules/application/application-registration/dtos/admin-application-registration-claim.dto';
import { AdminUpdateApplicationRegistrationInput } from 'src/engine/core-modules/application/application-registration/dtos/admin-update-application-registration.input';
@@ -761,11 +764,22 @@ export class AdminPanelResolver {
}
@UseGuards(AdminPanelGuard)
+ @UseFilters(ApplicationRegistrationExceptionFilter)
@Query(() => ApplicationRegistrationStatsDTO)
async findAdminApplicationRegistrationStats(
@Args('id') id: string,
+ @Info() info: GraphQLResolveInfo,
+ @Args('periodStart', { type: () => Date, nullable: true })
+ periodStart?: Date,
+ @Args('periodEnd', { type: () => Date, nullable: true })
+ periodEnd?: Date,
): Promise<ApplicationRegistrationStatsDTO> {
- return this.applicationRegistrationService.getStatsGlobal(id);
+ return this.applicationRegistrationService.getStatsGlobal({
+ applicationRegistrationId: id,
+ includeCreditsUsed: isCreditsUsedRequested(info),
+ periodStart,
+ periodEnd,
+ });
}
@UseGuards(AdminPanelGuard)
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-registration/__tests__/application-registration-upsert-from-catalog.spec.ts b/packages/twenty-server/src/engine/core-modules/application/application-registration/__tests__/application-registration-upsert-from-catalog.spec.ts
index 918ea14c48f..40d6e226e8b 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-registration/__tests__/application-registration-upsert-from-catalog.spec.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-registration/__tests__/application-registration-upsert-from-catalog.spec.ts
@@ -22,6 +22,7 @@ import { ServerFileStorageService } from 'src/engine/core-modules/file-storage/s
import { MessageQueue } from 'src/engine/core-modules/message-queue/message-queue.constants';
import { getQueueToken } from 'src/engine/core-modules/message-queue/utils/get-queue-token.util';
import { MetricsService } from 'src/engine/core-modules/metrics/metrics.service';
+import { UsageAnalyticsService } from 'src/engine/core-modules/usage/services/usage-analytics.service';
import { WorkspaceEntity } from 'src/engine/core-modules/workspace/workspace.entity';
import { WorkspaceEventBroadcaster } from 'src/engine/subscriptions/workspace-event-broadcaster/workspace-event-broadcaster.service';
@@ -67,6 +68,7 @@ describe('ApplicationRegistrationService - upsertFromCatalog', () => {
const module: TestingModule = await Test.createTestingModule({
providers: [
ApplicationRegistrationService,
+ { provide: UsageAnalyticsService, useValue: {} },
{
provide: ApplicationRegistrationVersionService,
useValue: {
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-registration/application-registration.module.ts b/packages/twenty-server/src/engine/core-modules/application/application-registration/application-registration.module.ts
index 9d453d7463f..2cb6ea54c02 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-registration/application-registration.module.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-registration/application-registration.module.ts
@@ -30,10 +30,12 @@ import { MetricsModule } from 'src/engine/core-modules/metrics/metrics.module';
import { WorkspaceEntity } from 'src/engine/core-modules/workspace/workspace.entity';
import { PermissionsModule } from 'src/engine/metadata-modules/permissions/permissions.module';
import { provideWorkspaceScopedRepository } from 'src/engine/twenty-orm/workspace-scoped-repository/provide-workspace-scoped-repository';
+import { UsageAnalyticsModule } from 'src/engine/core-modules/usage/usage-analytics.module';
import { WorkspaceManyOrAllFlatEntityMapsCacheModule } from 'src/engine/metadata-modules/flat-entity/services/workspace-many-or-all-flat-entity-maps-cache.module';
@Module({
imports: [
+ UsageAnalyticsModule,
WorkspaceManyOrAllFlatEntityMapsCacheModule,
TypeOrmModule.forFeature([
ApplicationRegistrationEntity,
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-registration/application-registration.resolver.ts b/packages/twenty-server/src/engine/core-modules/application/application-registration/application-registration.resolver.ts
index ad984471415..760bff654a6 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-registration/application-registration.resolver.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-registration/application-registration.resolver.ts
@@ -2,12 +2,14 @@ import { UseFilters, UseGuards, UsePipes } from '@nestjs/common';
import {
Args,
Context,
+ Info,
Mutation,
Parent,
Query,
ResolveField,
} from '@nestjs/graphql';
+import { type GraphQLResolveInfo } from 'graphql';
import GraphQLUpload from 'graphql-upload/GraphQLUpload.mjs';
import { PermissionFlagType } from 'twenty-shared/constants';
import { FileFolder } from 'twenty-shared/types';
@@ -26,6 +28,7 @@ import { ApplicationRegistrationAssetUrlService } from 'src/engine/core-modules/
import { ApplicationRegistrationEntity } from 'src/engine/core-modules/application/application-registration/application-registration.entity';
import { ApplicationRegistrationLookupService } from 'src/engine/core-modules/application/application-registration/application-registration-lookup/application-registration-lookup.service';
import { ApplicationRegistrationService } from 'src/engine/core-modules/application/application-registration/application-registration.service';
+import { isCreditsUsedRequested } from 'src/engine/core-modules/application/application-registration/utils/is-credits-used-requested.util';
import { ApplicationTarballService } from 'src/engine/core-modules/application/application-registration/application-tarball.service';
import { ApplicationRegistrationClaimService } from 'src/engine/core-modules/application/application-registration/application-registration-claim.service';
import { ApplicationRegistrationClaimInput } from 'src/engine/core-modules/application/application-registration/dtos/application-registration-claim.input';
@@ -216,10 +219,18 @@ export class ApplicationRegistrationResolver {
})
applicationRegistrationId: string,
@AuthWorkspace() { id: workspaceId }: WorkspaceEntity,
+ @Info() info: GraphQLResolveInfo,
+ @Args('periodStart', { type: () => Date, nullable: true })
+ periodStart?: Date,
+ @Args('periodEnd', { type: () => Date, nullable: true })
+ periodEnd?: Date,
): Promise<ApplicationRegistrationStatsDTO> {
return this.applicationRegistrationService.getStats({
applicationRegistrationId,
ownerWorkspaceId: workspaceId,
+ periodStart,
+ periodEnd,
+ includeCreditsUsed: isCreditsUsedRequested(info),
});
}
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-registration/application-registration.service.ts b/packages/twenty-server/src/engine/core-modules/application/application-registration/application-registration.service.ts
index d25ff58cd7c..b7110ce1aa5 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-registration/application-registration.service.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-registration/application-registration.service.ts
@@ -3,6 +3,7 @@ import { InjectRepository } from '@nestjs/typeorm';
import crypto from 'crypto';
+import { msg } from '@lingui/core/macro';
import { isNonEmptyString } from '@sniptt/guards';
import * as bcrypt from 'bcrypt';
import isEqual from 'lodash.isequal';
@@ -79,6 +80,8 @@ import { MessageQueue } from 'src/engine/core-modules/message-queue/message-queu
import { MessageQueueService } from 'src/engine/core-modules/message-queue/services/message-queue.service';
import { MetricsService } from 'src/engine/core-modules/metrics/metrics.service';
import { MetricsKeys } from 'src/engine/core-modules/metrics/types/metrics-keys.type';
+import { type CreditUsedItemDTO } from 'src/engine/core-modules/usage/dtos/credit-used-item.dto';
+import { UsageAnalyticsService } from 'src/engine/core-modules/usage/services/usage-analytics.service';
import { WorkspaceEntity } from 'src/engine/core-modules/workspace/workspace.entity';
import { WorkspaceEventBroadcaster } from 'src/engine/subscriptions/workspace-event-broadcaster/workspace-event-broadcaster.service';
import { TWENTY_CLI_APPLICATION_REGISTRATION } from 'src/engine/workspace-manager/twenty-standard-application/constants/twenty-cli-application-registration.constant';
@@ -136,6 +139,7 @@ export class ApplicationRegistrationService {
private readonly cacheLockService: CacheLockService,
private readonly coreEntityCacheService: CoreEntityCacheService,
private readonly metricsService: MetricsService,
+ private readonly usageAnalyticsService: UsageAnalyticsService,
@InjectMessageQueue(MessageQueue.applicationUpgradeQueue)
private readonly applicationUpgradeQueueService: MessageQueueService,
private readonly workspaceEventBroadcaster: WorkspaceEventBroadcaster,
@@ -1149,30 +1153,77 @@ export class ApplicationRegistrationService {
async getStats({
applicationRegistrationId,
ownerWorkspaceId,
+ includeCreditsUsed = false,
+ periodStart,
+ periodEnd,
}: {
applicationRegistrationId: string;
ownerWorkspaceId: string;
+ includeCreditsUsed?: boolean;
+ periodStart?: Date;
+ periodEnd?: Date;
}): Promise<ApplicationRegistrationStatsDTO> {
await this.applicationRegistrationLookupService.findOneByIdOrThrow({
applicationRegistrationId,
ownerWorkspaceId,
});
- return this.computeStats(applicationRegistrationId);
+ return this.computeStats({
+ applicationRegistrationId,
+ includeCreditsUsed,
+ periodStart,
+ periodEnd,
+ });
}
// Admin panel views apps across all workspaces, so ownership is not enforced.
- async getStatsGlobal(
- applicationRegistrationId: string,
- ): Promise<ApplicationRegistrationStatsDTO> {
+ async getStatsGlobal({
+ applicationRegistrationId,
+ includeCreditsUsed = false,
+ periodStart,
+ periodEnd,
+ }: {
+ applicationRegistrationId: string;
+ includeCreditsUsed?: boolean;
+ periodStart?: Date;
+ periodEnd?: Date;
+ }): Promise<ApplicationRegistrationStatsDTO> {
await this.findOneByIdGlobal(applicationRegistrationId);
- return this.computeStats(applicationRegistrationId);
+ return this.computeStats({
+ applicationRegistrationId,
+ includeCreditsUsed,
+ periodStart,
+ periodEnd,
+ });
}
- private async computeStats(
- applicationRegistrationId: string,
- ): Promise<ApplicationRegistrationStatsDTO> {
+ private async computeStats({
+ applicationRegistrationId,
+ includeCreditsUsed,
+ periodStart,
+ periodEnd,
+ }: {
+ applicationRegistrationId: string;
+ includeCreditsUsed: boolean;
+ periodStart?: Date;
+ periodEnd?: Date;
+ }): Promise<ApplicationRegistrationStatsDTO> {
+ if (
+ includeCreditsUsed &&
+ (!isDefined(periodStart) ||
+ !isDefined(periodEnd) ||
+ periodStart >= periodEnd)
+ ) {
+ throw new ApplicationRegistrationException(
+ 'Credits used requires a valid start and end date',
+ ApplicationRegistrationExceptionCode.INVALID_INPUT,
+ {
+ userFriendlyMessage: msg`Credits used requires a valid start and end date.`,
+ },
+ );
+ }
+
const rawVersionDistribution: {
version: string;
count: number;
@@ -1213,9 +1264,23 @@ export class ApplicationRegistrationService {
);
const mostInstalledVersion = rawVersionDistribution[0]?.version ?? null;
+ const creditsUsedBreakdown =
+ includeCreditsUsed && isDefined(periodStart) && isDefined(periodEnd)
+ ? await this.getCreditsUsedBreakdown({
+ applicationRegistrationId,
+ periodStart,
+ periodEnd,
+ })
+ : null;
return {
activeInstalls,
+ creditsUsedBreakdown,
+ totalCreditsUsed:
+ creditsUsedBreakdown?.reduce(
+ (sum, entry) => sum + entry.creditsUsed,
+ 0,
+ ) ?? null,
autoUpdateEnabled: rawVersionDistribution.reduce(
(sum, entry) => sum + entry.autoUpdateEnabled,
0,
@@ -1229,6 +1294,44 @@ export class ApplicationRegistrationService {
};
}
+ private async getCreditsUsedBreakdown({
+ applicationRegistrationId,
+ periodStart,
+ periodEnd,
+ }: {
+ applicationRegistrationId: string;
+ periodStart: Date;
+ periodEnd: Date;
+ }): Promise<CreditUsedItemDTO[] | null> {
+ try {
+ // Ordered so identical installation lists hit the ClickHouse query cache
+ const installations = await this.applicationRepository
+ .createQueryBuilder('application')
+ .select('application.id', 'applicationId')
+ .addSelect('application.workspaceId', 'workspaceId')
+ .innerJoin('application.workspace', 'workspace')
+ .where(
+ 'application.applicationRegistrationId = :applicationRegistrationId',
+ { applicationRegistrationId },
+ )
+ .andWhere('workspace.deletedAt IS NULL')
+ .orderBy('application.workspaceId')
+ .addOrderBy('application.id')
+ .getRawMany<{ applicationId: string; workspaceId: string }>();
+
+ return await this.usageAnalyticsService.getCreditsUsedBreakdownForInstallations(
+ { installations, periodStart, periodEnd },
+ );
+ } catch (error) {
+ this.logger.warn(
+ `Failed to load credits used for registration ${applicationRegistrationId}`,
+ error,
+ );
+
+ return null;
+ }
+ }
+
// Admin panel only, which views apps across all workspaces, so ownership is not enforced
async getInstalledWorkspacesGlobal(
applicationRegistrationId: string,
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-registration/dtos/application-registration-stats.dto.ts b/packages/twenty-server/src/engine/core-modules/application/application-registration/dtos/application-registration-stats.dto.ts
index fa65288ea8a..e906b3c95a0 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-registration/dtos/application-registration-stats.dto.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-registration/dtos/application-registration-stats.dto.ts
@@ -1,4 +1,6 @@
-import { Field, Int, ObjectType } from '@nestjs/graphql';
+import { Field, Float, Int, ObjectType } from '@nestjs/graphql';
+
+import { CreditUsedItemDTO } from 'src/engine/core-modules/usage/dtos/credit-used-item.dto';
@ObjectType('VersionDistributionEntry')
export class VersionDistributionEntryDTO {
@@ -11,6 +13,12 @@ export class VersionDistributionEntryDTO {
@ObjectType('ApplicationRegistrationStats')
export class ApplicationRegistrationStatsDTO {
+ @Field(() => Float, { nullable: true })
+ totalCreditsUsed: number | null;
+
+ @Field(() => [CreditUsedItemDTO], { nullable: true })
+ creditsUsedBreakdown: CreditUsedItemDTO[] | null;
+
@Field(() => Int)
activeInstalls: number;
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-registration/utils/is-credits-used-requested.util.ts b/packages/twenty-server/src/engine/core-modules/application/application-registration/utils/is-credits-used-requested.util.ts
new file mode 100644
index 00000000000..2fd1acd2a24
--- /dev/null
+++ b/packages/twenty-server/src/engine/core-modules/application/application-registration/utils/is-credits-used-requested.util.ts
@@ -0,0 +1,11 @@
+import { type GraphQLResolveInfo } from 'graphql';
+import graphqlFields from 'graphql-fields';
+import { isDefined } from 'twenty-shared/utils';
+
+export const isCreditsUsedRequested = (info: GraphQLResolveInfo): boolean => {
+ const fields = graphqlFields(info);
+
+ return (
+ isDefined(fields.creditsUsedBreakdown) || isDefined(fields.totalCreditsUsed)
+ );
+};
diff --git a/packages/twenty-server/src/engine/core-modules/usage/dtos/credit-used-item.dto.ts b/packages/twenty-server/src/engine/core-modules/usage/dtos/credit-used-item.dto.ts
new file mode 100644
index 00000000000..c376734235d
--- /dev/null
+++ b/packages/twenty-server/src/engine/core-modules/usage/dtos/credit-used-item.dto.ts
@@ -0,0 +1,21 @@
+/* @license Enterprise */
+
+import { Field, Float, ObjectType } from '@nestjs/graphql';
+
+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';
+
+@ObjectType('CreditUsedItem')
+export class CreditUsedItemDTO {
+ @Field(() => UsageResourceType, { nullable: true })
+ resource?: UsageResourceType | null;
+
+ @Field(() => UsageOperationType, { nullable: true })
+ operation?: UsageOperationType | null;
+
+ @Field(() => String, { nullable: true })
+ label?: string;
+
+ @Field(() => Float)
+ creditsUsed: number;
+}
diff --git a/packages/twenty-server/src/engine/core-modules/usage/services/usage-analytics.service.ts b/packages/twenty-server/src/engine/core-modules/usage/services/usage-analytics.service.ts
index 29236ef8323..ad796a0b5d0 100644
--- a/packages/twenty-server/src/engine/core-modules/usage/services/usage-analytics.service.ts
+++ b/packages/twenty-server/src/engine/core-modules/usage/services/usage-analytics.service.ts
@@ -9,6 +9,7 @@ import { isNonEmptyArray } from 'twenty-shared/utils';
import { ClickHouseService } from 'src/database/clickhouse/clickhouse.service';
import { formatDateTimeForClickHouse } from 'src/database/clickhouse/utils/format-date-time-for-clickhouse.util';
import { type SpenderType } from 'src/engine/core-modules/usage-limit/types/spender-type.type';
+import { type CreditUsedItemDTO } from 'src/engine/core-modules/usage/dtos/credit-used-item.dto';
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 UsageUnit } from 'src/engine/core-modules/usage/enums/usage-unit.enum';
@@ -94,10 +95,71 @@ const BREAKDOWN_QUERY_LIMIT = 50;
// Scopes a declared operation to its application; both sides of the comparison use it so they cannot spell the pair differently.
const DECLARED_OPERATION_KEY_SEPARATOR = ':';
+const USAGE_OPERATION_TYPES = new Set<string>(
+ Object.values(UsageOperationType),
+);
+
+const USAGE_RESOURCE_TYPES = new Set<string>(Object.values(UsageResourceType));
+
@Injectable()
export class UsageAnalyticsService {
constructor(private readonly clickHouseService: ClickHouseService) {}
+ async getCreditsUsedBreakdownForInstallations({
+ installations,
+ periodStart,
+ periodEnd,
+ }: {
+ installations: { applicationId: string; workspaceId: string }[];
+ periodStart: Date;
+ periodEnd: Date;
+ }): Promise<CreditUsedItemDTO[]> {
+ if (!isNonEmptyArray(installations)) {
+ return [];
+ }
+
+ const rows = await this.clickHouseService.selectOrThrow<{
+ resourceType: string;
+ operationType: string;
+ creditsUsedMicro: string | number;
+ }>(
+ `SELECT resourceType, operationType, sum(creditsUsedMicro) AS creditsUsedMicro
+ FROM usageEvent
+ WHERE workspaceId IN {workspaceIds:Array(String)}
+ AND applicationId IN {applicationIds:Array(String)}
+ AND timestamp >= {periodStart:DateTime64(3, 'UTC')}
+ AND timestamp < {periodEnd:DateTime64(3, 'UTC')}
+ GROUP BY resourceType, operationType
+ HAVING creditsUsedMicro != 0
+ ORDER BY creditsUsedMicro DESC
+ SETTINGS max_execution_time = 10, use_query_cache = true,
+ query_cache_ttl = 600, query_cache_min_query_duration = 0`,
+ {
+ workspaceIds: [
+ ...new Set(installations.map(({ workspaceId }) => workspaceId)),
+ ],
+ applicationIds: installations.map(({ applicationId }) => applicationId),
+ periodStart: formatDateTimeForClickHouse(periodStart),
+ periodEnd: formatDateTimeForClickHouse(periodEnd),
+ },
+ );
+
+ return rows.map(({ resourceType, operationType, creditsUsedMicro }) => {
+ const isKnownOperation = USAGE_OPERATION_TYPES.has(operationType);
+
+ return {
+ resource: USAGE_RESOURCE_TYPES.has(resourceType)
+ ? (resourceType as UsageResourceType)
+ : null,
+ operation: isKnownOperation
+ ? (operationType as UsageOperationType)
+ : null,
+ label: isKnownOperation ? undefined : operationType,
+ creditsUsed: toDisplayCredits(Number(creditsUsedMicro)),
+ };
+ });
+ }
+
async getConsumptionRowsForAllScopes({
workspaceId,
resourceType,
diff --git a/packages/twenty-server/test/integration/graphql/suites/admin-panel/admin-panel-application-registration-stats.integration-spec.ts b/packages/twenty-server/test/integration/graphql/suites/admin-panel/admin-panel-application-registration-stats.integration-spec.ts
index 48b228035d1..40c57eadd01 100644
--- a/packages/twenty-server/test/integration/graphql/suites/admin-panel/admin-panel-application-registration-stats.integration-spec.ts
+++ b/packages/twenty-server/test/integration/graphql/suites/admin-panel/admin-panel-application-registration-stats.integration-spec.ts
@@ -3,6 +3,8 @@ import { randomUUID } from 'crypto';
import { gql } from 'graphql-tag';
import { type DataSource } from 'typeorm';
+import { ClickHouseService } from 'src/database/clickhouse/clickhouse.service';
+import { getAppProviderByClassName } from 'test/integration/utils/get-app-provider-by-class-name.util';
import { makeAdminPanelApiRequestWithGuestRole } from 'test/integration/graphql/suites/admin-panel/utils/make-admin-panel-api-request-with-guest-role.util';
import { makeAdminPanelApiRequest } from 'test/integration/twenty-config/utils/make-admin-panel-api-request.util';
@@ -205,6 +207,204 @@ describe('Admin panel application registration stats and installed workspaces (i
]);
});
+ describe('credits used', () => {
+ const findCreditsUsed = gql`
+ query FindAdminApplicationRegistrationCreditsUsed(
+ $id: String!
+ $periodStart: DateTime
+ $periodEnd: DateTime
+ ) {
+ findAdminApplicationRegistrationStats(
+ id: $id
+ periodStart: $periodStart
+ periodEnd: $periodEnd
+ ) {
+ totalCreditsUsed
+ creditsUsedBreakdown {
+ label
+ resource
+ operation
+ creditsUsed
+ }
+ }
+ }
+ `;
+ let clickHouse: ClickHouseService;
+ const periodStart = new Date(Date.now() + 86_400_000);
+ const periodEnd = new Date(periodStart.getTime() + 1_000);
+ const period = {
+ periodStart: periodStart.toISOString(),
+ periodEnd: periodEnd.toISOString(),
+ };
+ const findStats = (dates: Record<string, string | undefined> = period) =>
+ makeAdminPanelApiRequest({
+ query: findCreditsUsed,
+ variables: { id: applicationRegistrationId, ...dates },
+ });
+ const getQueryCacheHits = async () => {
+ const result = await clickHouse.getMainClient()!.query({
+ query: "SELECT value FROM system.events WHERE event = 'QueryCacheHits'",
+ format: 'JSONEachRow',
+ });
+ const rows = await result.json<{ value: string }>();
+ return Number(rows[0]?.value ?? 0);
+ };
+
+ beforeAll(async () => {
+ clickHouse =
+ getAppProviderByClassName<ClickHouseService>('ClickHouseService');
+ const timestamp = periodStart
+ .toISOString()
+ .replace('T', ' ')
+ .replace('Z', '');
+ const result = await clickHouse.insert('usageEvent', [
+ {
+ timestamp,
+ workspaceId: SEED_APPLE_WORKSPACE_ID,
+ applicationId: seededApplicationIds[0],
+ resourceType: 'LOGIC_FUNCTION',
+ operationType: 'CODE_EXECUTION',
+ creditsUsedMicro: 1_000_001,
+ },
+ {
+ timestamp,
+ workspaceId: SEED_APPLE_WORKSPACE_ID,
+ applicationId: seededApplicationIds[0],
+ resourceType: 'HISTORICAL_RESOURCE',
+ operationType: 'HISTORICAL_OPERATION',
+ creditsUsedMicro: 2_000_000,
+ },
+ {
+ timestamp: periodEnd.toISOString().replace('T', ' ').replace('Z', ''),
+ workspaceId: SEED_APPLE_WORKSPACE_ID,
+ applicationId: seededApplicationIds[0],
+ resourceType: 'LOGIC_FUNCTION',
+ operationType: 'CODE_EXECUTION',
+ creditsUsedMicro: 8_000_000,
+ },
+ {
+ timestamp,
+ workspaceId: deletedWorkspaceId,
+ applicationId: seededApplicationIds[0],
+ resourceType: 'LOGIC_FUNCTION',
+ operationType: 'CODE_EXECUTION',
+ creditsUsedMicro: 32_000_000,
+ },
+ {
+ timestamp,
+ workspaceId: SEED_APPLE_WORKSPACE_ID,
+ applicationId: randomUUID(),
+ resourceId: seededApplicationIds[0],
+ resourceType: 'LOGIC_FUNCTION',
+ operationType: 'CODE_EXECUTION',
+ creditsUsedMicro: 500_000,
+ },
+ ]);
+
+ expect(result.success).toBe(true);
+ });
+
+ afterEach(() => {
+ jest.restoreAllMocks();
+ });
+
+ afterAll(async () => {
+ await clickHouse.getMainClient()?.command({
+ query:
+ 'ALTER TABLE usageEvent DELETE WHERE applicationId = {applicationId:String} OR resourceId = {applicationId:String} SETTINGS mutations_sync=1',
+ query_params: { applicationId: seededApplicationIds[0] },
+ });
+ });
+
+ it('does not query credits when the client requests only installation statistics', async () => {
+ const select = jest.spyOn(clickHouse, 'selectOrThrow');
+ const response = await makeAdminPanelApiRequest({
+ query: FIND_STATS,
+ variables: { id: applicationRegistrationId },
+ });
+
+ expect(response.body.errors).toBeUndefined();
+ expect(select).not.toHaveBeenCalled();
+ });
+
+ it('scopes precise credits to the period, workspaces and application, uses the ClickHouse cache, and checks authorization', async () => {
+ const select = jest.spyOn(clickHouse, 'selectOrThrow');
+ const response = await findStats();
+
+ expect(response.body.errors).toBeUndefined();
+ expect(response.body.data.findAdminApplicationRegistrationStats).toEqual({
+ totalCreditsUsed: 3.000001,
+ creditsUsedBreakdown: [
+ {
+ label: 'HISTORICAL_OPERATION',
+ resource: null,
+ operation: null,
+ creditsUsed: 2,
+ },
+ {
+ label: null,
+ resource: 'LOGIC_FUNCTION',
+ operation: 'CODE_EXECUTION',
+ creditsUsed: 1.000001,
+ },
+ ],
+ });
+ const cacheHits = await getQueryCacheHits();
+ expect((await findStats()).body.data).toEqual(response.body.data);
+ expect(await getQueryCacheHits()).toBeGreaterThan(cacheHits);
+ const forbidden = await makeAdminPanelApiRequestWithGuestRole({
+ query: findCreditsUsed,
+ variables: { id: applicationRegistrationId, ...period },
+ });
+
+ expect(forbidden.body.errors).toBeDefined();
+ expect(select).toHaveBeenCalledTimes(2);
+ });
+
+ it.each([
+ {},
+ { periodStart: period.periodEnd, periodEnd: period.periodStart },
+ ])(
+ 'rejects missing or reversed periods before querying ClickHouse: %j',
+ async (dates) => {
+ const select = jest.spyOn(clickHouse, 'selectOrThrow');
+ const response = await findStats(dates);
+ expect(response.body.errors).toBeDefined();
+ expect(select).not.toHaveBeenCalled();
+ },
+ );
+
+ it('uses a different cache entry for a different period', async () => {
+ const response = await findStats({
+ periodStart: period.periodEnd,
+ periodEnd: new Date(periodEnd.getTime() + 1).toISOString(),
+ });
+ expect(response.body.errors).toBeUndefined();
+ expect(
+ response.body.data.findAdminApplicationRegistrationStats
+ .totalCreditsUsed,
+ ).toBe(8);
+ });
+
+ it('returns null when ClickHouse fails and recovers on the next request', async () => {
+ const select = jest
+ .spyOn(clickHouse, 'selectOrThrow')
+ .mockRejectedValueOnce(new Error('ClickHouse unavailable'));
+ const response = await findStats();
+
+ expect(response.body.errors).toBeUndefined();
+ expect(response.body.data.findAdminApplicationRegistrationStats).toEqual({
+ totalCreditsUsed: null,
+ creditsUsedBreakdown: null,
+ });
+ expect(
+ (await findStats()).body.data.findAdminApplicationRegistrationStats
+ .totalCreditsUsed,
+ ).toBe(3.000001);
+ expect(select).toHaveBeenCalledTimes(2);
+ });
+ });
+
describe('findAdminApplicationRegistrationStats', () => {
it('returns active installs, version distribution and the most installed version', async () => {
const response = await makeAdminPanelApiRequest({