twenty-client-sdk 2.26.0 → 2.29.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.
@@ -125,7 +125,7 @@ export interface CommandMenuItem {
125
125
  updatedAt: Scalars['DateTime'];
126
126
  __typename: 'CommandMenuItem';
127
127
  }
128
- export type EngineComponentKey = 'NAVIGATE_TO_NEXT_RECORD' | 'NAVIGATE_TO_PREVIOUS_RECORD' | 'CREATE_NEW_RECORD' | 'DELETE_RECORDS' | 'RESTORE_RECORDS' | 'DESTROY_RECORDS' | 'ADD_TO_FAVORITES' | 'REMOVE_FROM_FAVORITES' | 'EXPORT_NOTE_TO_PDF' | 'EXPORT_RECORDS' | 'UPDATE_MULTIPLE_RECORDS' | 'MERGE_MULTIPLE_RECORDS' | 'IMPORT_RECORDS' | 'EXPORT_VIEW' | 'SEE_DELETED_RECORDS' | 'CREATE_NEW_VIEW' | 'HIDE_DELETED_RECORDS' | 'EDIT_RECORD_PAGE_LAYOUT' | 'EDIT_DASHBOARD_LAYOUT' | 'SAVE_DASHBOARD_LAYOUT' | 'CANCEL_DASHBOARD_LAYOUT' | 'DUPLICATE_DASHBOARD' | 'ACTIVATE_WORKFLOW' | 'DEACTIVATE_WORKFLOW' | 'DISCARD_DRAFT_WORKFLOW' | 'TEST_WORKFLOW' | 'SEE_ACTIVE_VERSION_WORKFLOW' | 'SEE_RUNS_WORKFLOW' | 'SEE_VERSIONS_WORKFLOW' | 'ADD_NODE_WORKFLOW' | 'TIDY_UP_WORKFLOW' | 'DUPLICATE_WORKFLOW' | 'SEE_VERSION_WORKFLOW_RUN' | 'SEE_WORKFLOW_WORKFLOW_RUN' | 'STOP_WORKFLOW_RUN' | 'RETRY_WORKFLOW_RUN' | 'SEE_RUNS_WORKFLOW_VERSION' | 'SEE_WORKFLOW_WORKFLOW_VERSION' | 'USE_AS_DRAFT_WORKFLOW_VERSION' | 'SEE_VERSIONS_WORKFLOW_VERSION' | 'SEARCH_RECORDS' | 'SEARCH_RECORDS_FALLBACK' | 'ASK_AI' | 'VIEW_PREVIOUS_AI_CHATS' | 'NAVIGATION' | 'TRIGGER_WORKFLOW_VERSION' | 'FRONT_COMPONENT_RENDERER' | 'REPLY_TO_EMAIL_THREAD' | 'COMPOSE_EMAIL' | 'COMPOSE_CAMPAIGN' | 'SEND_MESSAGE_CAMPAIGN' | 'SEND_MESSAGE_CAMPAIGN_TEST' | 'GO_TO_PEOPLE' | 'GO_TO_COMPANIES' | 'GO_TO_DASHBOARDS' | 'GO_TO_OPPORTUNITIES' | 'GO_TO_SETTINGS' | 'GO_TO_TASKS' | 'GO_TO_NOTES' | 'GO_TO_WORKFLOWS' | 'GO_TO_RUNS' | 'DELETE_SINGLE_RECORD' | 'DELETE_MULTIPLE_RECORDS' | 'RESTORE_SINGLE_RECORD' | 'RESTORE_MULTIPLE_RECORDS' | 'DESTROY_SINGLE_RECORD' | 'DESTROY_MULTIPLE_RECORDS' | 'EXPORT_FROM_RECORD_INDEX' | 'EXPORT_FROM_RECORD_SHOW' | 'EXPORT_MULTIPLE_RECORDS';
128
+ export type EngineComponentKey = 'NAVIGATE_TO_NEXT_RECORD' | 'NAVIGATE_TO_PREVIOUS_RECORD' | 'CREATE_NEW_RECORD' | 'DELETE_RECORDS' | 'RESTORE_RECORDS' | 'DESTROY_RECORDS' | 'ADD_TO_FAVORITES' | 'REMOVE_FROM_FAVORITES' | 'EXPORT_NOTE_TO_PDF' | 'EXPORT_RECORDS' | 'UPDATE_MULTIPLE_RECORDS' | 'MERGE_MULTIPLE_RECORDS' | 'IMPORT_RECORDS' | 'EXPORT_VIEW' | 'SEE_DELETED_RECORDS' | 'CREATE_NEW_VIEW' | 'HIDE_DELETED_RECORDS' | 'EDIT_RECORD_PAGE_LAYOUT' | 'EDIT_DASHBOARD_LAYOUT' | 'SAVE_DASHBOARD_LAYOUT' | 'CANCEL_DASHBOARD_LAYOUT' | 'DUPLICATE_DASHBOARD' | 'ACTIVATE_WORKFLOW' | 'DEACTIVATE_WORKFLOW' | 'DISCARD_DRAFT_WORKFLOW' | 'TEST_WORKFLOW' | 'SEE_ACTIVE_VERSION_WORKFLOW' | 'SEE_RUNS_WORKFLOW' | 'SEE_VERSIONS_WORKFLOW' | 'ADD_NODE_WORKFLOW' | 'TIDY_UP_WORKFLOW' | 'DUPLICATE_WORKFLOW' | 'SEE_VERSION_WORKFLOW_RUN' | 'SEE_WORKFLOW_WORKFLOW_RUN' | 'STOP_WORKFLOW_RUN' | 'RETRY_WORKFLOW_RUN' | 'SEE_RUNS_WORKFLOW_VERSION' | 'SEE_WORKFLOW_WORKFLOW_VERSION' | 'USE_AS_DRAFT_WORKFLOW_VERSION' | 'SEE_VERSIONS_WORKFLOW_VERSION' | 'SEARCH_RECORDS' | 'SEARCH_RECORDS_FALLBACK' | 'ASK_AI' | 'VIEW_PREVIOUS_AI_CHATS' | 'NAVIGATION' | 'TRIGGER_WORKFLOW_VERSION' | 'FRONT_COMPONENT_RENDERER' | 'REPLY_TO_EMAIL_THREAD' | 'COMPOSE_EMAIL' | 'COMPOSE_CAMPAIGN' | 'SEND_MESSAGE_CAMPAIGN' | 'SEND_MESSAGE_CAMPAIGN_TEST' | 'EMAIL_BLOCK_SETTINGS' | 'GO_TO_PEOPLE' | 'GO_TO_COMPANIES' | 'GO_TO_DASHBOARDS' | 'GO_TO_OPPORTUNITIES' | 'GO_TO_SETTINGS' | 'GO_TO_TASKS' | 'GO_TO_NOTES' | 'GO_TO_WORKFLOWS' | 'GO_TO_RUNS' | 'DELETE_SINGLE_RECORD' | 'DELETE_MULTIPLE_RECORDS' | 'RESTORE_SINGLE_RECORD' | 'RESTORE_MULTIPLE_RECORDS' | 'DESTROY_SINGLE_RECORD' | 'DESTROY_MULTIPLE_RECORDS' | 'EXPORT_FROM_RECORD_INDEX' | 'EXPORT_FROM_RECORD_SHOW' | 'EXPORT_MULTIPLE_RECORDS';
129
129
  export type CommandMenuItemAvailabilityType = 'GLOBAL' | 'GLOBAL_OBJECT_CONTEXT' | 'RECORD_SELECTION' | 'FALLBACK';
