twenty-client-sdk 2.40.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'];
@@ -604,6 +605,102 @@ export interface ApplicationRegistration {
604
605
  galleryImagesUrls: Scalars['String'][];
605
606
  __typename: 'ApplicationRegistration';
606
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
+ }
607
704
  export interface SdkClientChecksums {
608
705
  core?: Scalars['String'];
609
706
  metadata: Scalars['String'];
@@ -665,8 +762,10 @@ export type PageLayoutTabLayoutMode = 'GRID' | 'VERTICAL_LIST' | 'CANVAS';
665
762
  export interface PageLayoutWidgetVerticalListPosition {
666
763
  layoutMode: PageLayoutTabLayoutMode;
667
764
  index: Scalars['Int'];
765
+ heightBehavior?: PageLayoutWidgetVerticalListHeightBehavior;
668
766
  __typename: 'PageLayoutWidgetVerticalListPosition';
669
767
  }
768
+ export type PageLayoutWidgetVerticalListHeightBehavior = 'FIT_CONTENT' | 'TAB_VIEWPORT';
670
769
  export interface PageLayoutWidgetCanvasPosition {
671
770
  layoutMode: PageLayoutTabLayoutMode;
672
771
  __typename: 'PageLayoutWidgetCanvasPosition';
@@ -949,102 +1048,6 @@ export interface ApplicationConnectionProvider {
949
1048
  logoUrl?: Scalars['String'];
950
1049
  __typename: 'ApplicationConnectionProvider';
951
1050
  }
952
- export interface BillingSubscriptionSchedulePhaseItem {
953
- price: Scalars['String'];
954
- quantity?: Scalars['Float'];
955
- __typename: 'BillingSubscriptionSchedulePhaseItem';
956
- }
957
- export interface BillingSubscriptionSchedulePhase {
958
- start_date: Scalars['Float'];
959
- end_date: Scalars['Float'];
960
- items: BillingSubscriptionSchedulePhaseItem[];
961
- __typename: 'BillingSubscriptionSchedulePhase';
962
- }
963
- export interface BillingProductMetadata {
964
- planKey: BillingPlanKey;
965
- priceUsageBased: BillingUsageType;
966
- productKey: BillingProductKey;
967
- isLegacy?: Scalars['String'];
968
- __typename: 'BillingProductMetadata';
969
- }
970
- /** The different billing plans available */
971
- export type BillingPlanKey = 'PRO' | 'ENTERPRISE';
972
- export type BillingUsageType = 'METERED' | 'LICENSED';
973
- /** The different billing products available */
974
- export type BillingProductKey = 'BASE_PRODUCT' | 'RESOURCE_CREDIT';
975
- export interface BillingPriceLicensed {
976
- recurringInterval: SubscriptionInterval;
977
- unitAmount: Scalars['Float'];
978
- stripePriceId: Scalars['String'];
979
- priceUsageType: BillingUsageType;
980
- creditAmount?: Scalars['Float'];
981
- isSellable: Scalars['Boolean'];
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
- unitAmount?: Scalars['Float'];
1027
- creditAmount?: Scalars['Float'];
1028
- billingProduct: BillingProductDTO;
1029
- __typename: 'BillingSubscriptionItem';
1030
- }
1031
- export interface BillingCustomer {
1032
- id: Scalars['UUID'];
1033
- hasPaymentMethod?: Scalars['Boolean'];
1034
- __typename: 'BillingCustomer';
1035
- }
1036
- export interface BillingSubscription {
1037
- id: Scalars['UUID'];
1038
- status: SubscriptionStatus;
1039
- interval?: SubscriptionInterval;
1040
- billingSubscriptionItems?: BillingSubscriptionItem[];
1041
- currentPeriodEnd?: Scalars['DateTime'];
1042
- metadata: Scalars['JSON'];
1043
- phases: BillingSubscriptionSchedulePhase[];
1044
- cancelAt?: Scalars['DateTime'];
1045
- __typename: 'BillingSubscription';
1046
- }
1047
- export type SubscriptionStatus = 'Active' | 'Canceled' | 'Incomplete' | 'IncompleteExpired' | 'PastDue' | 'Paused' | 'Trialing' | 'Unpaid';
1048
1051
  export interface LogicFunctionExecutionResult {
1049
1052
  /** Execution result in JSON format */
1050
1053
  data?: Scalars['JSON'];
@@ -1257,6 +1260,44 @@ export interface UsageAnalytics {
1257
1260
  userDailyUsage?: UsageUserDaily;
1258
1261
  __typename: 'UsageAnalytics';
1259
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
+ }
1260
1301
  export interface UsageLimit {
1261
1302
  id: Scalars['UUID'];
1262
1303
  resourceType: UsageResourceType;
@@ -1273,8 +1314,6 @@ export interface UsageLimit {
1273
1314
  updatedAt: Scalars['DateTime'];
1274
1315
  __typename: 'UsageLimit';
1275
1316
  }
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';
1278
1317
  export interface ApprovedAccessDomain {
1279
1318
  id: Scalars['UUID'];
1280
1319
  domain: Scalars['String'];
@@ -1367,6 +1406,7 @@ export interface ApplicationConnectedAccountDTO {
1367
1406
  createdAt: Scalars['DateTime'];
1368
1407
  updatedAt: Scalars['DateTime'];
1369
1408
  connectionParameters?: PublicImapSmtpCaldavConnectionParameters;
1409
+ /** @deprecated Ownership no longer gates connection actions, every application admin manages a workspace-shared connection */
1370
1410
  isOwnedByCurrentUser: Scalars['Boolean'];
1371
1411
  __typename: 'ApplicationConnectedAccountDTO';
1372
1412
  }
@@ -1375,7 +1415,7 @@ export interface FeatureFlag {
1375
1415
  value: Scalars['Boolean'];
1376
1416
  __typename: 'FeatureFlag';
1377
1417
  }
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';
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';
1379
1419
  export interface WorkspaceUrls {
1380
1420
  customUrl?: Scalars['String'];
1381
1421
  subdomainUrl: Scalars['String'];
@@ -1752,6 +1792,7 @@ export interface MarketplaceAppDetail {
1752
1792
  /** @deprecated Use galleryImages instead */
1753
1793
  screenshots: Scalars['String'][];
1754
1794
  galleryImages: Scalars['String'][];
1795
+ installCount: Scalars['Int'];
1755
1796
  defaultRoleUniversalIdentifier?: Scalars['String'];
1756
1797
  roles?: MarketplaceAppRole[];
1757
1798
  /** @deprecated Use the explicit MarketplaceAppDetail fields (description, author, roles, ...) instead */
@@ -1922,7 +1963,7 @@ export interface BillingEntitlement {
1922
1963
  value: Scalars['Boolean'];
1923
1964
  __typename: 'BillingEntitlement';
1924
1965
  }
1925
- 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';
1926
1967
  export interface DomainRecord {
1927
1968
  validationType: Scalars['String'];
1928
1969
  type: Scalars['String'];
@@ -2203,12 +2244,22 @@ export interface MessageChannel {
2203
2244
  __typename: 'MessageChannel';
2204
2245
  }
2205
2246
  export type MessageChannelVisibility = 'METADATA' | 'SUBJECT' | 'SHARE_EVERYTHING';
2206
- export type MessageChannelType = 'EMAIL' | 'SMS' | 'EMAIL_GROUP';
2247
+ export type MessageChannelType = 'EMAIL' | 'SMS' | 'EMAIL_GROUP' | 'APP';
2207
2248
  export type MessageChannelContactAutoCreationPolicy = 'SENT_AND_RECEIVED' | 'SENT' | 'NONE';
2208
2249
  export type MessageFolderImportPolicy = 'ALL_FOLDERS' | 'SELECTED_FOLDERS';
2209
2250
  export type MessageChannelPendingGroupEmailsAction = 'GROUP_EMAILS_DELETION' | 'GROUP_EMAILS_IMPORT' | 'NONE';
2210
2251
  export type MessageChannelSyncStatus = 'NOT_SYNCED' | 'ONGOING' | 'ACTIVE' | 'FAILED_INSUFFICIENT_PERMISSIONS' | 'FAILED_UNKNOWN';
2211
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
+ }
2212
2263
  export interface CreateEmailGroupChannelOutput {
2213
2264
  messageChannel: MessageChannel;
2214
2265
  forwardingAddress: Scalars['String'];
@@ -2488,6 +2539,12 @@ export interface EventLogQueryResult {
2488
2539
  pageInfo: EventLogPageInfo;
2489
2540
  __typename: 'EventLogQueryResult';
2490
2541
  }
2542
+ export interface AiChatUsage {
2543
+ limitValue: Scalars['BigInt'];
2544
+ consumedValue?: Scalars['BigInt'];
2545
+ periodEnd?: Scalars['DateTime'];
2546
+ __typename: 'AiChatUsage';
2547
+ }
2491
2548
  export interface Skill {
2492
2549
  id: Scalars['UUID'];
2493
2550
  name: Scalars['String'];
@@ -2496,6 +2553,7 @@ export interface Skill {
2496
2553
  description?: Scalars['String'];
2497
2554
  content: Scalars['String'];
2498
2555
  isCustom: Scalars['Boolean'];
2556
+ isSystem: Scalars['Boolean'];
2499
2557
  isActive: Scalars['Boolean'];
2500
2558
  applicationId?: Scalars['UUID'];
2501
2559
  createdAt: Scalars['DateTime'];
@@ -2517,6 +2575,7 @@ export interface AgentMessage {
2517
2575
  export interface AgentChatThread {
2518
2576
  id: Scalars['ID'];
2519
2577
  title?: Scalars['String'];
2578
+ totalCacheReadTokens: Scalars['Int'];
2520
2579
  totalInputTokens: Scalars['Int'];
2521
2580
  totalOutputTokens: Scalars['Int'];
2522
2581
  contextWindowTokens?: Scalars['Int'];
@@ -2734,6 +2793,9 @@ export interface Query {
2734
2793
  enterpriseSubscriptionStatus?: EnterpriseSubscriptionStatusDTO;
2735
2794
  getUsageAnalytics: UsageAnalytics;
2736
2795
  usageLimits: UsageLimit[];
2796
+ usageQuotasWithConsumption: UsageQuotaWithConsumption[];
2797
+ usageQuotaDefinitions: UsageQuotaDefinitions;
2798
+ usageQuotaScopeConsumption?: UsageQuotaScopeConsumption;
2737
2799
  getViewFilterGroups: ViewFilterGroup[];
2738
2800
  getViewFilterGroup?: ViewFilterGroup;
2739
2801
  getViewFilters: ViewFilter[];
@@ -2808,6 +2870,7 @@ export interface Query {
2808
2870
  messageSuppressions: MessageSuppressionList;
2809
2871
  unsubscribeTopics: UnsubscribeTopic[];
2810
2872
  myMessageChannels: MessageChannel[];
2873
+ appMessageChannels: MessageChannel[];
2811
2874
  getEmailingDomains: EmailingDomain[];
2812
2875
  getToolIndex: ToolIndexEntry[];
2813
2876
  getToolInputSchema?: Scalars['JSON'];
@@ -2821,6 +2884,7 @@ export interface Query {
2821
2884
  appConnections: AppConnection[];
2822
2885
  appConnection: AppConnection;
2823
2886
  findWorkspaceAiStats: WorkspaceAiStats;
2887
+ aiChatUsage?: AiChatUsage;
2824
2888
  chatThreads: AgentChatThread[];
2825
2889
  chatThread: AgentChatThread;
2826
2890
  chatMessages: AgentMessage[];
@@ -2870,7 +2934,8 @@ export interface Mutation {
2870
2934
  uploadWorkspaceLogo: FileWithSignedUrl;
2871
2935
  uploadWorkspaceMemberProfilePicture: FileWithSignedUrl;
2872
2936
  uploadFilesFieldFileByUniversalIdentifier: FileWithSignedUrl;
2873
- upsertUsageLimit: UsageLimit;
2937
+ createUsageLimit: UsageLimit;
2938
+ updateUsageLimit: UsageLimit;
2874
2939
  deleteUsageLimit: Scalars['Boolean'];
2875
2940
  createViewFilterGroup: ViewFilterGroup;
2876
2941
  updateViewFilterGroup: ViewFilterGroup;
@@ -3017,6 +3082,10 @@ export interface Mutation {
3017
3082
  createEmailGroupChannel: CreateEmailGroupChannelOutput;
3018
3083
  updateEmailGroupChannel: MessageChannel;
3019
3084
  deleteEmailGroupChannel: MessageChannel;
3085
+ createAppMessageChannel: MessageChannel;
3086
+ updateAppMessageChannel: MessageChannel;
3087
+ deleteAppMessageChannel: MessageChannel;
3088
+ ingestAppMessages: IngestAppMessagesOutput;
3020
3089
  createEmailingDomain: EmailingDomain;
3021
3090
  deleteEmailingDomain: Scalars['Boolean'];
3022
3091
  verifyEmailingDomain: EmailingDomain;
@@ -3109,6 +3178,7 @@ export interface Mutation {
3109
3178
  renewApplicationToken: ApplicationTokenPair;
3110
3179
  __typename: 'Mutation';
3111
3180
  }
3181
+ export type MessageParticipantRole = 'FROM' | 'TO' | 'CC' | 'BCC' | 'REPLY_TO';
3112
3182
  export type RunAgentMessageRole = 'user' | 'assistant';
3113
3183
  export type AnalyticsType = 'PAGEVIEW' | 'TRACK';
3114
3184
  export interface Subscription {
@@ -3296,6 +3366,7 @@ export interface ObjectGenqlSelection {
3296
3366
  isSearchable?: boolean | number;
3297
3367
  openRecordIn?: boolean | number;
3298
3368
  readability?: boolean | number;
3369
+ readabilityParentFieldUniversalIdentifiers?: boolean | number;
3299
3370
  writability?: boolean | number;
3300
3371
  applicationId?: boolean | number;
3301
3372
  createdAt?: boolean | number;
@@ -3782,6 +3853,107 @@ export interface ApplicationRegistrationGenqlSelection {
3782
3853
  __typename?: boolean | number;
3783
3854
  __scalar?: boolean | number;
3784
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
+ }
3785
3957
  export interface SdkClientChecksumsGenqlSelection {
3786
3958
  core?: boolean | number;
3787
3959
  metadata?: boolean | number;
@@ -3850,6 +4022,7 @@ export interface PageLayoutWidgetGridPositionGenqlSelection {
3850
4022
  export interface PageLayoutWidgetVerticalListPositionGenqlSelection {
3851
4023
  layoutMode?: boolean | number;
3852
4024
  index?: boolean | number;
4025
+ heightBehavior?: boolean | number;
3853
4026
  __typename?: boolean | number;
3854
4027
  __scalar?: boolean | number;
3855
4028
  }
@@ -4148,134 +4321,33 @@ export interface PageLayoutGenqlSelection {
4148
4321
  id?: boolean | number;
4149
4322
  name?: boolean | number;
4150
4323
  type?: boolean | number;
4151
- objectMetadataId?: boolean | number;
4152
- tabs?: PageLayoutTabGenqlSelection;
4153
- defaultTabToFocusOnMobileAndSidePanelId?: boolean | number;
4154
- universalIdentifier?: boolean | number;
4155
- applicationId?: boolean | number;
4156
- isSystemSideEffect?: boolean | number;
4157
- isFirstTabPinned?: boolean | number;
4158
- createdAt?: boolean | number;
4159
- updatedAt?: boolean | number;
4160
- deletedAt?: boolean | number;
4161
- __typename?: boolean | number;
4162
- __scalar?: boolean | number;
4163
- }
4164
- export interface ApplicationConnectionProviderOAuthConfigGenqlSelection {
4165
- scopes?: boolean | number;
4166
- isClientCredentialsConfigured?: boolean | number;
4167
- __typename?: boolean | number;
4168
- __scalar?: boolean | number;
4169
- }
4170
- export interface ApplicationConnectionProviderGenqlSelection {
4171
- id?: boolean | number;
4172
- applicationId?: boolean | number;
4173
- type?: boolean | number;
4174
- name?: boolean | number;
4175
- displayName?: boolean | number;
4176
- oauth?: ApplicationConnectionProviderOAuthConfigGenqlSelection;
4177
- logoUrl?: boolean | number;
4178
- __typename?: boolean | number;
4179
- __scalar?: boolean | number;
4180
- }
4181
- export interface BillingSubscriptionSchedulePhaseItemGenqlSelection {
4182
- price?: boolean | number;
4183
- quantity?: boolean | number;
4184
- __typename?: boolean | number;
4185
- __scalar?: boolean | number;
4186
- }
4187
- export interface BillingSubscriptionSchedulePhaseGenqlSelection {
4188
- start_date?: boolean | number;
4189
- end_date?: boolean | number;
4190
- items?: BillingSubscriptionSchedulePhaseItemGenqlSelection;
4191
- __typename?: boolean | number;
4192
- __scalar?: boolean | number;
4193
- }
4194
- export interface BillingProductMetadataGenqlSelection {
4195
- planKey?: boolean | number;
4196
- priceUsageBased?: boolean | number;
4197
- productKey?: boolean | number;
4198
- isLegacy?: boolean | number;
4199
- __typename?: boolean | number;
4200
- __scalar?: boolean | number;
4201
- }
4202
- export interface BillingPriceLicensedGenqlSelection {
4203
- recurringInterval?: boolean | number;
4204
- unitAmount?: boolean | number;
4205
- stripePriceId?: boolean | number;
4206
- priceUsageType?: boolean | number;
4207
- creditAmount?: boolean | number;
4208
- isSellable?: boolean | number;
4209
- __typename?: boolean | number;
4210
- __scalar?: boolean | number;
4211
- }
4212
- export interface BillingPriceTierGenqlSelection {
4213
- upTo?: boolean | number;
4214
- flatAmount?: boolean | number;
4215
- unitAmount?: boolean | number;
4216
- __typename?: boolean | number;
4217
- __scalar?: boolean | number;
4218
- }
4219
- export interface BillingPriceMeteredGenqlSelection {
4220
- tiers?: BillingPriceTierGenqlSelection;
4221
- recurringInterval?: boolean | number;
4222
- stripePriceId?: boolean | number;
4223
- priceUsageType?: boolean | number;
4224
- __typename?: boolean | number;
4225
- __scalar?: boolean | number;
4226
- }
4227
- export interface BillingProductGenqlSelection {
4228
- name?: boolean | number;
4229
- description?: boolean | number;
4230
- images?: boolean | number;
4231
- metadata?: BillingProductMetadataGenqlSelection;
4232
- __typename?: boolean | number;
4233
- __scalar?: boolean | number;
4234
- }
4235
- export interface BillingLicensedProductGenqlSelection {
4236
- name?: boolean | number;
4237
- description?: boolean | number;
4238
- images?: boolean | number;
4239
- metadata?: BillingProductMetadataGenqlSelection;
4240
- prices?: BillingPriceLicensedGenqlSelection;
4241
- __typename?: boolean | number;
4242
- __scalar?: boolean | number;
4243
- }
4244
- export interface BillingMeteredProductGenqlSelection {
4245
- name?: boolean | number;
4246
- description?: boolean | number;
4247
- images?: boolean | number;
4248
- metadata?: BillingProductMetadataGenqlSelection;
4249
- prices?: BillingPriceMeteredGenqlSelection;
4250
- __typename?: boolean | number;
4251
- __scalar?: boolean | number;
4252
- }
4253
- export interface BillingSubscriptionItemGenqlSelection {
4254
- id?: boolean | number;
4255
- hasReachedCurrentPeriodCap?: boolean | number;
4256
- quantity?: boolean | number;
4257
- stripePriceId?: boolean | number;
4258
- unitAmount?: boolean | number;
4259
- creditAmount?: boolean | number;
4260
- billingProduct?: BillingProductDTOGenqlSelection;
4324
+ objectMetadataId?: boolean | number;
4325
+ tabs?: PageLayoutTabGenqlSelection;
4326
+ defaultTabToFocusOnMobileAndSidePanelId?: boolean | number;
4327
+ universalIdentifier?: boolean | number;
4328
+ applicationId?: boolean | number;
4329
+ isSystemSideEffect?: boolean | number;
4330
+ isFirstTabPinned?: boolean | number;
4331
+ createdAt?: boolean | number;
4332
+ updatedAt?: boolean | number;
4333
+ deletedAt?: boolean | number;
4261
4334
  __typename?: boolean | number;
4262
4335
  __scalar?: boolean | number;
4263
4336
  }
4264
- export interface BillingCustomerGenqlSelection {
4265
- id?: boolean | number;
4266
- hasPaymentMethod?: boolean | number;
4337
+ export interface ApplicationConnectionProviderOAuthConfigGenqlSelection {
4338
+ scopes?: boolean | number;
4339
+ isClientCredentialsConfigured?: boolean | number;
4267
4340
  __typename?: boolean | number;
4268
4341
  __scalar?: boolean | number;
4269
4342
  }
4270
- export interface BillingSubscriptionGenqlSelection {
4343
+ export interface ApplicationConnectionProviderGenqlSelection {
4271
4344
  id?: boolean | number;
4272
- status?: boolean | number;
4273
- interval?: boolean | number;
4274
- billingSubscriptionItems?: BillingSubscriptionItemGenqlSelection;
4275
- currentPeriodEnd?: boolean | number;
4276
- metadata?: boolean | number;
4277
- phases?: BillingSubscriptionSchedulePhaseGenqlSelection;
4278
- cancelAt?: boolean | number;
4345
+ applicationId?: boolean | number;
4346
+ type?: boolean | number;
4347
+ name?: boolean | number;
4348
+ displayName?: boolean | number;
4349
+ oauth?: ApplicationConnectionProviderOAuthConfigGenqlSelection;
4350
+ logoUrl?: boolean | number;
4279
4351
  __typename?: boolean | number;
4280
4352
  __scalar?: boolean | number;
4281
4353
  }
@@ -4506,6 +4578,46 @@ export interface UsageAnalyticsGenqlSelection {
4506
4578
  __typename?: boolean | number;
4507
4579
  __scalar?: boolean | number;
4508
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
+ }
4509
4621
  export interface UsageLimitGenqlSelection {
4510
4622
  id?: boolean | number;
4511
4623
  resourceType?: boolean | number;
@@ -4623,6 +4735,7 @@ export interface ApplicationConnectedAccountDTOGenqlSelection {
4623
4735
  createdAt?: boolean | number;
4624
4736
  updatedAt?: boolean | number;
4625
4737
  connectionParameters?: PublicImapSmtpCaldavConnectionParametersGenqlSelection;
4738
+ /** @deprecated Ownership no longer gates connection actions, every application admin manages a workspace-shared connection */
4626
4739
  isOwnedByCurrentUser?: boolean | number;
4627
4740
  __typename?: boolean | number;
4628
4741
  __scalar?: boolean | number;
@@ -5045,6 +5158,7 @@ export interface MarketplaceAppDetailGenqlSelection {
5045
5158
  /** @deprecated Use galleryImages instead */
5046
5159
  screenshots?: boolean | number;
5047
5160
  galleryImages?: boolean | number;
5161
+ installCount?: boolean | number;
5048
5162
  defaultRoleUniversalIdentifier?: boolean | number;
5049
5163
  roles?: MarketplaceAppRoleGenqlSelection;
5050
5164
  /** @deprecated Use the explicit MarketplaceAppDetail fields (description, author, roles, ...) instead */
@@ -5544,6 +5658,18 @@ export interface MessageChannelGenqlSelection {
5544
5658
  __typename?: boolean | number;
5545
5659
  __scalar?: boolean | number;
5546
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
+ }
5547
5673
  export interface CreateEmailGroupChannelOutputGenqlSelection {
5548
5674
  messageChannel?: MessageChannelGenqlSelection;
5549
5675
  forwardingAddress?: boolean | number;
@@ -5855,6 +5981,13 @@ export interface EventLogQueryResultGenqlSelection {
5855
5981
  __typename?: boolean | number;
5856
5982
  __scalar?: boolean | number;
5857
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
+ }
5858
5991
  export interface SkillGenqlSelection {
5859
5992
  id?: boolean | number;
5860
5993
  name?: boolean | number;
@@ -5863,6 +5996,7 @@ export interface SkillGenqlSelection {
5863
5996
  description?: boolean | number;
5864
5997
  content?: boolean | number;
5865
5998
  isCustom?: boolean | number;
5999
+ isSystem?: boolean | number;
5866
6000
  isActive?: boolean | number;
5867
6001
  applicationId?: boolean | number;
5868
6002
  createdAt?: boolean | number;
@@ -5886,6 +6020,7 @@ export interface AgentMessageGenqlSelection {
5886
6020
  export interface AgentChatThreadGenqlSelection {
5887
6021
  id?: boolean | number;
5888
6022
  title?: boolean | number;
6023
+ totalCacheReadTokens?: boolean | number;
5889
6024
  totalInputTokens?: boolean | number;
5890
6025
  totalOutputTokens?: boolean | number;
5891
6026
  contextWindowTokens?: boolean | number;
@@ -6140,6 +6275,13 @@ export interface QueryGenqlSelection {
6140
6275
  };
6141
6276
  });
6142
6277
  usageLimits?: UsageLimitGenqlSelection;
6278
+ usageQuotasWithConsumption?: UsageQuotaWithConsumptionGenqlSelection;
6279
+ usageQuotaDefinitions?: UsageQuotaDefinitionsGenqlSelection;
6280
+ usageQuotaScopeConsumption?: (UsageQuotaScopeConsumptionGenqlSelection & {
6281
+ __args: {
6282
+ input: UsageQuotaScopeInput;
6283
+ };
6284
+ });
6143
6285
  getViewFilterGroups?: (ViewFilterGroupGenqlSelection & {
6144
6286
  __args?: {
6145
6287
  viewId?: (Scalars['String'] | null);
@@ -6447,6 +6589,11 @@ export interface QueryGenqlSelection {
6447
6589
  connectedAccountId?: (Scalars['UUID'] | null);
6448
6590
  };
6449
6591
  });
6592
+ appMessageChannels?: (MessageChannelGenqlSelection & {
6593
+ __args?: {
6594
+ filter?: (ListAppMessageChannelsInput | null);
6595
+ };
6596
+ });
6450
6597
  getEmailingDomains?: EmailingDomainGenqlSelection;
6451
6598
  getToolIndex?: ToolIndexEntryGenqlSelection;
6452
6599
  getToolInputSchema?: {
@@ -6493,6 +6640,7 @@ export interface QueryGenqlSelection {
6493
6640
  };
6494
6641
  });
6495
6642
  findWorkspaceAiStats?: WorkspaceAiStatsGenqlSelection;
6643
+ aiChatUsage?: AiChatUsageGenqlSelection;
6496
6644
  chatThreads?: AgentChatThreadGenqlSelection;
6497
6645
  chatThread?: (AgentChatThreadGenqlSelection & {
6498
6646
  __args: {
@@ -6616,6 +6764,14 @@ export interface UsageAnalyticsInput {
6616
6764
  userWorkspaceId?: (Scalars['String'] | null);
6617
6765
  operationTypes?: (UsageOperationType[] | null);
6618
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
+ }
6619
6775
  export interface GetApiKeyInput {
6620
6776
  id: Scalars['UUID'];
6621
6777
  }
@@ -6651,6 +6807,9 @@ export interface FindMessageSuppressionsInput {
6651
6807
  limit: Scalars['Int'];
6652
6808
  offset: Scalars['Int'];
6653
6809
  }
6810
+ export interface ListAppMessageChannelsInput {
6811
+ connectedAccountId?: (Scalars['UUID'] | null);
6812
+ }
6654
6813
  export interface ListAppConnectionsInput {
6655
6814
  providerName?: (Scalars['String'] | null);
6656
6815
  userWorkspaceId?: (Scalars['String'] | null);
@@ -6768,9 +6927,14 @@ export interface MutationGenqlSelection {
6768
6927
  fieldMetadataUniversalIdentifier: Scalars['String'];
6769
6928
  };
6770
6929
  });
6771
- upsertUsageLimit?: (UsageLimitGenqlSelection & {
6930
+ createUsageLimit?: (UsageLimitGenqlSelection & {
6931
+ __args: {
6932
+ input: CreateUsageLimitInput;
6933
+ };
6934
+ });
6935
+ updateUsageLimit?: (UsageLimitGenqlSelection & {
6772
6936
  __args: {
6773
- input: UpsertUsageLimitInput;
6937
+ input: UpdateUsageLimitInput;
6774
6938
  };
6775
6939
  });
6776
6940
  deleteUsageLimit?: {
@@ -7474,6 +7638,26 @@ export interface MutationGenqlSelection {
7474
7638
  id: Scalars['UUID'];
7475
7639
  };
7476
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
+ });
7477
7661
  createEmailingDomain?: (EmailingDomainGenqlSelection & {
7478
7662
  __args: {
7479
7663
  input: CreateEmailingDomainInput;
@@ -8012,7 +8196,7 @@ export interface UpdateNavigationMenuItemInput {
8012
8196
  color?: (Scalars['String'] | null);
8013
8197
  pageLayoutId?: (Scalars['UUID'] | null);
8014
8198
  }
8015
- export interface UpsertUsageLimitInput {
8199
+ export interface CreateUsageLimitInput {
8016
8200
  resourceType: UsageResourceType;
8017
8201
  operationType: UsageOperationType;
8018
8202
  spenderType: Scalars['String'];
@@ -8024,6 +8208,10 @@ export interface UpsertUsageLimitInput {
8024
8208
  limitValue: Scalars['BigInt'];
8025
8209
  burstValue?: (Scalars['BigInt'] | null);
8026
8210
  }
8211
+ export interface UpdateUsageLimitInput {
8212
+ id: Scalars['UUID'];
8213
+ payload: CreateUsageLimitInput;
8214
+ }
8027
8215
  export interface CreateViewFilterGroupInput {
8028
8216
  id?: (Scalars['UUID'] | null);
8029
8217
  parentViewFilterGroupId?: (Scalars['UUID'] | null);
@@ -8504,6 +8692,7 @@ export interface UpdateLogicFunctionFromSourceInputUpdates {
8504
8692
  }
8505
8693
  export interface CreateCommandMenuItemInput {
8506
8694
  workflowVersionId?: (Scalars['UUID'] | null);
8695
+ coreWorkflowVersionId?: (Scalars['UUID'] | null);
8507
8696
  frontComponentId?: (Scalars['UUID'] | null);
8508
8697
  engineComponentKey: EngineComponentKey;
8509
8698
  label: Scalars['String'];
@@ -8597,9 +8786,6 @@ export interface UpdateApplicationRegistrationPayload {
8597
8786
  name?: (Scalars['String'] | null);
8598
8787
  oAuthRedirectUris?: (Scalars['String'][] | null);
8599
8788
  oAuthScopes?: (Scalars['String'][] | null);
8600
- isListed?: (Scalars['Boolean'] | null);
8601
- isPreInstalled?: (Scalars['Boolean'] | null);
8602
- isVetted?: (Scalars['Boolean'] | null);
8603
8789
  }
8604
8790
  export interface CreateApplicationRegistrationVariableInput {
8605
8791
  applicationRegistrationId: Scalars['String'];
@@ -8856,6 +9042,37 @@ export interface UpdateEmailGroupChannelInput {
8856
9042
  id: Scalars['UUID'];
8857
9043
  displayName?: (Scalars['String'] | null);
8858
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
+ }
8859
9076
  export interface CreateEmailingDomainInput {
8860
9077
  domain: Scalars['String'];
8861
9078
  }
@@ -8868,6 +9085,11 @@ export interface RunAgentInput {
8868
9085
  export interface RunAgentMessageInput {
8869
9086
  role: RunAgentMessageRole;
8870
9087
  content: Scalars['String'];
9088
+ attachments?: (RunAgentMessageAttachmentInput[] | null);
9089
+ }
9090
+ export interface RunAgentMessageAttachmentInput {
9091
+ fileId: Scalars['UUID'];
9092
+ filename?: (Scalars['String'] | null);
8871
9093
  }
8872
9094
  export interface CreateWebhookInput {
8873
9095
  id?: (Scalars['UUID'] | null);
@@ -9192,6 +9414,42 @@ export declare const isUser: (obj?: {
9192
9414
  export declare const isApplicationRegistration: (obj?: {
9193
9415
  __typename?: any;
9194
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;
9195
9453
  export declare const isSdkClientChecksums: (obj?: {
9196
9454
  __typename?: any;
9197
9455
  } | null | undefined) => obj is SdkClientChecksums;
@@ -9315,42 +9573,6 @@ export declare const isApplicationConnectionProviderOAuthConfig: (obj?: {
9315
9573
  export declare const isApplicationConnectionProvider: (obj?: {
9316
9574
  __typename?: any;
9317
9575
  } | null | undefined) => obj is ApplicationConnectionProvider;
9318
- export declare const isBillingSubscriptionSchedulePhaseItem: (obj?: {
9319
- __typename?: any;
9320
- } | null | undefined) => obj is BillingSubscriptionSchedulePhaseItem;
9321
- export declare const isBillingSubscriptionSchedulePhase: (obj?: {
9322
- __typename?: any;
9323
- } | null | undefined) => obj is BillingSubscriptionSchedulePhase;
9324
- export declare const isBillingProductMetadata: (obj?: {
9325
- __typename?: any;
9326
- } | null | undefined) => obj is BillingProductMetadata;
9327
- export declare const isBillingPriceLicensed: (obj?: {
9328
- __typename?: any;
9329
- } | null | undefined) => obj is BillingPriceLicensed;
9330
- export declare const isBillingPriceTier: (obj?: {
9331
- __typename?: any;
9332
- } | null | undefined) => obj is BillingPriceTier;
9333
- export declare const isBillingPriceMetered: (obj?: {
9334
- __typename?: any;
9335
- } | null | undefined) => obj is BillingPriceMetered;
9336
- export declare const isBillingProduct: (obj?: {
9337
- __typename?: any;
9338
- } | null | undefined) => obj is BillingProduct;
9339
- export declare const isBillingLicensedProduct: (obj?: {
9340
- __typename?: any;
9341
- } | null | undefined) => obj is BillingLicensedProduct;
9342
- export declare const isBillingMeteredProduct: (obj?: {
9343
- __typename?: any;
9344
- } | null | undefined) => obj is BillingMeteredProduct;
9345
- export declare const isBillingSubscriptionItem: (obj?: {
9346
- __typename?: any;
9347
- } | null | undefined) => obj is BillingSubscriptionItem;
9348
- export declare const isBillingCustomer: (obj?: {
9349
- __typename?: any;
9350
- } | null | undefined) => obj is BillingCustomer;
9351
- export declare const isBillingSubscription: (obj?: {
9352
- __typename?: any;
9353
- } | null | undefined) => obj is BillingSubscription;
9354
9576
  export declare const isLogicFunctionExecutionResult: (obj?: {
9355
9577
  __typename?: any;
9356
9578
  } | null | undefined) => obj is LogicFunctionExecutionResult;
@@ -9423,6 +9645,18 @@ export declare const isUsageUserDaily: (obj?: {
9423
9645
  export declare const isUsageAnalytics: (obj?: {
9424
9646
  __typename?: any;
9425
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;
9426
9660
  export declare const isUsageLimit: (obj?: {
9427
9661
  __typename?: any;
9428
9662
  } | null | undefined) => obj is UsageLimit;
@@ -9771,6 +10005,12 @@ export declare const isEmailingDomain: (obj?: {
9771
10005
  export declare const isMessageChannel: (obj?: {
9772
10006
  __typename?: any;
9773
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;
9774
10014
  export declare const isCreateEmailGroupChannelOutput: (obj?: {
9775
10015
  __typename?: any;
9776
10016
  } | null | undefined) => obj is CreateEmailGroupChannelOutput;
@@ -9876,6 +10116,9 @@ export declare const isEventLogPageInfo: (obj?: {
9876
10116
  export declare const isEventLogQueryResult: (obj?: {
9877
10117
  __typename?: any;
9878
10118
  } | null | undefined) => obj is EventLogQueryResult;
10119
+ export declare const isAiChatUsage: (obj?: {
10120
+ __typename?: any;
10121
+ } | null | undefined) => obj is AiChatUsage;
9879
10122
  export declare const isSkill: (obj?: {
9880
10123
  __typename?: any;
9881
10124
  } | null | undefined) => obj is Skill;
@@ -10242,6 +10485,32 @@ export declare const enumOnboardingStatus: {
10242
10485
  BOOK_CALL: "BOOK_CALL";
10243
10486
  COMPLETED: "COMPLETED";
10244
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
+ };
10245
10514
  export declare const enumWidgetType: {
10246
10515
  VIEW: "VIEW";
10247
10516
  IFRAME: "IFRAME";
@@ -10273,6 +10542,10 @@ export declare const enumPageLayoutTabLayoutMode: {
10273
10542
  VERTICAL_LIST: "VERTICAL_LIST";
10274
10543
  CANVAS: "CANVAS";
10275
10544
  };
10545
+ export declare const enumPageLayoutWidgetVerticalListHeightBehavior: {
10546
+ FIT_CONTENT: "FIT_CONTENT";
10547
+ TAB_VIEWPORT: "TAB_VIEWPORT";
10548
+ };
10276
10549
  export declare const enumWidgetConfigurationType: {
10277
10550
  AGGREGATE_CHART: "AGGREGATE_CHART";
10278
10551
  PIE_CHART: "PIE_CHART";
@@ -10354,32 +10627,6 @@ export declare const enumPageLayoutType: {
10354
10627
  STANDALONE_PAGE: "STANDALONE_PAGE";
10355
10628
  RECORD_FORM: "RECORD_FORM";
10356
10629
  };
10357
- export declare const enumBillingPlanKey: {
10358
- PRO: "PRO";
10359
- ENTERPRISE: "ENTERPRISE";
10360
- };
10361
- export declare const enumBillingUsageType: {
10362
- METERED: "METERED";
10363
- LICENSED: "LICENSED";
10364
- };
10365
- export declare const enumBillingProductKey: {
10366
- BASE_PRODUCT: "BASE_PRODUCT";
10367
- RESOURCE_CREDIT: "RESOURCE_CREDIT";
10368
- };
10369
- export declare const enumSubscriptionInterval: {
10370
- Month: "Month";
10371
- Year: "Year";
10372
- };
10373
- export declare const enumSubscriptionStatus: {
10374
- Active: "Active";
10375
- Canceled: "Canceled";
10376
- Incomplete: "Incomplete";
10377
- IncompleteExpired: "IncompleteExpired";
10378
- PastDue: "PastDue";
10379
- Paused: "Paused";
10380
- Trialing: "Trialing";
10381
- Unpaid: "Unpaid";
10382
- };
10383
10630
  export declare const enumLogicFunctionExecutionStatus: {
10384
10631
  IDLE: "IDLE";
10385
10632
  SUCCESS: "SUCCESS";
@@ -10448,7 +10695,7 @@ export declare const enumFeatureFlagKey: {
10448
10695
  IS_UNIQUE_INDEXES_ENABLED: "IS_UNIQUE_INDEXES_ENABLED";
10449
10696
  IS_CONFIGURABLE_SEARCH_FIELDS_ENABLED: "IS_CONFIGURABLE_SEARCH_FIELDS_ENABLED";
10450
10697
  IS_JSON_FILTER_ENABLED: "IS_JSON_FILTER_ENABLED";
10451
- IS_EMAIL_GROUP_ENABLED: "IS_EMAIL_GROUP_ENABLED";
10698
+ IS_MESSAGE_CAMPAIGN_ENABLED: "IS_MESSAGE_CAMPAIGN_ENABLED";
10452
10699
  IS_JUNCTION_RELATIONS_ENABLED: "IS_JUNCTION_RELATIONS_ENABLED";
10453
10700
  IS_REST_METADATA_API_NEW_FORMAT_DIRECT: "IS_REST_METADATA_API_NEW_FORMAT_DIRECT";
10454
10701
  IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED: "IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED";
@@ -10458,6 +10705,7 @@ export declare const enumFeatureFlagKey: {
10458
10705
  IS_QUOTA_ENGINE_CREDIT_BOUND_ENABLED: "IS_QUOTA_ENGINE_CREDIT_BOUND_ENABLED";
10459
10706
  IS_RECORD_CREATION_FORM_ENABLED: "IS_RECORD_CREATION_FORM_ENABLED";
10460
10707
  IS_RECORD_SHARING_ENABLED: "IS_RECORD_SHARING_ENABLED";
10708
+ IS_INITIAL_OBJECT_VIEW_ENABLED: "IS_INITIAL_OBJECT_VIEW_ENABLED";
10461
10709
  IS_WEBHOOK_RATE_LIMIT_ENABLED: "IS_WEBHOOK_RATE_LIMIT_ENABLED";
10462
10710
  };
10463
10711
  export declare const enumIdentityProviderType: {
@@ -10533,6 +10781,7 @@ export declare const enumBillingEntitlementKey: {
10533
10781
  SSO: "SSO";
10534
10782
  CUSTOM_DOMAIN: "CUSTOM_DOMAIN";
10535
10783
  RLS: "RLS";
10784
+ RECORD_SHARING: "RECORD_SHARING";
10536
10785
  AUDIT_LOGS: "AUDIT_LOGS";
10537
10786
  USAGE_LIMIT: "USAGE_LIMIT";
10538
10787
  };
@@ -10584,6 +10833,7 @@ export declare const enumMessageChannelType: {
10584
10833
  EMAIL: "EMAIL";
10585
10834
  SMS: "SMS";
10586
10835
  EMAIL_GROUP: "EMAIL_GROUP";
10836
+ APP: "APP";
10587
10837
  };
10588
10838
  export declare const enumMessageChannelContactAutoCreationPolicy: {
10589
10839
  SENT_AND_RECEIVED: "SENT_AND_RECEIVED";
@@ -10716,6 +10966,13 @@ export declare const enumEventLogTable: {
10716
10966
  USAGE_EVENT: "USAGE_EVENT";
10717
10967
  APPLICATION_LOG: "APPLICATION_LOG";
10718
10968
  };
10969
+ export declare const enumMessageParticipantRole: {
10970
+ FROM: "FROM";
10971
+ TO: "TO";
10972
+ CC: "CC";
10973
+ BCC: "BCC";
10974
+ REPLY_TO: "REPLY_TO";
10975
+ };
10719
10976
  export declare const enumRunAgentMessageRole: {
10720
10977
  user: "user";
10721
10978
  assistant: "assistant";