twenty-client-sdk 2.48.0 → 2.50.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.
@@ -116,7 +116,9 @@ export interface AgentMessagePart {
116
116
  __typename: 'AgentMessagePart';
117
117
  }
118
118
  export interface AgentMessageReactionSummary {
119
+ agentIds: Scalars['UUID'][];
119
120
  emoji: Scalars['String'];
121
+ hasAssistantReacted: Scalars['Boolean'];
120
122
  workspaceMemberIds: Scalars['UUID'][];
121
123
  __typename: 'AgentMessageReactionSummary';
122
124
  }
@@ -218,8 +220,10 @@ export interface AppConnection {
218
220
  id: Scalars['ID'];
219
221
  name: Scalars['String'];
220
222
  providerName: Scalars['String'];
223
+ scope: ConnectedAccountScope;
221
224
  scopes: Scalars['String'][];
222
225
  userWorkspaceId: Scalars['String'];
226
+ /** @deprecated Use scope instead. */
223
227
  visibility: Scalars['String'];
224
228
  workspaceMemberId?: Scalars['String'];
225
229
  __typename: 'AppConnection';
@@ -298,9 +302,11 @@ export interface ApplicationConnectedAccountDTO {
298
302
  lastSignedInAt?: Scalars['DateTime'];
299
303
  name?: Scalars['String'];
300
304
  provider: Scalars['String'];
305
+ scope: ConnectedAccountScope;
301
306
  scopes?: Scalars['String'][];
302
307
  updatedAt: Scalars['DateTime'];
303
308
  userWorkspaceId: Scalars['UUID'];
309
+ /** @deprecated Use scope instead. */
304
310
  visibility: Scalars['String'];
305
311
  __typename: 'ApplicationConnectedAccountDTO';
306
312
  }
@@ -311,6 +317,7 @@ export interface ApplicationConnectionProvider {
311
317
  logoUrl?: Scalars['String'];
312
318
  name: Scalars['String'];
313
319
  oauth?: ApplicationConnectionProviderOAuthConfig;
320
+ scope: ConnectionProviderScope;
314
321
  type: Scalars['String'];
315
322
  __typename: 'ApplicationConnectionProvider';
316
323
  }
@@ -379,6 +386,12 @@ export interface ApplicationHealthCheckResult {
379
386
  __typename: 'ApplicationHealthCheckResult';
380
387
  }
381
388
  export type ApplicationHealthStatus = 'ERROR' | 'INFO' | 'NEUTRAL' | 'OK' | 'SUCCESS' | 'UNKNOWN' | 'WARNING';
389
+ export interface ApplicationPreferences {
390
+ applicationId: Scalars['UUID'];
391
+ settingsMenuItems: SettingsMenuItem[];
392
+ variables: UserApplicationVariableValue[];
393
+ __typename: 'ApplicationPreferences';
394
+ }
382
395
  export interface ApplicationRegistration {
383
396
  createdAt: Scalars['DateTime'];
384
397
  galleryImagesUrls: Scalars['String'][];
@@ -403,8 +416,11 @@ export interface ApplicationRegistration {
403
416
  export type ApplicationRegistrationSourceType = 'LOCAL' | 'NPM' | 'OAUTH_ONLY' | 'TARBALL';
404
417
  export interface ApplicationRegistrationStats {
405
418
  activeInstalls: Scalars['Int'];
419
+ autoUpdateEnabled: Scalars['Int'];
420
+ creditsUsedBreakdown?: CreditUsedItem[];
406
421
  mostInstalledVersion?: Scalars['String'];
407
422
  suspendedInstalls: Scalars['Int'];
423
+ totalCreditsUsed?: Scalars['Float'];
408
424
  versionDistribution: VersionDistributionEntry[];
409
425
  __typename: 'ApplicationRegistrationStats';
410
426
  }
@@ -583,6 +599,7 @@ export interface Billing {
583
599
  export interface BillingCustomer {
584
600
  hasPaymentMethod?: Scalars['Boolean'];
585
601
  id: Scalars['UUID'];
602
+ userCreditsFallback: UserCreditsFallback;
586
603
  __typename: 'BillingCustomer';
587
604
  }
588
605
  export interface BillingEndTrialPeriod {
@@ -603,7 +620,7 @@ export interface BillingEntitlement {
603
620
  value: Scalars['Boolean'];
604
621
  __typename: 'BillingEntitlement';
605
622
  }
606
- export type BillingEntitlementKey = 'AUDIT_LOGS' | 'CUSTOM_DOMAIN' | 'RECORD_SHARING' | 'RLS' | 'SSO' | 'USAGE_LIMIT' | 'VALIDATION_RULES';
623
+ export type BillingEntitlementKey = 'AUDIT_LOGS' | 'CUSTOM_DOMAIN' | 'CUSTOM_ROLES' | 'RECORD_SHARING' | 'RLS' | 'SSO' | 'USAGE_LIMIT' | 'VALIDATION_RULES';
607
624
  export interface BillingLicensedProduct {
608
625
  description: Scalars['String'];
609
626
  images?: Scalars['String'][];
@@ -679,14 +696,17 @@ export interface BillingProductMetadata {
679
696
  __typename: 'BillingProductMetadata';
680
697
  }
681
698
  export interface BillingResourceCreditUsage {
682
- grantedCredits: Scalars['Float'];
683
699
  periodEnd: Scalars['DateTime'];
684
700
  periodStart: Scalars['DateTime'];
685
701
  productKey: BillingProductKey;
686
- rolloverCredits: Scalars['Float'];
687
- totalGrantedCredits: Scalars['Float'];
688
702
  unitPriceCents: Scalars['Float'];
689
- usedCredits: Scalars['Float'];
703
+ userCreditsUsed: Scalars['Float'];
704
+ workspaceCreditsExtraGranted: Scalars['Float'];
705
+ workspaceCreditsGranted: Scalars['Float'];
706
+ workspaceCreditsGrantedForSeats: Scalars['Float'];
707
+ workspaceCreditsSeats: Scalars['Int'];
708
+ workspaceCreditsTotalGranted: Scalars['Float'];
709
+ workspaceCreditsUsed: Scalars['Float'];
690
710
  __typename: 'BillingResourceCreditUsage';
691
711
  }
692
712
  export interface BillingSession {
@@ -744,6 +764,7 @@ export interface CalendarChannel {
744
764
  connectedAccountId: Scalars['UUID'];
745
765
  contactAutoCreationPolicy: CalendarChannelContactAutoCreationPolicy;
746
766
  createdAt: Scalars['DateTime'];
767
+ excludePrivateEvents: Scalars['Boolean'];
747
768
  handle: Scalars['String'];
748
769
  id: Scalars['UUID'];
749
770
  isContactAutoCreationEnabled: Scalars['Boolean'];
@@ -984,12 +1005,15 @@ export interface ConnectedAccountPublicDTO {
984
1005
  lastSignedInAt?: Scalars['DateTime'];
985
1006
  name?: Scalars['String'];
986
1007
  provider: Scalars['String'];
1008
+ scope: ConnectedAccountScope;
987
1009
  scopes?: Scalars['String'][];
988
1010
  updatedAt: Scalars['DateTime'];
989
1011
  userWorkspaceId: Scalars['UUID'];
1012
+ /** @deprecated Use scope instead. */
990
1013
  visibility: Scalars['String'];
991
1014
  __typename: 'ConnectedAccountPublicDTO';
992
1015
  }
1016
+ export type ConnectedAccountScope = 'USER' | 'WORKSPACE';
993
1017
  export interface ConnectedImapSmtpCaldavAccount {
994
1018
  connectionParameters?: ImapSmtpCaldavPublicConnectionParameters;
995
1019
  handle: Scalars['String'];
@@ -998,6 +1022,7 @@ export interface ConnectedImapSmtpCaldavAccount {
998
1022
  userWorkspaceId: Scalars['UUID'];
999
1023
  __typename: 'ConnectedImapSmtpCaldavAccount';
1000
1024
  }
1025
+ export type ConnectionProviderScope = 'USER' | 'WORKSPACE';
1001
1026
  export interface CreateApplicationFileUploadsResult {
1002
1027
  errors: ApplicationFileUploadError[];
1003
1028
  targets: ApplicationFileUploadTarget[];
@@ -1021,6 +1046,13 @@ export interface CreateEmailGroupChannelOutput {
1021
1046
  messageChannel: MessageChannel;
1022
1047
  __typename: 'CreateEmailGroupChannelOutput';
1023
1048
  }
1049
+ export interface CreditUsedItem {
1050
+ creditsUsed: Scalars['Float'];
1051
+ label?: Scalars['String'];
1052
+ operation?: UsageOperationType;
1053
+ resource?: UsageResourceType;
1054
+ __typename: 'CreditUsedItem';
1055
+ }
1024
1056
  /** Database Event Action */
1025
1057
  export type DatabaseEventAction = 'CREATED' | 'DELETED' | 'DESTROYED' | 'RESTORED' | 'UPDATED' | 'UPSERTED';
1026
1058
  export interface DeleteSso {
@@ -1180,7 +1212,7 @@ export interface FeatureFlag {
1180
1212
  value: Scalars['Boolean'];
1181
1213
  __typename: 'FeatureFlag';
1182
1214
  }
1183
- export type FeatureFlagKey = 'IS_AI_CHAT_INBOX_ENABLED' | 'IS_APPLICATION_WORKFLOWS_ENABLED' | 'IS_APP_PREFERENCES_ENABLED' | 'IS_ASYNC_CSV_EXPORT_ENABLED' | 'IS_CALENDAR_SYNC_SKIP_UNCHANGED_RECORDS_ENABLED' | 'IS_CONFIGURABLE_SEARCH_FIELDS_ENABLED' | 'IS_DEFERRED_WORKSPACE_MIGRATION_ACTIONS_ENABLED' | 'IS_JSON_FILTER_ENABLED' | 'IS_LOGS_SETTINGS_SECTION_ENABLED' | 'IS_MESSAGE_CAMPAIGN_ENABLED' | 'IS_MORPH_RELATION_HEAD_ENABLED' | 'IS_RECORD_CREATION_FORM_ENABLED' | 'IS_RECORD_LEVEL_SHARING_ENABLED' | 'IS_RECORD_SHARE_VISIBILITY_GATING_ENABLED' | 'IS_REST_METADATA_API_NEW_FORMAT_DIRECT';
1215
+ export type FeatureFlagKey = 'IS_AI_CHAT_INBOX_ENABLED' | 'IS_APP_PREFERENCES_ENABLED' | 'IS_ASYNC_CSV_EXPORT_ENABLED' | 'IS_CALENDAR_EVENT_SHARED_ACROSS_CHANNELS_ENABLED' | 'IS_CONFIGURABLE_SEARCH_FIELDS_ENABLED' | 'IS_DEFERRED_WORKSPACE_MIGRATION_ACTIONS_ENABLED' | 'IS_LOGS_SETTINGS_SECTION_ENABLED' | 'IS_MESSAGE_CAMPAIGN_ENABLED' | 'IS_RECORD_CREATION_FORM_ENABLED' | 'IS_RECORD_LEVEL_SHARING_ENABLED' | 'IS_REST_METADATA_API_NEW_FORMAT_DIRECT';
1184
1216
  export interface Field {
1185
1217
  applicationId: Scalars['UUID'];
1186
1218
  createdAt: Scalars['DateTime'];
@@ -1647,6 +1679,11 @@ export interface MessageCampaignDetailsConfiguration {
1647
1679
  configurationType: WidgetConfigurationType;
1648
1680
  __typename: 'MessageCampaignDetailsConfiguration';
1649
1681
  }
1682
+ export interface MessageCampaignSendBlockerDTO {
1683
+ code: Scalars['String'];
1684
+ message: Scalars['String'];
1685
+ __typename: 'MessageCampaignSendBlockerDTO';
1686
+ }
1650
1687
  export interface MessageChannel {
1651
1688
  connectedAccount?: ConnectedAccountPublicDTO;
1652
1689
  connectedAccountId: Scalars['UUID'];
@@ -1657,6 +1694,7 @@ export interface MessageChannel {
1657
1694
  excludeNonProfessionalEmails: Scalars['Boolean'];
1658
1695
  handle: Scalars['String'];
1659
1696
  id: Scalars['UUID'];
1697
+ importProgress?: Scalars['Int'];
1660
1698
  isContactAutoCreationEnabled: Scalars['Boolean'];
1661
1699
  isSyncEnabled: Scalars['Boolean'];
1662
1700
  messageFolderImportPolicy: MessageFolderImportPolicy;
@@ -2010,6 +2048,7 @@ export interface Mutation {
2010
2048
  updateTimelineActivityType: TimelineActivityType;
2011
2049
  updateUnsubscribeTopic: UnsubscribeTopic;
2012
2050
  updateUsageLimit: UsageLimit;
2051
+ updateUserCreditsFallback: BillingCustomer;
2013
2052
  updateUserEmail: Scalars['Boolean'];
2014
2053
  updateValidationRule: ValidationRule;
2015
2054
  updateView: View;
@@ -2363,6 +2402,11 @@ export interface PlaceDetailsResult {
2363
2402
  street?: Scalars['String'];
2364
2403
  __typename: 'PlaceDetailsResult';
2365
2404
  }
2405
+ export interface PreviewMessageCampaignSendOutputDTO {
2406
+ audience?: CampaignAudiencePreviewDTO;
2407
+ blockers: MessageCampaignSendBlockerDTO[];
2408
+ __typename: 'PreviewMessageCampaignSendOutputDTO';
2409
+ }
2366
2410
  export interface PublicApplicationRegistration {
2367
2411
  id: Scalars['UUID'];
2368
2412
  logoUrl?: Scalars['String'];
@@ -2530,6 +2574,7 @@ export interface Query {
2530
2574
  metadataTranslations: MetadataTranslation[];
2531
2575
  minimalMetadata: MinimalMetadata;
2532
2576
  mostlyEmptyFieldMetadataIds: Scalars['UUID'][];
2577
+ myApplicationPreferences: ApplicationPreferences[];
2533
2578
  myCalendarChannels: CalendarChannel[];
2534
2579
  myConnectedAccounts: ConnectedAccountPublicDTO[];
2535
2580
  myMessageChannels: MessageChannel[];
@@ -2542,6 +2587,7 @@ export interface Query {
2542
2587
  objects: ObjectConnection;
2543
2588
  pieChartData: PieChartData;
2544
2589
  previewMessageCampaignAudience: CampaignAudiencePreviewDTO;
2590
+ previewMessageCampaignSend: PreviewMessageCampaignSendOutputDTO;
2545
2591
  publicMarketplaceAppDetail: MarketplaceAppDetail;
2546
2592
  publicMarketplaceApps: MarketplaceApp[];
2547
2593
  recordPermissions: RecordPermissionsResult[];
@@ -3005,6 +3051,8 @@ export interface UsageBreakdownItem {
3005
3051
  creditsUsed: Scalars['Float'];
3006
3052
  key: Scalars['String'];
3007
3053
  label?: Scalars['String'];
3054
+ userCreditsUsed: Scalars['Float'];
3055
+ workspaceCreditsUsed: Scalars['Float'];
3008
3056
  __typename: 'UsageBreakdownItem';
3009
3057
  }
3010
3058
  export interface UsageLimit {
@@ -3028,7 +3076,7 @@ export interface UsageLimitOperationDefinition {
3028
3076
  operationType: UsageOperationType;
3029
3077
  __typename: 'UsageLimitOperationDefinition';
3030
3078
  }
3031
- export type UsageOperationType = 'AI_CHAT_TOKEN' | 'AI_WORKFLOW_TOKEN' | 'ALL' | 'API_REQUEST' | 'CALL_RECORDING' | 'CODE_EXECUTION' | 'EMAIL_SEND' | 'MESSAGE_CAMPAIGN_SEND' | 'RECORD_WRITE' | 'STORAGE_FILE' | 'SUBSCRIPTION' | 'WEBHOOK_CALL' | 'WEB_SEARCH' | 'WORKFLOW_EXECUTION';
3079
+ export type UsageOperationType = 'AI_CHAT_TOKEN' | 'AI_WORKFLOW_TOKEN' | 'AI_WORKFLOW_WEB_SEARCH' | 'ALL' | 'API_REQUEST' | 'CALL_RECORDING' | 'CODE_EXECUTION' | 'EMAIL_SEND' | 'MESSAGE_CAMPAIGN_SEND' | 'RECORD_WRITE' | 'STORAGE_FILE' | 'SUBSCRIPTION' | 'WEBHOOK_CALL' | 'WEB_SEARCH' | 'WORKFLOW_EXECUTION';
3032
3080
  export interface UsageQuotaDefinition {
3033
3081
  allowedOperations: UsageLimitOperationDefinition[];
3034
3082
  allowedSpenderTypes: Scalars['String'][];
@@ -3077,9 +3125,10 @@ export type UsageResourceType = 'AI' | 'ALL' | 'API' | 'APP' | 'EMAIL' | 'LOGIC_
3077
3125
  export interface UsageTimeSeries {
3078
3126
  creditsUsed: Scalars['Float'];
3079
3127
  date: Scalars['String'];
3128
+ workspaceCreditsUsed: Scalars['Float'];
3080
3129
  __typename: 'UsageTimeSeries';
3081
3130
  }
3082
- export type UsageUnit = 'BYTE' | 'COMPLEXITY' | 'CREDIT' | 'FILE' | 'INVOCATION' | 'MILLISECOND' | 'MINUTE' | 'RECORD' | 'REQUEST' | 'SEAT' | 'TOKEN';
3131
+ export type UsageUnit = 'BYTE' | 'COMPLEXITY' | 'CREDIT' | 'FILE' | 'INVOCATION' | 'MILLISECOND' | 'MINUTE' | 'RECORD' | 'REQUEST' | 'SEAT' | 'TOKEN' | 'USER_CREDIT';
3083
3132
  export interface UsageUserDaily {
3084
3133
  dailyUsage: UsageTimeSeries[];
3085
3134
  userWorkspaceId: Scalars['String'];
@@ -3126,6 +3175,7 @@ export interface UserApplicationVariableValue {
3126
3175
  value: Scalars['String'];
3127
3176
  __typename: 'UserApplicationVariableValue';
3128
3177
  }
3178
+ export type UserCreditsFallback = 'STOP' | 'WORKSPACE_CREDITS';
3129
3179
  export interface UserSession {
3130
3180
  authProvider: Scalars['String'];
3131
3181
  createdAt: Scalars['DateTime'];
@@ -3633,7 +3683,9 @@ export interface AgentMessagePartGenqlSelection {
3633
3683
  __scalar?: boolean | number;
3634
3684
  }
3635
3685
  export interface AgentMessageReactionSummaryGenqlSelection {
3686
+ agentIds?: boolean | number;
3636
3687
  emoji?: boolean | number;
3688
+ hasAssistantReacted?: boolean | number;
3637
3689
  workspaceMemberIds?: boolean | number;
3638
3690
  __typename?: boolean | number;
3639
3691
  __scalar?: boolean | number;
@@ -3741,8 +3793,10 @@ export interface AppConnectionGenqlSelection {
3741
3793
  id?: boolean | number;
3742
3794
  name?: boolean | number;
3743
3795
  providerName?: boolean | number;
3796
+ scope?: boolean | number;
3744
3797
  scopes?: boolean | number;
3745
3798
  userWorkspaceId?: boolean | number;
3799
+ /** @deprecated Use scope instead. */
3746
3800
  visibility?: boolean | number;
3747
3801
  workspaceMemberId?: boolean | number;
3748
3802
  __typename?: boolean | number;
@@ -3839,9 +3893,11 @@ export interface ApplicationConnectedAccountDTOGenqlSelection {
3839
3893
  lastSignedInAt?: boolean | number;
3840
3894
  name?: boolean | number;
3841
3895
  provider?: boolean | number;
3896
+ scope?: boolean | number;
3842
3897
  scopes?: boolean | number;
3843
3898
  updatedAt?: boolean | number;
3844
3899
  userWorkspaceId?: boolean | number;
3900
+ /** @deprecated Use scope instead. */
3845
3901
  visibility?: boolean | number;
3846
3902
  __typename?: boolean | number;
3847
3903
  __scalar?: boolean | number;
@@ -3853,6 +3909,7 @@ export interface ApplicationConnectionProviderGenqlSelection {
3853
3909
  logoUrl?: boolean | number;
3854
3910
  name?: boolean | number;
3855
3911
  oauth?: ApplicationConnectionProviderOAuthConfigGenqlSelection;
3912
+ scope?: boolean | number;
3856
3913
  type?: boolean | number;
3857
3914
  __typename?: boolean | number;
3858
3915
  __scalar?: boolean | number;
@@ -3935,6 +3992,13 @@ export interface ApplicationHealthCheckResultGenqlSelection {
3935
3992
  __typename?: boolean | number;
3936
3993
  __scalar?: boolean | number;
3937
3994
  }
3995
+ export interface ApplicationPreferencesGenqlSelection {
3996
+ applicationId?: boolean | number;
3997
+ settingsMenuItems?: SettingsMenuItemGenqlSelection;
3998
+ variables?: UserApplicationVariableValueGenqlSelection;
3999
+ __typename?: boolean | number;
4000
+ __scalar?: boolean | number;
4001
+ }
3938
4002
  export interface ApplicationRegistrationGenqlSelection {
3939
4003
  createdAt?: boolean | number;
3940
4004
  galleryImagesUrls?: boolean | number;
@@ -3959,8 +4023,11 @@ export interface ApplicationRegistrationGenqlSelection {
3959
4023
  }
3960
4024
  export interface ApplicationRegistrationStatsGenqlSelection {
3961
4025
  activeInstalls?: boolean | number;
4026
+ autoUpdateEnabled?: boolean | number;
4027
+ creditsUsedBreakdown?: CreditUsedItemGenqlSelection;
3962
4028
  mostInstalledVersion?: boolean | number;
3963
4029
  suspendedInstalls?: boolean | number;
4030
+ totalCreditsUsed?: boolean | number;
3964
4031
  versionDistribution?: VersionDistributionEntryGenqlSelection;
3965
4032
  __typename?: boolean | number;
3966
4033
  __scalar?: boolean | number;
@@ -4156,6 +4223,7 @@ export interface BillingGenqlSelection {
4156
4223
  export interface BillingCustomerGenqlSelection {
4157
4224
  hasPaymentMethod?: boolean | number;
4158
4225
  id?: boolean | number;
4226
+ userCreditsFallback?: boolean | number;
4159
4227
  __typename?: boolean | number;
4160
4228
  __scalar?: boolean | number;
4161
4229
  }
@@ -4266,14 +4334,17 @@ export interface BillingProductMetadataGenqlSelection {
4266
4334
  __scalar?: boolean | number;
4267
4335
  }
4268
4336
  export interface BillingResourceCreditUsageGenqlSelection {
4269
- grantedCredits?: boolean | number;
4270
4337
  periodEnd?: boolean | number;
4271
4338
  periodStart?: boolean | number;
4272
4339
  productKey?: boolean | number;
4273
- rolloverCredits?: boolean | number;
4274
- totalGrantedCredits?: boolean | number;
4275
4340
  unitPriceCents?: boolean | number;
4276
- usedCredits?: boolean | number;
4341
+ userCreditsUsed?: boolean | number;
4342
+ workspaceCreditsExtraGranted?: boolean | number;
4343
+ workspaceCreditsGranted?: boolean | number;
4344
+ workspaceCreditsGrantedForSeats?: boolean | number;
4345
+ workspaceCreditsSeats?: boolean | number;
4346
+ workspaceCreditsTotalGranted?: boolean | number;
4347
+ workspaceCreditsUsed?: boolean | number;
4277
4348
  __typename?: boolean | number;
4278
4349
  __scalar?: boolean | number;
4279
4350
  }
@@ -4341,6 +4412,7 @@ export interface CalendarChannelGenqlSelection {
4341
4412
  connectedAccountId?: boolean | number;
4342
4413
  contactAutoCreationPolicy?: boolean | number;
4343
4414
  createdAt?: boolean | number;
4415
+ excludePrivateEvents?: boolean | number;
4344
4416
  handle?: boolean | number;
4345
4417
  id?: boolean | number;
4346
4418
  isContactAutoCreationEnabled?: boolean | number;
@@ -4600,9 +4672,11 @@ export interface ConnectedAccountPublicDTOGenqlSelection {
4600
4672
  lastSignedInAt?: boolean | number;
4601
4673
  name?: boolean | number;
4602
4674
  provider?: boolean | number;
4675
+ scope?: boolean | number;
4603
4676
  scopes?: boolean | number;
4604
4677
  updatedAt?: boolean | number;
4605
4678
  userWorkspaceId?: boolean | number;
4679
+ /** @deprecated Use scope instead. */
4606
4680
  visibility?: boolean | number;
4607
4681
  __typename?: boolean | number;
4608
4682
  __scalar?: boolean | number;
@@ -4978,6 +5052,14 @@ export interface CreateWebhookInput {
4978
5052
  secret?: (Scalars['String'] | null);
4979
5053
  targetUrl: Scalars['String'];
4980
5054
  }
5055
+ export interface CreditUsedItemGenqlSelection {
5056
+ creditsUsed?: boolean | number;
5057
+ label?: boolean | number;
5058
+ operation?: boolean | number;
5059
+ resource?: boolean | number;
5060
+ __typename?: boolean | number;
5061
+ __scalar?: boolean | number;
5062
+ }
4981
5063
  export interface CursorPaging {
4982
5064
  /** Paginate after opaque cursor */
4983
5065
  after?: (Scalars['ConnectionCursor'] | null);
@@ -5678,6 +5760,7 @@ export interface LineChartSeriesGenqlSelection {
5678
5760
  }
5679
5761
  export interface ListAppConnectionsInput {
5680
5762
  providerName?: (Scalars['String'] | null);
5763
+ scope?: (ConnectedAccountScope | null);
5681
5764
  userWorkspaceId?: (Scalars['String'] | null);
5682
5765
  visibility?: (Scalars['String'] | null);
5683
5766
  }
@@ -5848,6 +5931,12 @@ export interface MessageCampaignDetailsConfigurationGenqlSelection {
5848
5931
  __typename?: boolean | number;
5849
5932
  __scalar?: boolean | number;
5850
5933
  }
5934
+ export interface MessageCampaignSendBlockerDTOGenqlSelection {
5935
+ code?: boolean | number;
5936
+ message?: boolean | number;
5937
+ __typename?: boolean | number;
5938
+ __scalar?: boolean | number;
5939
+ }
5851
5940
  export interface MessageChannelGenqlSelection {
5852
5941
  connectedAccount?: ConnectedAccountPublicDTOGenqlSelection;
5853
5942
  connectedAccountId?: boolean | number;
@@ -5858,6 +5947,7 @@ export interface MessageChannelGenqlSelection {
5858
5947
  excludeNonProfessionalEmails?: boolean | number;
5859
5948
  handle?: boolean | number;
5860
5949
  id?: boolean | number;
5950
+ importProgress?: boolean | number;
5861
5951
  isContactAutoCreationEnabled?: boolean | number;
5862
5952
  isSyncEnabled?: boolean | number;
5863
5953
  messageFolderImportPolicy?: boolean | number;
@@ -6835,6 +6925,7 @@ export interface MutationGenqlSelection {
6835
6925
  mentionedWorkspaceMemberIds?: (Scalars['UUID'][] | null);
6836
6926
  messageId: Scalars['UUID'];
6837
6927
  modelId?: (Scalars['String'] | null);
6928
+ shouldAssistantReply?: (Scalars['Boolean'] | null);
6838
6929
  text: Scalars['String'];
6839
6930
  threadId: Scalars['UUID'];
6840
6931
  };
@@ -7202,6 +7293,11 @@ export interface MutationGenqlSelection {
7202
7293
  input: UpdateUsageLimitInput;
7203
7294
  };
7204
7295
  });
7296
+ updateUserCreditsFallback?: (BillingCustomerGenqlSelection & {
7297
+ __args: {
7298
+ userCreditsFallback: UserCreditsFallback;
7299
+ };
7300
+ });
7205
7301
  updateUserEmail?: {
7206
7302
  __args: {
7207
7303
  newEmail: Scalars['String'];
@@ -7762,6 +7858,16 @@ export interface PreviewMessageCampaignAudienceInput {
7762
7858
  listId: Scalars['String'];
7763
7859
  unsubscribeTopicId?: (Scalars['String'] | null);
7764
7860
  }
7861
+ export interface PreviewMessageCampaignSendInput {
7862
+ campaignId: Scalars['String'];
7863
+ scheduledAt?: (Scalars['DateTime'] | null);
7864
+ }
7865
+ export interface PreviewMessageCampaignSendOutputDTOGenqlSelection {
7866
+ audience?: CampaignAudiencePreviewDTOGenqlSelection;
7867
+ blockers?: MessageCampaignSendBlockerDTOGenqlSelection;
7868
+ __typename?: boolean | number;
7869
+ __scalar?: boolean | number;
7870
+ }
7765
7871
  export interface PublicApplicationRegistrationGenqlSelection {
7766
7872
  id?: boolean | number;
7767
7873
  logoUrl?: boolean | number;
@@ -7992,6 +8098,8 @@ export interface QueryGenqlSelection {
7992
8098
  findApplicationRegistrationStats?: (ApplicationRegistrationStatsGenqlSelection & {
7993
8099
  __args: {
7994
8100
  id: Scalars['String'];
8101
+ periodEnd?: (Scalars['DateTime'] | null);
8102
+ periodStart?: (Scalars['DateTime'] | null);
7995
8103
  };
7996
8104
  });
7997
8105
  findApplicationRegistrationVariables?: (ApplicationRegistrationVariableGenqlSelection & {
@@ -8276,6 +8384,7 @@ export interface QueryGenqlSelection {
8276
8384
  objectMetadataId: Scalars['UUID'];
8277
8385
  };
8278
8386
  };
8387
+ myApplicationPreferences?: ApplicationPreferencesGenqlSelection;
8279
8388
  myCalendarChannels?: (CalendarChannelGenqlSelection & {
8280
8389
  __args?: {
8281
8390
  connectedAccountId?: (Scalars['UUID'] | null);
@@ -8324,6 +8433,11 @@ export interface QueryGenqlSelection {
8324
8433
  input: PreviewMessageCampaignAudienceInput;
8325
8434
  };
8326
8435
  });
8436
+ previewMessageCampaignSend?: (PreviewMessageCampaignSendOutputDTOGenqlSelection & {
8437
+ __args: {
8438
+ input: PreviewMessageCampaignSendInput;
8439
+ };
8440
+ });
8327
8441
  publicMarketplaceAppDetail?: (MarketplaceAppDetailGenqlSelection & {
8328
8442
  __args: {
8329
8443
  universalIdentifier: Scalars['String'];
@@ -8590,6 +8704,7 @@ export interface RunAgentInput {
8590
8704
  responseFormat?: (Scalars['JSON'] | null);
8591
8705
  runAsWorkspaceMemberId?: (Scalars['UUID'] | null);
8592
8706
  thread?: (RunAgentThreadInput | null);
8707
+ waitForCompletion?: (Scalars['Boolean'] | null);
8593
8708
  }
8594
8709
  export interface RunAgentMessageAttachmentInput {
8595
8710
  fileId: Scalars['UUID'];
@@ -9076,6 +9191,7 @@ export interface UpdateCalendarChannelInput {
9076
9191
  }
9077
9192
  export interface UpdateCalendarChannelInputUpdates {
9078
9193
  contactAutoCreationPolicy?: (CalendarChannelContactAutoCreationPolicy | null);
9194
+ excludePrivateEvents?: (Scalars['Boolean'] | null);
9079
9195
  isContactAutoCreationEnabled?: (Scalars['Boolean'] | null);
9080
9196
  isSyncEnabled?: (Scalars['Boolean'] | null);
9081
9197
  visibility?: (CalendarChannelVisibility | null);
@@ -9595,6 +9711,8 @@ export interface UsageBreakdownItemGenqlSelection {
9595
9711
  creditsUsed?: boolean | number;
9596
9712
  key?: boolean | number;
9597
9713
  label?: boolean | number;
9714
+ userCreditsUsed?: boolean | number;
9715
+ workspaceCreditsUsed?: boolean | number;
9598
9716
  __typename?: boolean | number;
9599
9717
  __scalar?: boolean | number;
9600
9718
  }
@@ -9681,6 +9799,7 @@ export interface UsageQuotaWithConsumptionGenqlSelection {
9681
9799
  export interface UsageTimeSeriesGenqlSelection {
9682
9800
  creditsUsed?: boolean | number;
9683
9801
  date?: boolean | number;
9802
+ workspaceCreditsUsed?: boolean | number;
9684
9803
  __typename?: boolean | number;
9685
9804
  __scalar?: boolean | number;
9686
9805
  }
@@ -10266,6 +10385,9 @@ export declare const isApplicationHealthCheckAction: (obj?: {
10266
10385
  export declare const isApplicationHealthCheckResult: (obj?: {
10267
10386
  __typename?: any;
10268
10387
  } | null | undefined) => obj is ApplicationHealthCheckResult;
10388
+ export declare const isApplicationPreferences: (obj?: {
10389
+ __typename?: any;
10390
+ } | null | undefined) => obj is ApplicationPreferences;
10269
10391
  export declare const isApplicationRegistration: (obj?: {
10270
10392
  __typename?: any;
10271
10393
  } | null | undefined) => obj is ApplicationRegistration;
@@ -10479,6 +10601,9 @@ export declare const isCreateCalendarEventOutput: (obj?: {
10479
10601
  export declare const isCreateEmailGroupChannelOutput: (obj?: {
10480
10602
  __typename?: any;
10481
10603
  } | null | undefined) => obj is CreateEmailGroupChannelOutput;
10604
+ export declare const isCreditUsedItem: (obj?: {
10605
+ __typename?: any;
10606
+ } | null | undefined) => obj is CreditUsedItem;
10482
10607
  export declare const isDeleteSso: (obj?: {
10483
10608
  __typename?: any;
10484
10609
  } | null | undefined) => obj is DeleteSso;
@@ -10695,6 +10820,9 @@ export declare const isMessageCampaignBodyConfiguration: (obj?: {
10695
10820
  export declare const isMessageCampaignDetailsConfiguration: (obj?: {
10696
10821
  __typename?: any;
10697
10822
  } | null | undefined) => obj is MessageCampaignDetailsConfiguration;
10823
+ export declare const isMessageCampaignSendBlockerDTO: (obj?: {
10824
+ __typename?: any;
10825
+ } | null | undefined) => obj is MessageCampaignSendBlockerDTO;
10698
10826
  export declare const isMessageChannel: (obj?: {
10699
10827
  __typename?: any;
10700
10828
  } | null | undefined) => obj is MessageChannel;
@@ -10815,6 +10943,9 @@ export declare const isPieChartDataItem: (obj?: {
10815
10943
  export declare const isPlaceDetailsResult: (obj?: {
10816
10944
  __typename?: any;
10817
10945
  } | null | undefined) => obj is PlaceDetailsResult;
10946
+ export declare const isPreviewMessageCampaignSendOutputDTO: (obj?: {
10947
+ __typename?: any;
10948
+ } | null | undefined) => obj is PreviewMessageCampaignSendOutputDTO;
10818
10949
  export declare const isPublicApplicationRegistration: (obj?: {
10819
10950
  __typename?: any;
10820
10951
  } | null | undefined) => obj is PublicApplicationRegistration;
@@ -11280,6 +11411,7 @@ export declare const enumBarChartLayout: {
11280
11411
  export declare const enumBillingEntitlementKey: {
11281
11412
  AUDIT_LOGS: "AUDIT_LOGS";
11282
11413
  CUSTOM_DOMAIN: "CUSTOM_DOMAIN";
11414
+ CUSTOM_ROLES: "CUSTOM_ROLES";
11283
11415
  RECORD_SHARING: "RECORD_SHARING";
11284
11416
  RLS: "RLS";
11285
11417
  SSO: "SSO";
@@ -11345,6 +11477,14 @@ export declare const enumCommandMenuItemAvailabilityType: {
11345
11477
  GLOBAL_OBJECT_CONTEXT: "GLOBAL_OBJECT_CONTEXT";
11346
11478
  RECORD_SELECTION: "RECORD_SELECTION";
11347
11479
  };
11480
+ export declare const enumConnectedAccountScope: {
11481
+ USER: "USER";
11482
+ WORKSPACE: "WORKSPACE";
11483
+ };
11484
+ export declare const enumConnectionProviderScope: {
11485
+ USER: "USER";
11486
+ WORKSPACE: "WORKSPACE";
11487
+ };
11348
11488
  export declare const enumDatabaseEventAction: {
11349
11489
  CREATED: "CREATED";
11350
11490
  DELETED: "DELETED";
@@ -11472,19 +11612,15 @@ export declare const enumEventLogTable: {
11472
11612
  };
11473
11613
  export declare const enumFeatureFlagKey: {
11474
11614
  IS_AI_CHAT_INBOX_ENABLED: "IS_AI_CHAT_INBOX_ENABLED";
11475
- IS_APPLICATION_WORKFLOWS_ENABLED: "IS_APPLICATION_WORKFLOWS_ENABLED";
11476
11615
  IS_APP_PREFERENCES_ENABLED: "IS_APP_PREFERENCES_ENABLED";
11477
11616
  IS_ASYNC_CSV_EXPORT_ENABLED: "IS_ASYNC_CSV_EXPORT_ENABLED";
11478
- IS_CALENDAR_SYNC_SKIP_UNCHANGED_RECORDS_ENABLED: "IS_CALENDAR_SYNC_SKIP_UNCHANGED_RECORDS_ENABLED";
11617
+ IS_CALENDAR_EVENT_SHARED_ACROSS_CHANNELS_ENABLED: "IS_CALENDAR_EVENT_SHARED_ACROSS_CHANNELS_ENABLED";
11479
11618
  IS_CONFIGURABLE_SEARCH_FIELDS_ENABLED: "IS_CONFIGURABLE_SEARCH_FIELDS_ENABLED";
11480
11619
  IS_DEFERRED_WORKSPACE_MIGRATION_ACTIONS_ENABLED: "IS_DEFERRED_WORKSPACE_MIGRATION_ACTIONS_ENABLED";
11481
- IS_JSON_FILTER_ENABLED: "IS_JSON_FILTER_ENABLED";
11482
11620
  IS_LOGS_SETTINGS_SECTION_ENABLED: "IS_LOGS_SETTINGS_SECTION_ENABLED";
11483
11621
  IS_MESSAGE_CAMPAIGN_ENABLED: "IS_MESSAGE_CAMPAIGN_ENABLED";
11484
- IS_MORPH_RELATION_HEAD_ENABLED: "IS_MORPH_RELATION_HEAD_ENABLED";
11485
11622
  IS_RECORD_CREATION_FORM_ENABLED: "IS_RECORD_CREATION_FORM_ENABLED";
11486
11623
  IS_RECORD_LEVEL_SHARING_ENABLED: "IS_RECORD_LEVEL_SHARING_ENABLED";
11487
- IS_RECORD_SHARE_VISIBILITY_GATING_ENABLED: "IS_RECORD_SHARE_VISIBILITY_GATING_ENABLED";
11488
11624
  IS_REST_METADATA_API_NEW_FORMAT_DIRECT: "IS_REST_METADATA_API_NEW_FORMAT_DIRECT";
11489
11625
  };
11490
11626
  export declare const enumFieldDisplayMode: {
@@ -11843,6 +11979,7 @@ export declare const enumUnsubscribeTopicVisibility: {
11843
11979
  export declare const enumUsageOperationType: {
11844
11980
  AI_CHAT_TOKEN: "AI_CHAT_TOKEN";
11845
11981
  AI_WORKFLOW_TOKEN: "AI_WORKFLOW_TOKEN";
11982
+ AI_WORKFLOW_WEB_SEARCH: "AI_WORKFLOW_WEB_SEARCH";
11846
11983
  ALL: "ALL";
11847
11984
  API_REQUEST: "API_REQUEST";
11848
11985
  CALL_RECORDING: "CALL_RECORDING";
@@ -11880,6 +12017,11 @@ export declare const enumUsageUnit: {
11880
12017
  REQUEST: "REQUEST";
11881
12018
  SEAT: "SEAT";
11882
12019
  TOKEN: "TOKEN";
12020
+ USER_CREDIT: "USER_CREDIT";
12021
+ };
12022
+ export declare const enumUserCreditsFallback: {
12023
+ STOP: "STOP";
12024
+ WORKSPACE_CREDITS: "WORKSPACE_CREDITS";
11883
12025
  };
11884
12026
  export declare const enumViewCalendarLayout: {
11885
12027
  DAY: "DAY";