twenty-sdk 0.6.0 → 0.6.2

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.
Files changed (70) hide show
  1. package/README.md +6 -2
  2. package/dist/{HtmlTagToRemoteComponent-DzQ2I9Lz.js → HtmlTagToRemoteComponent-CgtwxDeH.js} +11 -11
  3. package/dist/{HtmlTagToRemoteComponent-DBOkvIRB.mjs → HtmlTagToRemoteComponent-D_EW5OLu.mjs} +1743 -1640
  4. package/dist/cli/utilities/api/api-service.d.ts +4 -0
  5. package/dist/cli/utilities/build/common/esbuild-watcher.d.ts +5 -2
  6. package/dist/cli/utilities/build/common/typecheck-plugin.d.ts +1 -1
  7. package/dist/cli/utilities/build/manifest/manifest-extract-config.d.ts +2 -0
  8. package/dist/cli/utilities/client/client-service.d.ts +5 -1
  9. package/dist/cli/utilities/client/twenty-client-template.d.ts +42 -0
  10. package/dist/cli/utilities/dev/orchestrator/dev-mode-orchestrator.d.ts +2 -0
  11. package/dist/cli/utilities/dev/orchestrator/steps/start-watchers-orchestrator-step.d.ts +2 -0
  12. package/dist/cli.cjs +430 -75
  13. package/dist/cli.mjs +3175 -2725
  14. package/dist/front-component-renderer/index.cjs +11 -11
  15. package/dist/front-component-renderer/index.d.ts +3 -3
  16. package/dist/front-component-renderer/index.mjs +2186 -1906
  17. package/dist/front-component-renderer/remote/generated/remote-components.d.ts +44 -0
  18. package/dist/front-component-renderer/remote/generated/remote-elements.d.ts +93 -0
  19. package/dist/front-component-renderer/types/FrontComponentHostCommunicationApi.d.ts +2 -1
  20. package/dist/{get-function-input-schema-BZ7_XyUh-GxSybvDe.js → get-function-input-schema-BZ7_XyUh-CCSi0u_q.js} +1 -1
  21. package/dist/{get-function-input-schema-BZ7_XyUh-By3UDh4s.mjs → get-function-input-schema-BZ7_XyUh-DAPandzB.mjs} +1 -1
  22. package/dist/index.cjs +2 -2
  23. package/dist/index.mjs +122 -89
  24. package/dist/sdk/application/application-config.d.ts +1 -1
  25. package/dist/sdk/front-component-api/constants/AllowedHtmlElements.d.ts +1 -0
  26. package/dist/sdk/front-component-api/constants/AllowedHtmlElements.js +104 -1
  27. package/dist/sdk/front-component-api/constants/AllowedHtmlElements.js.map +1 -1
  28. package/dist/sdk/front-component-api/constants/EventToReact.js +22 -3
  29. package/dist/sdk/front-component-api/constants/EventToReact.js.map +1 -1
  30. package/dist/sdk/front-component-api/constants/SerializedEventData.d.ts +7 -0
  31. package/dist/sdk/front-component-api/globals/frontComponentHostCommunicationApi.d.ts +2 -0
  32. package/dist/sdk/front-component-api/globals/frontComponentHostCommunicationApi.js.map +1 -1
  33. package/dist/sdk/index.d.ts +3 -0
  34. package/dist/sdk/index.js +70 -66
  35. package/dist/sdk/index.js.map +1 -1
  36. package/dist/sdk/logic-functions/define-post-install-logic-function.d.ts +6 -0
  37. package/dist/sdk/logic-functions/define-post-install-logic-function.js +12 -0
  38. package/dist/sdk/logic-functions/define-post-install-logic-function.js.map +1 -0
  39. package/dist/sdk/logic-functions/define-pre-install-logic-function.d.ts +6 -0
  40. package/dist/sdk/logic-functions/define-pre-install-logic-function.js +12 -0
  41. package/dist/sdk/logic-functions/define-pre-install-logic-function.js.map +1 -0
  42. package/dist/sdk/logic-functions/install-logic-function-payload-type.d.ts +4 -0
  43. package/generated/core/index.ts +406 -0
  44. package/generated/core/runtime/batcher.ts +265 -0
  45. package/generated/core/runtime/createClient.ts +68 -0
  46. package/generated/core/runtime/error.ts +29 -0
  47. package/generated/core/runtime/fetcher.ts +98 -0
  48. package/generated/core/runtime/generateGraphqlOperation.ts +225 -0
  49. package/generated/core/runtime/index.ts +13 -0
  50. package/generated/core/runtime/linkTypeMap.ts +139 -0
  51. package/generated/core/runtime/typeSelection.ts +98 -0
  52. package/generated/core/runtime/types.ts +69 -0
  53. package/generated/core/schema.graphql +36745 -0
  54. package/generated/core/schema.ts +39341 -0
  55. package/generated/core/types.ts +45860 -0
  56. package/generated/index.ts +2 -0
  57. package/generated/metadata/index.ts +469 -0
  58. package/generated/metadata/runtime/batcher.ts +265 -0
  59. package/generated/metadata/runtime/createClient.ts +68 -0
  60. package/generated/metadata/runtime/error.ts +29 -0
  61. package/generated/metadata/runtime/fetcher.ts +98 -0
  62. package/generated/metadata/runtime/generateGraphqlOperation.ts +225 -0
  63. package/generated/metadata/runtime/index.ts +13 -0
  64. package/generated/metadata/runtime/linkTypeMap.ts +139 -0
  65. package/generated/metadata/runtime/typeSelection.ts +98 -0
  66. package/generated/metadata/runtime/types.ts +69 -0
  67. package/generated/metadata/schema.graphql +3971 -0
  68. package/generated/metadata/schema.ts +8357 -0
  69. package/generated/metadata/types.ts +10044 -0
  70. package/package.json +17 -1
