twenty-client-sdk 2.39.0 → 2.41.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.
@@ -174,6 +174,7 @@ export interface Object {
174
174
  isSearchable: Scalars['Boolean'];
175
175
  openRecordIn: ObjectOpenRecordIn;
176
176
  readability: MetadataReadability;
177
+ readabilityParentFieldUniversalIdentifiers?: Scalars['UUID'][];
177
178
  writability: MetadataWritability;
178
179
  applicationId: Scalars['UUID'];
179
180
  createdAt: Scalars['DateTime'];
@@ -313,7 +314,6 @@ export interface Application {
313
314
  logoFileId?: Scalars['UUID'];
314
315
  version?: Scalars['String'];
315
316
  universalIdentifier: Scalars['String'];
316
- state: ApplicationState;
317
317
  packageJsonChecksum?: Scalars['String'];
318
318
  packageJsonFileId?: Scalars['UUID'];
319
319
  yarnLockChecksum?: Scalars['String'];
@@ -335,7 +335,6 @@ export interface Application {
335
335
  logoUrl?: Scalars['String'];
336
336
  __typename: 'Application';
337
337
  }
338
- export type ApplicationState = 'INSTALLING' | 'INSTALLED' | 'UPGRADING' | 'UNINSTALLING';
339
338
  export interface TwoFactorAuthenticationMethodSummary {
340
339
  twoFactorAuthenticationMethodId: Scalars['UUID'];
341
340
  status: Scalars['String'];
@@ -533,12 +532,11 @@ export interface Workspace {
533
532
  isInternalMessagesImportEnabled: Scalars['Boolean'];
534
533
  editableProfileFields?: Scalars['String'][];
535
534
  defaultRole?: Role;
536
- fastModel: Scalars['String'];
537
- smartModel: Scalars['String'];
535
+ aiChatModelTier: AiModelTier;
536
+ aiAgentModelTier: AiModelTier;
537
+ isAutoModelSelectionEnabled: Scalars['Boolean'];
538
+ aiModelIdByTier: Scalars['JSON'];
538
539
  aiAdditionalInstructions?: Scalars['String'];
539
- enabledAiModelIds?: Scalars['String'][];
540
- useRecommendedModels: Scalars['Boolean'];
541
- routerModel: Scalars['String'];
542
540
  workspaceCustomApplication?: Application;
543
541
  featureFlags?: FeatureFlag[];
544
542
  billingSubscriptions: BillingSubscription[];
@@ -554,6 +552,7 @@ export interface Workspace {
554
552
  }
555
553
  export type WorkspaceDiscoverability = 'PUBLIC' | 'MEMBERS_AND_INVITEES' | 'HIDDEN';
556
554
  export type WorkspaceActivationStatus = 'ONGOING_CREATION' | 'PENDING_CREATION' | 'CREATED' | 'ACTIVE' | 'INACTIVE' | 'SUSPENDED';
555
+ export type AiModelTier = 'extraFast' | 'fast' | 'balanced' | 'smart' | 'extraSmart';
557
556
  export interface User {
558
557
  id: Scalars['UUID'];
559
558
  firstName: Scalars['String'];
@@ -606,6 +605,102 @@ export interface ApplicationRegistration {
606
605
  galleryImagesUrls: Scalars['String'][];
607
606
  __typename: 'ApplicationRegistration';
608
607
  }
608
+ export interface BillingSubscriptionSchedulePhaseItem {
609
+ price: Scalars['String'];
610
+ quantity?: Scalars['Float'];
611
+ __typename: 'BillingSubscriptionSchedulePhaseItem';
612
+ }
613
+ export interface BillingSubscriptionSchedulePhase {
614
+ start_date: Scalars['Float'];
615
+ end_date: Scalars['Float'];
616
+ items: BillingSubscriptionSchedulePhaseItem[];
617
+ __typename: 'BillingSubscriptionSchedulePhase';
618
+ }
619
+ export interface BillingProductMetadata {
620
+ planKey: BillingPlanKey;
621
+ priceUsageBased: BillingUsageType;
622
+ productKey: BillingProductKey;
623
+ isLegacy?: Scalars['String'];
624
+ __typename: 'BillingProductMetadata';
625
+ }
626
+ /** The different billing plans available */
627
+ export type BillingPlanKey = 'PRO' | 'ENTERPRISE';
628
+ export type BillingUsageType = 'METERED' | 'LICENSED';
629
+ /** The different billing products available */
630
+ export type BillingProductKey = 'BASE_PRODUCT' | 'RESOURCE_CREDIT';
631
+ export interface BillingPriceLicensed {
632
+ recurringInterval: SubscriptionInterval;
633
+ unitAmount: Scalars['Float'];
634
+ stripePriceId: Scalars['String'];
635
+ priceUsageType: BillingUsageType;
636
+ creditAmount?: Scalars['Float'];
637
+ isSellable: Scalars['Boolean'];
638
+ __typename: 'BillingPriceLicensed';
639
+ }
640
+ export type SubscriptionInterval = 'Month' | 'Year';
641
+ export interface BillingPriceTier {
642
+ upTo?: Scalars['Float'];
643
+ flatAmount?: Scalars['Float'];
644
+ unitAmount?: Scalars['Float'];
645
+ __typename: 'BillingPriceTier';
646
+ }
647
+ export interface BillingPriceMetered {
648
+ tiers: BillingPriceTier[];
649
+ recurringInterval: SubscriptionInterval;
650
+ stripePriceId: Scalars['String'];
651
+ priceUsageType: BillingUsageType;
652
+ __typename: 'BillingPriceMetered';
653
+ }
654
+ export interface BillingProduct {
655
+ name: Scalars['String'];
656
+ description: Scalars['String'];
657
+ images?: Scalars['String'][];
658
+ metadata: BillingProductMetadata;
659
+ __typename: 'BillingProduct';
660
+ }
661
+ export interface BillingLicensedProduct {
662
+ name: Scalars['String'];
663
+ description: Scalars['String'];
664
+ images?: Scalars['String'][];
665
+ metadata: BillingProductMetadata;
666
+ prices?: BillingPriceLicensed[];
667
+ __typename: 'BillingLicensedProduct';
668
+ }
669
+ export interface BillingMeteredProduct {
670
+ name: Scalars['String'];
671
+ description: Scalars['String'];
672
+ images?: Scalars['String'][];
673
+ metadata: BillingProductMetadata;
674
+ prices?: BillingPriceMetered[];
675
+ __typename: 'BillingMeteredProduct';
676
+ }
677
+ export interface BillingSubscriptionItem {
678
+ id: Scalars['UUID'];
679
+ hasReachedCurrentPeriodCap: Scalars['Boolean'];
680
+ quantity?: Scalars['Float'];
681
+ stripePriceId: Scalars['String'];
682
+ unitAmount?: Scalars['Float'];
683
+ creditAmount?: Scalars['Float'];
684
+ billingProduct: BillingProductDTO;
685
+ __typename: 'BillingSubscriptionItem';
686
+ }
687
+ export interface BillingSubscription {
688
+ id: Scalars['UUID'];
689
+ status: SubscriptionStatus;
690
+ interval?: SubscriptionInterval;
691
+ billingSubscriptionItems?: BillingSubscriptionItem[];
692
+ currentPeriodEnd?: Scalars['DateTime'];
693
+ metadata: Scalars['JSON'];
694
+ phases: BillingSubscriptionSchedulePhase[];
695
+ cancelAt?: Scalars['DateTime'];
696
+ __typename: 'BillingSubscription';
697
+ }
698
+ export type SubscriptionStatus = 'Active' | 'Canceled' | 'Incomplete' | 'IncompleteExpired' | 'PastDue' | 'Paused' | 'Trialing' | 'Unpaid';
699
+ export interface BillingCustomer {
700
+ id: Scalars['UUID'];
701
+ hasPaymentMethod?: Scalars['Boolean'];
702
+ __typename: 'BillingCustomer';
703
+ }
609
704
  export interface SdkClientChecksums {
610
705
  core?: Scalars['String'];
611
706
  metadata: Scalars['String'];
@@ -667,8 +762,10 @@ export type PageLayoutTabLayoutMode = 'GRID' | 'VERTICAL_LIST' | 'CANVAS';
667
762
  export interface PageLayoutWidgetVerticalListPosition {
668
763
  layoutMode: PageLayoutTabLayoutMode;
669
764
  index: Scalars['Int'];
765
+ heightBehavior?: PageLayoutWidgetVerticalListHeightBehavior;
670
766
  __typename: 'PageLayoutWidgetVerticalListPosition';
671
767
  }
768
+ export type PageLayoutWidgetVerticalListHeightBehavior = 'FIT_CONTENT' | 'TAB_VIEWPORT';
672
769
  export interface PageLayoutWidgetCanvasPosition {
673
770
  layoutMode: PageLayoutTabLayoutMode;
674
771
  __typename: 'PageLayoutWidgetCanvasPosition';
@@ -951,98 +1048,6 @@ export interface ApplicationConnectionProvider {
951
1048
  logoUrl?: Scalars['String'];
952
1049
  __typename: 'ApplicationConnectionProvider';
953
1050
  }
954
- export interface BillingSubscriptionSchedulePhaseItem {
955
- price: Scalars['String'];
956
- quantity?: Scalars['Float'];
957
- __typename: 'BillingSubscriptionSchedulePhaseItem';
958
- }
959
- export interface BillingSubscriptionSchedulePhase {
960
- start_date: Scalars['Float'];
961
- end_date: Scalars['Float'];
962
- items: BillingSubscriptionSchedulePhaseItem[];
963
- __typename: 'BillingSubscriptionSchedulePhase';
964
- }
965
- export interface BillingProductMetadata {
966
- planKey: BillingPlanKey;
967
- priceUsageBased: BillingUsageType;
968
- productKey: BillingProductKey;
969
- __typename: 'BillingProductMetadata';
970
- }
971
- /** The different billing plans available */
972
- export type BillingPlanKey = 'PRO' | 'ENTERPRISE';
973
- export type BillingUsageType = 'METERED' | 'LICENSED';
974
- /** The different billing products available */
975
- export type BillingProductKey = 'BASE_PRODUCT' | 'RESOURCE_CREDIT';
976
- export interface BillingPriceLicensed {
977
- recurringInterval: SubscriptionInterval;
978
- unitAmount: Scalars['Float'];
979
- stripePriceId: Scalars['String'];
980
- priceUsageType: BillingUsageType;
981
- creditAmount?: Scalars['Float'];
982
- __typename: 'BillingPriceLicensed';
983
- }
984
- export type SubscriptionInterval = 'Month' | 'Year';
985
- export interface BillingPriceTier {
986
- upTo?: Scalars['Float'];
987
- flatAmount?: Scalars['Float'];
988
- unitAmount?: Scalars['Float'];
989
- __typename: 'BillingPriceTier';
990
- }
991
- export interface BillingPriceMetered {
992
- tiers: BillingPriceTier[];
993
- recurringInterval: SubscriptionInterval;
994
- stripePriceId: Scalars['String'];
995
- priceUsageType: BillingUsageType;
996
- __typename: 'BillingPriceMetered';
997
- }
998
- export interface BillingProduct {
999
- name: Scalars['String'];
1000
- description: Scalars['String'];
1001
- images?: Scalars['String'][];
1002
- metadata: BillingProductMetadata;
1003
- __typename: 'BillingProduct';
1004
- }
1005
- export interface BillingLicensedProduct {
1006
- name: Scalars['String'];
1007
- description: Scalars['String'];
1008
- images?: Scalars['String'][];
1009
- metadata: BillingProductMetadata;
1010
- prices?: BillingPriceLicensed[];
1011
- __typename: 'BillingLicensedProduct';
1012
- }
1013
- export interface BillingMeteredProduct {
1014
- name: Scalars['String'];
1015
- description: Scalars['String'];
1016
- images?: Scalars['String'][];
1017
- metadata: BillingProductMetadata;
1018
- prices?: BillingPriceMetered[];
1019
- __typename: 'BillingMeteredProduct';
1020
- }
1021
- export interface BillingSubscriptionItem {
1022
- id: Scalars['UUID'];
1023
- hasReachedCurrentPeriodCap: Scalars['Boolean'];
1024
- quantity?: Scalars['Float'];
1025
- stripePriceId: Scalars['String'];
1026
- billingProduct: BillingProductDTO;
1027
- __typename: 'BillingSubscriptionItem';
1028
- }
1029
- export interface BillingCustomer {
1030
- id: Scalars['UUID'];
1031
- hasPaymentMethod?: Scalars['Boolean'];
1032
- __typename: 'BillingCustomer';
1033
- }
1034
- export interface BillingSubscription {
1035
- id: Scalars['UUID'];
1036
- status: SubscriptionStatus;
1037
- interval?: SubscriptionInterval;
1038
- billingSubscriptionItems?: BillingSubscriptionItem[];
1039
- currentPeriodEnd?: Scalars['DateTime'];
1040
- metadata: Scalars['JSON'];
1041
- phases: BillingSubscriptionSchedulePhase[];
1042
- cancelAt?: Scalars['DateTime'];
1043
- __typename: 'BillingSubscription';
1044
- }
1045
- export type SubscriptionStatus = 'Active' | 'Canceled' | 'Incomplete' | 'IncompleteExpired' | 'PastDue' | 'Paused' | 'Trialing' | 'Unpaid';
1046
1051
  export interface LogicFunctionExecutionResult {
1047
1052
  /** Execution result in JSON format */
1048
1053
  data?: Scalars['JSON'];
@@ -1255,6 +1260,44 @@ export interface UsageAnalytics {
1255
1260
  userDailyUsage?: UsageUserDaily;
1256
1261
  __typename: 'UsageAnalytics';
1257
1262
  }
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
+ }
1258
1301
  export interface UsageLimit {
1259
1302
  id: Scalars['UUID'];
1260
1303
  resourceType: UsageResourceType;
@@ -1271,8 +1314,6 @@ export interface UsageLimit {
1271
1314
  updatedAt: Scalars['DateTime'];
1272
1315
  __typename: 'UsageLimit';
1273
1316
  }
1274
- export type UsageResourceType = 'AI' | 'WORKFLOW' | 'APP' | 'STORAGE' | 'API' | 'LOGIC_FUNCTION' | 'EMAIL';
1275
- export type UsageOperationType = 'ALL' | 'AI_CHAT_TOKEN' | 'AI_WORKFLOW_TOKEN' | 'WORKFLOW_EXECUTION' | 'CODE_EXECUTION' | 'WEB_SEARCH' | 'CALL_RECORDING' | 'EMAIL_SEND' | 'API_REQUEST' | 'SUBSCRIPTION';
1276
1317
  export interface ApprovedAccessDomain {
1277
1318
  id: Scalars['UUID'];
1278
1319
  domain: Scalars['String'];
@@ -1331,6 +1372,7 @@ export interface ConnectedAccountPublicDTO {
1331
1372
  provider: Scalars['String'];
1332
1373
  lastCredentialsRefreshedAt?: Scalars['DateTime'];
1333
1374
  authFailedAt?: Scalars['DateTime'];
1375
+ authFailedReason?: Scalars['String'];
1334
1376
  archivedAt?: Scalars['DateTime'];
1335
1377
  handleAliases?: Scalars['String'][];
1336
1378
  scopes?: Scalars['String'][];
@@ -1345,12 +1387,35 @@ export interface ConnectedAccountPublicDTO {
1345
1387
  connectionParameters?: PublicImapSmtpCaldavConnectionParameters;
1346
1388
  __typename: 'ConnectedAccountPublicDTO';
1347
1389
  }
1390
+ export interface ApplicationConnectedAccountDTO {
1391
+ id: Scalars['UUID'];
1392
+ handle: Scalars['String'];
1393
+ provider: Scalars['String'];
1394
+ lastCredentialsRefreshedAt?: Scalars['DateTime'];
1395
+ authFailedAt?: Scalars['DateTime'];
1396
+ authFailedReason?: Scalars['String'];
1397
+ archivedAt?: Scalars['DateTime'];
1398
+ handleAliases?: Scalars['String'][];
1399
+ scopes?: Scalars['String'][];
1400
+ lastSignedInAt?: Scalars['DateTime'];
1401
+ userWorkspaceId: Scalars['UUID'];
1402
+ connectionProviderId?: Scalars['UUID'];
1403
+ applicationId?: Scalars['UUID'];
1404
+ name?: Scalars['String'];
1405
+ visibility: Scalars['String'];
1406
+ createdAt: Scalars['DateTime'];
1407
+ updatedAt: Scalars['DateTime'];
1408
+ connectionParameters?: PublicImapSmtpCaldavConnectionParameters;
1409
+ /** @deprecated Ownership no longer gates connection actions, every application admin manages a workspace-shared connection */
1410
+ isOwnedByCurrentUser: Scalars['Boolean'];
1411
+ __typename: 'ApplicationConnectedAccountDTO';
1412
+ }
1348
1413
  export interface FeatureFlag {
1349
1414
  key: FeatureFlagKey;
1350
1415
  value: Scalars['Boolean'];
1351
1416
  __typename: 'FeatureFlag';
1352
1417
  }
1353
- export type FeatureFlagKey = 'IS_APP_CLAIMING_ENABLED' | 'IS_UNIQUE_INDEXES_ENABLED' | 'IS_JSON_FILTER_ENABLED' | 'IS_EMAIL_GROUP_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';
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';
1354
1419
  export interface WorkspaceUrls {
1355
1420
  customUrl?: Scalars['String'];
1356
1421
  subdomainUrl: Scalars['String'];
@@ -1442,15 +1507,25 @@ export interface ClientAiModelConfig {
1442
1507
  outputCostPerMillionTokens?: Scalars['Float'];
1443
1508
  nativeCapabilities?: NativeModelCapabilities;
1444
1509
  isDeprecated?: Scalars['Boolean'];
1445
- isRecommended?: Scalars['Boolean'];
1446
1510
  providerName?: Scalars['String'];
1447
1511
  providerLabel?: Scalars['String'];
1448
1512
  contextWindowTokens?: Scalars['Float'];
1449
1513
  maxOutputTokens?: Scalars['Float'];
1450
1514
  dataResidency?: Scalars['String'];
1515
+ intelligenceIndex?: Scalars['Float'];
1516
+ outputTokensPerSecond?: Scalars['Float'];
1517
+ costPerTask?: Scalars['Float'];
1518
+ efforts?: Scalars['String'][];
1519
+ effort?: Scalars['String'];
1520
+ isBenchmarkInherited?: Scalars['Boolean'];
1451
1521
  __typename: 'ClientAiModelConfig';
1452
1522
  }
1453
1523
  export type ModelFamily = 'GPT' | 'CLAUDE' | 'GEMINI' | 'MISTRAL' | 'GROK';
1524
+ export interface ClientAiModelTierConfig {
1525
+ tier: AiModelTier;
1526
+ modelId: Scalars['String'];
1527
+ __typename: 'ClientAiModelTierConfig';
1528
+ }
1454
1529
  export interface Billing {
1455
1530
  isBillingEnabled: Scalars['Boolean'];
1456
1531
  billingUrl?: Scalars['String'];
@@ -1504,6 +1579,7 @@ export interface ClientConfig {
1504
1579
  authProviders: AuthProviders;
1505
1580
  billing: Billing;
1506
1581
  aiModels: ClientAiModelConfig[];
1582
+ aiModelTiers: ClientAiModelTierConfig[];
1507
1583
  signInPrefilled: Scalars['Boolean'];
1508
1584
  isMultiWorkspaceEnabled: Scalars['Boolean'];
1509
1585
  isEmailVerificationRequired: Scalars['Boolean'];
@@ -1577,6 +1653,7 @@ export interface AppConnection {
1577
1653
  accessToken: Scalars['String'];
1578
1654
  scopes: Scalars['String'][];
1579
1655
  authFailedAt?: Scalars['String'];
1656
+ authFailedReason?: Scalars['String'];
1580
1657
  __typename: 'AppConnection';
1581
1658
  }
1582
1659
  export interface ResendEmailVerificationToken {
@@ -1715,12 +1792,21 @@ export interface MarketplaceAppDetail {
1715
1792
  /** @deprecated Use galleryImages instead */
1716
1793
  screenshots: Scalars['String'][];
1717
1794
  galleryImages: Scalars['String'][];
1795
+ installCount: Scalars['Int'];
1718
1796
  defaultRoleUniversalIdentifier?: Scalars['String'];
1719
1797
  roles?: MarketplaceAppRole[];
1720
1798
  /** @deprecated Use the explicit MarketplaceAppDetail fields (description, author, roles, ...) instead */
1721
1799
  manifest?: Scalars['JSON'];
1722
1800
  __typename: 'MarketplaceAppDetail';
1723
1801
  }
1802
+ export interface TriggerInstallApplicationJobResult {
1803
+ jobId: Scalars['String'];
1804
+ __typename: 'TriggerInstallApplicationJobResult';
1805
+ }
1806
+ export interface TriggerUninstallApplicationJobResult {
1807
+ jobId: Scalars['String'];
1808
+ __typename: 'TriggerUninstallApplicationJobResult';
1809
+ }
1724
1810
  export interface WorkspaceCompanyEnrichmentResult {
1725
1811
  outcome: WorkspaceCompanyEnrichmentOutcome;
1726
1812
  enrichment?: Scalars['JSON'];
@@ -1747,6 +1833,8 @@ export interface Field {
1747
1833
  isUIReadOnly?: Scalars['Boolean'];
1748
1834
  isNullable?: Scalars['Boolean'];
1749
1835
  isUnique?: Scalars['Boolean'];
1836
+ isSearchable?: Scalars['Boolean'];
1837
+ isAuditLogged?: Scalars['Boolean'];
1750
1838
  defaultValue?: Scalars['JSON'];
1751
1839
  options?: Scalars['JSON'];
1752
1840
  settings?: Scalars['JSON'];
@@ -1875,7 +1963,7 @@ export interface BillingEntitlement {
1875
1963
  value: Scalars['Boolean'];
1876
1964
  __typename: 'BillingEntitlement';
1877
1965
  }
1878
- export type BillingEntitlementKey = 'SSO' | 'CUSTOM_DOMAIN' | 'RLS' | 'AUDIT_LOGS' | 'USAGE_LIMIT';
1966
+ export type BillingEntitlementKey = 'SSO' | 'CUSTOM_DOMAIN' | 'RLS' | 'RECORD_SHARING' | 'AUDIT_LOGS' | 'USAGE_LIMIT';
1879
1967
  export interface DomainRecord {
1880
1968
  validationType: Scalars['String'];
1881
1969
  type: Scalars['String'];
@@ -2156,12 +2244,22 @@ export interface MessageChannel {
2156
2244
  __typename: 'MessageChannel';
2157
2245
  }
2158
2246
  export type MessageChannelVisibility = 'METADATA' | 'SUBJECT' | 'SHARE_EVERYTHING';
2159
- export type MessageChannelType = 'EMAIL' | 'SMS' | 'EMAIL_GROUP';
2247
+ export type MessageChannelType = 'EMAIL' | 'SMS' | 'EMAIL_GROUP' | 'APP';
2160
2248
  export type MessageChannelContactAutoCreationPolicy = 'SENT_AND_RECEIVED' | 'SENT' | 'NONE';
2161
2249
  export type MessageFolderImportPolicy = 'ALL_FOLDERS' | 'SELECTED_FOLDERS';
2162
2250
  export type MessageChannelPendingGroupEmailsAction = 'GROUP_EMAILS_DELETION' | 'GROUP_EMAILS_IMPORT' | 'NONE';
2163
2251
  export type MessageChannelSyncStatus = 'NOT_SYNCED' | 'ONGOING' | 'ACTIVE' | 'FAILED_INSUFFICIENT_PERMISSIONS' | 'FAILED_UNKNOWN';
2164
2252
  export type MessageChannelSyncStage = 'PENDING_CONFIGURATION' | 'MESSAGE_LIST_FETCH_PENDING' | 'MESSAGE_LIST_FETCH_SCHEDULED' | 'MESSAGE_LIST_FETCH_ONGOING' | 'MESSAGES_IMPORT_PENDING' | 'MESSAGES_IMPORT_SCHEDULED' | 'MESSAGES_IMPORT_ONGOING' | 'FAILED';
2253
+ export interface IngestedAppMessage {
2254
+ externalId: Scalars['String'];
2255
+ messageId: Scalars['UUID'];
2256
+ messageThreadId: Scalars['UUID'];
2257
+ __typename: 'IngestedAppMessage';
2258
+ }
2259
+ export interface IngestAppMessagesOutput {
2260
+ messages: IngestedAppMessage[];
2261
+ __typename: 'IngestAppMessagesOutput';
2262
+ }
2165
2263
  export interface CreateEmailGroupChannelOutput {
2166
2264
  messageChannel: MessageChannel;
2167
2265
  forwardingAddress: Scalars['String'];
@@ -2441,6 +2539,12 @@ export interface EventLogQueryResult {
2441
2539
  pageInfo: EventLogPageInfo;
2442
2540
  __typename: 'EventLogQueryResult';
2443
2541
  }
2542
+ export interface AiChatUsage {
2543
+ limitValue: Scalars['BigInt'];
2544
+ consumedValue?: Scalars['BigInt'];
2545
+ periodEnd?: Scalars['DateTime'];
2546
+ __typename: 'AiChatUsage';
2547
+ }
2444
2548
  export interface Skill {
2445
2549
  id: Scalars['UUID'];
2446
2550
  name: Scalars['String'];
@@ -2449,6 +2553,7 @@ export interface Skill {
2449
2553
  description?: Scalars['String'];
2450
2554
  content: Scalars['String'];
2451
2555
  isCustom: Scalars['Boolean'];
2556
+ isSystem: Scalars['Boolean'];
2452
2557
  isActive: Scalars['Boolean'];
2453
2558
  applicationId?: Scalars['UUID'];
2454
2559
  createdAt: Scalars['DateTime'];
@@ -2470,6 +2575,7 @@ export interface AgentMessage {
2470
2575
  export interface AgentChatThread {
2471
2576
  id: Scalars['ID'];
2472
2577
  title?: Scalars['String'];
2578
+ totalCacheReadTokens: Scalars['Int'];
2473
2579
  totalInputTokens: Scalars['Int'];
2474
2580
  totalOutputTokens: Scalars['Int'];
2475
2581
  contextWindowTokens?: Scalars['Int'];
@@ -2687,6 +2793,9 @@ export interface Query {
2687
2793
  enterpriseSubscriptionStatus?: EnterpriseSubscriptionStatusDTO;
2688
2794
  getUsageAnalytics: UsageAnalytics;
2689
2795
  usageLimits: UsageLimit[];
2796
+ usageQuotasWithConsumption: UsageQuotaWithConsumption[];
2797
+ usageQuotaDefinitions: UsageQuotaDefinitions;
2798
+ usageQuotaScopeConsumption?: UsageQuotaScopeConsumption;
2690
2799
  getViewFilterGroups: ViewFilterGroup[];
2691
2800
  getViewFilterGroup?: ViewFilterGroup;
2692
2801
  getViewFilters: ViewFilter[];
@@ -2704,6 +2813,7 @@ export interface Query {
2704
2813
  apiKey?: ApiKey;
2705
2814
  currentUserSessions: UserSession[];
2706
2815
  myConnectedAccounts: ConnectedAccountPublicDTO[];
2816
+ applicationConnectedAccounts: ApplicationConnectedAccountDTO[];
2707
2817
  applicationConnectionProviders: ApplicationConnectionProvider[];
2708
2818
  billingPortalSession: BillingSession;
2709
2819
  listPlans: BillingPlan[];
@@ -2745,6 +2855,8 @@ export interface Query {
2745
2855
  githubClaimAuthorizationUrl: Scalars['String'];
2746
2856
  findManyApplications: Application[];
2747
2857
  findOneApplication: Application;
2858
+ findInstallApplicationJobStatus?: JobStatus;
2859
+ findUninstallApplicationJobStatus?: JobStatus;
2748
2860
  findManyMarketplaceApps: MarketplaceApp[];
2749
2861
  findMarketplaceAppDetail: MarketplaceAppDetail;
2750
2862
  publicMarketplaceApps: MarketplaceApp[];
@@ -2758,6 +2870,7 @@ export interface Query {
2758
2870
  messageSuppressions: MessageSuppressionList;
2759
2871
  unsubscribeTopics: UnsubscribeTopic[];
2760
2872
  myMessageChannels: MessageChannel[];
2873
+ appMessageChannels: MessageChannel[];
2761
2874
  getEmailingDomains: EmailingDomain[];
2762
2875
  getToolIndex: ToolIndexEntry[];
2763
2876
  getToolInputSchema?: Scalars['JSON'];
@@ -2771,6 +2884,7 @@ export interface Query {
2771
2884
  appConnections: AppConnection[];
2772
2885
  appConnection: AppConnection;
2773
2886
  findWorkspaceAiStats: WorkspaceAiStats;
2887
+ aiChatUsage?: AiChatUsage;
2774
2888
  chatThreads: AgentChatThread[];
2775
2889
  chatThread: AgentChatThread;
2776
2890
  chatMessages: AgentMessage[];
@@ -2820,7 +2934,8 @@ export interface Mutation {
2820
2934
  uploadWorkspaceLogo: FileWithSignedUrl;
2821
2935
  uploadWorkspaceMemberProfilePicture: FileWithSignedUrl;
2822
2936
  uploadFilesFieldFileByUniversalIdentifier: FileWithSignedUrl;
2823
- upsertUsageLimit: UsageLimit;
2937
+ createUsageLimit: UsageLimit;
2938
+ updateUsageLimit: UsageLimit;
2824
2939
  deleteUsageLimit: Scalars['Boolean'];
2825
2940
  createViewFilterGroup: ViewFilterGroup;
2826
2941
  updateViewFilterGroup: ViewFilterGroup;
@@ -2929,6 +3044,8 @@ export interface Mutation {
2929
3044
  /** @deprecated Use installApplication instead */
2930
3045
  installMarketplaceApp: Scalars['Boolean'];
2931
3046
  installApplication: Application;
3047
+ triggerInstallApplicationJob: TriggerInstallApplicationJobResult;
3048
+ triggerUninstallApplicationJob: TriggerUninstallApplicationJobResult;
2932
3049
  updateApplication: Application;
2933
3050
  uninstallApplication: Scalars['Boolean'];
2934
3051
  syncMarketplaceCatalog: Scalars['Boolean'];
@@ -2965,6 +3082,10 @@ export interface Mutation {
2965
3082
  createEmailGroupChannel: CreateEmailGroupChannelOutput;
2966
3083
  updateEmailGroupChannel: MessageChannel;
2967
3084
  deleteEmailGroupChannel: MessageChannel;
3085
+ createAppMessageChannel: MessageChannel;
3086
+ updateAppMessageChannel: MessageChannel;
3087
+ deleteAppMessageChannel: MessageChannel;
3088
+ ingestAppMessages: IngestAppMessagesOutput;
2968
3089
  createEmailingDomain: EmailingDomain;
2969
3090
  deleteEmailingDomain: Scalars['Boolean'];
2970
3091
  verifyEmailingDomain: EmailingDomain;
@@ -2980,6 +3101,7 @@ export interface Mutation {
2980
3101
  /** @deprecated Use enqueueJobs instead. */
2981
3102
  enqueueJob: EnqueueJobResult;
2982
3103
  enqueueJobs: EnqueueJobsResult;
3104
+ reportAppConnectionAuthFailure: Scalars['Boolean'];
2983
3105
  createChatThread: AgentChatThread;
2984
3106
  sendChatMessage: SendChatMessageResult;
2985
3107
  retryChatMessage: SendChatMessageResult;
@@ -3056,6 +3178,7 @@ export interface Mutation {
3056
3178
  renewApplicationToken: ApplicationTokenPair;
3057
3179
  __typename: 'Mutation';
3058
3180
  }
3181
+ export type MessageParticipantRole = 'FROM' | 'TO' | 'CC' | 'BCC' | 'REPLY_TO';
3059
3182
  export type RunAgentMessageRole = 'user' | 'assistant';
3060
3183
  export type AnalyticsType = 'PAGEVIEW' | 'TRACK';
3061
3184
  export interface Subscription {
@@ -3243,6 +3366,7 @@ export interface ObjectGenqlSelection {
3243
3366
  isSearchable?: boolean | number;
3244
3367
  openRecordIn?: boolean | number;
3245
3368
  readability?: boolean | number;
3369
+ readabilityParentFieldUniversalIdentifiers?: boolean | number;
3246
3370
  writability?: boolean | number;
3247
3371
  applicationId?: boolean | number;
3248
3372
  createdAt?: boolean | number;
@@ -3440,7 +3564,6 @@ export interface ApplicationGenqlSelection {
3440
3564
  logoFileId?: boolean | number;
3441
3565
  version?: boolean | number;
3442
3566
  universalIdentifier?: boolean | number;
3443
- state?: boolean | number;
3444
3567
  packageJsonChecksum?: boolean | number;
3445
3568
  packageJsonFileId?: boolean | number;
3446
3569
  yarnLockChecksum?: boolean | number;
@@ -3659,12 +3782,11 @@ export interface WorkspaceGenqlSelection {
3659
3782
  isInternalMessagesImportEnabled?: boolean | number;
3660
3783
  editableProfileFields?: boolean | number;
3661
3784
  defaultRole?: RoleGenqlSelection;
3662
- fastModel?: boolean | number;
3663
- smartModel?: boolean | number;
3785
+ aiChatModelTier?: boolean | number;
3786
+ aiAgentModelTier?: boolean | number;
3787
+ isAutoModelSelectionEnabled?: boolean | number;
3788
+ aiModelIdByTier?: boolean | number;
3664
3789
  aiAdditionalInstructions?: boolean | number;
3665
- enabledAiModelIds?: boolean | number;
3666
- useRecommendedModels?: boolean | number;
3667
- routerModel?: boolean | number;
3668
3790
  workspaceCustomApplication?: ApplicationGenqlSelection;
3669
3791
  featureFlags?: FeatureFlagGenqlSelection;
3670
3792
  billingSubscriptions?: BillingSubscriptionGenqlSelection;
@@ -3731,6 +3853,107 @@ export interface ApplicationRegistrationGenqlSelection {
3731
3853
  __typename?: boolean | number;
3732
3854
  __scalar?: boolean | number;
3733
3855
  }
3856
+ export interface BillingSubscriptionSchedulePhaseItemGenqlSelection {
3857
+ price?: boolean | number;
3858
+ quantity?: boolean | number;
3859
+ __typename?: boolean | number;
3860
+ __scalar?: boolean | number;
3861
+ }
3862
+ export interface BillingSubscriptionSchedulePhaseGenqlSelection {
3863
+ start_date?: boolean | number;
3864
+ end_date?: boolean | number;
3865
+ items?: BillingSubscriptionSchedulePhaseItemGenqlSelection;
3866
+ __typename?: boolean | number;
3867
+ __scalar?: boolean | number;
3868
+ }
3869
+ export interface BillingProductMetadataGenqlSelection {
3870
+ planKey?: boolean | number;
3871
+ priceUsageBased?: boolean | number;
3872
+ productKey?: boolean | number;
3873
+ isLegacy?: boolean | number;
3874
+ __typename?: boolean | number;
3875
+ __scalar?: boolean | number;
3876
+ }
3877
+ export interface BillingPriceLicensedGenqlSelection {
3878
+ recurringInterval?: boolean | number;
3879
+ unitAmount?: boolean | number;
3880
+ stripePriceId?: boolean | number;
3881
+ priceUsageType?: boolean | number;
3882
+ creditAmount?: boolean | number;
3883
+ isSellable?: boolean | number;
3884
+ __typename?: boolean | number;
3885
+ __scalar?: boolean | number;
3886
+ }
3887
+ export interface BillingPriceTierGenqlSelection {
3888
+ upTo?: boolean | number;
3889
+ flatAmount?: boolean | number;
3890
+ unitAmount?: boolean | number;
3891
+ __typename?: boolean | number;
3892
+ __scalar?: boolean | number;
3893
+ }
3894
+ export interface BillingPriceMeteredGenqlSelection {
3895
+ tiers?: BillingPriceTierGenqlSelection;
3896
+ recurringInterval?: boolean | number;
3897
+ stripePriceId?: boolean | number;
3898
+ priceUsageType?: boolean | number;
3899
+ __typename?: boolean | number;
3900
+ __scalar?: boolean | number;
3901
+ }
3902
+ export interface BillingProductGenqlSelection {
3903
+ name?: boolean | number;
3904
+ description?: boolean | number;
3905
+ images?: boolean | number;
3906
+ metadata?: BillingProductMetadataGenqlSelection;
3907
+ __typename?: boolean | number;
3908
+ __scalar?: boolean | number;
3909
+ }
3910
+ export interface BillingLicensedProductGenqlSelection {
3911
+ name?: boolean | number;
3912
+ description?: boolean | number;
3913
+ images?: boolean | number;
3914
+ metadata?: BillingProductMetadataGenqlSelection;
3915
+ prices?: BillingPriceLicensedGenqlSelection;
3916
+ __typename?: boolean | number;
3917
+ __scalar?: boolean | number;
3918
+ }
3919
+ export interface BillingMeteredProductGenqlSelection {
3920
+ name?: boolean | number;
3921
+ description?: boolean | number;
3922
+ images?: boolean | number;
3923
+ metadata?: BillingProductMetadataGenqlSelection;
3924
+ prices?: BillingPriceMeteredGenqlSelection;
3925
+ __typename?: boolean | number;
3926
+ __scalar?: boolean | number;
3927
+ }
3928
+ export interface BillingSubscriptionItemGenqlSelection {
3929
+ id?: boolean | number;
3930
+ hasReachedCurrentPeriodCap?: boolean | number;
3931
+ quantity?: boolean | number;
3932
+ stripePriceId?: boolean | number;
3933
+ unitAmount?: boolean | number;
3934
+ creditAmount?: boolean | number;
3935
+ billingProduct?: BillingProductDTOGenqlSelection;
3936
+ __typename?: boolean | number;
3937
+ __scalar?: boolean | number;
3938
+ }
3939
+ export interface BillingSubscriptionGenqlSelection {
3940
+ id?: boolean | number;
3941
+ status?: boolean | number;
3942
+ interval?: boolean | number;
3943
+ billingSubscriptionItems?: BillingSubscriptionItemGenqlSelection;
3944
+ currentPeriodEnd?: boolean | number;
3945
+ metadata?: boolean | number;
3946
+ phases?: BillingSubscriptionSchedulePhaseGenqlSelection;
3947
+ cancelAt?: boolean | number;
3948
+ __typename?: boolean | number;
3949
+ __scalar?: boolean | number;
3950
+ }
3951
+ export interface BillingCustomerGenqlSelection {
3952
+ id?: boolean | number;
3953
+ hasPaymentMethod?: boolean | number;
3954
+ __typename?: boolean | number;
3955
+ __scalar?: boolean | number;
3956
+ }
3734
3957
  export interface SdkClientChecksumsGenqlSelection {
3735
3958
  core?: boolean | number;
3736
3959
  metadata?: boolean | number;
@@ -3799,6 +4022,7 @@ export interface PageLayoutWidgetGridPositionGenqlSelection {
3799
4022
  export interface PageLayoutWidgetVerticalListPositionGenqlSelection {
3800
4023
  layoutMode?: boolean | number;
3801
4024
  index?: boolean | number;
4025
+ heightBehavior?: boolean | number;
3802
4026
  __typename?: boolean | number;
3803
4027
  __scalar?: boolean | number;
3804
4028
  }
@@ -4127,103 +4351,6 @@ export interface ApplicationConnectionProviderGenqlSelection {
4127
4351
  __typename?: boolean | number;
4128
4352
  __scalar?: boolean | number;
4129
4353
  }
4130
- export interface BillingSubscriptionSchedulePhaseItemGenqlSelection {
4131
- price?: boolean | number;
4132
- quantity?: boolean | number;
4133
- __typename?: boolean | number;
4134
- __scalar?: boolean | number;
4135
- }
4136
- export interface BillingSubscriptionSchedulePhaseGenqlSelection {
4137
- start_date?: boolean | number;
4138
- end_date?: boolean | number;
4139
- items?: BillingSubscriptionSchedulePhaseItemGenqlSelection;
4140
- __typename?: boolean | number;
4141
- __scalar?: boolean | number;
4142
- }
4143
- export interface BillingProductMetadataGenqlSelection {
4144
- planKey?: boolean | number;
4145
- priceUsageBased?: boolean | number;
4146
- productKey?: boolean | number;
4147
- __typename?: boolean | number;
4148
- __scalar?: boolean | number;
4149
- }
4150
- export interface BillingPriceLicensedGenqlSelection {
4151
- recurringInterval?: boolean | number;
4152
- unitAmount?: boolean | number;
4153
- stripePriceId?: boolean | number;
4154
- priceUsageType?: boolean | number;
4155
- creditAmount?: boolean | number;
4156
- __typename?: boolean | number;
4157
- __scalar?: boolean | number;
4158
- }
4159
- export interface BillingPriceTierGenqlSelection {
4160
- upTo?: boolean | number;
4161
- flatAmount?: boolean | number;
4162
- unitAmount?: boolean | number;
4163
- __typename?: boolean | number;
4164
- __scalar?: boolean | number;
4165
- }
4166
- export interface BillingPriceMeteredGenqlSelection {
4167
- tiers?: BillingPriceTierGenqlSelection;
4168
- recurringInterval?: boolean | number;
4169
- stripePriceId?: boolean | number;
4170
- priceUsageType?: boolean | number;
4171
- __typename?: boolean | number;
4172
- __scalar?: boolean | number;
4173
- }
4174
- export interface BillingProductGenqlSelection {
4175
- name?: boolean | number;
4176
- description?: boolean | number;
4177
- images?: boolean | number;
4178
- metadata?: BillingProductMetadataGenqlSelection;
4179
- __typename?: boolean | number;
4180
- __scalar?: boolean | number;
4181
- }
4182
- export interface BillingLicensedProductGenqlSelection {
4183
- name?: boolean | number;
4184
- description?: boolean | number;
4185
- images?: boolean | number;
4186
- metadata?: BillingProductMetadataGenqlSelection;
4187
- prices?: BillingPriceLicensedGenqlSelection;
4188
- __typename?: boolean | number;
4189
- __scalar?: boolean | number;
4190
- }
4191
- export interface BillingMeteredProductGenqlSelection {
4192
- name?: boolean | number;
4193
- description?: boolean | number;
4194
- images?: boolean | number;
4195
- metadata?: BillingProductMetadataGenqlSelection;
4196
- prices?: BillingPriceMeteredGenqlSelection;
4197
- __typename?: boolean | number;
4198
- __scalar?: boolean | number;
4199
- }
4200
- export interface BillingSubscriptionItemGenqlSelection {
4201
- id?: boolean | number;
4202
- hasReachedCurrentPeriodCap?: boolean | number;
4203
- quantity?: boolean | number;
4204
- stripePriceId?: boolean | number;
4205
- billingProduct?: BillingProductDTOGenqlSelection;
4206
- __typename?: boolean | number;
4207
- __scalar?: boolean | number;
4208
- }
4209
- export interface BillingCustomerGenqlSelection {
4210
- id?: boolean | number;
4211
- hasPaymentMethod?: boolean | number;
4212
- __typename?: boolean | number;
4213
- __scalar?: boolean | number;
4214
- }
4215
- export interface BillingSubscriptionGenqlSelection {
4216
- id?: boolean | number;
4217
- status?: boolean | number;
4218
- interval?: boolean | number;
4219
- billingSubscriptionItems?: BillingSubscriptionItemGenqlSelection;
4220
- currentPeriodEnd?: boolean | number;
4221
- metadata?: boolean | number;
4222
- phases?: BillingSubscriptionSchedulePhaseGenqlSelection;
4223
- cancelAt?: boolean | number;
4224
- __typename?: boolean | number;
4225
- __scalar?: boolean | number;
4226
- }
4227
4354
  export interface LogicFunctionExecutionResultGenqlSelection {
4228
4355
  /** Execution result in JSON format */
4229
4356
  data?: boolean | number;
@@ -4451,6 +4578,46 @@ export interface UsageAnalyticsGenqlSelection {
4451
4578
  __typename?: boolean | number;
4452
4579
  __scalar?: boolean | number;
4453
4580
  }
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
+ }
4454
4621
  export interface UsageLimitGenqlSelection {
4455
4622
  id?: boolean | number;
4456
4623
  resourceType?: boolean | number;
@@ -4527,12 +4694,35 @@ export interface PublicImapSmtpCaldavConnectionParametersGenqlSelection {
4527
4694
  __typename?: boolean | number;
4528
4695
  __scalar?: boolean | number;
4529
4696
  }
4530
- export interface ConnectedAccountPublicDTOGenqlSelection {
4697
+ export interface ConnectedAccountPublicDTOGenqlSelection {
4698
+ id?: boolean | number;
4699
+ handle?: boolean | number;
4700
+ provider?: boolean | number;
4701
+ lastCredentialsRefreshedAt?: boolean | number;
4702
+ authFailedAt?: boolean | number;
4703
+ authFailedReason?: boolean | number;
4704
+ archivedAt?: boolean | number;
4705
+ handleAliases?: boolean | number;
4706
+ scopes?: boolean | number;
4707
+ lastSignedInAt?: boolean | number;
4708
+ userWorkspaceId?: boolean | number;
4709
+ connectionProviderId?: boolean | number;
4710
+ applicationId?: boolean | number;
4711
+ name?: boolean | number;
4712
+ visibility?: boolean | number;
4713
+ createdAt?: boolean | number;
4714
+ updatedAt?: boolean | number;
4715
+ connectionParameters?: PublicImapSmtpCaldavConnectionParametersGenqlSelection;
4716
+ __typename?: boolean | number;
4717
+ __scalar?: boolean | number;
4718
+ }
4719
+ export interface ApplicationConnectedAccountDTOGenqlSelection {
4531
4720
  id?: boolean | number;
4532
4721
  handle?: boolean | number;
4533
4722
  provider?: boolean | number;
4534
4723
  lastCredentialsRefreshedAt?: boolean | number;
4535
4724
  authFailedAt?: boolean | number;
4725
+ authFailedReason?: boolean | number;
4536
4726
  archivedAt?: boolean | number;
4537
4727
  handleAliases?: boolean | number;
4538
4728
  scopes?: boolean | number;
@@ -4545,6 +4735,8 @@ export interface ConnectedAccountPublicDTOGenqlSelection {
4545
4735
  createdAt?: boolean | number;
4546
4736
  updatedAt?: boolean | number;
4547
4737
  connectionParameters?: PublicImapSmtpCaldavConnectionParametersGenqlSelection;
4738
+ /** @deprecated Ownership no longer gates connection actions, every application admin manages a workspace-shared connection */
4739
+ isOwnedByCurrentUser?: boolean | number;
4548
4740
  __typename?: boolean | number;
4549
4741
  __scalar?: boolean | number;
4550
4742
  }
@@ -4654,12 +4846,23 @@ export interface ClientAiModelConfigGenqlSelection {
4654
4846
  outputCostPerMillionTokens?: boolean | number;
4655
4847
  nativeCapabilities?: NativeModelCapabilitiesGenqlSelection;
4656
4848
  isDeprecated?: boolean | number;
4657
- isRecommended?: boolean | number;
4658
4849
  providerName?: boolean | number;
4659
4850
  providerLabel?: boolean | number;
4660
4851
  contextWindowTokens?: boolean | number;
4661
4852
  maxOutputTokens?: boolean | number;
4662
4853
  dataResidency?: boolean | number;
4854
+ intelligenceIndex?: boolean | number;
4855
+ outputTokensPerSecond?: boolean | number;
4856
+ costPerTask?: boolean | number;
4857
+ efforts?: boolean | number;
4858
+ effort?: boolean | number;
4859
+ isBenchmarkInherited?: boolean | number;
4860
+ __typename?: boolean | number;
4861
+ __scalar?: boolean | number;
4862
+ }
4863
+ export interface ClientAiModelTierConfigGenqlSelection {
4864
+ tier?: boolean | number;
4865
+ modelId?: boolean | number;
4663
4866
  __typename?: boolean | number;
4664
4867
  __scalar?: boolean | number;
4665
4868
  }
@@ -4722,6 +4925,7 @@ export interface ClientConfigGenqlSelection {
4722
4925
  authProviders?: AuthProvidersGenqlSelection;
4723
4926
  billing?: BillingGenqlSelection;
4724
4927
  aiModels?: ClientAiModelConfigGenqlSelection;
4928
+ aiModelTiers?: ClientAiModelTierConfigGenqlSelection;
4725
4929
  signInPrefilled?: boolean | number;
4726
4930
  isMultiWorkspaceEnabled?: boolean | number;
4727
4931
  isEmailVerificationRequired?: boolean | number;
@@ -4800,6 +5004,7 @@ export interface AppConnectionGenqlSelection {
4800
5004
  accessToken?: boolean | number;
4801
5005
  scopes?: boolean | number;
4802
5006
  authFailedAt?: boolean | number;
5007
+ authFailedReason?: boolean | number;
4803
5008
  __typename?: boolean | number;
4804
5009
  __scalar?: boolean | number;
4805
5010
  }
@@ -4953,6 +5158,7 @@ export interface MarketplaceAppDetailGenqlSelection {
4953
5158
  /** @deprecated Use galleryImages instead */
4954
5159
  screenshots?: boolean | number;
4955
5160
  galleryImages?: boolean | number;
5161
+ installCount?: boolean | number;
4956
5162
  defaultRoleUniversalIdentifier?: boolean | number;
4957
5163
  roles?: MarketplaceAppRoleGenqlSelection;
4958
5164
  /** @deprecated Use the explicit MarketplaceAppDetail fields (description, author, roles, ...) instead */
@@ -4960,6 +5166,16 @@ export interface MarketplaceAppDetailGenqlSelection {
4960
5166
  __typename?: boolean | number;
4961
5167
  __scalar?: boolean | number;
4962
5168
  }
5169
+ export interface TriggerInstallApplicationJobResultGenqlSelection {
5170
+ jobId?: boolean | number;
5171
+ __typename?: boolean | number;
5172
+ __scalar?: boolean | number;
5173
+ }
5174
+ export interface TriggerUninstallApplicationJobResultGenqlSelection {
5175
+ jobId?: boolean | number;
5176
+ __typename?: boolean | number;
5177
+ __scalar?: boolean | number;
5178
+ }
4963
5179
  export interface WorkspaceCompanyEnrichmentResultGenqlSelection {
4964
5180
  outcome?: boolean | number;
4965
5181
  enrichment?: boolean | number;
@@ -4985,6 +5201,8 @@ export interface FieldGenqlSelection {
4985
5201
  isUIReadOnly?: boolean | number;
4986
5202
  isNullable?: boolean | number;
4987
5203
  isUnique?: boolean | number;
5204
+ isSearchable?: boolean | number;
5205
+ isAuditLogged?: boolean | number;
4988
5206
  defaultValue?: boolean | number;
4989
5207
  options?: boolean | number;
4990
5208
  settings?: boolean | number;
@@ -5440,6 +5658,18 @@ export interface MessageChannelGenqlSelection {
5440
5658
  __typename?: boolean | number;
5441
5659
  __scalar?: boolean | number;
5442
5660
  }
5661
+ export interface IngestedAppMessageGenqlSelection {
5662
+ externalId?: boolean | number;
5663
+ messageId?: boolean | number;
5664
+ messageThreadId?: boolean | number;
5665
+ __typename?: boolean | number;
5666
+ __scalar?: boolean | number;
5667
+ }
5668
+ export interface IngestAppMessagesOutputGenqlSelection {
5669
+ messages?: IngestedAppMessageGenqlSelection;
5670
+ __typename?: boolean | number;
5671
+ __scalar?: boolean | number;
5672
+ }
5443
5673
  export interface CreateEmailGroupChannelOutputGenqlSelection {
5444
5674
  messageChannel?: MessageChannelGenqlSelection;
5445
5675
  forwardingAddress?: boolean | number;
@@ -5751,6 +5981,13 @@ export interface EventLogQueryResultGenqlSelection {
5751
5981
  __typename?: boolean | number;
5752
5982
  __scalar?: boolean | number;
5753
5983
  }
5984
+ export interface AiChatUsageGenqlSelection {
5985
+ limitValue?: boolean | number;
5986
+ consumedValue?: boolean | number;
5987
+ periodEnd?: boolean | number;
5988
+ __typename?: boolean | number;
5989
+ __scalar?: boolean | number;
5990
+ }
5754
5991
  export interface SkillGenqlSelection {
5755
5992
  id?: boolean | number;
5756
5993
  name?: boolean | number;
@@ -5759,6 +5996,7 @@ export interface SkillGenqlSelection {
5759
5996
  description?: boolean | number;
5760
5997
  content?: boolean | number;
5761
5998
  isCustom?: boolean | number;
5999
+ isSystem?: boolean | number;
5762
6000
  isActive?: boolean | number;
5763
6001
  applicationId?: boolean | number;
5764
6002
  createdAt?: boolean | number;
@@ -5782,6 +6020,7 @@ export interface AgentMessageGenqlSelection {
5782
6020
  export interface AgentChatThreadGenqlSelection {
5783
6021
  id?: boolean | number;
5784
6022
  title?: boolean | number;
6023
+ totalCacheReadTokens?: boolean | number;
5785
6024
  totalInputTokens?: boolean | number;
5786
6025
  totalOutputTokens?: boolean | number;
5787
6026
  contextWindowTokens?: boolean | number;
@@ -6036,6 +6275,13 @@ export interface QueryGenqlSelection {
6036
6275
  };
6037
6276
  });
6038
6277
  usageLimits?: UsageLimitGenqlSelection;
6278
+ usageQuotasWithConsumption?: UsageQuotaWithConsumptionGenqlSelection;
6279
+ usageQuotaDefinitions?: UsageQuotaDefinitionsGenqlSelection;
6280
+ usageQuotaScopeConsumption?: (UsageQuotaScopeConsumptionGenqlSelection & {
6281
+ __args: {
6282
+ input: UsageQuotaScopeInput;
6283
+ };
6284
+ });
6039
6285
  getViewFilterGroups?: (ViewFilterGroupGenqlSelection & {
6040
6286
  __args?: {
6041
6287
  viewId?: (Scalars['String'] | null);
@@ -6106,6 +6352,11 @@ export interface QueryGenqlSelection {
6106
6352
  });
6107
6353
  currentUserSessions?: UserSessionGenqlSelection;
6108
6354
  myConnectedAccounts?: ConnectedAccountPublicDTOGenqlSelection;
6355
+ applicationConnectedAccounts?: (ApplicationConnectedAccountDTOGenqlSelection & {
6356
+ __args: {
6357
+ applicationId: Scalars['UUID'];
6358
+ };
6359
+ });
6109
6360
  applicationConnectionProviders?: (ApplicationConnectionProviderGenqlSelection & {
6110
6361
  __args: {
6111
6362
  applicationId: Scalars['UUID'];
@@ -6267,6 +6518,16 @@ export interface QueryGenqlSelection {
6267
6518
  universalIdentifier?: (Scalars['UUID'] | null);
6268
6519
  };
6269
6520
  });
6521
+ findInstallApplicationJobStatus?: (JobStatusGenqlSelection & {
6522
+ __args: {
6523
+ universalIdentifier: Scalars['String'];
6524
+ };
6525
+ });
6526
+ findUninstallApplicationJobStatus?: (JobStatusGenqlSelection & {
6527
+ __args: {
6528
+ universalIdentifier: Scalars['String'];
6529
+ };
6530
+ });
6270
6531
  findManyMarketplaceApps?: (MarketplaceAppGenqlSelection & {
6271
6532
  __args?: {
6272
6533
  universalIdentifiers?: (Scalars['String'][] | null);
@@ -6328,6 +6589,11 @@ export interface QueryGenqlSelection {
6328
6589
  connectedAccountId?: (Scalars['UUID'] | null);
6329
6590
  };
6330
6591
  });
6592
+ appMessageChannels?: (MessageChannelGenqlSelection & {
6593
+ __args?: {
6594
+ filter?: (ListAppMessageChannelsInput | null);
6595
+ };
6596
+ });
6331
6597
  getEmailingDomains?: EmailingDomainGenqlSelection;
6332
6598
  getToolIndex?: ToolIndexEntryGenqlSelection;
6333
6599
  getToolInputSchema?: {
@@ -6374,6 +6640,7 @@ export interface QueryGenqlSelection {
6374
6640
  };
6375
6641
  });
6376
6642
  findWorkspaceAiStats?: WorkspaceAiStatsGenqlSelection;
6643
+ aiChatUsage?: AiChatUsageGenqlSelection;
6377
6644
  chatThreads?: AgentChatThreadGenqlSelection;
6378
6645
  chatThread?: (AgentChatThreadGenqlSelection & {
6379
6646
  __args: {
@@ -6497,6 +6764,14 @@ export interface UsageAnalyticsInput {
6497
6764
  userWorkspaceId?: (Scalars['String'] | null);
6498
6765
  operationTypes?: (UsageOperationType[] | null);
6499
6766
  }
6767
+ export interface UsageQuotaScopeInput {
6768
+ resourceType: UsageResourceType;
6769
+ operationType: UsageOperationType;
6770
+ spenderType: Scalars['String'];
6771
+ spenderId?: (Scalars['String'] | null);
6772
+ periodUnit: Scalars['String'];
6773
+ meter: Scalars['String'];
6774
+ }
6500
6775
  export interface GetApiKeyInput {
6501
6776
  id: Scalars['UUID'];
6502
6777
  }
@@ -6532,6 +6807,9 @@ export interface FindMessageSuppressionsInput {
6532
6807
  limit: Scalars['Int'];
6533
6808
  offset: Scalars['Int'];
6534
6809
  }
6810
+ export interface ListAppMessageChannelsInput {
6811
+ connectedAccountId?: (Scalars['UUID'] | null);
6812
+ }
6535
6813
  export interface ListAppConnectionsInput {
6536
6814
  providerName?: (Scalars['String'] | null);
6537
6815
  userWorkspaceId?: (Scalars['String'] | null);
@@ -6649,9 +6927,14 @@ export interface MutationGenqlSelection {
6649
6927
  fieldMetadataUniversalIdentifier: Scalars['String'];
6650
6928
  };
6651
6929
  });
6652
- upsertUsageLimit?: (UsageLimitGenqlSelection & {
6930
+ createUsageLimit?: (UsageLimitGenqlSelection & {
6931
+ __args: {
6932
+ input: CreateUsageLimitInput;
6933
+ };
6934
+ });
6935
+ updateUsageLimit?: (UsageLimitGenqlSelection & {
6653
6936
  __args: {
6654
- input: UpsertUsageLimitInput;
6937
+ input: UpdateUsageLimitInput;
6655
6938
  };
6656
6939
  });
6657
6940
  deleteUsageLimit?: {
@@ -7166,6 +7449,16 @@ export interface MutationGenqlSelection {
7166
7449
  version?: (Scalars['String'] | null);
7167
7450
  };
7168
7451
  });
7452
+ triggerInstallApplicationJob?: (TriggerInstallApplicationJobResultGenqlSelection & {
7453
+ __args: {
7454
+ input: TriggerInstallApplicationJobInput;
7455
+ };
7456
+ });
7457
+ triggerUninstallApplicationJob?: (TriggerUninstallApplicationJobResultGenqlSelection & {
7458
+ __args: {
7459
+ input: TriggerUninstallApplicationJobInput;
7460
+ };
7461
+ });
7169
7462
  updateApplication?: (ApplicationGenqlSelection & {
7170
7463
  __args: {
7171
7464
  id: Scalars['UUID'];
@@ -7345,6 +7638,26 @@ export interface MutationGenqlSelection {
7345
7638
  id: Scalars['UUID'];
7346
7639
  };
7347
7640
  });
7641
+ createAppMessageChannel?: (MessageChannelGenqlSelection & {
7642
+ __args: {
7643
+ input: CreateAppMessageChannelInput;
7644
+ };
7645
+ });
7646
+ updateAppMessageChannel?: (MessageChannelGenqlSelection & {
7647
+ __args: {
7648
+ input: UpdateAppMessageChannelInput;
7649
+ };
7650
+ });
7651
+ deleteAppMessageChannel?: (MessageChannelGenqlSelection & {
7652
+ __args: {
7653
+ id: Scalars['UUID'];
7654
+ };
7655
+ });
7656
+ ingestAppMessages?: (IngestAppMessagesOutputGenqlSelection & {
7657
+ __args: {
7658
+ input: IngestAppMessagesInput;
7659
+ };
7660
+ });
7348
7661
  createEmailingDomain?: (EmailingDomainGenqlSelection & {
7349
7662
  __args: {
7350
7663
  input: CreateEmailingDomainInput;
@@ -7417,6 +7730,11 @@ export interface MutationGenqlSelection {
7417
7730
  input: EnqueueJobsInput;
7418
7731
  };
7419
7732
  });
7733
+ reportAppConnectionAuthFailure?: {
7734
+ __args: {
7735
+ input: ReportAppConnectionAuthFailureInput;
7736
+ };
7737
+ };
7420
7738
  createChatThread?: AgentChatThreadGenqlSelection;
7421
7739
  sendChatMessage?: (SendChatMessageResultGenqlSelection & {
7422
7740
  __args: {
@@ -7878,7 +8196,7 @@ export interface UpdateNavigationMenuItemInput {
7878
8196
  color?: (Scalars['String'] | null);
7879
8197
  pageLayoutId?: (Scalars['UUID'] | null);
7880
8198
  }
7881
- export interface UpsertUsageLimitInput {
8199
+ export interface CreateUsageLimitInput {
7882
8200
  resourceType: UsageResourceType;
7883
8201
  operationType: UsageOperationType;
7884
8202
  spenderType: Scalars['String'];
@@ -7890,6 +8208,10 @@ export interface UpsertUsageLimitInput {
7890
8208
  limitValue: Scalars['BigInt'];
7891
8209
  burstValue?: (Scalars['BigInt'] | null);
7892
8210
  }
8211
+ export interface UpdateUsageLimitInput {
8212
+ id: Scalars['UUID'];
8213
+ payload: CreateUsageLimitInput;
8214
+ }
7893
8215
  export interface CreateViewFilterGroupInput {
7894
8216
  id?: (Scalars['UUID'] | null);
7895
8217
  parentViewFilterGroupId?: (Scalars['UUID'] | null);
@@ -8370,6 +8692,7 @@ export interface UpdateLogicFunctionFromSourceInputUpdates {
8370
8692
  }
8371
8693
  export interface CreateCommandMenuItemInput {
8372
8694
  workflowVersionId?: (Scalars['UUID'] | null);
8695
+ coreWorkflowVersionId?: (Scalars['UUID'] | null);
8373
8696
  frontComponentId?: (Scalars['UUID'] | null);
8374
8697
  engineComponentKey: EngineComponentKey;
8375
8698
  label: Scalars['String'];
@@ -8441,12 +8764,12 @@ export interface UpdateWorkspaceInput {
8441
8764
  isTwoFactorAuthenticationEnforced?: (Scalars['Boolean'] | null);
8442
8765
  trashRetentionDays?: (Scalars['Float'] | null);
8443
8766
  eventLogRetentionDays?: (Scalars['Float'] | null);
8444
- fastModel?: (Scalars['String'] | null);
8445
- smartModel?: (Scalars['String'] | null);
8767
+ aiChatModelTier?: (AiModelTier | null);
8768
+ aiAgentModelTier?: (AiModelTier | null);
8769
+ isAutoModelSelectionEnabled?: (Scalars['Boolean'] | null);
8770
+ aiModelIdByTier?: (Scalars['JSON'] | null);
8446
8771
  aiAdditionalInstructions?: (Scalars['String'] | null);
8447
8772
  editableProfileFields?: (Scalars['String'][] | null);
8448
- enabledAiModelIds?: (Scalars['String'][] | null);
8449
- useRecommendedModels?: (Scalars['Boolean'] | null);
8450
8773
  isInternalMessagesImportEnabled?: (Scalars['Boolean'] | null);
8451
8774
  }
8452
8775
  export interface CreateApplicationRegistrationInput {
@@ -8463,9 +8786,6 @@ export interface UpdateApplicationRegistrationPayload {
8463
8786
  name?: (Scalars['String'] | null);
8464
8787
  oAuthRedirectUris?: (Scalars['String'][] | null);
8465
8788
  oAuthScopes?: (Scalars['String'][] | null);
8466
- isListed?: (Scalars['Boolean'] | null);
8467
- isPreInstalled?: (Scalars['Boolean'] | null);
8468
- isVetted?: (Scalars['Boolean'] | null);
8469
8789
  }
8470
8790
  export interface CreateApplicationRegistrationVariableInput {
8471
8791
  applicationRegistrationId: Scalars['String'];
@@ -8483,6 +8803,12 @@ export interface UpdateApplicationRegistrationVariablePayload {
8483
8803
  resetValue?: (Scalars['Boolean'] | null);
8484
8804
  description?: (Scalars['String'] | null);
8485
8805
  }
8806
+ export interface TriggerInstallApplicationJobInput {
8807
+ universalIdentifier: Scalars['String'];
8808
+ }
8809
+ export interface TriggerUninstallApplicationJobInput {
8810
+ universalIdentifier: Scalars['String'];
8811
+ }
8486
8812
  export interface UpdateApplicationInput {
8487
8813
  autoUpgrade?: (Scalars['Boolean'] | null);
8488
8814
  }
@@ -8502,6 +8828,8 @@ export interface CreateFieldInput {
8502
8828
  isUIReadOnly?: (Scalars['Boolean'] | null);
8503
8829
  isNullable?: (Scalars['Boolean'] | null);
8504
8830
  isUnique?: (Scalars['Boolean'] | null);
8831
+ isSearchable?: (Scalars['Boolean'] | null);
8832
+ isAuditLogged?: (Scalars['Boolean'] | null);
8505
8833
  defaultValue?: (Scalars['JSON'] | null);
8506
8834
  options?: (Scalars['JSON'] | null);
8507
8835
  settings?: (Scalars['JSON'] | null);
@@ -8529,6 +8857,8 @@ export interface UpdateFieldInput {
8529
8857
  isUIReadOnly?: (Scalars['Boolean'] | null);
8530
8858
  isNullable?: (Scalars['Boolean'] | null);
8531
8859
  isUnique?: (Scalars['Boolean'] | null);
8860
+ isSearchable?: (Scalars['Boolean'] | null);
8861
+ isAuditLogged?: (Scalars['Boolean'] | null);
8532
8862
  defaultValue?: (Scalars['JSON'] | null);
8533
8863
  options?: (Scalars['JSON'] | null);
8534
8864
  settings?: (Scalars['JSON'] | null);
@@ -8664,6 +8994,7 @@ export interface SendEmailViaDomainInput {
8664
8994
  }
8665
8995
  export interface SendMessageCampaignInput {
8666
8996
  campaignId: Scalars['String'];
8997
+ scheduledAt?: (Scalars['DateTime'] | null);
8667
8998
  }
8668
8999
  export interface CancelMessageCampaignInput {
8669
9000
  campaignId: Scalars['String'];
@@ -8711,6 +9042,37 @@ export interface UpdateEmailGroupChannelInput {
8711
9042
  id: Scalars['UUID'];
8712
9043
  displayName?: (Scalars['String'] | null);
8713
9044
  }
9045
+ export interface CreateAppMessageChannelInput {
9046
+ connectedAccountId: Scalars['UUID'];
9047
+ handle: Scalars['String'];
9048
+ displayName?: (Scalars['String'] | null);
9049
+ visibility: MessageChannelVisibility;
9050
+ }
9051
+ export interface UpdateAppMessageChannelInput {
9052
+ id: Scalars['UUID'];
9053
+ displayName?: (Scalars['String'] | null);
9054
+ visibility?: (MessageChannelVisibility | null);
9055
+ isSyncEnabled?: (Scalars['Boolean'] | null);
9056
+ }
9057
+ export interface IngestAppMessagesInput {
9058
+ messageChannelId: Scalars['UUID'];
9059
+ messages: AppMessageInput[];
9060
+ }
9061
+ export interface AppMessageInput {
9062
+ externalId: Scalars['String'];
9063
+ threadExternalId: Scalars['String'];
9064
+ subject?: (Scalars['String'] | null);
9065
+ text: Scalars['String'];
9066
+ receivedAt: Scalars['DateTime'];
9067
+ participants: AppMessageParticipantInput[];
9068
+ }
9069
+ export interface AppMessageParticipantInput {
9070
+ role: MessageParticipantRole;
9071
+ handle: Scalars['String'];
9072
+ displayName?: (Scalars['String'] | null);
9073
+ personId?: (Scalars['UUID'] | null);
9074
+ workspaceMemberId?: (Scalars['UUID'] | null);
9075
+ }
8714
9076
  export interface CreateEmailingDomainInput {
8715
9077
  domain: Scalars['String'];
8716
9078
  }
@@ -8723,6 +9085,11 @@ export interface RunAgentInput {
8723
9085
  export interface RunAgentMessageInput {
8724
9086
  role: RunAgentMessageRole;
8725
9087
  content: Scalars['String'];
9088
+ attachments?: (RunAgentMessageAttachmentInput[] | null);
9089
+ }
9090
+ export interface RunAgentMessageAttachmentInput {
9091
+ fileId: Scalars['UUID'];
9092
+ filename?: (Scalars['String'] | null);
8726
9093
  }
8727
9094
  export interface CreateWebhookInput {
8728
9095
  id?: (Scalars['UUID'] | null);
@@ -8787,6 +9154,10 @@ export interface EnqueueJobItemInput {
8787
9154
  payload?: (Scalars['JSON'] | null);
8788
9155
  jobId?: (Scalars['String'] | null);
8789
9156
  }
9157
+ export interface ReportAppConnectionAuthFailureInput {
9158
+ id: Scalars['ID'];
9159
+ reason?: (Scalars['String'] | null);
9160
+ }
8790
9161
  export interface FileAttachmentInput {
8791
9162
  id: Scalars['UUID'];
8792
9163
  filename: Scalars['String'];
@@ -9043,6 +9414,42 @@ export declare const isUser: (obj?: {
9043
9414
  export declare const isApplicationRegistration: (obj?: {
9044
9415
  __typename?: any;
9045
9416
  } | null | undefined) => obj is ApplicationRegistration;
9417
+ export declare const isBillingSubscriptionSchedulePhaseItem: (obj?: {
9418
+ __typename?: any;
9419
+ } | null | undefined) => obj is BillingSubscriptionSchedulePhaseItem;
9420
+ export declare const isBillingSubscriptionSchedulePhase: (obj?: {
9421
+ __typename?: any;
9422
+ } | null | undefined) => obj is BillingSubscriptionSchedulePhase;
9423
+ export declare const isBillingProductMetadata: (obj?: {
9424
+ __typename?: any;
9425
+ } | null | undefined) => obj is BillingProductMetadata;
9426
+ export declare const isBillingPriceLicensed: (obj?: {
9427
+ __typename?: any;
9428
+ } | null | undefined) => obj is BillingPriceLicensed;
9429
+ export declare const isBillingPriceTier: (obj?: {
9430
+ __typename?: any;
9431
+ } | null | undefined) => obj is BillingPriceTier;
9432
+ export declare const isBillingPriceMetered: (obj?: {
9433
+ __typename?: any;
9434
+ } | null | undefined) => obj is BillingPriceMetered;
9435
+ export declare const isBillingProduct: (obj?: {
9436
+ __typename?: any;
9437
+ } | null | undefined) => obj is BillingProduct;
9438
+ export declare const isBillingLicensedProduct: (obj?: {
9439
+ __typename?: any;
9440
+ } | null | undefined) => obj is BillingLicensedProduct;
9441
+ export declare const isBillingMeteredProduct: (obj?: {
9442
+ __typename?: any;
9443
+ } | null | undefined) => obj is BillingMeteredProduct;
9444
+ export declare const isBillingSubscriptionItem: (obj?: {
9445
+ __typename?: any;
9446
+ } | null | undefined) => obj is BillingSubscriptionItem;
9447
+ export declare const isBillingSubscription: (obj?: {
9448
+ __typename?: any;
9449
+ } | null | undefined) => obj is BillingSubscription;
9450
+ export declare const isBillingCustomer: (obj?: {
9451
+ __typename?: any;
9452
+ } | null | undefined) => obj is BillingCustomer;
9046
9453
  export declare const isSdkClientChecksums: (obj?: {
9047
9454
  __typename?: any;
9048
9455
  } | null | undefined) => obj is SdkClientChecksums;
@@ -9166,42 +9573,6 @@ export declare const isApplicationConnectionProviderOAuthConfig: (obj?: {
9166
9573
  export declare const isApplicationConnectionProvider: (obj?: {
9167
9574
  __typename?: any;
9168
9575
  } | null | undefined) => obj is ApplicationConnectionProvider;
9169
- export declare const isBillingSubscriptionSchedulePhaseItem: (obj?: {
9170
- __typename?: any;
9171
- } | null | undefined) => obj is BillingSubscriptionSchedulePhaseItem;
9172
- export declare const isBillingSubscriptionSchedulePhase: (obj?: {
9173
- __typename?: any;
9174
- } | null | undefined) => obj is BillingSubscriptionSchedulePhase;
9175
- export declare const isBillingProductMetadata: (obj?: {
9176
- __typename?: any;
9177
- } | null | undefined) => obj is BillingProductMetadata;
9178
- export declare const isBillingPriceLicensed: (obj?: {
9179
- __typename?: any;
9180
- } | null | undefined) => obj is BillingPriceLicensed;
9181
- export declare const isBillingPriceTier: (obj?: {
9182
- __typename?: any;
9183
- } | null | undefined) => obj is BillingPriceTier;
9184
- export declare const isBillingPriceMetered: (obj?: {
9185
- __typename?: any;
9186
- } | null | undefined) => obj is BillingPriceMetered;
9187
- export declare const isBillingProduct: (obj?: {
9188
- __typename?: any;
9189
- } | null | undefined) => obj is BillingProduct;
9190
- export declare const isBillingLicensedProduct: (obj?: {
9191
- __typename?: any;
9192
- } | null | undefined) => obj is BillingLicensedProduct;
9193
- export declare const isBillingMeteredProduct: (obj?: {
9194
- __typename?: any;
9195
- } | null | undefined) => obj is BillingMeteredProduct;
9196
- export declare const isBillingSubscriptionItem: (obj?: {
9197
- __typename?: any;
9198
- } | null | undefined) => obj is BillingSubscriptionItem;
9199
- export declare const isBillingCustomer: (obj?: {
9200
- __typename?: any;
9201
- } | null | undefined) => obj is BillingCustomer;
9202
- export declare const isBillingSubscription: (obj?: {
9203
- __typename?: any;
9204
- } | null | undefined) => obj is BillingSubscription;
9205
9576
  export declare const isLogicFunctionExecutionResult: (obj?: {
9206
9577
  __typename?: any;
9207
9578
  } | null | undefined) => obj is LogicFunctionExecutionResult;
@@ -9274,6 +9645,18 @@ export declare const isUsageUserDaily: (obj?: {
9274
9645
  export declare const isUsageAnalytics: (obj?: {
9275
9646
  __typename?: any;
9276
9647
  } | 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;
9277
9660
  export declare const isUsageLimit: (obj?: {
9278
9661
  __typename?: any;
9279
9662
  } | null | undefined) => obj is UsageLimit;
@@ -9304,6 +9687,9 @@ export declare const isPublicImapSmtpCaldavConnectionParameters: (obj?: {
9304
9687
  export declare const isConnectedAccountPublicDTO: (obj?: {
9305
9688
  __typename?: any;
9306
9689
  } | null | undefined) => obj is ConnectedAccountPublicDTO;
9690
+ export declare const isApplicationConnectedAccountDTO: (obj?: {
9691
+ __typename?: any;
9692
+ } | null | undefined) => obj is ApplicationConnectedAccountDTO;
9307
9693
  export declare const isFeatureFlag: (obj?: {
9308
9694
  __typename?: any;
9309
9695
  } | null | undefined) => obj is FeatureFlag;
@@ -9343,6 +9729,9 @@ export declare const isNativeModelCapabilities: (obj?: {
9343
9729
  export declare const isClientAiModelConfig: (obj?: {
9344
9730
  __typename?: any;
9345
9731
  } | null | undefined) => obj is ClientAiModelConfig;
9732
+ export declare const isClientAiModelTierConfig: (obj?: {
9733
+ __typename?: any;
9734
+ } | null | undefined) => obj is ClientAiModelTierConfig;
9346
9735
  export declare const isBilling: (obj?: {
9347
9736
  __typename?: any;
9348
9737
  } | null | undefined) => obj is Billing;
@@ -9430,6 +9819,12 @@ export declare const isMarketplaceAppRole: (obj?: {
9430
9819
  export declare const isMarketplaceAppDetail: (obj?: {
9431
9820
  __typename?: any;
9432
9821
  } | null | undefined) => obj is MarketplaceAppDetail;
9822
+ export declare const isTriggerInstallApplicationJobResult: (obj?: {
9823
+ __typename?: any;
9824
+ } | null | undefined) => obj is TriggerInstallApplicationJobResult;
9825
+ export declare const isTriggerUninstallApplicationJobResult: (obj?: {
9826
+ __typename?: any;
9827
+ } | null | undefined) => obj is TriggerUninstallApplicationJobResult;
9433
9828
  export declare const isWorkspaceCompanyEnrichmentResult: (obj?: {
9434
9829
  __typename?: any;
9435
9830
  } | null | undefined) => obj is WorkspaceCompanyEnrichmentResult;
@@ -9610,6 +10005,12 @@ export declare const isEmailingDomain: (obj?: {
9610
10005
  export declare const isMessageChannel: (obj?: {
9611
10006
  __typename?: any;
9612
10007
  } | null | undefined) => obj is MessageChannel;
10008
+ export declare const isIngestedAppMessage: (obj?: {
10009
+ __typename?: any;
10010
+ } | null | undefined) => obj is IngestedAppMessage;
10011
+ export declare const isIngestAppMessagesOutput: (obj?: {
10012
+ __typename?: any;
10013
+ } | null | undefined) => obj is IngestAppMessagesOutput;
9613
10014
  export declare const isCreateEmailGroupChannelOutput: (obj?: {
9614
10015
  __typename?: any;
9615
10016
  } | null | undefined) => obj is CreateEmailGroupChannelOutput;
@@ -9715,6 +10116,9 @@ export declare const isEventLogPageInfo: (obj?: {
9715
10116
  export declare const isEventLogQueryResult: (obj?: {
9716
10117
  __typename?: any;
9717
10118
  } | null | undefined) => obj is EventLogQueryResult;
10119
+ export declare const isAiChatUsage: (obj?: {
10120
+ __typename?: any;
10121
+ } | null | undefined) => obj is AiChatUsage;
9718
10122
  export declare const isSkill: (obj?: {
9719
10123
  __typename?: any;
9720
10124
  } | null | undefined) => obj is Skill;
@@ -9955,12 +10359,6 @@ export declare const enumRowLevelPermissionPredicateOperand: {
9955
10359
  IS_TODAY: "IS_TODAY";
9956
10360
  VECTOR_SEARCH: "VECTOR_SEARCH";
9957
10361
  };
9958
- export declare const enumApplicationState: {
9959
- INSTALLING: "INSTALLING";
9960
- INSTALLED: "INSTALLED";
9961
- UPGRADING: "UPGRADING";
9962
- UNINSTALLING: "UNINSTALLING";
9963
- };
9964
10362
  export declare const enumPermissionFlagType: {
9965
10363
  API_KEYS_AND_WEBHOOKS: "API_KEYS_AND_WEBHOOKS";
9966
10364
  WORKSPACE: "WORKSPACE";
@@ -10070,6 +10468,13 @@ export declare const enumWorkspaceActivationStatus: {
10070
10468
  INACTIVE: "INACTIVE";
10071
10469
  SUSPENDED: "SUSPENDED";
10072
10470
  };
10471
+ export declare const enumAiModelTier: {
10472
+ extraFast: "extraFast";
10473
+ fast: "fast";
10474
+ balanced: "balanced";
10475
+ smart: "smart";
10476
+ extraSmart: "extraSmart";
10477
+ };
10073
10478
  export declare const enumOnboardingStatus: {
10074
10479
  PLAN_REQUIRED: "PLAN_REQUIRED";
10075
10480
  WORKSPACE_ACTIVATION: "WORKSPACE_ACTIVATION";
@@ -10080,6 +10485,32 @@ export declare const enumOnboardingStatus: {
10080
10485
  BOOK_CALL: "BOOK_CALL";
10081
10486
  COMPLETED: "COMPLETED";
10082
10487
  };
10488
+ export declare const enumBillingPlanKey: {
10489
+ PRO: "PRO";
10490
+ ENTERPRISE: "ENTERPRISE";
10491
+ };
10492
+ export declare const enumBillingUsageType: {
10493
+ METERED: "METERED";
10494
+ LICENSED: "LICENSED";
10495
+ };
10496
+ export declare const enumBillingProductKey: {
10497
+ BASE_PRODUCT: "BASE_PRODUCT";
10498
+ RESOURCE_CREDIT: "RESOURCE_CREDIT";
10499
+ };
10500
+ export declare const enumSubscriptionInterval: {
10501
+ Month: "Month";
10502
+ Year: "Year";
10503
+ };
10504
+ export declare const enumSubscriptionStatus: {
10505
+ Active: "Active";
10506
+ Canceled: "Canceled";
10507
+ Incomplete: "Incomplete";
10508
+ IncompleteExpired: "IncompleteExpired";
10509
+ PastDue: "PastDue";
10510
+ Paused: "Paused";
10511
+ Trialing: "Trialing";
10512
+ Unpaid: "Unpaid";
10513
+ };
10083
10514
  export declare const enumWidgetType: {
10084
10515
  VIEW: "VIEW";
10085
10516
  IFRAME: "IFRAME";
@@ -10111,6 +10542,10 @@ export declare const enumPageLayoutTabLayoutMode: {
10111
10542
  VERTICAL_LIST: "VERTICAL_LIST";
10112
10543
  CANVAS: "CANVAS";
10113
10544
  };
10545
+ export declare const enumPageLayoutWidgetVerticalListHeightBehavior: {
10546
+ FIT_CONTENT: "FIT_CONTENT";
10547
+ TAB_VIEWPORT: "TAB_VIEWPORT";
10548
+ };
10114
10549
  export declare const enumWidgetConfigurationType: {
10115
10550
  AGGREGATE_CHART: "AGGREGATE_CHART";
10116
10551
  PIE_CHART: "PIE_CHART";
@@ -10192,32 +10627,6 @@ export declare const enumPageLayoutType: {
10192
10627
  STANDALONE_PAGE: "STANDALONE_PAGE";
10193
10628
  RECORD_FORM: "RECORD_FORM";
10194
10629
  };
10195
- export declare const enumBillingPlanKey: {
10196
- PRO: "PRO";
10197
- ENTERPRISE: "ENTERPRISE";
10198
- };
10199
- export declare const enumBillingUsageType: {
10200
- METERED: "METERED";
10201
- LICENSED: "LICENSED";
10202
- };
10203
- export declare const enumBillingProductKey: {
10204
- BASE_PRODUCT: "BASE_PRODUCT";
10205
- RESOURCE_CREDIT: "RESOURCE_CREDIT";
10206
- };
10207
- export declare const enumSubscriptionInterval: {
10208
- Month: "Month";
10209
- Year: "Year";
10210
- };
10211
- export declare const enumSubscriptionStatus: {
10212
- Active: "Active";
10213
- Canceled: "Canceled";
10214
- Incomplete: "Incomplete";
10215
- IncompleteExpired: "IncompleteExpired";
10216
- PastDue: "PastDue";
10217
- Paused: "Paused";
10218
- Trialing: "Trialing";
10219
- Unpaid: "Unpaid";
10220
- };
10221
10630
  export declare const enumLogicFunctionExecutionStatus: {
10222
10631
  IDLE: "IDLE";
10223
10632
  SUCCESS: "SUCCESS";
@@ -10261,6 +10670,7 @@ export declare const enumUsageResourceType: {
10261
10670
  API: "API";
10262
10671
  LOGIC_FUNCTION: "LOGIC_FUNCTION";
10263
10672
  EMAIL: "EMAIL";
10673
+ WEBHOOK: "WEBHOOK";
10264
10674
  };
10265
10675
  export declare const enumUsageOperationType: {
10266
10676
  ALL: "ALL";
@@ -10272,6 +10682,7 @@ export declare const enumUsageOperationType: {
10272
10682
  CALL_RECORDING: "CALL_RECORDING";
10273
10683
  EMAIL_SEND: "EMAIL_SEND";
10274
10684
  API_REQUEST: "API_REQUEST";
10685
+ WEBHOOK_CALL: "WEBHOOK_CALL";
10275
10686
  SUBSCRIPTION: "SUBSCRIPTION";
10276
10687
  };
10277
10688
  export declare const enumEmailConnectionSecurity: {
@@ -10282,8 +10693,9 @@ export declare const enumEmailConnectionSecurity: {
10282
10693
  export declare const enumFeatureFlagKey: {
10283
10694
  IS_APP_CLAIMING_ENABLED: "IS_APP_CLAIMING_ENABLED";
10284
10695
  IS_UNIQUE_INDEXES_ENABLED: "IS_UNIQUE_INDEXES_ENABLED";
10696
+ IS_CONFIGURABLE_SEARCH_FIELDS_ENABLED: "IS_CONFIGURABLE_SEARCH_FIELDS_ENABLED";
10285
10697
  IS_JSON_FILTER_ENABLED: "IS_JSON_FILTER_ENABLED";
10286
- IS_EMAIL_GROUP_ENABLED: "IS_EMAIL_GROUP_ENABLED";
10698
+ IS_MESSAGE_CAMPAIGN_ENABLED: "IS_MESSAGE_CAMPAIGN_ENABLED";
10287
10699
  IS_JUNCTION_RELATIONS_ENABLED: "IS_JUNCTION_RELATIONS_ENABLED";
10288
10700
  IS_REST_METADATA_API_NEW_FORMAT_DIRECT: "IS_REST_METADATA_API_NEW_FORMAT_DIRECT";
10289
10701
  IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED: "IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED";
@@ -10291,6 +10703,10 @@ export declare const enumFeatureFlagKey: {
10291
10703
  IS_API_RATE_LIMIT_V2_ENABLED: "IS_API_RATE_LIMIT_V2_ENABLED";
10292
10704
  IS_MESSAGE_CALENDAR_TARGET_READ_ENABLED: "IS_MESSAGE_CALENDAR_TARGET_READ_ENABLED";
10293
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
+ IS_RECORD_SHARING_ENABLED: "IS_RECORD_SHARING_ENABLED";
10708
+ IS_INITIAL_OBJECT_VIEW_ENABLED: "IS_INITIAL_OBJECT_VIEW_ENABLED";
10709
+ IS_WEBHOOK_RATE_LIMIT_ENABLED: "IS_WEBHOOK_RATE_LIMIT_ENABLED";
10294
10710
  };
10295
10711
  export declare const enumIdentityProviderType: {
10296
10712
  OIDC: "OIDC";
@@ -10365,6 +10781,7 @@ export declare const enumBillingEntitlementKey: {
10365
10781
  SSO: "SSO";
10366
10782
  CUSTOM_DOMAIN: "CUSTOM_DOMAIN";
10367
10783
  RLS: "RLS";
10784
+ RECORD_SHARING: "RECORD_SHARING";
10368
10785
  AUDIT_LOGS: "AUDIT_LOGS";
10369
10786
  USAGE_LIMIT: "USAGE_LIMIT";
10370
10787
  };
@@ -10416,6 +10833,7 @@ export declare const enumMessageChannelType: {
10416
10833
  EMAIL: "EMAIL";
10417
10834
  SMS: "SMS";
10418
10835
  EMAIL_GROUP: "EMAIL_GROUP";
10836
+ APP: "APP";
10419
10837
  };
10420
10838
  export declare const enumMessageChannelContactAutoCreationPolicy: {
10421
10839
  SENT_AND_RECEIVED: "SENT_AND_RECEIVED";
@@ -10548,6 +10966,13 @@ export declare const enumEventLogTable: {
10548
10966
  USAGE_EVENT: "USAGE_EVENT";
10549
10967
  APPLICATION_LOG: "APPLICATION_LOG";
10550
10968
  };
10969
+ export declare const enumMessageParticipantRole: {
10970
+ FROM: "FROM";
10971
+ TO: "TO";
10972
+ CC: "CC";
10973
+ BCC: "BCC";
10974
+ REPLY_TO: "REPLY_TO";
10975
+ };
10551
10976
  export declare const enumRunAgentMessageRole: {
10552
10977
  user: "user";
10553
10978
  assistant: "assistant";