twenty-sdk 2.7.0 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/{catalog-sync-B7123fv7.js → catalog-sync-CanLpG9v.js} +1 -1
  2. package/dist/{catalog-sync-5PU93p3u.mjs → catalog-sync-DyCidT5d.mjs} +1 -1
  3. package/dist/cli/utilities/api/api-client.d.ts +3 -0
  4. package/dist/cli/utilities/api/api-service.d.ts +1 -0
  5. package/dist/cli/utilities/build/manifest/manifest-extract-config.d.ts +4 -0
  6. package/dist/cli/utilities/build/manifest/utils/validate-view-filter-operands.d.ts +6 -0
  7. package/dist/cli/utilities/dev/orchestrator/dev-mode-orchestrator-state.d.ts +0 -1
  8. package/dist/cli.cjs +7 -7
  9. package/dist/cli.mjs +859 -855
  10. package/dist/define/index.cjs +14 -14
  11. package/dist/define/index.cjs.map +1 -1
  12. package/dist/define/index.d.ts +66 -546
  13. package/dist/define/index.mjs +1623 -1977
  14. package/dist/define/index.mjs.map +1 -1
  15. package/dist/front-component/index.cjs +13 -13
  16. package/dist/front-component/index.cjs.map +1 -1
  17. package/dist/front-component/index.d.ts +10 -2
  18. package/dist/front-component/index.mjs +1420 -1312
  19. package/dist/front-component/index.mjs.map +1 -1
  20. package/dist/{get-function-input-schema-BZ7_XyUh-BprcNdqJ.js → get-function-input-schema-BZ7_XyUh-COeGJwHh.js} +1 -1
  21. package/dist/{get-function-input-schema-BZ7_XyUh-CSpgPUBa.mjs → get-function-input-schema-BZ7_XyUh-Dql7-b-j.mjs} +1 -1
  22. package/dist/{login-oauth-CLUI-EwN.js → login-oauth-BESuSxoP.js} +62 -51
  23. package/dist/{login-oauth-OKavkVCc.mjs → login-oauth-DSC3zo9c.mjs} +3593 -3811
  24. package/dist/operations.cjs +1 -1
  25. package/dist/operations.mjs +2 -2
  26. package/dist/ui/index.cjs +20 -20
  27. package/dist/ui/index.mjs +6277 -6170
  28. package/package.json +2 -2
@@ -713,6 +713,12 @@ type RegularFieldManifest<T extends FieldMetadataType = Exclude<FieldMetadataTyp
713
713
  options?: FieldMetadataOptions<T>;
714
714
  universalSettings?: FieldMetadataUniversalSettings<T>;
715
715
  isNullable?: boolean;
716
+ /**
717
+ * @deprecated Use defineIndex({ isUnique: true, fields: [...] }) instead.
718
+ * Indexes are the SDK primitive for uniqueness — they support both single-
719
+ * and multi-column unique constraints with a single, consistent API. This
720
+ * field still works but will be removed in a future release.
721
+ */
716
722
  isUnique?: boolean;
717
723
  objectUniversalIdentifier: string;
718
724
  };
@@ -750,6 +756,18 @@ type FrontComponentManifest = {
750
756
  usesSdkClient?: boolean;
751
757
  };
752
758
 
