twenty-client-sdk 2.41.0 → 2.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,6 +41,7 @@ export interface ApplicationVariable {
41
41
  label: Scalars['String'];
42
42
  isSecret: Scalars['Boolean'];
43
43
  isDeprecated: Scalars['Boolean'];
44
+ isRequired: Scalars['Boolean'];
44
45
  type: Scalars['String'];
45
46
  options?: Scalars['JSON'];
46
47
  __typename: 'ApplicationVariable';
@@ -87,14 +88,18 @@ export interface FrontComponent {
87
88
  updatedAt: Scalars['DateTime'];
88
89
  isHeadless: Scalars['Boolean'];
89
90
  usesSdkClient: Scalars['Boolean'];
91
+ /** @deprecated Use generateFrontComponentApplicationTokenPair */
90
92
  applicationTokenPair?: ApplicationTokenPair;
91
93
  applicationVariables?: Scalars['JSON'];
92
94
  frontComponentSharedDependenciesChecksum?: Scalars['String'];
95
+ applicationName?: Scalars['String'];
96
+ applicationGrantedCapabilities?: Scalars['String'][];
93
97
  __typename: 'FrontComponent';
94
98
  }
95
99
  export interface CommandMenuItem {
96
100
  id: Scalars['UUID'];
97
101
  workflowVersionId?: Scalars['UUID'];
102
+ coreWorkflowVersionId?: Scalars['UUID'];
98
103
  frontComponentId?: Scalars['UUID'];
99
104
  frontComponent?: FrontComponent;
100
105
  engineComponentKey: EngineComponentKey;
@@ -118,7 +123,7 @@ export interface CommandMenuItem {
118
123
  updatedAt: Scalars['DateTime'];
119
124
  __typename: 'CommandMenuItem';
120
125
  }
121
- export type EngineComponentKey = 'NAVIGATE_TO_NEXT_RECORD' | 'NAVIGATE_TO_PREVIOUS_RECORD' | 'CREATE_NEW_RECORD' | 'DELETE_RECORDS' | 'RESTORE_RECORDS' | 'DESTROY_RECORDS' | 'ADD_TO_FAVORITES' | 'REMOVE_FROM_FAVORITES' | 'EXPORT_NOTE_TO_PDF' | 'EXPORT_RECORDS' | 'UPDATE_MULTIPLE_RECORDS' | 'MERGE_MULTIPLE_RECORDS' | 'IMPORT_RECORDS' | 'EXPORT_VIEW' | 'SEE_DELETED_RECORDS' | 'CREATE_NEW_VIEW' | 'HIDE_DELETED_RECORDS' | 'EDIT_RECORD_PAGE_LAYOUT' | 'EDIT_DASHBOARD_LAYOUT' | 'SAVE_DASHBOARD_LAYOUT' | 'CANCEL_DASHBOARD_LAYOUT' | 'DUPLICATE_DASHBOARD' | 'DUPLICATE_MESSAGE_LIST' | 'ACTIVATE_WORKFLOW' | 'DEACTIVATE_WORKFLOW' | 'DISCARD_DRAFT_WORKFLOW' | 'TEST_WORKFLOW' | 'SEE_ACTIVE_VERSION_WORKFLOW' | 'SEE_RUNS_WORKFLOW' | 'SEE_VERSIONS_WORKFLOW' | 'ADD_NODE_WORKFLOW' | 'TIDY_UP_WORKFLOW' | 'DUPLICATE_WORKFLOW' | 'SEE_VERSION_WORKFLOW_RUN' | 'SEE_WORKFLOW_WORKFLOW_RUN' | 'STOP_WORKFLOW_RUN' | 'RETRY_WORKFLOW_RUN' | 'SEE_RUNS_WORKFLOW_VERSION' | 'SEE_WORKFLOW_WORKFLOW_VERSION' | 'USE_AS_DRAFT_WORKFLOW_VERSION' | 'SEE_VERSIONS_WORKFLOW_VERSION' | 'SEARCH_RECORDS' | 'SEARCH_RECORDS_FALLBACK' | 'ASK_AI' | 'VIEW_PREVIOUS_AI_CHATS' | 'NAVIGATION' | 'TRIGGER_WORKFLOW_VERSION' | 'FRONT_COMPONENT_RENDERER' | 'REPLY_TO_EMAIL_THREAD' | 'COMPOSE_EMAIL' | 'COMPOSE_CAMPAIGN' | 'SEND_MESSAGE_CAMPAIGN' | 'SEND_MESSAGE_CAMPAIGN_TEST' | 'CANCEL_MESSAGE_CAMPAIGN' | 'DUPLICATE_MESSAGE_CAMPAIGN' | 'EMAIL_BLOCK_SETTINGS' | 'GO_TO_PEOPLE' | 'GO_TO_COMPANIES' | 'GO_TO_DASHBOARDS' | 'GO_TO_OPPORTUNITIES' | 'GO_TO_SETTINGS' | 'GO_TO_TASKS' | 'GO_TO_NOTES' | 'GO_TO_WORKFLOWS' | 'GO_TO_RUNS' | 'DELETE_SINGLE_RECORD' | 'DELETE_MULTIPLE_RECORDS' | 'RESTORE_SINGLE_RECORD' | 'RESTORE_MULTIPLE_RECORDS' | 'DESTROY_SINGLE_RECORD' | 'DESTROY_MULTIPLE_RECORDS' | 'EXPORT_FROM_RECORD_INDEX' | 'EXPORT_FROM_RECORD_SHOW' | 'EXPORT_MULTIPLE_RECORDS';
126
+ export type EngineComponentKey = 'NAVIGATE_TO_NEXT_RECORD' | 'NAVIGATE_TO_PREVIOUS_RECORD' | 'CREATE_NEW_RECORD' | 'DELETE_RECORDS' | 'RESTORE_RECORDS' | 'DESTROY_RECORDS' | 'ADD_TO_FAVORITES' | 'REMOVE_FROM_FAVORITES' | 'EXPORT_NOTE_TO_PDF' | 'EXPORT_RECORDS' | 'UPDATE_MULTIPLE_RECORDS' | 'MERGE_MULTIPLE_RECORDS' | 'IMPORT_RECORDS' | 'EXPORT_VIEW' | 'SEE_DELETED_RECORDS' | 'CREATE_NEW_VIEW' | 'HIDE_DELETED_RECORDS' | 'EDIT_RECORD_PAGE_LAYOUT' | 'EDIT_DASHBOARD_LAYOUT' | 'SAVE_DASHBOARD_LAYOUT' | 'CANCEL_DASHBOARD_LAYOUT' | 'DUPLICATE_DASHBOARD' | 'DUPLICATE_MESSAGE_LIST' | 'ACTIVATE_WORKFLOW' | 'DEACTIVATE_WORKFLOW' | 'DISCARD_DRAFT_WORKFLOW' | 'TEST_WORKFLOW' | 'SEE_ACTIVE_VERSION_WORKFLOW' | 'SEE_RUNS_WORKFLOW' | 'SEE_VERSIONS_WORKFLOW' | 'ADD_NODE_WORKFLOW' | 'TIDY_UP_WORKFLOW' | 'DUPLICATE_WORKFLOW' | 'TOGGLE_WORKFLOW_VISIBILITY' | 'SEE_VERSION_WORKFLOW_RUN' | 'SEE_WORKFLOW_WORKFLOW_RUN' | 'STOP_WORKFLOW_RUN' | 'RETRY_WORKFLOW_RUN' | 'SEE_RUNS_WORKFLOW_VERSION' | 'SEE_WORKFLOW_WORKFLOW_VERSION' | 'USE_AS_DRAFT_WORKFLOW_VERSION' | 'SEE_VERSIONS_WORKFLOW_VERSION' | 'SEARCH_RECORDS' | 'SEARCH_RECORDS_FALLBACK' | 'ASK_AI' | 'VIEW_PREVIOUS_AI_CHATS' | 'NAVIGATION' | 'TRIGGER_WORKFLOW_VERSION' | 'FRONT_COMPONENT_RENDERER' | 'REPLY_TO_EMAIL_THREAD' | 'COMPOSE_EMAIL' | 'COMPOSE_CAMPAIGN' | 'SEND_MESSAGE_CAMPAIGN' | 'SEND_MESSAGE_CAMPAIGN_TEST' | 'CANCEL_MESSAGE_CAMPAIGN' | 'DUPLICATE_MESSAGE_CAMPAIGN' | 'EMAIL_BLOCK_SETTINGS' | 'GO_TO_PEOPLE' | 'GO_TO_COMPANIES' | 'GO_TO_DASHBOARDS' | 'GO_TO_OPPORTUNITIES' | 'GO_TO_SETTINGS' | 'GO_TO_TASKS' | 'GO_TO_NOTES' | 'GO_TO_WORKFLOWS' | 'GO_TO_RUNS' | 'DELETE_SINGLE_RECORD' | 'DELETE_MULTIPLE_RECORDS' | 'RESTORE_SINGLE_RECORD' | 'RESTORE_MULTIPLE_RECORDS' | 'DESTROY_SINGLE_RECORD' | 'DESTROY_MULTIPLE_RECORDS' | 'EXPORT_FROM_RECORD_INDEX' | 'EXPORT_FROM_RECORD_SHOW' | 'EXPORT_MULTIPLE_RECORDS';
122
127
  export type CommandMenuItemAvailabilityType = 'GLOBAL' | 'GLOBAL_OBJECT_CONTEXT' | 'RECORD_SELECTION' | 'FALLBACK';
123
128
  export type CommandMenuItemPayload = (PathCommandMenuItemPayload | ObjectMetadataCommandMenuItemPayload) & {
124
129
  __isUnion?: true;
@@ -132,6 +137,20 @@ export interface ObjectMetadataCommandMenuItemPayload {
132
137
  objectMetadataItemId: Scalars['UUID'];
133
138
  __typename: 'ObjectMetadataCommandMenuItemPayload';
134
139
  }
140
+ export interface SettingsMenuItem {
141
+ id: Scalars['UUID'];
142
+ frontComponentId: Scalars['UUID'];
143
+ title: Scalars['String'];
144
+ icon?: Scalars['String'];
145
+ position: Scalars['Float'];
146
+ scope: SettingsMenuItemScope;
147
+ universalIdentifier: Scalars['UUID'];
148
+ applicationId: Scalars['UUID'];
149
+ createdAt: Scalars['DateTime'];
150
+ updatedAt: Scalars['DateTime'];
151
+ __typename: 'SettingsMenuItem';
152
+ }
153
+ export type SettingsMenuItemScope = 'WORKSPACE' | 'USER';
135
154
  export interface LogicFunction {
136
155
  id: Scalars['UUID'];
137
156
  name: Scalars['String'];
@@ -324,10 +343,12 @@ export interface Application {
324
343
  autoUpgrade: Scalars['Boolean'];
325
344
  defaultRoleId?: Scalars['String'];
326
345
  settingsCustomTabFrontComponentId?: Scalars['UUID'];
346
+ healthCheckLogicFunctionId?: Scalars['UUID'];
327
347
  defaultLogicFunctionRole?: Role;
328
348
  agents: Agent[];
329
349
  frontComponents: FrontComponent[];
330
350
  commandMenuItems: CommandMenuItem[];
351
+ settingsMenuItems?: SettingsMenuItem[];
331
352
  logicFunctions: LogicFunction[];
332
353
  objects: Object[];
333
354
  applicationVariables: ApplicationVariable[];
@@ -470,6 +491,7 @@ export interface View {
470
491
  mainGroupByFieldMetadataId?: Scalars['UUID'];
471
492
  shouldHideEmptyGroups: Scalars['Boolean'];
472
493
  kanbanColumnWidth?: Scalars['Int'];
494
+ groupLoadLimit?: Scalars['Int'];
473
495
  calendarFieldMetadataId?: Scalars['UUID'];
474
496
  calendarEndFieldMetadataId?: Scalars['UUID'];
475
497
  workspaceId: Scalars['UUID'];
@@ -530,12 +552,14 @@ export interface Workspace {
530
552
  isMicrosoftAuthBypassEnabled: Scalars['Boolean'];
531
553
  isCustomDomainEnabled: Scalars['Boolean'];
532
554
  isInternalMessagesImportEnabled: Scalars['Boolean'];
555
+ allowedIframeOrigins?: Scalars['String'][];
533
556
  editableProfileFields?: Scalars['String'][];
534
557
  defaultRole?: Role;
535
558
  aiChatModelTier: AiModelTier;
536
559
  aiAgentModelTier: AiModelTier;
537
560
  isAutoModelSelectionEnabled: Scalars['Boolean'];
538
561
  aiModelIdByTier: Scalars['JSON'];
562
+ aiEvaluationModelId?: Scalars['String'];
539
563
  aiAdditionalInstructions?: Scalars['String'];
540
564
  workspaceCustomApplication?: Application;
541
565
  featureFlags?: FeatureFlag[];
@@ -1079,6 +1103,61 @@ export interface EnterpriseSubscriptionStatusDTO {
1079
1103
  isCancellationScheduled: Scalars['Boolean'];
1080
1104
  __typename: 'EnterpriseSubscriptionStatusDTO';
1081
1105
  }
1106
+ export interface UsageQuotaDefinition {
1107
+ resourceType: UsageResourceType;
1108
+ limitKind: Scalars['String'];
1109
+ allowedOperationTypes: UsageOperationType[];
1110
+ allowedSpenderTypes: Scalars['String'][];
1111
+ allowedMeters: Scalars['String'][];
1112
+ __typename: 'UsageQuotaDefinition';
1113
+ }
1114
+ export type UsageResourceType = 'AI' | 'WORKFLOW' | 'APP' | 'STORAGE' | 'API' | 'LOGIC_FUNCTION' | 'EMAIL' | 'WEBHOOK' | 'RECORD';
1115
+ export type UsageOperationType = 'ALL' | 'AI_CHAT_TOKEN' | 'AI_WORKFLOW_TOKEN' | 'WORKFLOW_EXECUTION' | 'CODE_EXECUTION' | 'WEB_SEARCH' | 'CALL_RECORDING' | 'EMAIL_SEND' | 'MESSAGE_CAMPAIGN_SEND' | 'API_REQUEST' | 'WEBHOOK_CALL' | 'STORAGE_FILE' | 'RECORD_WRITE' | 'SUBSCRIPTION';
1116
+ export interface UsageQuotaDefinitions {
1117
+ definitions: UsageQuotaDefinition[];
1118
+ isIntraWorkspaceLimitEntitled: Scalars['Boolean'];
1119
+ hasAllowancePeriod: Scalars['Boolean'];
1120
+ __typename: 'UsageQuotaDefinitions';
1121
+ }
1122
+ export interface UsageQuotaWithConsumption {
1123
+ id: Scalars['UUID'];
1124
+ resourceType: UsageResourceType;
1125
+ operationType: UsageOperationType;
1126
+ spenderType: Scalars['String'];
1127
+ spenderId?: Scalars['String'];
1128
+ spenderLabel?: Scalars['String'];
1129
+ periodUnit: Scalars['String'];
1130
+ meter: Scalars['String'];
1131
+ limitValue: Scalars['BigInt'];
1132
+ isEnforced: Scalars['Boolean'];
1133
+ consumedValue?: Scalars['BigInt'];
1134
+ remainingValue?: Scalars['BigInt'];
1135
+ periodStart?: Scalars['DateTime'];
1136
+ periodEnd?: Scalars['DateTime'];
1137
+ __typename: 'UsageQuotaWithConsumption';
1138
+ }
1139
+ export interface UsageQuotaScopeConsumption {
1140
+ consumedValue?: Scalars['BigInt'];
1141
+ periodStart: Scalars['DateTime'];
1142
+ periodEnd: Scalars['DateTime'];
1143
+ __typename: 'UsageQuotaScopeConsumption';
1144
+ }
1145
+ export interface UsageLimit {
1146
+ id: Scalars['UUID'];
1147
+ resourceType: UsageResourceType;
1148
+ operationType: UsageOperationType;
1149
+ spenderType: Scalars['String'];
1150
+ spenderId?: Scalars['String'];
1151
+ limitKind: Scalars['String'];
1152
+ periodCount: Scalars['Int'];
1153
+ periodUnit: Scalars['String'];
1154
+ meter: Scalars['String'];
1155
+ limitValue: Scalars['BigInt'];
1156
+ burstValue?: Scalars['BigInt'];
1157
+ createdAt: Scalars['DateTime'];
1158
+ updatedAt: Scalars['DateTime'];
1159
+ __typename: 'UsageLimit';
1160
+ }
1082
1161
  export interface FileWithSignedUrl {
1083
1162
  id: Scalars['UUID'];
1084
1163
  path: Scalars['String'];
@@ -1121,6 +1200,36 @@ export interface NavigationMenuItem {
1121
1200
  __typename: 'NavigationMenuItem';
1122
1201
  }
1123
1202
  export type NavigationMenuItemType = 'VIEW' | 'FOLDER' | 'LINK' | 'OBJECT' | 'RECORD' | 'PAGE_LAYOUT';
1203
+ export interface RecordPermissionsDTO {
1204
+ canRead: Scalars['Boolean'];
1205
+ canUpdate: Scalars['Boolean'];
1206
+ canDelete: Scalars['Boolean'];
1207
+ canSoftDelete: Scalars['Boolean'];
1208
+ __typename: 'RecordPermissionsDTO';
1209
+ }
1210
+ export interface RecordSharingGrantDTO {
1211
+ id: Scalars['ID'];
1212
+ principalType: Scalars['String'];
1213
+ principalId: Scalars['UUID'];
1214
+ accessLevel: RecordShareAccessLevel;
1215
+ rowCause: Scalars['String'];
1216
+ __typename: 'RecordSharingGrantDTO';
1217
+ }
1218
+ export type RecordShareAccessLevel = 'READ' | 'READ_WRITE' | 'FULL';
1219
+ export interface RecordSharingRoleDTO {
1220
+ id: Scalars['UUID'];
1221
+ label: Scalars['String'];
1222
+ __typename: 'RecordSharingRoleDTO';
1223
+ }
1224
+ export interface RecordSharingDTO {
1225
+ viewerAccessLevel?: RecordShareAccessLevel;
1226
+ permissions: RecordPermissionsDTO;
1227
+ isEnabled: Scalars['Boolean'];
1228
+ hasInheritedAccess: Scalars['Boolean'];
1229
+ roles: RecordSharingRoleDTO[];
1230
+ shares: RecordSharingGrantDTO[];
1231
+ __typename: 'RecordSharingDTO';
1232
+ }
1124
1233
  export interface JobStatus {
1125
1234
  jobId: Scalars['String'];
1126
1235
  state: JobState;
@@ -1260,60 +1369,6 @@ export interface UsageAnalytics {
1260
1369
  userDailyUsage?: UsageUserDaily;
1261
1370
  __typename: 'UsageAnalytics';
1262
1371
  }
1263
- export interface UsageQuotaDefinition {
1264
- resourceType: UsageResourceType;
1265
- allowedOperationTypes: UsageOperationType[];
1266
- allowedSpenderTypes: Scalars['String'][];
1267
- allowedMeters: Scalars['String'][];
1268
- __typename: 'UsageQuotaDefinition';
1269
- }
1270
- export type UsageResourceType = 'AI' | 'WORKFLOW' | 'APP' | 'STORAGE' | 'API' | 'LOGIC_FUNCTION' | 'EMAIL' | 'WEBHOOK';
1271
- export type UsageOperationType = 'ALL' | 'AI_CHAT_TOKEN' | 'AI_WORKFLOW_TOKEN' | 'WORKFLOW_EXECUTION' | 'CODE_EXECUTION' | 'WEB_SEARCH' | 'CALL_RECORDING' | 'EMAIL_SEND' | 'API_REQUEST' | 'WEBHOOK_CALL' | 'SUBSCRIPTION';
1272
- export interface UsageQuotaDefinitions {
1273
- definitions: UsageQuotaDefinition[];
1274
- isIntraWorkspaceLimitEntitled: Scalars['Boolean'];
1275
- hasAllowancePeriod: Scalars['Boolean'];
1276
- __typename: 'UsageQuotaDefinitions';
1277
- }
1278
- export interface UsageQuotaWithConsumption {
1279
- id: Scalars['UUID'];
1280
- resourceType: UsageResourceType;
1281
- operationType: UsageOperationType;
1282
- spenderType: Scalars['String'];
1283
- spenderId?: Scalars['String'];
1284
- spenderLabel?: Scalars['String'];
1285
- periodUnit: Scalars['String'];
1286
- meter: Scalars['String'];
1287
- limitValue: Scalars['BigInt'];
1288
- isEnforced: Scalars['Boolean'];
1289
- consumedValue?: Scalars['BigInt'];
1290
- remainingValue?: Scalars['BigInt'];
1291
- periodStart?: Scalars['DateTime'];
1292
- periodEnd?: Scalars['DateTime'];
1293
- __typename: 'UsageQuotaWithConsumption';
1294
- }
1295
- export interface UsageQuotaScopeConsumption {
1296
- consumedValue?: Scalars['BigInt'];
1297
- periodStart: Scalars['DateTime'];
1298
- periodEnd: Scalars['DateTime'];
1299
- __typename: 'UsageQuotaScopeConsumption';
1300
- }
1301
- export interface UsageLimit {
1302
- id: Scalars['UUID'];
1303
- resourceType: UsageResourceType;
1304
- operationType: UsageOperationType;
1305
- spenderType: Scalars['String'];
1306
- spenderId?: Scalars['String'];
1307
- limitKind: Scalars['String'];
1308
- periodCount: Scalars['Int'];
1309
- periodUnit: Scalars['String'];
1310
- meter: Scalars['String'];
1311
- limitValue: Scalars['BigInt'];
1312
- burstValue?: Scalars['BigInt'];
1313
- createdAt: Scalars['DateTime'];
1314
- updatedAt: Scalars['DateTime'];
1315
- __typename: 'UsageLimit';
1316
- }
1317
1372
  export interface ApprovedAccessDomain {
1318
1373
  id: Scalars['UUID'];
1319
1374
  domain: Scalars['String'];
@@ -1415,7 +1470,7 @@ export interface FeatureFlag {
1415
1470
  value: Scalars['Boolean'];
1416
1471
  __typename: 'FeatureFlag';
1417
1472
  }
1418
- export type FeatureFlagKey = 'IS_APP_CLAIMING_ENABLED' | 'IS_UNIQUE_INDEXES_ENABLED' | 'IS_CONFIGURABLE_SEARCH_FIELDS_ENABLED' | 'IS_JSON_FILTER_ENABLED' | 'IS_MESSAGE_CAMPAIGN_ENABLED' | 'IS_JUNCTION_RELATIONS_ENABLED' | 'IS_REST_METADATA_API_NEW_FORMAT_DIRECT' | 'IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED' | 'IS_WORKFLOW_CORE_INDEX_PAGE_ENABLED' | 'IS_API_RATE_LIMIT_V2_ENABLED' | 'IS_MESSAGE_CALENDAR_TARGET_READ_ENABLED' | 'IS_QUOTA_ENGINE_CREDIT_BOUND_ENABLED' | 'IS_RECORD_CREATION_FORM_ENABLED' | 'IS_RECORD_SHARING_ENABLED' | 'IS_INITIAL_OBJECT_VIEW_ENABLED' | 'IS_WEBHOOK_RATE_LIMIT_ENABLED';
1473
+ export type FeatureFlagKey = 'IS_ASYNC_CSV_EXPORT_ENABLED' | 'IS_UNIQUE_INDEXES_ENABLED' | 'IS_CONFIGURABLE_SEARCH_FIELDS_ENABLED' | 'IS_JSON_FILTER_ENABLED' | 'IS_MESSAGE_CAMPAIGN_ENABLED' | 'IS_JUNCTION_RELATIONS_ENABLED' | 'IS_REST_METADATA_API_NEW_FORMAT_DIRECT' | 'IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED' | 'IS_WORKFLOW_CORE_INDEX_PAGE_ENABLED' | 'IS_RECORD_SHARING_ENABLED' | 'IS_AI_CHAT_SHARING_DROPDOWN_ENABLED' | 'IS_INITIAL_OBJECT_VIEW_ENABLED' | 'IS_WEBHOOK_RATE_LIMIT_ENABLED' | 'IS_DEFERRED_WORKSPACE_MIGRATION_ACTIONS_ENABLED' | 'IS_EXECUTION_QUOTA_ENABLED' | 'IS_RECORD_CREATION_FORM_ENABLED';
1419
1474
  export interface WorkspaceUrls {
1420
1475
  customUrl?: Scalars['String'];
1421
1476
  subdomainUrl: Scalars['String'];
@@ -1521,6 +1576,21 @@ export interface ClientAiModelConfig {
1521
1576
  __typename: 'ClientAiModelConfig';
1522
1577
  }
1523
1578
  export type ModelFamily = 'GPT' | 'CLAUDE' | 'GEMINI' | 'MISTRAL' | 'GROK';
1579
+ export interface ClientAiEvaluationModelConfig {
1580
+ modelId: Scalars['String'];
1581
+ label: Scalars['String'];
1582
+ description?: Scalars['String'];
1583
+ providerLabel?: Scalars['String'];
1584
+ isAvailable: Scalars['Boolean'];
1585
+ supportedQuestionTypes: Scalars['String'][];
1586
+ maxCriteriaPerQuestion?: Scalars['Float'];
1587
+ maxScoreLevels?: Scalars['Float'];
1588
+ medianLatencyMs?: Scalars['Float'];
1589
+ inputCostPerMillionTokens?: Scalars['Float'];
1590
+ outputCostPerMillionTokens?: Scalars['Float'];
1591
+ isDeprecated?: Scalars['Boolean'];
1592
+ __typename: 'ClientAiEvaluationModelConfig';
1593
+ }
1524
1594
  export interface ClientAiModelTierConfig {
1525
1595
  tier: AiModelTier;
1526
1596
  modelId: Scalars['String'];
@@ -1579,6 +1649,7 @@ export interface ClientConfig {
1579
1649
  authProviders: AuthProviders;
1580
1650
  billing: Billing;
1581
1651
  aiModels: ClientAiModelConfig[];
1652
+ aiEvaluationModels: ClientAiEvaluationModelConfig[];
1582
1653
  aiModelTiers: ClientAiModelTierConfig[];
1583
1654
  signInPrefilled: Scalars['Boolean'];
1584
1655
  isMultiWorkspaceEnabled: Scalars['Boolean'];
@@ -1726,6 +1797,19 @@ export interface DeletedWorkspaceMember {
1726
1797
  userWorkspaceId?: Scalars['UUID'];
1727
1798
  __typename: 'DeletedWorkspaceMember';
1728
1799
  }
1800
+ export interface ApplicationHealthCheckAction {
1801
+ label: Scalars['String'];
1802
+ location?: Scalars['String'];
1803
+ __typename: 'ApplicationHealthCheckAction';
1804
+ }
1805
+ export interface ApplicationHealthCheckResult {
1806
+ status: ApplicationHealthStatus;
1807
+ title?: Scalars['String'];
1808
+ description?: Scalars['String'];
1809
+ action?: ApplicationHealthCheckAction;
1810
+ __typename: 'ApplicationHealthCheckResult';
1811
+ }
1812
+ export type ApplicationHealthStatus = 'OK' | 'SUCCESS' | 'INFO' | 'WARNING' | 'ERROR' | 'NEUTRAL' | 'UNKNOWN';
1729
1813
  export interface MarketplaceApp {
1730
1814
  id: Scalars['String'];
1731
1815
  name: Scalars['String'];
@@ -1795,6 +1879,7 @@ export interface MarketplaceAppDetail {
1795
1879
  installCount: Scalars['Int'];
1796
1880
  defaultRoleUniversalIdentifier?: Scalars['String'];
1797
1881
  roles?: MarketplaceAppRole[];
1882
+ requestedCapabilities: Scalars['String'][];
1798
1883
  /** @deprecated Use the explicit MarketplaceAppDetail fields (description, author, roles, ...) instead */
1799
1884
  manifest?: Scalars['JSON'];
1800
1885
  __typename: 'MarketplaceAppDetail';
@@ -1807,6 +1892,11 @@ export interface TriggerUninstallApplicationJobResult {
1807
1892
  jobId: Scalars['String'];
1808
1893
  __typename: 'TriggerUninstallApplicationJobResult';
1809
1894
  }
1895
+ export interface ApplicationCapabilityGrant {
1896
+ id: Scalars['UUID'];
1897
+ grantedCapabilities: Scalars['String'][];
1898
+ __typename: 'ApplicationCapabilityGrant';
1899
+ }
1810
1900
  export interface WorkspaceCompanyEnrichmentResult {
1811
1901
  outcome: WorkspaceCompanyEnrichmentOutcome;
1812
1902
  enrichment?: Scalars['JSON'];
@@ -2165,7 +2255,7 @@ export interface ApplicationFileUploadTarget {
2165
2255
  expiresAt: Scalars['DateTime'];
2166
2256
  __typename: 'ApplicationFileUploadTarget';
2167
2257
  }
2168
- export type FileFolder = 'CorePicture' | 'AgentChat' | 'BuiltLogicFunction' | 'BuiltFrontComponent' | 'PublicAsset' | 'Source' | 'FilesField' | 'Dependencies' | 'Workflow' | 'EmailAttachment' | 'EmailImage' | 'AppTarball' | 'GeneratedSdkClient' | 'Dpa';
2258
+ export type FileFolder = 'RecordExport' | 'CorePicture' | 'AgentChat' | 'BuiltLogicFunction' | 'BuiltFrontComponent' | 'PublicAsset' | 'Source' | 'FilesField' | 'Dependencies' | 'Workflow' | 'EmailAttachment' | 'EmailImage' | 'AppTarball' | 'GeneratedSdkClient' | 'Dpa';
2169
2259
  export interface ApplicationFileUploadError {
2170
2260
  fileFolder: FileFolder;
2171
2261
  filePath: Scalars['String'];
@@ -2269,7 +2359,6 @@ export interface CampaignAudiencePreviewDTO {
2269
2359
  totalMembers: Scalars['Int'];
2270
2360
  withoutEmail: Scalars['Int'];
2271
2361
  duplicateEmails: Scalars['Int'];
2272
- overCap: Scalars['Int'];
2273
2362
  hardSuppressed: Scalars['Int'];
2274
2363
  globallyUnsubscribed: Scalars['Int'];
2275
2364
  topicUnsubscribed: Scalars['Int'];
@@ -2392,6 +2481,8 @@ export interface ToolIndexEntry {
2392
2481
  category: Scalars['String'];
2393
2482
  objectName?: Scalars['String'];
2394
2483
  icon?: Scalars['String'];
2484
+ widgetName?: Scalars['String'];
2485
+ frontComponentId?: Scalars['String'];
2395
2486
  inputSchema?: Scalars['JSON'];
2396
2487
  __typename: 'ToolIndexEntry';
2397
2488
  }
@@ -2539,6 +2630,14 @@ export interface EventLogQueryResult {
2539
2630
  pageInfo: EventLogPageInfo;
2540
2631
  __typename: 'EventLogQueryResult';
2541
2632
  }
2633
+ export interface RecordExport {
2634
+ id: Scalars['UUID'];
2635
+ filename: Scalars['String'];
2636
+ progress: Scalars['Int'];
2637
+ errorMessage?: Scalars['String'];
2638
+ downloadPath?: Scalars['String'];
2639
+ __typename: 'RecordExport';
2640
+ }
2542
2641
  export interface AiChatUsage {
2543
2642
  limitValue: Scalars['BigInt'];
2544
2643
  consumedValue?: Scalars['BigInt'];
@@ -2565,6 +2664,7 @@ export interface AgentMessage {
2565
2664
  threadId: Scalars['UUID'];
2566
2665
  turnId?: Scalars['UUID'];
2567
2666
  agentId?: Scalars['UUID'];
2667
+ senderUserWorkspaceId?: Scalars['UUID'];
2568
2668
  role: Scalars['String'];
2569
2669
  status: Scalars['String'];
2570
2670
  parts: AgentMessagePart[];
@@ -2627,6 +2727,12 @@ export interface StartWorkspaceSetupChatResult {
2627
2727
  __typename: 'StartWorkspaceSetupChatResult';
2628
2728
  }
2629
2729
  export type WorkspaceSetupChatOutcome = 'STARTED' | 'ALREADY_STARTED' | 'UNAVAILABLE';
2730
+ export interface RecordPermissionsResult {
2731
+ objectMetadataId: Scalars['UUID'];
2732
+ recordId: Scalars['UUID'];
2733
+ permissions: RecordPermissionsDTO;
2734
+ __typename: 'RecordPermissionsResult';
2735
+ }
2630
2736
  export interface AgentTurnEvaluation {
2631
2737
  id: Scalars['UUID'];
2632
2738
  turnId: Scalars['UUID'];
@@ -2751,12 +2857,25 @@ export interface TimelineActivityType {
2751
2857
  updatedAt: Scalars['DateTime'];
2752
2858
  __typename: 'TimelineActivityType';
2753
2859
  }
2860
+ export interface PermissionFlag {
2861
+ id: Scalars['UUID'];
2862
+ universalIdentifier: Scalars['UUID'];
2863
+ key: Scalars['String'];
2864
+ label: Scalars['String'];
2865
+ description?: Scalars['String'];
2866
+ icon?: Scalars['String'];
2867
+ permissionType: Scalars['String'];
2868
+ applicationId: Scalars['UUID'];
2869
+ createdAt: Scalars['DateTime'];
2870
+ updatedAt: Scalars['DateTime'];
2871
+ __typename: 'PermissionFlag';
2872
+ }
2754
2873
  export interface CollectionHash {
2755
2874
  collectionName: AllMetadataName;
2756
2875
  hash: Scalars['String'];
2757
2876
  __typename: 'CollectionHash';
2758
2877
  }
2759
- export type AllMetadataName = 'fieldMetadata' | 'objectMetadata' | 'view' | 'viewField' | 'viewFieldGroup' | 'viewGroup' | 'viewSort' | 'rowLevelPermissionPredicate' | 'rowLevelPermissionPredicateGroup' | 'viewFilterGroup' | 'index' | 'logicFunction' | 'viewFilter' | 'role' | 'roleTarget' | 'agent' | 'skill' | 'pageLayout' | 'pageLayoutWidget' | 'pageLayoutTab' | 'commandMenuItem' | 'navigationMenuItem' | 'rolePermissionFlag' | 'permissionFlag' | 'objectPermission' | 'fieldPermission' | 'frontComponent' | 'webhook' | 'applicationVariable' | 'connectionProvider' | 'searchFieldMetadata' | 'timelineActivityType';
2878
+ export type AllMetadataName = 'fieldMetadata' | 'objectMetadata' | 'view' | 'viewField' | 'viewFieldGroup' | 'viewGroup' | 'viewSort' | 'rowLevelPermissionPredicate' | 'rowLevelPermissionPredicateGroup' | 'viewFilterGroup' | 'index' | 'logicFunction' | 'viewFilter' | 'role' | 'roleTarget' | 'agent' | 'skill' | 'pageLayout' | 'pageLayoutWidget' | 'pageLayoutTab' | 'commandMenuItem' | 'navigationMenuItem' | 'rolePermissionFlag' | 'permissionFlag' | 'objectPermission' | 'fieldPermission' | 'frontComponent' | 'webhook' | 'applicationVariable' | 'connectionProvider' | 'searchFieldMetadata' | 'timelineActivityType' | 'settingsMenuItem' | 'workflow' | 'workflowVersion';
2760
2879
  export interface MinimalObjectMetadata {
2761
2880
  id: Scalars['UUID'];
2762
2881
  nameSingular: Scalars['String'];
@@ -2784,18 +2903,19 @@ export interface MinimalMetadata {
2784
2903
  __typename: 'MinimalMetadata';
2785
2904
  }
2786
2905
  export interface Query {
2906
+ recordSharing: RecordSharingDTO;
2787
2907
  navigationMenuItems: NavigationMenuItem[];
2788
2908
  navigationMenuItem?: NavigationMenuItem;
2789
- applicationSdkClientChecksums?: SdkClientChecksums;
2790
- isApplicationStopped: Scalars['Boolean'];
2791
2909
  enterprisePortalSession?: Scalars['String'];
2792
2910
  enterpriseCheckoutSession?: Scalars['String'];
2793
2911
  enterpriseSubscriptionStatus?: EnterpriseSubscriptionStatusDTO;
2794
- getUsageAnalytics: UsageAnalytics;
2912
+ applicationSdkClientChecksums?: SdkClientChecksums;
2913
+ isApplicationStopped: Scalars['Boolean'];
2795
2914
  usageLimits: UsageLimit[];
2796
2915
  usageQuotasWithConsumption: UsageQuotaWithConsumption[];
2797
2916
  usageQuotaDefinitions: UsageQuotaDefinitions;
2798
2917
  usageQuotaScopeConsumption?: UsageQuotaScopeConsumption;
2918
+ getUsageAnalytics: UsageAnalytics;
2799
2919
  getViewFilterGroups: ViewFilterGroup[];
2800
2920
  getViewFilterGroup?: ViewFilterGroup;
2801
2921
  getViewFilters: ViewFilter[];
@@ -2812,12 +2932,12 @@ export interface Query {
2812
2932
  getApiKeyRoles: Role[];
2813
2933
  apiKey?: ApiKey;
2814
2934
  currentUserSessions: UserSession[];
2815
- myConnectedAccounts: ConnectedAccountPublicDTO[];
2816
- applicationConnectedAccounts: ApplicationConnectedAccountDTO[];
2817
- applicationConnectionProviders: ApplicationConnectionProvider[];
2818
2935
  billingPortalSession: BillingSession;
2819
2936
  listPlans: BillingPlan[];
2820
2937
  getResourceCreditUsage: BillingResourceCreditUsage[];
2938
+ myConnectedAccounts: ConnectedAccountPublicDTO[];
2939
+ applicationConnectedAccounts: ApplicationConnectedAccountDTO[];
2940
+ applicationConnectionProviders: ApplicationConnectionProvider[];
2821
2941
  getInviteSuggestions: InviteSuggestion[];
2822
2942
  findWorkspaceInvitations: WorkspaceInvitation[];
2823
2943
  getApprovedAccessDomains: ApprovedAccessDomain[];
@@ -2878,6 +2998,7 @@ export interface Query {
2878
2998
  webhook?: Webhook;
2879
2999
  myMessageFolders: MessageFolder[];
2880
3000
  myCalendarChannels: CalendarChannel[];
3001
+ getPermissionFlags: PermissionFlag[];
2881
3002
  minimalMetadata: MinimalMetadata;
2882
3003
  appKeyValue?: AppKeyValue;
2883
3004
  getJobs: JobStatus[];
@@ -2889,12 +3010,14 @@ export interface Query {
2889
3010
  chatThread: AgentChatThread;
2890
3011
  chatMessages: AgentMessage[];
2891
3012
  chatStreamCatchupChunks: ChatStreamCatchupChunks;
3013
+ chatThreadsForRecord: AgentChatThread[];
2892
3014
  getAiSystemPromptPreview: AiSystemPromptPreview;
2893
3015
  skills: Skill[];
2894
3016
  skill?: Skill;
2895
3017
  agentTurns: AgentTurn[];
2896
3018
  timelineActivityTypes: TimelineActivityType[];
2897
3019
  metadataTranslations: MetadataTranslation[];
3020
+ recordPermissions: RecordPermissionsResult[];
2898
3021
  checkUserExists: CheckUserExist;
2899
3022
  checkWorkspaceInviteHashIsValid: WorkspaceInviteHashValid;
2900
3023
  findWorkspaceFromInviteHash: Workspace;
@@ -2913,6 +3036,7 @@ export interface Query {
2913
3036
  getAddressDetails: PlaceDetailsResult;
2914
3037
  findManyPublicDomains: PublicDomain[];
2915
3038
  exportApplication: ApplicationExport;
3039
+ applicationCoreGraphqlSchema: Scalars['String'];
2916
3040
  currentUserApplicationAuthorizations: ApplicationAuthorization[];
2917
3041
  __typename: 'Query';
2918
3042
  }
@@ -2920,6 +3044,7 @@ export type EventLogTable = 'WORKSPACE_EVENT' | 'PAGEVIEW' | 'OBJECT_EVENT' | 'U
2920
3044
  export interface Mutation {
2921
3045
  addQueryToEventStream: Scalars['Boolean'];
2922
3046
  removeQueryFromEventStream: Scalars['Boolean'];
3047
+ setRecordShare: RecordSharingDTO;
2923
3048
  createManyNavigationMenuItems: NavigationMenuItem[];
2924
3049
  createNavigationMenuItem: NavigationMenuItem;
2925
3050
  updateManyNavigationMenuItems: NavigationMenuItem[];
@@ -2931,8 +3056,13 @@ export interface Mutation {
2931
3056
  refreshEnterpriseValidityToken: Scalars['Boolean'];
2932
3057
  releaseEnterpriseServerBinding: EnterpriseLicenseInfoDTO;
2933
3058
  setEnterpriseKey: EnterpriseLicenseInfoDTO;
3059
+ /** @deprecated Use createFileUpload with the CorePicture folder and completeWorkspaceLogoUpload, which send the logo straight to file storage. */
2934
3060
  uploadWorkspaceLogo: FileWithSignedUrl;
3061
+ /** @deprecated Use createFileUpload with the CorePicture folder and completeWorkspaceMemberProfilePictureUpload, which send the picture straight to file storage. */
2935
3062
  uploadWorkspaceMemberProfilePicture: FileWithSignedUrl;
3063
+ completeWorkspaceLogoUpload: FileWithSignedUrl;
3064
+ completeWorkspaceMemberProfilePictureUpload: FileWithSignedUrl;
3065
+ /** @deprecated Use createFileUpload with the FilesField folder and the fieldMetadataUniversalIdentifier, then completeFileUpload, which send the file straight to file storage. */
2936
3066
  uploadFilesFieldFileByUniversalIdentifier: FileWithSignedUrl;
2937
3067
  createUsageLimit: UsageLimit;
2938
3068
  updateUsageLimit: UsageLimit;
@@ -2971,8 +3101,6 @@ export interface Mutation {
2971
3101
  assignRoleToApiKey: Scalars['Boolean'];
2972
3102
  revokeUserSession: Scalars['Boolean'];
2973
3103
  revokeAllOtherUserSessions: Scalars['Int'];
2974
- deleteConnectedAccount: ConnectedAccountPublicDTO;
2975
- updateOneApplicationVariable: Scalars['Boolean'];
2976
3104
  checkoutSession: BillingSession;
2977
3105
  createSubscriptionPaymentIntent: BillingPaymentIntent;
2978
3106
  createBillingPaymentMethodSetupIntent: BillingPaymentIntent;
@@ -2983,6 +3111,9 @@ export interface Mutation {
2983
3111
  setResourceCreditSubscriptionPrice: BillingUpdate;
2984
3112
  endSubscriptionTrialPeriod: BillingEndTrialPeriod;
2985
3113
  cancelSwitchResourceCreditPrice: BillingUpdate;
3114
+ deleteConnectedAccount: ConnectedAccountPublicDTO;
3115
+ disconnectConnectedAccount: ConnectedAccountPublicDTO;
3116
+ updateOneApplicationVariable: Scalars['Boolean'];
2986
3117
  skipSyncEmailOnboardingStep: OnboardingStepSuccess;
2987
3118
  completeBookCallOnboardingStep: OnboardingStepSuccess;
2988
3119
  triggerInstallAppsOnboardingStep: OnboardingStepSuccess;
@@ -3012,6 +3143,7 @@ export interface Mutation {
3012
3143
  createOneObject: Object;
3013
3144
  deleteOneObject: Object;
3014
3145
  updateOneObject: Object;
3146
+ updateManyObjects: Object[];
3015
3147
  createOneIndex: Index;
3016
3148
  deleteOneIndex: Index;
3017
3149
  deleteOneLogicFunction: LogicFunction;
@@ -3022,11 +3154,13 @@ export interface Mutation {
3022
3154
  updateCommandMenuItem: CommandMenuItem;
3023
3155
  resetCommandMenuItem: CommandMenuItem;
3024
3156
  deleteCommandMenuItem: CommandMenuItem;
3157
+ generateFrontComponentApplicationTokenPair: ApplicationTokenPair;
3025
3158
  createFrontComponent: FrontComponent;
3026
3159
  updateFrontComponent: FrontComponent;
3027
3160
  deleteFrontComponent: FrontComponent;
3028
3161
  activateWorkspace: Workspace;
3029
3162
  updateWorkspace: Workspace;
3163
+ updateWorkspaceAllowedIframeOrigins: Workspace;
3030
3164
  deleteCurrentWorkspace: Workspace;
3031
3165
  checkCustomDomainValidRecords?: DomainValidRecords;
3032
3166
  enrichWorkspaceCompany: WorkspaceCompanyEnrichmentResult;
@@ -3038,9 +3172,12 @@ export interface Mutation {
3038
3172
  createApplicationRegistrationVariable: ApplicationRegistrationVariable;
3039
3173
  updateApplicationRegistrationVariable: ApplicationRegistrationVariable;
3040
3174
  deleteApplicationRegistrationVariable: Scalars['Boolean'];
3175
+ completeAppTarballUpload: ApplicationRegistration;
3176
+ /** @deprecated Use createFileUpload with the AppTarball folder and completeAppTarballUpload, which send the tarball straight to file storage. */
3041
3177
  uploadAppTarball: ApplicationRegistration;
3042
3178
  claimApplicationRegistrationOwnership: ApplicationRegistration;
3043
3179
  transferApplicationRegistrationOwnership: ApplicationRegistration;
3180
+ grantApplicationCapabilities: ApplicationCapabilityGrant;
3044
3181
  /** @deprecated Use installApplication instead */
3045
3182
  installMarketplaceApp: Scalars['Boolean'];
3046
3183
  installApplication: Application;
@@ -3049,6 +3186,7 @@ export interface Mutation {
3049
3186
  updateApplication: Application;
3050
3187
  uninstallApplication: Scalars['Boolean'];
3051
3188
  syncMarketplaceCatalog: Scalars['Boolean'];
3189
+ runApplicationHealthCheck?: ApplicationHealthCheckResult;
3052
3190
  createOneField: Field;
3053
3191
  updateOneField: Field;
3054
3192
  deleteOneField: Field;
@@ -3068,7 +3206,6 @@ export interface Mutation {
3068
3206
  upsertRowLevelPermissionPredicates: UpsertRowLevelPermissionPredicatesResult;
3069
3207
  assignRoleToAgent: Scalars['Boolean'];
3070
3208
  removeRoleFromAgent: Scalars['Boolean'];
3071
- sendEmailViaEmailingDomain: SendEmailViaDomainOutput;
3072
3209
  sendMessageCampaign: SendMessageCampaignOutputDTO;
3073
3210
  cancelMessageCampaign: CancelMessageCampaignOutputDTO;
3074
3211
  sendMessageCampaignTest: SendEmailViaDomainOutput;
@@ -3102,6 +3239,8 @@ export interface Mutation {
3102
3239
  enqueueJob: EnqueueJobResult;
3103
3240
  enqueueJobs: EnqueueJobsResult;
3104
3241
  reportAppConnectionAuthFailure: Scalars['Boolean'];
3242
+ attachChatThreadToRecord: Scalars['Boolean'];
3243
+ detachChatThreadFromRecord: Scalars['Boolean'];
3105
3244
  createChatThread: AgentChatThread;
3106
3245
  sendChatMessage: SendChatMessageResult;
3107
3246
  retryChatMessage: SendChatMessageResult;
@@ -3131,7 +3270,10 @@ export interface Mutation {
3131
3270
  signUp: AvailableWorkspacesAndAccessTokens;
3132
3271
  signUpInWorkspace: SignUp;
3133
3272
  signUpInNewWorkspace: SignUp;
3273
+ /** @deprecated Use createNewWorkspaceLogoUpload and completeNewWorkspaceLogoUpload, which send the logo straight to file storage. */
3134
3274
  uploadNewWorkspaceLogo: FileWithSignedUrl;
3275
+ createNewWorkspaceLogoUpload: FileUploadTarget;
3276
+ completeNewWorkspaceLogoUpload: FileWithSignedUrl;
3135
3277
  generateTransientToken: TransientToken;
3136
3278
  getAuthTokensFromLoginToken: AuthTokens;
3137
3279
  getAuthTokensFromSSOExchangeToken: AuthTokens;
@@ -3170,11 +3312,11 @@ export interface Mutation {
3170
3312
  checkPublicDomainValidRecords?: DomainValidRecords;
3171
3313
  createDevelopmentApplication: DevelopmentApplication;
3172
3314
  syncApplication: WorkspaceMigration;
3315
+ /** @deprecated Use createApplicationFileUploads and completeApplicationFileUploads, which send the files straight to file storage. */
3173
3316
  uploadApplicationFile: File;
3174
3317
  createApplicationFileUploads: CreateApplicationFileUploadsResult;
3175
3318
  completeApplicationFileUploads: CompleteApplicationFileUploadsResult;
3176
3319
  revokeApplicationAuthorization: Scalars['Boolean'];
3177
- generateApplicationToken: ApplicationTokenPair;
3178
3320
  renewApplicationToken: ApplicationTokenPair;
3179
3321
  __typename: 'Mutation';
3180
3322
  }
@@ -3186,6 +3328,7 @@ export interface Subscription {
3186
3328
  logicFunctionLogs: LogicFunctionLogs;
3187
3329
  onAgentChatEvent: AgentChatEvent;
3188
3330
  eventLogsLive?: EventLogRecord[];
3331
+ exportRecords: RecordExport;
3189
3332
  __typename: 'Subscription';
3190
3333
  }
3191
3334
  export interface BillingProductDTOGenqlSelection {
@@ -3225,6 +3368,7 @@ export interface ApplicationVariableGenqlSelection {
3225
3368
  label?: boolean | number;
3226
3369
  isSecret?: boolean | number;
3227
3370
  isDeprecated?: boolean | number;
3371
+ isRequired?: boolean | number;
3228
3372
  type?: boolean | number;
3229
3373
  options?: boolean | number;
3230
3374
  __typename?: boolean | number;
@@ -3275,15 +3419,19 @@ export interface FrontComponentGenqlSelection {
3275
3419
  updatedAt?: boolean | number;
3276
3420
  isHeadless?: boolean | number;
3277
3421
  usesSdkClient?: boolean | number;
3422
+ /** @deprecated Use generateFrontComponentApplicationTokenPair */
3278
3423
  applicationTokenPair?: ApplicationTokenPairGenqlSelection;
3279
3424
  applicationVariables?: boolean | number;
3280
3425
  frontComponentSharedDependenciesChecksum?: boolean | number;
3426
+ applicationName?: boolean | number;
3427
+ applicationGrantedCapabilities?: boolean | number;
3281
3428
  __typename?: boolean | number;
3282
3429
  __scalar?: boolean | number;
3283
3430
  }
3284
3431
  export interface CommandMenuItemGenqlSelection {
3285
3432
  id?: boolean | number;
3286
3433
  workflowVersionId?: boolean | number;
3434
+ coreWorkflowVersionId?: boolean | number;
3287
3435
  frontComponentId?: boolean | number;
3288
3436
  frontComponent?: FrontComponentGenqlSelection;
3289
3437
  engineComponentKey?: boolean | number;
@@ -3324,6 +3472,20 @@ export interface ObjectMetadataCommandMenuItemPayloadGenqlSelection {
3324
3472
  __typename?: boolean | number;
3325
3473
  __scalar?: boolean | number;
3326
3474
  }
3475
+ export interface SettingsMenuItemGenqlSelection {
3476
+ id?: boolean | number;
3477
+ frontComponentId?: boolean | number;
3478
+ title?: boolean | number;
3479
+ icon?: boolean | number;
3480
+ position?: boolean | number;
3481
+ scope?: boolean | number;
3482
+ universalIdentifier?: boolean | number;
3483
+ applicationId?: boolean | number;
3484
+ createdAt?: boolean | number;
3485
+ updatedAt?: boolean | number;
3486
+ __typename?: boolean | number;
3487
+ __scalar?: boolean | number;
3488
+ }
3327
3489
  export interface LogicFunctionGenqlSelection {
3328
3490
  id?: boolean | number;
3329
3491
  name?: boolean | number;
@@ -3574,10 +3736,12 @@ export interface ApplicationGenqlSelection {
3574
3736
  autoUpgrade?: boolean | number;
3575
3737
  defaultRoleId?: boolean | number;
3576
3738
  settingsCustomTabFrontComponentId?: boolean | number;
3739
+ healthCheckLogicFunctionId?: boolean | number;
3577
3740
  defaultLogicFunctionRole?: RoleGenqlSelection;
3578
3741
  agents?: AgentGenqlSelection;
3579
3742
  frontComponents?: FrontComponentGenqlSelection;
3580
3743
  commandMenuItems?: CommandMenuItemGenqlSelection;
3744
+ settingsMenuItems?: SettingsMenuItemGenqlSelection;
3581
3745
  logicFunctions?: LogicFunctionGenqlSelection;
3582
3746
  objects?: ObjectGenqlSelection;
3583
3747
  applicationVariables?: ApplicationVariableGenqlSelection;
@@ -3724,6 +3888,7 @@ export interface ViewGenqlSelection {
3724
3888
  mainGroupByFieldMetadataId?: boolean | number;
3725
3889
  shouldHideEmptyGroups?: boolean | number;
3726
3890
  kanbanColumnWidth?: boolean | number;
3891
+ groupLoadLimit?: boolean | number;
3727
3892
  calendarFieldMetadataId?: boolean | number;
3728
3893
  calendarEndFieldMetadataId?: boolean | number;
3729
3894
  workspaceId?: boolean | number;
@@ -3780,12 +3945,14 @@ export interface WorkspaceGenqlSelection {
3780
3945
  isMicrosoftAuthBypassEnabled?: boolean | number;
3781
3946
  isCustomDomainEnabled?: boolean | number;
3782
3947
  isInternalMessagesImportEnabled?: boolean | number;
3948
+ allowedIframeOrigins?: boolean | number;
3783
3949
  editableProfileFields?: boolean | number;
3784
3950
  defaultRole?: RoleGenqlSelection;
3785
3951
  aiChatModelTier?: boolean | number;
3786
3952
  aiAgentModelTier?: boolean | number;
3787
3953
  isAutoModelSelectionEnabled?: boolean | number;
3788
3954
  aiModelIdByTier?: boolean | number;
3955
+ aiEvaluationModelId?: boolean | number;
3789
3956
  aiAdditionalInstructions?: boolean | number;
3790
3957
  workspaceCustomApplication?: ApplicationGenqlSelection;
3791
3958
  featureFlags?: FeatureFlagGenqlSelection;
@@ -4383,6 +4550,64 @@ export interface EnterpriseSubscriptionStatusDTOGenqlSelection {
4383
4550
  __typename?: boolean | number;
4384
4551
  __scalar?: boolean | number;
4385
4552
  }
4553
+ export interface UsageQuotaDefinitionGenqlSelection {
4554
+ resourceType?: boolean | number;
4555
+ limitKind?: boolean | number;
4556
+ allowedOperationTypes?: boolean | number;
4557
+ allowedSpenderTypes?: boolean | number;
4558
+ allowedMeters?: boolean | number;
4559
+ __typename?: boolean | number;
4560
+ __scalar?: boolean | number;
4561
+ }
4562
+ export interface UsageQuotaDefinitionsGenqlSelection {
4563
+ definitions?: UsageQuotaDefinitionGenqlSelection;
4564
+ isIntraWorkspaceLimitEntitled?: boolean | number;
4565
+ hasAllowancePeriod?: boolean | number;
4566
+ __typename?: boolean | number;
4567
+ __scalar?: boolean | number;
4568
+ }
4569
+ export interface UsageQuotaWithConsumptionGenqlSelection {
4570
+ id?: boolean | number;
4571
+ resourceType?: boolean | number;
4572
+ operationType?: boolean | number;
4573
+ spenderType?: boolean | number;
4574
+ spenderId?: boolean | number;
4575
+ spenderLabel?: boolean | number;
4576
+ periodUnit?: boolean | number;
4577
+ meter?: boolean | number;
4578
+ limitValue?: boolean | number;
4579
+ isEnforced?: boolean | number;
4580
+ consumedValue?: boolean | number;
4581
+ remainingValue?: boolean | number;
4582
+ periodStart?: boolean | number;
4583
+ periodEnd?: boolean | number;
4584
+ __typename?: boolean | number;
4585
+ __scalar?: boolean | number;
4586
+ }
4587
+ export interface UsageQuotaScopeConsumptionGenqlSelection {
4588
+ consumedValue?: boolean | number;
4589
+ periodStart?: boolean | number;
4590
+ periodEnd?: boolean | number;
4591
+ __typename?: boolean | number;
4592
+ __scalar?: boolean | number;
4593
+ }
4594
+ export interface UsageLimitGenqlSelection {
4595
+ id?: boolean | number;
4596
+ resourceType?: boolean | number;
4597
+ operationType?: boolean | number;
4598
+ spenderType?: boolean | number;
4599
+ spenderId?: boolean | number;
4600
+ limitKind?: boolean | number;
4601
+ periodCount?: boolean | number;
4602
+ periodUnit?: boolean | number;
4603
+ meter?: boolean | number;
4604
+ limitValue?: boolean | number;
4605
+ burstValue?: boolean | number;
4606
+ createdAt?: boolean | number;
4607
+ updatedAt?: boolean | number;
4608
+ __typename?: boolean | number;
4609
+ __scalar?: boolean | number;
4610
+ }
4386
4611
  export interface FileWithSignedUrlGenqlSelection {
4387
4612
  id?: boolean | number;
4388
4613
  path?: boolean | number;
@@ -4428,6 +4653,39 @@ export interface NavigationMenuItemGenqlSelection {
4428
4653
  __typename?: boolean | number;
4429
4654
  __scalar?: boolean | number;
4430
4655
  }
4656
+ export interface RecordPermissionsDTOGenqlSelection {
4657
+ canRead?: boolean | number;
4658
+ canUpdate?: boolean | number;
4659
+ canDelete?: boolean | number;
4660
+ canSoftDelete?: boolean | number;
4661
+ __typename?: boolean | number;
4662
+ __scalar?: boolean | number;
4663
+ }
4664
+ export interface RecordSharingGrantDTOGenqlSelection {
4665
+ id?: boolean | number;
4666
+ principalType?: boolean | number;
4667
+ principalId?: boolean | number;
4668
+ accessLevel?: boolean | number;
4669
+ rowCause?: boolean | number;
4670
+ __typename?: boolean | number;
4671
+ __scalar?: boolean | number;
4672
+ }
4673
+ export interface RecordSharingRoleDTOGenqlSelection {
4674
+ id?: boolean | number;
4675
+ label?: boolean | number;
4676
+ __typename?: boolean | number;
4677
+ __scalar?: boolean | number;
4678
+ }
4679
+ export interface RecordSharingDTOGenqlSelection {
4680
+ viewerAccessLevel?: boolean | number;
4681
+ permissions?: RecordPermissionsDTOGenqlSelection;
4682
+ isEnabled?: boolean | number;
4683
+ hasInheritedAccess?: boolean | number;
4684
+ roles?: RecordSharingRoleDTOGenqlSelection;
4685
+ shares?: RecordSharingGrantDTOGenqlSelection;
4686
+ __typename?: boolean | number;
4687
+ __scalar?: boolean | number;
4688
+ }
4431
4689
  export interface JobStatusGenqlSelection {
4432
4690
  jobId?: boolean | number;
4433
4691
  state?: boolean | number;
@@ -4578,63 +4836,6 @@ export interface UsageAnalyticsGenqlSelection {
4578
4836
  __typename?: boolean | number;
4579
4837
  __scalar?: boolean | number;
4580
4838
  }
4581
- export interface UsageQuotaDefinitionGenqlSelection {
4582
- resourceType?: boolean | number;
4583
- allowedOperationTypes?: boolean | number;
4584
- allowedSpenderTypes?: boolean | number;
4585
- allowedMeters?: boolean | number;
4586
- __typename?: boolean | number;
4587
- __scalar?: boolean | number;
4588
- }
4589
- export interface UsageQuotaDefinitionsGenqlSelection {
4590
- definitions?: UsageQuotaDefinitionGenqlSelection;
4591
- isIntraWorkspaceLimitEntitled?: boolean | number;
4592
- hasAllowancePeriod?: boolean | number;
4593
- __typename?: boolean | number;
4594
- __scalar?: boolean | number;
4595
- }
4596
- export interface UsageQuotaWithConsumptionGenqlSelection {
4597
- id?: boolean | number;
4598
- resourceType?: boolean | number;
4599
- operationType?: boolean | number;
4600
- spenderType?: boolean | number;
4601
- spenderId?: boolean | number;
4602
- spenderLabel?: boolean | number;
4603
- periodUnit?: boolean | number;
4604
- meter?: boolean | number;
4605
- limitValue?: boolean | number;
4606
- isEnforced?: boolean | number;
4607
- consumedValue?: boolean | number;
4608
- remainingValue?: boolean | number;
4609
- periodStart?: boolean | number;
4610
- periodEnd?: boolean | number;
4611
- __typename?: boolean | number;
4612
- __scalar?: boolean | number;
4613
- }
4614
- export interface UsageQuotaScopeConsumptionGenqlSelection {
4615
- consumedValue?: boolean | number;
4616
- periodStart?: boolean | number;
4617
- periodEnd?: boolean | number;
4618
- __typename?: boolean | number;
4619
- __scalar?: boolean | number;
4620
- }
4621
- export interface UsageLimitGenqlSelection {
4622
- id?: boolean | number;
4623
- resourceType?: boolean | number;
4624
- operationType?: boolean | number;
4625
- spenderType?: boolean | number;
4626
- spenderId?: boolean | number;
4627
- limitKind?: boolean | number;
4628
- periodCount?: boolean | number;
4629
- periodUnit?: boolean | number;
4630
- meter?: boolean | number;
4631
- limitValue?: boolean | number;
4632
- burstValue?: boolean | number;
4633
- createdAt?: boolean | number;
4634
- updatedAt?: boolean | number;
4635
- __typename?: boolean | number;
4636
- __scalar?: boolean | number;
4637
- }
4638
4839
  export interface ApprovedAccessDomainGenqlSelection {
4639
4840
  id?: boolean | number;
4640
4841
  domain?: boolean | number;
@@ -4860,6 +5061,22 @@ export interface ClientAiModelConfigGenqlSelection {
4860
5061
  __typename?: boolean | number;
4861
5062
  __scalar?: boolean | number;
4862
5063
  }
5064
+ export interface ClientAiEvaluationModelConfigGenqlSelection {
5065
+ modelId?: boolean | number;
5066
+ label?: boolean | number;
5067
+ description?: boolean | number;
5068
+ providerLabel?: boolean | number;
5069
+ isAvailable?: boolean | number;
5070
+ supportedQuestionTypes?: boolean | number;
5071
+ maxCriteriaPerQuestion?: boolean | number;
5072
+ maxScoreLevels?: boolean | number;
5073
+ medianLatencyMs?: boolean | number;
5074
+ inputCostPerMillionTokens?: boolean | number;
5075
+ outputCostPerMillionTokens?: boolean | number;
5076
+ isDeprecated?: boolean | number;
5077
+ __typename?: boolean | number;
5078
+ __scalar?: boolean | number;
5079
+ }
4863
5080
  export interface ClientAiModelTierConfigGenqlSelection {
4864
5081
  tier?: boolean | number;
4865
5082
  modelId?: boolean | number;
@@ -4925,6 +5142,7 @@ export interface ClientConfigGenqlSelection {
4925
5142
  authProviders?: AuthProvidersGenqlSelection;
4926
5143
  billing?: BillingGenqlSelection;
4927
5144
  aiModels?: ClientAiModelConfigGenqlSelection;
5145
+ aiEvaluationModels?: ClientAiEvaluationModelConfigGenqlSelection;
4928
5146
  aiModelTiers?: ClientAiModelTierConfigGenqlSelection;
4929
5147
  signInPrefilled?: boolean | number;
4930
5148
  isMultiWorkspaceEnabled?: boolean | number;
@@ -5088,6 +5306,20 @@ export interface DeletedWorkspaceMemberGenqlSelection {
5088
5306
  __typename?: boolean | number;
5089
5307
  __scalar?: boolean | number;
5090
5308
  }
5309
+ export interface ApplicationHealthCheckActionGenqlSelection {
5310
+ label?: boolean | number;
5311
+ location?: boolean | number;
5312
+ __typename?: boolean | number;
5313
+ __scalar?: boolean | number;
5314
+ }
5315
+ export interface ApplicationHealthCheckResultGenqlSelection {
5316
+ status?: boolean | number;
5317
+ title?: boolean | number;
5318
+ description?: boolean | number;
5319
+ action?: ApplicationHealthCheckActionGenqlSelection;
5320
+ __typename?: boolean | number;
5321
+ __scalar?: boolean | number;
5322
+ }
5091
5323
  export interface MarketplaceAppGenqlSelection {
5092
5324
  id?: boolean | number;
5093
5325
  name?: boolean | number;
@@ -5161,6 +5393,7 @@ export interface MarketplaceAppDetailGenqlSelection {
5161
5393
  installCount?: boolean | number;
5162
5394
  defaultRoleUniversalIdentifier?: boolean | number;
5163
5395
  roles?: MarketplaceAppRoleGenqlSelection;
5396
+ requestedCapabilities?: boolean | number;
5164
5397
  /** @deprecated Use the explicit MarketplaceAppDetail fields (description, author, roles, ...) instead */
5165
5398
  manifest?: boolean | number;
5166
5399
  __typename?: boolean | number;
@@ -5176,6 +5409,12 @@ export interface TriggerUninstallApplicationJobResultGenqlSelection {
5176
5409
  __typename?: boolean | number;
5177
5410
  __scalar?: boolean | number;
5178
5411
  }
5412
+ export interface ApplicationCapabilityGrantGenqlSelection {
5413
+ id?: boolean | number;
5414
+ grantedCapabilities?: boolean | number;
5415
+ __typename?: boolean | number;
5416
+ __scalar?: boolean | number;
5417
+ }
5179
5418
  export interface WorkspaceCompanyEnrichmentResultGenqlSelection {
5180
5419
  outcome?: boolean | number;
5181
5420
  enrichment?: boolean | number;
@@ -5680,7 +5919,6 @@ export interface CampaignAudiencePreviewDTOGenqlSelection {
5680
5919
  totalMembers?: boolean | number;
5681
5920
  withoutEmail?: boolean | number;
5682
5921
  duplicateEmails?: boolean | number;
5683
- overCap?: boolean | number;
5684
5922
  hardSuppressed?: boolean | number;
5685
5923
  globallyUnsubscribed?: boolean | number;
5686
5924
  topicUnsubscribed?: boolean | number;
@@ -5816,6 +6054,8 @@ export interface ToolIndexEntryGenqlSelection {
5816
6054
  category?: boolean | number;
5817
6055
  objectName?: boolean | number;
5818
6056
  icon?: boolean | number;
6057
+ widgetName?: boolean | number;
6058
+ frontComponentId?: boolean | number;
5819
6059
  inputSchema?: boolean | number;
5820
6060
  __typename?: boolean | number;
5821
6061
  __scalar?: boolean | number;
@@ -5981,6 +6221,15 @@ export interface EventLogQueryResultGenqlSelection {
5981
6221
  __typename?: boolean | number;
5982
6222
  __scalar?: boolean | number;
5983
6223
  }
6224
+ export interface RecordExportGenqlSelection {
6225
+ id?: boolean | number;
6226
+ filename?: boolean | number;
6227
+ progress?: boolean | number;
6228
+ errorMessage?: boolean | number;
6229
+ downloadPath?: boolean | number;
6230
+ __typename?: boolean | number;
6231
+ __scalar?: boolean | number;
6232
+ }
5984
6233
  export interface AiChatUsageGenqlSelection {
5985
6234
  limitValue?: boolean | number;
5986
6235
  consumedValue?: boolean | number;
@@ -6009,6 +6258,7 @@ export interface AgentMessageGenqlSelection {
6009
6258
  threadId?: boolean | number;
6010
6259
  turnId?: boolean | number;
6011
6260
  agentId?: boolean | number;
6261
+ senderUserWorkspaceId?: boolean | number;
6012
6262
  role?: boolean | number;
6013
6263
  status?: boolean | number;
6014
6264
  parts?: AgentMessagePartGenqlSelection;
@@ -6079,6 +6329,13 @@ export interface StartWorkspaceSetupChatResultGenqlSelection {
6079
6329
  __typename?: boolean | number;
6080
6330
  __scalar?: boolean | number;
6081
6331
  }
6332
+ export interface RecordPermissionsResultGenqlSelection {
6333
+ objectMetadataId?: boolean | number;
6334
+ recordId?: boolean | number;
6335
+ permissions?: RecordPermissionsDTOGenqlSelection;
6336
+ __typename?: boolean | number;
6337
+ __scalar?: boolean | number;
6338
+ }
6082
6339
  export interface AgentTurnEvaluationGenqlSelection {
6083
6340
  id?: boolean | number;
6084
6341
  turnId?: boolean | number;
@@ -6206,6 +6463,20 @@ export interface TimelineActivityTypeGenqlSelection {
6206
6463
  __typename?: boolean | number;
6207
6464
  __scalar?: boolean | number;
6208
6465
  }
6466
+ export interface PermissionFlagGenqlSelection {
6467
+ id?: boolean | number;
6468
+ universalIdentifier?: boolean | number;
6469
+ key?: boolean | number;
6470
+ label?: boolean | number;
6471
+ description?: boolean | number;
6472
+ icon?: boolean | number;
6473
+ permissionType?: boolean | number;
6474
+ applicationId?: boolean | number;
6475
+ createdAt?: boolean | number;
6476
+ updatedAt?: boolean | number;
6477
+ __typename?: boolean | number;
6478
+ __scalar?: boolean | number;
6479
+ }
6209
6480
  export interface CollectionHashGenqlSelection {
6210
6481
  collectionName?: boolean | number;
6211
6482
  hash?: boolean | number;
@@ -6242,22 +6513,17 @@ export interface MinimalMetadataGenqlSelection {
6242
6513
  __scalar?: boolean | number;
6243
6514
  }
6244
6515
  export interface QueryGenqlSelection {
6245
- navigationMenuItems?: NavigationMenuItemGenqlSelection;
6246
- navigationMenuItem?: (NavigationMenuItemGenqlSelection & {
6516
+ recordSharing?: (RecordSharingDTOGenqlSelection & {
6247
6517
  __args: {
6248
- id: Scalars['UUID'];
6518
+ target: RecordSharingTargetInput;
6249
6519
  };
6250
6520
  });
6251
- applicationSdkClientChecksums?: (SdkClientChecksumsGenqlSelection & {
6521
+ navigationMenuItems?: NavigationMenuItemGenqlSelection;
6522
+ navigationMenuItem?: (NavigationMenuItemGenqlSelection & {
6252
6523
  __args: {
6253
- applicationId: Scalars['UUID'];
6524
+ id: Scalars['UUID'];
6254
6525
  };
6255
6526
  });
6256
- isApplicationStopped?: {
6257
- __args: {
6258
- applicationUniversalIdentifier: Scalars['String'];
6259
- };
6260
- };
6261
6527
  enterprisePortalSession?: {
6262
6528
  __args: {
6263
6529
  returnUrlPath?: (Scalars['String'] | null);
@@ -6267,13 +6533,18 @@ export interface QueryGenqlSelection {
6267
6533
  __args: {
6268
6534
  billingInterval?: (Scalars['String'] | null);
6269
6535
  };
6270
- } | boolean | number;
6271
- enterpriseSubscriptionStatus?: EnterpriseSubscriptionStatusDTOGenqlSelection;
6272
- getUsageAnalytics?: (UsageAnalyticsGenqlSelection & {
6273
- __args?: {
6274
- input?: (UsageAnalyticsInput | null);
6536
+ } | boolean | number;
6537
+ enterpriseSubscriptionStatus?: EnterpriseSubscriptionStatusDTOGenqlSelection;
6538
+ applicationSdkClientChecksums?: (SdkClientChecksumsGenqlSelection & {
6539
+ __args: {
6540
+ applicationId: Scalars['UUID'];
6275
6541
  };
6276
6542
  });
6543
+ isApplicationStopped?: {
6544
+ __args: {
6545
+ applicationUniversalIdentifier: Scalars['String'];
6546
+ };
6547
+ };
6277
6548
  usageLimits?: UsageLimitGenqlSelection;
6278
6549
  usageQuotasWithConsumption?: UsageQuotaWithConsumptionGenqlSelection;
6279
6550
  usageQuotaDefinitions?: UsageQuotaDefinitionsGenqlSelection;
@@ -6282,6 +6553,11 @@ export interface QueryGenqlSelection {
6282
6553
  input: UsageQuotaScopeInput;
6283
6554
  };
6284
6555
  });
6556
+ getUsageAnalytics?: (UsageAnalyticsGenqlSelection & {
6557
+ __args?: {
6558
+ input?: (UsageAnalyticsInput | null);
6559
+ };
6560
+ });
6285
6561
  getViewFilterGroups?: (ViewFilterGroupGenqlSelection & {
6286
6562
  __args?: {
6287
6563
  viewId?: (Scalars['String'] | null);
@@ -6351,6 +6627,14 @@ export interface QueryGenqlSelection {
6351
6627
  };
6352
6628
  });
6353
6629
  currentUserSessions?: UserSessionGenqlSelection;
6630
+ billingPortalSession?: (BillingSessionGenqlSelection & {
6631
+ __args?: {
6632
+ returnUrlPath?: (Scalars['String'] | null);
6633
+ forPaymentMethodUpdate?: (Scalars['Boolean'] | null);
6634
+ };
6635
+ });
6636
+ listPlans?: BillingPlanGenqlSelection;
6637
+ getResourceCreditUsage?: BillingResourceCreditUsageGenqlSelection;
6354
6638
  myConnectedAccounts?: ConnectedAccountPublicDTOGenqlSelection;
6355
6639
  applicationConnectedAccounts?: (ApplicationConnectedAccountDTOGenqlSelection & {
6356
6640
  __args: {
@@ -6362,14 +6646,6 @@ export interface QueryGenqlSelection {
6362
6646
  applicationId: Scalars['UUID'];
6363
6647
  };
6364
6648
  });
6365
- billingPortalSession?: (BillingSessionGenqlSelection & {
6366
- __args?: {
6367
- returnUrlPath?: (Scalars['String'] | null);
6368
- forPaymentMethodUpdate?: (Scalars['Boolean'] | null);
6369
- };
6370
- });
6371
- listPlans?: BillingPlanGenqlSelection;
6372
- getResourceCreditUsage?: BillingResourceCreditUsageGenqlSelection;
6373
6649
  getInviteSuggestions?: InviteSuggestionGenqlSelection;
6374
6650
  findWorkspaceInvitations?: WorkspaceInvitationGenqlSelection;
6375
6651
  getApprovedAccessDomains?: ApprovedAccessDomainGenqlSelection;
@@ -6617,6 +6893,7 @@ export interface QueryGenqlSelection {
6617
6893
  connectedAccountId?: (Scalars['UUID'] | null);
6618
6894
  };
6619
6895
  });
6896
+ getPermissionFlags?: PermissionFlagGenqlSelection;
6620
6897
  minimalMetadata?: MinimalMetadataGenqlSelection;
6621
6898
  appKeyValue?: (AppKeyValueGenqlSelection & {
6622
6899
  __args: {
@@ -6657,6 +6934,14 @@ export interface QueryGenqlSelection {
6657
6934
  threadId: Scalars['UUID'];
6658
6935
  };
6659
6936
  });
6937
+ chatThreadsForRecord?: (AgentChatThreadGenqlSelection & {
6938
+ __args: {
6939
+ objectNameSingular: Scalars['String'];
6940
+ recordId: Scalars['UUID'];
6941
+ limit: Scalars['Int'];
6942
+ offset: Scalars['Int'];
6943
+ };
6944
+ });
6660
6945
  getAiSystemPromptPreview?: AiSystemPromptPreviewGenqlSelection;
6661
6946
  skills?: SkillGenqlSelection;
6662
6947
  skill?: (SkillGenqlSelection & {
@@ -6675,6 +6960,11 @@ export interface QueryGenqlSelection {
6675
6960
  input: MetadataTranslationsInput;
6676
6961
  };
6677
6962
  });
6963
+ recordPermissions?: (RecordPermissionsResultGenqlSelection & {
6964
+ __args: {
6965
+ targets: RecordPermissionsTargetInput[];
6966
+ };
6967
+ });
6678
6968
  checkUserExists?: (CheckUserExistGenqlSelection & {
6679
6969
  __args: {
6680
6970
  email: Scalars['String'];
@@ -6754,15 +7044,18 @@ export interface QueryGenqlSelection {
6754
7044
  universalIdentifier: Scalars['UUID'];
6755
7045
  };
6756
7046
  });
7047
+ applicationCoreGraphqlSchema?: {
7048
+ __args: {
7049
+ applicationUniversalIdentifier: Scalars['String'];
7050
+ };
7051
+ };
6757
7052
  currentUserApplicationAuthorizations?: ApplicationAuthorizationGenqlSelection;
6758
7053
  __typename?: boolean | number;
6759
7054
  __scalar?: boolean | number;
6760
7055
  }
6761
- export interface UsageAnalyticsInput {
6762
- periodStart?: (Scalars['DateTime'] | null);
6763
- periodEnd?: (Scalars['DateTime'] | null);
6764
- userWorkspaceId?: (Scalars['String'] | null);
6765
- operationTypes?: (UsageOperationType[] | null);
7056
+ export interface RecordSharingTargetInput {
7057
+ objectMetadataId: Scalars['UUID'];
7058
+ recordId: Scalars['UUID'];
6766
7059
  }
6767
7060
  export interface UsageQuotaScopeInput {
6768
7061
  resourceType: UsageResourceType;
@@ -6772,6 +7065,12 @@ export interface UsageQuotaScopeInput {
6772
7065
  periodUnit: Scalars['String'];
6773
7066
  meter: Scalars['String'];
6774
7067
  }
7068
+ export interface UsageAnalyticsInput {
7069
+ periodStart?: (Scalars['DateTime'] | null);
7070
+ periodEnd?: (Scalars['DateTime'] | null);
7071
+ userWorkspaceId?: (Scalars['String'] | null);
7072
+ operationTypes?: (UsageOperationType[] | null);
7073
+ }
6775
7074
  export interface GetApiKeyInput {
6776
7075
  id: Scalars['UUID'];
6777
7076
  }
@@ -6820,6 +7119,10 @@ export interface MetadataTranslationsInput {
6820
7119
  fieldMetadataId?: (Scalars['UUID'] | null);
6821
7120
  locale?: (Scalars['String'] | null);
6822
7121
  }
7122
+ export interface RecordPermissionsTargetInput {
7123
+ objectMetadataId: Scalars['UUID'];
7124
+ recordId: Scalars['UUID'];
7125
+ }
6823
7126
  export interface EventLogQueryInput {
6824
7127
  table: EventLogTable;
6825
7128
  filters?: (EventLogFiltersInput | null);
@@ -6860,6 +7163,14 @@ export interface MutationGenqlSelection {
6860
7163
  input: RemoveQueryFromEventStreamInput;
6861
7164
  };
6862
7165
  };
7166
+ setRecordShare?: (RecordSharingDTOGenqlSelection & {
7167
+ __args: {
7168
+ target: RecordSharingTargetInput;
7169
+ principal: RecordSharePrincipalInput;
7170
+ enabled: Scalars['Boolean'];
7171
+ accessLevel?: (RecordShareAccessLevel | null);
7172
+ };
7173
+ });
6863
7174
  createManyNavigationMenuItems?: (NavigationMenuItemGenqlSelection & {
6864
7175
  __args: {
6865
7176
  inputs: CreateNavigationMenuItemInput[];
@@ -6911,16 +7222,29 @@ export interface MutationGenqlSelection {
6911
7222
  enterpriseKey: Scalars['String'];
6912
7223
  };
6913
7224
  });
7225
+ /** @deprecated Use createFileUpload with the CorePicture folder and completeWorkspaceLogoUpload, which send the logo straight to file storage. */
6914
7226
  uploadWorkspaceLogo?: (FileWithSignedUrlGenqlSelection & {
6915
7227
  __args: {
6916
7228
  file: Scalars['Upload'];
6917
7229
  };
6918
7230
  });
7231
+ /** @deprecated Use createFileUpload with the CorePicture folder and completeWorkspaceMemberProfilePictureUpload, which send the picture straight to file storage. */
6919
7232
  uploadWorkspaceMemberProfilePicture?: (FileWithSignedUrlGenqlSelection & {
6920
7233
  __args: {
6921
7234
  file: Scalars['Upload'];
6922
7235
  };
6923
7236
  });
7237
+ completeWorkspaceLogoUpload?: (FileWithSignedUrlGenqlSelection & {
7238
+ __args: {
7239
+ fileId: Scalars['String'];
7240
+ };
7241
+ });
7242
+ completeWorkspaceMemberProfilePictureUpload?: (FileWithSignedUrlGenqlSelection & {
7243
+ __args: {
7244
+ fileId: Scalars['String'];
7245
+ };
7246
+ });
7247
+ /** @deprecated Use createFileUpload with the FilesField folder and the fieldMetadataUniversalIdentifier, then completeFileUpload, which send the file straight to file storage. */
6924
7248
  uploadFilesFieldFileByUniversalIdentifier?: (FileWithSignedUrlGenqlSelection & {
6925
7249
  __args: {
6926
7250
  file: Scalars['Upload'];
@@ -7111,18 +7435,6 @@ export interface MutationGenqlSelection {
7111
7435
  };
7112
7436
  };
7113
7437
  revokeAllOtherUserSessions?: boolean | number;
7114
- deleteConnectedAccount?: (ConnectedAccountPublicDTOGenqlSelection & {
7115
- __args: {
7116
- id: Scalars['UUID'];
7117
- };
7118
- });
7119
- updateOneApplicationVariable?: {
7120
- __args: {
7121
- key: Scalars['String'];
7122
- value: Scalars['String'];
7123
- applicationId: Scalars['UUID'];
7124
- };
7125
- };
7126
7438
  checkoutSession?: (BillingSessionGenqlSelection & {
7127
7439
  __args: {
7128
7440
  recurringInterval: SubscriptionInterval;
@@ -7152,6 +7464,23 @@ export interface MutationGenqlSelection {
7152
7464
  });
7153
7465
  endSubscriptionTrialPeriod?: BillingEndTrialPeriodGenqlSelection;
7154
7466
  cancelSwitchResourceCreditPrice?: BillingUpdateGenqlSelection;
7467
+ deleteConnectedAccount?: (ConnectedAccountPublicDTOGenqlSelection & {
7468
+ __args: {
7469
+ id: Scalars['UUID'];
7470
+ };
7471
+ });
7472
+ disconnectConnectedAccount?: (ConnectedAccountPublicDTOGenqlSelection & {
7473
+ __args: {
7474
+ id: Scalars['UUID'];
7475
+ };
7476
+ });
7477
+ updateOneApplicationVariable?: {
7478
+ __args: {
7479
+ key: Scalars['String'];
7480
+ value: Scalars['String'];
7481
+ applicationId?: (Scalars['UUID'] | null);
7482
+ };
7483
+ };
7155
7484
  skipSyncEmailOnboardingStep?: (OnboardingStepSuccessGenqlSelection & {
7156
7485
  __args: {
7157
7486
  isAutoSkipped: Scalars['Boolean'];
@@ -7300,6 +7629,11 @@ export interface MutationGenqlSelection {
7300
7629
  input: UpdateOneObjectInput;
7301
7630
  };
7302
7631
  });
7632
+ updateManyObjects?: (ObjectGenqlSelection & {
7633
+ __args: {
7634
+ inputs: UpdateOneObjectInput[];
7635
+ };
7636
+ });
7303
7637
  createOneIndex?: (IndexGenqlSelection & {
7304
7638
  __args: {
7305
7639
  input: CreateOneIndexInput;
@@ -7350,6 +7684,11 @@ export interface MutationGenqlSelection {
7350
7684
  id: Scalars['UUID'];
7351
7685
  };
7352
7686
  });
7687
+ generateFrontComponentApplicationTokenPair?: (ApplicationTokenPairGenqlSelection & {
7688
+ __args: {
7689
+ applicationId: Scalars['UUID'];
7690
+ };
7691
+ });
7353
7692
  createFrontComponent?: (FrontComponentGenqlSelection & {
7354
7693
  __args: {
7355
7694
  input: CreateFrontComponentInput;
@@ -7375,6 +7714,11 @@ export interface MutationGenqlSelection {
7375
7714
  data: UpdateWorkspaceInput;
7376
7715
  };
7377
7716
  });
7717
+ updateWorkspaceAllowedIframeOrigins?: (WorkspaceGenqlSelection & {
7718
+ __args: {
7719
+ data: UpdateWorkspaceAllowedIframeOriginsInput;
7720
+ };
7721
+ });
7378
7722
  deleteCurrentWorkspace?: WorkspaceGenqlSelection;
7379
7723
  checkCustomDomainValidRecords?: DomainValidRecordsGenqlSelection;
7380
7724
  enrichWorkspaceCompany?: WorkspaceCompanyEnrichmentResultGenqlSelection;
@@ -7419,6 +7763,12 @@ export interface MutationGenqlSelection {
7419
7763
  id: Scalars['String'];
7420
7764
  };
7421
7765
  };
7766
+ completeAppTarballUpload?: (ApplicationRegistrationGenqlSelection & {
7767
+ __args: {
7768
+ fileId: Scalars['UUID'];
7769
+ };
7770
+ });
7771
+ /** @deprecated Use createFileUpload with the AppTarball folder and completeAppTarballUpload, which send the tarball straight to file storage. */
7422
7772
  uploadAppTarball?: (ApplicationRegistrationGenqlSelection & {
7423
7773
  __args: {
7424
7774
  file: Scalars['Upload'];
@@ -7436,6 +7786,11 @@ export interface MutationGenqlSelection {
7436
7786
  targetWorkspaceSubdomain: Scalars['String'];
7437
7787
  };
7438
7788
  });
7789
+ grantApplicationCapabilities?: (ApplicationCapabilityGrantGenqlSelection & {
7790
+ __args: {
7791
+ input: GrantApplicationCapabilitiesInput;
7792
+ };
7793
+ });
7439
7794
  /** @deprecated Use installApplication instead */
7440
7795
  installMarketplaceApp?: {
7441
7796
  __args: {
@@ -7471,6 +7826,11 @@ export interface MutationGenqlSelection {
7471
7826
  };
7472
7827
  };
7473
7828
  syncMarketplaceCatalog?: boolean | number;
7829
+ runApplicationHealthCheck?: (ApplicationHealthCheckResultGenqlSelection & {
7830
+ __args: {
7831
+ applicationId: Scalars['UUID'];
7832
+ };
7833
+ });
7474
7834
  createOneField?: (FieldGenqlSelection & {
7475
7835
  __args: {
7476
7836
  input: CreateOneFieldMetadataInput;
@@ -7568,11 +7928,6 @@ export interface MutationGenqlSelection {
7568
7928
  agentId: Scalars['UUID'];
7569
7929
  };
7570
7930
  };
7571
- sendEmailViaEmailingDomain?: (SendEmailViaDomainOutputGenqlSelection & {
7572
- __args: {
7573
- input: SendEmailViaDomainInput;
7574
- };
7575
- });
7576
7931
  sendMessageCampaign?: (SendMessageCampaignOutputDTOGenqlSelection & {
7577
7932
  __args: {
7578
7933
  input: SendMessageCampaignInput;
@@ -7735,6 +8090,20 @@ export interface MutationGenqlSelection {
7735
8090
  input: ReportAppConnectionAuthFailureInput;
7736
8091
  };
7737
8092
  };
8093
+ attachChatThreadToRecord?: {
8094
+ __args: {
8095
+ threadId: Scalars['UUID'];
8096
+ objectNameSingular: Scalars['String'];
8097
+ recordId: Scalars['UUID'];
8098
+ };
8099
+ };
8100
+ detachChatThreadFromRecord?: {
8101
+ __args: {
8102
+ threadId: Scalars['UUID'];
8103
+ objectNameSingular: Scalars['String'];
8104
+ recordId: Scalars['UUID'];
8105
+ };
8106
+ };
7738
8107
  createChatThread?: AgentChatThreadGenqlSelection;
7739
8108
  sendChatMessage?: (SendChatMessageResultGenqlSelection & {
7740
8109
  __args: {
@@ -7917,12 +8286,26 @@ export interface MutationGenqlSelection {
7917
8286
  input?: (SignUpInNewWorkspaceInput | null);
7918
8287
  };
7919
8288
  });
8289
+ /** @deprecated Use createNewWorkspaceLogoUpload and completeNewWorkspaceLogoUpload, which send the logo straight to file storage. */
7920
8290
  uploadNewWorkspaceLogo?: (FileWithSignedUrlGenqlSelection & {
7921
8291
  __args: {
7922
8292
  workspaceId: Scalars['String'];
7923
8293
  file: Scalars['Upload'];
7924
8294
  };
7925
8295
  });
8296
+ createNewWorkspaceLogoUpload?: (FileUploadTargetGenqlSelection & {
8297
+ __args: {
8298
+ workspaceId: Scalars['String'];
8299
+ filename: Scalars['String'];
8300
+ size: Scalars['Float'];
8301
+ };
8302
+ });
8303
+ completeNewWorkspaceLogoUpload?: (FileWithSignedUrlGenqlSelection & {
8304
+ __args: {
8305
+ workspaceId: Scalars['String'];
8306
+ fileId: Scalars['String'];
8307
+ };
8308
+ });
7926
8309
  generateTransientToken?: TransientTokenGenqlSelection;
7927
8310
  getAuthTokensFromLoginToken?: (AuthTokensGenqlSelection & {
7928
8311
  __args: {
@@ -8119,6 +8502,7 @@ export interface MutationGenqlSelection {
8119
8502
  inferDeletionFromMissingEntities?: (Scalars['Boolean'] | null);
8120
8503
  };
8121
8504
  });
8505
+ /** @deprecated Use createApplicationFileUploads and completeApplicationFileUploads, which send the files straight to file storage. */
8122
8506
  uploadApplicationFile?: (FileGenqlSelection & {
8123
8507
  __args: {
8124
8508
  file: Scalars['Upload'];
@@ -8144,11 +8528,6 @@ export interface MutationGenqlSelection {
8144
8528
  applicationAuthorizationId: Scalars['UUID'];
8145
8529
  };
8146
8530
  };
8147
- generateApplicationToken?: (ApplicationTokenPairGenqlSelection & {
8148
- __args: {
8149
- applicationId: Scalars['UUID'];
8150
- };
8151
- });
8152
8531
  renewApplicationToken?: (ApplicationTokenPairGenqlSelection & {
8153
8532
  __args: {
8154
8533
  applicationRefreshToken: Scalars['String'];
@@ -8166,6 +8545,11 @@ export interface RemoveQueryFromEventStreamInput {
8166
8545
  eventStreamId: Scalars['String'];
8167
8546
  queryId: Scalars['String'];
8168
8547
  }
8548
+ export interface RecordSharePrincipalInput {
8549
+ workspaceMemberId?: (Scalars['UUID'] | null);
8550
+ roleId?: (Scalars['UUID'] | null);
8551
+ everyone?: (Scalars['Boolean'] | null);
8552
+ }
8169
8553
  export interface CreateNavigationMenuItemInput {
8170
8554
  id?: (Scalars['UUID'] | null);
8171
8555
  userWorkspaceId?: (Scalars['UUID'] | null);
@@ -8271,6 +8655,7 @@ export interface CreateViewInput {
8271
8655
  isCompact?: (Scalars['Boolean'] | null);
8272
8656
  shouldHideEmptyGroups?: (Scalars['Boolean'] | null);
8273
8657
  kanbanColumnWidth?: (Scalars['Int'] | null);
8658
+ groupLoadLimit?: (Scalars['Int'] | null);
8274
8659
  /** Deprecated: Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend. */
8275
8660
  openRecordIn?: (ViewOpenRecordIn | null);
8276
8661
  kanbanAggregateOperation?: (AggregateOperations | null);
@@ -8301,6 +8686,7 @@ export interface UpdateViewInput {
8301
8686
  mainGroupByFieldMetadataId?: (Scalars['UUID'] | null);
8302
8687
  shouldHideEmptyGroups?: (Scalars['Boolean'] | null);
8303
8688
  kanbanColumnWidth?: (Scalars['Int'] | null);
8689
+ groupLoadLimit?: (Scalars['Int'] | null);
8304
8690
  }
8305
8691
  export interface UpsertViewWidgetInput {
8306
8692
  /** The id of the view widget (page layout widget). */
@@ -8627,6 +9013,7 @@ export interface UpdateObjectPayload {
8627
9013
  isLabelSyncedWithName?: (Scalars['Boolean'] | null);
8628
9014
  isSearchable?: (Scalars['Boolean'] | null);
8629
9015
  openRecordIn?: (ObjectOpenRecordIn | null);
9016
+ readability?: (MetadataReadability | null);
8630
9017
  translations?: (MetadataTranslationOverrideInput[] | null);
8631
9018
  }
8632
9019
  export interface MetadataTranslationOverrideInput {
@@ -8768,10 +9155,15 @@ export interface UpdateWorkspaceInput {
8768
9155
  aiAgentModelTier?: (AiModelTier | null);
8769
9156
  isAutoModelSelectionEnabled?: (Scalars['Boolean'] | null);
8770
9157
  aiModelIdByTier?: (Scalars['JSON'] | null);
9158
+ aiEvaluationModelId?: (Scalars['String'] | null);
8771
9159
  aiAdditionalInstructions?: (Scalars['String'] | null);
8772
9160
  editableProfileFields?: (Scalars['String'][] | null);
8773
9161
  isInternalMessagesImportEnabled?: (Scalars['Boolean'] | null);
8774
9162
  }
9163
+ export interface UpdateWorkspaceAllowedIframeOriginsInput {
9164
+ operation: Scalars['String'];
9165
+ origin: Scalars['String'];
9166
+ }
8775
9167
  export interface CreateApplicationRegistrationInput {
8776
9168
  name: Scalars['String'];
8777
9169
  universalIdentifier?: (Scalars['String'] | null);
@@ -8803,6 +9195,10 @@ export interface UpdateApplicationRegistrationVariablePayload {
8803
9195
  resetValue?: (Scalars['Boolean'] | null);
8804
9196
  description?: (Scalars['String'] | null);
8805
9197
  }
9198
+ export interface GrantApplicationCapabilitiesInput {
9199
+ applicationId: Scalars['UUID'];
9200
+ capabilities: Scalars['String'][];
9201
+ }
8806
9202
  export interface TriggerInstallApplicationJobInput {
8807
9203
  universalIdentifier: Scalars['String'];
8808
9204
  }
@@ -8981,17 +9377,6 @@ export interface RowLevelPermissionPredicateGroupInput {
8981
9377
  logicalOperator: RowLevelPermissionPredicateGroupLogicalOperator;
8982
9378
  positionInRowLevelPermissionPredicateGroup?: (Scalars['Float'] | null);
8983
9379
  }
8984
- export interface SendEmailViaDomainInput {
8985
- emailingDomainId: Scalars['String'];
8986
- to: Scalars['String'][];
8987
- cc?: (Scalars['String'][] | null);
8988
- bcc?: (Scalars['String'][] | null);
8989
- subject: Scalars['String'];
8990
- text: Scalars['String'];
8991
- html?: (Scalars['String'] | null);
8992
- from: Scalars['String'];
8993
- replyTo?: (Scalars['String'][] | null);
8994
- }
8995
9380
  export interface SendMessageCampaignInput {
8996
9381
  campaignId: Scalars['String'];
8997
9382
  scheduledAt?: (Scalars['DateTime'] | null);
@@ -9296,6 +9681,11 @@ export interface SubscriptionGenqlSelection {
9296
9681
  table: EventLogTable;
9297
9682
  };
9298
9683
  });
9684
+ exportRecords?: (RecordExportGenqlSelection & {
9685
+ __args: {
9686
+ input: CreateRecordExportInput;
9687
+ };
9688
+ });
9299
9689
  __typename?: boolean | number;
9300
9690
  __scalar?: boolean | number;
9301
9691
  }
@@ -9306,6 +9696,12 @@ export interface LogicFunctionLogsInput {
9306
9696
  id?: (Scalars['UUID'] | null);
9307
9697
  universalIdentifier?: (Scalars['UUID'] | null);
9308
9698
  }
9699
+ export interface CreateRecordExportInput {
9700
+ objectMetadataId: Scalars['UUID'];
9701
+ fieldMetadataIds: Scalars['UUID'][];
9702
+ filter?: (Scalars['JSON'] | null);
9703
+ orderBy?: (Scalars['JSON'] | null);
9704
+ }
9309
9705
  export declare const isBillingProductDTO: (obj?: {
9310
9706
  __typename?: any;
9311
9707
  } | null | undefined) => obj is BillingProductDTO;
@@ -9342,6 +9738,9 @@ export declare const isPathCommandMenuItemPayload: (obj?: {
9342
9738
  export declare const isObjectMetadataCommandMenuItemPayload: (obj?: {
9343
9739
  __typename?: any;
9344
9740
  } | null | undefined) => obj is ObjectMetadataCommandMenuItemPayload;
9741
+ export declare const isSettingsMenuItem: (obj?: {
9742
+ __typename?: any;
9743
+ } | null | undefined) => obj is SettingsMenuItem;
9345
9744
  export declare const isLogicFunction: (obj?: {
9346
9745
  __typename?: any;
9347
9746
  } | null | undefined) => obj is LogicFunction;
@@ -9582,6 +9981,21 @@ export declare const isEnterpriseLicenseInfoDTO: (obj?: {
9582
9981
  export declare const isEnterpriseSubscriptionStatusDTO: (obj?: {
9583
9982
  __typename?: any;
9584
9983
  } | null | undefined) => obj is EnterpriseSubscriptionStatusDTO;
9984
+ export declare const isUsageQuotaDefinition: (obj?: {
9985
+ __typename?: any;
9986
+ } | null | undefined) => obj is UsageQuotaDefinition;
9987
+ export declare const isUsageQuotaDefinitions: (obj?: {
9988
+ __typename?: any;
9989
+ } | null | undefined) => obj is UsageQuotaDefinitions;
9990
+ export declare const isUsageQuotaWithConsumption: (obj?: {
9991
+ __typename?: any;
9992
+ } | null | undefined) => obj is UsageQuotaWithConsumption;
9993
+ export declare const isUsageQuotaScopeConsumption: (obj?: {
9994
+ __typename?: any;
9995
+ } | null | undefined) => obj is UsageQuotaScopeConsumption;
9996
+ export declare const isUsageLimit: (obj?: {
9997
+ __typename?: any;
9998
+ } | null | undefined) => obj is UsageLimit;
9585
9999
  export declare const isFileWithSignedUrl: (obj?: {
9586
10000
  __typename?: any;
9587
10001
  } | null | undefined) => obj is FileWithSignedUrl;
@@ -9594,6 +10008,18 @@ export declare const isRecordIdentifier: (obj?: {
9594
10008
  export declare const isNavigationMenuItem: (obj?: {
9595
10009
  __typename?: any;
9596
10010
  } | null | undefined) => obj is NavigationMenuItem;
10011
+ export declare const isRecordPermissionsDTO: (obj?: {
10012
+ __typename?: any;
10013
+ } | null | undefined) => obj is RecordPermissionsDTO;
10014
+ export declare const isRecordSharingGrantDTO: (obj?: {
10015
+ __typename?: any;
10016
+ } | null | undefined) => obj is RecordSharingGrantDTO;
10017
+ export declare const isRecordSharingRoleDTO: (obj?: {
10018
+ __typename?: any;
10019
+ } | null | undefined) => obj is RecordSharingRoleDTO;
10020
+ export declare const isRecordSharingDTO: (obj?: {
10021
+ __typename?: any;
10022
+ } | null | undefined) => obj is RecordSharingDTO;
9597
10023
  export declare const isJobStatus: (obj?: {
9598
10024
  __typename?: any;
9599
10025
  } | null | undefined) => obj is JobStatus;
@@ -9645,21 +10071,6 @@ export declare const isUsageUserDaily: (obj?: {
9645
10071
  export declare const isUsageAnalytics: (obj?: {
9646
10072
  __typename?: any;
9647
10073
  } | null | undefined) => obj is UsageAnalytics;
9648
- export declare const isUsageQuotaDefinition: (obj?: {
9649
- __typename?: any;
9650
- } | null | undefined) => obj is UsageQuotaDefinition;
9651
- export declare const isUsageQuotaDefinitions: (obj?: {
9652
- __typename?: any;
9653
- } | null | undefined) => obj is UsageQuotaDefinitions;
9654
- export declare const isUsageQuotaWithConsumption: (obj?: {
9655
- __typename?: any;
9656
- } | null | undefined) => obj is UsageQuotaWithConsumption;
9657
- export declare const isUsageQuotaScopeConsumption: (obj?: {
9658
- __typename?: any;
9659
- } | null | undefined) => obj is UsageQuotaScopeConsumption;
9660
- export declare const isUsageLimit: (obj?: {
9661
- __typename?: any;
9662
- } | null | undefined) => obj is UsageLimit;
9663
10074
  export declare const isApprovedAccessDomain: (obj?: {
9664
10075
  __typename?: any;
9665
10076
  } | null | undefined) => obj is ApprovedAccessDomain;
@@ -9729,6 +10140,9 @@ export declare const isNativeModelCapabilities: (obj?: {
9729
10140
  export declare const isClientAiModelConfig: (obj?: {
9730
10141
  __typename?: any;
9731
10142
  } | null | undefined) => obj is ClientAiModelConfig;
10143
+ export declare const isClientAiEvaluationModelConfig: (obj?: {
10144
+ __typename?: any;
10145
+ } | null | undefined) => obj is ClientAiEvaluationModelConfig;
9732
10146
  export declare const isClientAiModelTierConfig: (obj?: {
9733
10147
  __typename?: any;
9734
10148
  } | null | undefined) => obj is ClientAiModelTierConfig;
@@ -9804,6 +10218,12 @@ export declare const isAvailableWorkspaces: (obj?: {
9804
10218
  export declare const isDeletedWorkspaceMember: (obj?: {
9805
10219
  __typename?: any;
9806
10220
  } | null | undefined) => obj is DeletedWorkspaceMember;
10221
+ export declare const isApplicationHealthCheckAction: (obj?: {
10222
+ __typename?: any;
10223
+ } | null | undefined) => obj is ApplicationHealthCheckAction;
10224
+ export declare const isApplicationHealthCheckResult: (obj?: {
10225
+ __typename?: any;
10226
+ } | null | undefined) => obj is ApplicationHealthCheckResult;
9807
10227
  export declare const isMarketplaceApp: (obj?: {
9808
10228
  __typename?: any;
9809
10229
  } | null | undefined) => obj is MarketplaceApp;
@@ -9825,6 +10245,9 @@ export declare const isTriggerInstallApplicationJobResult: (obj?: {
9825
10245
  export declare const isTriggerUninstallApplicationJobResult: (obj?: {
9826
10246
  __typename?: any;
9827
10247
  } | null | undefined) => obj is TriggerUninstallApplicationJobResult;
10248
+ export declare const isApplicationCapabilityGrant: (obj?: {
10249
+ __typename?: any;
10250
+ } | null | undefined) => obj is ApplicationCapabilityGrant;
9828
10251
  export declare const isWorkspaceCompanyEnrichmentResult: (obj?: {
9829
10252
  __typename?: any;
9830
10253
  } | null | undefined) => obj is WorkspaceCompanyEnrichmentResult;
@@ -10116,6 +10539,9 @@ export declare const isEventLogPageInfo: (obj?: {
10116
10539
  export declare const isEventLogQueryResult: (obj?: {
10117
10540
  __typename?: any;
10118
10541
  } | null | undefined) => obj is EventLogQueryResult;
10542
+ export declare const isRecordExport: (obj?: {
10543
+ __typename?: any;
10544
+ } | null | undefined) => obj is RecordExport;
10119
10545
  export declare const isAiChatUsage: (obj?: {
10120
10546
  __typename?: any;
10121
10547
  } | null | undefined) => obj is AiChatUsage;
@@ -10149,6 +10575,9 @@ export declare const isAgentChatEvent: (obj?: {
10149
10575
  export declare const isStartWorkspaceSetupChatResult: (obj?: {
10150
10576
  __typename?: any;
10151
10577
  } | null | undefined) => obj is StartWorkspaceSetupChatResult;
10578
+ export declare const isRecordPermissionsResult: (obj?: {
10579
+ __typename?: any;
10580
+ } | null | undefined) => obj is RecordPermissionsResult;
10152
10581
  export declare const isAgentTurnEvaluation: (obj?: {
10153
10582
  __typename?: any;
10154
10583
  } | null | undefined) => obj is AgentTurnEvaluation;
@@ -10185,6 +10614,9 @@ export declare const isTimelineActivityTypeEmit: (obj?: {
10185
10614
  export declare const isTimelineActivityType: (obj?: {
10186
10615
  __typename?: any;
10187
10616
  } | null | undefined) => obj is TimelineActivityType;
10617
+ export declare const isPermissionFlag: (obj?: {
10618
+ __typename?: any;
10619
+ } | null | undefined) => obj is PermissionFlag;
10188
10620
  export declare const isCollectionHash: (obj?: {
10189
10621
  __typename?: any;
10190
10622
  } | null | undefined) => obj is CollectionHash;
@@ -10246,6 +10678,7 @@ export declare const enumEngineComponentKey: {
10246
10678
  ADD_NODE_WORKFLOW: "ADD_NODE_WORKFLOW";
10247
10679
  TIDY_UP_WORKFLOW: "TIDY_UP_WORKFLOW";
10248
10680
  DUPLICATE_WORKFLOW: "DUPLICATE_WORKFLOW";
10681
+ TOGGLE_WORKFLOW_VISIBILITY: "TOGGLE_WORKFLOW_VISIBILITY";
10249
10682
  SEE_VERSION_WORKFLOW_RUN: "SEE_VERSION_WORKFLOW_RUN";
10250
10683
  SEE_WORKFLOW_WORKFLOW_RUN: "SEE_WORKFLOW_WORKFLOW_RUN";
10251
10684
  STOP_WORKFLOW_RUN: "STOP_WORKFLOW_RUN";
@@ -10294,6 +10727,10 @@ export declare const enumCommandMenuItemAvailabilityType: {
10294
10727
  RECORD_SELECTION: "RECORD_SELECTION";
10295
10728
  FALLBACK: "FALLBACK";
10296
10729
  };
10730
+ export declare const enumSettingsMenuItemScope: {
10731
+ WORKSPACE: "WORKSPACE";
10732
+ USER: "USER";
10733
+ };
10297
10734
  export declare const enumLogicFunctionExecutionMode: {
10298
10735
  LIVE: "LIVE";
10299
10736
  PREBUILT: "PREBUILT";
@@ -10632,6 +11069,33 @@ export declare const enumLogicFunctionExecutionStatus: {
10632
11069
  SUCCESS: "SUCCESS";
10633
11070
  ERROR: "ERROR";
10634
11071
  };
11072
+ export declare const enumUsageResourceType: {
11073
+ AI: "AI";
11074
+ WORKFLOW: "WORKFLOW";
11075
+ APP: "APP";
11076
+ STORAGE: "STORAGE";
11077
+ API: "API";
11078
+ LOGIC_FUNCTION: "LOGIC_FUNCTION";
11079
+ EMAIL: "EMAIL";
11080
+ WEBHOOK: "WEBHOOK";
11081
+ RECORD: "RECORD";
11082
+ };
11083
+ export declare const enumUsageOperationType: {
11084
+ ALL: "ALL";
11085
+ AI_CHAT_TOKEN: "AI_CHAT_TOKEN";
11086
+ AI_WORKFLOW_TOKEN: "AI_WORKFLOW_TOKEN";
11087
+ WORKFLOW_EXECUTION: "WORKFLOW_EXECUTION";
11088
+ CODE_EXECUTION: "CODE_EXECUTION";
11089
+ WEB_SEARCH: "WEB_SEARCH";
11090
+ CALL_RECORDING: "CALL_RECORDING";
11091
+ EMAIL_SEND: "EMAIL_SEND";
11092
+ MESSAGE_CAMPAIGN_SEND: "MESSAGE_CAMPAIGN_SEND";
11093
+ API_REQUEST: "API_REQUEST";
11094
+ WEBHOOK_CALL: "WEBHOOK_CALL";
11095
+ STORAGE_FILE: "STORAGE_FILE";
11096
+ RECORD_WRITE: "RECORD_WRITE";
11097
+ SUBSCRIPTION: "SUBSCRIPTION";
11098
+ };
10635
11099
  export declare const enumNavigationMenuItemType: {
10636
11100
  VIEW: "VIEW";
10637
11101
  FOLDER: "FOLDER";
@@ -10640,6 +11104,11 @@ export declare const enumNavigationMenuItemType: {
10640
11104
  RECORD: "RECORD";
10641
11105
  PAGE_LAYOUT: "PAGE_LAYOUT";
10642
11106
  };
11107
+ export declare const enumRecordShareAccessLevel: {
11108
+ READ: "READ";
11109
+ READ_WRITE: "READ_WRITE";
11110
+ FULL: "FULL";
11111
+ };
10643
11112
  export declare const enumJobState: {
10644
11113
  COMPLETED: "COMPLETED";
10645
11114
  FAILED: "FAILED";
@@ -10662,36 +11131,13 @@ export declare const enumDatabaseEventAction: {
10662
11131
  RESTORED: "RESTORED";
10663
11132
  UPSERTED: "UPSERTED";
10664
11133
  };
10665
- export declare const enumUsageResourceType: {
10666
- AI: "AI";
10667
- WORKFLOW: "WORKFLOW";
10668
- APP: "APP";
10669
- STORAGE: "STORAGE";
10670
- API: "API";
10671
- LOGIC_FUNCTION: "LOGIC_FUNCTION";
10672
- EMAIL: "EMAIL";
10673
- WEBHOOK: "WEBHOOK";
10674
- };
10675
- export declare const enumUsageOperationType: {
10676
- ALL: "ALL";
10677
- AI_CHAT_TOKEN: "AI_CHAT_TOKEN";
10678
- AI_WORKFLOW_TOKEN: "AI_WORKFLOW_TOKEN";
10679
- WORKFLOW_EXECUTION: "WORKFLOW_EXECUTION";
10680
- CODE_EXECUTION: "CODE_EXECUTION";
10681
- WEB_SEARCH: "WEB_SEARCH";
10682
- CALL_RECORDING: "CALL_RECORDING";
10683
- EMAIL_SEND: "EMAIL_SEND";
10684
- API_REQUEST: "API_REQUEST";
10685
- WEBHOOK_CALL: "WEBHOOK_CALL";
10686
- SUBSCRIPTION: "SUBSCRIPTION";
10687
- };
10688
11134
  export declare const enumEmailConnectionSecurity: {
10689
11135
  NONE: "NONE";
10690
11136
  STARTTLS: "STARTTLS";
10691
11137
  SSL_TLS: "SSL_TLS";
10692
11138
  };
10693
11139
  export declare const enumFeatureFlagKey: {
10694
- IS_APP_CLAIMING_ENABLED: "IS_APP_CLAIMING_ENABLED";
11140
+ IS_ASYNC_CSV_EXPORT_ENABLED: "IS_ASYNC_CSV_EXPORT_ENABLED";
10695
11141
  IS_UNIQUE_INDEXES_ENABLED: "IS_UNIQUE_INDEXES_ENABLED";
10696
11142
  IS_CONFIGURABLE_SEARCH_FIELDS_ENABLED: "IS_CONFIGURABLE_SEARCH_FIELDS_ENABLED";
10697
11143
  IS_JSON_FILTER_ENABLED: "IS_JSON_FILTER_ENABLED";
@@ -10700,13 +11146,13 @@ export declare const enumFeatureFlagKey: {
10700
11146
  IS_REST_METADATA_API_NEW_FORMAT_DIRECT: "IS_REST_METADATA_API_NEW_FORMAT_DIRECT";
10701
11147
  IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED: "IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED";
10702
11148
  IS_WORKFLOW_CORE_INDEX_PAGE_ENABLED: "IS_WORKFLOW_CORE_INDEX_PAGE_ENABLED";
10703
- IS_API_RATE_LIMIT_V2_ENABLED: "IS_API_RATE_LIMIT_V2_ENABLED";
10704
- IS_MESSAGE_CALENDAR_TARGET_READ_ENABLED: "IS_MESSAGE_CALENDAR_TARGET_READ_ENABLED";
10705
- IS_QUOTA_ENGINE_CREDIT_BOUND_ENABLED: "IS_QUOTA_ENGINE_CREDIT_BOUND_ENABLED";
10706
- IS_RECORD_CREATION_FORM_ENABLED: "IS_RECORD_CREATION_FORM_ENABLED";
10707
11149
  IS_RECORD_SHARING_ENABLED: "IS_RECORD_SHARING_ENABLED";
11150
+ IS_AI_CHAT_SHARING_DROPDOWN_ENABLED: "IS_AI_CHAT_SHARING_DROPDOWN_ENABLED";
10708
11151
  IS_INITIAL_OBJECT_VIEW_ENABLED: "IS_INITIAL_OBJECT_VIEW_ENABLED";
10709
11152
  IS_WEBHOOK_RATE_LIMIT_ENABLED: "IS_WEBHOOK_RATE_LIMIT_ENABLED";
11153
+ IS_DEFERRED_WORKSPACE_MIGRATION_ACTIONS_ENABLED: "IS_DEFERRED_WORKSPACE_MIGRATION_ACTIONS_ENABLED";
11154
+ IS_EXECUTION_QUOTA_ENABLED: "IS_EXECUTION_QUOTA_ENABLED";
11155
+ IS_RECORD_CREATION_FORM_ENABLED: "IS_RECORD_CREATION_FORM_ENABLED";
10710
11156
  };
10711
11157
  export declare const enumIdentityProviderType: {
10712
11158
  OIDC: "OIDC";
@@ -10732,6 +11178,15 @@ export declare const enumCaptchaDriverType: {
10732
11178
  GOOGLE_RECAPTCHA: "GOOGLE_RECAPTCHA";
10733
11179
  TURNSTILE: "TURNSTILE";
10734
11180
  };
11181
+ export declare const enumApplicationHealthStatus: {
11182
+ OK: "OK";
11183
+ SUCCESS: "SUCCESS";
11184
+ INFO: "INFO";
11185
+ WARNING: "WARNING";
11186
+ ERROR: "ERROR";
11187
+ NEUTRAL: "NEUTRAL";
11188
+ UNKNOWN: "UNKNOWN";
11189
+ };
10735
11190
  export declare const enumWorkspaceCompanyEnrichmentOutcome: {
10736
11191
  matched: "matched";
10737
11192
  unavailable: "unavailable";
@@ -10793,6 +11248,7 @@ export declare const enumApplicationExportCoverageStatus: {
10793
11248
  FOREIGN_OWNED: "FOREIGN_OWNED";
10794
11249
  };
10795
11250
  export declare const enumFileFolder: {
11251
+ RecordExport: "RecordExport";
10796
11252
  CorePicture: "CorePicture";
10797
11253
  AgentChat: "AgentChat";
10798
11254
  BuiltLogicFunction: "BuiltLogicFunction";
@@ -10958,6 +11414,9 @@ export declare const enumAllMetadataName: {
10958
11414
  connectionProvider: "connectionProvider";
10959
11415
  searchFieldMetadata: "searchFieldMetadata";
10960
11416
  timelineActivityType: "timelineActivityType";
11417
+ settingsMenuItem: "settingsMenuItem";
11418
+ workflow: "workflow";
11419
+ workflowVersion: "workflowVersion";
10961
11420
  };
10962
11421
  export declare const enumEventLogTable: {
10963
11422
  WORKSPACE_EVENT: "WORKSPACE_EVENT";