130
130
  export type CommandMenuItemPayload = (PathCommandMenuItemPayload | ObjectMetadataCommandMenuItemPayload) & {
131
131
  __isUnion?: true;
@@ -223,6 +223,7 @@ export interface Object {
223
223
  /** @deprecated Use isUIEditable */
224
224
  isUIReadOnly: Scalars['Boolean'];
225
225
  isSearchable: Scalars['Boolean'];
226
+ openRecordIn: ObjectOpenRecordIn;
226
227
  applicationId: Scalars['UUID'];
227
228
  createdAt: Scalars['DateTime'];
228
229
  updatedAt: Scalars['DateTime'];
@@ -237,6 +238,7 @@ export interface Object {
237
238
  indexMetadatas: ObjectIndexMetadatasConnection;
238
239
  __typename: 'Object';
239
240
  }
241
+ export type ObjectOpenRecordIn = 'SIDE_PANEL' | 'RECORD_PAGE' | 'USER_CHOICE';
240
242
  export interface FullName {
241
243
  firstName: Scalars['String'];
242
244
  lastName: Scalars['String'];
@@ -247,6 +249,7 @@ export interface WorkspaceMember {
247
249
  name: FullName;
248
250
  userEmail: Scalars['String'];
249
251
  colorScheme: Scalars['String'];
252
+ openRecordIn: OpenRecordIn;
250
253
  avatarUrl?: Scalars['String'];
251
254
  locale?: Scalars['String'];
252
255
  calendarStartDay?: Scalars['Int'];
@@ -258,6 +261,7 @@ export interface WorkspaceMember {
258
261
  numberFormat?: WorkspaceMemberNumberFormatEnum;
259
262
  __typename: 'WorkspaceMember';
260
263
  }
264
+ export type OpenRecordIn = 'SIDE_PANEL' | 'RECORD_PAGE';
261
265
  /** Date format as Month first, Day first, Year first or system as default */
262
266
  export type WorkspaceMemberDateFormatEnum = 'SYSTEM' | 'MONTH_FIRST' | 'DAY_FIRST' | 'YEAR_FIRST';
263
267
  /** Time time as Military, Standard or system as default */
@@ -394,6 +398,7 @@ export interface UserWorkspace {
394
398
  objectPermissions?: ObjectPermission[];
395
399
  objectsPermissions?: ObjectPermission[];
396
400
  twoFactorAuthenticationMethodSummary?: TwoFactorAuthenticationMethodSummary[];
401
+ isImpersonating?: Scalars['Boolean'];
397
402
  __typename: 'UserWorkspace';
398
403
  }
399
404
  export type PermissionFlagType = 'API_KEYS_AND_WEBHOOKS' | 'WORKSPACE' | 'WORKSPACE_MEMBERS' | 'ROLES' | 'DATA_MODEL' | 'SECURITY' | 'WORKFLOWS' | 'IMPERSONATE' | 'SSO_BYPASS' | 'APPLICATIONS' | 'MARKETPLACE_APPS' | 'LAYOUTS' | 'BILLING' | 'AI_SETTINGS' | 'AI' | 'VIEWS' | 'UPLOAD_FILE' | 'DOWNLOAD_FILE' | 'SEND_EMAIL_TOOL' | 'CREATE_CALENDAR_EVENT_TOOL' | 'HTTP_REQUEST_TOOL' | 'CODE_INTERPRETER_TOOL' | 'IMPORT_CSV' | 'EXPORT_CSV' | 'CONNECTED_ACCOUNTS' | 'PROFILE_INFORMATION';
@@ -497,6 +502,7 @@ export interface View {
497
502
  position: Scalars['Float'];
498
503
  isCompact: Scalars['Boolean'];
499
504
  isCustom: Scalars['Boolean'];
505
+ /** @deprecated Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend. */
500
506
  openRecordIn: ViewOpenRecordIn;
501
507
  kanbanAggregateOperation?: AggregateOperations;
502
508
  kanbanAggregateOperationFieldMetadataId?: Scalars['UUID'];
@@ -609,12 +615,13 @@ export interface User {
609
615
  deletedWorkspaceMembers?: DeletedWorkspaceMember[];
610
616
  hasPassword: Scalars['Boolean'];
611
617
  supportUserHash?: Scalars['String'];
618
+ isWorkspaceCreator?: Scalars['Boolean'];
612
619
  workspaces: UserWorkspace[];
613
620
  availableWorkspaces: AvailableWorkspaces;
614
621
  __typename: 'User';
615
622
  }
616
623
  /** Onboarding status */
617
- export type OnboardingStatus = 'PLAN_REQUIRED' | 'WORKSPACE_ACTIVATION' | 'PROFILE_CREATION' | 'SYNC_EMAIL' | 'APPS_INSTALLATION' | 'INVITE_TEAM' | 'COMPLETED';
624
+ export type OnboardingStatus = 'PLAN_REQUIRED' | 'WORKSPACE_ACTIVATION' | 'PROFILE_CREATION' | 'SYNC_EMAIL' | 'APPS_INSTALLATION' | 'INVITE_TEAM' | 'BOOK_CALL' | 'COMPLETED';
618
625
  export interface ApplicationRegistration {
619
626
  id: Scalars['UUID'];
620
627
  universalIdentifier: Scalars['String'];
@@ -679,7 +686,7 @@ export interface PageLayoutWidget {
679
686
  isOverridden?: Scalars['Boolean'];
680
687
  __typename: 'PageLayoutWidget';
681
688
  }
682
- export type WidgetType = 'VIEW' | 'IFRAME' | 'FIELD' | 'FIELDS' | 'GRAPH' | 'STANDALONE_RICH_TEXT' | 'TIMELINE' | 'TASKS' | 'NOTES' | 'FILES' | 'EMAILS' | 'CALENDAR' | 'FIELD_RICH_TEXT' | 'WORKFLOW' | 'WORKFLOW_VERSION' | 'WORKFLOW_RUN' | 'FRONT_COMPONENT' | 'RECORD_TABLE' | 'EMAIL_THREAD' | 'MESSAGE_CAMPAIGN_BODY' | 'MESSAGE_CAMPAIGN_DETAILS';
689
+ export type WidgetType = 'VIEW' | 'IFRAME' | 'FIELD' | 'FIELDS' | 'GRAPH' | 'STANDALONE_RICH_TEXT' | 'TIMELINE' | 'TASKS' | 'NOTES' | 'FILES' | 'EMAILS' | 'CALENDAR' | 'FIELD_RICH_TEXT' | 'WORKFLOW' | 'WORKFLOW_VERSION' | 'WORKFLOW_RUN' | 'FRONT_COMPONENT' | 'RECORD_TABLE' | 'EMAIL_THREAD' | 'CALL_RECORDING_SUMMARY' | 'CALL_RECORDING_TRANSCRIPT' | 'MESSAGE_CAMPAIGN_BODY' | 'MESSAGE_CAMPAIGN_DETAILS';
683
690
  export type PageLayoutWidgetPosition = (PageLayoutWidgetGridPosition | PageLayoutWidgetVerticalListPosition | PageLayoutWidgetCanvasPosition) & {
684
691
  __isUnion?: true;
685
692
  };
@@ -701,7 +708,7 @@ export interface PageLayoutWidgetCanvasPosition {
701
708
  layoutMode: PageLayoutTabLayoutMode;
702
709
  __typename: 'PageLayoutWidgetCanvasPosition';
703
710
  }
704
- export type WidgetConfiguration = (AggregateChartConfiguration | StandaloneRichTextConfiguration | PieChartConfiguration | LineChartConfiguration | IframeConfiguration | BarChartConfiguration | CalendarConfiguration | FrontComponentConfiguration | EmailsConfiguration | EmailThreadConfiguration | MessageCampaignBodyConfiguration | MessageCampaignDetailsConfiguration | FieldConfiguration | FieldRichTextConfiguration | FieldsConfiguration | FilesConfiguration | NotesConfiguration | TasksConfiguration | TimelineConfiguration | ViewConfiguration | RecordTableConfiguration | WorkflowConfiguration | WorkflowRunConfiguration | WorkflowVersionConfiguration) & {
711
+ export type WidgetConfiguration = (AggregateChartConfiguration | StandaloneRichTextConfiguration | PieChartConfiguration | LineChartConfiguration | IframeConfiguration | BarChartConfiguration | CalendarConfiguration | FrontComponentConfiguration | EmailsConfiguration | EmailThreadConfiguration | CallRecordingSummaryConfiguration | CallRecordingTranscriptConfiguration | MessageCampaignBodyConfiguration | MessageCampaignDetailsConfiguration | FieldConfiguration | FieldRichTextConfiguration | FieldsConfiguration | FilesConfiguration | NotesConfiguration | TasksConfiguration | TimelineConfiguration | ViewConfiguration | RecordTableConfiguration | WorkflowConfiguration | WorkflowRunConfiguration | WorkflowVersionConfiguration) & {
705
712
  __isUnion?: true;
706
713
  };
707
714
  export interface AggregateChartConfiguration {
@@ -720,7 +727,7 @@ export interface AggregateChartConfiguration {
720
727
  ratioAggregateConfig?: RatioAggregateConfig;
721
728
  __typename: 'AggregateChartConfiguration';
722
729
  }
723
- export type WidgetConfigurationType = 'AGGREGATE_CHART' | 'PIE_CHART' | 'BAR_CHART' | 'LINE_CHART' | 'IFRAME' | 'STANDALONE_RICH_TEXT' | 'VIEW' | 'FIELD' | 'FIELDS' | 'TIMELINE' | 'TASKS' | 'NOTES' | 'FILES' | 'EMAILS' | 'CALENDAR' | 'FIELD_RICH_TEXT' | 'WORKFLOW' | 'WORKFLOW_VERSION' | 'WORKFLOW_RUN' | 'FRONT_COMPONENT' | 'RECORD_TABLE' | 'EMAIL_THREAD' | 'MESSAGE_CAMPAIGN_BODY' | 'MESSAGE_CAMPAIGN_DETAILS';
730
+ export type WidgetConfigurationType = 'AGGREGATE_CHART' | 'PIE_CHART' | 'BAR_CHART' | 'LINE_CHART' | 'IFRAME' | 'STANDALONE_RICH_TEXT' | 'VIEW' | 'FIELD' | 'FIELDS' | 'TIMELINE' | 'TASKS' | 'NOTES' | 'FILES' | 'EMAILS' | 'CALENDAR' | 'FIELD_RICH_TEXT' | 'WORKFLOW' | 'WORKFLOW_VERSION' | 'WORKFLOW_RUN' | 'FRONT_COMPONENT' | 'RECORD_TABLE' | 'EMAIL_THREAD' | 'CALL_RECORDING_SUMMARY' | 'CALL_RECORDING_TRANSCRIPT' | 'MESSAGE_CAMPAIGN_BODY' | 'MESSAGE_CAMPAIGN_DETAILS';
724
731
  /** Format used to display the chart value */
725
732
  export type ChartNumberFormat = 'SHORT' | 'FULL';
726
733
  export interface StandaloneRichTextConfiguration {
@@ -845,6 +852,14 @@ export interface EmailThreadConfiguration {
845
852
  configurationType: WidgetConfigurationType;
846
853
  __typename: 'EmailThreadConfiguration';
847
854
  }
855
+ export interface CallRecordingSummaryConfiguration {
856
+ configurationType: WidgetConfigurationType;
857
+ __typename: 'CallRecordingSummaryConfiguration';
858
+ }
859
+ export interface CallRecordingTranscriptConfiguration {
860
+ configurationType: WidgetConfigurationType;
861
+ __typename: 'CallRecordingTranscriptConfiguration';
862
+ }
848
863
  export interface MessageCampaignBodyConfiguration {
849
864
  configurationType: WidgetConfigurationType;
850
865
  __typename: 'MessageCampaignBodyConfiguration';
@@ -858,6 +873,7 @@ export interface FieldConfiguration {
858
873
  fieldMetadataId: Scalars['String'];
859
874
  fieldDisplayMode: FieldDisplayMode;
860
875
  viewId?: Scalars['String'];
876
+ nestedRelationFieldMetadataId?: Scalars['String'];
861
877
  __typename: 'FieldConfiguration';
862
878
  }
863
879
  /** Display mode for field configuration widgets */
@@ -1101,6 +1117,85 @@ export interface FileUploadTarget {
1101
1117
  expiresAt: Scalars['DateTime'];
1102
1118
  __typename: 'FileUploadTarget';
1103
1119
  }
1120
+ export interface RecordIdentifier {
1121
+ id: Scalars['UUID'];
1122
+ labelIdentifier: Scalars['String'];
1123
+ imageIdentifier?: Scalars['String'];
1124
+ __typename: 'RecordIdentifier';
1125
+ }
1126
+ export interface NavigationMenuItem {
1127
+ id: Scalars['UUID'];
1128
+ userWorkspaceId?: Scalars['UUID'];
1129
+ targetRecordId?: Scalars['UUID'];
1130
+ targetObjectMetadataId?: Scalars['UUID'];
1131
+ viewId?: Scalars['UUID'];
1132
+ type: NavigationMenuItemType;
1133
+ name?: Scalars['String'];
1134
+ link?: Scalars['String'];
1135
+ icon?: Scalars['String'];
1136
+ color?: Scalars['String'];
1137
+ folderId?: Scalars['UUID'];
1138
+ pageLayoutId?: Scalars['UUID'];
1139
+ position: Scalars['Float'];
1140
+ applicationId?: Scalars['UUID'];
1141
+ createdAt: Scalars['DateTime'];
1142
+ updatedAt: Scalars['DateTime'];
1143
+ targetRecordIdentifier?: RecordIdentifier;
1144
+ __typename: 'NavigationMenuItem';
1145
+ }
1146
+ export type NavigationMenuItemType = 'VIEW' | 'FOLDER' | 'LINK' | 'OBJECT' | 'RECORD' | 'PAGE_LAYOUT';
1147
+ export interface ObjectRecordEventProperties {
1148
+ updatedFields?: Scalars['String'][];
1149
+ before?: Scalars['JSON'];
1150
+ after?: Scalars['JSON'];
1151
+ diff?: Scalars['JSON'];
1152
+ __typename: 'ObjectRecordEventProperties';
1153
+ }
1154
+ export interface MetadataEvent {
1155
+ type: MetadataEventAction;
1156
+ metadataName: Scalars['String'];
1157
+ recordId: Scalars['String'];
1158
+ properties: ObjectRecordEventProperties;
1159
+ updatedCollectionHash?: Scalars['String'];
1160
+ __typename: 'MetadataEvent';
1161
+ }
1162
+ /** Metadata Event Action */
1163
+ export type MetadataEventAction = 'CREATED' | 'UPDATED' | 'DELETED';
1164
+ export interface ObjectRecordEvent {
1165
+ action: DatabaseEventAction;
1166
+ objectNameSingular: Scalars['String'];
1167
+ recordId: Scalars['String'];
1168
+ userId?: Scalars['String'];
1169
+ workspaceMemberId?: Scalars['String'];
1170
+ properties: ObjectRecordEventProperties;
1171
+ __typename: 'ObjectRecordEvent';
1172
+ }
1173
+ /** Database Event Action */
1174
+ export type DatabaseEventAction = 'CREATED' | 'UPDATED' | 'DELETED' | 'DESTROYED' | 'RESTORED' | 'UPSERTED';
1175
+ export interface ObjectRecordEventWithQueryIds {
1176
+ queryIds: Scalars['String'][];
1177
+ objectRecordEvent: ObjectRecordEvent;
1178
+ __typename: 'ObjectRecordEventWithQueryIds';
1179
+ }
1180
+ export interface EventSubscription {
1181
+ eventStreamId: Scalars['String'];
1182
+ objectRecordEventsWithQueryIds: ObjectRecordEventWithQueryIds[];
1183
+ metadataEvents: MetadataEvent[];
1184
+ __typename: 'EventSubscription';
1185
+ }
1186
+ export interface UserSession {
1187
+ id: Scalars['UUID'];
1188
+ workspaceId?: Scalars['UUID'];
1189
+ authProvider: Scalars['String'];
1190
+ isImpersonating: Scalars['Boolean'];
1191
+ userAgent?: Scalars['String'];
1192
+ ipAddress?: Scalars['String'];
1193
+ createdAt: Scalars['DateTime'];
1194
+ lastActiveAt: Scalars['DateTime'];
1195
+ expiresAt: Scalars['DateTime'];
1196
+ isCurrent: Scalars['Boolean'];
1197
+ __typename: 'UserSession';
1198
+ }
1104
1199
  export interface BillingEndTrialPeriod {
1105
1200
  /** Updated subscription status */
1106
1201
  status?: SubscriptionStatus;
@@ -1172,78 +1267,12 @@ export interface SendInvitations {
1172
1267
  result: WorkspaceInvitation[];
1173
1268
  __typename: 'SendInvitations';
1174
1269
  }
1175
- export interface RecordIdentifier {
1176
- id: Scalars['UUID'];
1177
- labelIdentifier: Scalars['String'];
1178
- imageIdentifier?: Scalars['String'];
1179
- __typename: 'RecordIdentifier';
1180
- }
1181
- export interface NavigationMenuItem {
1182
- id: Scalars['UUID'];
1183
- userWorkspaceId?: Scalars['UUID'];
1184
- targetRecordId?: Scalars['UUID'];
1185
- targetObjectMetadataId?: Scalars['UUID'];
1186
- viewId?: Scalars['UUID'];
1187
- type: NavigationMenuItemType;
1188
- name?: Scalars['String'];
1189
- link?: Scalars['String'];
1190
- icon?: Scalars['String'];
1191
- color?: Scalars['String'];
1192
- folderId?: Scalars['UUID'];
1193
- pageLayoutId?: Scalars['UUID'];
1194
- position: Scalars['Float'];
1195
- applicationId?: Scalars['UUID'];
1196
- createdAt: Scalars['DateTime'];
1197
- updatedAt: Scalars['DateTime'];
1198
- targetRecordIdentifier?: RecordIdentifier;
1199
- __typename: 'NavigationMenuItem';
1200
- }
1201
- export type NavigationMenuItemType = 'VIEW' | 'FOLDER' | 'LINK' | 'OBJECT' | 'RECORD' | 'PAGE_LAYOUT';
1202
- export interface ObjectRecordEventProperties {
1203
- updatedFields?: Scalars['String'][];
1204
- before?: Scalars['JSON'];
1205
- after?: Scalars['JSON'];
1206
- diff?: Scalars['JSON'];
1207
- __typename: 'ObjectRecordEventProperties';
1208
- }
1209
- export interface MetadataEvent {
1210
- type: MetadataEventAction;
1211
- metadataName: Scalars['String'];
1212
- recordId: Scalars['String'];
1213
- properties: ObjectRecordEventProperties;
1214
- updatedCollectionHash?: Scalars['String'];
1215
- __typename: 'MetadataEvent';
1216
- }
1217
- /** Metadata Event Action */
1218
- export type MetadataEventAction = 'CREATED' | 'UPDATED' | 'DELETED';
1219
- export interface ObjectRecordEvent {
1220
- action: DatabaseEventAction;
1221
- objectNameSingular: Scalars['String'];
1222
- recordId: Scalars['String'];
1223
- userId?: Scalars['String'];
1224
- workspaceMemberId?: Scalars['String'];
1225
- properties: ObjectRecordEventProperties;
1226
- __typename: 'ObjectRecordEvent';
1227
- }
1228
- /** Database Event Action */
1229
- export type DatabaseEventAction = 'CREATED' | 'UPDATED' | 'DELETED' | 'DESTROYED' | 'RESTORED' | 'UPSERTED';
1230
- export interface ObjectRecordEventWithQueryIds {
1231
- queryIds: Scalars['String'][];
1232
- objectRecordEvent: ObjectRecordEvent;
1233
- __typename: 'ObjectRecordEventWithQueryIds';
1234
- }
1235
- export interface EventSubscription {
1236
- eventStreamId: Scalars['String'];
1237
- objectRecordEventsWithQueryIds: ObjectRecordEventWithQueryIds[];
1238
- metadataEvents: MetadataEvent[];
1239
- __typename: 'EventSubscription';
1240
- }
1241
1270
  export interface FeatureFlag {
1242
1271
  key: FeatureFlagKey;
1243
1272
  value: Scalars['Boolean'];
1244
1273
  __typename: 'FeatureFlag';
1245
1274
  }
1246
- export type FeatureFlagKey = 'IS_APP_CLAIMING_ENABLED' | 'IS_UNIQUE_INDEXES_ENABLED' | 'IS_JSON_FILTER_ENABLED' | 'IS_CALENDAR_WEEK_VIEW_ENABLED' | 'IS_EMAIL_GROUP_ENABLED' | 'IS_JUNCTION_RELATIONS_ENABLED' | 'IS_REST_METADATA_API_NEW_FORMAT_DIRECT' | 'IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED' | 'IS_SETTINGS_DISCOVERY_HERO_ENABLED' | 'IS_WORKFLOW_VERSION_IN_CORE_ENABLED';
1275
+ export type FeatureFlagKey = 'IS_APP_CLAIMING_ENABLED' | 'IS_UNIQUE_INDEXES_ENABLED' | 'IS_JSON_FILTER_ENABLED' | 'IS_CALENDAR_WEEK_VIEW_ENABLED' | 'IS_EMAIL_GROUP_ENABLED' | 'IS_JUNCTION_RELATIONS_ENABLED' | 'IS_REST_METADATA_API_NEW_FORMAT_DIRECT' | 'IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED' | 'IS_SETTINGS_DISCOVERY_HERO_ENABLED' | 'IS_WORKFLOW_VERSION_IN_CORE_ENABLED' | 'IS_WORKFLOW_DISPATCH_FROM_CORE_ENABLED';
1247
1276
  export interface WorkspaceUrls {
1248
1277
  customUrl?: Scalars['String'];
1249
1278
  subdomainUrl: Scalars['String'];
@@ -1397,6 +1426,8 @@ export interface ClientConfig {
1397
1426
  isMultiWorkspaceEnabled: Scalars['Boolean'];
1398
1427
  isEmailVerificationRequired: Scalars['Boolean'];
1399
1428
  defaultSubdomain?: Scalars['String'];
1429
+ /** @deprecated Subdomain minimum length is no longer configurable; kept one release for API compatibility, no longer read by the frontend. */
1430
+ subdomainMinLength: Scalars['Float'];
1400
1431
  frontDomain: Scalars['String'];
1401
1432
  publicFunctionDomain?: Scalars['String'];
1402
1433
  analyticsEnabled: Scalars['Boolean'];
@@ -1407,6 +1438,7 @@ export interface ClientConfig {
1407
1438
  api: ApiConfig;
1408
1439
  canManageFeatureFlags: Scalars['Boolean'];
1409
1440
  publicFeatureFlags: PublicFeatureFlag[];
1441
+ isCookieSessionEnabled: Scalars['Boolean'];
1410
1442
  isMicrosoftMessagingEnabled: Scalars['Boolean'];
1411
1443
  isMicrosoftCalendarEnabled: Scalars['Boolean'];
1412
1444
  isGoogleMessagingEnabled: Scalars['Boolean'];
@@ -1416,6 +1448,8 @@ export interface ClientConfig {
1416
1448
  isEmailingDomainInDemoMode: Scalars['Boolean'];
1417
1449
  allowRequestsToTwentyIcons: Scalars['Boolean'];
1418
1450
  calendarBookingPageId?: Scalars['String'];
1451
+ isBookCallOnboardingStepEnabled: Scalars['Boolean'];
1452
+ isCompanyEnrichmentEnabled: Scalars['Boolean'];
1419
1453
  isCloudflareIntegrationEnabled: Scalars['Boolean'];
1420
1454
  isClickHouseConfigured: Scalars['Boolean'];
1421
1455
  isWorkspaceSchemaDDLLocked: Scalars['Boolean'];
@@ -1614,6 +1648,7 @@ export interface MarketplaceAppDetail {
1614
1648
  export interface WorkspaceCompanyEnrichmentResult {
1615
1649
  outcome: WorkspaceCompanyEnrichmentOutcome;
1616
1650
  enrichment?: Scalars['JSON'];
1651
+ isBookCallOnboardingStepPending: Scalars['Boolean'];
1617
1652
  __typename: 'WorkspaceCompanyEnrichmentResult';
1618
1653
  }
1619
1654
  export type WorkspaceCompanyEnrichmentOutcome = 'matched' | 'unavailable' | 'transientError';
@@ -1882,6 +1917,10 @@ export interface Impersonate {
1882
1917
  workspace: WorkspaceUrlsAndId;
1883
1918
  __typename: 'Impersonate';
1884
1919
  }
1920
+ export interface StopImpersonation {
1921
+ canRestoreImpersonatorSession: Scalars['Boolean'];
1922
+ __typename: 'StopImpersonation';
1923
+ }
1885
1924
  export interface UsageTimeSeries {
1886
1925
  date: Scalars['String'];
1887
1926
  creditsUsed: Scalars['Float'];
@@ -1902,6 +1941,18 @@ export interface UsageAnalytics {
1902
1941
  userDailyUsage?: UsageUserDaily;
1903
1942
  __typename: 'UsageAnalytics';
1904
1943
  }
1944
+ export interface ApplicationAuthorization {
1945
+ id: Scalars['UUID'];
1946
+ applicationId: Scalars['UUID'];
1947
+ workspaceId: Scalars['UUID'];
1948
+ applicationName: Scalars['String'];
1949
+ applicationUniversalIdentifier?: Scalars['String'];
1950
+ scopes?: Scalars['String'][];
1951
+ lastAuthorizedAt?: Scalars['DateTime'];
1952
+ lastUsedAt: Scalars['DateTime'];
1953
+ createdAt: Scalars['DateTime'];
1954
+ __typename: 'ApplicationAuthorization';
1955
+ }
1905
1956
  export interface DevelopmentApplication {
1906
1957
  id: Scalars['String'];
1907
1958
  universalIdentifier: Scalars['String'];
@@ -2451,6 +2502,7 @@ export interface Query {
2451
2502
  apiKeys: ApiKey[];
2452
2503
  getApiKeyRoles: Role[];
2453
2504
  apiKey?: ApiKey;
2505
+ currentUserSessions: UserSession[];
2454
2506
  getInviteSuggestions: InviteSuggestion[];
2455
2507
  applicationConnectionProviders: ApplicationConnectionProvider[];
2456
2508
  billingPortalSession: BillingSession;
@@ -2543,6 +2595,7 @@ export interface Query {
2543
2595
  getAddressDetails: PlaceDetailsResult;
2544
2596
  getUsageAnalytics: UsageAnalytics;
2545
2597
  findManyPublicDomains: PublicDomain[];
2598
+ currentUserApplicationAuthorizations: ApplicationAuthorization[];
2546
2599
  __typename: 'Query';
2547
2600
  }
2548
2601
  export type EventLogTable = 'WORKSPACE_EVENT' | 'PAGEVIEW' | 'OBJECT_EVENT' | 'USAGE_EVENT' | 'APPLICATION_LOG';
@@ -2600,7 +2653,10 @@ export interface Mutation {
2600
2653
  updateApiKey?: ApiKey;
2601
2654
  revokeApiKey?: ApiKey;
2602
2655
  assignRoleToApiKey: Scalars['Boolean'];
2656
+ revokeUserSession: Scalars['Boolean'];
2657
+ revokeAllOtherUserSessions: Scalars['Int'];
2603
2658
  skipSyncEmailOnboardingStep: OnboardingStepSuccess;
2659
+ completeBookCallOnboardingStep: OnboardingStepSuccess;
2604
2660
  triggerInstallAppsOnboardingStep: OnboardingStepSuccess;
2605
2661
  updateOneApplicationVariable: Scalars['Boolean'];
2606
2662
  checkoutSession: BillingSession;
@@ -2749,6 +2805,7 @@ export interface Mutation {
2749
2805
  getAuthTokensFromSSOExchangeToken: AuthTokens;
2750
2806
  authorizeApp: AuthorizeApp;
2751
2807
  renewToken: AuthTokens;
2808
+ signOut: Scalars['Boolean'];
2752
2809
  generateApiKeyToken: ApiKeyToken;
2753
2810
  generatePlaygroundToken: AuthToken;
2754
2811
  emailPasswordResetLink: EmailPasswordResetLink;
@@ -2770,6 +2827,7 @@ export interface Mutation {
2770
2827
  trackAnalytics: Analytics;
2771
2828
  duplicateDashboard: DuplicatedDashboard;
2772
2829
  impersonate: Impersonate;
2830
+ stopImpersonation: StopImpersonation;
2773
2831
  createCalendarEvent: CreateCalendarEventOutput;
2774
2832
  sendEmail: SendEmailOutput;
2775
2833
  startChannelSync: ChannelSyncSuccess;
@@ -2781,11 +2839,13 @@ export interface Mutation {
2781
2839
  createDevelopmentApplication: DevelopmentApplication;
2782
2840
  syncApplication: WorkspaceMigration;
2783
2841
  uploadApplicationFile: File;
2842
+ revokeApplicationAuthorization: Scalars['Boolean'];
2784
2843
  generateApplicationToken: ApplicationTokenPair;
2785
2844
  renewApplicationToken: ApplicationTokenPair;
2786
2845
  __typename: 'Mutation';
2787
2846
  }
2788
- export type FileFolder = 'CorePicture' | 'AgentChat' | 'BuiltLogicFunction' | 'BuiltFrontComponent' | 'PublicAsset' | 'Source' | 'FilesField' | 'Dependencies' | 'Workflow' | 'EmailAttachment' | 'AppTarball' | 'GeneratedSdkClient' | 'Dpa';
2847
+ export type FileFolder = 'CorePicture' | 'AgentChat' | 'BuiltLogicFunction' | 'BuiltFrontComponent' | 'PublicAsset' | 'Source' | 'FilesField' | 'Dependencies' | 'Workflow' | 'EmailAttachment' | 'EmailImage' | 'AppTarball' | 'GeneratedSdkClient' | 'Dpa';
2848
+ export type RunAgentMessageRole = 'user' | 'assistant';
2789
2849
  export type AnalyticsType = 'PAGEVIEW' | 'TRACK';
2790
2850
  export interface Subscription {
2791
2851
  onEventSubscription?: EventSubscription;
@@ -3021,6 +3081,7 @@ export interface ObjectGenqlSelection {
3021
3081
  /** @deprecated Use isUIEditable */
3022
3082
  isUIReadOnly?: boolean | number;
3023
3083
  isSearchable?: boolean | number;
3084
+ openRecordIn?: boolean | number;
3024
3085
  applicationId?: boolean | number;
3025
3086
  createdAt?: boolean | number;
3026
3087
  updatedAt?: boolean | number;
@@ -3107,6 +3168,7 @@ export interface WorkspaceMemberGenqlSelection {
3107
3168
  name?: FullNameGenqlSelection;
3108
3169
  userEmail?: boolean | number;
3109
3170
  colorScheme?: boolean | number;
3171
+ openRecordIn?: boolean | number;
3110
3172
  avatarUrl?: boolean | number;
3111
3173
  locale?: boolean | number;
3112
3174
  calendarStartDay?: boolean | number;
@@ -3256,6 +3318,7 @@ export interface UserWorkspaceGenqlSelection {
3256
3318
  objectPermissions?: ObjectPermissionGenqlSelection;
3257
3319
  objectsPermissions?: ObjectPermissionGenqlSelection;
3258
3320
  twoFactorAuthenticationMethodSummary?: TwoFactorAuthenticationMethodSummaryGenqlSelection;
3321
+ isImpersonating?: boolean | number;
3259
3322
  __typename?: boolean | number;
3260
3323
  __scalar?: boolean | number;
3261
3324
  }
@@ -3361,6 +3424,7 @@ export interface ViewGenqlSelection {
3361
3424
  position?: boolean | number;
3362
3425
  isCompact?: boolean | number;
3363
3426
  isCustom?: boolean | number;
3427
+ /** @deprecated Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend. */
3364
3428
  openRecordIn?: boolean | number;
3365
3429
  kanbanAggregateOperation?: boolean | number;
3366
3430
  kanbanAggregateOperationFieldMetadataId?: boolean | number;
@@ -3468,6 +3532,7 @@ export interface UserGenqlSelection {
3468
3532
  deletedWorkspaceMembers?: DeletedWorkspaceMemberGenqlSelection;
3469
3533
  hasPassword?: boolean | number;
3470
3534
  supportUserHash?: boolean | number;
3535
+ isWorkspaceCreator?: boolean | number;
3471
3536
  workspaces?: UserWorkspaceGenqlSelection;
3472
3537
  availableWorkspaces?: AvailableWorkspacesGenqlSelection;
3473
3538
  __typename?: boolean | number;
@@ -3580,6 +3645,8 @@ export interface WidgetConfigurationGenqlSelection {
3580
3645
  on_FrontComponentConfiguration?: FrontComponentConfigurationGenqlSelection;
3581
3646
  on_EmailsConfiguration?: EmailsConfigurationGenqlSelection;
3582
3647
  on_EmailThreadConfiguration?: EmailThreadConfigurationGenqlSelection;
3648
+ on_CallRecordingSummaryConfiguration?: CallRecordingSummaryConfigurationGenqlSelection;
3649
+ on_CallRecordingTranscriptConfiguration?: CallRecordingTranscriptConfigurationGenqlSelection;
3583
3650
  on_MessageCampaignBodyConfiguration?: MessageCampaignBodyConfigurationGenqlSelection;
3584
3651
  on_MessageCampaignDetailsConfiguration?: MessageCampaignDetailsConfigurationGenqlSelection;
3585
3652
  on_FieldConfiguration?: FieldConfigurationGenqlSelection;
@@ -3734,6 +3801,16 @@ export interface EmailThreadConfigurationGenqlSelection {
3734
3801
  __typename?: boolean | number;
3735
3802
  __scalar?: boolean | number;
3736
3803
  }
3804
+ export interface CallRecordingSummaryConfigurationGenqlSelection {
3805
+ configurationType?: boolean | number;
3806
+ __typename?: boolean | number;
3807
+ __scalar?: boolean | number;
3808
+ }
3809
+ export interface CallRecordingTranscriptConfigurationGenqlSelection {
3810
+ configurationType?: boolean | number;
3811
+ __typename?: boolean | number;
3812
+ __scalar?: boolean | number;
3813
+ }
3737
3814
  export interface MessageCampaignBodyConfigurationGenqlSelection {
3738
3815
  configurationType?: boolean | number;
3739
3816
  __typename?: boolean | number;
@@ -3749,6 +3826,7 @@ export interface FieldConfigurationGenqlSelection {
3749
3826
  fieldMetadataId?: boolean | number;
3750
3827
  fieldDisplayMode?: boolean | number;
3751
3828
  viewId?: boolean | number;
3829
+ nestedRelationFieldMetadataId?: boolean | number;
3752
3830
  __typename?: boolean | number;
3753
3831
  __scalar?: boolean | number;
3754
3832
  }
@@ -4014,6 +4092,88 @@ export interface FileUploadTargetGenqlSelection {
4014
4092
  __typename?: boolean | number;
4015
4093
  __scalar?: boolean | number;
4016
4094
  }
4095
+ export interface RecordIdentifierGenqlSelection {
4096
+ id?: boolean | number;
4097
+ labelIdentifier?: boolean | number;
4098
+ imageIdentifier?: boolean | number;
4099
+ __typename?: boolean | number;
4100
+ __scalar?: boolean | number;
4101
+ }
4102
+ export interface NavigationMenuItemGenqlSelection {
4103
+ id?: boolean | number;
4104
+ userWorkspaceId?: boolean | number;
4105
+ targetRecordId?: boolean | number;
4106
+ targetObjectMetadataId?: boolean | number;
4107
+ viewId?: boolean | number;
4108
+ type?: boolean | number;
4109
+ name?: boolean | number;
4110
+ link?: boolean | number;
4111
+ icon?: boolean | number;
4112
+ color?: boolean | number;
4113
+ folderId?: boolean | number;
4114
+ pageLayoutId?: boolean | number;
4115
+ position?: boolean | number;
4116
+ applicationId?: boolean | number;
4117
+ createdAt?: boolean | number;
4118
+ updatedAt?: boolean | number;
4119
+ targetRecordIdentifier?: RecordIdentifierGenqlSelection;
4120
+ __typename?: boolean | number;
4121
+ __scalar?: boolean | number;
4122
+ }
4123
+ export interface ObjectRecordEventPropertiesGenqlSelection {
4124
+ updatedFields?: boolean | number;
4125
+ before?: boolean | number;
4126
+ after?: boolean | number;
4127
+ diff?: boolean | number;
4128
+ __typename?: boolean | number;
4129
+ __scalar?: boolean | number;
4130
+ }
4131
+ export interface MetadataEventGenqlSelection {
4132
+ type?: boolean | number;
4133
+ metadataName?: boolean | number;
4134
+ recordId?: boolean | number;
4135
+ properties?: ObjectRecordEventPropertiesGenqlSelection;
4136
+ updatedCollectionHash?: boolean | number;
4137
+ __typename?: boolean | number;
4138
+ __scalar?: boolean | number;
4139
+ }
4140
+ export interface ObjectRecordEventGenqlSelection {
4141
+ action?: boolean | number;
4142
+ objectNameSingular?: boolean | number;
4143
+ recordId?: boolean | number;
4144
+ userId?: boolean | number;
4145
+ workspaceMemberId?: boolean | number;
4146
+ properties?: ObjectRecordEventPropertiesGenqlSelection;
4147
+ __typename?: boolean | number;
4148
+ __scalar?: boolean | number;
4149
+ }
4150
+ export interface ObjectRecordEventWithQueryIdsGenqlSelection {
4151
+ queryIds?: boolean | number;
4152
+ objectRecordEvent?: ObjectRecordEventGenqlSelection;
4153
+ __typename?: boolean | number;
4154
+ __scalar?: boolean | number;
4155
+ }
4156
+ export interface EventSubscriptionGenqlSelection {
4157
+ eventStreamId?: boolean | number;
4158
+ objectRecordEventsWithQueryIds?: ObjectRecordEventWithQueryIdsGenqlSelection;
4159
+ metadataEvents?: MetadataEventGenqlSelection;
4160
+ __typename?: boolean | number;
4161
+ __scalar?: boolean | number;
4162
+ }
4163
+ export interface UserSessionGenqlSelection {
4164
+ id?: boolean | number;
4165
+ workspaceId?: boolean | number;
4166
+ authProvider?: boolean | number;
4167
+ isImpersonating?: boolean | number;
4168
+ userAgent?: boolean | number;
4169
+ ipAddress?: boolean | number;
4170
+ createdAt?: boolean | number;
4171
+ lastActiveAt?: boolean | number;
4172
+ expiresAt?: boolean | number;
4173
+ isCurrent?: boolean | number;
4174
+ __typename?: boolean | number;
4175
+ __scalar?: boolean | number;
4176
+ }
4017
4177
  export interface BillingEndTrialPeriodGenqlSelection {
4018
4178
  /** Updated subscription status */
4019
4179
  status?: boolean | number;
@@ -4095,74 +4255,6 @@ export interface SendInvitationsGenqlSelection {
4095
4255
  __typename?: boolean | number;
4096
4256
  __scalar?: boolean | number;
4097
4257
  }
4098
- export interface RecordIdentifierGenqlSelection {
4099
- id?: boolean | number;
4100
- labelIdentifier?: boolean | number;
4101
- imageIdentifier?: boolean | number;
4102
- __typename?: boolean | number;
4103
- __scalar?: boolean | number;
4104
- }
4105
- export interface NavigationMenuItemGenqlSelection {
4106
- id?: boolean | number;
4107
- userWorkspaceId?: boolean | number;
4108
- targetRecordId?: boolean | number;
4109
- targetObjectMetadataId?: boolean | number;
4110
- viewId?: boolean | number;
4111
- type?: boolean | number;
4112
- name?: boolean | number;
4113
- link?: boolean | number;
4114
- icon?: boolean | number;
4115
- color?: boolean | number;
4116
- folderId?: boolean | number;
4117
- pageLayoutId?: boolean | number;
4118
- position?: boolean | number;
4119
- applicationId?: boolean | number;
4120
- createdAt?: boolean | number;
4121
- updatedAt?: boolean | number;
4122
- targetRecordIdentifier?: RecordIdentifierGenqlSelection;
4123
- __typename?: boolean | number;
4124
- __scalar?: boolean | number;
4125
- }
4126
- export interface ObjectRecordEventPropertiesGenqlSelection {
4127
- updatedFields?: boolean | number;
4128
- before?: boolean | number;
4129
- after?: boolean | number;
4130
- diff?: boolean | number;
4131
- __typename?: boolean | number;
4132
- __scalar?: boolean | number;
4133
- }
4134
- export interface MetadataEventGenqlSelection {
4135
- type?: boolean | number;
4136
- metadataName?: boolean | number;
4137
- recordId?: boolean | number;
4138
- properties?: ObjectRecordEventPropertiesGenqlSelection;
4139
- updatedCollectionHash?: boolean | number;
4140
- __typename?: boolean | number;
4141
- __scalar?: boolean | number;
4142
- }
4143
- export interface ObjectRecordEventGenqlSelection {
4144
- action?: boolean | number;
4145
- objectNameSingular?: boolean | number;
4146
- recordId?: boolean | number;
4147
- userId?: boolean | number;
4148
- workspaceMemberId?: boolean | number;
4149
- properties?: ObjectRecordEventPropertiesGenqlSelection;
4150
- __typename?: boolean | number;
4151
- __scalar?: boolean | number;
4152
- }
4153
- export interface ObjectRecordEventWithQueryIdsGenqlSelection {
4154
- queryIds?: boolean | number;
4155
- objectRecordEvent?: ObjectRecordEventGenqlSelection;
4156
- __typename?: boolean | number;
4157
- __scalar?: boolean | number;
4158
- }
4159
- export interface EventSubscriptionGenqlSelection {
4160
- eventStreamId?: boolean | number;
4161
- objectRecordEventsWithQueryIds?: ObjectRecordEventWithQueryIdsGenqlSelection;
4162
- metadataEvents?: MetadataEventGenqlSelection;
4163
- __typename?: boolean | number;
4164
- __scalar?: boolean | number;
4165
- }
4166
4258
  export interface FeatureFlagGenqlSelection {
4167
4259
  key?: boolean | number;
4168
4260
  value?: boolean | number;
@@ -4337,6 +4429,8 @@ export interface ClientConfigGenqlSelection {
4337
4429
  isMultiWorkspaceEnabled?: boolean | number;
4338
4430
  isEmailVerificationRequired?: boolean | number;
4339
4431
  defaultSubdomain?: boolean | number;
4432
+ /** @deprecated Subdomain minimum length is no longer configurable; kept one release for API compatibility, no longer read by the frontend. */
4433
+ subdomainMinLength?: boolean | number;
4340
4434
  frontDomain?: boolean | number;
4341
4435
  publicFunctionDomain?: boolean | number;
4342
4436
  analyticsEnabled?: boolean | number;
@@ -4347,6 +4441,7 @@ export interface ClientConfigGenqlSelection {
4347
4441
  api?: ApiConfigGenqlSelection;
4348
4442
  canManageFeatureFlags?: boolean | number;
4349
4443
  publicFeatureFlags?: PublicFeatureFlagGenqlSelection;
4444
+ isCookieSessionEnabled?: boolean | number;
4350
4445
  isMicrosoftMessagingEnabled?: boolean | number;
4351
4446
  isMicrosoftCalendarEnabled?: boolean | number;
4352
4447
  isGoogleMessagingEnabled?: boolean | number;
@@ -4356,6 +4451,8 @@ export interface ClientConfigGenqlSelection {
4356
4451
  isEmailingDomainInDemoMode?: boolean | number;
4357
4452
  allowRequestsToTwentyIcons?: boolean | number;
4358
4453
  calendarBookingPageId?: boolean | number;
4454
+ isBookCallOnboardingStepEnabled?: boolean | number;
4455
+ isCompanyEnrichmentEnabled?: boolean | number;
4359
4456
  isCloudflareIntegrationEnabled?: boolean | number;
4360
4457
  isClickHouseConfigured?: boolean | number;
4361
4458
  isWorkspaceSchemaDDLLocked?: boolean | number;
@@ -4576,6 +4673,7 @@ export interface MarketplaceAppDetailGenqlSelection {
4576
4673
  export interface WorkspaceCompanyEnrichmentResultGenqlSelection {
4577
4674
  outcome?: boolean | number;
4578
4675
  enrichment?: boolean | number;
4676
+ isBookCallOnboardingStepPending?: boolean | number;
4579
4677
  __typename?: boolean | number;
4580
4678
  __scalar?: boolean | number;
4581
4679
  }
@@ -4882,6 +4980,11 @@ export interface ImpersonateGenqlSelection {
4882
4980
  __typename?: boolean | number;
4883
4981
  __scalar?: boolean | number;
4884
4982
  }
4983
+ export interface StopImpersonationGenqlSelection {
4984
+ canRestoreImpersonatorSession?: boolean | number;
4985
+ __typename?: boolean | number;
4986
+ __scalar?: boolean | number;
4987
+ }
4885
4988
  export interface UsageTimeSeriesGenqlSelection {
4886
4989
  date?: boolean | number;
4887
4990
  creditsUsed?: boolean | number;
@@ -4905,6 +5008,19 @@ export interface UsageAnalyticsGenqlSelection {
4905
5008
  __typename?: boolean | number;
4906
5009
  __scalar?: boolean | number;
4907
5010
  }
5011
+ export interface ApplicationAuthorizationGenqlSelection {
5012
+ id?: boolean | number;
5013
+ applicationId?: boolean | number;
5014
+ workspaceId?: boolean | number;
5015
+ applicationName?: boolean | number;
5016
+ applicationUniversalIdentifier?: boolean | number;
5017
+ scopes?: boolean | number;
5018
+ lastAuthorizedAt?: boolean | number;
5019
+ lastUsedAt?: boolean | number;
5020
+ createdAt?: boolean | number;
5021
+ __typename?: boolean | number;
5022
+ __scalar?: boolean | number;
5023
+ }
4908
5024
  export interface DevelopmentApplicationGenqlSelection {
4909
5025
  id?: boolean | number;
4910
5026
  universalIdentifier?: boolean | number;
@@ -5569,6 +5685,7 @@ export interface QueryGenqlSelection {
5569
5685
  input: GetApiKeyInput;
5570
5686
  };
5571
5687
  });
5688
+ currentUserSessions?: UserSessionGenqlSelection;
5572
5689
  getInviteSuggestions?: InviteSuggestionGenqlSelection;
5573
5690
  applicationConnectionProviders?: (ApplicationConnectionProviderGenqlSelection & {
5574
5691
  __args: {
@@ -5935,6 +6052,7 @@ export interface QueryGenqlSelection {
5935
6052
  };
5936
6053
  });
5937
6054
  findManyPublicDomains?: PublicDomainGenqlSelection;
6055
+ currentUserApplicationAuthorizations?: ApplicationAuthorizationGenqlSelection;
5938
6056
  __typename?: boolean | number;
5939
6057
  __scalar?: boolean | number;
5940
6058
  }
@@ -6274,7 +6392,14 @@ export interface MutationGenqlSelection {
6274
6392
  roleId: Scalars['UUID'];
6275
6393
  };
6276
6394
  };
6395
+ revokeUserSession?: {
6396
+ __args: {
6397
+ userSessionId: Scalars['UUID'];
6398
+ };
6399
+ };
6400
+ revokeAllOtherUserSessions?: boolean | number;
6277
6401
  skipSyncEmailOnboardingStep?: OnboardingStepSuccessGenqlSelection;
6402
+ completeBookCallOnboardingStep?: OnboardingStepSuccessGenqlSelection;
6278
6403
  triggerInstallAppsOnboardingStep?: (OnboardingStepSuccessGenqlSelection & {
6279
6404
  __args: {
6280
6405
  universalIdentifiers: Scalars['String'][];
@@ -7027,6 +7152,11 @@ export interface MutationGenqlSelection {
7027
7152
  appToken: Scalars['String'];
7028
7153
  };
7029
7154
  });
7155
+ signOut?: {
7156
+ __args: {
7157
+ refreshToken?: (Scalars['String'] | null);
7158
+ };
7159
+ } | boolean | number;
7030
7160
  generateApiKeyToken?: (ApiKeyTokenGenqlSelection & {
7031
7161
  __args: {
7032
7162
  apiKeyId: Scalars['UUID'];
@@ -7038,6 +7168,7 @@ export interface MutationGenqlSelection {
7038
7168
  __args: {
7039
7169
  email: Scalars['String'];
7040
7170
  workspaceId?: (Scalars['UUID'] | null);
7171
+ captchaToken?: (Scalars['String'] | null);
7041
7172
  };
7042
7173
  });
7043
7174
  updatePasswordViaResetToken?: (InvalidatePasswordGenqlSelection & {
@@ -7133,6 +7264,7 @@ export interface MutationGenqlSelection {
7133
7264
  workspaceId: Scalars['UUID'];
7134
7265
  };
7135
7266
  });
7267
+ stopImpersonation?: StopImpersonationGenqlSelection;
7136
7268
  createCalendarEvent?: (CreateCalendarEventOutputGenqlSelection & {
7137
7269
  __args: {
7138
7270
  input: CreateCalendarEventInput;
@@ -7196,6 +7328,11 @@ export interface MutationGenqlSelection {
7196
7328
  filePath: Scalars['String'];
7197
7329
  };
7198
7330
  });
7331
+ revokeApplicationAuthorization?: {
7332
+ __args: {
7333
+ applicationAuthorizationId: Scalars['UUID'];
7334
+ };
7335
+ };
7199
7336
  generateApplicationToken?: (ApplicationTokenPairGenqlSelection & {
7200
7337
  __args: {
7201
7338
  applicationId: Scalars['UUID'];
@@ -7307,6 +7444,7 @@ export interface CreateViewInput {
7307
7444
  isCompact?: (Scalars['Boolean'] | null);
7308
7445
  shouldHideEmptyGroups?: (Scalars['Boolean'] | null);
7309
7446
  kanbanColumnWidth?: (Scalars['Int'] | null);
7447
+ /** Deprecated: Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend. */
7310
7448
  openRecordIn?: (ViewOpenRecordIn | null);
7311
7449
  kanbanAggregateOperation?: (AggregateOperations | null);
7312
7450
  kanbanAggregateOperationFieldMetadataId?: (Scalars['UUID'] | null);
@@ -7324,6 +7462,7 @@ export interface UpdateViewInput {
7324
7462
  icon?: (Scalars['String'] | null);
7325
7463
  position?: (Scalars['Float'] | null);
7326
7464
  isCompact?: (Scalars['Boolean'] | null);
7465
+ /** Deprecated: Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend. */
7327
7466
  openRecordIn?: (ViewOpenRecordIn | null);
7328
7467
  kanbanAggregateOperation?: (AggregateOperations | null);
7329
7468
  kanbanAggregateOperationFieldMetadataId?: (Scalars['UUID'] | null);
@@ -7355,6 +7494,7 @@ export interface UpsertViewWidgetViewSettingsInput {
7355
7494
  type?: (ViewType | null);
7356
7495
  mainGroupByFieldMetadataId?: (Scalars['UUID'] | null);
7357
7496
  shouldHideEmptyGroups?: (Scalars['Boolean'] | null);
7497
+ /** Deprecated: Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend. */
7358
7498
  openRecordIn?: (ViewOpenRecordIn | null);
7359
7499
  kanbanAggregateOperation?: (AggregateOperations | null);
7360
7500
  kanbanAggregateOperationFieldMetadataId?: (Scalars['UUID'] | null);
@@ -7667,6 +7807,7 @@ export interface UpdateObjectPayload {
7667
7807
  imageIdentifierFieldMetadataId?: (Scalars['UUID'] | null);
7668
7808
  isLabelSyncedWithName?: (Scalars['Boolean'] | null);
7669
7809
  isSearchable?: (Scalars['Boolean'] | null);
7810
+ openRecordIn?: (ObjectOpenRecordIn | null);
7670
7811
  }
7671
7812
  export interface CreateOneIndexInput {
7672
7813
  /** The custom index to create */
@@ -8062,7 +8203,12 @@ export interface CreateEmailingDomainInput {
8062
8203
  }
8063
8204
  export interface RunAgentInput {
8064
8205
  agentUniversalIdentifier: Scalars['String'];
8065
- prompt: Scalars['String'];
8206
+ prompt?: (Scalars['String'] | null);
8207
+ messages?: (RunAgentMessageInput[] | null);
8208
+ }
8209
+ export interface RunAgentMessageInput {
8210
+ role: RunAgentMessageRole;
8211
+ content: Scalars['String'];
8066
8212
  }
8067
8213
  export interface CreateWebhookInput {
8068
8214
  id?: (Scalars['UUID'] | null);
@@ -8427,6 +8573,12 @@ export declare const isEmailsConfiguration: (obj?: {
8427
8573
  export declare const isEmailThreadConfiguration: (obj?: {
8428
8574
  __typename?: any;
8429
8575
  } | null | undefined) => obj is EmailThreadConfiguration;
8576
+ export declare const isCallRecordingSummaryConfiguration: (obj?: {
8577
+ __typename?: any;
8578
+ } | null | undefined) => obj is CallRecordingSummaryConfiguration;
8579
+ export declare const isCallRecordingTranscriptConfiguration: (obj?: {
8580
+ __typename?: any;
8581
+ } | null | undefined) => obj is CallRecordingTranscriptConfiguration;
8430
8582
  export declare const isMessageCampaignBodyConfiguration: (obj?: {
8431
8583
  __typename?: any;
8432
8584
  } | null | undefined) => obj is MessageCampaignBodyConfiguration;
@@ -8535,6 +8687,30 @@ export declare const isFileWithSignedUrl: (obj?: {
8535
8687
  export declare const isFileUploadTarget: (obj?: {
8536
8688
  __typename?: any;
8537
8689
  } | null | undefined) => obj is FileUploadTarget;
8690
+ export declare const isRecordIdentifier: (obj?: {
8691
+ __typename?: any;
8692
+ } | null | undefined) => obj is RecordIdentifier;
8693
+ export declare const isNavigationMenuItem: (obj?: {
8694
+ __typename?: any;
8695
+ } | null | undefined) => obj is NavigationMenuItem;
8696
+ export declare const isObjectRecordEventProperties: (obj?: {
8697
+ __typename?: any;
8698
+ } | null | undefined) => obj is ObjectRecordEventProperties;
8699
+ export declare const isMetadataEvent: (obj?: {
8700
+ __typename?: any;
8701
+ } | null | undefined) => obj is MetadataEvent;
8702
+ export declare const isObjectRecordEvent: (obj?: {
8703
+ __typename?: any;
8704
+ } | null | undefined) => obj is ObjectRecordEvent;
8705
+ export declare const isObjectRecordEventWithQueryIds: (obj?: {
8706
+ __typename?: any;
8707
+ } | null | undefined) => obj is ObjectRecordEventWithQueryIds;
8708
+ export declare const isEventSubscription: (obj?: {
8709
+ __typename?: any;
8710
+ } | null | undefined) => obj is EventSubscription;
8711
+ export declare const isUserSession: (obj?: {
8712
+ __typename?: any;
8713
+ } | null | undefined) => obj is UserSession;
8538
8714
  export declare const isBillingEndTrialPeriod: (obj?: {
8539
8715
  __typename?: any;
8540
8716
  } | null | undefined) => obj is BillingEndTrialPeriod;
@@ -8565,27 +8741,6 @@ export declare const isWorkspaceInvitation: (obj?: {
8565
8741
  export declare const isSendInvitations: (obj?: {
8566
8742
  __typename?: any;
8567
8743
  } | null | undefined) => obj is SendInvitations;
8568
- export declare const isRecordIdentifier: (obj?: {
8569
- __typename?: any;
8570
- } | null | undefined) => obj is RecordIdentifier;
8571
- export declare const isNavigationMenuItem: (obj?: {
8572
- __typename?: any;
8573
- } | null | undefined) => obj is NavigationMenuItem;
8574
- export declare const isObjectRecordEventProperties: (obj?: {
8575
- __typename?: any;
8576
- } | null | undefined) => obj is ObjectRecordEventProperties;
8577
- export declare const isMetadataEvent: (obj?: {
8578
- __typename?: any;
8579
- } | null | undefined) => obj is MetadataEvent;
8580
- export declare const isObjectRecordEvent: (obj?: {
8581
- __typename?: any;
8582
- } | null | undefined) => obj is ObjectRecordEvent;
8583
- export declare const isObjectRecordEventWithQueryIds: (obj?: {
8584
- __typename?: any;
8585
- } | null | undefined) => obj is ObjectRecordEventWithQueryIds;
8586
- export declare const isEventSubscription: (obj?: {
8587
- __typename?: any;
8588
- } | null | undefined) => obj is EventSubscription;
8589
8744
  export declare const isFeatureFlag: (obj?: {
8590
8745
  __typename?: any;
8591
8746
  } | null | undefined) => obj is FeatureFlag;
@@ -8844,6 +8999,9 @@ export declare const isWorkspaceInviteHashValid: (obj?: {
8844
8999
  export declare const isImpersonate: (obj?: {
8845
9000
  __typename?: any;
8846
9001
  } | null | undefined) => obj is Impersonate;
9002
+ export declare const isStopImpersonation: (obj?: {
9003
+ __typename?: any;
9004
+ } | null | undefined) => obj is StopImpersonation;
8847
9005
  export declare const isUsageTimeSeries: (obj?: {
8848
9006
  __typename?: any;
8849
9007
  } | null | undefined) => obj is UsageTimeSeries;
@@ -8853,6 +9011,9 @@ export declare const isUsageUserDaily: (obj?: {
8853
9011
  export declare const isUsageAnalytics: (obj?: {
8854
9012
  __typename?: any;
8855
9013
  } | null | undefined) => obj is UsageAnalytics;
9014
+ export declare const isApplicationAuthorization: (obj?: {
9015
+ __typename?: any;
9016
+ } | null | undefined) => obj is ApplicationAuthorization;
8856
9017
  export declare const isDevelopmentApplication: (obj?: {
8857
9018
  __typename?: any;
8858
9019
  } | null | undefined) => obj is DevelopmentApplication;
@@ -9107,6 +9268,7 @@ export declare const enumEngineComponentKey: {
9107
9268
  COMPOSE_CAMPAIGN: "COMPOSE_CAMPAIGN";
9108
9269
  SEND_MESSAGE_CAMPAIGN: "SEND_MESSAGE_CAMPAIGN";
9109
9270
  SEND_MESSAGE_CAMPAIGN_TEST: "SEND_MESSAGE_CAMPAIGN_TEST";
9271
+ EMAIL_BLOCK_SETTINGS: "EMAIL_BLOCK_SETTINGS";
9110
9272
  GO_TO_PEOPLE: "GO_TO_PEOPLE";
9111
9273
  GO_TO_COMPANIES: "GO_TO_COMPANIES";
9112
9274
  GO_TO_DASHBOARDS: "GO_TO_DASHBOARDS";
@@ -9167,6 +9329,15 @@ export declare const enumIndexType: {
9167
9329
  BTREE: "BTREE";
9168
9330
  GIN: "GIN";
9169
9331
  };
9332
+ export declare const enumObjectOpenRecordIn: {
9333
+ SIDE_PANEL: "SIDE_PANEL";
9334
+ RECORD_PAGE: "RECORD_PAGE";
9335
+ USER_CHOICE: "USER_CHOICE";
9336
+ };
9337
+ export declare const enumOpenRecordIn: {
9338
+ SIDE_PANEL: "SIDE_PANEL";
9339
+ RECORD_PAGE: "RECORD_PAGE";
9340
+ };
9170
9341
  export declare const enumWorkspaceMemberDateFormatEnum: {
9171
9342
  SYSTEM: "SYSTEM";
9172
9343
  MONTH_FIRST: "MONTH_FIRST";
@@ -9321,6 +9492,7 @@ export declare const enumOnboardingStatus: {
9321
9492
  SYNC_EMAIL: "SYNC_EMAIL";
9322
9493
  APPS_INSTALLATION: "APPS_INSTALLATION";
9323
9494
  INVITE_TEAM: "INVITE_TEAM";
9495
+ BOOK_CALL: "BOOK_CALL";
9324
9496
  COMPLETED: "COMPLETED";
9325
9497
  };
9326
9498
  export declare const enumWidgetType: {
@@ -9343,6 +9515,8 @@ export declare const enumWidgetType: {
9343
9515
  FRONT_COMPONENT: "FRONT_COMPONENT";
9344
9516
  RECORD_TABLE: "RECORD_TABLE";
9345
9517
  EMAIL_THREAD: "EMAIL_THREAD";
9518
+ CALL_RECORDING_SUMMARY: "CALL_RECORDING_SUMMARY";
9519
+ CALL_RECORDING_TRANSCRIPT: "CALL_RECORDING_TRANSCRIPT";
9346
9520
  MESSAGE_CAMPAIGN_BODY: "MESSAGE_CAMPAIGN_BODY";
9347
9521
  MESSAGE_CAMPAIGN_DETAILS: "MESSAGE_CAMPAIGN_DETAILS";
9348
9522
  };
@@ -9374,6 +9548,8 @@ export declare const enumWidgetConfigurationType: {
9374
9548
  FRONT_COMPONENT: "FRONT_COMPONENT";
9375
9549
  RECORD_TABLE: "RECORD_TABLE";
9376
9550
  EMAIL_THREAD: "EMAIL_THREAD";
9551
+ CALL_RECORDING_SUMMARY: "CALL_RECORDING_SUMMARY";
9552
+ CALL_RECORDING_TRANSCRIPT: "CALL_RECORDING_TRANSCRIPT";
9377
9553
  MESSAGE_CAMPAIGN_BODY: "MESSAGE_CAMPAIGN_BODY";
9378
9554
  MESSAGE_CAMPAIGN_DETAILS: "MESSAGE_CAMPAIGN_DETAILS";
9379
9555
  };
@@ -9491,6 +9667,7 @@ export declare const enumFeatureFlagKey: {
9491
9667
  IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED: "IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED";
9492
9668
  IS_SETTINGS_DISCOVERY_HERO_ENABLED: "IS_SETTINGS_DISCOVERY_HERO_ENABLED";
9493
9669
  IS_WORKFLOW_VERSION_IN_CORE_ENABLED: "IS_WORKFLOW_VERSION_IN_CORE_ENABLED";
9670
+ IS_WORKFLOW_DISPATCH_FROM_CORE_ENABLED: "IS_WORKFLOW_DISPATCH_FROM_CORE_ENABLED";
9494
9671
  };
9495
9672
  export declare const enumIdentityProviderType: {
9496
9673
  OIDC: "OIDC";
@@ -9697,10 +9874,15 @@ export declare const enumFileFolder: {
9697
9874
  Dependencies: "Dependencies";
9698
9875
  Workflow: "Workflow";
9699
9876
  EmailAttachment: "EmailAttachment";
9877
+ EmailImage: "EmailImage";
9700
9878
  AppTarball: "AppTarball";
9701
9879
  GeneratedSdkClient: "GeneratedSdkClient";
9702
9880
  Dpa: "Dpa";
9703
9881
  };
9882
+ export declare const enumRunAgentMessageRole: {
9883
+ user: "user";
9884
+ assistant: "assistant";
9885
+ };
9704
9886
  export declare const enumAnalyticsType: {
9705
9887
  PAGEVIEW: "PAGEVIEW";
9706
9888
  TRACK: "TRACK";