twenty-client-sdk 2.26.0 → 2.27.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.
@@ -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'];
@@ -1101,6 +1107,85 @@ export interface FileUploadTarget {
1101
1107
  expiresAt: Scalars['DateTime'];
1102
1108
  __typename: 'FileUploadTarget';
1103
1109
  }
1110
+ export interface RecordIdentifier {
1111
+ id: Scalars['UUID'];
1112
+ labelIdentifier: Scalars['String'];
1113
+ imageIdentifier?: Scalars['String'];
1114
+ __typename: 'RecordIdentifier';
1115
+ }
1116
+ export interface NavigationMenuItem {
1117
+ id: Scalars['UUID'];
1118
+ userWorkspaceId?: Scalars['UUID'];
1119
+ targetRecordId?: Scalars['UUID'];
1120
+ targetObjectMetadataId?: Scalars['UUID'];
1121
+ viewId?: Scalars['UUID'];
1122
+ type: NavigationMenuItemType;
1123
+ name?: Scalars['String'];
1124
+ link?: Scalars['String'];
1125
+ icon?: Scalars['String'];
1126
+ color?: Scalars['String'];
1127
+ folderId?: Scalars['UUID'];
1128
+ pageLayoutId?: Scalars['UUID'];
1129
+ position: Scalars['Float'];
1130
+ applicationId?: Scalars['UUID'];
1131
+ createdAt: Scalars['DateTime'];
1132
+ updatedAt: Scalars['DateTime'];
1133
+ targetRecordIdentifier?: RecordIdentifier;
1134
+ __typename: 'NavigationMenuItem';
1135
+ }
1136
+ export type NavigationMenuItemType = 'VIEW' | 'FOLDER' | 'LINK' | 'OBJECT' | 'RECORD' | 'PAGE_LAYOUT';
1137
+ export interface ObjectRecordEventProperties {
1138
+ updatedFields?: Scalars['String'][];
1139
+ before?: Scalars['JSON'];
1140
+ after?: Scalars['JSON'];
1141
+ diff?: Scalars['JSON'];
1142
+ __typename: 'ObjectRecordEventProperties';
1143
+ }
1144
+ export interface MetadataEvent {
1145
+ type: MetadataEventAction;
1146
+ metadataName: Scalars['String'];
1147
+ recordId: Scalars['String'];
1148
+ properties: ObjectRecordEventProperties;
1149
+ updatedCollectionHash?: Scalars['String'];
1150
+ __typename: 'MetadataEvent';
1151
+ }
1152
+ /** Metadata Event Action */
1153
+ export type MetadataEventAction = 'CREATED' | 'UPDATED' | 'DELETED';
1154
+ export interface ObjectRecordEvent {
1155
+ action: DatabaseEventAction;
1156
+ objectNameSingular: Scalars['String'];
1157
+ recordId: Scalars['String'];
1158
+ userId?: Scalars['String'];
1159
+ workspaceMemberId?: Scalars['String'];
1160
+ properties: ObjectRecordEventProperties;
1161
+ __typename: 'ObjectRecordEvent';
1162
+ }
1163
+ /** Database Event Action */
1164
+ export type DatabaseEventAction = 'CREATED' | 'UPDATED' | 'DELETED' | 'DESTROYED' | 'RESTORED' | 'UPSERTED';
1165
+ export interface ObjectRecordEventWithQueryIds {
1166
+ queryIds: Scalars['String'][];
1167
+ objectRecordEvent: ObjectRecordEvent;
1168
+ __typename: 'ObjectRecordEventWithQueryIds';
1169
+ }
1170
+ export interface EventSubscription {
1171
+ eventStreamId: Scalars['String'];
1172
+ objectRecordEventsWithQueryIds: ObjectRecordEventWithQueryIds[];
1173
+ metadataEvents: MetadataEvent[];
1174
+ __typename: 'EventSubscription';
1175
+ }
1176
+ export interface UserSession {
1177
+ id: Scalars['UUID'];
1178
+ workspaceId?: Scalars['UUID'];
1179
+ authProvider: Scalars['String'];
1180
+ isImpersonating: Scalars['Boolean'];
1181
+ userAgent?: Scalars['String'];
1182
+ ipAddress?: Scalars['String'];
1183
+ createdAt: Scalars['DateTime'];
1184
+ lastActiveAt: Scalars['DateTime'];
1185
+ expiresAt: Scalars['DateTime'];
1186
+ isCurrent: Scalars['Boolean'];
1187
+ __typename: 'UserSession';
1188
+ }
1104
1189
  export interface BillingEndTrialPeriod {
1105
1190
  /** Updated subscription status */
1106
1191
  status?: SubscriptionStatus;
@@ -1172,72 +1257,6 @@ export interface SendInvitations {
1172
1257
  result: WorkspaceInvitation[];
1173
1258
  __typename: 'SendInvitations';
1174
1259
  }
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
1260
  export interface FeatureFlag {
1242
1261
  key: FeatureFlagKey;
1243
1262
  value: Scalars['Boolean'];
@@ -1407,6 +1426,7 @@ export interface ClientConfig {
1407
1426
  api: ApiConfig;
1408
1427
  canManageFeatureFlags: Scalars['Boolean'];
1409
1428
  publicFeatureFlags: PublicFeatureFlag[];
1429
+ isCookieSessionEnabled: Scalars['Boolean'];
1410
1430
  isMicrosoftMessagingEnabled: Scalars['Boolean'];
1411
1431
  isMicrosoftCalendarEnabled: Scalars['Boolean'];
1412
1432
  isGoogleMessagingEnabled: Scalars['Boolean'];
@@ -1882,6 +1902,10 @@ export interface Impersonate {
1882
1902
  workspace: WorkspaceUrlsAndId;
1883
1903
  __typename: 'Impersonate';
1884
1904
  }
1905
+ export interface StopImpersonation {
1906
+ canRestoreImpersonatorSession: Scalars['Boolean'];
1907
+ __typename: 'StopImpersonation';
1908
+ }
1885
1909
  export interface UsageTimeSeries {
1886
1910
  date: Scalars['String'];
1887
1911
  creditsUsed: Scalars['Float'];
@@ -1902,6 +1926,18 @@ export interface UsageAnalytics {
1902
1926
  userDailyUsage?: UsageUserDaily;
1903
1927
  __typename: 'UsageAnalytics';
1904
1928
  }
1929
+ export interface ApplicationAuthorization {
1930
+ id: Scalars['UUID'];
1931
+ applicationId: Scalars['UUID'];
1932
+ workspaceId: Scalars['UUID'];
1933
+ applicationName: Scalars['String'];
1934
+ applicationUniversalIdentifier?: Scalars['String'];
1935
+ scopes?: Scalars['String'][];
1936
+ lastAuthorizedAt?: Scalars['DateTime'];
1937
+ lastUsedAt: Scalars['DateTime'];
1938
+ createdAt: Scalars['DateTime'];
1939
+ __typename: 'ApplicationAuthorization';
1940
+ }
1905
1941
  export interface DevelopmentApplication {
1906
1942
  id: Scalars['String'];
1907
1943
  universalIdentifier: Scalars['String'];
@@ -2451,6 +2487,7 @@ export interface Query {
2451
2487
  apiKeys: ApiKey[];
2452
2488
  getApiKeyRoles: Role[];
2453
2489
  apiKey?: ApiKey;
2490
+ currentUserSessions: UserSession[];
2454
2491
  getInviteSuggestions: InviteSuggestion[];
2455
2492
  applicationConnectionProviders: ApplicationConnectionProvider[];
2456
2493
  billingPortalSession: BillingSession;
@@ -2543,6 +2580,7 @@ export interface Query {
2543
2580
  getAddressDetails: PlaceDetailsResult;
2544
2581
  getUsageAnalytics: UsageAnalytics;
2545
2582
  findManyPublicDomains: PublicDomain[];
2583
+ currentUserApplicationAuthorizations: ApplicationAuthorization[];
2546
2584
  __typename: 'Query';
2547
2585
  }
2548
2586
  export type EventLogTable = 'WORKSPACE_EVENT' | 'PAGEVIEW' | 'OBJECT_EVENT' | 'USAGE_EVENT' | 'APPLICATION_LOG';
@@ -2600,6 +2638,8 @@ export interface Mutation {
2600
2638
  updateApiKey?: ApiKey;
2601
2639
  revokeApiKey?: ApiKey;
2602
2640
  assignRoleToApiKey: Scalars['Boolean'];
2641
+ revokeUserSession: Scalars['Boolean'];
2642
+ revokeAllOtherUserSessions: Scalars['Int'];
2603
2643
  skipSyncEmailOnboardingStep: OnboardingStepSuccess;
2604
2644
  triggerInstallAppsOnboardingStep: OnboardingStepSuccess;
2605
2645
  updateOneApplicationVariable: Scalars['Boolean'];
@@ -2749,6 +2789,7 @@ export interface Mutation {
2749
2789
  getAuthTokensFromSSOExchangeToken: AuthTokens;
2750
2790
  authorizeApp: AuthorizeApp;
2751
2791
  renewToken: AuthTokens;
2792
+ signOut: Scalars['Boolean'];
2752
2793
  generateApiKeyToken: ApiKeyToken;
2753
2794
  generatePlaygroundToken: AuthToken;
2754
2795
  emailPasswordResetLink: EmailPasswordResetLink;
@@ -2770,6 +2811,7 @@ export interface Mutation {
2770
2811
  trackAnalytics: Analytics;
2771
2812
  duplicateDashboard: DuplicatedDashboard;
2772
2813
  impersonate: Impersonate;
2814
+ stopImpersonation: StopImpersonation;
2773
2815
  createCalendarEvent: CreateCalendarEventOutput;
2774
2816
  sendEmail: SendEmailOutput;
2775
2817
  startChannelSync: ChannelSyncSuccess;
@@ -2781,6 +2823,7 @@ export interface Mutation {
2781
2823
  createDevelopmentApplication: DevelopmentApplication;
2782
2824
  syncApplication: WorkspaceMigration;
2783
2825
  uploadApplicationFile: File;
2826
+ revokeApplicationAuthorization: Scalars['Boolean'];
2784
2827
  generateApplicationToken: ApplicationTokenPair;
2785
2828
  renewApplicationToken: ApplicationTokenPair;
2786
2829
  __typename: 'Mutation';
@@ -3021,6 +3064,7 @@ export interface ObjectGenqlSelection {
3021
3064
  /** @deprecated Use isUIEditable */
3022
3065
  isUIReadOnly?: boolean | number;
3023
3066
  isSearchable?: boolean | number;
3067
+ openRecordIn?: boolean | number;
3024
3068
  applicationId?: boolean | number;
3025
3069
  createdAt?: boolean | number;
3026
3070
  updatedAt?: boolean | number;
@@ -3107,6 +3151,7 @@ export interface WorkspaceMemberGenqlSelection {
3107
3151
  name?: FullNameGenqlSelection;
3108
3152
  userEmail?: boolean | number;
3109
3153
  colorScheme?: boolean | number;
3154
+ openRecordIn?: boolean | number;
3110
3155
  avatarUrl?: boolean | number;
3111
3156
  locale?: boolean | number;
3112
3157
  calendarStartDay?: boolean | number;
@@ -3256,6 +3301,7 @@ export interface UserWorkspaceGenqlSelection {
3256
3301
  objectPermissions?: ObjectPermissionGenqlSelection;
3257
3302
  objectsPermissions?: ObjectPermissionGenqlSelection;
3258
3303
  twoFactorAuthenticationMethodSummary?: TwoFactorAuthenticationMethodSummaryGenqlSelection;
3304
+ isImpersonating?: boolean | number;
3259
3305
  __typename?: boolean | number;
3260
3306
  __scalar?: boolean | number;
3261
3307
  }
@@ -3361,6 +3407,7 @@ export interface ViewGenqlSelection {
3361
3407
  position?: boolean | number;
3362
3408
  isCompact?: boolean | number;
3363
3409
  isCustom?: boolean | number;
3410
+ /** @deprecated Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend. */
3364
3411
  openRecordIn?: boolean | number;
3365
3412
  kanbanAggregateOperation?: boolean | number;
3366
3413
  kanbanAggregateOperationFieldMetadataId?: boolean | number;
@@ -4014,6 +4061,88 @@ export interface FileUploadTargetGenqlSelection {
4014
4061
  __typename?: boolean | number;
4015
4062
  __scalar?: boolean | number;
4016
4063
  }
4064
+ export interface RecordIdentifierGenqlSelection {
4065
+ id?: boolean | number;
4066
+ labelIdentifier?: boolean | number;
4067
+ imageIdentifier?: boolean | number;
4068
+ __typename?: boolean | number;
4069
+ __scalar?: boolean | number;
4070
+ }
4071
+ export interface NavigationMenuItemGenqlSelection {
4072
+ id?: boolean | number;
4073
+ userWorkspaceId?: boolean | number;
4074
+ targetRecordId?: boolean | number;
4075
+ targetObjectMetadataId?: boolean | number;
4076
+ viewId?: boolean | number;
4077
+ type?: boolean | number;
4078
+ name?: boolean | number;
4079
+ link?: boolean | number;
4080
+ icon?: boolean | number;
4081
+ color?: boolean | number;
4082
+ folderId?: boolean | number;
4083
+ pageLayoutId?: boolean | number;
4084
+ position?: boolean | number;
4085
+ applicationId?: boolean | number;
4086
+ createdAt?: boolean | number;
4087
+ updatedAt?: boolean | number;
4088
+ targetRecordIdentifier?: RecordIdentifierGenqlSelection;
4089
+ __typename?: boolean | number;
4090
+ __scalar?: boolean | number;
4091
+ }
4092
+ export interface ObjectRecordEventPropertiesGenqlSelection {
4093
+ updatedFields?: boolean | number;
4094
+ before?: boolean | number;
4095
+ after?: boolean | number;
4096
+ diff?: boolean | number;
4097
+ __typename?: boolean | number;
4098
+ __scalar?: boolean | number;
4099
+ }
4100
+ export interface MetadataEventGenqlSelection {
4101
+ type?: boolean | number;
4102
+ metadataName?: boolean | number;
4103
+ recordId?: boolean | number;
4104
+ properties?: ObjectRecordEventPropertiesGenqlSelection;
4105
+ updatedCollectionHash?: boolean | number;
4106
+ __typename?: boolean | number;
4107
+ __scalar?: boolean | number;
4108
+ }
4109
+ export interface ObjectRecordEventGenqlSelection {
4110
+ action?: boolean | number;
4111
+ objectNameSingular?: boolean | number;
4112
+ recordId?: boolean | number;
4113
+ userId?: boolean | number;
4114
+ workspaceMemberId?: boolean | number;
4115
+ properties?: ObjectRecordEventPropertiesGenqlSelection;
4116
+ __typename?: boolean | number;
4117
+ __scalar?: boolean | number;
4118
+ }
4119
+ export interface ObjectRecordEventWithQueryIdsGenqlSelection {
4120
+ queryIds?: boolean | number;
4121
+ objectRecordEvent?: ObjectRecordEventGenqlSelection;
4122
+ __typename?: boolean | number;
4123
+ __scalar?: boolean | number;
4124
+ }
4125
+ export interface EventSubscriptionGenqlSelection {
4126
+ eventStreamId?: boolean | number;
4127
+ objectRecordEventsWithQueryIds?: ObjectRecordEventWithQueryIdsGenqlSelection;
4128
+ metadataEvents?: MetadataEventGenqlSelection;
4129
+ __typename?: boolean | number;
4130
+ __scalar?: boolean | number;
4131
+ }
4132
+ export interface UserSessionGenqlSelection {
4133
+ id?: boolean | number;
4134
+ workspaceId?: boolean | number;
4135
+ authProvider?: boolean | number;
4136
+ isImpersonating?: boolean | number;
4137
+ userAgent?: boolean | number;
4138
+ ipAddress?: boolean | number;
4139
+ createdAt?: boolean | number;
4140
+ lastActiveAt?: boolean | number;
4141
+ expiresAt?: boolean | number;
4142
+ isCurrent?: boolean | number;
4143
+ __typename?: boolean | number;
4144
+ __scalar?: boolean | number;
4145
+ }
4017
4146
  export interface BillingEndTrialPeriodGenqlSelection {
4018
4147
  /** Updated subscription status */
4019
4148
  status?: boolean | number;
@@ -4095,74 +4224,6 @@ export interface SendInvitationsGenqlSelection {
4095
4224
  __typename?: boolean | number;
4096
4225
  __scalar?: boolean | number;
4097
4226
  }
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
4227
  export interface FeatureFlagGenqlSelection {
4167
4228
  key?: boolean | number;
4168
4229
  value?: boolean | number;
@@ -4347,6 +4408,7 @@ export interface ClientConfigGenqlSelection {
4347
4408
  api?: ApiConfigGenqlSelection;
4348
4409
  canManageFeatureFlags?: boolean | number;
4349
4410
  publicFeatureFlags?: PublicFeatureFlagGenqlSelection;
4411
+ isCookieSessionEnabled?: boolean | number;
4350
4412
  isMicrosoftMessagingEnabled?: boolean | number;
4351
4413
  isMicrosoftCalendarEnabled?: boolean | number;
4352
4414
  isGoogleMessagingEnabled?: boolean | number;
@@ -4882,6 +4944,11 @@ export interface ImpersonateGenqlSelection {
4882
4944
  __typename?: boolean | number;
4883
4945
  __scalar?: boolean | number;
4884
4946
  }
4947
+ export interface StopImpersonationGenqlSelection {
4948
+ canRestoreImpersonatorSession?: boolean | number;
4949
+ __typename?: boolean | number;
4950
+ __scalar?: boolean | number;
4951
+ }
4885
4952
  export interface UsageTimeSeriesGenqlSelection {
4886
4953
  date?: boolean | number;
4887
4954
  creditsUsed?: boolean | number;
@@ -4905,6 +4972,19 @@ export interface UsageAnalyticsGenqlSelection {
4905
4972
  __typename?: boolean | number;
4906
4973
  __scalar?: boolean | number;
4907
4974
  }
4975
+ export interface ApplicationAuthorizationGenqlSelection {
4976
+ id?: boolean | number;
4977
+ applicationId?: boolean | number;
4978
+ workspaceId?: boolean | number;
4979
+ applicationName?: boolean | number;
4980
+ applicationUniversalIdentifier?: boolean | number;
4981
+ scopes?: boolean | number;
4982
+ lastAuthorizedAt?: boolean | number;
4983
+ lastUsedAt?: boolean | number;
4984
+ createdAt?: boolean | number;
4985
+ __typename?: boolean | number;
4986
+ __scalar?: boolean | number;
4987
+ }
4908
4988
  export interface DevelopmentApplicationGenqlSelection {
4909
4989
  id?: boolean | number;
4910
4990
  universalIdentifier?: boolean | number;
@@ -5569,6 +5649,7 @@ export interface QueryGenqlSelection {
5569
5649
  input: GetApiKeyInput;
5570
5650
  };
5571
5651
  });
5652
+ currentUserSessions?: UserSessionGenqlSelection;
5572
5653
  getInviteSuggestions?: InviteSuggestionGenqlSelection;
5573
5654
  applicationConnectionProviders?: (ApplicationConnectionProviderGenqlSelection & {
5574
5655
  __args: {
@@ -5935,6 +6016,7 @@ export interface QueryGenqlSelection {
5935
6016
  };
5936
6017
  });
5937
6018
  findManyPublicDomains?: PublicDomainGenqlSelection;
6019
+ currentUserApplicationAuthorizations?: ApplicationAuthorizationGenqlSelection;
5938
6020
  __typename?: boolean | number;
5939
6021
  __scalar?: boolean | number;
5940
6022
  }
@@ -6274,6 +6356,12 @@ export interface MutationGenqlSelection {
6274
6356
  roleId: Scalars['UUID'];
6275
6357
  };
6276
6358
  };
6359
+ revokeUserSession?: {
6360
+ __args: {
6361
+ userSessionId: Scalars['UUID'];
6362
+ };
6363
+ };
6364
+ revokeAllOtherUserSessions?: boolean | number;
6277
6365
  skipSyncEmailOnboardingStep?: OnboardingStepSuccessGenqlSelection;
6278
6366
  triggerInstallAppsOnboardingStep?: (OnboardingStepSuccessGenqlSelection & {
6279
6367
  __args: {
@@ -7027,6 +7115,11 @@ export interface MutationGenqlSelection {
7027
7115
  appToken: Scalars['String'];
7028
7116
  };
7029
7117
  });
7118
+ signOut?: {
7119
+ __args: {
7120
+ refreshToken?: (Scalars['String'] | null);
7121
+ };
7122
+ } | boolean | number;
7030
7123
  generateApiKeyToken?: (ApiKeyTokenGenqlSelection & {
7031
7124
  __args: {
7032
7125
  apiKeyId: Scalars['UUID'];
@@ -7038,6 +7131,7 @@ export interface MutationGenqlSelection {
7038
7131
  __args: {
7039
7132
  email: Scalars['String'];
7040
7133
  workspaceId?: (Scalars['UUID'] | null);
7134
+ captchaToken?: (Scalars['String'] | null);
7041
7135
  };
7042
7136
  });
7043
7137
  updatePasswordViaResetToken?: (InvalidatePasswordGenqlSelection & {
@@ -7133,6 +7227,7 @@ export interface MutationGenqlSelection {
7133
7227
  workspaceId: Scalars['UUID'];
7134
7228
  };
7135
7229
  });
7230
+ stopImpersonation?: StopImpersonationGenqlSelection;
7136
7231
  createCalendarEvent?: (CreateCalendarEventOutputGenqlSelection & {
7137
7232
  __args: {
7138
7233
  input: CreateCalendarEventInput;
@@ -7196,6 +7291,11 @@ export interface MutationGenqlSelection {
7196
7291
  filePath: Scalars['String'];
7197
7292
  };
7198
7293
  });
7294
+ revokeApplicationAuthorization?: {
7295
+ __args: {
7296
+ applicationAuthorizationId: Scalars['UUID'];
7297
+ };
7298
+ };
7199
7299
  generateApplicationToken?: (ApplicationTokenPairGenqlSelection & {
7200
7300
  __args: {
7201
7301
  applicationId: Scalars['UUID'];
@@ -7307,6 +7407,7 @@ export interface CreateViewInput {
7307
7407
  isCompact?: (Scalars['Boolean'] | null);
7308
7408
  shouldHideEmptyGroups?: (Scalars['Boolean'] | null);
7309
7409
  kanbanColumnWidth?: (Scalars['Int'] | null);
7410
+ /** Deprecated: Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend. */
7310
7411
  openRecordIn?: (ViewOpenRecordIn | null);
7311
7412
  kanbanAggregateOperation?: (AggregateOperations | null);
7312
7413
  kanbanAggregateOperationFieldMetadataId?: (Scalars['UUID'] | null);
@@ -7324,6 +7425,7 @@ export interface UpdateViewInput {
7324
7425
  icon?: (Scalars['String'] | null);
7325
7426
  position?: (Scalars['Float'] | null);
7326
7427
  isCompact?: (Scalars['Boolean'] | null);
7428
+ /** Deprecated: Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend. */
7327
7429
  openRecordIn?: (ViewOpenRecordIn | null);
7328
7430
  kanbanAggregateOperation?: (AggregateOperations | null);
7329
7431
  kanbanAggregateOperationFieldMetadataId?: (Scalars['UUID'] | null);
@@ -7355,6 +7457,7 @@ export interface UpsertViewWidgetViewSettingsInput {
7355
7457
  type?: (ViewType | null);
7356
7458
  mainGroupByFieldMetadataId?: (Scalars['UUID'] | null);
7357
7459
  shouldHideEmptyGroups?: (Scalars['Boolean'] | null);
7460
+ /** Deprecated: Superseded by objectMetadata.openRecordIn and the workspace member preference; kept one release for API compatibility, no longer read by the frontend. */
7358
7461
  openRecordIn?: (ViewOpenRecordIn | null);
7359
7462
  kanbanAggregateOperation?: (AggregateOperations | null);
7360
7463
  kanbanAggregateOperationFieldMetadataId?: (Scalars['UUID'] | null);
@@ -7667,6 +7770,7 @@ export interface UpdateObjectPayload {
7667
7770
  imageIdentifierFieldMetadataId?: (Scalars['UUID'] | null);
7668
7771
  isLabelSyncedWithName?: (Scalars['Boolean'] | null);
7669
7772
  isSearchable?: (Scalars['Boolean'] | null);
7773
+ openRecordIn?: (ObjectOpenRecordIn | null);
7670
7774
  }
7671
7775
  export interface CreateOneIndexInput {
7672
7776
  /** The custom index to create */
@@ -8535,6 +8639,30 @@ export declare const isFileWithSignedUrl: (obj?: {
8535
8639
  export declare const isFileUploadTarget: (obj?: {
8536
8640
  __typename?: any;
8537
8641
  } | null | undefined) => obj is FileUploadTarget;
8642
+ export declare const isRecordIdentifier: (obj?: {
8643
+ __typename?: any;
8644
+ } | null | undefined) => obj is RecordIdentifier;
8645
+ export declare const isNavigationMenuItem: (obj?: {
8646
+ __typename?: any;
8647
+ } | null | undefined) => obj is NavigationMenuItem;
8648
+ export declare const isObjectRecordEventProperties: (obj?: {
8649
+ __typename?: any;
8650
+ } | null | undefined) => obj is ObjectRecordEventProperties;
8651
+ export declare const isMetadataEvent: (obj?: {
8652
+ __typename?: any;
8653
+ } | null | undefined) => obj is MetadataEvent;
8654
+ export declare const isObjectRecordEvent: (obj?: {
8655
+ __typename?: any;
8656
+ } | null | undefined) => obj is ObjectRecordEvent;
8657
+ export declare const isObjectRecordEventWithQueryIds: (obj?: {
8658
+ __typename?: any;
8659
+ } | null | undefined) => obj is ObjectRecordEventWithQueryIds;
8660
+ export declare const isEventSubscription: (obj?: {
8661
+ __typename?: any;
8662
+ } | null | undefined) => obj is EventSubscription;
8663
+ export declare const isUserSession: (obj?: {
8664
+ __typename?: any;
8665
+ } | null | undefined) => obj is UserSession;
8538
8666
  export declare const isBillingEndTrialPeriod: (obj?: {
8539
8667
  __typename?: any;
8540
8668
  } | null | undefined) => obj is BillingEndTrialPeriod;
@@ -8565,27 +8693,6 @@ export declare const isWorkspaceInvitation: (obj?: {
8565
8693
  export declare const isSendInvitations: (obj?: {
8566
8694
  __typename?: any;
8567
8695
  } | 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
8696
  export declare const isFeatureFlag: (obj?: {
8590
8697
  __typename?: any;
8591
8698
  } | null | undefined) => obj is FeatureFlag;
@@ -8844,6 +8951,9 @@ export declare const isWorkspaceInviteHashValid: (obj?: {
8844
8951
  export declare const isImpersonate: (obj?: {
8845
8952
  __typename?: any;
8846
8953
  } | null | undefined) => obj is Impersonate;
8954
+ export declare const isStopImpersonation: (obj?: {
8955
+ __typename?: any;
8956
+ } | null | undefined) => obj is StopImpersonation;
8847
8957
  export declare const isUsageTimeSeries: (obj?: {
8848
8958
  __typename?: any;
8849
8959
  } | null | undefined) => obj is UsageTimeSeries;
@@ -8853,6 +8963,9 @@ export declare const isUsageUserDaily: (obj?: {
8853
8963
  export declare const isUsageAnalytics: (obj?: {
8854
8964
  __typename?: any;
8855
8965
  } | null | undefined) => obj is UsageAnalytics;
8966
+ export declare const isApplicationAuthorization: (obj?: {
8967
+ __typename?: any;
8968
+ } | null | undefined) => obj is ApplicationAuthorization;
8856
8969
  export declare const isDevelopmentApplication: (obj?: {
8857
8970
  __typename?: any;
8858
8971
  } | null | undefined) => obj is DevelopmentApplication;
@@ -9167,6 +9280,15 @@ export declare const enumIndexType: {
9167
9280
  BTREE: "BTREE";
9168
9281
  GIN: "GIN";
9169
9282
  };
9283
+ export declare const enumObjectOpenRecordIn: {
9284
+ SIDE_PANEL: "SIDE_PANEL";
9285
+ RECORD_PAGE: "RECORD_PAGE";
9286
+ USER_CHOICE: "USER_CHOICE";
9287
+ };
9288
+ export declare const enumOpenRecordIn: {
9289
+ SIDE_PANEL: "SIDE_PANEL";
9290
+ RECORD_PAGE: "RECORD_PAGE";
9291
+ };
9170
9292
  export declare const enumWorkspaceMemberDateFormatEnum: {
9171
9293
  SYSTEM: "SYSTEM";
9172
9294
  MONTH_FIRST: "MONTH_FIRST";