twenty-client-sdk 2.39.0 → 2.40.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.
@@ -313,7 +313,6 @@ export interface Application {
313
313
  logoFileId?: Scalars['UUID'];
314
314
  version?: Scalars['String'];
315
315
  universalIdentifier: Scalars['String'];
316
- state: ApplicationState;
317
316
  packageJsonChecksum?: Scalars['String'];
318
317
  packageJsonFileId?: Scalars['UUID'];
319
318
  yarnLockChecksum?: Scalars['String'];
@@ -335,7 +334,6 @@ export interface Application {
335
334
  logoUrl?: Scalars['String'];
336
335
  __typename: 'Application';
337
336
  }
338
- export type ApplicationState = 'INSTALLING' | 'INSTALLED' | 'UPGRADING' | 'UNINSTALLING';
339
337
  export interface TwoFactorAuthenticationMethodSummary {
340
338
  twoFactorAuthenticationMethodId: Scalars['UUID'];
341
339
  status: Scalars['String'];
@@ -533,12 +531,11 @@ export interface Workspace {
533
531
  isInternalMessagesImportEnabled: Scalars['Boolean'];
534
532
  editableProfileFields?: Scalars['String'][];
535
533
  defaultRole?: Role;
536
- fastModel: Scalars['String'];
537
- smartModel: Scalars['String'];
534
+ aiChatModelTier: AiModelTier;
535
+ aiAgentModelTier: AiModelTier;
536
+ isAutoModelSelectionEnabled: Scalars['Boolean'];
537
+ aiModelIdByTier: Scalars['JSON'];
538
538
  aiAdditionalInstructions?: Scalars['String'];
539
- enabledAiModelIds?: Scalars['String'][];
540
- useRecommendedModels: Scalars['Boolean'];
541
- routerModel: Scalars['String'];
542
539
  workspaceCustomApplication?: Application;
543
540
  featureFlags?: FeatureFlag[];
544
541
  billingSubscriptions: BillingSubscription[];
@@ -554,6 +551,7 @@ export interface Workspace {
554
551
  }
555
552
  export type WorkspaceDiscoverability = 'PUBLIC' | 'MEMBERS_AND_INVITEES' | 'HIDDEN';
556
553
  export type WorkspaceActivationStatus = 'ONGOING_CREATION' | 'PENDING_CREATION' | 'CREATED' | 'ACTIVE' | 'INACTIVE' | 'SUSPENDED';
554
+ export type AiModelTier = 'extraFast' | 'fast' | 'balanced' | 'smart' | 'extraSmart';
557
555
  export interface User {
558
556
  id: Scalars['UUID'];
559
557
  firstName: Scalars['String'];
@@ -966,6 +964,7 @@ export interface BillingProductMetadata {
966
964
  planKey: BillingPlanKey;
967
965
  priceUsageBased: BillingUsageType;
968
966
  productKey: BillingProductKey;
967
+ isLegacy?: Scalars['String'];
969
968
  __typename: 'BillingProductMetadata';
970
969
  }
971
970
  /** The different billing plans available */
@@ -979,6 +978,7 @@ export interface BillingPriceLicensed {
979
978
  stripePriceId: Scalars['String'];
980
979
  priceUsageType: BillingUsageType;
981
980
  creditAmount?: Scalars['Float'];
981
+ isSellable: Scalars['Boolean'];
982
982
  __typename: 'BillingPriceLicensed';
983
983
  }
984
984
  export type SubscriptionInterval = 'Month' | 'Year';
@@ -1023,6 +1023,8 @@ export interface BillingSubscriptionItem {
1023
1023
  hasReachedCurrentPeriodCap: Scalars['Boolean'];
1024
1024
  quantity?: Scalars['Float'];
1025
1025
  stripePriceId: Scalars['String'];
1026
+ unitAmount?: Scalars['Float'];
1027
+ creditAmount?: Scalars['Float'];
1026
1028
  billingProduct: BillingProductDTO;
1027
1029
  __typename: 'BillingSubscriptionItem';
1028
1030
  }
@@ -1271,8 +1273,8 @@ export interface UsageLimit {
1271
1273
  updatedAt: Scalars['DateTime'];
1272
1274
  __typename: 'UsageLimit';
1273
1275
  }
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
+ export type UsageResourceType = 'AI' | 'WORKFLOW' | 'APP' | 'STORAGE' | 'API' | 'LOGIC_FUNCTION' | 'EMAIL' | 'WEBHOOK';
1277
+ 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';
1276
1278
  export interface ApprovedAccessDomain {
1277
1279
  id: Scalars['UUID'];
1278
1280
  domain: Scalars['String'];
@@ -1331,6 +1333,7 @@ export interface ConnectedAccountPublicDTO {
1331
1333
  provider: Scalars['String'];
1332
1334
  lastCredentialsRefreshedAt?: Scalars['DateTime'];
1333
1335
  authFailedAt?: Scalars['DateTime'];
1336
+ authFailedReason?: Scalars['String'];
1334
1337
  archivedAt?: Scalars['DateTime'];
1335
1338
  handleAliases?: Scalars['String'][];
1336
1339
  scopes?: Scalars['String'][];
@@ -1345,12 +1348,34 @@ export interface ConnectedAccountPublicDTO {
1345
1348
  connectionParameters?: PublicImapSmtpCaldavConnectionParameters;
1346
1349
  __typename: 'ConnectedAccountPublicDTO';
1347
1350
  }
1351
+ export interface ApplicationConnectedAccountDTO {
1352
+ id: Scalars['UUID'];
1353
+ handle: Scalars['String'];
1354
+ provider: Scalars['String'];
1355
+ lastCredentialsRefreshedAt?: Scalars['DateTime'];
1356
+ authFailedAt?: Scalars['DateTime'];
1357
+ authFailedReason?: Scalars['String'];
1358
+ archivedAt?: Scalars['DateTime'];
1359
+ handleAliases?: Scalars['String'][];
1360
+ scopes?: Scalars['String'][];
1361
+ lastSignedInAt?: Scalars['DateTime'];
1362
+ userWorkspaceId: Scalars['UUID'];
1363
+ connectionProviderId?: Scalars['UUID'];
1364
+ applicationId?: Scalars['UUID'];
1365
+ name?: Scalars['String'];
1366
+ visibility: Scalars['String'];
1367
+ createdAt: Scalars['DateTime'];
1368
+ updatedAt: Scalars['DateTime'];
1369
+ connectionParameters?: PublicImapSmtpCaldavConnectionParameters;
1370
+ isOwnedByCurrentUser: Scalars['Boolean'];
1371
+ __typename: 'ApplicationConnectedAccountDTO';
1372
+ }
1348
1373
  export interface FeatureFlag {
1349
1374
  key: FeatureFlagKey;
1350
1375
  value: Scalars['Boolean'];
1351
1376
  __typename: 'FeatureFlag';
1352
1377
  }
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';
1378
+ export type FeatureFlagKey = 'IS_APP_CLAIMING_ENABLED' | 'IS_UNIQUE_INDEXES_ENABLED' | 'IS_CONFIGURABLE_SEARCH_FIELDS_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' | 'IS_RECORD_CREATION_FORM_ENABLED' | 'IS_RECORD_SHARING_ENABLED' | 'IS_WEBHOOK_RATE_LIMIT_ENABLED';
1354
1379
  export interface WorkspaceUrls {
1355
1380
  customUrl?: Scalars['String'];
1356
1381
  subdomainUrl: Scalars['String'];
@@ -1442,15 +1467,25 @@ export interface ClientAiModelConfig {
1442
1467
  outputCostPerMillionTokens?: Scalars['Float'];
1443
1468
  nativeCapabilities?: NativeModelCapabilities;
1444
1469
  isDeprecated?: Scalars['Boolean'];
1445
- isRecommended?: Scalars['Boolean'];
1446
1470
  providerName?: Scalars['String'];
1447
1471
  providerLabel?: Scalars['String'];
1448
1472
  contextWindowTokens?: Scalars['Float'];
1449
1473
  maxOutputTokens?: Scalars['Float'];
1450
1474
  dataResidency?: Scalars['String'];
1475
+ intelligenceIndex?: Scalars['Float'];
1476
+ outputTokensPerSecond?: Scalars['Float'];
1477
+ costPerTask?: Scalars['Float'];
1478
+ efforts?: Scalars['String'][];
1479
+ effort?: Scalars['String'];
1480
+ isBenchmarkInherited?: Scalars['Boolean'];
1451
1481
  __typename: 'ClientAiModelConfig';
1452
1482
  }
1453
1483
  export type ModelFamily = 'GPT' | 'CLAUDE' | 'GEMINI' | 'MISTRAL' | 'GROK';
1484
+ export interface ClientAiModelTierConfig {
1485
+ tier: AiModelTier;
1486
+ modelId: Scalars['String'];
1487
+ __typename: 'ClientAiModelTierConfig';
1488
+ }
1454
1489
  export interface Billing {
1455
1490
  isBillingEnabled: Scalars['Boolean'];
1456
1491
  billingUrl?: Scalars['String'];
@@ -1504,6 +1539,7 @@ export interface ClientConfig {
1504
1539
  authProviders: AuthProviders;
1505
1540
  billing: Billing;
1506
1541
  aiModels: ClientAiModelConfig[];
1542
+ aiModelTiers: ClientAiModelTierConfig[];
1507
1543
  signInPrefilled: Scalars['Boolean'];
1508
1544
  isMultiWorkspaceEnabled: Scalars['Boolean'];
1509
1545
  isEmailVerificationRequired: Scalars['Boolean'];
@@ -1577,6 +1613,7 @@ export interface AppConnection {
1577
1613
  accessToken: Scalars['String'];
1578
1614
  scopes: Scalars['String'][];
1579
1615
  authFailedAt?: Scalars['String'];
1616
+ authFailedReason?: Scalars['String'];
1580
1617
  __typename: 'AppConnection';
1581
1618
  }
1582
1619
  export interface ResendEmailVerificationToken {
@@ -1721,6 +1758,14 @@ export interface MarketplaceAppDetail {
1721
1758
  manifest?: Scalars['JSON'];
1722
1759
  __typename: 'MarketplaceAppDetail';
1723
1760
  }
1761
+ export interface TriggerInstallApplicationJobResult {
1762
+ jobId: Scalars['String'];
1763
+ __typename: 'TriggerInstallApplicationJobResult';
1764
+ }
1765
+ export interface TriggerUninstallApplicationJobResult {
1766
+ jobId: Scalars['String'];
1767
+ __typename: 'TriggerUninstallApplicationJobResult';
1768
+ }
1724
1769
  export interface WorkspaceCompanyEnrichmentResult {
1725
1770
  outcome: WorkspaceCompanyEnrichmentOutcome;
1726
1771
  enrichment?: Scalars['JSON'];
@@ -1747,6 +1792,8 @@ export interface Field {
1747
1792
  isUIReadOnly?: Scalars['Boolean'];
1748
1793
  isNullable?: Scalars['Boolean'];
1749
1794
  isUnique?: Scalars['Boolean'];
1795
+ isSearchable?: Scalars['Boolean'];
1796
+ isAuditLogged?: Scalars['Boolean'];
1750
1797
  defaultValue?: Scalars['JSON'];
1751
1798
  options?: Scalars['JSON'];
1752
1799
  settings?: Scalars['JSON'];
@@ -2704,6 +2751,7 @@ export interface Query {
2704
2751
  apiKey?: ApiKey;
2705
2752
  currentUserSessions: UserSession[];
2706
2753
  myConnectedAccounts: ConnectedAccountPublicDTO[];
2754
+ applicationConnectedAccounts: ApplicationConnectedAccountDTO[];
2707
2755
  applicationConnectionProviders: ApplicationConnectionProvider[];
2708
2756
  billingPortalSession: BillingSession;
2709
2757
  listPlans: BillingPlan[];
@@ -2745,6 +2793,8 @@ export interface Query {
2745
2793
  githubClaimAuthorizationUrl: Scalars['String'];
2746
2794
  findManyApplications: Application[];
2747
2795
  findOneApplication: Application;
2796
+ findInstallApplicationJobStatus?: JobStatus;
2797
+ findUninstallApplicationJobStatus?: JobStatus;
2748
2798
  findManyMarketplaceApps: MarketplaceApp[];
2749
2799
  findMarketplaceAppDetail: MarketplaceAppDetail;
2750
2800
  publicMarketplaceApps: MarketplaceApp[];
@@ -2929,6 +2979,8 @@ export interface Mutation {
2929
2979
  /** @deprecated Use installApplication instead */
2930
2980
  installMarketplaceApp: Scalars['Boolean'];
2931
2981
  installApplication: Application;
2982
+ triggerInstallApplicationJob: TriggerInstallApplicationJobResult;
2983
+ triggerUninstallApplicationJob: TriggerUninstallApplicationJobResult;
2932
2984
  updateApplication: Application;
2933
2985
  uninstallApplication: Scalars['Boolean'];
2934
2986
  syncMarketplaceCatalog: Scalars['Boolean'];
@@ -2980,6 +3032,7 @@ export interface Mutation {
2980
3032
  /** @deprecated Use enqueueJobs instead. */
2981
3033
  enqueueJob: EnqueueJobResult;
2982
3034
  enqueueJobs: EnqueueJobsResult;
3035
+ reportAppConnectionAuthFailure: Scalars['Boolean'];
2983
3036
  createChatThread: AgentChatThread;
2984
3037
  sendChatMessage: SendChatMessageResult;
2985
3038
  retryChatMessage: SendChatMessageResult;
@@ -3440,7 +3493,6 @@ export interface ApplicationGenqlSelection {
3440
3493
  logoFileId?: boolean | number;
3441
3494
  version?: boolean | number;
3442
3495
  universalIdentifier?: boolean | number;
3443
- state?: boolean | number;
3444
3496
  packageJsonChecksum?: boolean | number;
3445
3497
  packageJsonFileId?: boolean | number;
3446
3498
  yarnLockChecksum?: boolean | number;
@@ -3659,12 +3711,11 @@ export interface WorkspaceGenqlSelection {
3659
3711
  isInternalMessagesImportEnabled?: boolean | number;
3660
3712
  editableProfileFields?: boolean | number;
3661
3713
  defaultRole?: RoleGenqlSelection;
3662
- fastModel?: boolean | number;
3663
- smartModel?: boolean | number;
3714
+ aiChatModelTier?: boolean | number;
3715
+ aiAgentModelTier?: boolean | number;
3716
+ isAutoModelSelectionEnabled?: boolean | number;
3717
+ aiModelIdByTier?: boolean | number;
3664
3718
  aiAdditionalInstructions?: boolean | number;
3665
- enabledAiModelIds?: boolean | number;
3666
- useRecommendedModels?: boolean | number;
3667
- routerModel?: boolean | number;
3668
3719
  workspaceCustomApplication?: ApplicationGenqlSelection;
3669
3720
  featureFlags?: FeatureFlagGenqlSelection;
3670
3721
  billingSubscriptions?: BillingSubscriptionGenqlSelection;
@@ -4144,6 +4195,7 @@ export interface BillingProductMetadataGenqlSelection {
4144
4195
  planKey?: boolean | number;
4145
4196
  priceUsageBased?: boolean | number;
4146
4197
  productKey?: boolean | number;
4198
+ isLegacy?: boolean | number;
4147
4199
  __typename?: boolean | number;
4148
4200
  __scalar?: boolean | number;
4149
4201
  }
@@ -4153,6 +4205,7 @@ export interface BillingPriceLicensedGenqlSelection {
4153
4205
  stripePriceId?: boolean | number;
4154
4206
  priceUsageType?: boolean | number;
4155
4207
  creditAmount?: boolean | number;
4208
+ isSellable?: boolean | number;
4156
4209
  __typename?: boolean | number;
4157
4210
  __scalar?: boolean | number;
4158
4211
  }
@@ -4202,6 +4255,8 @@ export interface BillingSubscriptionItemGenqlSelection {
4202
4255
  hasReachedCurrentPeriodCap?: boolean | number;
4203
4256
  quantity?: boolean | number;
4204
4257
  stripePriceId?: boolean | number;
4258
+ unitAmount?: boolean | number;
4259
+ creditAmount?: boolean | number;
4205
4260
  billingProduct?: BillingProductDTOGenqlSelection;
4206
4261
  __typename?: boolean | number;
4207
4262
  __scalar?: boolean | number;
@@ -4533,6 +4588,29 @@ export interface ConnectedAccountPublicDTOGenqlSelection {
4533
4588
  provider?: boolean | number;
4534
4589
  lastCredentialsRefreshedAt?: boolean | number;
4535
4590
  authFailedAt?: boolean | number;
4591
+ authFailedReason?: boolean | number;
4592
+ archivedAt?: boolean | number;
4593
+ handleAliases?: boolean | number;
4594
+ scopes?: boolean | number;
4595
+ lastSignedInAt?: boolean | number;
4596
+ userWorkspaceId?: boolean | number;
4597
+ connectionProviderId?: boolean | number;
4598
+ applicationId?: boolean | number;
4599
+ name?: boolean | number;
4600
+ visibility?: boolean | number;
4601
+ createdAt?: boolean | number;
4602
+ updatedAt?: boolean | number;
4603
+ connectionParameters?: PublicImapSmtpCaldavConnectionParametersGenqlSelection;
4604
+ __typename?: boolean | number;
4605
+ __scalar?: boolean | number;
4606
+ }
4607
+ export interface ApplicationConnectedAccountDTOGenqlSelection {
4608
+ id?: boolean | number;
4609
+ handle?: boolean | number;
4610
+ provider?: boolean | number;
4611
+ lastCredentialsRefreshedAt?: boolean | number;
4612
+ authFailedAt?: boolean | number;
4613
+ authFailedReason?: boolean | number;
4536
4614
  archivedAt?: boolean | number;
4537
4615
  handleAliases?: boolean | number;
4538
4616
  scopes?: boolean | number;
@@ -4545,6 +4623,7 @@ export interface ConnectedAccountPublicDTOGenqlSelection {
4545
4623
  createdAt?: boolean | number;
4546
4624
  updatedAt?: boolean | number;
4547
4625
  connectionParameters?: PublicImapSmtpCaldavConnectionParametersGenqlSelection;
4626
+ isOwnedByCurrentUser?: boolean | number;
4548
4627
  __typename?: boolean | number;
4549
4628
  __scalar?: boolean | number;
4550
4629
  }
@@ -4654,12 +4733,23 @@ export interface ClientAiModelConfigGenqlSelection {
4654
4733
  outputCostPerMillionTokens?: boolean | number;
4655
4734
  nativeCapabilities?: NativeModelCapabilitiesGenqlSelection;
4656
4735
  isDeprecated?: boolean | number;
4657
- isRecommended?: boolean | number;
4658
4736
  providerName?: boolean | number;
4659
4737
  providerLabel?: boolean | number;
4660
4738
  contextWindowTokens?: boolean | number;
4661
4739
  maxOutputTokens?: boolean | number;
4662
4740
  dataResidency?: boolean | number;
4741
+ intelligenceIndex?: boolean | number;
4742
+ outputTokensPerSecond?: boolean | number;
4743
+ costPerTask?: boolean | number;
4744
+ efforts?: boolean | number;
4745
+ effort?: boolean | number;
4746
+ isBenchmarkInherited?: boolean | number;
4747
+ __typename?: boolean | number;
4748
+ __scalar?: boolean | number;
4749
+ }
4750
+ export interface ClientAiModelTierConfigGenqlSelection {
4751
+ tier?: boolean | number;
4752
+ modelId?: boolean | number;
4663
4753
  __typename?: boolean | number;
4664
4754
  __scalar?: boolean | number;
4665
4755
  }
@@ -4722,6 +4812,7 @@ export interface ClientConfigGenqlSelection {
4722
4812
  authProviders?: AuthProvidersGenqlSelection;
4723
4813
  billing?: BillingGenqlSelection;
4724
4814
  aiModels?: ClientAiModelConfigGenqlSelection;
4815
+ aiModelTiers?: ClientAiModelTierConfigGenqlSelection;
4725
4816
  signInPrefilled?: boolean | number;
4726
4817
  isMultiWorkspaceEnabled?: boolean | number;
4727
4818
  isEmailVerificationRequired?: boolean | number;
@@ -4800,6 +4891,7 @@ export interface AppConnectionGenqlSelection {
4800
4891
  accessToken?: boolean | number;
4801
4892
  scopes?: boolean | number;
4802
4893
  authFailedAt?: boolean | number;
4894
+ authFailedReason?: boolean | number;
4803
4895
  __typename?: boolean | number;
4804
4896
  __scalar?: boolean | number;
4805
4897
  }
@@ -4960,6 +5052,16 @@ export interface MarketplaceAppDetailGenqlSelection {
4960
5052
  __typename?: boolean | number;
4961
5053
  __scalar?: boolean | number;
4962
5054
  }
5055
+ export interface TriggerInstallApplicationJobResultGenqlSelection {
5056
+ jobId?: boolean | number;
5057
+ __typename?: boolean | number;
5058
+ __scalar?: boolean | number;
5059
+ }
5060
+ export interface TriggerUninstallApplicationJobResultGenqlSelection {
5061
+ jobId?: boolean | number;
5062
+ __typename?: boolean | number;
5063
+ __scalar?: boolean | number;
5064
+ }
4963
5065
  export interface WorkspaceCompanyEnrichmentResultGenqlSelection {
4964
5066
  outcome?: boolean | number;
4965
5067
  enrichment?: boolean | number;
@@ -4985,6 +5087,8 @@ export interface FieldGenqlSelection {
4985
5087
  isUIReadOnly?: boolean | number;
4986
5088
  isNullable?: boolean | number;
4987
5089
  isUnique?: boolean | number;
5090
+ isSearchable?: boolean | number;
5091
+ isAuditLogged?: boolean | number;
4988
5092
  defaultValue?: boolean | number;
4989
5093
  options?: boolean | number;
4990
5094
  settings?: boolean | number;
@@ -6106,6 +6210,11 @@ export interface QueryGenqlSelection {
6106
6210
  });
6107
6211
  currentUserSessions?: UserSessionGenqlSelection;
6108
6212
  myConnectedAccounts?: ConnectedAccountPublicDTOGenqlSelection;
6213
+ applicationConnectedAccounts?: (ApplicationConnectedAccountDTOGenqlSelection & {
6214
+ __args: {
6215
+ applicationId: Scalars['UUID'];
6216
+ };
6217
+ });
6109
6218
  applicationConnectionProviders?: (ApplicationConnectionProviderGenqlSelection & {
6110
6219
  __args: {
6111
6220
  applicationId: Scalars['UUID'];
@@ -6267,6 +6376,16 @@ export interface QueryGenqlSelection {
6267
6376
  universalIdentifier?: (Scalars['UUID'] | null);
6268
6377
  };
6269
6378
  });
6379
+ findInstallApplicationJobStatus?: (JobStatusGenqlSelection & {
6380
+ __args: {
6381
+ universalIdentifier: Scalars['String'];
6382
+ };
6383
+ });
6384
+ findUninstallApplicationJobStatus?: (JobStatusGenqlSelection & {
6385
+ __args: {
6386
+ universalIdentifier: Scalars['String'];
6387
+ };
6388
+ });
6270
6389
  findManyMarketplaceApps?: (MarketplaceAppGenqlSelection & {
6271
6390
  __args?: {
6272
6391
  universalIdentifiers?: (Scalars['String'][] | null);
@@ -7166,6 +7285,16 @@ export interface MutationGenqlSelection {
7166
7285
  version?: (Scalars['String'] | null);
7167
7286
  };
7168
7287
  });
7288
+ triggerInstallApplicationJob?: (TriggerInstallApplicationJobResultGenqlSelection & {
7289
+ __args: {
7290
+ input: TriggerInstallApplicationJobInput;
7291
+ };
7292
+ });
7293
+ triggerUninstallApplicationJob?: (TriggerUninstallApplicationJobResultGenqlSelection & {
7294
+ __args: {
7295
+ input: TriggerUninstallApplicationJobInput;
7296
+ };
7297
+ });
7169
7298
  updateApplication?: (ApplicationGenqlSelection & {
7170
7299
  __args: {
7171
7300
  id: Scalars['UUID'];
@@ -7417,6 +7546,11 @@ export interface MutationGenqlSelection {
7417
7546
  input: EnqueueJobsInput;
7418
7547
  };
7419
7548
  });
7549
+ reportAppConnectionAuthFailure?: {
7550
+ __args: {
7551
+ input: ReportAppConnectionAuthFailureInput;
7552
+ };
7553
+ };
7420
7554
  createChatThread?: AgentChatThreadGenqlSelection;
7421
7555
  sendChatMessage?: (SendChatMessageResultGenqlSelection & {
7422
7556
  __args: {
@@ -8441,12 +8575,12 @@ export interface UpdateWorkspaceInput {
8441
8575
  isTwoFactorAuthenticationEnforced?: (Scalars['Boolean'] | null);
8442
8576
  trashRetentionDays?: (Scalars['Float'] | null);
8443
8577
  eventLogRetentionDays?: (Scalars['Float'] | null);
8444
- fastModel?: (Scalars['String'] | null);
8445
- smartModel?: (Scalars['String'] | null);
8578
+ aiChatModelTier?: (AiModelTier | null);
8579
+ aiAgentModelTier?: (AiModelTier | null);
8580
+ isAutoModelSelectionEnabled?: (Scalars['Boolean'] | null);
8581
+ aiModelIdByTier?: (Scalars['JSON'] | null);
8446
8582
  aiAdditionalInstructions?: (Scalars['String'] | null);
8447
8583
  editableProfileFields?: (Scalars['String'][] | null);
8448
- enabledAiModelIds?: (Scalars['String'][] | null);
8449
- useRecommendedModels?: (Scalars['Boolean'] | null);
8450
8584
  isInternalMessagesImportEnabled?: (Scalars['Boolean'] | null);
8451
8585
  }
8452
8586
  export interface CreateApplicationRegistrationInput {
@@ -8483,6 +8617,12 @@ export interface UpdateApplicationRegistrationVariablePayload {
8483
8617
  resetValue?: (Scalars['Boolean'] | null);
8484
8618
  description?: (Scalars['String'] | null);
8485
8619
  }
8620
+ export interface TriggerInstallApplicationJobInput {
8621
+ universalIdentifier: Scalars['String'];
8622
+ }
8623
+ export interface TriggerUninstallApplicationJobInput {
8624
+ universalIdentifier: Scalars['String'];
8625
+ }
8486
8626
  export interface UpdateApplicationInput {
8487
8627
  autoUpgrade?: (Scalars['Boolean'] | null);
8488
8628
  }
@@ -8502,6 +8642,8 @@ export interface CreateFieldInput {
8502
8642
  isUIReadOnly?: (Scalars['Boolean'] | null);
8503
8643
  isNullable?: (Scalars['Boolean'] | null);
8504
8644
  isUnique?: (Scalars['Boolean'] | null);
8645
+ isSearchable?: (Scalars['Boolean'] | null);
8646
+ isAuditLogged?: (Scalars['Boolean'] | null);
8505
8647
  defaultValue?: (Scalars['JSON'] | null);
8506
8648
  options?: (Scalars['JSON'] | null);
8507
8649
  settings?: (Scalars['JSON'] | null);
@@ -8529,6 +8671,8 @@ export interface UpdateFieldInput {
8529
8671
  isUIReadOnly?: (Scalars['Boolean'] | null);
8530
8672
  isNullable?: (Scalars['Boolean'] | null);
8531
8673
  isUnique?: (Scalars['Boolean'] | null);
8674
+ isSearchable?: (Scalars['Boolean'] | null);
8675
+ isAuditLogged?: (Scalars['Boolean'] | null);
8532
8676
  defaultValue?: (Scalars['JSON'] | null);
8533
8677
  options?: (Scalars['JSON'] | null);
8534
8678
  settings?: (Scalars['JSON'] | null);
@@ -8664,6 +8808,7 @@ export interface SendEmailViaDomainInput {
8664
8808
  }
8665
8809
  export interface SendMessageCampaignInput {
8666
8810
  campaignId: Scalars['String'];
8811
+ scheduledAt?: (Scalars['DateTime'] | null);
8667
8812
  }
8668
8813
  export interface CancelMessageCampaignInput {
8669
8814
  campaignId: Scalars['String'];
@@ -8787,6 +8932,10 @@ export interface EnqueueJobItemInput {
8787
8932
  payload?: (Scalars['JSON'] | null);
8788
8933
  jobId?: (Scalars['String'] | null);
8789
8934
  }
8935
+ export interface ReportAppConnectionAuthFailureInput {
8936
+ id: Scalars['ID'];
8937
+ reason?: (Scalars['String'] | null);
8938
+ }
8790
8939
  export interface FileAttachmentInput {
8791
8940
  id: Scalars['UUID'];
8792
8941
  filename: Scalars['String'];
@@ -9304,6 +9453,9 @@ export declare const isPublicImapSmtpCaldavConnectionParameters: (obj?: {
9304
9453
  export declare const isConnectedAccountPublicDTO: (obj?: {
9305
9454
  __typename?: any;
9306
9455
  } | null | undefined) => obj is ConnectedAccountPublicDTO;
9456
+ export declare const isApplicationConnectedAccountDTO: (obj?: {
9457
+ __typename?: any;
9458
+ } | null | undefined) => obj is ApplicationConnectedAccountDTO;
9307
9459
  export declare const isFeatureFlag: (obj?: {
9308
9460
  __typename?: any;
9309
9461
  } | null | undefined) => obj is FeatureFlag;
@@ -9343,6 +9495,9 @@ export declare const isNativeModelCapabilities: (obj?: {
9343
9495
  export declare const isClientAiModelConfig: (obj?: {
9344
9496
  __typename?: any;
9345
9497
  } | null | undefined) => obj is ClientAiModelConfig;
9498
+ export declare const isClientAiModelTierConfig: (obj?: {
9499
+ __typename?: any;
9500
+ } | null | undefined) => obj is ClientAiModelTierConfig;
9346
9501
  export declare const isBilling: (obj?: {
9347
9502
  __typename?: any;
9348
9503
  } | null | undefined) => obj is Billing;
@@ -9430,6 +9585,12 @@ export declare const isMarketplaceAppRole: (obj?: {
9430
9585
  export declare const isMarketplaceAppDetail: (obj?: {
9431
9586
  __typename?: any;
9432
9587
  } | null | undefined) => obj is MarketplaceAppDetail;
9588
+ export declare const isTriggerInstallApplicationJobResult: (obj?: {
9589
+ __typename?: any;
9590
+ } | null | undefined) => obj is TriggerInstallApplicationJobResult;
9591
+ export declare const isTriggerUninstallApplicationJobResult: (obj?: {
9592
+ __typename?: any;
9593
+ } | null | undefined) => obj is TriggerUninstallApplicationJobResult;
9433
9594
  export declare const isWorkspaceCompanyEnrichmentResult: (obj?: {
9434
9595
  __typename?: any;
9435
9596
  } | null | undefined) => obj is WorkspaceCompanyEnrichmentResult;
@@ -9955,12 +10116,6 @@ export declare const enumRowLevelPermissionPredicateOperand: {
9955
10116
  IS_TODAY: "IS_TODAY";
9956
10117
  VECTOR_SEARCH: "VECTOR_SEARCH";
9957
10118
  };
9958
- export declare const enumApplicationState: {
9959
- INSTALLING: "INSTALLING";
9960
- INSTALLED: "INSTALLED";
9961
- UPGRADING: "UPGRADING";
9962
- UNINSTALLING: "UNINSTALLING";
9963
- };
9964
10119
  export declare const enumPermissionFlagType: {
9965
10120
  API_KEYS_AND_WEBHOOKS: "API_KEYS_AND_WEBHOOKS";
9966
10121
  WORKSPACE: "WORKSPACE";
@@ -10070,6 +10225,13 @@ export declare const enumWorkspaceActivationStatus: {
10070
10225
  INACTIVE: "INACTIVE";
10071
10226
  SUSPENDED: "SUSPENDED";
10072
10227
  };
10228
+ export declare const enumAiModelTier: {
10229
+ extraFast: "extraFast";
10230
+ fast: "fast";
10231
+ balanced: "balanced";
10232
+ smart: "smart";
10233
+ extraSmart: "extraSmart";
10234
+ };
10073
10235
  export declare const enumOnboardingStatus: {
10074
10236
  PLAN_REQUIRED: "PLAN_REQUIRED";
10075
10237
  WORKSPACE_ACTIVATION: "WORKSPACE_ACTIVATION";
@@ -10261,6 +10423,7 @@ export declare const enumUsageResourceType: {
10261
10423
  API: "API";
10262
10424
  LOGIC_FUNCTION: "LOGIC_FUNCTION";
10263
10425
  EMAIL: "EMAIL";
10426
+ WEBHOOK: "WEBHOOK";
10264
10427
  };
10265
10428
  export declare const enumUsageOperationType: {
10266
10429
  ALL: "ALL";
@@ -10272,6 +10435,7 @@ export declare const enumUsageOperationType: {
10272
10435
  CALL_RECORDING: "CALL_RECORDING";
10273
10436
  EMAIL_SEND: "EMAIL_SEND";
10274
10437
  API_REQUEST: "API_REQUEST";
10438
+ WEBHOOK_CALL: "WEBHOOK_CALL";
10275
10439
  SUBSCRIPTION: "SUBSCRIPTION";
10276
10440
  };
10277
10441
  export declare const enumEmailConnectionSecurity: {
@@ -10282,6 +10446,7 @@ export declare const enumEmailConnectionSecurity: {
10282
10446
  export declare const enumFeatureFlagKey: {
10283
10447
  IS_APP_CLAIMING_ENABLED: "IS_APP_CLAIMING_ENABLED";
10284
10448
  IS_UNIQUE_INDEXES_ENABLED: "IS_UNIQUE_INDEXES_ENABLED";
10449
+ IS_CONFIGURABLE_SEARCH_FIELDS_ENABLED: "IS_CONFIGURABLE_SEARCH_FIELDS_ENABLED";
10285
10450
  IS_JSON_FILTER_ENABLED: "IS_JSON_FILTER_ENABLED";
10286
10451
  IS_EMAIL_GROUP_ENABLED: "IS_EMAIL_GROUP_ENABLED";
10287
10452
  IS_JUNCTION_RELATIONS_ENABLED: "IS_JUNCTION_RELATIONS_ENABLED";
@@ -10291,6 +10456,9 @@ export declare const enumFeatureFlagKey: {
10291
10456
  IS_API_RATE_LIMIT_V2_ENABLED: "IS_API_RATE_LIMIT_V2_ENABLED";
10292
10457
  IS_MESSAGE_CALENDAR_TARGET_READ_ENABLED: "IS_MESSAGE_CALENDAR_TARGET_READ_ENABLED";
10293
10458
  IS_QUOTA_ENGINE_CREDIT_BOUND_ENABLED: "IS_QUOTA_ENGINE_CREDIT_BOUND_ENABLED";
10459
+ IS_RECORD_CREATION_FORM_ENABLED: "IS_RECORD_CREATION_FORM_ENABLED";
10460
+ IS_RECORD_SHARING_ENABLED: "IS_RECORD_SHARING_ENABLED";
10461
+ IS_WEBHOOK_RATE_LIMIT_ENABLED: "IS_WEBHOOK_RATE_LIMIT_ENABLED";
10294
10462
  };
10295
10463
  export declare const enumIdentityProviderType: {
10296
10464
  OIDC: "OIDC";