twenty-client-sdk 2.35.1 → 2.37.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.
@@ -8,6 +8,7 @@ export type Scalars = {
8
8
  Int: number;
9
9
  ConnectionCursor: any;
10
10
  JSONObject: any;
11
+ BigInt: any;
11
12
  ID: string;
12
13
  Upload: File;
13
14
  };
@@ -37,6 +38,7 @@ export interface ApplicationVariable {
37
38
  key: Scalars['String'];
38
39
  value: Scalars['String'];
39
40
  description: Scalars['String'];
41
+ label: Scalars['String'];
40
42
  isSecret: Scalars['Boolean'];
41
43
  isDeprecated: Scalars['Boolean'];
42
44
  type: Scalars['String'];
@@ -628,8 +630,8 @@ export interface PageLayoutWidget {
628
630
  title: Scalars['String'];
629
631
  type: WidgetType;
630
632
  objectMetadataId?: Scalars['UUID'];
631
- /** @deprecated Use `position` instead. Will be removed in a future release. */
632
- gridPosition: GridPosition;
633
+ /** @deprecated Use `position` instead. */
634
+ gridPosition?: GridPosition;
633
635
  position?: PageLayoutWidgetPosition;
634
636
  configuration: WidgetConfiguration;
635
637
  conditionalDisplay?: Scalars['JSON'];
@@ -1235,12 +1237,63 @@ export interface SendInvitations {
1235
1237
  result: WorkspaceInvitation[];
1236
1238
  __typename: 'SendInvitations';
1237
1239
  }
1240
+ export interface PublicConnectionParametersOutput {
1241
+ host: Scalars['String'];
1242
+ port: Scalars['Float'];
1243
+ username?: Scalars['String'];
1244
+ connectionSecurity?: EmailConnectionSecurity;
1245
+ __typename: 'PublicConnectionParametersOutput';
1246
+ }
1247
+ export type EmailConnectionSecurity = 'NONE' | 'STARTTLS' | 'SSL_TLS';
1248
+ export interface PublicImapSmtpCaldavConnectionParameters {
1249
+ IMAP?: PublicConnectionParametersOutput;
1250
+ SMTP?: PublicConnectionParametersOutput;
1251
+ CALDAV?: PublicConnectionParametersOutput;
1252
+ __typename: 'PublicImapSmtpCaldavConnectionParameters';
1253
+ }
1254
+ export interface ConnectedAccountPublicDTO {
1255
+ id: Scalars['UUID'];
1256
+ handle: Scalars['String'];
1257
+ provider: Scalars['String'];
1258
+ lastCredentialsRefreshedAt?: Scalars['DateTime'];
1259
+ authFailedAt?: Scalars['DateTime'];
1260
+ archivedAt?: Scalars['DateTime'];
1261
+ handleAliases?: Scalars['String'][];
1262
+ scopes?: Scalars['String'][];
1263
+ lastSignedInAt?: Scalars['DateTime'];
1264
+ userWorkspaceId: Scalars['UUID'];
1265
+ connectionProviderId?: Scalars['UUID'];
1266
+ applicationId?: Scalars['UUID'];
1267
+ name?: Scalars['String'];
1268
+ visibility: Scalars['String'];
1269
+ createdAt: Scalars['DateTime'];
1270
+ updatedAt: Scalars['DateTime'];
1271
+ connectionParameters?: PublicImapSmtpCaldavConnectionParameters;
1272
+ __typename: 'ConnectedAccountPublicDTO';
1273
+ }
1274
+ export interface UsageLimit {
1275
+ id: Scalars['UUID'];
1276
+ resourceType: UsageResourceType;
1277
+ operationType: UsageOperationType;
1278
+ spenderType: Scalars['String'];
1279
+ spenderId: Scalars['String'];
1280
+ limitKind: Scalars['String'];
1281
+ windowSeconds: Scalars['Int'];
1282
+ limitValueType: Scalars['String'];
1283
+ limitValue: Scalars['BigInt'];
1284
+ burstValue?: Scalars['BigInt'];
1285
+ createdAt: Scalars['DateTime'];
1286
+ updatedAt: Scalars['DateTime'];
1287
+ __typename: 'UsageLimit';
1288
+ }
1289
+ export type UsageResourceType = 'AI' | 'WORKFLOW' | 'APP' | 'STORAGE' | 'API' | 'LOGIC_FUNCTION' | 'EMAIL';
1290
+ export type UsageOperationType = 'AI_CHAT_TOKEN' | 'AI_WORKFLOW_TOKEN' | 'WORKFLOW_EXECUTION' | 'CODE_EXECUTION' | 'WEB_SEARCH' | 'CALL_RECORDING' | 'EMAIL_SEND' | 'API_REQUEST';
1238
1291
  export interface FeatureFlag {
1239
1292
  key: FeatureFlagKey;
1240
1293
  value: Scalars['Boolean'];
1241
1294
  __typename: 'FeatureFlag';
1242
1295
  }
1243
- 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_LIST_VIEW_ENABLED' | 'IS_REST_METADATA_API_NEW_FORMAT_DIRECT' | 'IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED' | 'IS_WORKFLOW_VERSION_IN_CORE_ENABLED' | 'IS_WORKFLOW_CORE_INDEX_PAGE_ENABLED' | 'IS_WORKFLOW_DISPATCH_FROM_CORE_ENABLED';
1296
+ export type FeatureFlagKey = 'IS_APP_CLAIMING_ENABLED' | 'IS_UNIQUE_INDEXES_ENABLED' | 'IS_JSON_FILTER_ENABLED' | 'IS_EMAIL_GROUP_ENABLED' | 'IS_JUNCTION_RELATIONS_ENABLED' | 'IS_LIST_VIEW_ENABLED' | 'IS_REST_METADATA_API_NEW_FORMAT_DIRECT' | 'IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED' | 'IS_WORKFLOW_VERSION_IN_CORE_ENABLED' | 'IS_WORKFLOW_CORE_INDEX_PAGE_ENABLED' | 'IS_WORKFLOW_DISPATCH_FROM_CORE_ENABLED' | 'IS_API_RATE_LIMIT_V2_ENABLED' | 'IS_MESSAGE_CALENDAR_TARGET_READ_ENABLED';
1244
1297
  export interface WorkspaceUrls {
1245
1298
  customUrl?: Scalars['String'];
1246
1299
  subdomainUrl: Scalars['String'];
@@ -1468,6 +1521,7 @@ export interface AppConnection {
1468
1521
  handle: Scalars['String'];
1469
1522
  visibility: Scalars['String'];
1470
1523
  userWorkspaceId: Scalars['String'];
1524
+ workspaceMemberId?: Scalars['String'];
1471
1525
  accessToken: Scalars['String'];
1472
1526
  scopes: Scalars['String'][];
1473
1527
  authFailedAt?: Scalars['String'];
@@ -1793,40 +1847,6 @@ export interface LogicFunctionLogs {
1793
1847
  logs: Scalars['String'];
1794
1848
  __typename: 'LogicFunctionLogs';
1795
1849
  }
1796
- export interface PublicConnectionParametersOutput {
1797
- host: Scalars['String'];
1798
- port: Scalars['Float'];
1799
- username?: Scalars['String'];
1800
- connectionSecurity?: EmailConnectionSecurity;
1801
- __typename: 'PublicConnectionParametersOutput';
1802
- }
1803
- export type EmailConnectionSecurity = 'NONE' | 'STARTTLS' | 'SSL_TLS';
1804
- export interface PublicImapSmtpCaldavConnectionParameters {
1805
- IMAP?: PublicConnectionParametersOutput;
1806
- SMTP?: PublicConnectionParametersOutput;
1807
- CALDAV?: PublicConnectionParametersOutput;
1808
- __typename: 'PublicImapSmtpCaldavConnectionParameters';
1809
- }
1810
- export interface ConnectedAccountPublicDTO {
1811
- id: Scalars['UUID'];
1812
- handle: Scalars['String'];
1813
- provider: Scalars['String'];
1814
- lastCredentialsRefreshedAt?: Scalars['DateTime'];
1815
- authFailedAt?: Scalars['DateTime'];
1816
- archivedAt?: Scalars['DateTime'];
1817
- handleAliases?: Scalars['String'][];
1818
- scopes?: Scalars['String'][];
1819
- lastSignedInAt?: Scalars['DateTime'];
1820
- userWorkspaceId: Scalars['UUID'];
1821
- connectionProviderId?: Scalars['UUID'];
1822
- applicationId?: Scalars['UUID'];
1823
- name?: Scalars['String'];
1824
- visibility: Scalars['String'];
1825
- createdAt: Scalars['DateTime'];
1826
- updatedAt: Scalars['DateTime'];
1827
- connectionParameters?: PublicImapSmtpCaldavConnectionParameters;
1828
- __typename: 'ConnectedAccountPublicDTO';
1829
- }
1830
1850
  export interface DeleteTwoFactorAuthenticationMethod {
1831
1851
  /** Boolean that confirms query was dispatched */
1832
1852
  success: Scalars['Boolean'];
@@ -1970,6 +1990,44 @@ export interface ApplicationAuthorization {
1970
1990
  createdAt: Scalars['DateTime'];
1971
1991
  __typename: 'ApplicationAuthorization';
1972
1992
  }
1993
+ export interface File {
1994
+ id: Scalars['UUID'];
1995
+ path: Scalars['String'];
1996
+ size: Scalars['Float'];
1997
+ createdAt: Scalars['DateTime'];
1998
+ __typename: 'File';
1999
+ }
2000
+ export interface ApplicationFileCompletionError {
2001
+ fileId: Scalars['UUID'];
2002
+ message: Scalars['String'];
2003
+ __typename: 'ApplicationFileCompletionError';
2004
+ }
2005
+ export interface CompleteApplicationFileUploadsResult {
2006
+ files: File[];
2007
+ errors: ApplicationFileCompletionError[];
2008
+ __typename: 'CompleteApplicationFileUploadsResult';
2009
+ }
2010
+ export interface ApplicationFileUploadTarget {
2011
+ fileId: Scalars['UUID'];
2012
+ fileFolder: FileFolder;
2013
+ filePath: Scalars['String'];
2014
+ uploadUrl: Scalars['String'];
2015
+ contentType: Scalars['String'];
2016
+ expiresAt: Scalars['DateTime'];
2017
+ __typename: 'ApplicationFileUploadTarget';
2018
+ }
2019
+ export type FileFolder = 'CorePicture' | 'AgentChat' | 'BuiltLogicFunction' | 'BuiltFrontComponent' | 'PublicAsset' | 'Source' | 'FilesField' | 'Dependencies' | 'Workflow' | 'EmailAttachment' | 'EmailImage' | 'AppTarball' | 'GeneratedSdkClient' | 'Dpa';
2020
+ export interface ApplicationFileUploadError {
2021
+ fileFolder: FileFolder;
2022
+ filePath: Scalars['String'];
2023
+ message: Scalars['String'];
2024
+ __typename: 'ApplicationFileUploadError';
2025
+ }
2026
+ export interface CreateApplicationFileUploadsResult {
2027
+ targets: ApplicationFileUploadTarget[];
2028
+ errors: ApplicationFileUploadError[];
2029
+ __typename: 'CreateApplicationFileUploadsResult';
2030
+ }
1973
2031
  export interface DevelopmentApplication {
1974
2032
  id: Scalars['String'];
1975
2033
  universalIdentifier: Scalars['String'];
@@ -1980,13 +2038,6 @@ export interface WorkspaceMigration {
1980
2038
  actions: Scalars['JSON'];
1981
2039
  __typename: 'WorkspaceMigration';
1982
2040
  }
1983
- export interface File {
1984
- id: Scalars['UUID'];
1985
- path: Scalars['String'];
1986
- size: Scalars['Float'];
1987
- createdAt: Scalars['DateTime'];
1988
- __typename: 'File';
1989
- }
1990
2041
  export interface PublicDomain {
1991
2042
  id: Scalars['UUID'];
1992
2043
  domain: Scalars['String'];
@@ -2554,6 +2605,7 @@ export interface Query {
2554
2605
  enterprisePortalSession?: Scalars['String'];
2555
2606
  enterpriseCheckoutSession?: Scalars['String'];
2556
2607
  enterpriseSubscriptionStatus?: EnterpriseSubscriptionStatusDTO;
2608
+ usageLimits: UsageLimit[];
2557
2609
  getViewFilterGroups: ViewFilterGroup[];
2558
2610
  getViewFilterGroup?: ViewFilterGroup;
2559
2611
  getViewFilters: ViewFilter[];
@@ -2570,8 +2622,9 @@ export interface Query {
2570
2622
  getApiKeyRoles: Role[];
2571
2623
  apiKey?: ApiKey;
2572
2624
  currentUserSessions: UserSession[];
2573
- getInviteSuggestions: InviteSuggestion[];
2625
+ myConnectedAccounts: ConnectedAccountPublicDTO[];
2574
2626
  applicationConnectionProviders: ApplicationConnectionProvider[];
2627
+ getInviteSuggestions: InviteSuggestion[];
2575
2628
  billingPortalSession: BillingSession;
2576
2629
  listPlans: BillingPlan[];
2577
2630
  getResourceCreditUsage: BillingResourceCreditUsage[];
@@ -2625,7 +2678,6 @@ export interface Query {
2625
2678
  unsubscribeTopics: UnsubscribeTopic[];
2626
2679
  myMessageChannels: MessageChannel[];
2627
2680
  getEmailingDomains: EmailingDomain[];
2628
- myConnectedAccounts: ConnectedAccountPublicDTO[];
2629
2681
  getToolIndex: ToolIndexEntry[];
2630
2682
  getToolInputSchema?: Scalars['JSON'];
2631
2683
  webhooks: Webhook[];
@@ -2668,7 +2720,6 @@ export interface Query {
2668
2720
  __typename: 'Query';
2669
2721
  }
2670
2722
  export type EventLogTable = 'WORKSPACE_EVENT' | 'PAGEVIEW' | 'OBJECT_EVENT' | 'USAGE_EVENT' | 'APPLICATION_LOG';
2671
- export type UsageOperationType = 'AI_CHAT_TOKEN' | 'AI_WORKFLOW_TOKEN' | 'WORKFLOW_EXECUTION' | 'CODE_EXECUTION' | 'WEB_SEARCH' | 'CALL_RECORDING' | 'EMAIL_SEND';
2672
2723
  export interface Mutation {
2673
2724
  addQueryToEventStream: Scalars['Boolean'];
2674
2725
  removeQueryFromEventStream: Scalars['Boolean'];
@@ -2690,6 +2741,8 @@ export interface Mutation {
2690
2741
  uploadWorkspaceMemberProfilePicture: FileWithSignedUrl;
2691
2742
  uploadFilesFieldFile: FileWithSignedUrl;
2692
2743
  uploadFilesFieldFileByUniversalIdentifier: FileWithSignedUrl;
2744
+ upsertUsageLimit: UsageLimit;
2745
+ deleteUsageLimit: Scalars['Boolean'];
2693
2746
  createViewFilterGroup: ViewFilterGroup;
2694
2747
  updateViewFilterGroup: ViewFilterGroup;
2695
2748
  deleteViewFilterGroup: Scalars['Boolean'];
@@ -2724,11 +2777,12 @@ export interface Mutation {
2724
2777
  assignRoleToApiKey: Scalars['Boolean'];
2725
2778
  revokeUserSession: Scalars['Boolean'];
2726
2779
  revokeAllOtherUserSessions: Scalars['Int'];
2780
+ deleteConnectedAccount: ConnectedAccountPublicDTO;
2781
+ updateOneApplicationVariable: Scalars['Boolean'];
2727
2782
  skipSyncEmailOnboardingStep: OnboardingStepSuccess;
2728
2783
  completeBookCallOnboardingStep: OnboardingStepSuccess;
2729
2784
  triggerInstallAppsOnboardingStep: OnboardingStepSuccess;
2730
2785
  goBackToPreviousOnboardingStep: OnboardingStepNavigation;
2731
- updateOneApplicationVariable: Scalars['Boolean'];
2732
2786
  checkoutSession: BillingSession;
2733
2787
  createSubscriptionPaymentIntent: BillingPaymentIntent;
2734
2788
  createBillingPaymentMethodSetupIntent: BillingPaymentIntent;
@@ -2831,7 +2885,6 @@ export interface Mutation {
2831
2885
  createEmailingDomain: EmailingDomain;
2832
2886
  deleteEmailingDomain: Scalars['Boolean'];
2833
2887
  verifyEmailingDomain: EmailingDomain;
2834
- deleteConnectedAccount: ConnectedAccountPublicDTO;
2835
2888
  runAgent: RunAgentResult;
2836
2889
  createWebhook: Webhook;
2837
2890
  updateWebhook: Webhook;
@@ -2913,12 +2966,13 @@ export interface Mutation {
2913
2966
  createDevelopmentApplication: DevelopmentApplication;
2914
2967
  syncApplication: WorkspaceMigration;
2915
2968
  uploadApplicationFile: File;
2969
+ createApplicationFileUploads: CreateApplicationFileUploadsResult;
2970
+ completeApplicationFileUploads: CompleteApplicationFileUploadsResult;
2916
2971
  revokeApplicationAuthorization: Scalars['Boolean'];
2917
2972
  generateApplicationToken: ApplicationTokenPair;
2918
2973
  renewApplicationToken: ApplicationTokenPair;
2919
2974
  __typename: 'Mutation';
2920
2975
  }
2921
- export type FileFolder = 'CorePicture' | 'AgentChat' | 'BuiltLogicFunction' | 'BuiltFrontComponent' | 'PublicAsset' | 'Source' | 'FilesField' | 'Dependencies' | 'Workflow' | 'EmailAttachment' | 'EmailImage' | 'AppTarball' | 'GeneratedSdkClient' | 'Dpa';
2922
2976
  export type RunAgentMessageRole = 'user' | 'assistant';
2923
2977
  export type AnalyticsType = 'PAGEVIEW' | 'TRACK';
2924
2978
  export interface Subscription {
@@ -2962,6 +3016,7 @@ export interface ApplicationVariableGenqlSelection {
2962
3016
  key?: boolean | number;
2963
3017
  value?: boolean | number;
2964
3018
  description?: boolean | number;
3019
+ label?: boolean | number;
2965
3020
  isSecret?: boolean | number;
2966
3021
  isDeprecated?: boolean | number;
2967
3022
  type?: boolean | number;
@@ -3624,7 +3679,7 @@ export interface PageLayoutWidgetGenqlSelection {
3624
3679
  title?: boolean | number;
3625
3680
  type?: boolean | number;
3626
3681
  objectMetadataId?: boolean | number;
3627
- /** @deprecated Use `position` instead. Will be removed in a future release. */
3682
+ /** @deprecated Use `position` instead. */
3628
3683
  gridPosition?: GridPositionGenqlSelection;
3629
3684
  position?: PageLayoutWidgetPositionGenqlSelection;
3630
3685
  configuration?: WidgetConfigurationGenqlSelection;
@@ -4299,6 +4354,58 @@ export interface SendInvitationsGenqlSelection {
4299
4354
  __typename?: boolean | number;
4300
4355
  __scalar?: boolean | number;
4301
4356
  }
4357
+ export interface PublicConnectionParametersOutputGenqlSelection {
4358
+ host?: boolean | number;
4359
+ port?: boolean | number;
4360
+ username?: boolean | number;
4361
+ connectionSecurity?: boolean | number;
4362
+ __typename?: boolean | number;
4363
+ __scalar?: boolean | number;
4364
+ }
4365
+ export interface PublicImapSmtpCaldavConnectionParametersGenqlSelection {
4366
+ IMAP?: PublicConnectionParametersOutputGenqlSelection;
4367
+ SMTP?: PublicConnectionParametersOutputGenqlSelection;
4368
+ CALDAV?: PublicConnectionParametersOutputGenqlSelection;
4369
+ __typename?: boolean | number;
4370
+ __scalar?: boolean | number;
4371
+ }
4372
+ export interface ConnectedAccountPublicDTOGenqlSelection {
4373
+ id?: boolean | number;
4374
+ handle?: boolean | number;
4375
+ provider?: boolean | number;
4376
+ lastCredentialsRefreshedAt?: boolean | number;
4377
+ authFailedAt?: boolean | number;
4378
+ archivedAt?: boolean | number;
4379
+ handleAliases?: boolean | number;
4380
+ scopes?: boolean | number;
4381
+ lastSignedInAt?: boolean | number;
4382
+ userWorkspaceId?: boolean | number;
4383
+ connectionProviderId?: boolean | number;
4384
+ applicationId?: boolean | number;
4385
+ name?: boolean | number;
4386
+ visibility?: boolean | number;
4387
+ createdAt?: boolean | number;
4388
+ updatedAt?: boolean | number;
4389
+ connectionParameters?: PublicImapSmtpCaldavConnectionParametersGenqlSelection;
4390
+ __typename?: boolean | number;
4391
+ __scalar?: boolean | number;
4392
+ }
4393
+ export interface UsageLimitGenqlSelection {
4394
+ id?: boolean | number;
4395
+ resourceType?: boolean | number;
4396
+ operationType?: boolean | number;
4397
+ spenderType?: boolean | number;
4398
+ spenderId?: boolean | number;
4399
+ limitKind?: boolean | number;
4400
+ windowSeconds?: boolean | number;
4401
+ limitValueType?: boolean | number;
4402
+ limitValue?: boolean | number;
4403
+ burstValue?: boolean | number;
4404
+ createdAt?: boolean | number;
4405
+ updatedAt?: boolean | number;
4406
+ __typename?: boolean | number;
4407
+ __scalar?: boolean | number;
4408
+ }
4302
4409
  export interface FeatureFlagGenqlSelection {
4303
4410
  key?: boolean | number;
4304
4411
  value?: boolean | number;
@@ -4553,6 +4660,7 @@ export interface AppConnectionGenqlSelection {
4553
4660
  handle?: boolean | number;
4554
4661
  visibility?: boolean | number;
4555
4662
  userWorkspaceId?: boolean | number;
4663
+ workspaceMemberId?: boolean | number;
4556
4664
  accessToken?: boolean | number;
4557
4665
  scopes?: boolean | number;
4558
4666
  authFailedAt?: boolean | number;
@@ -4905,42 +5013,6 @@ export interface LogicFunctionLogsGenqlSelection {
4905
5013
  __typename?: boolean | number;
4906
5014
  __scalar?: boolean | number;
4907
5015
  }
4908
- export interface PublicConnectionParametersOutputGenqlSelection {
4909
- host?: boolean | number;
4910
- port?: boolean | number;
4911
- username?: boolean | number;
4912
- connectionSecurity?: boolean | number;
4913
- __typename?: boolean | number;
4914
- __scalar?: boolean | number;
4915
- }
4916
- export interface PublicImapSmtpCaldavConnectionParametersGenqlSelection {
4917
- IMAP?: PublicConnectionParametersOutputGenqlSelection;
4918
- SMTP?: PublicConnectionParametersOutputGenqlSelection;
4919
- CALDAV?: PublicConnectionParametersOutputGenqlSelection;
4920
- __typename?: boolean | number;
4921
- __scalar?: boolean | number;
4922
- }
4923
- export interface ConnectedAccountPublicDTOGenqlSelection {
4924
- id?: boolean | number;
4925
- handle?: boolean | number;
4926
- provider?: boolean | number;
4927
- lastCredentialsRefreshedAt?: boolean | number;
4928
- authFailedAt?: boolean | number;
4929
- archivedAt?: boolean | number;
4930
- handleAliases?: boolean | number;
4931
- scopes?: boolean | number;
4932
- lastSignedInAt?: boolean | number;
4933
- userWorkspaceId?: boolean | number;
4934
- connectionProviderId?: boolean | number;
4935
- applicationId?: boolean | number;
4936
- name?: boolean | number;
4937
- visibility?: boolean | number;
4938
- createdAt?: boolean | number;
4939
- updatedAt?: boolean | number;
4940
- connectionParameters?: PublicImapSmtpCaldavConnectionParametersGenqlSelection;
4941
- __typename?: boolean | number;
4942
- __scalar?: boolean | number;
4943
- }
4944
5016
  export interface DeleteTwoFactorAuthenticationMethodGenqlSelection {
4945
5017
  /** Boolean that confirms query was dispatched */
4946
5018
  success?: boolean | number;
@@ -5111,6 +5183,49 @@ export interface ApplicationAuthorizationGenqlSelection {
5111
5183
  __typename?: boolean | number;
5112
5184
  __scalar?: boolean | number;
5113
5185
  }
5186
+ export interface FileGenqlSelection {
5187
+ id?: boolean | number;
5188
+ path?: boolean | number;
5189
+ size?: boolean | number;
5190
+ createdAt?: boolean | number;
5191
+ __typename?: boolean | number;
5192
+ __scalar?: boolean | number;
5193
+ }
5194
+ export interface ApplicationFileCompletionErrorGenqlSelection {
5195
+ fileId?: boolean | number;
5196
+ message?: boolean | number;
5197
+ __typename?: boolean | number;
5198
+ __scalar?: boolean | number;
5199
+ }
5200
+ export interface CompleteApplicationFileUploadsResultGenqlSelection {
5201
+ files?: FileGenqlSelection;
5202
+ errors?: ApplicationFileCompletionErrorGenqlSelection;
5203
+ __typename?: boolean | number;
5204
+ __scalar?: boolean | number;
5205
+ }
5206
+ export interface ApplicationFileUploadTargetGenqlSelection {
5207
+ fileId?: boolean | number;
5208
+ fileFolder?: boolean | number;
5209
+ filePath?: boolean | number;
5210
+ uploadUrl?: boolean | number;
5211
+ contentType?: boolean | number;
5212
+ expiresAt?: boolean | number;
5213
+ __typename?: boolean | number;
5214
+ __scalar?: boolean | number;
5215
+ }
5216
+ export interface ApplicationFileUploadErrorGenqlSelection {
5217
+ fileFolder?: boolean | number;
5218
+ filePath?: boolean | number;
5219
+ message?: boolean | number;
5220
+ __typename?: boolean | number;
5221
+ __scalar?: boolean | number;
5222
+ }
5223
+ export interface CreateApplicationFileUploadsResultGenqlSelection {
5224
+ targets?: ApplicationFileUploadTargetGenqlSelection;
5225
+ errors?: ApplicationFileUploadErrorGenqlSelection;
5226
+ __typename?: boolean | number;
5227
+ __scalar?: boolean | number;
5228
+ }
5114
5229
  export interface DevelopmentApplicationGenqlSelection {
5115
5230
  id?: boolean | number;
5116
5231
  universalIdentifier?: boolean | number;
@@ -5123,14 +5238,6 @@ export interface WorkspaceMigrationGenqlSelection {
5123
5238
  __typename?: boolean | number;
5124
5239
  __scalar?: boolean | number;
5125
5240
  }
5126
- export interface FileGenqlSelection {
5127
- id?: boolean | number;
5128
- path?: boolean | number;
5129
- size?: boolean | number;
5130
- createdAt?: boolean | number;
5131
- __typename?: boolean | number;
5132
- __scalar?: boolean | number;
5133
- }
5134
5241
  export interface PublicDomainGenqlSelection {
5135
5242
  id?: boolean | number;
5136
5243
  domain?: boolean | number;
@@ -5760,6 +5867,7 @@ export interface QueryGenqlSelection {
5760
5867
  };
5761
5868
  } | boolean | number;
5762
5869
  enterpriseSubscriptionStatus?: EnterpriseSubscriptionStatusDTOGenqlSelection;
5870
+ usageLimits?: UsageLimitGenqlSelection;
5763
5871
  getViewFilterGroups?: (ViewFilterGroupGenqlSelection & {
5764
5872
  __args?: {
5765
5873
  viewId?: (Scalars['String'] | null);
@@ -5829,12 +5937,13 @@ export interface QueryGenqlSelection {
5829
5937
  };
5830
5938
  });
5831
5939
  currentUserSessions?: UserSessionGenqlSelection;
5832
- getInviteSuggestions?: InviteSuggestionGenqlSelection;
5940
+ myConnectedAccounts?: ConnectedAccountPublicDTOGenqlSelection;
5833
5941
  applicationConnectionProviders?: (ApplicationConnectionProviderGenqlSelection & {
5834
5942
  __args: {
5835
5943
  applicationId: Scalars['UUID'];
5836
5944
  };
5837
5945
  });
5946
+ getInviteSuggestions?: InviteSuggestionGenqlSelection;
5838
5947
  billingPortalSession?: (BillingSessionGenqlSelection & {
5839
5948
  __args?: {
5840
5949
  returnUrlPath?: (Scalars['String'] | null);
@@ -6052,7 +6161,6 @@ export interface QueryGenqlSelection {
6052
6161
  };
6053
6162
  });
6054
6163
  getEmailingDomains?: EmailingDomainGenqlSelection;
6055
- myConnectedAccounts?: ConnectedAccountPublicDTOGenqlSelection;
6056
6164
  getToolIndex?: ToolIndexEntryGenqlSelection;
6057
6165
  getToolInputSchema?: {
6058
6166
  __args: {
@@ -6384,6 +6492,16 @@ export interface MutationGenqlSelection {
6384
6492
  fieldMetadataUniversalIdentifier: Scalars['String'];
6385
6493
  };
6386
6494
  });
6495
+ upsertUsageLimit?: (UsageLimitGenqlSelection & {
6496
+ __args: {
6497
+ input: UpsertUsageLimitInput;
6498
+ };
6499
+ });
6500
+ deleteUsageLimit?: {
6501
+ __args: {
6502
+ usageLimitId: Scalars['UUID'];
6503
+ };
6504
+ };
6387
6505
  createViewFilterGroup?: (ViewFilterGroupGenqlSelection & {
6388
6506
  __args: {
6389
6507
  input: CreateViewFilterGroupInput;
@@ -6553,6 +6671,18 @@ export interface MutationGenqlSelection {
6553
6671
  };
6554
6672
  };
6555
6673
  revokeAllOtherUserSessions?: boolean | number;
6674
+ deleteConnectedAccount?: (ConnectedAccountPublicDTOGenqlSelection & {
6675
+ __args: {
6676
+ id: Scalars['UUID'];
6677
+ };
6678
+ });
6679
+ updateOneApplicationVariable?: {
6680
+ __args: {
6681
+ key: Scalars['String'];
6682
+ value: Scalars['String'];
6683
+ applicationId: Scalars['UUID'];
6684
+ };
6685
+ };
6556
6686
  skipSyncEmailOnboardingStep?: (OnboardingStepSuccessGenqlSelection & {
6557
6687
  __args: {
6558
6688
  isAutoSkipped: Scalars['Boolean'];
@@ -6571,13 +6701,6 @@ export interface MutationGenqlSelection {
6571
6701
  };
6572
6702
  });
6573
6703
  goBackToPreviousOnboardingStep?: OnboardingStepNavigationGenqlSelection;
6574
- updateOneApplicationVariable?: {
6575
- __args: {
6576
- key: Scalars['String'];
6577
- value: Scalars['String'];
6578
- applicationId: Scalars['UUID'];
6579
- };
6580
- };
6581
6704
  checkoutSession?: (BillingSessionGenqlSelection & {
6582
6705
  __args: {
6583
6706
  recurringInterval: SubscriptionInterval;
@@ -7060,11 +7183,6 @@ export interface MutationGenqlSelection {
7060
7183
  id: Scalars['String'];
7061
7184
  };
7062
7185
  });
7063
- deleteConnectedAccount?: (ConnectedAccountPublicDTOGenqlSelection & {
7064
- __args: {
7065
- id: Scalars['UUID'];
7066
- };
7067
- });
7068
7186
  runAgent?: (RunAgentResultGenqlSelection & {
7069
7187
  __args: {
7070
7188
  input: RunAgentInput;
@@ -7329,6 +7447,7 @@ export interface MutationGenqlSelection {
7329
7447
  redirectUrl: Scalars['String'];
7330
7448
  state?: (Scalars['String'] | null);
7331
7449
  scope?: (Scalars['String'] | null);
7450
+ issuer?: (Scalars['String'] | null);
7332
7451
  };
7333
7452
  });
7334
7453
  renewToken?: (AuthTokensGenqlSelection & {
@@ -7512,6 +7631,18 @@ export interface MutationGenqlSelection {
7512
7631
  filePath: Scalars['String'];
7513
7632
  };
7514
7633
  });
7634
+ createApplicationFileUploads?: (CreateApplicationFileUploadsResultGenqlSelection & {
7635
+ __args: {
7636
+ applicationUniversalIdentifier: Scalars['String'];
7637
+ files: ApplicationFileUploadRequestInput[];
7638
+ };
7639
+ });
7640
+ completeApplicationFileUploads?: (CompleteApplicationFileUploadsResultGenqlSelection & {
7641
+ __args: {
7642
+ applicationUniversalIdentifier: Scalars['String'];
7643
+ fileIds: Scalars['UUID'][];
7644
+ };
7645
+ });
7515
7646
  revokeApplicationAuthorization?: {
7516
7647
  __args: {
7517
7648
  applicationAuthorizationId: Scalars['UUID'];
@@ -7569,6 +7700,16 @@ export interface UpdateNavigationMenuItemInput {
7569
7700
  color?: (Scalars['String'] | null);
7570
7701
  pageLayoutId?: (Scalars['UUID'] | null);
7571
7702
  }
7703
+ export interface UpsertUsageLimitInput {
7704
+ resourceType: UsageResourceType;
7705
+ operationType: UsageOperationType;
7706
+ spenderType: Scalars['String'];
7707
+ spenderId?: (Scalars['String'] | null);
7708
+ limitKind: Scalars['String'];
7709
+ windowSeconds: Scalars['Int'];
7710
+ limitValue: Scalars['BigInt'];
7711
+ burstValue?: (Scalars['BigInt'] | null);
7712
+ }
7572
7713
  export interface CreateViewFilterGroupInput {
7573
7714
  id?: (Scalars['UUID'] | null);
7574
7715
  parentViewFilterGroupId?: (Scalars['UUID'] | null);
@@ -7892,24 +8033,16 @@ export interface UpdatePageLayoutWidgetWithIdInput {
7892
8033
  title: Scalars['String'];
7893
8034
  type: WidgetType;
7894
8035
  objectMetadataId?: (Scalars['UUID'] | null);
7895
- gridPosition: GridPositionInput;
7896
8036
  position?: (Scalars['JSON'] | null);
7897
8037
  configuration?: (Scalars['JSON'] | null);
7898
8038
  conditionalDisplay?: (Scalars['JSON'] | null);
7899
8039
  conditionalAvailabilityExpression?: (Scalars['String'] | null);
7900
8040
  }
7901
- export interface GridPositionInput {
7902
- row: Scalars['Float'];
7903
- column: Scalars['Float'];
7904
- rowSpan: Scalars['Float'];
7905
- columnSpan: Scalars['Float'];
7906
- }
7907
8041
  export interface CreatePageLayoutWidgetInput {
7908
8042
  pageLayoutTabId: Scalars['UUID'];
7909
8043
  title: Scalars['String'];
7910
8044
  type: WidgetType;
7911
8045
  objectMetadataId?: (Scalars['UUID'] | null);
7912
- gridPosition: GridPositionInput;
7913
8046
  position?: (Scalars['JSON'] | null);
7914
8047
  configuration: Scalars['JSON'];
7915
8048
  }
@@ -7918,7 +8051,6 @@ export interface UpdatePageLayoutWidgetInput {
7918
8051
  title?: (Scalars['String'] | null);
7919
8052
  type?: (WidgetType | null);
7920
8053
  objectMetadataId?: (Scalars['UUID'] | null);
7921
- gridPosition?: (GridPositionInput | null);
7922
8054
  position?: (Scalars['JSON'] | null);
7923
8055
  configuration?: (Scalars['JSON'] | null);
7924
8056
  conditionalDisplay?: (Scalars['JSON'] | null);
@@ -8571,6 +8703,11 @@ export interface UpdateLabPublicFeatureFlagInput {
8571
8703
  publicFeatureFlag: Scalars['String'];
8572
8704
  value: Scalars['Boolean'];
8573
8705
  }
8706
+ export interface ApplicationFileUploadRequestInput {
8707
+ fileFolder: FileFolder;
8708
+ filePath: Scalars['String'];
8709
+ size: Scalars['Int'];
8710
+ }
8574
8711
  export interface SubscriptionGenqlSelection {
8575
8712
  onEventSubscription?: (EventSubscriptionGenqlSelection & {
8576
8713
  __args: {
@@ -8941,6 +9078,18 @@ export declare const isWorkspaceInvitation: (obj?: {
8941
9078
  export declare const isSendInvitations: (obj?: {
8942
9079
  __typename?: any;
8943
9080
  } | null | undefined) => obj is SendInvitations;
9081
+ export declare const isPublicConnectionParametersOutput: (obj?: {
9082
+ __typename?: any;
9083
+ } | null | undefined) => obj is PublicConnectionParametersOutput;
9084
+ export declare const isPublicImapSmtpCaldavConnectionParameters: (obj?: {
9085
+ __typename?: any;
9086
+ } | null | undefined) => obj is PublicImapSmtpCaldavConnectionParameters;
9087
+ export declare const isConnectedAccountPublicDTO: (obj?: {
9088
+ __typename?: any;
9089
+ } | null | undefined) => obj is ConnectedAccountPublicDTO;
9090
+ export declare const isUsageLimit: (obj?: {
9091
+ __typename?: any;
9092
+ } | null | undefined) => obj is UsageLimit;
8944
9093
  export declare const isFeatureFlag: (obj?: {
8945
9094
  __typename?: any;
8946
9095
  } | null | undefined) => obj is FeatureFlag;
@@ -9130,15 +9279,6 @@ export declare const isUpsertRowLevelPermissionPredicatesResult: (obj?: {
9130
9279
  export declare const isLogicFunctionLogs: (obj?: {
9131
9280
  __typename?: any;
9132
9281
  } | null | undefined) => obj is LogicFunctionLogs;
9133
- export declare const isPublicConnectionParametersOutput: (obj?: {
9134
- __typename?: any;
9135
- } | null | undefined) => obj is PublicConnectionParametersOutput;
9136
- export declare const isPublicImapSmtpCaldavConnectionParameters: (obj?: {
9137
- __typename?: any;
9138
- } | null | undefined) => obj is PublicImapSmtpCaldavConnectionParameters;
9139
- export declare const isConnectedAccountPublicDTO: (obj?: {
9140
- __typename?: any;
9141
- } | null | undefined) => obj is ConnectedAccountPublicDTO;
9142
9282
  export declare const isDeleteTwoFactorAuthenticationMethod: (obj?: {
9143
9283
  __typename?: any;
9144
9284
  } | null | undefined) => obj is DeleteTwoFactorAuthenticationMethod;
@@ -9220,15 +9360,30 @@ export declare const isUsageAnalytics: (obj?: {
9220
9360
  export declare const isApplicationAuthorization: (obj?: {
9221
9361
  __typename?: any;
9222
9362
  } | null | undefined) => obj is ApplicationAuthorization;
9363
+ export declare const isFile: (obj?: {
9364
+ __typename?: any;
9365
+ } | null | undefined) => obj is File;
9366
+ export declare const isApplicationFileCompletionError: (obj?: {
9367
+ __typename?: any;
9368
+ } | null | undefined) => obj is ApplicationFileCompletionError;
9369
+ export declare const isCompleteApplicationFileUploadsResult: (obj?: {
9370
+ __typename?: any;
9371
+ } | null | undefined) => obj is CompleteApplicationFileUploadsResult;
9372
+ export declare const isApplicationFileUploadTarget: (obj?: {
9373
+ __typename?: any;
9374
+ } | null | undefined) => obj is ApplicationFileUploadTarget;
9375
+ export declare const isApplicationFileUploadError: (obj?: {
9376
+ __typename?: any;
9377
+ } | null | undefined) => obj is ApplicationFileUploadError;
9378
+ export declare const isCreateApplicationFileUploadsResult: (obj?: {
9379
+ __typename?: any;
9380
+ } | null | undefined) => obj is CreateApplicationFileUploadsResult;
9223
9381
  export declare const isDevelopmentApplication: (obj?: {
9224
9382
  __typename?: any;
9225
9383
  } | null | undefined) => obj is DevelopmentApplication;
9226
9384
  export declare const isWorkspaceMigration: (obj?: {
9227
9385
  __typename?: any;
9228
9386
  } | null | undefined) => obj is WorkspaceMigration;
9229
- export declare const isFile: (obj?: {
9230
- __typename?: any;
9231
- } | null | undefined) => obj is File;
9232
9387
  export declare const isPublicDomain: (obj?: {
9233
9388
  __typename?: any;
9234
9389
  } | null | undefined) => obj is PublicDomain;
@@ -9848,11 +10003,34 @@ export declare const enumDatabaseEventAction: {
9848
10003
  RESTORED: "RESTORED";
9849
10004
  UPSERTED: "UPSERTED";
9850
10005
  };
10006
+ export declare const enumEmailConnectionSecurity: {
10007
+ NONE: "NONE";
10008
+ STARTTLS: "STARTTLS";
10009
+ SSL_TLS: "SSL_TLS";
10010
+ };
10011
+ export declare const enumUsageResourceType: {
10012
+ AI: "AI";
10013
+ WORKFLOW: "WORKFLOW";
10014
+ APP: "APP";
10015
+ STORAGE: "STORAGE";
10016
+ API: "API";
10017
+ LOGIC_FUNCTION: "LOGIC_FUNCTION";
10018
+ EMAIL: "EMAIL";
10019
+ };
10020
+ export declare const enumUsageOperationType: {
10021
+ AI_CHAT_TOKEN: "AI_CHAT_TOKEN";
10022
+ AI_WORKFLOW_TOKEN: "AI_WORKFLOW_TOKEN";
10023
+ WORKFLOW_EXECUTION: "WORKFLOW_EXECUTION";
10024
+ CODE_EXECUTION: "CODE_EXECUTION";
10025
+ WEB_SEARCH: "WEB_SEARCH";
10026
+ CALL_RECORDING: "CALL_RECORDING";
10027
+ EMAIL_SEND: "EMAIL_SEND";
10028
+ API_REQUEST: "API_REQUEST";
10029
+ };
9851
10030
  export declare const enumFeatureFlagKey: {
9852
10031
  IS_APP_CLAIMING_ENABLED: "IS_APP_CLAIMING_ENABLED";
9853
10032
  IS_UNIQUE_INDEXES_ENABLED: "IS_UNIQUE_INDEXES_ENABLED";
9854
10033
  IS_JSON_FILTER_ENABLED: "IS_JSON_FILTER_ENABLED";
9855
- IS_CALENDAR_WEEK_VIEW_ENABLED: "IS_CALENDAR_WEEK_VIEW_ENABLED";
9856
10034
  IS_EMAIL_GROUP_ENABLED: "IS_EMAIL_GROUP_ENABLED";
9857
10035
  IS_JUNCTION_RELATIONS_ENABLED: "IS_JUNCTION_RELATIONS_ENABLED";
9858
10036
  IS_LIST_VIEW_ENABLED: "IS_LIST_VIEW_ENABLED";
@@ -9861,6 +10039,8 @@ export declare const enumFeatureFlagKey: {
9861
10039
  IS_WORKFLOW_VERSION_IN_CORE_ENABLED: "IS_WORKFLOW_VERSION_IN_CORE_ENABLED";
9862
10040
  IS_WORKFLOW_CORE_INDEX_PAGE_ENABLED: "IS_WORKFLOW_CORE_INDEX_PAGE_ENABLED";
9863
10041
  IS_WORKFLOW_DISPATCH_FROM_CORE_ENABLED: "IS_WORKFLOW_DISPATCH_FROM_CORE_ENABLED";
10042
+ IS_API_RATE_LIMIT_V2_ENABLED: "IS_API_RATE_LIMIT_V2_ENABLED";
10043
+ IS_MESSAGE_CALENDAR_TARGET_READ_ENABLED: "IS_MESSAGE_CALENDAR_TARGET_READ_ENABLED";
9864
10044
  };
9865
10045
  export declare const enumIdentityProviderType: {
9866
10046
  OIDC: "OIDC";
@@ -9937,10 +10117,21 @@ export declare const enumBillingEntitlementKey: {
9937
10117
  RLS: "RLS";
9938
10118
  AUDIT_LOGS: "AUDIT_LOGS";
9939
10119
  };
9940
- export declare const enumEmailConnectionSecurity: {
9941
- NONE: "NONE";
9942
- STARTTLS: "STARTTLS";
9943
- SSL_TLS: "SSL_TLS";
10120
+ export declare const enumFileFolder: {
10121
+ CorePicture: "CorePicture";
10122
+ AgentChat: "AgentChat";
10123
+ BuiltLogicFunction: "BuiltLogicFunction";
10124
+ BuiltFrontComponent: "BuiltFrontComponent";
10125
+ PublicAsset: "PublicAsset";
10126
+ Source: "Source";
10127
+ FilesField: "FilesField";
10128
+ Dependencies: "Dependencies";
10129
+ Workflow: "Workflow";
10130
+ EmailAttachment: "EmailAttachment";
10131
+ EmailImage: "EmailImage";
10132
+ AppTarball: "AppTarball";
10133
+ GeneratedSdkClient: "GeneratedSdkClient";
10134
+ Dpa: "Dpa";
9944
10135
  };
9945
10136
  export declare const enumEmailingDomainStatus: {
9946
10137
  PENDING: "PENDING";
@@ -10089,31 +10280,6 @@ export declare const enumEventLogTable: {
10089
10280
  USAGE_EVENT: "USAGE_EVENT";
10090
10281
  APPLICATION_LOG: "APPLICATION_LOG";
10091
10282
  };
10092
- export declare const enumUsageOperationType: {
10093
- AI_CHAT_TOKEN: "AI_CHAT_TOKEN";
10094
- AI_WORKFLOW_TOKEN: "AI_WORKFLOW_TOKEN";
10095
- WORKFLOW_EXECUTION: "WORKFLOW_EXECUTION";
10096
- CODE_EXECUTION: "CODE_EXECUTION";
10097
- WEB_SEARCH: "WEB_SEARCH";
10098
- CALL_RECORDING: "CALL_RECORDING";
10099
- EMAIL_SEND: "EMAIL_SEND";
10100
- };
10101
- export declare const enumFileFolder: {
10102
- CorePicture: "CorePicture";
10103
- AgentChat: "AgentChat";
10104
- BuiltLogicFunction: "BuiltLogicFunction";
10105
- BuiltFrontComponent: "BuiltFrontComponent";
10106
- PublicAsset: "PublicAsset";
10107
- Source: "Source";
10108
- FilesField: "FilesField";
10109
- Dependencies: "Dependencies";
10110
- Workflow: "Workflow";
10111
- EmailAttachment: "EmailAttachment";
10112
- EmailImage: "EmailImage";
10113
- AppTarball: "AppTarball";
10114
- GeneratedSdkClient: "GeneratedSdkClient";
10115
- Dpa: "Dpa";
10116
- };
10117
10283
  export declare const enumRunAgentMessageRole: {
10118
10284
  user: "user";
10119
10285
  assistant: "assistant";