759
+ type IndexFieldManifest = SyncableEntityOptions$1 & {
760
+ fieldUniversalIdentifier: string;
761
+ subFieldName?: string;
762
+ };
763
+
764
+ type IndexManifest = SyncableEntityOptions$1 & {
765
+ objectUniversalIdentifier: string;
766
+ indexType?: 'BTREE' | 'GIN';
767
+ isUnique?: boolean;
768
+ fields: IndexFieldManifest[];
769
+ };
770
+
753
771
  type InputJsonSchema = {
754
772
  type?: 'string' | 'number' | 'boolean' | 'object' | 'array' | 'integer' | 'null';
755
773
  description?: string;
@@ -872,33 +890,13 @@ type PageLayoutManifest = SyncableEntityOptions$1 & {
872
890
  tabs?: PageLayoutTabManifest[];
873
891
  };
874
892
 
875
- declare enum PermissionFlagType {
876
- API_KEYS_AND_WEBHOOKS = "API_KEYS_AND_WEBHOOKS",
877
- WORKSPACE = "WORKSPACE",
878
- WORKSPACE_MEMBERS = "WORKSPACE_MEMBERS",
879
- ROLES = "ROLES",
880
- DATA_MODEL = "DATA_MODEL",
881
- SECURITY = "SECURITY",
882
- WORKFLOWS = "WORKFLOWS",
883
- IMPERSONATE = "IMPERSONATE",
884
- SSO_BYPASS = "SSO_BYPASS",
885
- APPLICATIONS = "APPLICATIONS",
886
- MARKETPLACE_APPS = "MARKETPLACE_APPS",
887
- LAYOUTS = "LAYOUTS",
888
- BILLING = "BILLING",
889
- AI_SETTINGS = "AI_SETTINGS",
890
- AI = "AI",
891
- VIEWS = "VIEWS",
892
- UPLOAD_FILE = "UPLOAD_FILE",
893
- DOWNLOAD_FILE = "DOWNLOAD_FILE",
894
- SEND_EMAIL_TOOL = "SEND_EMAIL_TOOL",
895
- HTTP_REQUEST_TOOL = "HTTP_REQUEST_TOOL",
896
- CODE_INTERPRETER_TOOL = "CODE_INTERPRETER_TOOL",
897
- IMPORT_CSV = "IMPORT_CSV",
898
- EXPORT_CSV = "EXPORT_CSV",
899
- CONNECTED_ACCOUNTS = "CONNECTED_ACCOUNTS",
900
- PROFILE_INFORMATION = "PROFILE_INFORMATION"
901
- }
893
+ type PermissionFlagPermissionType = 'settings' | 'tool';
894
+ type PermissionFlagManifest = SyncableEntityOptions$1 & {
895
+ key: string;
896
+ label: string;
897
+ description?: string | null;
898
+ icon?: string | null;
899
+ };
902
900
 
903
901
  type ObjectPermissionManifest = SyncableEntityOptions$1 & {
904
902
  objectUniversalIdentifier: string;
@@ -913,9 +911,6 @@ type FieldPermissionManifest = SyncableEntityOptions$1 & {
913
911
  canReadFieldValue?: boolean;
914
912
  canUpdateFieldValue?: boolean;
915
913
  };
916
- type PermissionFlagManifest = SyncableEntityOptions$1 & {
917
- flag: PermissionFlagType;
918
- };
919
914
  type RoleManifest = SyncableEntityOptions$1 & {
920
915
  label: string;
921
916
  description?: string;
@@ -931,7 +926,7 @@ type RoleManifest = SyncableEntityOptions$1 & {
931
926
  canBeAssignedToApiKeys?: boolean;
932
927
  objectPermissions?: ObjectPermissionManifest[];
933
928
  fieldPermissions?: FieldPermissionManifest[];
934
- permissionFlags?: PermissionFlagManifest[];
929
+ permissionFlagUniversalIdentifiers?: string[];
935
930
  };
936
931
 
937
932
  type SkillManifest = SyncableEntityOptions$1 & {
@@ -1017,6 +1012,8 @@ type FrontComponentConfig = Omit<FrontComponentManifest, 'sourceComponentPath' |
1017
1012
  component: FrontComponentType;
1018
1013
  };
1019
1014
 
1015
+ type IndexConfig = IndexManifest;
1016
+
1020
1017
  type LogicFunctionHandler = (...args: any[]) => any | Promise<any>;
1021
1018
  type LogicFunctionConfig = Omit<LogicFunctionManifest, 'sourceHandlerPath' | 'builtHandlerPath' | 'builtHandlerChecksum' | 'handlerName'> & {
1022
1019
  handler: LogicFunctionHandler;
@@ -1032,6 +1029,8 @@ type PageLayoutTabConfig = Omit<PageLayoutTabManifest, 'pageLayoutUniversalIdent
1032
1029
  pageLayoutUniversalIdentifier: string;
1033
1030
  };
1034
1031
 
1032
+ type PermissionFlagConfig = PermissionFlagManifest;
1033
+
1035
1034
  type ViewConfig = ViewManifest;
1036
1035
 
1037
1036
  type InstallPayload = {
@@ -1049,10 +1048,9 @@ type PostInstallLogicFunctionConfig = PreInstallLogicFunctionConfig & {
1049
1048
  shouldRunSynchronously?: boolean;
1050
1049
  };
1051
1050
 
1052
- type RoleConfig = Omit<RoleManifest, 'objectPermissions' | 'fieldPermissions' | 'permissionFlags'> & {
1051
+ type RoleConfig = Omit<RoleManifest, 'objectPermissions' | 'fieldPermissions'> & {
1053
1052
  objectPermissions?: Omit<ObjectPermissionManifest, 'universalIdentifier'>[];
1054
1053
  fieldPermissions?: Omit<FieldPermissionManifest, 'universalIdentifier'>[];
1055
- permissionFlags?: PermissionFlagType[];
1056
1054
  };
1057
1055
 
1058
1056
  type ValidationResult<T> = {
@@ -1061,7 +1059,7 @@ type ValidationResult<T> = {
1061
1059
  errors: string[];
1062
1060
  warnings?: string[];
1063
1061
  };
1064
- type DefinableEntity = ApplicationConfig | ObjectConfig | FieldManifest | FrontComponentConfig | LogicFunctionConfig | PostInstallLogicFunctionConfig | PreInstallLogicFunctionConfig | AgentManifest | ConnectionProviderManifest | RoleConfig | SkillManifest | ViewConfig | NavigationMenuItemManifest | PageLayoutConfig | PageLayoutTabConfig | CommandMenuItemConfig;
1062
+ type DefinableEntity = ApplicationConfig | ObjectConfig | FieldManifest | FrontComponentConfig | IndexConfig | LogicFunctionConfig | PostInstallLogicFunctionConfig | PreInstallLogicFunctionConfig | AgentManifest | ConnectionProviderManifest | RoleConfig | SkillManifest | ViewConfig | NavigationMenuItemManifest | PageLayoutConfig | PageLayoutTabConfig | PermissionFlagConfig | CommandMenuItemConfig;
1065
1063
  type DefineEntity<T extends DefinableEntity = DefinableEntity> = (config: T) => ValidationResult<T>;
1066
1064
 
1067
1065
  declare const defineAgent: DefineEntity<AgentManifest>;
@@ -1086,6 +1084,8 @@ declare const defineCommandMenuItem: DefineEntity<CommandMenuItemConfig>;
1086
1084
 
1087
1085
  declare const defineFrontComponent: DefineEntity<FrontComponentConfig>;
1088
1086
 
1087
+ declare const defineIndex: DefineEntity<IndexConfig>;
1088
+
1089
1089
  declare const defineLogicFunction: DefineEntity<LogicFunctionConfig>;
1090
1090
 
1091
1091
  declare const definePostInstallLogicFunction: DefineEntity<PostInstallLogicFunctionConfig>;
@@ -1529,132 +1529,6 @@ declare const STANDARD_OBJECTS: {
1529
1529
  };
1530
1530
  };
1531
1531
  };
1532
- readonly calendarChannel: {
1533
- readonly universalIdentifier: "20202020-e8f2-40e1-a39c-c0e0039c5034";
1534
- readonly fields: {
1535
- readonly id: {
1536
- readonly universalIdentifier: "20202020-c02a-4031-8a31-1a2f3b4c5d6e";
1537
- };
1538
- readonly createdAt: {
1539
- readonly universalIdentifier: "20202020-c02b-4032-9b32-2b3f4c5d6e7f";
1540
- };
1541
- readonly updatedAt: {
1542
- readonly universalIdentifier: "20202020-c02c-4033-8c33-3c4f5d6e7f8a";
1543
- };
1544
- readonly deletedAt: {
1545
- readonly universalIdentifier: "20202020-c02d-4034-9d34-4d5f6e7f8a9b";
1546
- };
1547
- readonly connectedAccount: {
1548
- readonly universalIdentifier: "20202020-95b1-4f44-82dc-61b042ae2414";
1549
- };
1550
- readonly handle: {
1551
- readonly universalIdentifier: "20202020-1d08-420a-9aa7-22e0f298232d";
1552
- };
1553
- readonly visibility: {
1554
- readonly universalIdentifier: "20202020-1b07-4796-9f01-d626bab7ca4d";
1555
- };
1556
- readonly isContactAutoCreationEnabled: {
1557
- readonly universalIdentifier: "20202020-50fb-404b-ba28-369911a3793a";
1558
- };
1559
- readonly contactAutoCreationPolicy: {
1560
- readonly universalIdentifier: "20202020-b55d-447d-b4df-226319058775";
1561
- };
1562
- readonly isSyncEnabled: {
1563
- readonly universalIdentifier: "20202020-fe19-4818-8854-21f7b1b43395";
1564
- };
1565
- readonly syncCursor: {
1566
- readonly universalIdentifier: "20202020-bac2-4852-a5cb-7a7898992b70";
1567
- };
1568
- readonly throttleFailureCount: {
1569
- readonly universalIdentifier: "20202020-525c-4b76-b9bd-0dd57fd11d61";
1570
- };
1571
- readonly syncStatus: {
1572
- readonly universalIdentifier: "20202020-7116-41da-8b4b-035975c4eb6a";
1573
- };
1574
- readonly syncStage: {
1575
- readonly universalIdentifier: "20202020-6246-42e6-b5cd-003bd921782c";
1576
- };
1577
- readonly syncStageStartedAt: {
1578
- readonly universalIdentifier: "20202020-a934-46f1-a8e7-9568b1e3a53e";
1579
- };
1580
- readonly syncedAt: {
1581
- readonly universalIdentifier: "20202020-2ff5-4f70-953a-3d0d36357576";
1582
- };
1583
- readonly createdBy: {
1584
- readonly universalIdentifier: "664db1a0-76f4-4429-8452-f8e250ab7545";
1585
- };
1586
- readonly updatedBy: {
1587
- readonly universalIdentifier: "6a397eab-3700-4b08-9eb9-d16b61876193";
1588
- };
1589
- readonly position: {
1590
- readonly universalIdentifier: "566609c9-1c8b-4899-91bb-0af140a89004";
1591
- };
1592
- readonly searchVector: {
1593
- readonly universalIdentifier: "bc9a982c-c314-49d6-818a-2661ce7e918f";
1594
- };
1595
- };
1596
- readonly indexes: {
1597
- readonly connectedAccountIdIndex: {
1598
- readonly universalIdentifier: "58b4d9e3-0a25-4c7f-9d6e-2b3c4a5f6d70";
1599
- };
1600
- };
1601
- readonly views: {
1602
- readonly allCalendarChannels: {
1603
- readonly universalIdentifier: "2d11659c-68ae-4ff2-882f-f1cccde372d0";
1604
- readonly viewFields: {
1605
- readonly handle: {
1606
- readonly universalIdentifier: "dc7ea888-79d6-4b8c-acdd-a72abe8e6326";
1607
- };
1608
- readonly connectedAccount: {
1609
- readonly universalIdentifier: "0fff693f-2149-4fdb-a85c-52f2d89322f2";
1610
- };
1611
- readonly visibility: {
1612
- readonly universalIdentifier: "a308409d-ee09-4588-b3b2-31b71bced64d";
1613
- };
1614
- readonly isSyncEnabled: {
1615
- readonly universalIdentifier: "120065b8-bcba-4088-b3a8-8ae66def4219";
1616
- };
1617
- readonly syncStatus: {
1618
- readonly universalIdentifier: "ee3bafb8-6374-44f3-b328-c705c16220ac";
1619
- };
1620
- readonly createdAt: {
1621
- readonly universalIdentifier: "b2ef299a-b996-4f44-8c75-fad854d7df7f";
1622
- };
1623
- };
1624
- };
1625
- readonly calendarChannelRecordPageFields: {
1626
- readonly universalIdentifier: "74813eac-7b7e-4483-9d2c-6e14cdc2eeee";
1627
- readonly viewFieldGroups: {
1628
- readonly general: {
1629
- readonly universalIdentifier: "e015afb4-bb6b-44ab-8077-01196c70bd1b";
1630
- };
1631
- readonly system: {
1632
- readonly universalIdentifier: "a7e61a73-68b3-46a2-8624-54a4f0a81710";
1633
- };
1634
- };
1635
- readonly viewFields: {
1636
- readonly connectedAccount: {
1637
- readonly universalIdentifier: "bdb40f41-f9ba-4b59-a8cf-878c23701ab3";
1638
- };
1639
- readonly visibility: {
1640
- readonly universalIdentifier: "2d9f8c64-12be-4bb1-b0d4-977d89853498";
1641
- };
1642
- readonly isSyncEnabled: {
1643
- readonly universalIdentifier: "819312c0-3441-42a2-a638-8800e353b72f";
1644
- };
1645
- readonly syncStatus: {
1646
- readonly universalIdentifier: "b95949f7-e4f7-4708-bfd5-6ec66d772465";
1647
- };
1648
- readonly createdAt: {
1649
- readonly universalIdentifier: "8c0e4a82-9846-46b2-988b-8b651395fc52";
1650
- };
1651
- readonly createdBy: {
1652
- readonly universalIdentifier: "35af4126-06bd-43a1-88cb-b1e2a170ccd2";
1653
- };
1654
- };
1655
- };
1656
- };
1657
- };
1658
1532
  readonly calendarEventParticipant: {
1659
1533
  readonly universalIdentifier: "20202020-a1c3-47a6-9732-27e5b1e8436d";
1660
1534
  readonly fields: {
@@ -2079,129 +1953,6 @@ declare const STANDARD_OBJECTS: {
2079
1953
  };
2080
1954
  };
2081
1955
  };
2082
- readonly connectedAccount: {
2083
- readonly universalIdentifier: "20202020-977e-46b2-890b-c3002ddfd5c5";
2084
- readonly fields: {
2085
- readonly id: {
2086
- readonly universalIdentifier: "20202020-c06a-4071-8a71-5c6d7e8f9aab";
2087
- };
2088
- readonly createdAt: {
2089
- readonly universalIdentifier: "20202020-c06b-4072-9b72-6d7e8f9aabbc";
2090
- };
2091
- readonly updatedAt: {
2092
- readonly universalIdentifier: "20202020-c06c-4073-8c73-7e8f9aabbccd";
2093
- };
2094
- readonly deletedAt: {
2095
- readonly universalIdentifier: "20202020-c06d-4074-9d74-8f9aabbccdde";
2096
- };
2097
- readonly handle: {
2098
- readonly universalIdentifier: "20202020-c804-4a50-bb05-b3a9e24f1dec";
2099
- };
2100
- readonly provider: {
2101
- readonly universalIdentifier: "20202020-ebb0-4516-befc-a9e95935efd5";
2102
- };
2103
- readonly accessToken: {
2104
- readonly universalIdentifier: "20202020-707b-4a0a-8753-2ad42efe1e29";
2105
- };
2106
- readonly refreshToken: {
2107
- readonly universalIdentifier: "20202020-532d-48bd-80a5-c4be6e7f6e49";
2108
- };
2109
- readonly accountOwner: {
2110
- readonly universalIdentifier: "20202020-3517-4896-afac-b1d0aa362af6";
2111
- };
2112
- readonly lastSyncHistoryId: {
2113
- readonly universalIdentifier: "20202020-115c-4a87-b50f-ac4367a971b9";
2114
- };
2115
- readonly authFailedAt: {
2116
- readonly universalIdentifier: "20202020-d268-4c6b-baff-400d402b430a";
2117
- };
2118
- readonly lastCredentialsRefreshedAt: {
2119
- readonly universalIdentifier: "20202020-aa5e-4e85-903b-fdf90a941941";
2120
- };
2121
- readonly messageChannels: {
2122
- readonly universalIdentifier: "20202020-24f7-4362-8468-042204d1e445";
2123
- };
2124
- readonly calendarChannels: {
2125
- readonly universalIdentifier: "20202020-af4a-47bb-99ec-51911c1d3977";
2126
- };
2127
- readonly handleAliases: {
2128
- readonly universalIdentifier: "20202020-8a3d-46be-814f-6228af16c47b";
2129
- };
2130
- readonly scopes: {
2131
- readonly universalIdentifier: "20202020-8a3d-46be-814f-6228af16c47c";
2132
- };
2133
- readonly connectionParameters: {
2134
- readonly universalIdentifier: "20202020-a1b2-46be-814f-6228af16c481";
2135
- };
2136
- readonly createdBy: {
2137
- readonly universalIdentifier: "e09c2463-9ca6-4004-97ce-6039e3161a5d";
2138
- };
2139
- readonly updatedBy: {
2140
- readonly universalIdentifier: "0a84c0e1-f9fc-47d5-8ac9-58538e50a9f9";
2141
- };
2142
- readonly position: {
2143
- readonly universalIdentifier: "66b7bc3e-c99e-42b6-82e6-6f43142c0f2f";
2144
- };
2145
- readonly searchVector: {
2146
- readonly universalIdentifier: "140767fe-0aa4-4573-a0bd-67cb657c9452";
2147
- };
2148
- };
2149
- readonly indexes: {
2150
- readonly accountOwnerIdIndex: {
2151
- readonly universalIdentifier: "8e7ca28e-6002-4304-9dcc-0a8da93ca198";
2152
- };
2153
- };
2154
- readonly views: {
2155
- readonly allConnectedAccounts: {
2156
- readonly universalIdentifier: "0f47f1d8-63bf-443a-a29a-319ff4543abb";
2157
- readonly viewFields: {
2158
- readonly handle: {
2159
- readonly universalIdentifier: "84515ac3-6154-4860-8b29-10316ba3b6fb";
2160
- };
2161
- readonly provider: {
2162
- readonly universalIdentifier: "dde13525-685c-4476-adba-6d4fd3c92672";
2163
- };
2164
- readonly accountOwner: {
2165
- readonly universalIdentifier: "7b5b84e1-8441-4c8c-a113-4fc184b24ba8";
2166
- };
2167
- readonly authFailedAt: {
2168
- readonly universalIdentifier: "66c8d3d4-3505-46a4-85ec-8bad314aa257";
2169
- };
2170
- readonly createdAt: {
2171
- readonly universalIdentifier: "8ff5aa14-69d3-4294-b266-d141d7e12dae";
2172
- };
2173
- };
2174
- };
2175
- readonly connectedAccountRecordPageFields: {
2176
- readonly universalIdentifier: "1cc895ca-fe99-44bc-bc1e-19c935ef2595";
2177
- readonly viewFieldGroups: {
2178
- readonly general: {
2179
- readonly universalIdentifier: "428a9949-71f4-4ebf-9160-1da43f1113ff";
2180
- };
2181
- readonly system: {
2182
- readonly universalIdentifier: "ce9f7f72-583e-4415-a82f-e1f4b2cc8e2f";
2183
- };
2184
- };
2185
- readonly viewFields: {
2186
- readonly provider: {
2187
- readonly universalIdentifier: "83171d2a-0d11-42b1-991d-8d4346b02cff";
2188
- };
2189
- readonly accountOwner: {
2190
- readonly universalIdentifier: "399a5e57-abab-42b1-b3f6-029a33d62e30";
2191
- };
2192
- readonly authFailedAt: {
2193
- readonly universalIdentifier: "ad52cc4e-fd75-4b11-8915-c8a7c96ce500";
2194
- };
2195
- readonly createdAt: {
2196
- readonly universalIdentifier: "eda84724-d30e-406d-9858-016dcd46ac49";
2197
- };
2198
- readonly createdBy: {
2199
- readonly universalIdentifier: "1335696e-31cf-4a5e-aabf-89b45dd80b33";
2200
- };
2201
- };
2202
- };
2203
- };
2204
- };
2205
1956
  readonly dashboard: {
2206
1957
  readonly universalIdentifier: "20202020-3840-4b6d-9425-0c5188b05ca8";
2207
1958
  readonly fields: {
@@ -2468,264 +2219,6 @@ declare const STANDARD_OBJECTS: {
2468
2219
  };
2469
2220
  };
2470
2221
  };
2471
- readonly messageChannel: {
2472
- readonly universalIdentifier: "20202020-fe8c-40bc-a681-b80b771449b7";
2473
- readonly fields: {
2474
- readonly id: {
2475
- readonly universalIdentifier: "20202020-b02a-40c1-8ac1-9eafbacbdced";
2476
- };
2477
- readonly createdAt: {
2478
- readonly universalIdentifier: "20202020-b02b-40c2-9bc2-afbacbdcedfe";
2479
- };
2480
- readonly updatedAt: {
2481
- readonly universalIdentifier: "20202020-b02c-40c3-8cc3-bacbdcedfefa";
2482
- };
2483
- readonly deletedAt: {
2484
- readonly universalIdentifier: "20202020-b02d-40c4-9dc4-cbdcedfefaab";
2485
- };
2486
- readonly visibility: {
2487
- readonly universalIdentifier: "20202020-6a6b-4532-9767-cbc61b469453";
2488
- };
2489
- readonly handle: {
2490
- readonly universalIdentifier: "20202020-2c96-43c3-93e3-ed6b1acb69bc";
2491
- };
2492
- readonly connectedAccount: {
2493
- readonly universalIdentifier: "20202020-49a2-44a4-b470-282c0440d15d";
2494
- };
2495
- readonly type: {
2496
- readonly universalIdentifier: "20202020-ae95-42d9-a3f1-797a2ea22122";
2497
- };
2498
- readonly isContactAutoCreationEnabled: {
2499
- readonly universalIdentifier: "20202020-fabd-4f14-b7c6-3310f6d132c6";
2500
- };
2501
- readonly contactAutoCreationPolicy: {
2502
- readonly universalIdentifier: "20202020-fc0e-4ba6-b259-a66ca89cfa38";
2503
- };
2504
- readonly excludeNonProfessionalEmails: {
2505
- readonly universalIdentifier: "20202020-1df5-445d-b4f3-2413ad178431";
2506
- };
2507
- readonly excludeGroupEmails: {
2508
- readonly universalIdentifier: "20202020-45a0-4be4-9164-5820a6a109fb";
2509
- };
2510
- readonly messageFolderImportPolicy: {
2511
- readonly universalIdentifier: "20202020-cc39-4432-9fe8-ec8ab8bbed95";
2512
- };
2513
- readonly pendingGroupEmailsAction: {
2514
- readonly universalIdentifier: "20202020-17c5-4e9f-bc50-af46a89fdd42";
2515
- };
2516
- readonly isSyncEnabled: {
2517
- readonly universalIdentifier: "20202020-d9a6-48e9-990b-b97fdf22e8dd";
2518
- };
2519
- readonly syncCursor: {
2520
- readonly universalIdentifier: "20202020-79d1-41cf-b738-bcf5ed61e256";
2521
- };
2522
- readonly syncedAt: {
2523
- readonly universalIdentifier: "20202020-263d-4c6b-ad51-137ada56f7d4";
2524
- };
2525
- readonly syncStatus: {
2526
- readonly universalIdentifier: "20202020-56a1-4f7e-9880-a8493bb899cc";
2527
- };
2528
- readonly syncStage: {
2529
- readonly universalIdentifier: "20202020-7979-4b08-89fe-99cb5e698767";
2530
- };
2531
- readonly syncStageStartedAt: {
2532
- readonly universalIdentifier: "20202020-8c61-4a42-ae63-73c1c3c52e06";
2533
- };
2534
- readonly throttleFailureCount: {
2535
- readonly universalIdentifier: "20202020-0291-42be-9ad0-d578a51684ab";
2536
- };
2537
- readonly throttleRetryAfter: {
2538
- readonly universalIdentifier: "20202020-a1e3-4d7f-b5c2-9f8e6d4c3b2a";
2539
- };
2540
- readonly createdBy: {
2541
- readonly universalIdentifier: "b7de8fcc-a7c6-4122-b3fa-1fcf8f30931c";
2542
- };
2543
- readonly updatedBy: {
2544
- readonly universalIdentifier: "88bb6ff1-b8a1-4313-95d4-7879acca0b93";
2545
- };
2546
- readonly position: {
2547
- readonly universalIdentifier: "bc8a36af-8b9c-4548-a0da-c90e899e7243";
2548
- };
2549
- readonly searchVector: {
2550
- readonly universalIdentifier: "5e84794c-6f14-4bdf-81a6-76ee11cda51f";
2551
- };
2552
- };
2553
- readonly indexes: {
2554
- readonly connectedAccountIdIndex: {
2555
- readonly universalIdentifier: "ab09a386-4dcc-41f7-8dc6-a6071e9c64b7";
2556
- };
2557
- };
2558
- readonly views: {
2559
- readonly allMessageChannels: {
2560
- readonly universalIdentifier: "95f57f8e-eaac-46f7-b364-4ef8208f165f";
2561
- readonly viewFields: {
2562
- readonly handle: {
2563
- readonly universalIdentifier: "f71a30b0-ee4a-4d36-847a-d0c99134fbb8";
2564
- };
2565
- readonly connectedAccount: {
2566
- readonly universalIdentifier: "0128fd40-7958-4cc5-9c73-7ddb7820d3ec";
2567
- };
2568
- readonly type: {
2569
- readonly universalIdentifier: "fa480cec-938c-4216-95fe-ba4335e20a41";
2570
- };
2571
- readonly visibility: {
2572
- readonly universalIdentifier: "2c43e4f6-7024-47a0-a91a-7d491b1fac84";
2573
- };
2574
- readonly isSyncEnabled: {
2575
- readonly universalIdentifier: "69884c47-0c2e-4988-bbc1-23242993634e";
2576
- };
2577
- readonly syncStatus: {
2578
- readonly universalIdentifier: "6189c285-d390-4fd9-ae7a-ca011d8ad98f";
2579
- };
2580
- readonly createdAt: {
2581
- readonly universalIdentifier: "45044b65-b17b-468d-a23d-075733c6b631";
2582
- };
2583
- };
2584
- };
2585
- readonly messageChannelRecordPageFields: {
2586
- readonly universalIdentifier: "1350eb34-7ef0-4b25-8a3e-23b4a959c3a2";
2587
- readonly viewFieldGroups: {
2588
- readonly general: {
2589
- readonly universalIdentifier: "96113215-6bf2-476c-ae69-c70274257913";
2590
- };
2591
- readonly system: {
2592
- readonly universalIdentifier: "2f08a624-e1a7-4f79-b5f7-1a8e92f4c07e";
2593
- };
2594
- };
2595
- readonly viewFields: {
2596
- readonly connectedAccount: {
2597
- readonly universalIdentifier: "19079cf6-2a9c-40b9-b6c2-58d63c6e37ad";
2598
- };
2599
- readonly type: {
2600
- readonly universalIdentifier: "280b9097-0bcf-4389-9ee7-fa89990d1369";
2601
- };
2602
- readonly visibility: {
2603
- readonly universalIdentifier: "8dd39475-f109-4117-bce4-9e183382b475";
2604
- };
2605
- readonly isSyncEnabled: {
2606
- readonly universalIdentifier: "5136d071-3b11-48cd-b7be-4910bd6264f9";
2607
- };
2608
- readonly syncStatus: {
2609
- readonly universalIdentifier: "76db0713-06d3-4133-9144-9d0300a2824e";
2610
- };
2611
- readonly createdAt: {
2612
- readonly universalIdentifier: "8636c740-3282-4a6b-99f6-f3f48e59b0af";
2613
- };
2614
- readonly createdBy: {
2615
- readonly universalIdentifier: "cdf294ce-4c52-4987-a301-8219fa81ab2e";
2616
- };
2617
- };
2618
- };
2619
- };
2620
- };
2621
- readonly messageFolder: {
2622
- readonly universalIdentifier: "20202020-4955-4fd9-8e59-2dbd373f2a46";
2623
- readonly fields: {
2624
- readonly id: {
2625
- readonly universalIdentifier: "20202020-b03a-40d1-8ad1-dcedfefaabbc";
2626
- };
2627
- readonly createdAt: {
2628
- readonly universalIdentifier: "20202020-b03b-40d2-9bd2-edfefaabbccd";
2629
- };
2630
- readonly updatedAt: {
2631
- readonly universalIdentifier: "20202020-b03c-40d3-8cd3-fefaabbccdde";
2632
- };
2633
- readonly deletedAt: {
2634
- readonly universalIdentifier: "20202020-b03d-40d4-9dd4-faabbccddeef";
2635
- };
2636
- readonly name: {
2637
- readonly universalIdentifier: "20202020-7cf8-40bc-a681-b80b771449b7";
2638
- };
2639
- readonly parentFolderId: {
2640
- readonly universalIdentifier: "20202020-e45d-49de-a4aa-587bbf9601f3";
2641
- };
2642
- readonly messageChannelId: {
2643
- readonly universalIdentifier: "20202020-c9f8-43db-a3e7-7f2e8b5d9c1a";
2644
- };
2645
- readonly syncCursor: {
2646
- readonly universalIdentifier: "20202020-98cd-49ed-8dfc-cb5796400e64";
2647
- };
2648
- readonly isSentFolder: {
2649
- readonly universalIdentifier: "20202020-2af5-4a25-b2de-3c9386da941b";
2650
- };
2651
- readonly isSynced: {
2652
- readonly universalIdentifier: "20202020-764f-4e09-8f95-cd46b6bfe3c4";
2653
- };
2654
- readonly externalId: {
2655
- readonly universalIdentifier: "20202020-f3a8-4d2b-9c7e-1b5f9a8e4c6d";
2656
- };
2657
- readonly pendingSyncAction: {
2658
- readonly universalIdentifier: "20202020-4f97-4c79-9517-16387fe237f7";
2659
- };
2660
- readonly createdBy: {
2661
- readonly universalIdentifier: "bfe19f84-b640-4ce3-b771-4e7bf18bad14";
2662
- };
2663
- readonly updatedBy: {
2664
- readonly universalIdentifier: "7ec7eea8-8715-4656-a602-3cb4256aaca1";
2665
- };
2666
- readonly position: {
2667
- readonly universalIdentifier: "5317d4f4-12c5-469d-8e47-0f3b2ffc95b4";
2668
- };
2669
- readonly searchVector: {
2670
- readonly universalIdentifier: "5f2d3937-bafd-4d71-b4cb-b34037efd2e1";
2671
- };
2672
- };
2673
- readonly indexes: {
2674
- readonly messageChannelIdIndex: {
2675
- readonly universalIdentifier: "6217f2a5-28ac-4b88-8a2a-45eee4580e57";
2676
- };
2677
- };
2678
- readonly views: {
2679
- readonly allMessageFolders: {
2680
- readonly universalIdentifier: "6774ebf5-a300-4bcc-8f22-f5e7c58bfccf";
2681
- readonly viewFields: {
2682
- readonly name: {
2683
- readonly universalIdentifier: "72b2d56f-5245-4cb6-933c-3d5031de0778";
2684
- };
2685
- readonly messageChannelId: {
2686
- readonly universalIdentifier: "121abdf0-c89f-4313-b156-e8a3c0cb77ec";
2687
- };
2688
- readonly isSentFolder: {
2689
- readonly universalIdentifier: "e884a006-e166-434d-82aa-247052165e4d";
2690
- };
2691
- readonly isSynced: {
2692
- readonly universalIdentifier: "d7e705f4-c2be-4f4e-bcc3-1cdc9e07990b";
2693
- };
2694
- readonly createdAt: {
2695
- readonly universalIdentifier: "afd4f595-c1a7-4afd-b0fd-b2f0b59203c6";
2696
- };
2697
- };
2698
- };
2699
- readonly messageFolderRecordPageFields: {
2700
- readonly universalIdentifier: "82dc204f-a48d-4985-9259-a79b3a1b230f";
2701
- readonly viewFieldGroups: {
2702
- readonly general: {
2703
- readonly universalIdentifier: "c55a9366-bb2c-4ae7-8345-115c790f56b1";
2704
- };
2705
- readonly system: {
2706
- readonly universalIdentifier: "51b6af5e-9f76-4fb2-811b-6193761d7702";
2707
- };
2708
- };
2709
- readonly viewFields: {
2710
- readonly messageChannelId: {
2711
- readonly universalIdentifier: "2fb6ff09-bed5-4b31-af0f-7fa3df5612da";
2712
- };
2713
- readonly isSentFolder: {
2714
- readonly universalIdentifier: "ec8a2e3e-0736-41f5-8c8b-d36778d52a94";
2715
- };
2716
- readonly isSynced: {
2717
- readonly universalIdentifier: "a68f286c-5d13-4794-9354-e282913930f5";
2718
- };
2719
- readonly createdAt: {
2720
- readonly universalIdentifier: "8b63749b-922d-4164-b0f4-65d716b3d75d";
2721
- };
2722
- readonly createdBy: {
2723
- readonly universalIdentifier: "2a93e132-3c92-4b94-acf0-076e4af75df2";
2724
- };
2725
- };
2726
- };
2727
- };
2728
- };
2729
2222
  readonly messageParticipant: {
2730
2223
  readonly universalIdentifier: "20202020-a433-4456-aa2d-fd9cb26b774a";
2731
2224
  readonly fields: {
@@ -4518,9 +4011,6 @@ declare const STANDARD_OBJECTS: {
4518
4011
  readonly accountOwnerForCompanies: {
4519
4012
  readonly universalIdentifier: "20202020-dc29-4bd4-a3c1-29eafa324bee";
4520
4013
  };
4521
- readonly connectedAccounts: {
4522
- readonly universalIdentifier: "20202020-e322-4bde-a525-727079b4a100";
4523
- };
4524
4014
  readonly messageParticipants: {
4525
4015
  readonly universalIdentifier: "20202020-8f99-48bc-a5eb-edd33dd54188";
4526
4016
  };
@@ -4613,13 +4103,43 @@ declare const definePageLayout: DefineEntity<PageLayoutConfig>;
4613
4103
 
4614
4104
  declare const definePageLayoutTab: DefineEntity<PageLayoutTabConfig>;
4615
4105
 
4106
+ declare const definePermissionFlag: DefineEntity<PermissionFlagConfig>;
4107
+
4616
4108
  declare const defineApplicationRole: DefineEntity<RoleConfig>;
4617
4109
 
4618
4110
  declare const defineRole: DefineEntity<RoleConfig>;
4619
4111
 
4112
+ declare const SystemPermissionFlag: {
4113
+ readonly API_KEYS_AND_WEBHOOKS: "beb99803-9a0e-588d-9c4b-3dd14d9cdf21";
4114
+ readonly WORKSPACE: "86a58859-a539-5fa8-ba18-a6aaddc811b6";
4115
+ readonly WORKSPACE_MEMBERS: "ec342166-2df7-53e7-aa9b-64992d6cb35f";
4116
+ readonly ROLES: "80f1e5ab-484c-5660-a5a1-0ee7413d8190";
4117
+ readonly DATA_MODEL: "f0c08013-3c9a-5489-bd45-a641fe5f085d";
4118
+ readonly SECURITY: "4a8b6016-1d3d-5c94-bbe8-a74c5f32335a";
4119
+ readonly WORKFLOWS: "6189e7bd-4051-5752-b6b1-5f31358fbaf1";
4120
+ readonly IMPERSONATE: "dd2274d1-bbd5-551d-bcf2-3147539cef11";
4121
+ readonly SSO_BYPASS: "2e9cfdc0-4669-58ab-b241-b6c3c14d96df";
4122
+ readonly APPLICATIONS: "9faa55f7-2606-566b-9e1d-aefbedbd0136";
4123
+ readonly MARKETPLACE_APPS: "3a37e2f5-d3e4-56d6-b541-adf0237468ff";
4124
+ readonly LAYOUTS: "458d1ee5-ba12-5f4e-9d17-6f8c11fcd7fd";
4125
+ readonly BILLING: "24b66701-ed97-51e4-aa63-794e1b31414c";
4126
+ readonly AI_SETTINGS: "e8cc4a30-c120-5925-8f5d-73d6a2247fee";
4127
+ readonly AI: "1c7f09a7-367d-568b-a0e8-c274eccd6ee3";
4128
+ readonly VIEWS: "c68354c4-535d-53a9-848a-e3a6774b5fb8";
4129
+ readonly UPLOAD_FILE: "dc6931a9-44bd-5164-a983-3db5db837f54";
4130
+ readonly DOWNLOAD_FILE: "6edf252f-228e-5e2f-9706-7bab7a796fd3";
4131
+ readonly SEND_EMAIL_TOOL: "19f382a8-689d-5792-a18c-737f0ce9025f";
4132
+ readonly HTTP_REQUEST_TOOL: "1bf49cf1-bb8f-5eb9-809a-5f34ea79fc6a";
4133
+ readonly CODE_INTERPRETER_TOOL: "11f31c3a-7042-54b7-a2dd-ae31dd9e9fa2";
4134
+ readonly IMPORT_CSV: "c4912536-a4db-5af9-85ac-be2919c24c5e";
4135
+ readonly EXPORT_CSV: "88efced9-ca6d-5316-a695-f1b9158e7370";
4136
+ readonly CONNECTED_ACCOUNTS: "e5f63b2d-5369-5df6-8f32-a8bd9e79e653";
4137
+ readonly PROFILE_INFORMATION: "7c13f23f-78d8-5e7d-8963-a7c8772fb4e8";
4138
+ };
4139
+
4620
4140
  declare const defineSkill: DefineEntity<SkillManifest>;
4621
4141
 
4622
4142
  declare const defineView: DefineEntity<ViewConfig>;
4623
4143
 
4624
- export { AggregateOperations, DateDisplayFormat, FieldMetadataSettingsOnClickAction, FieldMetadataType as FieldType, HTTPMethod, NavigationMenuItemType, NumberDataType, ObjectRecordBaseEvent, ObjectRecordCreateEvent, ObjectRecordDeleteEvent, ObjectRecordDestroyEvent, ObjectRecordGroupByDateGranularity, ObjectRecordRestoreEvent, ObjectRecordUpdateEvent, ObjectRecordUpsertEvent, RelationOnDeleteAction as OnDeleteAction, PageLayoutTabLayoutMode, PermissionFlagType as PermissionFlag, RelationType, STANDARD_OBJECTS as STANDARD_OBJECT, STANDARD_OBJECTS as STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS, ViewCalendarLayout, ViewFilterGroupLogicalOperator, ViewFilterOperand, ViewKey, ViewOpenRecordIn, ViewSortDirection, ViewType, ViewVisibility, createValidationResult, defineAgent, defineApplication, defineApplicationRole, defineCommandMenuItem, defineConnectionProvider, defineField, defineFrontComponent, defineLogicFunction, defineNavigationMenuItem, defineObject, definePageLayout, definePageLayoutTab, definePostInstallLogicFunction, definePreInstallLogicFunction, defineRole, defineSkill, defineView, generateDefaultFieldUniversalIdentifier, validateFields };
4625
- export type { ActorMetadata as ActorField, AddressMetadata as AddressField, ApplicationConfig, CommandMenuItemConfig, CommandMenuItemManifest, CronPayload, CurrencyMetadata as CurrencyField, DatabaseEventPayload, DefinableEntity, DefineEntity, EmailsMetadata as EmailsField, FrontComponentConfig, FrontComponentType, FullNameMetadata as FullNameField, GridPosition, InputJsonSchema, InstallHandler, InstallPayload, LinksMetadata as LinksField, LogicFunctionConfig, LogicFunctionHandler, ObjectRecordEvent, PageLayoutConfig, PageLayoutManifest, PageLayoutTabConfig, PageLayoutTabManifest, PageLayoutWidgetConditionalDisplay, PageLayoutWidgetManifest, PageLayoutWidgetUniversalConfiguration, PhonesMetadata as PhonesField, RichTextMetadata as RichTextField, LogicFunctionEvent as RoutePayload, SyncableEntityOptions, ValidationResult, ViewConfig, ViewFieldGroupManifest, ViewFieldManifest, ViewFilterGroupManifest, ViewFilterManifest, ViewGroupManifest, ViewManifestFilterValue, ViewSortManifest };
4144
+ export { AggregateOperations, DateDisplayFormat, FieldMetadataSettingsOnClickAction, FieldMetadataType as FieldType, HTTPMethod, NavigationMenuItemType, NumberDataType, ObjectRecordBaseEvent, ObjectRecordCreateEvent, ObjectRecordDeleteEvent, ObjectRecordDestroyEvent, ObjectRecordGroupByDateGranularity, ObjectRecordRestoreEvent, ObjectRecordUpdateEvent, ObjectRecordUpsertEvent, RelationOnDeleteAction as OnDeleteAction, PageLayoutTabLayoutMode, RelationType, STANDARD_OBJECTS as STANDARD_OBJECT, STANDARD_OBJECTS as STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS, SystemPermissionFlag, ViewCalendarLayout, ViewFilterGroupLogicalOperator, ViewFilterOperand, ViewKey, ViewOpenRecordIn, ViewSortDirection, ViewType, ViewVisibility, createValidationResult, defineAgent, defineApplication, defineApplicationRole, defineCommandMenuItem, defineConnectionProvider, defineField, defineFrontComponent, defineIndex, defineLogicFunction, defineNavigationMenuItem, defineObject, definePageLayout, definePageLayoutTab, definePermissionFlag, definePostInstallLogicFunction, definePreInstallLogicFunction, defineRole, defineSkill, defineView, generateDefaultFieldUniversalIdentifier, validateFields };
4145
+ export type { ActorMetadata as ActorField, AddressMetadata as AddressField, ApplicationConfig, CommandMenuItemConfig, CommandMenuItemManifest, CronPayload, CurrencyMetadata as CurrencyField, DatabaseEventPayload, DefinableEntity, DefineEntity, EmailsMetadata as EmailsField, FrontComponentConfig, FrontComponentType, FullNameMetadata as FullNameField, GridPosition, IndexConfig, IndexFieldManifest, IndexManifest, InputJsonSchema, InstallHandler, InstallPayload, LinksMetadata as LinksField, LogicFunctionConfig, LogicFunctionHandler, ObjectRecordEvent, PageLayoutConfig, PageLayoutManifest, PageLayoutTabConfig, PageLayoutTabManifest, PageLayoutWidgetConditionalDisplay, PageLayoutWidgetManifest, PageLayoutWidgetUniversalConfiguration, PermissionFlagConfig, PermissionFlagManifest, PermissionFlagPermissionType, PhonesMetadata as PhonesField, RichTextMetadata as RichTextField, LogicFunctionEvent as RoutePayload, SyncableEntityOptions, ValidationResult, ViewConfig, ViewFieldGroupManifest, ViewFieldManifest, ViewFilterGroupManifest, ViewFilterManifest, ViewGroupManifest, ViewManifestFilterValue, ViewSortManifest };