@@ -0,0 +1,3971 @@
1
+ interface BillingProductDTO {
2
+ name: String!
3
+ description: String!
4
+ images: [String!]
5
+ metadata: BillingProductMetadata!
6
+ }
7
+
8
+ type ApiKey {
9
+ id: UUID!
10
+ name: String!
11
+ expiresAt: DateTime!
12
+ revokedAt: DateTime
13
+ createdAt: DateTime!
14
+ updatedAt: DateTime!
15
+ role: Role!
16
+ }
17
+
18
+ """A UUID scalar type"""
19
+ scalar UUID
20
+
21
+ """
22
+ A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
23
+ """
24
+ scalar DateTime
25
+
26
+ type TwoFactorAuthenticationMethodDTO {
27
+ twoFactorAuthenticationMethodId: UUID!
28
+ status: String!
29
+ strategy: String!
30
+ }
31
+
32
+ type RowLevelPermissionPredicateGroup {
33
+ id: String!
34
+ parentRowLevelPermissionPredicateGroupId: String
35
+ logicalOperator: RowLevelPermissionPredicateGroupLogicalOperator!
36
+ positionInRowLevelPermissionPredicateGroup: Float
37
+ roleId: String!
38
+ objectMetadataId: String!
39
+ }
40
+
41
+ enum RowLevelPermissionPredicateGroupLogicalOperator {
42
+ AND
43
+ OR
44
+ }
45
+
46
+ type RowLevelPermissionPredicate {
47
+ id: String!
48
+ fieldMetadataId: String!
49
+ objectMetadataId: String!
50
+ operand: RowLevelPermissionPredicateOperand!
51
+ subFieldName: String
52
+ workspaceMemberFieldMetadataId: String
53
+ workspaceMemberSubFieldName: String
54
+ rowLevelPermissionPredicateGroupId: String
55
+ positionInRowLevelPermissionPredicateGroup: Float
56
+ roleId: String!
57
+ value: JSON
58
+ }
59
+
60
+ enum RowLevelPermissionPredicateOperand {
61
+ IS
62
+ IS_NOT_NULL
63
+ IS_NOT
64
+ LESS_THAN_OR_EQUAL
65
+ GREATER_THAN_OR_EQUAL
66
+ IS_BEFORE
67
+ IS_AFTER
68
+ CONTAINS
69
+ DOES_NOT_CONTAIN
70
+ IS_EMPTY
71
+ IS_NOT_EMPTY
72
+ IS_RELATIVE
73
+ IS_IN_PAST
74
+ IS_IN_FUTURE
75
+ IS_TODAY
76
+ VECTOR_SEARCH
77
+ }
78
+
79
+ """
80
+ The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
81
+ """
82
+ scalar JSON
83
+
84
+ type ObjectPermission {
85
+ objectMetadataId: UUID!
86
+ canReadObjectRecords: Boolean
87
+ canUpdateObjectRecords: Boolean
88
+ canSoftDeleteObjectRecords: Boolean
89
+ canDestroyObjectRecords: Boolean
90
+ restrictedFields: JSON
91
+ rowLevelPermissionPredicates: [RowLevelPermissionPredicate!]
92
+ rowLevelPermissionPredicateGroups: [RowLevelPermissionPredicateGroup!]
93
+ }
94
+
95
+ type UserWorkspace {
96
+ id: UUID!
97
+ user: User!
98
+ userId: UUID!
99
+ locale: String!
100
+ createdAt: DateTime!
101
+ updatedAt: DateTime!
102
+ deletedAt: DateTime
103
+ permissionFlags: [PermissionFlagType!]
104
+ objectPermissions: [ObjectPermission!]
105
+ objectsPermissions: [ObjectPermission!]
106
+ twoFactorAuthenticationMethodSummary: [TwoFactorAuthenticationMethodDTO!]
107
+ }
108
+
109
+ enum PermissionFlagType {
110
+ API_KEYS_AND_WEBHOOKS
111
+ WORKSPACE
112
+ WORKSPACE_MEMBERS
113
+ ROLES
114
+ DATA_MODEL
115
+ SECURITY
116
+ WORKFLOWS
117
+ IMPERSONATE
118
+ SSO_BYPASS
119
+ APPLICATIONS
120
+ MARKETPLACE_APPS
121
+ LAYOUTS
122
+ BILLING
123
+ AI_SETTINGS
124
+ AI
125
+ VIEWS
126
+ UPLOAD_FILE
127
+ DOWNLOAD_FILE
128
+ SEND_EMAIL_TOOL
129
+ HTTP_REQUEST_TOOL
130
+ CODE_INTERPRETER_TOOL
131
+ IMPORT_CSV
132
+ EXPORT_CSV
133
+ CONNECTED_ACCOUNTS
134
+ PROFILE_INFORMATION
135
+ }
136
+
137
+ type FullName {
138
+ firstName: String!
139
+ lastName: String!
140
+ }
141
+
142
+ type WorkspaceMember {
143
+ id: UUID!
144
+ name: FullName!
145
+ userEmail: String!
146
+ colorScheme: String!
147
+ avatarUrl: String
148
+ locale: String
149
+ calendarStartDay: Int
150
+ timeZone: String
151
+ dateFormat: WorkspaceMemberDateFormatEnum
152
+ timeFormat: WorkspaceMemberTimeFormatEnum
153
+ roles: [Role!]
154
+ userWorkspaceId: UUID
155
+ numberFormat: WorkspaceMemberNumberFormatEnum
156
+ }
157
+
158
+ """Date format as Month first, Day first, Year first or system as default"""
159
+ enum WorkspaceMemberDateFormatEnum {
160
+ SYSTEM
161
+ MONTH_FIRST
162
+ DAY_FIRST
163
+ YEAR_FIRST
164
+ }
165
+
166
+ """Time time as Military, Standard or system as default"""
167
+ enum WorkspaceMemberTimeFormatEnum {
168
+ SYSTEM
169
+ HOUR_12
170
+ HOUR_24
171
+ }
172
+
173
+ """Number format for displaying numbers"""
174
+ enum WorkspaceMemberNumberFormatEnum {
175
+ SYSTEM
176
+ COMMAS_AND_DOT
177
+ SPACES_AND_COMMA
178
+ DOTS_AND_COMMA
179
+ APOSTROPHE_AND_DOT
180
+ }
181
+
182
+ type Agent {
183
+ id: UUID!
184
+ name: String!
185
+ label: String!
186
+ icon: String
187
+ description: String
188
+ prompt: String!
189
+ modelId: String!
190
+ responseFormat: JSON
191
+ roleId: UUID
192
+ isCustom: Boolean!
193
+ applicationId: UUID
194
+ createdAt: DateTime!
195
+ updatedAt: DateTime!
196
+ modelConfiguration: JSON
197
+ evaluationInputs: [String!]!
198
+ }
199
+
200
+ type FieldPermission {
201
+ id: UUID!
202
+ objectMetadataId: UUID!
203
+ fieldMetadataId: UUID!
204
+ roleId: UUID!
205
+ canReadFieldValue: Boolean
206
+ canUpdateFieldValue: Boolean
207
+ }
208
+
209
+ type PermissionFlag {
210
+ id: UUID!
211
+ roleId: UUID!
212
+ flag: PermissionFlagType!
213
+ }
214
+
215
+ type ApiKeyForRole {
216
+ id: UUID!
217
+ name: String!
218
+ expiresAt: DateTime!
219
+ revokedAt: DateTime
220
+ }
221
+
222
+ type Role {
223
+ id: UUID!
224
+ universalIdentifier: UUID
225
+ label: String!
226
+ description: String
227
+ icon: String
228
+ isEditable: Boolean!
229
+ canBeAssignedToUsers: Boolean!
230
+ canBeAssignedToAgents: Boolean!
231
+ canBeAssignedToApiKeys: Boolean!
232
+ workspaceMembers: [WorkspaceMember!]!
233
+ agents: [Agent!]!
234
+ apiKeys: [ApiKeyForRole!]!
235
+ canUpdateAllSettings: Boolean!
236
+ canAccessAllTools: Boolean!
237
+ canReadAllObjectRecords: Boolean!
238
+ canUpdateAllObjectRecords: Boolean!
239
+ canSoftDeleteAllObjectRecords: Boolean!
240
+ canDestroyAllObjectRecords: Boolean!
241
+ permissionFlags: [PermissionFlag!]
242
+ objectPermissions: [ObjectPermission!]
243
+ fieldPermissions: [FieldPermission!]
244
+ rowLevelPermissionPredicates: [RowLevelPermissionPredicate!]
245
+ rowLevelPermissionPredicateGroups: [RowLevelPermissionPredicateGroup!]
246
+ }
247
+
248
+ type ApplicationVariable {
249
+ id: UUID!
250
+ key: String!
251
+ value: String!
252
+ description: String!
253
+ isSecret: Boolean!
254
+ }
255
+
256
+ type LogicFunction {
257
+ id: UUID!
258
+ name: String!
259
+ description: String
260
+ runtime: String!
261
+ timeoutSeconds: Float!
262
+ sourceHandlerPath: String!
263
+ handlerName: String!
264
+ toolInputSchema: JSON
265
+ isTool: Boolean!
266
+ cronTriggerSettings: JSON
267
+ databaseEventTriggerSettings: JSON
268
+ httpRouteTriggerSettings: JSON
269
+ applicationId: UUID
270
+ universalIdentifier: UUID
271
+ createdAt: DateTime!
272
+ updatedAt: DateTime!
273
+ }
274
+
275
+ type StandardOverrides {
276
+ label: String
277
+ description: String
278
+ icon: String
279
+ translations: JSON
280
+ }
281
+
282
+ type Field {
283
+ id: UUID!
284
+ universalIdentifier: UUID!
285
+ type: FieldMetadataType!
286
+ name: String!
287
+ label: String!
288
+ description: String
289
+ icon: String
290
+ standardOverrides: StandardOverrides
291
+ isCustom: Boolean
292
+ isActive: Boolean
293
+ isSystem: Boolean
294
+ isUIReadOnly: Boolean
295
+ isNullable: Boolean
296
+ isUnique: Boolean
297
+ defaultValue: JSON
298
+ options: JSON
299
+ settings: JSON
300
+ isLabelSyncedWithName: Boolean
301
+ morphId: UUID
302
+ createdAt: DateTime!
303
+ updatedAt: DateTime!
304
+ applicationId: UUID!
305
+ relation: Relation
306
+ morphRelations: [Relation!]
307
+ object: Object
308
+ }
309
+
310
+ """Type of the field"""
311
+ enum FieldMetadataType {
312
+ ACTOR
313
+ ADDRESS
314
+ ARRAY
315
+ BOOLEAN
316
+ CURRENCY
317
+ DATE
318
+ DATE_TIME
319
+ EMAILS
320
+ FILES
321
+ FULL_NAME
322
+ LINKS
323
+ MORPH_RELATION
324
+ MULTI_SELECT
325
+ NUMBER
326
+ NUMERIC
327
+ PHONES
328
+ POSITION
329
+ RATING
330
+ RAW_JSON
331
+ RELATION
332
+ RICH_TEXT
333
+ RICH_TEXT_V2
334
+ SELECT
335
+ TEXT
336
+ TS_VECTOR
337
+ UUID
338
+ }
339
+
340
+ type IndexField {
341
+ id: UUID!
342
+ fieldMetadataId: UUID!
343
+ order: Float!
344
+ createdAt: DateTime!
345
+ updatedAt: DateTime!
346
+ }
347
+
348
+ type Index {
349
+ id: UUID!
350
+ name: String!
351
+ isCustom: Boolean
352
+ isUnique: Boolean!
353
+ indexWhereClause: String
354
+ indexType: IndexType!
355
+ createdAt: DateTime!
356
+ updatedAt: DateTime!
357
+ indexFieldMetadataList: [IndexField!]!
358
+ objectMetadata(
359
+ """Limit or page results."""
360
+ paging: CursorPaging! = {first: 10}
361
+
362
+ """Specify to filter the records returned."""
363
+ filter: ObjectFilter! = {}
364
+ ): IndexObjectMetadataConnection!
365
+ indexFieldMetadatas(
366
+ """Limit or page results."""
367
+ paging: CursorPaging! = {first: 10}
368
+
369
+ """Specify to filter the records returned."""
370
+ filter: IndexFieldFilter! = {}
371
+ ): IndexIndexFieldMetadatasConnection!
372
+ }
373
+
374
+ """Type of the index"""
375
+ enum IndexType {
376
+ BTREE
377
+ GIN
378
+ }
379
+
380
+ input CursorPaging {
381
+ """Paginate before opaque cursor"""
382
+ before: ConnectionCursor
383
+
384
+ """Paginate after opaque cursor"""
385
+ after: ConnectionCursor
386
+
387
+ """Paginate first"""
388
+ first: Int
389
+
390
+ """Paginate last"""
391
+ last: Int
392
+ }
393
+
394
+ """Cursor for paging through collections"""
395
+ scalar ConnectionCursor
396
+
397
+ input ObjectFilter {
398
+ and: [ObjectFilter!]
399
+ or: [ObjectFilter!]
400
+ id: UUIDFilterComparison
401
+ universalIdentifier: UUIDFilterComparison
402
+ isCustom: BooleanFieldComparison
403
+ isRemote: BooleanFieldComparison
404
+ isActive: BooleanFieldComparison
405
+ isSystem: BooleanFieldComparison
406
+ isUIReadOnly: BooleanFieldComparison
407
+ isSearchable: BooleanFieldComparison
408
+ }
409
+
410
+ input UUIDFilterComparison {
411
+ is: Boolean
412
+ isNot: Boolean
413
+ eq: UUID
414
+ neq: UUID
415
+ gt: UUID
416
+ gte: UUID
417
+ lt: UUID
418
+ lte: UUID
419
+ like: UUID
420
+ notLike: UUID
421
+ iLike: UUID
422
+ notILike: UUID
423
+ in: [UUID!]
424
+ notIn: [UUID!]
425
+ }
426
+
427
+ input BooleanFieldComparison {
428
+ is: Boolean
429
+ isNot: Boolean
430
+ }
431
+
432
+ input IndexFieldFilter {
433
+ and: [IndexFieldFilter!]
434
+ or: [IndexFieldFilter!]
435
+ id: UUIDFilterComparison
436
+ fieldMetadataId: UUIDFilterComparison
437
+ }
438
+
439
+ type ObjectStandardOverrides {
440
+ labelSingular: String
441
+ labelPlural: String
442
+ description: String
443
+ icon: String
444
+ translations: JSON
445
+ }
446
+
447
+ type Object {
448
+ id: UUID!
449
+ universalIdentifier: UUID!
450
+ nameSingular: String!
451
+ namePlural: String!
452
+ labelSingular: String!
453
+ labelPlural: String!
454
+ description: String
455
+ icon: String
456
+ standardOverrides: ObjectStandardOverrides
457
+ shortcut: String
458
+ isCustom: Boolean!
459
+ isRemote: Boolean!
460
+ isActive: Boolean!
461
+ isSystem: Boolean!
462
+ isUIReadOnly: Boolean!
463
+ isSearchable: Boolean!
464
+ applicationId: UUID!
465
+ createdAt: DateTime!
466
+ updatedAt: DateTime!
467
+ labelIdentifierFieldMetadataId: UUID
468
+ imageIdentifierFieldMetadataId: UUID
469
+ isLabelSyncedWithName: Boolean!
470
+ duplicateCriteria: [[String!]!]
471
+ fieldsList: [Field!]!
472
+ indexMetadataList: [Index!]!
473
+ fields(
474
+ """Limit or page results."""
475
+ paging: CursorPaging! = {first: 10}
476
+
477
+ """Specify to filter the records returned."""
478
+ filter: FieldFilter! = {}
479
+ ): ObjectFieldsConnection!
480
+ indexMetadatas(
481
+ """Limit or page results."""
482
+ paging: CursorPaging! = {first: 10}
483
+
484
+ """Specify to filter the records returned."""
485
+ filter: IndexFilter! = {}
486
+ ): ObjectIndexMetadatasConnection!
487
+ }
488
+
489
+ input FieldFilter {
490
+ and: [FieldFilter!]
491
+ or: [FieldFilter!]
492
+ id: UUIDFilterComparison
493
+ universalIdentifier: UUIDFilterComparison
494
+ isCustom: BooleanFieldComparison
495
+ isActive: BooleanFieldComparison
496
+ isSystem: BooleanFieldComparison
497
+ isUIReadOnly: BooleanFieldComparison
498
+ }
499
+
500
+ input IndexFilter {
501
+ and: [IndexFilter!]
502
+ or: [IndexFilter!]
503
+ id: UUIDFilterComparison
504
+ isCustom: BooleanFieldComparison
505
+ }
506
+
507
+ type Application {
508
+ id: UUID!
509
+ name: String!
510
+ description: String!
511
+ version: String!
512
+ universalIdentifier: String!
513
+ packageJsonChecksum: String
514
+ packageJsonFileId: UUID
515
+ yarnLockChecksum: String
516
+ yarnLockFileId: UUID
517
+ availablePackages: JSON!
518
+ canBeUninstalled: Boolean!
519
+ defaultRoleId: String
520
+ defaultLogicFunctionRole: Role
521
+ agents: [Agent!]!
522
+ logicFunctions: [LogicFunction!]!
523
+ objects: [Object!]!
524
+ applicationVariables: [ApplicationVariable!]!
525
+ }
526
+
527
+ type FeatureFlag {
528
+ id: UUID!
529
+ key: FeatureFlagKey!
530
+ value: Boolean!
531
+ }
532
+
533
+ enum FeatureFlagKey {
534
+ IS_UNIQUE_INDEXES_ENABLED
535
+ IS_JSON_FILTER_ENABLED
536
+ IS_AI_ENABLED
537
+ IS_APPLICATION_ENABLED
538
+ IS_APPLICATION_INSTALLATION_FROM_TARBALL_ENABLED
539
+ IS_MARKETPLACE_ENABLED
540
+ IS_RECORD_PAGE_LAYOUT_EDITING_ENABLED
541
+ IS_PUBLIC_DOMAIN_ENABLED
542
+ IS_EMAILING_DOMAIN_ENABLED
543
+ IS_DASHBOARD_V2_ENABLED
544
+ IS_ATTACHMENT_MIGRATED
545
+ IS_NOTE_TARGET_MIGRATED
546
+ IS_TASK_TARGET_MIGRATED
547
+ IS_FILES_FIELD_MIGRATED
548
+ IS_CORE_PICTURE_MIGRATED
549
+ IS_OTHER_FILE_MIGRATED
550
+ IS_ROW_LEVEL_PERMISSION_PREDICATES_ENABLED
551
+ IS_JUNCTION_RELATIONS_ENABLED
552
+ IS_COMMAND_MENU_ITEM_ENABLED
553
+ IS_NAVIGATION_MENU_ITEM_ENABLED
554
+ IS_DATE_TIME_WHOLE_DAY_FILTER_ENABLED
555
+ IS_NAVIGATION_MENU_ITEM_EDITING_ENABLED
556
+ IS_DRAFT_EMAIL_ENABLED
557
+ }
558
+
559
+ type CoreViewField {
560
+ id: UUID!
561
+ fieldMetadataId: UUID!
562
+ isVisible: Boolean!
563
+ size: Float!
564
+ position: Float!
565
+ aggregateOperation: AggregateOperations
566
+ viewId: UUID!
567
+ viewFieldGroupId: UUID
568
+ workspaceId: UUID!
569
+ createdAt: DateTime!
570
+ updatedAt: DateTime!
571
+ deletedAt: DateTime
572
+ }
573
+
574
+ enum AggregateOperations {
575
+ MIN
576
+ MAX
577
+ AVG
578
+ SUM
579
+ COUNT
580
+ COUNT_UNIQUE_VALUES
581
+ COUNT_EMPTY
582
+ COUNT_NOT_EMPTY
583
+ COUNT_TRUE
584
+ COUNT_FALSE
585
+ PERCENTAGE_EMPTY
586
+ PERCENTAGE_NOT_EMPTY
587
+ }
588
+
589
+ type CoreViewFilterGroup {
590
+ id: UUID!
591
+ parentViewFilterGroupId: UUID
592
+ logicalOperator: ViewFilterGroupLogicalOperator!
593
+ positionInViewFilterGroup: Float
594
+ viewId: UUID!
595
+ workspaceId: UUID!
596
+ createdAt: DateTime!
597
+ updatedAt: DateTime!
598
+ deletedAt: DateTime
599
+ }
600
+
601
+ enum ViewFilterGroupLogicalOperator {
602
+ AND
603
+ OR
604
+ NOT
605
+ }
606
+
607
+ type CoreViewFilter {
608
+ id: UUID!
609
+ fieldMetadataId: UUID!
610
+ operand: ViewFilterOperand!
611
+ value: JSON!
612
+ viewFilterGroupId: UUID
613
+ positionInViewFilterGroup: Float
614
+ subFieldName: String
615
+ viewId: UUID!
616
+ workspaceId: UUID!
617
+ createdAt: DateTime!
618
+ updatedAt: DateTime!
619
+ deletedAt: DateTime
620
+ }
621
+
622
+ enum ViewFilterOperand {
623
+ IS
624
+ IS_NOT_NULL
625
+ IS_NOT
626
+ LESS_THAN_OR_EQUAL
627
+ GREATER_THAN_OR_EQUAL
628
+ IS_BEFORE
629
+ IS_AFTER
630
+ CONTAINS
631
+ DOES_NOT_CONTAIN
632
+ IS_EMPTY
633
+ IS_NOT_EMPTY
634
+ IS_RELATIVE
635
+ IS_IN_PAST
636
+ IS_IN_FUTURE
637
+ IS_TODAY
638
+ VECTOR_SEARCH
639
+ }
640
+
641
+ type CoreViewGroup {
642
+ id: UUID!
643
+ isVisible: Boolean!
644
+ fieldValue: String!
645
+ position: Float!
646
+ viewId: UUID!
647
+ workspaceId: UUID!
648
+ createdAt: DateTime!
649
+ updatedAt: DateTime!
650
+ deletedAt: DateTime
651
+ }
652
+
653
+ type CoreViewSort {
654
+ id: UUID!
655
+ fieldMetadataId: UUID!
656
+ direction: ViewSortDirection!
657
+ viewId: UUID!
658
+ workspaceId: UUID!
659
+ createdAt: DateTime!
660
+ updatedAt: DateTime!
661
+ deletedAt: DateTime
662
+ }
663
+
664
+ enum ViewSortDirection {
665
+ ASC
666
+ DESC
667
+ }
668
+
669
+ type CoreViewFieldGroup {
670
+ id: UUID!
671
+ name: String!
672
+ position: Float!
673
+ isVisible: Boolean!
674
+ viewId: UUID!
675
+ workspaceId: UUID!
676
+ createdAt: DateTime!
677
+ updatedAt: DateTime!
678
+ deletedAt: DateTime
679
+ viewFields: [CoreViewField!]!
680
+ }
681
+
682
+ type CoreView {
683
+ id: UUID!
684
+ name: String!
685
+ objectMetadataId: UUID!
686
+ type: ViewType!
687
+ key: ViewKey
688
+ icon: String!
689
+ position: Float!
690
+ isCompact: Boolean!
691
+ isCustom: Boolean!
692
+ openRecordIn: ViewOpenRecordIn!
693
+ kanbanAggregateOperation: AggregateOperations
694
+ kanbanAggregateOperationFieldMetadataId: UUID
695
+ mainGroupByFieldMetadataId: UUID
696
+ shouldHideEmptyGroups: Boolean!
697
+ calendarFieldMetadataId: UUID
698
+ workspaceId: UUID!
699
+ anyFieldFilterValue: String
700
+ calendarLayout: ViewCalendarLayout
701
+ createdAt: DateTime!
702
+ updatedAt: DateTime!
703
+ deletedAt: DateTime
704
+ viewFields: [CoreViewField!]!
705
+ viewFilters: [CoreViewFilter!]!
706
+ viewFilterGroups: [CoreViewFilterGroup!]!
707
+ viewSorts: [CoreViewSort!]!
708
+ viewGroups: [CoreViewGroup!]!
709
+ viewFieldGroups: [CoreViewFieldGroup!]!
710
+ visibility: ViewVisibility!
711
+ createdByUserWorkspaceId: UUID
712
+ }
713
+
714
+ enum ViewType {
715
+ TABLE
716
+ KANBAN
717
+ CALENDAR
718
+ FIELDS_WIDGET
719
+ }
720
+
721
+ enum ViewKey {
722
+ INDEX
723
+ }
724
+
725
+ enum ViewOpenRecordIn {
726
+ SIDE_PANEL
727
+ RECORD_PAGE
728
+ }
729
+
730
+ enum ViewCalendarLayout {
731
+ DAY
732
+ WEEK
733
+ MONTH
734
+ }
735
+
736
+ enum ViewVisibility {
737
+ WORKSPACE
738
+ UNLISTED
739
+ }
740
+
741
+ type Workspace {
742
+ id: UUID!
743
+ displayName: String
744
+ logo: String
745
+ logoFileId: UUID
746
+ inviteHash: String
747
+ deletedAt: DateTime
748
+ createdAt: DateTime!
749
+ updatedAt: DateTime!
750
+ allowImpersonation: Boolean!
751
+ isPublicInviteLinkEnabled: Boolean!
752
+ trashRetentionDays: Float!
753
+ eventLogRetentionDays: Float!
754
+ workspaceMembersCount: Float
755
+ activationStatus: WorkspaceActivationStatus!
756
+ views: [CoreView!]
757
+ viewFields: [CoreViewField!]
758
+ viewFilters: [CoreViewFilter!]
759
+ viewFilterGroups: [CoreViewFilterGroup!]
760
+ viewGroups: [CoreViewGroup!]
761
+ viewSorts: [CoreViewSort!]
762
+ metadataVersion: Float!
763
+ databaseUrl: String!
764
+ databaseSchema: String!
765
+ subdomain: String!
766
+ customDomain: String
767
+ isGoogleAuthEnabled: Boolean!
768
+ isGoogleAuthBypassEnabled: Boolean!
769
+ isTwoFactorAuthenticationEnforced: Boolean!
770
+ isPasswordAuthEnabled: Boolean!
771
+ isPasswordAuthBypassEnabled: Boolean!
772
+ isMicrosoftAuthEnabled: Boolean!
773
+ isMicrosoftAuthBypassEnabled: Boolean!
774
+ isCustomDomainEnabled: Boolean!
775
+ editableProfileFields: [String!]
776
+ defaultRole: Role
777
+ version: String
778
+ fastModel: String!
779
+ smartModel: String!
780
+ aiAdditionalInstructions: String
781
+ autoEnableNewAiModels: Boolean!
782
+ disabledAiModelIds: [String!]
783
+ enabledAiModelIds: [String!]
784
+ useRecommendedModels: Boolean!
785
+ routerModel: String!
786
+ workspaceCustomApplication: Application
787
+ featureFlags: [FeatureFlagDTO!]
788
+ billingSubscriptions: [BillingSubscription!]!
789
+ currentBillingSubscription: BillingSubscription
790
+ billingEntitlements: [BillingEntitlement!]!
791
+ hasValidEnterpriseKey: Boolean!
792
+ workspaceUrls: WorkspaceUrls!
793
+ workspaceCustomApplicationId: String!
794
+ }
795
+
796
+ enum WorkspaceActivationStatus {
797
+ ONGOING_CREATION
798
+ PENDING_CREATION
799
+ ACTIVE
800
+ INACTIVE
801
+ SUSPENDED
802
+ }
803
+
804
+ type AppToken {
805
+ id: UUID!
806
+ type: String!
807
+ expiresAt: DateTime!
808
+ createdAt: DateTime!
809
+ updatedAt: DateTime!
810
+ }
811
+
812
+ type User {
813
+ id: UUID!
814
+ firstName: String!
815
+ lastName: String!
816
+ email: String!
817
+ defaultAvatarUrl: String
818
+ isEmailVerified: Boolean!
819
+ disabled: Boolean
820
+ canImpersonate: Boolean!
821
+ canAccessFullAdminPanel: Boolean!
822
+ createdAt: DateTime!
823
+ updatedAt: DateTime!
824
+ deletedAt: DateTime
825
+ locale: String!
826
+ workspaceMember: WorkspaceMember
827
+ userWorkspaces: [UserWorkspace!]!
828
+ onboardingStatus: OnboardingStatus
829
+ currentWorkspace: Workspace
830
+ currentUserWorkspace: UserWorkspace
831
+ userVars: JSONObject
832
+ workspaceMembers: [WorkspaceMember!]
833
+ deletedWorkspaceMembers: [DeletedWorkspaceMember!]
834
+ hasPassword: Boolean!
835
+ supportUserHash: String
836
+ workspaces: [UserWorkspace!]!
837
+ availableWorkspaces: AvailableWorkspaces!
838
+ }
839
+
840
+ """Onboarding status"""
841
+ enum OnboardingStatus {
842
+ PLAN_REQUIRED
843
+ WORKSPACE_ACTIVATION
844
+ PROFILE_CREATION
845
+ SYNC_EMAIL
846
+ INVITE_TEAM
847
+ BOOK_ONBOARDING
848
+ COMPLETED
849
+ }
850
+
851
+ """
852
+ The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
853
+ """
854
+ scalar JSONObject
855
+
856
+ type RatioAggregateConfig {
857
+ fieldMetadataId: UUID!
858
+ optionValue: String!
859
+ }
860
+
861
+ type NewFieldDefaultConfiguration {
862
+ isVisible: Boolean!
863
+ viewFieldGroupId: String
864
+ }
865
+
866
+ type RichTextV2Body {
867
+ blocknote: String
868
+ markdown: String
869
+ }
870
+
871
+ type GridPosition {
872
+ row: Float!
873
+ column: Float!
874
+ rowSpan: Float!
875
+ columnSpan: Float!
876
+ }
877
+
878
+ type PageLayoutWidget {
879
+ id: UUID!
880
+ pageLayoutTabId: UUID!
881
+ title: String!
882
+ type: WidgetType!
883
+ objectMetadataId: UUID
884
+ gridPosition: GridPosition!
885
+ position: PageLayoutWidgetPosition
886
+ configuration: WidgetConfiguration!
887
+ conditionalDisplay: JSON
888
+ createdAt: DateTime!
889
+ updatedAt: DateTime!
890
+ deletedAt: DateTime
891
+ }
892
+
893
+ enum WidgetType {
894
+ VIEW
895
+ IFRAME
896
+ FIELD
897
+ FIELDS
898
+ GRAPH
899
+ STANDALONE_RICH_TEXT
900
+ TIMELINE
901
+ TASKS
902
+ NOTES
903
+ FILES
904
+ EMAILS
905
+ CALENDAR
906
+ FIELD_RICH_TEXT
907
+ WORKFLOW
908
+ WORKFLOW_VERSION
909
+ WORKFLOW_RUN
910
+ FRONT_COMPONENT
911
+ }
912
+
913
+ union PageLayoutWidgetPosition = PageLayoutWidgetGridPosition | PageLayoutWidgetVerticalListPosition | PageLayoutWidgetCanvasPosition
914
+
915
+ type PageLayoutWidgetGridPosition {
916
+ layoutMode: PageLayoutTabLayoutMode!
917
+ row: Int!
918
+ column: Int!
919
+ rowSpan: Int!
920
+ columnSpan: Int!
921
+ }
922
+
923
+ enum PageLayoutTabLayoutMode {
924
+ GRID
925
+ VERTICAL_LIST
926
+ CANVAS
927
+ }
928
+
929
+ type PageLayoutWidgetVerticalListPosition {
930
+ layoutMode: PageLayoutTabLayoutMode!
931
+ index: Int!
932
+ }
933
+
934
+ type PageLayoutWidgetCanvasPosition {
935
+ layoutMode: PageLayoutTabLayoutMode!
936
+ }
937
+
938
+ union WidgetConfiguration = AggregateChartConfiguration | StandaloneRichTextConfiguration | PieChartConfiguration | LineChartConfiguration | IframeConfiguration | GaugeChartConfiguration | BarChartConfiguration | CalendarConfiguration | FrontComponentConfiguration | EmailsConfiguration | FieldConfiguration | FieldRichTextConfiguration | FieldsConfiguration | FilesConfiguration | NotesConfiguration | TasksConfiguration | TimelineConfiguration | ViewConfiguration | WorkflowConfiguration | WorkflowRunConfiguration | WorkflowVersionConfiguration
939
+
940
+ type AggregateChartConfiguration {
941
+ configurationType: WidgetConfigurationType!
942
+ aggregateFieldMetadataId: UUID!
943
+ aggregateOperation: AggregateOperations!
944
+ label: String
945
+ displayDataLabel: Boolean
946
+ format: String
947
+ description: String
948
+ filter: JSON
949
+ timezone: String
950
+ firstDayOfTheWeek: Int
951
+ prefix: String
952
+ suffix: String
953
+ ratioAggregateConfig: RatioAggregateConfig
954
+ }
955
+
956
+ enum WidgetConfigurationType {
957
+ AGGREGATE_CHART
958
+ GAUGE_CHART
959
+ PIE_CHART
960
+ BAR_CHART
961
+ LINE_CHART
962
+ IFRAME
963
+ STANDALONE_RICH_TEXT
964
+ VIEW
965
+ FIELD
966
+ FIELDS
967
+ TIMELINE
968
+ TASKS
969
+ NOTES
970
+ FILES
971
+ EMAILS
972
+ CALENDAR
973
+ FIELD_RICH_TEXT
974
+ WORKFLOW
975
+ WORKFLOW_VERSION
976
+ WORKFLOW_RUN
977
+ FRONT_COMPONENT
978
+ }
979
+
980
+ type StandaloneRichTextConfiguration {
981
+ configurationType: WidgetConfigurationType!
982
+ body: RichTextV2Body!
983
+ }
984
+
985
+ type PieChartConfiguration {
986
+ configurationType: WidgetConfigurationType!
987
+ aggregateFieldMetadataId: UUID!
988
+ aggregateOperation: AggregateOperations!
989
+ groupByFieldMetadataId: UUID!
990
+ groupBySubFieldName: String
991
+ dateGranularity: ObjectRecordGroupByDateGranularity
992
+ orderBy: GraphOrderBy
993
+ manualSortOrder: [String!]
994
+ displayDataLabel: Boolean
995
+ showCenterMetric: Boolean
996
+ displayLegend: Boolean
997
+ hideEmptyCategory: Boolean
998
+ splitMultiValueFields: Boolean
999
+ description: String
1000
+ color: String
1001
+ filter: JSON
1002
+ timezone: String
1003
+ firstDayOfTheWeek: Int
1004
+ }
1005
+
1006
+ """
1007
+ Date granularity options (e.g. DAY, MONTH, QUARTER, YEAR, WEEK, DAY_OF_THE_WEEK, MONTH_OF_THE_YEAR, QUARTER_OF_THE_YEAR)
1008
+ """
1009
+ enum ObjectRecordGroupByDateGranularity {
1010
+ DAY
1011
+ MONTH
1012
+ QUARTER
1013
+ YEAR
1014
+ WEEK
1015
+ DAY_OF_THE_WEEK
1016
+ MONTH_OF_THE_YEAR
1017
+ QUARTER_OF_THE_YEAR
1018
+ NONE
1019
+ }
1020
+
1021
+ """Order by options for graph widgets"""
1022
+ enum GraphOrderBy {
1023
+ FIELD_ASC
1024
+ FIELD_DESC
1025
+ FIELD_POSITION_ASC
1026
+ FIELD_POSITION_DESC
1027
+ VALUE_ASC
1028
+ VALUE_DESC
1029
+ MANUAL
1030
+ }
1031
+
1032
+ type LineChartConfiguration {
1033
+ configurationType: WidgetConfigurationType!
1034
+ aggregateFieldMetadataId: UUID!
1035
+ aggregateOperation: AggregateOperations!
1036
+ primaryAxisGroupByFieldMetadataId: UUID!
1037
+ primaryAxisGroupBySubFieldName: String
1038
+ primaryAxisDateGranularity: ObjectRecordGroupByDateGranularity
1039
+ primaryAxisOrderBy: GraphOrderBy
1040
+ primaryAxisManualSortOrder: [String!]
1041
+ secondaryAxisGroupByFieldMetadataId: UUID
1042
+ secondaryAxisGroupBySubFieldName: String
1043
+ secondaryAxisGroupByDateGranularity: ObjectRecordGroupByDateGranularity
1044
+ secondaryAxisOrderBy: GraphOrderBy
1045
+ secondaryAxisManualSortOrder: [String!]
1046
+ omitNullValues: Boolean
1047
+ splitMultiValueFields: Boolean
1048
+ axisNameDisplay: AxisNameDisplay
1049
+ displayDataLabel: Boolean
1050
+ displayLegend: Boolean
1051
+ rangeMin: Float
1052
+ rangeMax: Float
1053
+ description: String
1054
+ color: String
1055
+ filter: JSON
1056
+ isStacked: Boolean
1057
+ isCumulative: Boolean
1058
+ timezone: String
1059
+ firstDayOfTheWeek: Int
1060
+ }
1061
+
1062
+ """Which axes should display labels"""
1063
+ enum AxisNameDisplay {
1064
+ NONE
1065
+ X
1066
+ Y
1067
+ BOTH
1068
+ }
1069
+
1070
+ type IframeConfiguration {
1071
+ configurationType: WidgetConfigurationType!
1072
+ url: String
1073
+ }
1074
+
1075
+ type GaugeChartConfiguration {
1076
+ configurationType: WidgetConfigurationType!
1077
+ aggregateFieldMetadataId: UUID!
1078
+ aggregateOperation: AggregateOperations!
1079
+ displayDataLabel: Boolean
1080
+ color: String
1081
+ description: String
1082
+ filter: JSON
1083
+ timezone: String
1084
+ firstDayOfTheWeek: Int
1085
+ }
1086
+
1087
+ type BarChartConfiguration {
1088
+ configurationType: WidgetConfigurationType!
1089
+ aggregateFieldMetadataId: UUID!
1090
+ aggregateOperation: AggregateOperations!
1091
+ primaryAxisGroupByFieldMetadataId: UUID!
1092
+ primaryAxisGroupBySubFieldName: String
1093
+ primaryAxisDateGranularity: ObjectRecordGroupByDateGranularity
1094
+ primaryAxisOrderBy: GraphOrderBy
1095
+ primaryAxisManualSortOrder: [String!]
1096
+ secondaryAxisGroupByFieldMetadataId: UUID
1097
+ secondaryAxisGroupBySubFieldName: String
1098
+ secondaryAxisGroupByDateGranularity: ObjectRecordGroupByDateGranularity
1099
+ secondaryAxisOrderBy: GraphOrderBy
1100
+ secondaryAxisManualSortOrder: [String!]
1101
+ omitNullValues: Boolean
1102
+ splitMultiValueFields: Boolean
1103
+ axisNameDisplay: AxisNameDisplay
1104
+ displayDataLabel: Boolean
1105
+ displayLegend: Boolean
1106
+ rangeMin: Float
1107
+ rangeMax: Float
1108
+ description: String
1109
+ color: String
1110
+ filter: JSON
1111
+ groupMode: BarChartGroupMode
1112
+ layout: BarChartLayout!
1113
+ isCumulative: Boolean
1114
+ timezone: String
1115
+ firstDayOfTheWeek: Int
1116
+ }
1117
+
1118
+ """Display mode for bar charts with secondary grouping"""
1119
+ enum BarChartGroupMode {
1120
+ STACKED
1121
+ GROUPED
1122
+ }
1123
+
1124
+ """Layout orientation for bar charts"""
1125
+ enum BarChartLayout {
1126
+ VERTICAL
1127
+ HORIZONTAL
1128
+ }
1129
+
1130
+ type CalendarConfiguration {
1131
+ configurationType: WidgetConfigurationType!
1132
+ }
1133
+
1134
+ type FrontComponentConfiguration {
1135
+ configurationType: WidgetConfigurationType!
1136
+ frontComponentId: UUID!
1137
+ }
1138
+
1139
+ type EmailsConfiguration {
1140
+ configurationType: WidgetConfigurationType!
1141
+ }
1142
+
1143
+ type FieldConfiguration {
1144
+ configurationType: WidgetConfigurationType!
1145
+ }
1146
+
1147
+ type FieldRichTextConfiguration {
1148
+ configurationType: WidgetConfigurationType!
1149
+ }
1150
+
1151
+ type FieldsConfiguration {
1152
+ configurationType: WidgetConfigurationType!
1153
+ viewId: String
1154
+ newFieldDefaultConfiguration: NewFieldDefaultConfiguration
1155
+ }
1156
+
1157
+ type FilesConfiguration {
1158
+ configurationType: WidgetConfigurationType!
1159
+ }
1160
+
1161
+ type NotesConfiguration {
1162
+ configurationType: WidgetConfigurationType!
1163
+ }
1164
+
1165
+ type TasksConfiguration {
1166
+ configurationType: WidgetConfigurationType!
1167
+ }
1168
+
1169
+ type TimelineConfiguration {
1170
+ configurationType: WidgetConfigurationType!
1171
+ }
1172
+
1173
+ type ViewConfiguration {
1174
+ configurationType: WidgetConfigurationType!
1175
+ }
1176
+
1177
+ type WorkflowConfiguration {
1178
+ configurationType: WidgetConfigurationType!
1179
+ }
1180
+
1181
+ type WorkflowRunConfiguration {
1182
+ configurationType: WidgetConfigurationType!
1183
+ }
1184
+
1185
+ type WorkflowVersionConfiguration {
1186
+ configurationType: WidgetConfigurationType!
1187
+ }
1188
+
1189
+ type PageLayoutTab {
1190
+ id: UUID!
1191
+ applicationId: UUID!
1192
+ title: String!
1193
+ position: Float!
1194
+ pageLayoutId: UUID!
1195
+ widgets: [PageLayoutWidget!]
1196
+ icon: String
1197
+ layoutMode: PageLayoutTabLayoutMode
1198
+ createdAt: DateTime!
1199
+ updatedAt: DateTime!
1200
+ deletedAt: DateTime
1201
+ }
1202
+
1203
+ type PageLayout {
1204
+ id: UUID!
1205
+ name: String!
1206
+ type: PageLayoutType!
1207
+ objectMetadataId: UUID
1208
+ tabs: [PageLayoutTab!]
1209
+ defaultTabToFocusOnMobileAndSidePanelId: UUID
1210
+ createdAt: DateTime!
1211
+ updatedAt: DateTime!
1212
+ deletedAt: DateTime
1213
+ }
1214
+
1215
+ enum PageLayoutType {
1216
+ RECORD_INDEX
1217
+ RECORD_PAGE
1218
+ DASHBOARD
1219
+ }
1220
+
1221
+ type ObjectRecordEventProperties {
1222
+ updatedFields: [String!]
1223
+ before: JSON
1224
+ after: JSON
1225
+ diff: JSON
1226
+ }
1227
+
1228
+ type MetadataEvent {
1229
+ type: MetadataEventAction!
1230
+ metadataName: String!
1231
+ recordId: String!
1232
+ properties: ObjectRecordEventProperties!
1233
+ }
1234
+
1235
+ """Metadata Event Action"""
1236
+ enum MetadataEventAction {
1237
+ CREATED
1238
+ UPDATED
1239
+ DELETED
1240
+ }
1241
+
1242
+ type ObjectRecordEvent {
1243
+ action: DatabaseEventAction!
1244
+ objectNameSingular: String!
1245
+ recordId: String!
1246
+ userId: String
1247
+ workspaceMemberId: String
1248
+ properties: ObjectRecordEventProperties!
1249
+ }
1250
+
1251
+ """Database Event Action"""
1252
+ enum DatabaseEventAction {
1253
+ CREATED
1254
+ UPDATED
1255
+ DELETED
1256
+ DESTROYED
1257
+ RESTORED
1258
+ UPSERTED
1259
+ }
1260
+
1261
+ type ObjectRecordEventWithQueryIds {
1262
+ queryIds: [String!]!
1263
+ objectRecordEvent: ObjectRecordEvent!
1264
+ }
1265
+
1266
+ type MetadataEventWithQueryIds {
1267
+ queryIds: [String!]!
1268
+ metadataEvent: MetadataEvent!
1269
+ }
1270
+
1271
+ type EventSubscription {
1272
+ eventStreamId: String!
1273
+ objectRecordEventsWithQueryIds: [ObjectRecordEventWithQueryIds!]!
1274
+ metadataEventsWithQueryIds: [MetadataEventWithQueryIds!]!
1275
+ }
1276
+
1277
+ type OnDbEvent {
1278
+ action: DatabaseEventAction!
1279
+ objectNameSingular: String!
1280
+ eventDate: DateTime!
1281
+ record: JSON!
1282
+ updatedFields: [String!]
1283
+ }
1284
+
1285
+ type Analytics {
1286
+ """Boolean that confirms query was dispatched"""
1287
+ success: Boolean!
1288
+ }
1289
+
1290
+ type BillingSubscriptionSchedulePhaseItem {
1291
+ price: String!
1292
+ quantity: Float
1293
+ }
1294
+
1295
+ type BillingSubscriptionSchedulePhase {
1296
+ start_date: Float!
1297
+ end_date: Float!
1298
+ items: [BillingSubscriptionSchedulePhaseItem!]!
1299
+ }
1300
+
1301
+ type BillingProductMetadata {
1302
+ planKey: BillingPlanKey!
1303
+ priceUsageBased: BillingUsageType!
1304
+ productKey: BillingProductKey!
1305
+ }
1306
+
1307
+ """The different billing plans available"""
1308
+ enum BillingPlanKey {
1309
+ PRO
1310
+ ENTERPRISE
1311
+ }
1312
+
1313
+ enum BillingUsageType {
1314
+ METERED
1315
+ LICENSED
1316
+ }
1317
+
1318
+ """The different billing products available"""
1319
+ enum BillingProductKey {
1320
+ BASE_PRODUCT
1321
+ WORKFLOW_NODE_EXECUTION
1322
+ }
1323
+
1324
+ type BillingPriceLicensed {
1325
+ recurringInterval: SubscriptionInterval!
1326
+ unitAmount: Float!
1327
+ stripePriceId: String!
1328
+ priceUsageType: BillingUsageType!
1329
+ }
1330
+
1331
+ enum SubscriptionInterval {
1332
+ Month
1333
+ Year
1334
+ }
1335
+
1336
+ type BillingPriceTier {
1337
+ upTo: Float
1338
+ flatAmount: Float
1339
+ unitAmount: Float
1340
+ }
1341
+
1342
+ type BillingPriceMetered {
1343
+ tiers: [BillingPriceTier!]!
1344
+ recurringInterval: SubscriptionInterval!
1345
+ stripePriceId: String!
1346
+ priceUsageType: BillingUsageType!
1347
+ }
1348
+
1349
+ type BillingProduct {
1350
+ name: String!
1351
+ description: String!
1352
+ images: [String!]
1353
+ metadata: BillingProductMetadata!
1354
+ }
1355
+
1356
+ type BillingLicensedProduct implements BillingProductDTO {
1357
+ name: String!
1358
+ description: String!
1359
+ images: [String!]
1360
+ metadata: BillingProductMetadata!
1361
+ prices: [BillingPriceLicensed!]
1362
+ }
1363
+
1364
+ type BillingMeteredProduct implements BillingProductDTO {
1365
+ name: String!
1366
+ description: String!
1367
+ images: [String!]
1368
+ metadata: BillingProductMetadata!
1369
+ prices: [BillingPriceMetered!]
1370
+ }
1371
+
1372
+ type BillingSubscriptionItemDTO {
1373
+ id: UUID!
1374
+ hasReachedCurrentPeriodCap: Boolean!
1375
+ quantity: Float
1376
+ stripePriceId: String!
1377
+ billingProduct: BillingProductDTO!
1378
+ }
1379
+
1380
+ type BillingSubscription {
1381
+ id: UUID!
1382
+ status: SubscriptionStatus!
1383
+ interval: SubscriptionInterval
1384
+ billingSubscriptionItems: [BillingSubscriptionItemDTO!]
1385
+ currentPeriodEnd: DateTime
1386
+ metadata: JSON!
1387
+ phases: [BillingSubscriptionSchedulePhase!]!
1388
+ }
1389
+
1390
+ enum SubscriptionStatus {
1391
+ Active
1392
+ Canceled
1393
+ Incomplete
1394
+ IncompleteExpired
1395
+ PastDue
1396
+ Paused
1397
+ Trialing
1398
+ Unpaid
1399
+ }
1400
+
1401
+ type BillingEndTrialPeriodOutput {
1402
+ """Updated subscription status"""
1403
+ status: SubscriptionStatus
1404
+
1405
+ """Boolean that confirms if a payment method was found"""
1406
+ hasPaymentMethod: Boolean!
1407
+
1408
+ """
1409
+ Billing portal URL for payment method update (returned when no payment method exists)
1410
+ """
1411
+ billingPortalUrl: String
1412
+ }
1413
+
1414
+ type BillingMeteredProductUsageOutput {
1415
+ productKey: BillingProductKey!
1416
+ periodStart: DateTime!
1417
+ periodEnd: DateTime!
1418
+ usedCredits: Float!
1419
+ grantedCredits: Float!
1420
+ rolloverCredits: Float!
1421
+ totalGrantedCredits: Float!
1422
+ unitPriceCents: Float!
1423
+ }
1424
+
1425
+ type BillingPlanOutput {
1426
+ planKey: BillingPlanKey!
1427
+ licensedProducts: [BillingLicensedProduct!]!
1428
+ meteredProducts: [BillingMeteredProduct!]!
1429
+ }
1430
+
1431
+ type BillingSessionOutput {
1432
+ url: String
1433
+ }
1434
+
1435
+ type BillingUpdateOutput {
1436
+ """Current billing subscription"""
1437
+ currentBillingSubscription: BillingSubscription!
1438
+
1439
+ """All billing subscriptions"""
1440
+ billingSubscriptions: [BillingSubscription!]!
1441
+ }
1442
+
1443
+ type OnboardingStepSuccess {
1444
+ """Boolean that confirms query was dispatched"""
1445
+ success: Boolean!
1446
+ }
1447
+
1448
+ type ApprovedAccessDomain {
1449
+ id: UUID!
1450
+ domain: String!
1451
+ isValidated: Boolean!
1452
+ createdAt: DateTime!
1453
+ }
1454
+
1455
+ type FileWithSignedUrl {
1456
+ id: UUID!
1457
+ path: String!
1458
+ size: Float!
1459
+ createdAt: DateTime!
1460
+ url: String!
1461
+ }
1462
+
1463
+ type File {
1464
+ id: UUID!
1465
+ path: String!
1466
+ size: Float!
1467
+ createdAt: DateTime!
1468
+ }
1469
+
1470
+ type SignedFile {
1471
+ path: String!
1472
+ token: String!
1473
+ }
1474
+
1475
+ type WorkspaceInvitation {
1476
+ id: UUID!
1477
+ email: String!
1478
+ expiresAt: DateTime!
1479
+ }
1480
+
1481
+ type SendInvitationsOutput {
1482
+ """Boolean that confirms query was dispatched"""
1483
+ success: Boolean!
1484
+ errors: [String!]!
1485
+ result: [WorkspaceInvitation!]!
1486
+ }
1487
+
1488
+ type ResendEmailVerificationTokenOutput {
1489
+ success: Boolean!
1490
+ }
1491
+
1492
+ type WorkspaceUrls {
1493
+ customUrl: String
1494
+ subdomainUrl: String!
1495
+ }
1496
+
1497
+ type SSOConnection {
1498
+ type: IdentityProviderType!
1499
+ id: UUID!
1500
+ issuer: String!
1501
+ name: String!
1502
+ status: SSOIdentityProviderStatus!
1503
+ }
1504
+
1505
+ enum IdentityProviderType {
1506
+ OIDC
1507
+ SAML
1508
+ }
1509
+
1510
+ enum SSOIdentityProviderStatus {
1511
+ Active
1512
+ Inactive
1513
+ Error
1514
+ }
1515
+
1516
+ type AvailableWorkspace {
1517
+ id: UUID!
1518
+ displayName: String
1519
+ loginToken: String
1520
+ personalInviteToken: String
1521
+ inviteHash: String
1522
+ workspaceUrls: WorkspaceUrls!
1523
+ logo: String
1524
+ sso: [SSOConnection!]!
1525
+ }
1526
+
1527
+ type AvailableWorkspaces {
1528
+ availableWorkspacesForSignIn: [AvailableWorkspace!]!
1529
+ availableWorkspacesForSignUp: [AvailableWorkspace!]!
1530
+ }
1531
+
1532
+ type DeletedWorkspaceMember {
1533
+ id: UUID!
1534
+ name: FullName!
1535
+ userEmail: String!
1536
+ avatarUrl: String
1537
+ userWorkspaceId: UUID
1538
+ }
1539
+
1540
+ type BillingEntitlement {
1541
+ key: BillingEntitlementKey!
1542
+ value: Boolean!
1543
+ }
1544
+
1545
+ enum BillingEntitlementKey {
1546
+ SSO
1547
+ CUSTOM_DOMAIN
1548
+ RLS
1549
+ AUDIT_LOGS
1550
+ }
1551
+
1552
+ type DomainRecord {
1553
+ validationType: String!
1554
+ type: String!
1555
+ status: String!
1556
+ key: String!
1557
+ value: String!
1558
+ }
1559
+
1560
+ type DomainValidRecords {
1561
+ id: UUID!
1562
+ domain: String!
1563
+ records: [DomainRecord!]!
1564
+ }
1565
+
1566
+ type FeatureFlagDTO {
1567
+ key: FeatureFlagKey!
1568
+ value: Boolean!
1569
+ }
1570
+
1571
+ type SSOIdentityProvider {
1572
+ id: UUID!
1573
+ name: String!
1574
+ type: IdentityProviderType!
1575
+ status: SSOIdentityProviderStatus!
1576
+ issuer: String!
1577
+ }
1578
+
1579
+ type AuthProviders {
1580
+ sso: [SSOIdentityProvider!]!
1581
+ google: Boolean!
1582
+ magicLink: Boolean!
1583
+ password: Boolean!
1584
+ microsoft: Boolean!
1585
+ }
1586
+
1587
+ type AuthBypassProviders {
1588
+ google: Boolean!
1589
+ password: Boolean!
1590
+ microsoft: Boolean!
1591
+ }
1592
+
1593
+ type PublicWorkspaceDataOutput {
1594
+ id: UUID!
1595
+ authProviders: AuthProviders!
1596
+ authBypassProviders: AuthBypassProviders
1597
+ logo: String
1598
+ displayName: String
1599
+ workspaceUrls: WorkspaceUrls!
1600
+ }
1601
+
1602
+ type IndexEdge {
1603
+ """The node containing the Index"""
1604
+ node: Index!
1605
+
1606
+ """Cursor for this node."""
1607
+ cursor: ConnectionCursor!
1608
+ }
1609
+
1610
+ type PageInfo {
1611
+ """true if paging forward and there are more records."""
1612
+ hasNextPage: Boolean
1613
+
1614
+ """true if paging backwards and there are more records."""
1615
+ hasPreviousPage: Boolean
1616
+
1617
+ """The cursor of the first returned record."""
1618
+ startCursor: ConnectionCursor
1619
+
1620
+ """The cursor of the last returned record."""
1621
+ endCursor: ConnectionCursor
1622
+ }
1623
+
1624
+ type IndexConnection {
1625
+ """Paging information"""
1626
+ pageInfo: PageInfo!
1627
+
1628
+ """Array of edges."""
1629
+ edges: [IndexEdge!]!
1630
+ }
1631
+
1632
+ type IndexFieldEdge {
1633
+ """The node containing the IndexField"""
1634
+ node: IndexField!
1635
+
1636
+ """Cursor for this node."""
1637
+ cursor: ConnectionCursor!
1638
+ }
1639
+
1640
+ type IndexIndexFieldMetadatasConnection {
1641
+ """Paging information"""
1642
+ pageInfo: PageInfo!
1643
+
1644
+ """Array of edges."""
1645
+ edges: [IndexFieldEdge!]!
1646
+ }
1647
+
1648
+ type ObjectEdge {
1649
+ """The node containing the Object"""
1650
+ node: Object!
1651
+
1652
+ """Cursor for this node."""
1653
+ cursor: ConnectionCursor!
1654
+ }
1655
+
1656
+ type IndexObjectMetadataConnection {
1657
+ """Paging information"""
1658
+ pageInfo: PageInfo!
1659
+
1660
+ """Array of edges."""
1661
+ edges: [ObjectEdge!]!
1662
+ }
1663
+
1664
+ type ObjectRecordCount {
1665
+ objectNamePlural: String!
1666
+ totalCount: Int!
1667
+ }
1668
+
1669
+ type ObjectConnection {
1670
+ """Paging information"""
1671
+ pageInfo: PageInfo!
1672
+
1673
+ """Array of edges."""
1674
+ edges: [ObjectEdge!]!
1675
+ }
1676
+
1677
+ type ObjectIndexMetadatasConnection {
1678
+ """Paging information"""
1679
+ pageInfo: PageInfo!
1680
+
1681
+ """Array of edges."""
1682
+ edges: [IndexEdge!]!
1683
+ }
1684
+
1685
+ type FieldEdge {
1686
+ """The node containing the Field"""
1687
+ node: Field!
1688
+
1689
+ """Cursor for this node."""
1690
+ cursor: ConnectionCursor!
1691
+ }
1692
+
1693
+ type ObjectFieldsConnection {
1694
+ """Paging information"""
1695
+ pageInfo: PageInfo!
1696
+
1697
+ """Array of edges."""
1698
+ edges: [FieldEdge!]!
1699
+ }
1700
+
1701
+ type UpsertRowLevelPermissionPredicatesResult {
1702
+ predicates: [RowLevelPermissionPredicate!]!
1703
+ predicateGroups: [RowLevelPermissionPredicateGroup!]!
1704
+ }
1705
+
1706
+ type Relation {
1707
+ type: RelationType!
1708
+ sourceObjectMetadata: Object!
1709
+ targetObjectMetadata: Object!
1710
+ sourceFieldMetadata: Field!
1711
+ targetFieldMetadata: Field!
1712
+ }
1713
+
1714
+ """Relation type"""
1715
+ enum RelationType {
1716
+ ONE_TO_MANY
1717
+ MANY_TO_ONE
1718
+ }
1719
+
1720
+ type FieldConnection {
1721
+ """Paging information"""
1722
+ pageInfo: PageInfo!
1723
+
1724
+ """Array of edges."""
1725
+ edges: [FieldEdge!]!
1726
+ }
1727
+
1728
+ type DeleteSsoOutput {
1729
+ identityProviderId: UUID!
1730
+ }
1731
+
1732
+ type EditSsoOutput {
1733
+ id: UUID!
1734
+ type: IdentityProviderType!
1735
+ issuer: String!
1736
+ name: String!
1737
+ status: SSOIdentityProviderStatus!
1738
+ }
1739
+
1740
+ type WorkspaceNameAndId {
1741
+ displayName: String
1742
+ id: UUID!
1743
+ }
1744
+
1745
+ type FindAvailableSSOIDPOutput {
1746
+ type: IdentityProviderType!
1747
+ id: UUID!
1748
+ issuer: String!
1749
+ name: String!
1750
+ status: SSOIdentityProviderStatus!
1751
+ workspace: WorkspaceNameAndId!
1752
+ }
1753
+
1754
+ type SetupSsoOutput {
1755
+ id: UUID!
1756
+ type: IdentityProviderType!
1757
+ issuer: String!
1758
+ name: String!
1759
+ status: SSOIdentityProviderStatus!
1760
+ }
1761
+
1762
+ type DeleteTwoFactorAuthenticationMethodOutput {
1763
+ """Boolean that confirms query was dispatched"""
1764
+ success: Boolean!
1765
+ }
1766
+
1767
+ type InitiateTwoFactorAuthenticationProvisioningOutput {
1768
+ uri: String!
1769
+ }
1770
+
1771
+ type VerifyTwoFactorAuthenticationMethodOutput {
1772
+ success: Boolean!
1773
+ }
1774
+
1775
+ type AuthorizeAppOutput {
1776
+ redirectUrl: String!
1777
+ }
1778
+
1779
+ type EmailPasswordResetLinkOutput {
1780
+ """Boolean that confirms query was dispatched"""
1781
+ success: Boolean!
1782
+ }
1783
+
1784
+ type InvalidatePasswordOutput {
1785
+ """Boolean that confirms query was dispatched"""
1786
+ success: Boolean!
1787
+ }
1788
+
1789
+ type AuthToken {
1790
+ token: String!
1791
+ expiresAt: DateTime!
1792
+ }
1793
+
1794
+ type TransientTokenOutput {
1795
+ transientToken: AuthToken!
1796
+ }
1797
+
1798
+ type ValidatePasswordResetTokenOutput {
1799
+ id: UUID!
1800
+ email: String!
1801
+ hasPassword: Boolean!
1802
+ }
1803
+
1804
+ type AuthTokenPair {
1805
+ accessOrWorkspaceAgnosticToken: AuthToken!
1806
+ refreshToken: AuthToken!
1807
+ }
1808
+
1809
+ type AvailableWorkspacesAndAccessTokensOutput {
1810
+ tokens: AuthTokenPair!
1811
+ availableWorkspaces: AvailableWorkspaces!
1812
+ }
1813
+
1814
+ type GetAuthorizationUrlForSSOOutput {
1815
+ authorizationURL: String!
1816
+ type: String!
1817
+ id: UUID!
1818
+ }
1819
+
1820
+ type WorkspaceUrlsAndId {
1821
+ workspaceUrls: WorkspaceUrls!
1822
+ id: UUID!
1823
+ }
1824
+
1825
+ type SignUpOutput {
1826
+ loginToken: AuthToken!
1827
+ workspace: WorkspaceUrlsAndId!
1828
+ }
1829
+
1830
+ type VerifyEmailAndGetLoginTokenOutput {
1831
+ loginToken: AuthToken!
1832
+ workspaceUrls: WorkspaceUrls!
1833
+ }
1834
+
1835
+ type ApiKeyToken {
1836
+ token: String!
1837
+ }
1838
+
1839
+ type AuthTokens {
1840
+ tokens: AuthTokenPair!
1841
+ }
1842
+
1843
+ type LoginTokenOutput {
1844
+ loginToken: AuthToken!
1845
+ }
1846
+
1847
+ type CheckUserExistOutput {
1848
+ exists: Boolean!
1849
+ availableWorkspacesCount: Float!
1850
+ isEmailVerified: Boolean!
1851
+ }
1852
+
1853
+ type WorkspaceInviteHashValidOutput {
1854
+ isValid: Boolean!
1855
+ }
1856
+
1857
+ type LogicFunctionExecutionResult {
1858
+ """Execution result in JSON format"""
1859
+ data: JSON
1860
+
1861
+ """Execution Logs"""
1862
+ logs: String!
1863
+
1864
+ """Execution duration in milliseconds"""
1865
+ duration: Float!
1866
+
1867
+ """Execution status"""
1868
+ status: LogicFunctionExecutionStatus!
1869
+
1870
+ """Execution error in JSON format"""
1871
+ error: JSON
1872
+ }
1873
+
1874
+ """Status of the logic function execution"""
1875
+ enum LogicFunctionExecutionStatus {
1876
+ IDLE
1877
+ SUCCESS
1878
+ ERROR
1879
+ }
1880
+
1881
+ type LogicFunctionLogs {
1882
+ """Execution Logs"""
1883
+ logs: String!
1884
+ }
1885
+
1886
+ type ToolIndexEntry {
1887
+ name: String!
1888
+ description: String!
1889
+ category: String!
1890
+ objectName: String
1891
+ inputSchema: JSON
1892
+ }
1893
+
1894
+ type Skill {
1895
+ id: UUID!
1896
+ name: String!
1897
+ label: String!
1898
+ icon: String
1899
+ description: String
1900
+ content: String!
1901
+ isCustom: Boolean!
1902
+ isActive: Boolean!
1903
+ applicationId: UUID
1904
+ createdAt: DateTime!
1905
+ updatedAt: DateTime!
1906
+ }
1907
+
1908
+ type ApplicationTokenPair {
1909
+ applicationAccessToken: AuthToken!
1910
+ applicationRefreshToken: AuthToken!
1911
+ }
1912
+
1913
+ type FrontComponent {
1914
+ id: UUID!
1915
+ name: String!
1916
+ description: String
1917
+ sourceComponentPath: String!
1918
+ builtComponentPath: String!
1919
+ componentName: String!
1920
+ builtComponentChecksum: String!
1921
+ universalIdentifier: UUID
1922
+ applicationId: UUID!
1923
+ createdAt: DateTime!
1924
+ updatedAt: DateTime!
1925
+ isHeadless: Boolean!
1926
+ applicationTokenPair: ApplicationTokenPair
1927
+ }
1928
+
1929
+ type CommandMenuItem {
1930
+ id: UUID!
1931
+ workflowVersionId: UUID
1932
+ frontComponentId: UUID
1933
+ frontComponent: FrontComponent
1934
+ label: String!
1935
+ icon: String
1936
+ isPinned: Boolean!
1937
+ availabilityType: CommandMenuItemAvailabilityType!
1938
+ availabilityObjectMetadataId: UUID
1939
+ applicationId: UUID
1940
+ createdAt: DateTime!
1941
+ updatedAt: DateTime!
1942
+ }
1943
+
1944
+ enum CommandMenuItemAvailabilityType {
1945
+ GLOBAL
1946
+ SINGLE_RECORD
1947
+ BULK_RECORDS
1948
+ }
1949
+
1950
+ type AgentMessagePart {
1951
+ id: UUID!
1952
+ messageId: UUID!
1953
+ orderIndex: Int!
1954
+ type: String!
1955
+ textContent: String
1956
+ reasoningContent: String
1957
+ toolName: String
1958
+ toolCallId: String
1959
+ toolInput: JSON
1960
+ toolOutput: JSON
1961
+ state: String
1962
+ errorMessage: String
1963
+ errorDetails: JSON
1964
+ sourceUrlSourceId: String
1965
+ sourceUrlUrl: String
1966
+ sourceUrlTitle: String
1967
+ sourceDocumentSourceId: String
1968
+ sourceDocumentMediaType: String
1969
+ sourceDocumentTitle: String
1970
+ sourceDocumentFilename: String
1971
+ fileMediaType: String
1972
+ fileFilename: String
1973
+ fileUrl: String
1974
+ providerMetadata: JSON
1975
+ createdAt: DateTime!
1976
+ }
1977
+
1978
+ type AgentMessage {
1979
+ id: UUID!
1980
+ threadId: UUID!
1981
+ turnId: UUID!
1982
+ agentId: UUID
1983
+ role: String!
1984
+ parts: [AgentMessagePart!]!
1985
+ createdAt: DateTime!
1986
+ }
1987
+
1988
+ type AgentChatThread {
1989
+ id: UUID!
1990
+ title: String
1991
+ totalInputTokens: Int!
1992
+ totalOutputTokens: Int!
1993
+ contextWindowTokens: Int
1994
+ conversationSize: Int!
1995
+ totalInputCredits: Float!
1996
+ totalOutputCredits: Float!
1997
+ createdAt: DateTime!
1998
+ updatedAt: DateTime!
1999
+ }
2000
+
2001
+ type AISystemPromptSection {
2002
+ title: String!
2003
+ content: String!
2004
+ estimatedTokenCount: Int!
2005
+ }
2006
+
2007
+ type AISystemPromptPreview {
2008
+ sections: [AISystemPromptSection!]!
2009
+ estimatedTokenCount: Int!
2010
+ }
2011
+
2012
+ type AgentTurnEvaluation {
2013
+ id: UUID!
2014
+ turnId: UUID!
2015
+ score: Int!
2016
+ comment: String
2017
+ createdAt: DateTime!
2018
+ }
2019
+
2020
+ type AgentTurn {
2021
+ id: UUID!
2022
+ threadId: UUID!
2023
+ agentId: UUID
2024
+ evaluations: [AgentTurnEvaluation!]!
2025
+ messages: [AgentMessage!]!
2026
+ createdAt: DateTime!
2027
+ }
2028
+
2029
+ type RecordIdentifier {
2030
+ id: UUID!
2031
+ labelIdentifier: String!
2032
+ imageIdentifier: String
2033
+ }
2034
+
2035
+ type NavigationMenuItem {
2036
+ id: UUID!
2037
+ userWorkspaceId: UUID
2038
+ targetRecordId: UUID
2039
+ targetObjectMetadataId: UUID
2040
+ viewId: UUID
2041
+ name: String
2042
+ link: String
2043
+ icon: String
2044
+ folderId: UUID
2045
+ position: Float!
2046
+ applicationId: UUID
2047
+ createdAt: DateTime!
2048
+ updatedAt: DateTime!
2049
+ targetRecordIdentifier: RecordIdentifier
2050
+ }
2051
+
2052
+ type Webhook {
2053
+ id: UUID!
2054
+ targetUrl: String!
2055
+ operations: [String!]!
2056
+ description: String
2057
+ secret: String!
2058
+ applicationId: UUID!
2059
+ createdAt: DateTime!
2060
+ updatedAt: DateTime!
2061
+ deletedAt: DateTime
2062
+ }
2063
+
2064
+ type BillingTrialPeriod {
2065
+ duration: Float!
2066
+ isCreditCardRequired: Boolean!
2067
+ }
2068
+
2069
+ type NativeModelCapabilities {
2070
+ webSearch: Boolean
2071
+ twitterSearch: Boolean
2072
+ }
2073
+
2074
+ type ClientAIModelConfig {
2075
+ modelId: String!
2076
+ label: String!
2077
+ modelFamily: ModelFamily
2078
+ inferenceProvider: InferenceProvider!
2079
+ inputCostPerMillionTokensInCredits: Float!
2080
+ outputCostPerMillionTokensInCredits: Float!
2081
+ nativeCapabilities: NativeModelCapabilities
2082
+ deprecated: Boolean
2083
+ isRecommended: Boolean
2084
+ }
2085
+
2086
+ enum ModelFamily {
2087
+ OPENAI
2088
+ ANTHROPIC
2089
+ GOOGLE
2090
+ MISTRAL
2091
+ XAI
2092
+ }
2093
+
2094
+ enum InferenceProvider {
2095
+ NONE
2096
+ OPENAI
2097
+ ANTHROPIC
2098
+ BEDROCK
2099
+ GOOGLE
2100
+ MISTRAL
2101
+ OPENAI_COMPATIBLE
2102
+ XAI
2103
+ GROQ
2104
+ }
2105
+
2106
+ type AdminAIModelConfig {
2107
+ modelId: String!
2108
+ label: String!
2109
+ modelFamily: ModelFamily
2110
+ inferenceProvider: InferenceProvider!
2111
+ isAvailable: Boolean!
2112
+ isAdminEnabled: Boolean!
2113
+ deprecated: Boolean
2114
+ isRecommended: Boolean
2115
+ }
2116
+
2117
+ type AdminAIModelsOutput {
2118
+ autoEnableNewModels: Boolean!
2119
+ models: [AdminAIModelConfig!]!
2120
+ }
2121
+
2122
+ type Billing {
2123
+ isBillingEnabled: Boolean!
2124
+ billingUrl: String
2125
+ trialPeriods: [BillingTrialPeriod!]!
2126
+ }
2127
+
2128
+ type Support {
2129
+ supportDriver: SupportDriver!
2130
+ supportFrontChatId: String
2131
+ }
2132
+
2133
+ enum SupportDriver {
2134
+ NONE
2135
+ FRONT
2136
+ }
2137
+
2138
+ type Sentry {
2139
+ environment: String
2140
+ release: String
2141
+ dsn: String
2142
+ }
2143
+
2144
+ type Captcha {
2145
+ provider: CaptchaDriverType
2146
+ siteKey: String
2147
+ }
2148
+
2149
+ enum CaptchaDriverType {
2150
+ GOOGLE_RECAPTCHA
2151
+ TURNSTILE
2152
+ }
2153
+
2154
+ type ApiConfig {
2155
+ mutationMaximumAffectedRecords: Float!
2156
+ }
2157
+
2158
+ type PublicFeatureFlagMetadata {
2159
+ label: String!
2160
+ description: String!
2161
+ imagePath: String
2162
+ }
2163
+
2164
+ type PublicFeatureFlag {
2165
+ key: FeatureFlagKey!
2166
+ metadata: PublicFeatureFlagMetadata!
2167
+ }
2168
+
2169
+ type ClientConfig {
2170
+ appVersion: String
2171
+ authProviders: AuthProviders!
2172
+ billing: Billing!
2173
+ aiModels: [ClientAIModelConfig!]!
2174
+ signInPrefilled: Boolean!
2175
+ isMultiWorkspaceEnabled: Boolean!
2176
+ isEmailVerificationRequired: Boolean!
2177
+ defaultSubdomain: String
2178
+ frontDomain: String!
2179
+ analyticsEnabled: Boolean!
2180
+ support: Support!
2181
+ isAttachmentPreviewEnabled: Boolean!
2182
+ sentry: Sentry!
2183
+ captcha: Captcha!
2184
+ chromeExtensionId: String
2185
+ api: ApiConfig!
2186
+ canManageFeatureFlags: Boolean!
2187
+ publicFeatureFlags: [PublicFeatureFlag!]!
2188
+ isMicrosoftMessagingEnabled: Boolean!
2189
+ isMicrosoftCalendarEnabled: Boolean!
2190
+ isGoogleMessagingEnabled: Boolean!
2191
+ isGoogleCalendarEnabled: Boolean!
2192
+ isConfigVariablesInDbEnabled: Boolean!
2193
+ isImapSmtpCaldavEnabled: Boolean!
2194
+ allowRequestsToTwentyIcons: Boolean!
2195
+ calendarBookingPageId: String
2196
+ isCloudflareIntegrationEnabled: Boolean!
2197
+ isClickHouseConfigured: Boolean!
2198
+ }
2199
+
2200
+ type ConfigVariable {
2201
+ name: String!
2202
+ description: String!
2203
+ value: JSON
2204
+ isSensitive: Boolean!
2205
+ source: ConfigSource!
2206
+ isEnvOnly: Boolean!
2207
+ type: ConfigVariableType!
2208
+ options: JSON
2209
+ }
2210
+
2211
+ enum ConfigSource {
2212
+ ENVIRONMENT
2213
+ DATABASE
2214
+ DEFAULT
2215
+ }
2216
+
2217
+ enum ConfigVariableType {
2218
+ BOOLEAN
2219
+ NUMBER
2220
+ ARRAY
2221
+ STRING
2222
+ ENUM
2223
+ }
2224
+
2225
+ type ConfigVariablesGroupData {
2226
+ variables: [ConfigVariable!]!
2227
+ name: ConfigVariablesGroup!
2228
+ description: String!
2229
+ isHiddenOnLoad: Boolean!
2230
+ }
2231
+
2232
+ enum ConfigVariablesGroup {
2233
+ SERVER_CONFIG
2234
+ RATE_LIMITING
2235
+ STORAGE_CONFIG
2236
+ GOOGLE_AUTH
2237
+ MICROSOFT_AUTH
2238
+ EMAIL_SETTINGS
2239
+ LOGGING
2240
+ METERING
2241
+ EXCEPTION_HANDLER
2242
+ OTHER
2243
+ BILLING_CONFIG
2244
+ CAPTCHA_CONFIG
2245
+ CLOUDFLARE_CONFIG
2246
+ LLM
2247
+ LOGIC_FUNCTION_CONFIG
2248
+ CODE_INTERPRETER_CONFIG
2249
+ SSL
2250
+ SUPPORT_CHAT_CONFIG
2251
+ ANALYTICS_CONFIG
2252
+ TOKENS_DURATION
2253
+ TWO_FACTOR_AUTHENTICATION
2254
+ AWS_SES_SETTINGS
2255
+ }
2256
+
2257
+ type ConfigVariablesOutput {
2258
+ groups: [ConfigVariablesGroupData!]!
2259
+ }
2260
+
2261
+ type JobOperationResult {
2262
+ jobId: String!
2263
+ success: Boolean!
2264
+ error: String
2265
+ }
2266
+
2267
+ type DeleteJobsResponse {
2268
+ deletedCount: Int!
2269
+ results: [JobOperationResult!]!
2270
+ }
2271
+
2272
+ type QueueJob {
2273
+ id: String!
2274
+ name: String!
2275
+ data: JSON
2276
+ state: JobState!
2277
+ timestamp: Float
2278
+ failedReason: String
2279
+ processedOn: Float
2280
+ finishedOn: Float
2281
+ attemptsMade: Float!
2282
+ returnValue: JSON
2283
+ logs: [String!]
2284
+ stackTrace: [String!]
2285
+ }
2286
+
2287
+ """Job state in the queue"""
2288
+ enum JobState {
2289
+ COMPLETED
2290
+ FAILED
2291
+ ACTIVE
2292
+ WAITING
2293
+ DELAYED
2294
+ PRIORITIZED
2295
+ WAITING_CHILDREN
2296
+ }
2297
+
2298
+ type QueueRetentionConfig {
2299
+ completedMaxAge: Float!
2300
+ completedMaxCount: Float!
2301
+ failedMaxAge: Float!
2302
+ failedMaxCount: Float!
2303
+ }
2304
+
2305
+ type QueueJobsResponse {
2306
+ jobs: [QueueJob!]!
2307
+ count: Float!
2308
+ totalCount: Float!
2309
+ hasMore: Boolean!
2310
+ retentionConfig: QueueRetentionConfig!
2311
+ }
2312
+
2313
+ type RetryJobsResponse {
2314
+ retriedCount: Int!
2315
+ results: [JobOperationResult!]!
2316
+ }
2317
+
2318
+ type SystemHealthService {
2319
+ id: HealthIndicatorId!
2320
+ label: String!
2321
+ status: AdminPanelHealthServiceStatus!
2322
+ }
2323
+
2324
+ enum HealthIndicatorId {
2325
+ database
2326
+ redis
2327
+ worker
2328
+ connectedAccount
2329
+ app
2330
+ }
2331
+
2332
+ enum AdminPanelHealthServiceStatus {
2333
+ OPERATIONAL
2334
+ OUTAGE
2335
+ }
2336
+
2337
+ type SystemHealth {
2338
+ services: [SystemHealthService!]!
2339
+ }
2340
+
2341
+ type UserInfo {
2342
+ id: UUID!
2343
+ email: String!
2344
+ firstName: String
2345
+ lastName: String
2346
+ }
2347
+
2348
+ type WorkspaceInfo {
2349
+ id: UUID!
2350
+ name: String!
2351
+ allowImpersonation: Boolean!
2352
+ logo: String
2353
+ totalUsers: Float!
2354
+ workspaceUrls: WorkspaceUrls!
2355
+ users: [UserInfo!]!
2356
+ featureFlags: [FeatureFlag!]!
2357
+ }
2358
+
2359
+ type UserLookup {
2360
+ user: UserInfo!
2361
+ workspaces: [WorkspaceInfo!]!
2362
+ }
2363
+
2364
+ type VersionInfo {
2365
+ currentVersion: String
2366
+ latestVersion: String!
2367
+ }
2368
+
2369
+ type AdminPanelWorkerQueueHealth {
2370
+ id: String!
2371
+ queueName: String!
2372
+ status: AdminPanelHealthServiceStatus!
2373
+ }
2374
+
2375
+ type AdminPanelHealthServiceData {
2376
+ id: HealthIndicatorId!
2377
+ label: String!
2378
+ description: String!
2379
+ status: AdminPanelHealthServiceStatus!
2380
+ errorMessage: String
2381
+ details: String
2382
+ queues: [AdminPanelWorkerQueueHealth!]
2383
+ }
2384
+
2385
+ type QueueMetricsDataPoint {
2386
+ x: Float!
2387
+ y: Float!
2388
+ }
2389
+
2390
+ type QueueMetricsSeries {
2391
+ id: String!
2392
+ data: [QueueMetricsDataPoint!]!
2393
+ }
2394
+
2395
+ type WorkerQueueMetrics {
2396
+ failed: Float!
2397
+ completed: Float!
2398
+ waiting: Float!
2399
+ active: Float!
2400
+ delayed: Float!
2401
+ failureRate: Float!
2402
+ failedData: [Float!]
2403
+ completedData: [Float!]
2404
+ }
2405
+
2406
+ type QueueMetricsData {
2407
+ queueName: String!
2408
+ workers: Float!
2409
+ timeRange: QueueMetricsTimeRange!
2410
+ details: WorkerQueueMetrics
2411
+ data: [QueueMetricsSeries!]!
2412
+ }
2413
+
2414
+ enum QueueMetricsTimeRange {
2415
+ SevenDays
2416
+ OneDay
2417
+ TwelveHours
2418
+ FourHours
2419
+ OneHour
2420
+ }
2421
+
2422
+ type ImpersonateOutput {
2423
+ loginToken: AuthToken!
2424
+ workspace: WorkspaceUrlsAndId!
2425
+ }
2426
+
2427
+ type WorkspaceMigrationDTO {
2428
+ applicationUniversalIdentifier: String!
2429
+ actions: JSON!
2430
+ }
2431
+
2432
+ type MarketplaceAppField {
2433
+ name: String!
2434
+ type: String!
2435
+ label: String!
2436
+ description: String
2437
+ icon: String
2438
+ objectUniversalIdentifier: String
2439
+ universalIdentifier: String
2440
+ }
2441
+
2442
+ type MarketplaceAppObject {
2443
+ universalIdentifier: String!
2444
+ nameSingular: String!
2445
+ namePlural: String!
2446
+ labelSingular: String!
2447
+ labelPlural: String!
2448
+ description: String
2449
+ icon: String
2450
+ fields: [MarketplaceAppField!]!
2451
+ }
2452
+
2453
+ type MarketplaceAppLogicFunction {
2454
+ name: String!
2455
+ description: String
2456
+ timeoutSeconds: Int
2457
+ }
2458
+
2459
+ type MarketplaceAppFrontComponent {
2460
+ name: String!
2461
+ description: String
2462
+ }
2463
+
2464
+ type MarketplaceAppRoleObjectPermission {
2465
+ objectUniversalIdentifier: String!
2466
+ canReadObjectRecords: Boolean
2467
+ canUpdateObjectRecords: Boolean
2468
+ canSoftDeleteObjectRecords: Boolean
2469
+ canDestroyObjectRecords: Boolean
2470
+ }
2471
+
2472
+ type MarketplaceAppRoleFieldPermission {
2473
+ objectUniversalIdentifier: String!
2474
+ fieldUniversalIdentifier: String!
2475
+ canReadFieldValue: Boolean
2476
+ canUpdateFieldValue: Boolean
2477
+ }
2478
+
2479
+ type MarketplaceAppDefaultRole {
2480
+ id: String!
2481
+ label: String!
2482
+ description: String
2483
+ canReadAllObjectRecords: Boolean!
2484
+ canUpdateAllObjectRecords: Boolean!
2485
+ canSoftDeleteAllObjectRecords: Boolean!
2486
+ canDestroyAllObjectRecords: Boolean!
2487
+ canUpdateAllSettings: Boolean!
2488
+ canAccessAllTools: Boolean!
2489
+ objectPermissions: [MarketplaceAppRoleObjectPermission!]!
2490
+ fieldPermissions: [MarketplaceAppRoleFieldPermission!]!
2491
+ permissionFlags: [String!]!
2492
+ }
2493
+
2494
+ type MarketplaceApp {
2495
+ id: String!
2496
+ name: String!
2497
+ description: String!
2498
+ icon: String!
2499
+ version: String!
2500
+ author: String!
2501
+ category: String!
2502
+ logo: String
2503
+ screenshots: [String!]!
2504
+ aboutDescription: String!
2505
+ providers: [String!]!
2506
+ websiteUrl: String
2507
+ termsUrl: String
2508
+ objects: [MarketplaceAppObject!]!
2509
+ fields: [MarketplaceAppField!]!
2510
+ logicFunctions: [MarketplaceAppLogicFunction!]!
2511
+ frontComponents: [MarketplaceAppFrontComponent!]!
2512
+ defaultRole: MarketplaceAppDefaultRole
2513
+ }
2514
+
2515
+ type PublicDomain {
2516
+ id: UUID!
2517
+ domain: String!
2518
+ isValidated: Boolean!
2519
+ createdAt: DateTime!
2520
+ }
2521
+
2522
+ type VerificationRecord {
2523
+ type: String!
2524
+ key: String!
2525
+ value: String!
2526
+ priority: Float
2527
+ }
2528
+
2529
+ type EmailingDomain {
2530
+ id: UUID!
2531
+ createdAt: DateTime!
2532
+ updatedAt: DateTime!
2533
+ domain: String!
2534
+ driver: EmailingDomainDriver!
2535
+ status: EmailingDomainStatus!
2536
+ verificationRecords: [VerificationRecord!]
2537
+ verifiedAt: DateTime
2538
+ }
2539
+
2540
+ enum EmailingDomainDriver {
2541
+ AWS_SES
2542
+ }
2543
+
2544
+ enum EmailingDomainStatus {
2545
+ PENDING
2546
+ VERIFIED
2547
+ FAILED
2548
+ TEMPORARY_FAILURE
2549
+ }
2550
+
2551
+ type AutocompleteResult {
2552
+ text: String!
2553
+ placeId: String!
2554
+ }
2555
+
2556
+ type Location {
2557
+ lat: Float
2558
+ lng: Float
2559
+ }
2560
+
2561
+ type PlaceDetailsResult {
2562
+ state: String
2563
+ postcode: String
2564
+ city: String
2565
+ country: String
2566
+ location: Location
2567
+ }
2568
+
2569
+ type ConnectionParametersOutput {
2570
+ host: String!
2571
+ port: Float!
2572
+ username: String
2573
+ password: String!
2574
+ secure: Boolean
2575
+ }
2576
+
2577
+ type ImapSmtpCaldavConnectionParameters {
2578
+ IMAP: ConnectionParametersOutput
2579
+ SMTP: ConnectionParametersOutput
2580
+ CALDAV: ConnectionParametersOutput
2581
+ }
2582
+
2583
+ type ConnectedImapSmtpCaldavAccount {
2584
+ id: UUID!
2585
+ handle: String!
2586
+ provider: String!
2587
+ accountOwnerId: UUID!
2588
+ connectionParameters: ImapSmtpCaldavConnectionParameters
2589
+ }
2590
+
2591
+ type ImapSmtpCaldavConnectionSuccess {
2592
+ success: Boolean!
2593
+ connectedAccountId: String!
2594
+ }
2595
+
2596
+ type PostgresCredentials {
2597
+ id: UUID!
2598
+ user: String!
2599
+ password: String!
2600
+ workspaceId: UUID!
2601
+ }
2602
+
2603
+ type ChannelSyncSuccess {
2604
+ success: Boolean!
2605
+ }
2606
+
2607
+ type BarChartSeries {
2608
+ key: String!
2609
+ label: String!
2610
+ }
2611
+
2612
+ type BarChartDataOutput {
2613
+ data: [JSON!]!
2614
+ indexBy: String!
2615
+ keys: [String!]!
2616
+ series: [BarChartSeries!]!
2617
+ xAxisLabel: String!
2618
+ yAxisLabel: String!
2619
+ showLegend: Boolean!
2620
+ showDataLabels: Boolean!
2621
+ layout: BarChartLayout!
2622
+ groupMode: BarChartGroupMode!
2623
+ hasTooManyGroups: Boolean!
2624
+ formattedToRawLookup: JSON!
2625
+ }
2626
+
2627
+ type LineChartDataPoint {
2628
+ x: String!
2629
+ y: Float!
2630
+ }
2631
+
2632
+ type LineChartSeries {
2633
+ id: String!
2634
+ label: String!
2635
+ data: [LineChartDataPoint!]!
2636
+ }
2637
+
2638
+ type LineChartDataOutput {
2639
+ series: [LineChartSeries!]!
2640
+ xAxisLabel: String!
2641
+ yAxisLabel: String!
2642
+ showLegend: Boolean!
2643
+ showDataLabels: Boolean!
2644
+ hasTooManyGroups: Boolean!
2645
+ formattedToRawLookup: JSON!
2646
+ }
2647
+
2648
+ type PieChartDataItem {
2649
+ id: String!
2650
+ value: Float!
2651
+ }
2652
+
2653
+ type PieChartDataOutput {
2654
+ data: [PieChartDataItem!]!
2655
+ showLegend: Boolean!
2656
+ showDataLabels: Boolean!
2657
+ showCenterMetric: Boolean!
2658
+ hasTooManyGroups: Boolean!
2659
+ formattedToRawLookup: JSON!
2660
+ }
2661
+
2662
+ type DuplicatedDashboard {
2663
+ id: UUID!
2664
+ title: String
2665
+ pageLayoutId: UUID
2666
+ position: Float!
2667
+ createdAt: String!
2668
+ updatedAt: String!
2669
+ }
2670
+
2671
+ type EventLogRecord {
2672
+ event: String!
2673
+ timestamp: DateTime!
2674
+ userWorkspaceId: String
2675
+ properties: JSON
2676
+ recordId: String
2677
+ objectMetadataId: String
2678
+ isCustom: Boolean
2679
+ }
2680
+
2681
+ type EventLogPageInfo {
2682
+ endCursor: String
2683
+ hasNextPage: Boolean!
2684
+ }
2685
+
2686
+ type EventLogQueryResult {
2687
+ records: [EventLogRecord!]!
2688
+ totalCount: Int!
2689
+ pageInfo: EventLogPageInfo!
2690
+ }
2691
+
2692
+ type Query {
2693
+ getPageLayoutWidgets(pageLayoutTabId: String!): [PageLayoutWidget!]!
2694
+ getPageLayoutWidget(id: String!): PageLayoutWidget!
2695
+ getPageLayoutTabs(pageLayoutId: String!): [PageLayoutTab!]!
2696
+ getPageLayoutTab(id: String!): PageLayoutTab!
2697
+ getPageLayouts(objectMetadataId: String, pageLayoutType: PageLayoutType): [PageLayout!]!
2698
+ getPageLayout(id: String!): PageLayout
2699
+ findOneLogicFunction(input: LogicFunctionIdInput!): LogicFunction!
2700
+ findManyLogicFunctions: [LogicFunction!]!
2701
+ getAvailablePackages(input: LogicFunctionIdInput!): JSON!
2702
+ getLogicFunctionSourceCode(input: LogicFunctionIdInput!): String
2703
+ objectRecordCounts: [ObjectRecordCount!]!
2704
+ object(
2705
+ """The id of the record to find."""
2706
+ id: UUID!
2707
+ ): Object!
2708
+ objects(
2709
+ """Limit or page results."""
2710
+ paging: CursorPaging! = {first: 10}
2711
+
2712
+ """Specify to filter the records returned."""
2713
+ filter: ObjectFilter! = {}
2714
+ ): ObjectConnection!
2715
+ getCoreViewFields(viewId: String!): [CoreViewField!]!
2716
+ getCoreViewField(id: String!): CoreViewField
2717
+ getCoreViews(objectMetadataId: String, viewTypes: [ViewType!]): [CoreView!]!
2718
+ getCoreView(id: String!): CoreView
2719
+ getCoreViewSorts(viewId: String): [CoreViewSort!]!
2720
+ getCoreViewSort(id: String!): CoreViewSort
2721
+ getCoreViewGroups(viewId: String): [CoreViewGroup!]!
2722
+ getCoreViewGroup(id: String!): CoreViewGroup
2723
+ getCoreViewFilterGroups(viewId: String): [CoreViewFilterGroup!]!
2724
+ getCoreViewFilterGroup(id: String!): CoreViewFilterGroup
2725
+ getCoreViewFilters(viewId: String): [CoreViewFilter!]!
2726
+ getCoreViewFilter(id: String!): CoreViewFilter
2727
+ getCoreViewFieldGroups(viewId: String!): [CoreViewFieldGroup!]!
2728
+ getCoreViewFieldGroup(id: String!): CoreViewFieldGroup
2729
+ index(
2730
+ """The id of the record to find."""
2731
+ id: UUID!
2732
+ ): Index!
2733
+ indexMetadatas(
2734
+ """Limit or page results."""
2735
+ paging: CursorPaging! = {first: 10}
2736
+
2737
+ """Specify to filter the records returned."""
2738
+ filter: IndexFilter! = {}
2739
+ ): IndexConnection!
2740
+ commandMenuItems: [CommandMenuItem!]!
2741
+ commandMenuItem(id: UUID!): CommandMenuItem
2742
+ frontComponents: [FrontComponent!]!
2743
+ frontComponent(id: UUID!): FrontComponent
2744
+ findManyAgents: [Agent!]!
2745
+ findOneAgent(input: AgentIdInput!): Agent!
2746
+ billingPortalSession(returnUrlPath: String): BillingSessionOutput!
2747
+ listPlans: [BillingPlanOutput!]!
2748
+ getMeteredProductsUsage: [BillingMeteredProductUsageOutput!]!
2749
+ getRoles: [Role!]!
2750
+ findWorkspaceInvitations: [WorkspaceInvitation!]!
2751
+ getApprovedAccessDomains: [ApprovedAccessDomain!]!
2752
+ apiKeys: [ApiKey!]!
2753
+ apiKey(input: GetApiKeyInput!): ApiKey
2754
+ getToolIndex: [ToolIndexEntry!]!
2755
+ getToolInputSchema(toolName: String!): JSON
2756
+ field(
2757
+ """The id of the record to find."""
2758
+ id: UUID!
2759
+ ): Field!
2760
+ fields(
2761
+ """Limit or page results."""
2762
+ paging: CursorPaging! = {first: 10}
2763
+
2764
+ """Specify to filter the records returned."""
2765
+ filter: FieldFilter! = {}
2766
+ ): FieldConnection!
2767
+ currentUser: User!
2768
+ currentWorkspace: Workspace!
2769
+ getPublicWorkspaceDataByDomain(origin: String): PublicWorkspaceDataOutput!
2770
+ checkUserExists(email: String!, captchaToken: String): CheckUserExistOutput!
2771
+ checkWorkspaceInviteHashIsValid(inviteHash: String!): WorkspaceInviteHashValidOutput!
2772
+ findWorkspaceFromInviteHash(inviteHash: String!): Workspace!
2773
+ validatePasswordResetToken(passwordResetToken: String!): ValidatePasswordResetTokenOutput!
2774
+ getSSOIdentityProviders: [FindAvailableSSOIDPOutput!]!
2775
+ webhooks: [Webhook!]!
2776
+ webhook(id: UUID!): Webhook
2777
+ chatThreads: [AgentChatThread!]!
2778
+ chatThread(id: UUID!): AgentChatThread!
2779
+ chatMessages(threadId: UUID!): [AgentMessage!]!
2780
+ getAISystemPromptPreview: AISystemPromptPreview!
2781
+ skills: [Skill!]!
2782
+ skill(id: UUID!): Skill
2783
+ agentTurns(agentId: UUID!): [AgentTurn!]!
2784
+ navigationMenuItems: [NavigationMenuItem!]!
2785
+ navigationMenuItem(id: UUID!): NavigationMenuItem
2786
+ eventLogs(input: EventLogQueryInput!): EventLogQueryResult!
2787
+ pieChartData(input: PieChartDataInput!): PieChartDataOutput!
2788
+ lineChartData(input: LineChartDataInput!): LineChartDataOutput!
2789
+ barChartData(input: BarChartDataInput!): BarChartDataOutput!
2790
+ getConnectedImapSmtpCaldavAccount(id: UUID!): ConnectedImapSmtpCaldavAccount!
2791
+ getAutoCompleteAddress(address: String!, token: String!, country: String, isFieldCity: Boolean): [AutocompleteResult!]!
2792
+ getAddressDetails(placeId: String!, token: String!): PlaceDetailsResult!
2793
+ getConfigVariablesGrouped: ConfigVariablesOutput!
2794
+ getSystemHealthStatus: SystemHealth!
2795
+ getIndicatorHealthStatus(indicatorId: HealthIndicatorId!): AdminPanelHealthServiceData!
2796
+ getQueueMetrics(queueName: String!, timeRange: QueueMetricsTimeRange = OneHour): QueueMetricsData!
2797
+ versionInfo: VersionInfo!
2798
+ getAdminAiModels: AdminAIModelsOutput!
2799
+ getDatabaseConfigVariable(key: String!): ConfigVariable!
2800
+ getQueueJobs(queueName: String!, state: JobState!, limit: Int = 50, offset: Int = 0): QueueJobsResponse!
2801
+ getPostgresCredentials: PostgresCredentials
2802
+ findManyPublicDomains: [PublicDomain!]!
2803
+ getEmailingDomains: [EmailingDomain!]!
2804
+ findManyApplications: [Application!]!
2805
+ findOneApplication(id: UUID, universalIdentifier: UUID): Application!
2806
+ findManyMarketplaceApps: [MarketplaceApp!]!
2807
+ }
2808
+
2809
+ input LogicFunctionIdInput {
2810
+ """The id of the function."""
2811
+ id: ID!
2812
+ }
2813
+
2814
+ input AgentIdInput {
2815
+ """The id of the agent."""
2816
+ id: UUID!
2817
+ }
2818
+
2819
+ input GetApiKeyInput {
2820
+ id: UUID!
2821
+ }
2822
+
2823
+ input EventLogQueryInput {
2824
+ table: EventLogTable!
2825
+ filters: EventLogFiltersInput
2826
+ first: Int = 100
2827
+ after: String
2828
+ }
2829
+
2830
+ enum EventLogTable {
2831
+ WORKSPACE_EVENT
2832
+ PAGEVIEW
2833
+ OBJECT_EVENT
2834
+ }
2835
+
2836
+ input EventLogFiltersInput {
2837
+ eventType: String
2838
+ userWorkspaceId: String
2839
+ dateRange: EventLogDateRangeInput
2840
+ recordId: String
2841
+ objectMetadataId: String
2842
+ }
2843
+
2844
+ input EventLogDateRangeInput {
2845
+ start: DateTime
2846
+ end: DateTime
2847
+ }
2848
+
2849
+ input PieChartDataInput {
2850
+ objectMetadataId: UUID!
2851
+ configuration: JSON!
2852
+ }
2853
+
2854
+ input LineChartDataInput {
2855
+ objectMetadataId: UUID!
2856
+ configuration: JSON!
2857
+ }
2858
+
2859
+ input BarChartDataInput {
2860
+ objectMetadataId: UUID!
2861
+ configuration: JSON!
2862
+ }
2863
+
2864
+ type Mutation {
2865
+ addQueryToEventStream(input: AddQuerySubscriptionInput!): Boolean!
2866
+ removeQueryFromEventStream(input: RemoveQueryFromEventStreamInput!): Boolean!
2867
+ createObjectEvent(event: String!, recordId: UUID!, objectMetadataId: UUID!, properties: JSON): Analytics!
2868
+ trackAnalytics(type: AnalyticsType!, name: String, event: String, properties: JSON): Analytics!
2869
+ createPageLayoutWidget(input: CreatePageLayoutWidgetInput!): PageLayoutWidget!
2870
+ updatePageLayoutWidget(id: String!, input: UpdatePageLayoutWidgetInput!): PageLayoutWidget!
2871
+ destroyPageLayoutWidget(id: String!): Boolean!
2872
+ createPageLayoutTab(input: CreatePageLayoutTabInput!): PageLayoutTab!
2873
+ updatePageLayoutTab(id: String!, input: UpdatePageLayoutTabInput!): PageLayoutTab!
2874
+ destroyPageLayoutTab(id: String!): Boolean!
2875
+ createPageLayout(input: CreatePageLayoutInput!): PageLayout!
2876
+ updatePageLayout(id: String!, input: UpdatePageLayoutInput!): PageLayout!
2877
+ destroyPageLayout(id: String!): Boolean!
2878
+ updatePageLayoutWithTabsAndWidgets(id: String!, input: UpdatePageLayoutWithTabsInput!): PageLayout!
2879
+ deleteOneLogicFunction(input: LogicFunctionIdInput!): LogicFunction!
2880
+ createOneLogicFunction(input: CreateLogicFunctionFromSourceInput!): LogicFunction!
2881
+ executeOneLogicFunction(input: ExecuteOneLogicFunctionInput!): LogicFunctionExecutionResult!
2882
+ updateOneLogicFunction(input: UpdateLogicFunctionFromSourceInput!): Boolean!
2883
+ uploadFile(file: Upload!, fileFolder: FileFolder): SignedFile! @deprecated(reason: "Use uploadFilesFieldFile instead")
2884
+ uploadImage(file: Upload!, fileFolder: FileFolder): SignedFile!
2885
+ createFile(file: Upload!): File! @deprecated(reason: "Use specific file service instead")
2886
+ deleteFile(fileId: UUID!): File! @deprecated(reason: "")
2887
+ uploadWorkflowFile(file: Upload!): FileWithSignedUrl!
2888
+ uploadWorkspaceLogo(file: Upload!): FileWithSignedUrl!
2889
+ uploadWorkspaceMemberProfilePicture(file: Upload!): FileWithSignedUrl!
2890
+ uploadFilesFieldFile(file: Upload!, fieldMetadataId: String!): FileWithSignedUrl!
2891
+ uploadFilesFieldFileByUniversalIdentifier(file: Upload!, fieldMetadataUniversalIdentifier: String!): FileWithSignedUrl!
2892
+ createOneObject(input: CreateOneObjectInput!): Object!
2893
+ deleteOneObject(input: DeleteOneObjectInput!): Object!
2894
+ updateOneObject(input: UpdateOneObjectInput!): Object!
2895
+ updateCoreViewField(input: UpdateViewFieldInput!): CoreViewField!
2896
+ createCoreViewField(input: CreateViewFieldInput!): CoreViewField!
2897
+ createManyCoreViewFields(inputs: [CreateViewFieldInput!]!): [CoreViewField!]!
2898
+ deleteCoreViewField(input: DeleteViewFieldInput!): CoreViewField!
2899
+ destroyCoreViewField(input: DestroyViewFieldInput!): CoreViewField!
2900
+ createCoreView(input: CreateViewInput!): CoreView!
2901
+ updateCoreView(id: String!, input: UpdateViewInput!): CoreView!
2902
+ deleteCoreView(id: String!): Boolean!
2903
+ destroyCoreView(id: String!): Boolean!
2904
+ createCoreViewSort(input: CreateViewSortInput!): CoreViewSort!
2905
+ updateCoreViewSort(id: String!, input: UpdateViewSortInput!): CoreViewSort!
2906
+ deleteCoreViewSort(id: String!): Boolean!
2907
+ destroyCoreViewSort(id: String!): Boolean!
2908
+ createCoreViewGroup(input: CreateViewGroupInput!): CoreViewGroup!
2909
+ createManyCoreViewGroups(inputs: [CreateViewGroupInput!]!): [CoreViewGroup!]!
2910
+ updateCoreViewGroup(input: UpdateViewGroupInput!): CoreViewGroup!
2911
+ deleteCoreViewGroup(input: DeleteViewGroupInput!): CoreViewGroup!
2912
+ destroyCoreViewGroup(input: DestroyViewGroupInput!): CoreViewGroup!
2913
+ createCoreViewFilterGroup(input: CreateViewFilterGroupInput!): CoreViewFilterGroup!
2914
+ updateCoreViewFilterGroup(id: String!, input: UpdateViewFilterGroupInput!): CoreViewFilterGroup!
2915
+ deleteCoreViewFilterGroup(id: String!): Boolean!
2916
+ destroyCoreViewFilterGroup(id: String!): Boolean!
2917
+ createCoreViewFilter(input: CreateViewFilterInput!): CoreViewFilter!
2918
+ updateCoreViewFilter(input: UpdateViewFilterInput!): CoreViewFilter!
2919
+ deleteCoreViewFilter(input: DeleteViewFilterInput!): CoreViewFilter!
2920
+ destroyCoreViewFilter(input: DestroyViewFilterInput!): CoreViewFilter!
2921
+ updateCoreViewFieldGroup(input: UpdateViewFieldGroupInput!): CoreViewFieldGroup!
2922
+ createCoreViewFieldGroup(input: CreateViewFieldGroupInput!): CoreViewFieldGroup!
2923
+ createManyCoreViewFieldGroups(inputs: [CreateViewFieldGroupInput!]!): [CoreViewFieldGroup!]!
2924
+ deleteCoreViewFieldGroup(input: DeleteViewFieldGroupInput!): CoreViewFieldGroup!
2925
+ destroyCoreViewFieldGroup(input: DestroyViewFieldGroupInput!): CoreViewFieldGroup!
2926
+ upsertFieldsWidget(input: UpsertFieldsWidgetInput!): CoreView!
2927
+ createCommandMenuItem(input: CreateCommandMenuItemInput!): CommandMenuItem!
2928
+ updateCommandMenuItem(input: UpdateCommandMenuItemInput!): CommandMenuItem!
2929
+ deleteCommandMenuItem(id: UUID!): CommandMenuItem!
2930
+ createFrontComponent(input: CreateFrontComponentInput!): FrontComponent!
2931
+ updateFrontComponent(input: UpdateFrontComponentInput!): FrontComponent!
2932
+ deleteFrontComponent(id: UUID!): FrontComponent!
2933
+ createOneAgent(input: CreateAgentInput!): Agent!
2934
+ updateOneAgent(input: UpdateAgentInput!): Agent!
2935
+ deleteOneAgent(input: AgentIdInput!): Agent!
2936
+ checkoutSession(recurringInterval: SubscriptionInterval!, plan: BillingPlanKey! = PRO, requirePaymentMethod: Boolean! = true, successUrlPath: String): BillingSessionOutput!
2937
+ switchSubscriptionInterval: BillingUpdateOutput!
2938
+ switchBillingPlan: BillingUpdateOutput!
2939
+ cancelSwitchBillingPlan: BillingUpdateOutput!
2940
+ cancelSwitchBillingInterval: BillingUpdateOutput!
2941
+ setMeteredSubscriptionPrice(priceId: String!): BillingUpdateOutput!
2942
+ endSubscriptionTrialPeriod: BillingEndTrialPeriodOutput!
2943
+ cancelSwitchMeteredPrice: BillingUpdateOutput!
2944
+ updateWorkspaceMemberRole(workspaceMemberId: UUID!, roleId: UUID!): WorkspaceMember!
2945
+ createOneRole(createRoleInput: CreateRoleInput!): Role!
2946
+ updateOneRole(updateRoleInput: UpdateRoleInput!): Role!
2947
+ deleteOneRole(roleId: UUID!): String!
2948
+ upsertObjectPermissions(upsertObjectPermissionsInput: UpsertObjectPermissionsInput!): [ObjectPermission!]!
2949
+ upsertPermissionFlags(upsertPermissionFlagsInput: UpsertPermissionFlagsInput!): [PermissionFlag!]!
2950
+ upsertFieldPermissions(upsertFieldPermissionsInput: UpsertFieldPermissionsInput!): [FieldPermission!]!
2951
+ upsertRowLevelPermissionPredicates(input: UpsertRowLevelPermissionPredicatesInput!): UpsertRowLevelPermissionPredicatesResult!
2952
+ assignRoleToAgent(agentId: UUID!, roleId: UUID!): Boolean!
2953
+ removeRoleFromAgent(agentId: UUID!): Boolean!
2954
+ uploadWorkspaceMemberProfilePictureLegacy(file: Upload!): SignedFile!
2955
+ skipSyncEmailOnboardingStep: OnboardingStepSuccess!
2956
+ skipBookOnboardingStep: OnboardingStepSuccess!
2957
+ deleteWorkspaceInvitation(appTokenId: String!): String!
2958
+ resendWorkspaceInvitation(appTokenId: String!): SendInvitationsOutput!
2959
+ sendInvitations(emails: [String!]!): SendInvitationsOutput!
2960
+ createApprovedAccessDomain(input: CreateApprovedAccessDomainInput!): ApprovedAccessDomain!
2961
+ deleteApprovedAccessDomain(input: DeleteApprovedAccessDomainInput!): Boolean!
2962
+ validateApprovedAccessDomain(input: ValidateApprovedAccessDomainInput!): ApprovedAccessDomain!
2963
+ createApiKey(input: CreateApiKeyInput!): ApiKey!
2964
+ updateApiKey(input: UpdateApiKeyInput!): ApiKey
2965
+ revokeApiKey(input: RevokeApiKeyInput!): ApiKey
2966
+ assignRoleToApiKey(apiKeyId: UUID!, roleId: UUID!): Boolean!
2967
+ createOneField(input: CreateOneFieldMetadataInput!): Field!
2968
+ updateOneField(input: UpdateOneFieldMetadataInput!): Field!
2969
+ deleteOneField(input: DeleteOneFieldInput!): Field!
2970
+ deleteUser: User!
2971
+ deleteUserFromWorkspace(workspaceMemberIdToDelete: String!): UserWorkspace!
2972
+ updateUserEmail(newEmail: String!, verifyEmailRedirectPath: String): Boolean!
2973
+ resendEmailVerificationToken(email: String!, origin: String!): ResendEmailVerificationTokenOutput!
2974
+ activateWorkspace(data: ActivateWorkspaceInput!): Workspace!
2975
+ updateWorkspace(data: UpdateWorkspaceInput!): Workspace!
2976
+ uploadWorkspaceLogoLegacy(file: Upload!): SignedFile!
2977
+ deleteCurrentWorkspace: Workspace!
2978
+ checkCustomDomainValidRecords: DomainValidRecords
2979
+ getAuthorizationUrlForSSO(input: GetAuthorizationUrlForSSOInput!): GetAuthorizationUrlForSSOOutput!
2980
+ getLoginTokenFromCredentials(email: String!, password: String!, captchaToken: String, locale: String, verifyEmailRedirectPath: String, origin: String!): LoginTokenOutput!
2981
+ signIn(email: String!, password: String!, captchaToken: String, locale: String, verifyEmailRedirectPath: String): AvailableWorkspacesAndAccessTokensOutput!
2982
+ verifyEmailAndGetLoginToken(emailVerificationToken: String!, email: String!, captchaToken: String, origin: String!): VerifyEmailAndGetLoginTokenOutput!
2983
+ verifyEmailAndGetWorkspaceAgnosticToken(emailVerificationToken: String!, email: String!, captchaToken: String): AvailableWorkspacesAndAccessTokensOutput!
2984
+ getAuthTokensFromOTP(otp: String!, loginToken: String!, captchaToken: String, origin: String!): AuthTokens!
2985
+ signUp(email: String!, password: String!, captchaToken: String, locale: String, verifyEmailRedirectPath: String): AvailableWorkspacesAndAccessTokensOutput!
2986
+ signUpInWorkspace(email: String!, password: String!, workspaceId: UUID, workspaceInviteHash: String, workspacePersonalInviteToken: String, captchaToken: String, locale: String, verifyEmailRedirectPath: String): SignUpOutput!
2987
+ signUpInNewWorkspace: SignUpOutput!
2988
+ generateTransientToken: TransientTokenOutput!
2989
+ getAuthTokensFromLoginToken(loginToken: String!, origin: String!): AuthTokens!
2990
+ authorizeApp(clientId: String!, codeChallenge: String, redirectUrl: String!): AuthorizeAppOutput!
2991
+ renewToken(appToken: String!): AuthTokens!
2992
+ generateApiKeyToken(apiKeyId: UUID!, expiresAt: String!): ApiKeyToken!
2993
+ emailPasswordResetLink(email: String!, workspaceId: UUID!): EmailPasswordResetLinkOutput!
2994
+ updatePasswordViaResetToken(passwordResetToken: String!, newPassword: String!): InvalidatePasswordOutput!
2995
+ initiateOTPProvisioning(loginToken: String!, origin: String!): InitiateTwoFactorAuthenticationProvisioningOutput!
2996
+ initiateOTPProvisioningForAuthenticatedUser: InitiateTwoFactorAuthenticationProvisioningOutput!
2997
+ deleteTwoFactorAuthenticationMethod(twoFactorAuthenticationMethodId: UUID!): DeleteTwoFactorAuthenticationMethodOutput!
2998
+ verifyTwoFactorAuthenticationMethodForAuthenticatedUser(otp: String!): VerifyTwoFactorAuthenticationMethodOutput!
2999
+ createOIDCIdentityProvider(input: SetupOIDCSsoInput!): SetupSsoOutput!
3000
+ createSAMLIdentityProvider(input: SetupSAMLSsoInput!): SetupSsoOutput!
3001
+ deleteSSOIdentityProvider(input: DeleteSsoInput!): DeleteSsoOutput!
3002
+ editSSOIdentityProvider(input: EditSsoInput!): EditSsoOutput!
3003
+ createWebhook(input: CreateWebhookInput!): Webhook!
3004
+ updateWebhook(input: UpdateWebhookInput!): Webhook!
3005
+ deleteWebhook(id: UUID!): Webhook!
3006
+ createChatThread: AgentChatThread!
3007
+ createSkill(input: CreateSkillInput!): Skill!
3008
+ updateSkill(input: UpdateSkillInput!): Skill!
3009
+ deleteSkill(id: UUID!): Skill!
3010
+ activateSkill(id: UUID!): Skill!
3011
+ deactivateSkill(id: UUID!): Skill!
3012
+ evaluateAgentTurn(turnId: UUID!): AgentTurnEvaluation!
3013
+ runEvaluationInput(agentId: UUID!, input: String!): AgentTurn!
3014
+ createNavigationMenuItem(input: CreateNavigationMenuItemInput!): NavigationMenuItem!
3015
+ updateNavigationMenuItem(input: UpdateOneNavigationMenuItemInput!): NavigationMenuItem!
3016
+ deleteNavigationMenuItem(id: UUID!): NavigationMenuItem!
3017
+ duplicateDashboard(id: UUID!): DuplicatedDashboard!
3018
+ impersonate(userId: UUID!, workspaceId: UUID!): ImpersonateOutput!
3019
+ startChannelSync(connectedAccountId: UUID!): ChannelSyncSuccess!
3020
+ saveImapSmtpCaldavAccount(accountOwnerId: UUID!, handle: String!, connectionParameters: EmailAccountConnectionParameters!, id: UUID): ImapSmtpCaldavConnectionSuccess!
3021
+ updateLabPublicFeatureFlag(input: UpdateLabPublicFeatureFlagInput!): FeatureFlagDTO!
3022
+ userLookupAdminPanel(userIdentifier: String!): UserLookup!
3023
+ updateWorkspaceFeatureFlag(workspaceId: UUID!, featureFlag: String!, value: Boolean!): Boolean!
3024
+ setAdminAiModelEnabled(modelId: String!, enabled: Boolean!): Boolean!
3025
+ createDatabaseConfigVariable(key: String!, value: JSON!): Boolean!
3026
+ updateDatabaseConfigVariable(key: String!, value: JSON!): Boolean!
3027
+ deleteDatabaseConfigVariable(key: String!): Boolean!
3028
+ retryJobs(queueName: String!, jobIds: [String!]!): RetryJobsResponse!
3029
+ deleteJobs(queueName: String!, jobIds: [String!]!): DeleteJobsResponse!
3030
+ enablePostgresProxy: PostgresCredentials!
3031
+ disablePostgresProxy: PostgresCredentials!
3032
+ createPublicDomain(domain: String!): PublicDomain!
3033
+ deletePublicDomain(domain: String!): Boolean!
3034
+ checkPublicDomainValidRecords(domain: String!): DomainValidRecords
3035
+ createEmailingDomain(domain: String!, driver: EmailingDomainDriver!): EmailingDomain!
3036
+ deleteEmailingDomain(id: String!): Boolean!
3037
+ verifyEmailingDomain(id: String!): EmailingDomain!
3038
+ createOneAppToken(input: CreateOneAppTokenInput!): AppToken!
3039
+ renewApplicationToken(applicationRefreshToken: String!): ApplicationTokenPair!
3040
+ installApplication(workspaceMigration: WorkspaceMigrationInput!): Boolean!
3041
+ uninstallApplication(universalIdentifier: String!): Boolean!
3042
+ generateApplicationToken(applicationId: UUID!): ApplicationTokenPair!
3043
+ syncApplication(manifest: JSON!): WorkspaceMigrationDTO!
3044
+ createOneApplication(input: CreateApplicationInput!): Application!
3045
+ uploadApplicationFile(file: Upload!, applicationUniversalIdentifier: String!, fileFolder: FileFolder!, filePath: String!): File!
3046
+ installMarketplaceApp: Boolean!
3047
+ updateOneApplicationVariable(key: String!, value: String!, applicationId: UUID!): Boolean!
3048
+ }
3049
+
3050
+ input AddQuerySubscriptionInput {
3051
+ eventStreamId: String!
3052
+ queryId: String!
3053
+ operationSignature: JSON!
3054
+ }
3055
+
3056
+ input RemoveQueryFromEventStreamInput {
3057
+ eventStreamId: String!
3058
+ queryId: String!
3059
+ }
3060
+
3061
+ enum AnalyticsType {
3062
+ PAGEVIEW
3063
+ TRACK
3064
+ }
3065
+
3066
+ input CreatePageLayoutWidgetInput {
3067
+ pageLayoutTabId: UUID!
3068
+ title: String!
3069
+ type: WidgetType!
3070
+ objectMetadataId: UUID
3071
+ gridPosition: GridPositionInput!
3072
+ position: JSON
3073
+ configuration: JSON!
3074
+ }
3075
+
3076
+ input GridPositionInput {
3077
+ row: Float!
3078
+ column: Float!
3079
+ rowSpan: Float!
3080
+ columnSpan: Float!
3081
+ }
3082
+
3083
+ input UpdatePageLayoutWidgetInput {
3084
+ title: String
3085
+ type: WidgetType
3086
+ objectMetadataId: UUID
3087
+ gridPosition: GridPositionInput
3088
+ position: JSON
3089
+ configuration: JSON
3090
+ }
3091
+
3092
+ input CreatePageLayoutTabInput {
3093
+ title: String!
3094
+ position: Float
3095
+ pageLayoutId: UUID!
3096
+ }
3097
+
3098
+ input UpdatePageLayoutTabInput {
3099
+ title: String
3100
+ position: Float
3101
+ }
3102
+
3103
+ input CreatePageLayoutInput {
3104
+ name: String!
3105
+ type: PageLayoutType = RECORD_PAGE
3106
+ objectMetadataId: UUID
3107
+ }
3108
+
3109
+ input UpdatePageLayoutInput {
3110
+ name: String
3111
+ type: PageLayoutType
3112
+ objectMetadataId: UUID
3113
+ }
3114
+
3115
+ input UpdatePageLayoutWithTabsInput {
3116
+ name: String!
3117
+ type: PageLayoutType!
3118
+ objectMetadataId: UUID
3119
+ tabs: [UpdatePageLayoutTabWithWidgetsInput!]!
3120
+ }
3121
+
3122
+ input UpdatePageLayoutTabWithWidgetsInput {
3123
+ id: UUID!
3124
+ title: String!
3125
+ position: Float!
3126
+ widgets: [UpdatePageLayoutWidgetWithIdInput!]!
3127
+ }
3128
+
3129
+ input UpdatePageLayoutWidgetWithIdInput {
3130
+ id: UUID!
3131
+ pageLayoutTabId: UUID!
3132
+ title: String!
3133
+ type: WidgetType!
3134
+ objectMetadataId: UUID
3135
+ gridPosition: GridPositionInput!
3136
+ position: JSON
3137
+ configuration: JSON
3138
+ }
3139
+
3140
+ input CreateLogicFunctionFromSourceInput {
3141
+ id: UUID
3142
+ universalIdentifier: UUID
3143
+ name: String!
3144
+ description: String
3145
+ timeoutSeconds: Float
3146
+ toolInputSchema: JSON
3147
+ isTool: Boolean
3148
+ source: JSON
3149
+ cronTriggerSettings: JSON
3150
+ databaseEventTriggerSettings: JSON
3151
+ httpRouteTriggerSettings: JSON
3152
+ }
3153
+
3154
+ input ExecuteOneLogicFunctionInput {
3155
+ """Id of the logic function to execute"""
3156
+ id: UUID!
3157
+
3158
+ """Payload in JSON format"""
3159
+ payload: JSON!
3160
+ }
3161
+
3162
+ input UpdateLogicFunctionFromSourceInput {
3163
+ """Id of the logic function to update"""
3164
+ id: UUID!
3165
+
3166
+ """The logic function updates"""
3167
+ update: UpdateLogicFunctionFromSourceInputUpdates!
3168
+ }
3169
+
3170
+ input UpdateLogicFunctionFromSourceInputUpdates {
3171
+ name: String
3172
+ description: String
3173
+ timeoutSeconds: Float
3174
+ sourceHandlerCode: String
3175
+ toolInputSchema: JSON
3176
+ handlerName: String
3177
+ sourceHandlerPath: String
3178
+ isTool: Boolean
3179
+ cronTriggerSettings: JSON
3180
+ databaseEventTriggerSettings: JSON
3181
+ httpRouteTriggerSettings: JSON
3182
+ }
3183
+
3184
+ """The `Upload` scalar type represents a file upload."""
3185
+ scalar Upload
3186
+
3187
+ enum FileFolder {
3188
+ ProfilePicture
3189
+ WorkspaceLogo
3190
+ Attachment
3191
+ PersonPicture
3192
+ CorePicture
3193
+ File
3194
+ AgentChat
3195
+ BuiltLogicFunction
3196
+ BuiltFrontComponent
3197
+ PublicAsset
3198
+ Source
3199
+ FilesField
3200
+ Dependencies
3201
+ Workflow
3202
+ }
3203
+
3204
+ input CreateOneObjectInput {
3205
+ """The object to create"""
3206
+ object: CreateObjectInput!
3207
+ }
3208
+
3209
+ input CreateObjectInput {
3210
+ nameSingular: String!
3211
+ namePlural: String!
3212
+ labelSingular: String!
3213
+ labelPlural: String!
3214
+ description: String
3215
+ icon: String
3216
+ shortcut: String
3217
+ skipNameField: Boolean
3218
+ isRemote: Boolean
3219
+ primaryKeyColumnType: String
3220
+ primaryKeyFieldMetadataSettings: JSON
3221
+ isLabelSyncedWithName: Boolean
3222
+ }
3223
+
3224
+ input DeleteOneObjectInput {
3225
+ """The id of the record to delete."""
3226
+ id: UUID!
3227
+ }
3228
+
3229
+ input UpdateOneObjectInput {
3230
+ update: UpdateObjectPayload!
3231
+
3232
+ """The id of the object to update"""
3233
+ id: UUID!
3234
+ }
3235
+
3236
+ input UpdateObjectPayload {
3237
+ labelSingular: String
3238
+ labelPlural: String
3239
+ nameSingular: String
3240
+ namePlural: String
3241
+ description: String
3242
+ icon: String
3243
+ shortcut: String
3244
+ isActive: Boolean
3245
+ labelIdentifierFieldMetadataId: UUID
3246
+ imageIdentifierFieldMetadataId: UUID
3247
+ isLabelSyncedWithName: Boolean
3248
+ }
3249
+
3250
+ input UpdateViewFieldInput {
3251
+ """The id of the view field to update"""
3252
+ id: UUID!
3253
+
3254
+ """The view field to update"""
3255
+ update: UpdateViewFieldInputUpdates!
3256
+ }
3257
+
3258
+ input UpdateViewFieldInputUpdates {
3259
+ isVisible: Boolean
3260
+ size: Float
3261
+ position: Float
3262
+ aggregateOperation: AggregateOperations
3263
+ viewFieldGroupId: UUID
3264
+ }
3265
+
3266
+ input CreateViewFieldInput {
3267
+ id: UUID
3268
+ fieldMetadataId: UUID!
3269
+ viewId: UUID!
3270
+ isVisible: Boolean = true
3271
+ size: Float = 0
3272
+ position: Float = 0
3273
+ aggregateOperation: AggregateOperations
3274
+ viewFieldGroupId: UUID
3275
+ }
3276
+
3277
+ input DeleteViewFieldInput {
3278
+ """The id of the view field to delete."""
3279
+ id: UUID!
3280
+ }
3281
+
3282
+ input DestroyViewFieldInput {
3283
+ """The id of the view field to destroy."""
3284
+ id: UUID!
3285
+ }
3286
+
3287
+ input CreateViewInput {
3288
+ id: UUID
3289
+ name: String!
3290
+ objectMetadataId: UUID!
3291
+ type: ViewType = TABLE
3292
+ key: ViewKey
3293
+ icon: String!
3294
+ position: Float = 0
3295
+ isCompact: Boolean = false
3296
+ shouldHideEmptyGroups: Boolean = false
3297
+ openRecordIn: ViewOpenRecordIn = SIDE_PANEL
3298
+ kanbanAggregateOperation: AggregateOperations
3299
+ kanbanAggregateOperationFieldMetadataId: UUID
3300
+ anyFieldFilterValue: String
3301
+ calendarLayout: ViewCalendarLayout
3302
+ calendarFieldMetadataId: UUID
3303
+ mainGroupByFieldMetadataId: UUID
3304
+ visibility: ViewVisibility
3305
+ }
3306
+
3307
+ input UpdateViewInput {
3308
+ id: UUID
3309
+ name: String
3310
+ type: ViewType
3311
+ icon: String
3312
+ position: Float
3313
+ isCompact: Boolean
3314
+ openRecordIn: ViewOpenRecordIn
3315
+ kanbanAggregateOperation: AggregateOperations
3316
+ kanbanAggregateOperationFieldMetadataId: UUID
3317
+ anyFieldFilterValue: String
3318
+ calendarLayout: ViewCalendarLayout
3319
+ calendarFieldMetadataId: UUID
3320
+ visibility: ViewVisibility
3321
+ mainGroupByFieldMetadataId: UUID
3322
+ shouldHideEmptyGroups: Boolean
3323
+ }
3324
+
3325
+ input CreateViewSortInput {
3326
+ id: UUID
3327
+ fieldMetadataId: UUID!
3328
+ direction: ViewSortDirection = ASC
3329
+ viewId: UUID!
3330
+ }
3331
+
3332
+ input UpdateViewSortInput {
3333
+ id: UUID
3334
+ fieldMetadataId: UUID
3335
+ direction: ViewSortDirection = ASC
3336
+ viewId: UUID
3337
+ }
3338
+
3339
+ input CreateViewGroupInput {
3340
+ id: UUID
3341
+ isVisible: Boolean = true
3342
+ fieldValue: String!
3343
+ position: Float = 0
3344
+ viewId: UUID!
3345
+ }
3346
+
3347
+ input UpdateViewGroupInput {
3348
+ """The id of the view group to update"""
3349
+ id: UUID!
3350
+
3351
+ """The view group to update"""
3352
+ update: UpdateViewGroupInputUpdates!
3353
+ }
3354
+
3355
+ input UpdateViewGroupInputUpdates {
3356
+ fieldMetadataId: UUID
3357
+ isVisible: Boolean
3358
+ fieldValue: String
3359
+ position: Float
3360
+ }
3361
+
3362
+ input DeleteViewGroupInput {
3363
+ """The id of the view group to delete."""
3364
+ id: UUID!
3365
+ }
3366
+
3367
+ input DestroyViewGroupInput {
3368
+ """The id of the view group to destroy."""
3369
+ id: UUID!
3370
+ }
3371
+
3372
+ input CreateViewFilterGroupInput {
3373
+ id: UUID
3374
+ parentViewFilterGroupId: UUID
3375
+ logicalOperator: ViewFilterGroupLogicalOperator = AND
3376
+ positionInViewFilterGroup: Float
3377
+ viewId: UUID!
3378
+ }
3379
+
3380
+ input UpdateViewFilterGroupInput {
3381
+ id: UUID
3382
+ parentViewFilterGroupId: UUID
3383
+ logicalOperator: ViewFilterGroupLogicalOperator = AND
3384
+ positionInViewFilterGroup: Float
3385
+ viewId: UUID
3386
+ }
3387
+
3388
+ input CreateViewFilterInput {
3389
+ id: UUID
3390
+ fieldMetadataId: UUID!
3391
+ operand: ViewFilterOperand = CONTAINS
3392
+ value: JSON!
3393
+ viewFilterGroupId: UUID
3394
+ positionInViewFilterGroup: Float
3395
+ subFieldName: String
3396
+ viewId: UUID!
3397
+ }
3398
+
3399
+ input UpdateViewFilterInput {
3400
+ """The id of the view filter to update"""
3401
+ id: UUID!
3402
+
3403
+ """The view filter to update"""
3404
+ update: UpdateViewFilterInputUpdates!
3405
+ }
3406
+
3407
+ input UpdateViewFilterInputUpdates {
3408
+ fieldMetadataId: UUID
3409
+ operand: ViewFilterOperand
3410
+ value: JSON
3411
+ viewFilterGroupId: UUID
3412
+ positionInViewFilterGroup: Float
3413
+ subFieldName: String
3414
+ }
3415
+
3416
+ input DeleteViewFilterInput {
3417
+ """The id of the view filter to delete."""
3418
+ id: UUID!
3419
+ }
3420
+
3421
+ input DestroyViewFilterInput {
3422
+ """The id of the view filter to destroy."""
3423
+ id: UUID!
3424
+ }
3425
+
3426
+ input UpdateViewFieldGroupInput {
3427
+ """The id of the view field group to update"""
3428
+ id: UUID!
3429
+
3430
+ """The view field group to update"""
3431
+ update: UpdateViewFieldGroupInputUpdates!
3432
+ }
3433
+
3434
+ input UpdateViewFieldGroupInputUpdates {
3435
+ name: String
3436
+ position: Float
3437
+ isVisible: Boolean
3438
+ deletedAt: String
3439
+ }
3440
+
3441
+ input CreateViewFieldGroupInput {
3442
+ id: UUID
3443
+ name: String!
3444
+ viewId: UUID!
3445
+ position: Float = 0
3446
+ isVisible: Boolean = true
3447
+ }
3448
+
3449
+ input DeleteViewFieldGroupInput {
3450
+ """The id of the view field group to delete."""
3451
+ id: UUID!
3452
+ }
3453
+
3454
+ input DestroyViewFieldGroupInput {
3455
+ """The id of the view field group to destroy."""
3456
+ id: UUID!
3457
+ }
3458
+
3459
+ input UpsertFieldsWidgetInput {
3460
+ """The id of the fields widget whose groups and fields to upsert"""
3461
+ widgetId: UUID!
3462
+
3463
+ """
3464
+ The groups (with nested fields) to upsert. Mutually exclusive with "fields".
3465
+ """
3466
+ groups: [UpsertFieldsWidgetGroupInput!]
3467
+
3468
+ """
3469
+ The ungrouped fields to upsert. When provided, all existing groups are deleted and fields are detached from groups. Mutually exclusive with "groups".
3470
+ """
3471
+ fields: [UpsertFieldsWidgetFieldInput!]
3472
+ }
3473
+
3474
+ input UpsertFieldsWidgetGroupInput {
3475
+ id: UUID!
3476
+ name: String!
3477
+ position: Float!
3478
+ isVisible: Boolean!
3479
+ fields: [UpsertFieldsWidgetFieldInput!]!
3480
+ }
3481
+
3482
+ input UpsertFieldsWidgetFieldInput {
3483
+ """The id of the view field"""
3484
+ viewFieldId: UUID!
3485
+ isVisible: Boolean!
3486
+ position: Float!
3487
+ }
3488
+
3489
+ input CreateCommandMenuItemInput {
3490
+ workflowVersionId: UUID
3491
+ frontComponentId: UUID
3492
+ label: String!
3493
+ icon: String
3494
+ isPinned: Boolean
3495
+ availabilityType: CommandMenuItemAvailabilityType
3496
+ availabilityObjectMetadataId: UUID
3497
+ }
3498
+
3499
+ input UpdateCommandMenuItemInput {
3500
+ id: UUID!
3501
+ label: String
3502
+ icon: String
3503
+ isPinned: Boolean
3504
+ availabilityType: CommandMenuItemAvailabilityType
3505
+ availabilityObjectMetadataId: UUID
3506
+ }
3507
+
3508
+ input CreateFrontComponentInput {
3509
+ id: UUID
3510
+ name: String!
3511
+ description: String
3512
+ sourceComponentPath: String!
3513
+ builtComponentPath: String!
3514
+ componentName: String!
3515
+ builtComponentChecksum: String!
3516
+ }
3517
+
3518
+ input UpdateFrontComponentInput {
3519
+ """The id of the front component to update"""
3520
+ id: UUID!
3521
+
3522
+ """The front component fields to update"""
3523
+ update: UpdateFrontComponentInputUpdates!
3524
+ }
3525
+
3526
+ input UpdateFrontComponentInputUpdates {
3527
+ name: String
3528
+ description: String
3529
+ }
3530
+
3531
+ input CreateAgentInput {
3532
+ name: String
3533
+ label: String!
3534
+ icon: String
3535
+ description: String
3536
+ prompt: String!
3537
+ modelId: String!
3538
+ roleId: UUID
3539
+ responseFormat: JSON
3540
+ modelConfiguration: JSON
3541
+ evaluationInputs: [String!]
3542
+ }
3543
+
3544
+ input UpdateAgentInput {
3545
+ id: UUID!
3546
+ name: String
3547
+ label: String
3548
+ icon: String
3549
+ description: String
3550
+ prompt: String
3551
+ modelId: String
3552
+ roleId: UUID
3553
+ responseFormat: JSON
3554
+ modelConfiguration: JSON
3555
+ evaluationInputs: [String!]
3556
+ }
3557
+
3558
+ input CreateRoleInput {
3559
+ id: String
3560
+ label: String!
3561
+ description: String
3562
+ icon: String
3563
+ canUpdateAllSettings: Boolean
3564
+ canAccessAllTools: Boolean
3565
+ canReadAllObjectRecords: Boolean
3566
+ canUpdateAllObjectRecords: Boolean
3567
+ canSoftDeleteAllObjectRecords: Boolean
3568
+ canDestroyAllObjectRecords: Boolean
3569
+ canBeAssignedToUsers: Boolean
3570
+ canBeAssignedToAgents: Boolean
3571
+ canBeAssignedToApiKeys: Boolean
3572
+ }
3573
+
3574
+ input UpdateRoleInput {
3575
+ update: UpdateRolePayload!
3576
+
3577
+ """The id of the role to update"""
3578
+ id: UUID!
3579
+ }
3580
+
3581
+ input UpdateRolePayload {
3582
+ label: String
3583
+ description: String
3584
+ icon: String
3585
+ canUpdateAllSettings: Boolean
3586
+ canAccessAllTools: Boolean
3587
+ canReadAllObjectRecords: Boolean
3588
+ canUpdateAllObjectRecords: Boolean
3589
+ canSoftDeleteAllObjectRecords: Boolean
3590
+ canDestroyAllObjectRecords: Boolean
3591
+ canBeAssignedToUsers: Boolean
3592
+ canBeAssignedToAgents: Boolean
3593
+ canBeAssignedToApiKeys: Boolean
3594
+ }
3595
+
3596
+ input UpsertObjectPermissionsInput {
3597
+ roleId: UUID!
3598
+ objectPermissions: [ObjectPermissionInput!]!
3599
+ }
3600
+
3601
+ input ObjectPermissionInput {
3602
+ objectMetadataId: UUID!
3603
+ canReadObjectRecords: Boolean
3604
+ canUpdateObjectRecords: Boolean
3605
+ canSoftDeleteObjectRecords: Boolean
3606
+ canDestroyObjectRecords: Boolean
3607
+ }
3608
+
3609
+ input UpsertPermissionFlagsInput {
3610
+ roleId: UUID!
3611
+ permissionFlagKeys: [PermissionFlagType!]!
3612
+ }
3613
+
3614
+ input UpsertFieldPermissionsInput {
3615
+ roleId: UUID!
3616
+ fieldPermissions: [FieldPermissionInput!]!
3617
+ }
3618
+
3619
+ input FieldPermissionInput {
3620
+ objectMetadataId: UUID!
3621
+ fieldMetadataId: UUID!
3622
+ canReadFieldValue: Boolean
3623
+ canUpdateFieldValue: Boolean
3624
+ }
3625
+
3626
+ input UpsertRowLevelPermissionPredicatesInput {
3627
+ roleId: UUID!
3628
+ objectMetadataId: UUID!
3629
+ predicates: [RowLevelPermissionPredicateInput!]!
3630
+ predicateGroups: [RowLevelPermissionPredicateGroupInput!]!
3631
+ }
3632
+
3633
+ input RowLevelPermissionPredicateInput {
3634
+ id: UUID
3635
+ fieldMetadataId: UUID!
3636
+ operand: RowLevelPermissionPredicateOperand!
3637
+ value: JSON
3638
+ subFieldName: String
3639
+ workspaceMemberFieldMetadataId: String
3640
+ workspaceMemberSubFieldName: String
3641
+ rowLevelPermissionPredicateGroupId: UUID
3642
+ positionInRowLevelPermissionPredicateGroup: Float
3643
+ }
3644
+
3645
+ input RowLevelPermissionPredicateGroupInput {
3646
+ id: UUID
3647
+ objectMetadataId: UUID!
3648
+ parentRowLevelPermissionPredicateGroupId: UUID
3649
+ logicalOperator: RowLevelPermissionPredicateGroupLogicalOperator!
3650
+ positionInRowLevelPermissionPredicateGroup: Float
3651
+ }
3652
+
3653
+ input CreateApprovedAccessDomainInput {
3654
+ domain: String!
3655
+ email: String!
3656
+ }
3657
+
3658
+ input DeleteApprovedAccessDomainInput {
3659
+ id: UUID!
3660
+ }
3661
+
3662
+ input ValidateApprovedAccessDomainInput {
3663
+ validationToken: String!
3664
+ approvedAccessDomainId: UUID!
3665
+ }
3666
+
3667
+ input CreateApiKeyInput {
3668
+ name: String!
3669
+ expiresAt: String!
3670
+ revokedAt: String
3671
+ roleId: UUID!
3672
+ }
3673
+
3674
+ input UpdateApiKeyInput {
3675
+ id: UUID!
3676
+ name: String
3677
+ expiresAt: String
3678
+ revokedAt: String
3679
+ }
3680
+
3681
+ input RevokeApiKeyInput {
3682
+ id: UUID!
3683
+ }
3684
+
3685
+ input CreateOneFieldMetadataInput {
3686
+ """The record to create"""
3687
+ field: CreateFieldInput!
3688
+ }
3689
+
3690
+ input CreateFieldInput {
3691
+ type: FieldMetadataType!
3692
+ name: String!
3693
+ label: String!
3694
+ description: String
3695
+ icon: String
3696
+ isCustom: Boolean
3697
+ isActive: Boolean
3698
+ isSystem: Boolean
3699
+ isUIReadOnly: Boolean
3700
+ isNullable: Boolean
3701
+ isUnique: Boolean
3702
+ defaultValue: JSON
3703
+ options: JSON
3704
+ settings: JSON
3705
+ isLabelSyncedWithName: Boolean
3706
+ objectMetadataId: UUID!
3707
+ isRemoteCreation: Boolean
3708
+ relationCreationPayload: JSON
3709
+ morphRelationsCreationPayload: [JSON!]
3710
+ }
3711
+
3712
+ input UpdateOneFieldMetadataInput {
3713
+ """The id of the record to update"""
3714
+ id: UUID!
3715
+
3716
+ """The record to update"""
3717
+ update: UpdateFieldInput!
3718
+ }
3719
+
3720
+ input UpdateFieldInput {
3721
+ universalIdentifier: UUID
3722
+ name: String
3723
+ label: String
3724
+ description: String
3725
+ icon: String
3726
+ isActive: Boolean
3727
+ isSystem: Boolean
3728
+ isUIReadOnly: Boolean
3729
+ isNullable: Boolean
3730
+ isUnique: Boolean
3731
+ defaultValue: JSON
3732
+ options: JSON
3733
+ settings: JSON
3734
+ isLabelSyncedWithName: Boolean
3735
+ morphRelationsUpdatePayload: [JSON!]
3736
+ }
3737
+
3738
+ input DeleteOneFieldInput {
3739
+ """The id of the field to delete."""
3740
+ id: UUID!
3741
+ }
3742
+
3743
+ input ActivateWorkspaceInput {
3744
+ displayName: String
3745
+ }
3746
+
3747
+ input UpdateWorkspaceInput {
3748
+ subdomain: String
3749
+ customDomain: String
3750
+ displayName: String
3751
+ logo: String
3752
+ inviteHash: String
3753
+ isPublicInviteLinkEnabled: Boolean
3754
+ allowImpersonation: Boolean
3755
+ isGoogleAuthEnabled: Boolean
3756
+ isMicrosoftAuthEnabled: Boolean
3757
+ isPasswordAuthEnabled: Boolean
3758
+ isGoogleAuthBypassEnabled: Boolean
3759
+ isMicrosoftAuthBypassEnabled: Boolean
3760
+ isPasswordAuthBypassEnabled: Boolean
3761
+ defaultRoleId: UUID
3762
+ isTwoFactorAuthenticationEnforced: Boolean
3763
+ trashRetentionDays: Float
3764
+ eventLogRetentionDays: Float
3765
+ fastModel: String
3766
+ smartModel: String
3767
+ aiAdditionalInstructions: String
3768
+ editableProfileFields: [String!]
3769
+ autoEnableNewAiModels: Boolean
3770
+ disabledAiModelIds: [String!]
3771
+ enabledAiModelIds: [String!]
3772
+ useRecommendedModels: Boolean
3773
+ }
3774
+
3775
+ input GetAuthorizationUrlForSSOInput {
3776
+ identityProviderId: UUID!
3777
+ workspaceInviteHash: String
3778
+ }
3779
+
3780
+ input SetupOIDCSsoInput {
3781
+ name: String!
3782
+ issuer: String!
3783
+ clientID: String!
3784
+ clientSecret: String!
3785
+ }
3786
+
3787
+ input SetupSAMLSsoInput {
3788
+ name: String!
3789
+ issuer: String!
3790
+ id: UUID!
3791
+ ssoURL: String!
3792
+ certificate: String!
3793
+ fingerprint: String
3794
+ }
3795
+
3796
+ input DeleteSsoInput {
3797
+ identityProviderId: UUID!
3798
+ }
3799
+
3800
+ input EditSsoInput {
3801
+ id: UUID!
3802
+ status: SSOIdentityProviderStatus!
3803
+ }
3804
+
3805
+ input CreateWebhookInput {
3806
+ id: UUID
3807
+ targetUrl: String!
3808
+ operations: [String!]!
3809
+ description: String
3810
+ secret: String
3811
+ }
3812
+
3813
+ input UpdateWebhookInput {
3814
+ """The id of the webhook to update"""
3815
+ id: UUID!
3816
+
3817
+ """The webhook fields to update"""
3818
+ update: UpdateWebhookInputUpdates!
3819
+ }
3820
+
3821
+ input UpdateWebhookInputUpdates {
3822
+ targetUrl: String
3823
+ operations: [String!]
3824
+ description: String
3825
+ secret: String
3826
+ }
3827
+
3828
+ input CreateSkillInput {
3829
+ id: UUID
3830
+ name: String!
3831
+ label: String!
3832
+ icon: String
3833
+ description: String
3834
+ content: String!
3835
+ }
3836
+
3837
+ input UpdateSkillInput {
3838
+ id: UUID!
3839
+ name: String
3840
+ label: String
3841
+ icon: String
3842
+ description: String
3843
+ content: String
3844
+ isActive: Boolean
3845
+ }
3846
+
3847
+ input CreateNavigationMenuItemInput {
3848
+ userWorkspaceId: UUID
3849
+ targetRecordId: UUID
3850
+ targetObjectMetadataId: UUID
3851
+ viewId: UUID
3852
+ name: String
3853
+ link: String
3854
+ icon: String
3855
+ folderId: UUID
3856
+ position: Float
3857
+ }
3858
+
3859
+ input UpdateOneNavigationMenuItemInput {
3860
+ """The id of the record to update"""
3861
+ id: UUID!
3862
+
3863
+ """The record to update"""
3864
+ update: UpdateNavigationMenuItemInput!
3865
+ }
3866
+
3867
+ input UpdateNavigationMenuItemInput {
3868
+ folderId: UUID
3869
+ position: Float
3870
+ name: String
3871
+ link: String
3872
+ icon: String
3873
+ }
3874
+
3875
+ input EmailAccountConnectionParameters {
3876
+ IMAP: ConnectionParameters
3877
+ SMTP: ConnectionParameters
3878
+ CALDAV: ConnectionParameters
3879
+ }
3880
+
3881
+ input ConnectionParameters {
3882
+ host: String!
3883
+ port: Float!
3884
+ username: String
3885
+ password: String!
3886
+ secure: Boolean
3887
+ }
3888
+
3889
+ input UpdateLabPublicFeatureFlagInput {
3890
+ publicFeatureFlag: String!
3891
+ value: Boolean!
3892
+ }
3893
+
3894
+ input CreateOneAppTokenInput {
3895
+ """The record to create"""
3896
+ appToken: CreateAppTokenInput!
3897
+ }
3898
+
3899
+ input CreateAppTokenInput {
3900
+ expiresAt: DateTime!
3901
+ }
3902
+
3903
+ input WorkspaceMigrationInput {
3904
+ actions: [WorkspaceMigrationDeleteActionInput!]!
3905
+ }
3906
+
3907
+ input WorkspaceMigrationDeleteActionInput {
3908
+ type: WorkspaceMigrationActionType!
3909
+ metadataName: AllMetadataName!
3910
+ universalIdentifier: String!
3911
+ }
3912
+
3913
+ enum WorkspaceMigrationActionType {
3914
+ delete
3915
+ create
3916
+ update
3917
+ }
3918
+
3919
+ enum AllMetadataName {
3920
+ fieldMetadata
3921
+ objectMetadata
3922
+ view
3923
+ viewField
3924
+ viewFieldGroup
3925
+ viewGroup
3926
+ rowLevelPermissionPredicate
3927
+ rowLevelPermissionPredicateGroup
3928
+ viewFilterGroup
3929
+ index
3930
+ logicFunction
3931
+ viewFilter
3932
+ role
3933
+ roleTarget
3934
+ agent
3935
+ skill
3936
+ pageLayout
3937
+ pageLayoutWidget
3938
+ pageLayoutTab
3939
+ commandMenuItem
3940
+ navigationMenuItem
3941
+ frontComponent
3942
+ webhook
3943
+ }
3944
+
3945
+ input CreateApplicationInput {
3946
+ universalIdentifier: String!
3947
+ name: String!
3948
+ description: String
3949
+ version: String!
3950
+ sourcePath: String!
3951
+ }
3952
+
3953
+ type Subscription {
3954
+ onDbEvent(input: OnDbEventInput!): OnDbEvent!
3955
+ onEventSubscription(eventStreamId: String!): EventSubscription
3956
+ logicFunctionLogs(input: LogicFunctionLogsInput!): LogicFunctionLogs!
3957
+ }
3958
+
3959
+ input OnDbEventInput {
3960
+ action: DatabaseEventAction
3961
+ objectNameSingular: String
3962
+ recordId: UUID
3963
+ }
3964
+
3965
+ input LogicFunctionLogsInput {
3966
+ applicationId: UUID
3967
+ applicationUniversalIdentifier: UUID
3968
+ name: String
3969
+ id: UUID
3970
+ universalIdentifier: UUID
3971
+ }