@objectstack/spec 1.0.11 → 1.0.12

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 (147) hide show
  1. package/README.md +41 -1
  2. package/dist/ai/index.d.mts +2 -1
  3. package/dist/ai/index.d.ts +2 -1
  4. package/dist/ai/index.js +2047 -1944
  5. package/dist/ai/index.js.map +1 -1
  6. package/dist/ai/index.mjs +2047 -1944
  7. package/dist/ai/index.mjs.map +1 -1
  8. package/dist/api/index.d.mts +3 -1
  9. package/dist/api/index.d.ts +3 -1
  10. package/dist/api/index.js +2599 -2292
  11. package/dist/api/index.js.map +1 -1
  12. package/dist/api/index.mjs +2587 -2292
  13. package/dist/api/index.mjs.map +1 -1
  14. package/dist/automation/index.d.mts +2 -1
  15. package/dist/automation/index.d.ts +2 -1
  16. package/dist/automation/index.js +83 -0
  17. package/dist/automation/index.js.map +1 -1
  18. package/dist/automation/index.mjs +77 -0
  19. package/dist/automation/index.mjs.map +1 -1
  20. package/dist/contracts/index.d.mts +3 -2
  21. package/dist/contracts/index.d.ts +3 -2
  22. package/dist/data/index.d.mts +3 -2
  23. package/dist/data/index.d.ts +3 -2
  24. package/dist/data/index.js +658 -556
  25. package/dist/data/index.js.map +1 -1
  26. package/dist/data/index.mjs +656 -556
  27. package/dist/data/index.mjs.map +1 -1
  28. package/dist/{driver.zod-lfi00zVT.d.ts → driver.zod-CfGk9GYh.d.ts} +2164 -11
  29. package/dist/{driver.zod-BOM_Etco.d.mts → driver.zod-y1cX6R3c.d.mts} +2164 -11
  30. package/dist/hub/index.d.mts +1 -1
  31. package/dist/hub/index.d.ts +1 -1
  32. package/dist/hub/index.js +789 -724
  33. package/dist/hub/index.js.map +1 -1
  34. package/dist/hub/index.mjs +789 -724
  35. package/dist/hub/index.mjs.map +1 -1
  36. package/dist/{index-C67cfwmW.d.ts → index-B0Hf65bV.d.ts} +13 -5
  37. package/dist/{index-DLcySG7U.d.ts → index-B5pKM0My.d.ts} +335 -4370
  38. package/dist/{index-Os7lItRe.d.mts → index-BA022mg2.d.ts} +6178 -129
  39. package/dist/{index-B5-VbOKg.d.mts → index-BGeLoH2z.d.ts} +4251 -74
  40. package/dist/{index-CH5zloR3.d.ts → index-BwO__aqV.d.ts} +1 -1
  41. package/dist/{index-Dp7GFJ8V.d.mts → index-Cia3JPQ8.d.mts} +13 -5
  42. package/dist/{index-D12rNohm.d.mts → index-CpD1q1FP.d.ts} +35 -18
  43. package/dist/{index-Os7lItRe.d.ts → index-D5RSFPuB.d.mts} +6178 -129
  44. package/dist/{index-CU4m6noq.d.mts → index-DGjpaj0X.d.mts} +1 -1
  45. package/dist/{index-D12rNohm.d.ts → index-Dfn5VXl6.d.mts} +35 -18
  46. package/dist/{index-l6WIlmOD.d.mts → index-Dgybxlky.d.mts} +177 -158
  47. package/dist/{index-l6WIlmOD.d.ts → index-Dgybxlky.d.ts} +177 -158
  48. package/dist/{index-DLcySG7U.d.mts → index-Dpsk8PF4.d.mts} +335 -4370
  49. package/dist/{index-CyognKSZ.d.ts → index-DrNah5E0.d.ts} +1952 -6990
  50. package/dist/{index-DE_lJ11p.d.mts → index-OO84R20k.d.mts} +1952 -6990
  51. package/dist/{index-B5-VbOKg.d.ts → index-upA3Xt04.d.mts} +4251 -74
  52. package/dist/index.d.mts +8072 -1922
  53. package/dist/index.d.ts +8072 -1922
  54. package/dist/index.js +8563 -8249
  55. package/dist/index.js.map +1 -1
  56. package/dist/index.mjs +8563 -8249
  57. package/dist/index.mjs.map +1 -1
  58. package/dist/integration/index.d.mts +1 -1
  59. package/dist/integration/index.d.ts +1 -1
  60. package/dist/kernel/index.d.mts +2 -1
  61. package/dist/kernel/index.d.ts +2 -1
  62. package/dist/kernel/index.js +884 -684
  63. package/dist/kernel/index.js.map +1 -1
  64. package/dist/kernel/index.mjs +870 -684
  65. package/dist/kernel/index.mjs.map +1 -1
  66. package/dist/package-registry.zod-JMcOYNxM.d.mts +21119 -0
  67. package/dist/package-registry.zod-JMcOYNxM.d.ts +21119 -0
  68. package/dist/state-machine.zod-B-lFFSxQ.d.mts +285 -0
  69. package/dist/state-machine.zod-B-lFFSxQ.d.ts +285 -0
  70. package/dist/system/index.d.mts +2 -1
  71. package/dist/system/index.d.ts +2 -1
  72. package/dist/system/index.js +749 -651
  73. package/dist/system/index.js.map +1 -1
  74. package/dist/system/index.mjs +749 -651
  75. package/dist/system/index.mjs.map +1 -1
  76. package/dist/ui/index.d.mts +1 -1
  77. package/dist/ui/index.d.ts +1 -1
  78. package/json-schema/ai/Agent.json +499 -0
  79. package/json-schema/ai/DevOpsAgent.json +499 -0
  80. package/json-schema/ai/FeedbackLoop.json +2188 -186
  81. package/json-schema/ai/Resolution.json +2188 -186
  82. package/json-schema/api/ApiRoutes.json +4 -0
  83. package/json-schema/api/CompileManifestResponse.json +40 -10
  84. package/json-schema/api/DisablePackageRequest.json +18 -0
  85. package/json-schema/api/DisablePackageResponse.json +1521 -0
  86. package/json-schema/api/Discovery.json +4 -0
  87. package/json-schema/api/EnablePackageRequest.json +18 -0
  88. package/json-schema/api/EnablePackageResponse.json +1521 -0
  89. package/json-schema/api/GetDiscoveryResponse.json +4 -0
  90. package/json-schema/api/GetPackageRequest.json +18 -0
  91. package/json-schema/api/GetPackageResponse.json +1518 -0
  92. package/json-schema/api/InstallPackageRequest.json +1483 -0
  93. package/json-schema/api/InstallPackageResponse.json +1521 -0
  94. package/json-schema/api/ListPackagesRequest.json +42 -0
  95. package/json-schema/api/ListPackagesResponse.json +1525 -0
  96. package/json-schema/api/ObjectDefinitionResponse.json +1001 -0
  97. package/json-schema/api/ObjectStackProtocol.json +86 -1
  98. package/json-schema/api/RestApiConfig.json +5 -0
  99. package/json-schema/api/RestServerConfig.json +5 -0
  100. package/json-schema/api/UninstallPackageRequest.json +18 -0
  101. package/json-schema/api/UninstallPackageResponse.json +25 -0
  102. package/json-schema/automation/ActionRef.json +30 -0
  103. package/json-schema/automation/Event.json +24 -0
  104. package/json-schema/automation/Flow.json +1 -0
  105. package/json-schema/automation/FlowNode.json +1 -0
  106. package/json-schema/automation/FlowNodeAction.json +1 -0
  107. package/json-schema/automation/GuardRef.json +30 -0
  108. package/json-schema/automation/StateMachine.json +504 -0
  109. package/json-schema/automation/StateNode.json +324 -0
  110. package/json-schema/automation/Transition.json +73 -0
  111. package/json-schema/data/Object.json +1001 -0
  112. package/json-schema/data/ObjectExtension.json +2376 -0
  113. package/json-schema/data/ObjectOwnershipEnum.json +13 -0
  114. package/json-schema/hub/ComposerResponse.json +40 -10
  115. package/json-schema/kernel/DisablePackageRequest.json +18 -0
  116. package/json-schema/kernel/DisablePackageResponse.json +1521 -0
  117. package/json-schema/kernel/EnablePackageRequest.json +18 -0
  118. package/json-schema/kernel/EnablePackageResponse.json +1521 -0
  119. package/json-schema/kernel/EventBusConfig.json +15 -0
  120. package/json-schema/kernel/EventHandler.json +6 -0
  121. package/json-schema/kernel/EventPersistence.json +3 -0
  122. package/json-schema/kernel/EventRoute.json +3 -0
  123. package/json-schema/kernel/EventWebhookConfig.json +3 -0
  124. package/json-schema/kernel/GetPackageRequest.json +18 -0
  125. package/json-schema/kernel/GetPackageResponse.json +1518 -0
  126. package/json-schema/kernel/InstallPackageRequest.json +1483 -0
  127. package/json-schema/kernel/InstallPackageResponse.json +1521 -0
  128. package/json-schema/kernel/InstalledPackage.json +1509 -0
  129. package/json-schema/kernel/ListPackagesRequest.json +42 -0
  130. package/json-schema/kernel/ListPackagesResponse.json +1525 -0
  131. package/json-schema/kernel/Manifest.json +40 -10
  132. package/json-schema/kernel/PackageStatusEnum.json +16 -0
  133. package/json-schema/kernel/Plugin.json +5 -0
  134. package/json-schema/kernel/PluginContext.json +31 -7
  135. package/json-schema/kernel/PluginLifecycle.json +7 -1
  136. package/json-schema/kernel/RealTimeNotificationConfig.json +3 -0
  137. package/json-schema/kernel/UninstallPackageRequest.json +18 -0
  138. package/json-schema/kernel/UninstallPackageResponse.json +25 -0
  139. package/json-schema/system/ChangeSet.json +2188 -186
  140. package/json-schema/system/CreateObjectOperation.json +1001 -0
  141. package/json-schema/system/MigrationOperation.json +1001 -0
  142. package/package.json +29 -15
  143. package/prompts/create-new-project.md +37 -19
  144. package/dist/{index-I3piy4U4.d.mts → index-BmU_sD1f.d.mts} +8 -8
  145. package/dist/{index-CkhpsEUw.d.ts → index-BnXuc_HO.d.ts} +8 -8
  146. package/dist/{index-CIDI-8zR.d.mts → index-C_NTOcet.d.mts} +98 -98
  147. package/dist/{index-CIDI-8zR.d.ts → index-C_NTOcet.d.ts} +98 -98
@@ -1,3 +1,4 @@
1
+ import { S as StateNodeConfig } from './state-machine.zod-B-lFFSxQ.mjs';
1
2
  import { z } from 'zod';
2
3
  import { F as FilterCondition } from './filter.zod-BMWnz4HE.mjs';
3
4
  import { Q as QueryAST, a as QueryInput } from './field.zod-dhbAw0SA.mjs';
@@ -1238,6 +1239,326 @@ declare const ObjectSchemaBase: z.ZodObject<{
1238
1239
  * Best Practice: Define rules close to data.
1239
1240
  */
1240
1241
  validations: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
1242
+ /**
1243
+ * State Machine(s)
1244
+ * Supports a single machine (legacy) or a named record of machines.
1245
+ * Multiple machines allow parallel lifecycles (e.g., status + payment_status + approval_status).
1246
+ *
1247
+ * @example Single: stateMachine: { id: 'lifecycle', initial: 'draft', states: {...} }
1248
+ * @example Multiple: stateMachines: { lifecycle: {...}, payment: {...}, approval: {...} }
1249
+ */
1250
+ stateMachine: z.ZodOptional<z.ZodObject<{
1251
+ id: z.ZodString;
1252
+ description: z.ZodOptional<z.ZodString>;
1253
+ contextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1254
+ initial: z.ZodString;
1255
+ states: z.ZodRecord<z.ZodString, z.ZodType<StateNodeConfig, z.ZodTypeDef, StateNodeConfig>>;
1256
+ on: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
1257
+ target: z.ZodOptional<z.ZodString>;
1258
+ cond: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1259
+ type: z.ZodString;
1260
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1261
+ }, "strip", z.ZodTypeAny, {
1262
+ type: string;
1263
+ params?: Record<string, any> | undefined;
1264
+ }, {
1265
+ type: string;
1266
+ params?: Record<string, any> | undefined;
1267
+ }>]>>;
1268
+ actions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1269
+ type: z.ZodString;
1270
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1271
+ }, "strip", z.ZodTypeAny, {
1272
+ type: string;
1273
+ params?: Record<string, any> | undefined;
1274
+ }, {
1275
+ type: string;
1276
+ params?: Record<string, any> | undefined;
1277
+ }>]>, "many">>;
1278
+ description: z.ZodOptional<z.ZodString>;
1279
+ }, "strip", z.ZodTypeAny, {
1280
+ target?: string | undefined;
1281
+ description?: string | undefined;
1282
+ cond?: string | {
1283
+ type: string;
1284
+ params?: Record<string, any> | undefined;
1285
+ } | undefined;
1286
+ actions?: (string | {
1287
+ type: string;
1288
+ params?: Record<string, any> | undefined;
1289
+ })[] | undefined;
1290
+ }, {
1291
+ target?: string | undefined;
1292
+ description?: string | undefined;
1293
+ cond?: string | {
1294
+ type: string;
1295
+ params?: Record<string, any> | undefined;
1296
+ } | undefined;
1297
+ actions?: (string | {
1298
+ type: string;
1299
+ params?: Record<string, any> | undefined;
1300
+ })[] | undefined;
1301
+ }>, z.ZodArray<z.ZodObject<{
1302
+ target: z.ZodOptional<z.ZodString>;
1303
+ cond: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1304
+ type: z.ZodString;
1305
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1306
+ }, "strip", z.ZodTypeAny, {
1307
+ type: string;
1308
+ params?: Record<string, any> | undefined;
1309
+ }, {
1310
+ type: string;
1311
+ params?: Record<string, any> | undefined;
1312
+ }>]>>;
1313
+ actions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1314
+ type: z.ZodString;
1315
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1316
+ }, "strip", z.ZodTypeAny, {
1317
+ type: string;
1318
+ params?: Record<string, any> | undefined;
1319
+ }, {
1320
+ type: string;
1321
+ params?: Record<string, any> | undefined;
1322
+ }>]>, "many">>;
1323
+ description: z.ZodOptional<z.ZodString>;
1324
+ }, "strip", z.ZodTypeAny, {
1325
+ target?: string | undefined;
1326
+ description?: string | undefined;
1327
+ cond?: string | {
1328
+ type: string;
1329
+ params?: Record<string, any> | undefined;
1330
+ } | undefined;
1331
+ actions?: (string | {
1332
+ type: string;
1333
+ params?: Record<string, any> | undefined;
1334
+ })[] | undefined;
1335
+ }, {
1336
+ target?: string | undefined;
1337
+ description?: string | undefined;
1338
+ cond?: string | {
1339
+ type: string;
1340
+ params?: Record<string, any> | undefined;
1341
+ } | undefined;
1342
+ actions?: (string | {
1343
+ type: string;
1344
+ params?: Record<string, any> | undefined;
1345
+ })[] | undefined;
1346
+ }>, "many">]>>>;
1347
+ }, "strip", z.ZodTypeAny, {
1348
+ initial: string;
1349
+ states: Record<string, StateNodeConfig>;
1350
+ id: string;
1351
+ on?: Record<string, string | {
1352
+ target?: string | undefined;
1353
+ description?: string | undefined;
1354
+ cond?: string | {
1355
+ type: string;
1356
+ params?: Record<string, any> | undefined;
1357
+ } | undefined;
1358
+ actions?: (string | {
1359
+ type: string;
1360
+ params?: Record<string, any> | undefined;
1361
+ })[] | undefined;
1362
+ } | {
1363
+ target?: string | undefined;
1364
+ description?: string | undefined;
1365
+ cond?: string | {
1366
+ type: string;
1367
+ params?: Record<string, any> | undefined;
1368
+ } | undefined;
1369
+ actions?: (string | {
1370
+ type: string;
1371
+ params?: Record<string, any> | undefined;
1372
+ })[] | undefined;
1373
+ }[]> | undefined;
1374
+ description?: string | undefined;
1375
+ contextSchema?: Record<string, any> | undefined;
1376
+ }, {
1377
+ initial: string;
1378
+ states: Record<string, StateNodeConfig>;
1379
+ id: string;
1380
+ on?: Record<string, string | {
1381
+ target?: string | undefined;
1382
+ description?: string | undefined;
1383
+ cond?: string | {
1384
+ type: string;
1385
+ params?: Record<string, any> | undefined;
1386
+ } | undefined;
1387
+ actions?: (string | {
1388
+ type: string;
1389
+ params?: Record<string, any> | undefined;
1390
+ })[] | undefined;
1391
+ } | {
1392
+ target?: string | undefined;
1393
+ description?: string | undefined;
1394
+ cond?: string | {
1395
+ type: string;
1396
+ params?: Record<string, any> | undefined;
1397
+ } | undefined;
1398
+ actions?: (string | {
1399
+ type: string;
1400
+ params?: Record<string, any> | undefined;
1401
+ })[] | undefined;
1402
+ }[]> | undefined;
1403
+ description?: string | undefined;
1404
+ contextSchema?: Record<string, any> | undefined;
1405
+ }>>;
1406
+ stateMachines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1407
+ id: z.ZodString;
1408
+ description: z.ZodOptional<z.ZodString>;
1409
+ contextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1410
+ initial: z.ZodString;
1411
+ states: z.ZodRecord<z.ZodString, z.ZodType<StateNodeConfig, z.ZodTypeDef, StateNodeConfig>>;
1412
+ on: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
1413
+ target: z.ZodOptional<z.ZodString>;
1414
+ cond: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1415
+ type: z.ZodString;
1416
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1417
+ }, "strip", z.ZodTypeAny, {
1418
+ type: string;
1419
+ params?: Record<string, any> | undefined;
1420
+ }, {
1421
+ type: string;
1422
+ params?: Record<string, any> | undefined;
1423
+ }>]>>;
1424
+ actions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1425
+ type: z.ZodString;
1426
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1427
+ }, "strip", z.ZodTypeAny, {
1428
+ type: string;
1429
+ params?: Record<string, any> | undefined;
1430
+ }, {
1431
+ type: string;
1432
+ params?: Record<string, any> | undefined;
1433
+ }>]>, "many">>;
1434
+ description: z.ZodOptional<z.ZodString>;
1435
+ }, "strip", z.ZodTypeAny, {
1436
+ target?: string | undefined;
1437
+ description?: string | undefined;
1438
+ cond?: string | {
1439
+ type: string;
1440
+ params?: Record<string, any> | undefined;
1441
+ } | undefined;
1442
+ actions?: (string | {
1443
+ type: string;
1444
+ params?: Record<string, any> | undefined;
1445
+ })[] | undefined;
1446
+ }, {
1447
+ target?: string | undefined;
1448
+ description?: string | undefined;
1449
+ cond?: string | {
1450
+ type: string;
1451
+ params?: Record<string, any> | undefined;
1452
+ } | undefined;
1453
+ actions?: (string | {
1454
+ type: string;
1455
+ params?: Record<string, any> | undefined;
1456
+ })[] | undefined;
1457
+ }>, z.ZodArray<z.ZodObject<{
1458
+ target: z.ZodOptional<z.ZodString>;
1459
+ cond: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1460
+ type: z.ZodString;
1461
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1462
+ }, "strip", z.ZodTypeAny, {
1463
+ type: string;
1464
+ params?: Record<string, any> | undefined;
1465
+ }, {
1466
+ type: string;
1467
+ params?: Record<string, any> | undefined;
1468
+ }>]>>;
1469
+ actions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1470
+ type: z.ZodString;
1471
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1472
+ }, "strip", z.ZodTypeAny, {
1473
+ type: string;
1474
+ params?: Record<string, any> | undefined;
1475
+ }, {
1476
+ type: string;
1477
+ params?: Record<string, any> | undefined;
1478
+ }>]>, "many">>;
1479
+ description: z.ZodOptional<z.ZodString>;
1480
+ }, "strip", z.ZodTypeAny, {
1481
+ target?: string | undefined;
1482
+ description?: string | undefined;
1483
+ cond?: string | {
1484
+ type: string;
1485
+ params?: Record<string, any> | undefined;
1486
+ } | undefined;
1487
+ actions?: (string | {
1488
+ type: string;
1489
+ params?: Record<string, any> | undefined;
1490
+ })[] | undefined;
1491
+ }, {
1492
+ target?: string | undefined;
1493
+ description?: string | undefined;
1494
+ cond?: string | {
1495
+ type: string;
1496
+ params?: Record<string, any> | undefined;
1497
+ } | undefined;
1498
+ actions?: (string | {
1499
+ type: string;
1500
+ params?: Record<string, any> | undefined;
1501
+ })[] | undefined;
1502
+ }>, "many">]>>>;
1503
+ }, "strip", z.ZodTypeAny, {
1504
+ initial: string;
1505
+ states: Record<string, StateNodeConfig>;
1506
+ id: string;
1507
+ on?: Record<string, string | {
1508
+ target?: string | undefined;
1509
+ description?: string | undefined;
1510
+ cond?: string | {
1511
+ type: string;
1512
+ params?: Record<string, any> | undefined;
1513
+ } | undefined;
1514
+ actions?: (string | {
1515
+ type: string;
1516
+ params?: Record<string, any> | undefined;
1517
+ })[] | undefined;
1518
+ } | {
1519
+ target?: string | undefined;
1520
+ description?: string | undefined;
1521
+ cond?: string | {
1522
+ type: string;
1523
+ params?: Record<string, any> | undefined;
1524
+ } | undefined;
1525
+ actions?: (string | {
1526
+ type: string;
1527
+ params?: Record<string, any> | undefined;
1528
+ })[] | undefined;
1529
+ }[]> | undefined;
1530
+ description?: string | undefined;
1531
+ contextSchema?: Record<string, any> | undefined;
1532
+ }, {
1533
+ initial: string;
1534
+ states: Record<string, StateNodeConfig>;
1535
+ id: string;
1536
+ on?: Record<string, string | {
1537
+ target?: string | undefined;
1538
+ description?: string | undefined;
1539
+ cond?: string | {
1540
+ type: string;
1541
+ params?: Record<string, any> | undefined;
1542
+ } | undefined;
1543
+ actions?: (string | {
1544
+ type: string;
1545
+ params?: Record<string, any> | undefined;
1546
+ })[] | undefined;
1547
+ } | {
1548
+ target?: string | undefined;
1549
+ description?: string | undefined;
1550
+ cond?: string | {
1551
+ type: string;
1552
+ params?: Record<string, any> | undefined;
1553
+ } | undefined;
1554
+ actions?: (string | {
1555
+ type: string;
1556
+ params?: Record<string, any> | undefined;
1557
+ })[] | undefined;
1558
+ }[]> | undefined;
1559
+ description?: string | undefined;
1560
+ contextSchema?: Record<string, any> | undefined;
1561
+ }>>>;
1241
1562
  /**
1242
1563
  * Display & UI Hints (Data-Layer)
1243
1564
  */
@@ -1296,12 +1617,12 @@ declare const ObjectSchemaBase: z.ZodObject<{
1296
1617
  trash: boolean;
1297
1618
  mru: boolean;
1298
1619
  clone: boolean;
1299
- apiMethods?: ("search" | "update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "import" | "export")[] | undefined;
1620
+ apiMethods?: ("search" | "update" | "delete" | "history" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "restore" | "purge" | "import" | "export")[] | undefined;
1300
1621
  }, {
1301
1622
  searchable?: boolean | undefined;
1302
1623
  trackHistory?: boolean | undefined;
1303
1624
  apiEnabled?: boolean | undefined;
1304
- apiMethods?: ("search" | "update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "import" | "export")[] | undefined;
1625
+ apiMethods?: ("search" | "update" | "delete" | "history" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "restore" | "purge" | "import" | "export")[] | undefined;
1305
1626
  files?: boolean | undefined;
1306
1627
  feeds?: boolean | undefined;
1307
1628
  activities?: boolean | undefined;
@@ -1514,6 +1835,66 @@ declare const ObjectSchemaBase: z.ZodObject<{
1514
1835
  destination: string;
1515
1836
  } | undefined;
1516
1837
  validations?: any[] | undefined;
1838
+ stateMachine?: {
1839
+ initial: string;
1840
+ states: Record<string, StateNodeConfig>;
1841
+ id: string;
1842
+ on?: Record<string, string | {
1843
+ target?: string | undefined;
1844
+ description?: string | undefined;
1845
+ cond?: string | {
1846
+ type: string;
1847
+ params?: Record<string, any> | undefined;
1848
+ } | undefined;
1849
+ actions?: (string | {
1850
+ type: string;
1851
+ params?: Record<string, any> | undefined;
1852
+ })[] | undefined;
1853
+ } | {
1854
+ target?: string | undefined;
1855
+ description?: string | undefined;
1856
+ cond?: string | {
1857
+ type: string;
1858
+ params?: Record<string, any> | undefined;
1859
+ } | undefined;
1860
+ actions?: (string | {
1861
+ type: string;
1862
+ params?: Record<string, any> | undefined;
1863
+ })[] | undefined;
1864
+ }[]> | undefined;
1865
+ description?: string | undefined;
1866
+ contextSchema?: Record<string, any> | undefined;
1867
+ } | undefined;
1868
+ stateMachines?: Record<string, {
1869
+ initial: string;
1870
+ states: Record<string, StateNodeConfig>;
1871
+ id: string;
1872
+ on?: Record<string, string | {
1873
+ target?: string | undefined;
1874
+ description?: string | undefined;
1875
+ cond?: string | {
1876
+ type: string;
1877
+ params?: Record<string, any> | undefined;
1878
+ } | undefined;
1879
+ actions?: (string | {
1880
+ type: string;
1881
+ params?: Record<string, any> | undefined;
1882
+ })[] | undefined;
1883
+ } | {
1884
+ target?: string | undefined;
1885
+ description?: string | undefined;
1886
+ cond?: string | {
1887
+ type: string;
1888
+ params?: Record<string, any> | undefined;
1889
+ } | undefined;
1890
+ actions?: (string | {
1891
+ type: string;
1892
+ params?: Record<string, any> | undefined;
1893
+ })[] | undefined;
1894
+ }[]> | undefined;
1895
+ description?: string | undefined;
1896
+ contextSchema?: Record<string, any> | undefined;
1897
+ }> | undefined;
1517
1898
  titleFormat?: string | undefined;
1518
1899
  compactLayout?: string[] | undefined;
1519
1900
  enable?: {
@@ -1526,7 +1907,7 @@ declare const ObjectSchemaBase: z.ZodObject<{
1526
1907
  trash: boolean;
1527
1908
  mru: boolean;
1528
1909
  clone: boolean;
1529
- apiMethods?: ("search" | "update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "import" | "export")[] | undefined;
1910
+ apiMethods?: ("search" | "update" | "delete" | "history" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "restore" | "purge" | "import" | "export")[] | undefined;
1530
1911
  } | undefined;
1531
1912
  }, {
1532
1913
  fields: Record<string, {
@@ -1733,13 +2114,73 @@ declare const ObjectSchemaBase: z.ZodObject<{
1733
2114
  destination: string;
1734
2115
  } | undefined;
1735
2116
  validations?: any[] | undefined;
2117
+ stateMachine?: {
2118
+ initial: string;
2119
+ states: Record<string, StateNodeConfig>;
2120
+ id: string;
2121
+ on?: Record<string, string | {
2122
+ target?: string | undefined;
2123
+ description?: string | undefined;
2124
+ cond?: string | {
2125
+ type: string;
2126
+ params?: Record<string, any> | undefined;
2127
+ } | undefined;
2128
+ actions?: (string | {
2129
+ type: string;
2130
+ params?: Record<string, any> | undefined;
2131
+ })[] | undefined;
2132
+ } | {
2133
+ target?: string | undefined;
2134
+ description?: string | undefined;
2135
+ cond?: string | {
2136
+ type: string;
2137
+ params?: Record<string, any> | undefined;
2138
+ } | undefined;
2139
+ actions?: (string | {
2140
+ type: string;
2141
+ params?: Record<string, any> | undefined;
2142
+ })[] | undefined;
2143
+ }[]> | undefined;
2144
+ description?: string | undefined;
2145
+ contextSchema?: Record<string, any> | undefined;
2146
+ } | undefined;
2147
+ stateMachines?: Record<string, {
2148
+ initial: string;
2149
+ states: Record<string, StateNodeConfig>;
2150
+ id: string;
2151
+ on?: Record<string, string | {
2152
+ target?: string | undefined;
2153
+ description?: string | undefined;
2154
+ cond?: string | {
2155
+ type: string;
2156
+ params?: Record<string, any> | undefined;
2157
+ } | undefined;
2158
+ actions?: (string | {
2159
+ type: string;
2160
+ params?: Record<string, any> | undefined;
2161
+ })[] | undefined;
2162
+ } | {
2163
+ target?: string | undefined;
2164
+ description?: string | undefined;
2165
+ cond?: string | {
2166
+ type: string;
2167
+ params?: Record<string, any> | undefined;
2168
+ } | undefined;
2169
+ actions?: (string | {
2170
+ type: string;
2171
+ params?: Record<string, any> | undefined;
2172
+ })[] | undefined;
2173
+ }[]> | undefined;
2174
+ description?: string | undefined;
2175
+ contextSchema?: Record<string, any> | undefined;
2176
+ }> | undefined;
1736
2177
  titleFormat?: string | undefined;
1737
2178
  compactLayout?: string[] | undefined;
1738
2179
  enable?: {
1739
2180
  searchable?: boolean | undefined;
1740
2181
  trackHistory?: boolean | undefined;
1741
2182
  apiEnabled?: boolean | undefined;
1742
- apiMethods?: ("search" | "update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "import" | "export")[] | undefined;
2183
+ apiMethods?: ("search" | "update" | "delete" | "history" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "restore" | "purge" | "import" | "export")[] | undefined;
1743
2184
  files?: boolean | undefined;
1744
2185
  feeds?: boolean | undefined;
1745
2186
  activities?: boolean | undefined;
@@ -2762,6 +3203,326 @@ declare const ObjectSchema: z.ZodObject<{
2762
3203
  * Best Practice: Define rules close to data.
2763
3204
  */
2764
3205
  validations: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
3206
+ /**
3207
+ * State Machine(s)
3208
+ * Supports a single machine (legacy) or a named record of machines.
3209
+ * Multiple machines allow parallel lifecycles (e.g., status + payment_status + approval_status).
3210
+ *
3211
+ * @example Single: stateMachine: { id: 'lifecycle', initial: 'draft', states: {...} }
3212
+ * @example Multiple: stateMachines: { lifecycle: {...}, payment: {...}, approval: {...} }
3213
+ */
3214
+ stateMachine: z.ZodOptional<z.ZodObject<{
3215
+ id: z.ZodString;
3216
+ description: z.ZodOptional<z.ZodString>;
3217
+ contextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3218
+ initial: z.ZodString;
3219
+ states: z.ZodRecord<z.ZodString, z.ZodType<StateNodeConfig, z.ZodTypeDef, StateNodeConfig>>;
3220
+ on: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
3221
+ target: z.ZodOptional<z.ZodString>;
3222
+ cond: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
3223
+ type: z.ZodString;
3224
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3225
+ }, "strip", z.ZodTypeAny, {
3226
+ type: string;
3227
+ params?: Record<string, any> | undefined;
3228
+ }, {
3229
+ type: string;
3230
+ params?: Record<string, any> | undefined;
3231
+ }>]>>;
3232
+ actions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
3233
+ type: z.ZodString;
3234
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3235
+ }, "strip", z.ZodTypeAny, {
3236
+ type: string;
3237
+ params?: Record<string, any> | undefined;
3238
+ }, {
3239
+ type: string;
3240
+ params?: Record<string, any> | undefined;
3241
+ }>]>, "many">>;
3242
+ description: z.ZodOptional<z.ZodString>;
3243
+ }, "strip", z.ZodTypeAny, {
3244
+ target?: string | undefined;
3245
+ description?: string | undefined;
3246
+ cond?: string | {
3247
+ type: string;
3248
+ params?: Record<string, any> | undefined;
3249
+ } | undefined;
3250
+ actions?: (string | {
3251
+ type: string;
3252
+ params?: Record<string, any> | undefined;
3253
+ })[] | undefined;
3254
+ }, {
3255
+ target?: string | undefined;
3256
+ description?: string | undefined;
3257
+ cond?: string | {
3258
+ type: string;
3259
+ params?: Record<string, any> | undefined;
3260
+ } | undefined;
3261
+ actions?: (string | {
3262
+ type: string;
3263
+ params?: Record<string, any> | undefined;
3264
+ })[] | undefined;
3265
+ }>, z.ZodArray<z.ZodObject<{
3266
+ target: z.ZodOptional<z.ZodString>;
3267
+ cond: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
3268
+ type: z.ZodString;
3269
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3270
+ }, "strip", z.ZodTypeAny, {
3271
+ type: string;
3272
+ params?: Record<string, any> | undefined;
3273
+ }, {
3274
+ type: string;
3275
+ params?: Record<string, any> | undefined;
3276
+ }>]>>;
3277
+ actions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
3278
+ type: z.ZodString;
3279
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3280
+ }, "strip", z.ZodTypeAny, {
3281
+ type: string;
3282
+ params?: Record<string, any> | undefined;
3283
+ }, {
3284
+ type: string;
3285
+ params?: Record<string, any> | undefined;
3286
+ }>]>, "many">>;
3287
+ description: z.ZodOptional<z.ZodString>;
3288
+ }, "strip", z.ZodTypeAny, {
3289
+ target?: string | undefined;
3290
+ description?: string | undefined;
3291
+ cond?: string | {
3292
+ type: string;
3293
+ params?: Record<string, any> | undefined;
3294
+ } | undefined;
3295
+ actions?: (string | {
3296
+ type: string;
3297
+ params?: Record<string, any> | undefined;
3298
+ })[] | undefined;
3299
+ }, {
3300
+ target?: string | undefined;
3301
+ description?: string | undefined;
3302
+ cond?: string | {
3303
+ type: string;
3304
+ params?: Record<string, any> | undefined;
3305
+ } | undefined;
3306
+ actions?: (string | {
3307
+ type: string;
3308
+ params?: Record<string, any> | undefined;
3309
+ })[] | undefined;
3310
+ }>, "many">]>>>;
3311
+ }, "strip", z.ZodTypeAny, {
3312
+ initial: string;
3313
+ states: Record<string, StateNodeConfig>;
3314
+ id: string;
3315
+ on?: Record<string, string | {
3316
+ target?: string | undefined;
3317
+ description?: string | undefined;
3318
+ cond?: string | {
3319
+ type: string;
3320
+ params?: Record<string, any> | undefined;
3321
+ } | undefined;
3322
+ actions?: (string | {
3323
+ type: string;
3324
+ params?: Record<string, any> | undefined;
3325
+ })[] | undefined;
3326
+ } | {
3327
+ target?: string | undefined;
3328
+ description?: string | undefined;
3329
+ cond?: string | {
3330
+ type: string;
3331
+ params?: Record<string, any> | undefined;
3332
+ } | undefined;
3333
+ actions?: (string | {
3334
+ type: string;
3335
+ params?: Record<string, any> | undefined;
3336
+ })[] | undefined;
3337
+ }[]> | undefined;
3338
+ description?: string | undefined;
3339
+ contextSchema?: Record<string, any> | undefined;
3340
+ }, {
3341
+ initial: string;
3342
+ states: Record<string, StateNodeConfig>;
3343
+ id: string;
3344
+ on?: Record<string, string | {
3345
+ target?: string | undefined;
3346
+ description?: string | undefined;
3347
+ cond?: string | {
3348
+ type: string;
3349
+ params?: Record<string, any> | undefined;
3350
+ } | undefined;
3351
+ actions?: (string | {
3352
+ type: string;
3353
+ params?: Record<string, any> | undefined;
3354
+ })[] | undefined;
3355
+ } | {
3356
+ target?: string | undefined;
3357
+ description?: string | undefined;
3358
+ cond?: string | {
3359
+ type: string;
3360
+ params?: Record<string, any> | undefined;
3361
+ } | undefined;
3362
+ actions?: (string | {
3363
+ type: string;
3364
+ params?: Record<string, any> | undefined;
3365
+ })[] | undefined;
3366
+ }[]> | undefined;
3367
+ description?: string | undefined;
3368
+ contextSchema?: Record<string, any> | undefined;
3369
+ }>>;
3370
+ stateMachines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3371
+ id: z.ZodString;
3372
+ description: z.ZodOptional<z.ZodString>;
3373
+ contextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3374
+ initial: z.ZodString;
3375
+ states: z.ZodRecord<z.ZodString, z.ZodType<StateNodeConfig, z.ZodTypeDef, StateNodeConfig>>;
3376
+ on: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
3377
+ target: z.ZodOptional<z.ZodString>;
3378
+ cond: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
3379
+ type: z.ZodString;
3380
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3381
+ }, "strip", z.ZodTypeAny, {
3382
+ type: string;
3383
+ params?: Record<string, any> | undefined;
3384
+ }, {
3385
+ type: string;
3386
+ params?: Record<string, any> | undefined;
3387
+ }>]>>;
3388
+ actions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
3389
+ type: z.ZodString;
3390
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3391
+ }, "strip", z.ZodTypeAny, {
3392
+ type: string;
3393
+ params?: Record<string, any> | undefined;
3394
+ }, {
3395
+ type: string;
3396
+ params?: Record<string, any> | undefined;
3397
+ }>]>, "many">>;
3398
+ description: z.ZodOptional<z.ZodString>;
3399
+ }, "strip", z.ZodTypeAny, {
3400
+ target?: string | undefined;
3401
+ description?: string | undefined;
3402
+ cond?: string | {
3403
+ type: string;
3404
+ params?: Record<string, any> | undefined;
3405
+ } | undefined;
3406
+ actions?: (string | {
3407
+ type: string;
3408
+ params?: Record<string, any> | undefined;
3409
+ })[] | undefined;
3410
+ }, {
3411
+ target?: string | undefined;
3412
+ description?: string | undefined;
3413
+ cond?: string | {
3414
+ type: string;
3415
+ params?: Record<string, any> | undefined;
3416
+ } | undefined;
3417
+ actions?: (string | {
3418
+ type: string;
3419
+ params?: Record<string, any> | undefined;
3420
+ })[] | undefined;
3421
+ }>, z.ZodArray<z.ZodObject<{
3422
+ target: z.ZodOptional<z.ZodString>;
3423
+ cond: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
3424
+ type: z.ZodString;
3425
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3426
+ }, "strip", z.ZodTypeAny, {
3427
+ type: string;
3428
+ params?: Record<string, any> | undefined;
3429
+ }, {
3430
+ type: string;
3431
+ params?: Record<string, any> | undefined;
3432
+ }>]>>;
3433
+ actions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
3434
+ type: z.ZodString;
3435
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3436
+ }, "strip", z.ZodTypeAny, {
3437
+ type: string;
3438
+ params?: Record<string, any> | undefined;
3439
+ }, {
3440
+ type: string;
3441
+ params?: Record<string, any> | undefined;
3442
+ }>]>, "many">>;
3443
+ description: z.ZodOptional<z.ZodString>;
3444
+ }, "strip", z.ZodTypeAny, {
3445
+ target?: string | undefined;
3446
+ description?: string | undefined;
3447
+ cond?: string | {
3448
+ type: string;
3449
+ params?: Record<string, any> | undefined;
3450
+ } | undefined;
3451
+ actions?: (string | {
3452
+ type: string;
3453
+ params?: Record<string, any> | undefined;
3454
+ })[] | undefined;
3455
+ }, {
3456
+ target?: string | undefined;
3457
+ description?: string | undefined;
3458
+ cond?: string | {
3459
+ type: string;
3460
+ params?: Record<string, any> | undefined;
3461
+ } | undefined;
3462
+ actions?: (string | {
3463
+ type: string;
3464
+ params?: Record<string, any> | undefined;
3465
+ })[] | undefined;
3466
+ }>, "many">]>>>;
3467
+ }, "strip", z.ZodTypeAny, {
3468
+ initial: string;
3469
+ states: Record<string, StateNodeConfig>;
3470
+ id: string;
3471
+ on?: Record<string, string | {
3472
+ target?: string | undefined;
3473
+ description?: string | undefined;
3474
+ cond?: string | {
3475
+ type: string;
3476
+ params?: Record<string, any> | undefined;
3477
+ } | undefined;
3478
+ actions?: (string | {
3479
+ type: string;
3480
+ params?: Record<string, any> | undefined;
3481
+ })[] | undefined;
3482
+ } | {
3483
+ target?: string | undefined;
3484
+ description?: string | undefined;
3485
+ cond?: string | {
3486
+ type: string;
3487
+ params?: Record<string, any> | undefined;
3488
+ } | undefined;
3489
+ actions?: (string | {
3490
+ type: string;
3491
+ params?: Record<string, any> | undefined;
3492
+ })[] | undefined;
3493
+ }[]> | undefined;
3494
+ description?: string | undefined;
3495
+ contextSchema?: Record<string, any> | undefined;
3496
+ }, {
3497
+ initial: string;
3498
+ states: Record<string, StateNodeConfig>;
3499
+ id: string;
3500
+ on?: Record<string, string | {
3501
+ target?: string | undefined;
3502
+ description?: string | undefined;
3503
+ cond?: string | {
3504
+ type: string;
3505
+ params?: Record<string, any> | undefined;
3506
+ } | undefined;
3507
+ actions?: (string | {
3508
+ type: string;
3509
+ params?: Record<string, any> | undefined;
3510
+ })[] | undefined;
3511
+ } | {
3512
+ target?: string | undefined;
3513
+ description?: string | undefined;
3514
+ cond?: string | {
3515
+ type: string;
3516
+ params?: Record<string, any> | undefined;
3517
+ } | undefined;
3518
+ actions?: (string | {
3519
+ type: string;
3520
+ params?: Record<string, any> | undefined;
3521
+ })[] | undefined;
3522
+ }[]> | undefined;
3523
+ description?: string | undefined;
3524
+ contextSchema?: Record<string, any> | undefined;
3525
+ }>>>;
2765
3526
  /**
2766
3527
  * Display & UI Hints (Data-Layer)
2767
3528
  */
@@ -2820,12 +3581,12 @@ declare const ObjectSchema: z.ZodObject<{
2820
3581
  trash: boolean;
2821
3582
  mru: boolean;
2822
3583
  clone: boolean;
2823
- apiMethods?: ("search" | "update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "import" | "export")[] | undefined;
3584
+ apiMethods?: ("search" | "update" | "delete" | "history" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "restore" | "purge" | "import" | "export")[] | undefined;
2824
3585
  }, {
2825
3586
  searchable?: boolean | undefined;
2826
3587
  trackHistory?: boolean | undefined;
2827
3588
  apiEnabled?: boolean | undefined;
2828
- apiMethods?: ("search" | "update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "import" | "export")[] | undefined;
3589
+ apiMethods?: ("search" | "update" | "delete" | "history" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "restore" | "purge" | "import" | "export")[] | undefined;
2829
3590
  files?: boolean | undefined;
2830
3591
  feeds?: boolean | undefined;
2831
3592
  activities?: boolean | undefined;
@@ -3038,6 +3799,66 @@ declare const ObjectSchema: z.ZodObject<{
3038
3799
  destination: string;
3039
3800
  } | undefined;
3040
3801
  validations?: any[] | undefined;
3802
+ stateMachine?: {
3803
+ initial: string;
3804
+ states: Record<string, StateNodeConfig>;
3805
+ id: string;
3806
+ on?: Record<string, string | {
3807
+ target?: string | undefined;
3808
+ description?: string | undefined;
3809
+ cond?: string | {
3810
+ type: string;
3811
+ params?: Record<string, any> | undefined;
3812
+ } | undefined;
3813
+ actions?: (string | {
3814
+ type: string;
3815
+ params?: Record<string, any> | undefined;
3816
+ })[] | undefined;
3817
+ } | {
3818
+ target?: string | undefined;
3819
+ description?: string | undefined;
3820
+ cond?: string | {
3821
+ type: string;
3822
+ params?: Record<string, any> | undefined;
3823
+ } | undefined;
3824
+ actions?: (string | {
3825
+ type: string;
3826
+ params?: Record<string, any> | undefined;
3827
+ })[] | undefined;
3828
+ }[]> | undefined;
3829
+ description?: string | undefined;
3830
+ contextSchema?: Record<string, any> | undefined;
3831
+ } | undefined;
3832
+ stateMachines?: Record<string, {
3833
+ initial: string;
3834
+ states: Record<string, StateNodeConfig>;
3835
+ id: string;
3836
+ on?: Record<string, string | {
3837
+ target?: string | undefined;
3838
+ description?: string | undefined;
3839
+ cond?: string | {
3840
+ type: string;
3841
+ params?: Record<string, any> | undefined;
3842
+ } | undefined;
3843
+ actions?: (string | {
3844
+ type: string;
3845
+ params?: Record<string, any> | undefined;
3846
+ })[] | undefined;
3847
+ } | {
3848
+ target?: string | undefined;
3849
+ description?: string | undefined;
3850
+ cond?: string | {
3851
+ type: string;
3852
+ params?: Record<string, any> | undefined;
3853
+ } | undefined;
3854
+ actions?: (string | {
3855
+ type: string;
3856
+ params?: Record<string, any> | undefined;
3857
+ })[] | undefined;
3858
+ }[]> | undefined;
3859
+ description?: string | undefined;
3860
+ contextSchema?: Record<string, any> | undefined;
3861
+ }> | undefined;
3041
3862
  titleFormat?: string | undefined;
3042
3863
  compactLayout?: string[] | undefined;
3043
3864
  enable?: {
@@ -3050,7 +3871,7 @@ declare const ObjectSchema: z.ZodObject<{
3050
3871
  trash: boolean;
3051
3872
  mru: boolean;
3052
3873
  clone: boolean;
3053
- apiMethods?: ("search" | "update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "import" | "export")[] | undefined;
3874
+ apiMethods?: ("search" | "update" | "delete" | "history" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "restore" | "purge" | "import" | "export")[] | undefined;
3054
3875
  } | undefined;
3055
3876
  }, {
3056
3877
  fields: Record<string, {
@@ -3257,13 +4078,73 @@ declare const ObjectSchema: z.ZodObject<{
3257
4078
  destination: string;
3258
4079
  } | undefined;
3259
4080
  validations?: any[] | undefined;
4081
+ stateMachine?: {
4082
+ initial: string;
4083
+ states: Record<string, StateNodeConfig>;
4084
+ id: string;
4085
+ on?: Record<string, string | {
4086
+ target?: string | undefined;
4087
+ description?: string | undefined;
4088
+ cond?: string | {
4089
+ type: string;
4090
+ params?: Record<string, any> | undefined;
4091
+ } | undefined;
4092
+ actions?: (string | {
4093
+ type: string;
4094
+ params?: Record<string, any> | undefined;
4095
+ })[] | undefined;
4096
+ } | {
4097
+ target?: string | undefined;
4098
+ description?: string | undefined;
4099
+ cond?: string | {
4100
+ type: string;
4101
+ params?: Record<string, any> | undefined;
4102
+ } | undefined;
4103
+ actions?: (string | {
4104
+ type: string;
4105
+ params?: Record<string, any> | undefined;
4106
+ })[] | undefined;
4107
+ }[]> | undefined;
4108
+ description?: string | undefined;
4109
+ contextSchema?: Record<string, any> | undefined;
4110
+ } | undefined;
4111
+ stateMachines?: Record<string, {
4112
+ initial: string;
4113
+ states: Record<string, StateNodeConfig>;
4114
+ id: string;
4115
+ on?: Record<string, string | {
4116
+ target?: string | undefined;
4117
+ description?: string | undefined;
4118
+ cond?: string | {
4119
+ type: string;
4120
+ params?: Record<string, any> | undefined;
4121
+ } | undefined;
4122
+ actions?: (string | {
4123
+ type: string;
4124
+ params?: Record<string, any> | undefined;
4125
+ })[] | undefined;
4126
+ } | {
4127
+ target?: string | undefined;
4128
+ description?: string | undefined;
4129
+ cond?: string | {
4130
+ type: string;
4131
+ params?: Record<string, any> | undefined;
4132
+ } | undefined;
4133
+ actions?: (string | {
4134
+ type: string;
4135
+ params?: Record<string, any> | undefined;
4136
+ })[] | undefined;
4137
+ }[]> | undefined;
4138
+ description?: string | undefined;
4139
+ contextSchema?: Record<string, any> | undefined;
4140
+ }> | undefined;
3260
4141
  titleFormat?: string | undefined;
3261
4142
  compactLayout?: string[] | undefined;
3262
4143
  enable?: {
3263
4144
  searchable?: boolean | undefined;
3264
4145
  trackHistory?: boolean | undefined;
3265
4146
  apiEnabled?: boolean | undefined;
3266
- apiMethods?: ("search" | "update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "import" | "export")[] | undefined;
4147
+ apiMethods?: ("search" | "update" | "delete" | "history" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "restore" | "purge" | "import" | "export")[] | undefined;
3267
4148
  files?: boolean | undefined;
3268
4149
  feeds?: boolean | undefined;
3269
4150
  activities?: boolean | undefined;
@@ -3327,12 +4208,12 @@ declare const ObjectCapabilities: z.ZodObject<{
3327
4208
  trash: boolean;
3328
4209
  mru: boolean;
3329
4210
  clone: boolean;
3330
- apiMethods?: ("search" | "update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "import" | "export")[] | undefined;
4211
+ apiMethods?: ("search" | "update" | "delete" | "history" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "restore" | "purge" | "import" | "export")[] | undefined;
3331
4212
  }, {
3332
4213
  searchable?: boolean | undefined;
3333
4214
  trackHistory?: boolean | undefined;
3334
4215
  apiEnabled?: boolean | undefined;
3335
- apiMethods?: ("search" | "update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "import" | "export")[] | undefined;
4216
+ apiMethods?: ("search" | "update" | "delete" | "history" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "restore" | "purge" | "import" | "export")[] | undefined;
3336
4217
  files?: boolean | undefined;
3337
4218
  feeds?: boolean | undefined;
3338
4219
  activities?: boolean | undefined;
@@ -3347,6 +4228,1278 @@ type SoftDeleteConfig = z.infer<typeof SoftDeleteConfigSchema>;
3347
4228
  type VersioningConfig = z.infer<typeof VersioningConfigSchema>;
3348
4229
  type PartitioningConfig = z.infer<typeof PartitioningConfigSchema>;
3349
4230
  type CDCConfig = z.infer<typeof CDCConfigSchema>;
4231
+ /**
4232
+ * How a package relates to an object it references.
4233
+ *
4234
+ * - `own`: This package is the original author/owner of the object.
4235
+ * Only one package may own a given object name. The owner defines
4236
+ * the base schema (table name, primary key, core fields).
4237
+ *
4238
+ * - `extend`: This package adds fields, views, or actions to an
4239
+ * existing object owned by another package. Multiple packages
4240
+ * may extend the same object. Extensions are merged at boot time.
4241
+ *
4242
+ * Follows Salesforce/ServiceNow patterns:
4243
+ * object name = database table name, globally unique, no namespace prefix.
4244
+ */
4245
+ declare const ObjectOwnershipEnum: z.ZodEnum<["own", "extend"]>;
4246
+ type ObjectOwnership = z.infer<typeof ObjectOwnershipEnum>;
4247
+ /**
4248
+ * Object Extension Entry — used in `objectExtensions` array.
4249
+ * Declares fields/config to merge into an existing object owned by another package.
4250
+ *
4251
+ * @example
4252
+ * ```ts
4253
+ * objectExtensions: [{
4254
+ * extend: 'contact', // target object FQN
4255
+ * fields: { sales_stage: Field.select([...]) },
4256
+ * }]
4257
+ * ```
4258
+ */
4259
+ declare const ObjectExtensionSchema: z.ZodObject<{
4260
+ /** The target object name (FQN) to extend */
4261
+ extend: z.ZodString;
4262
+ /** Fields to merge into the target object (additive) */
4263
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4264
+ name: z.ZodOptional<z.ZodString>;
4265
+ label: z.ZodOptional<z.ZodString>;
4266
+ type: z.ZodEnum<["text", "textarea", "email", "url", "phone", "password", "markdown", "html", "richtext", "number", "currency", "percent", "date", "datetime", "time", "boolean", "toggle", "select", "multiselect", "radio", "checkboxes", "lookup", "master_detail", "tree", "image", "file", "avatar", "video", "audio", "formula", "summary", "autonumber", "location", "address", "code", "json", "color", "rating", "slider", "signature", "qrcode", "progress", "tags", "vector"]>;
4267
+ description: z.ZodOptional<z.ZodString>;
4268
+ format: z.ZodOptional<z.ZodString>;
4269
+ required: z.ZodDefault<z.ZodBoolean>;
4270
+ searchable: z.ZodDefault<z.ZodBoolean>;
4271
+ multiple: z.ZodDefault<z.ZodBoolean>;
4272
+ unique: z.ZodDefault<z.ZodBoolean>;
4273
+ defaultValue: z.ZodOptional<z.ZodAny>;
4274
+ maxLength: z.ZodOptional<z.ZodNumber>;
4275
+ minLength: z.ZodOptional<z.ZodNumber>;
4276
+ precision: z.ZodOptional<z.ZodNumber>;
4277
+ scale: z.ZodOptional<z.ZodNumber>;
4278
+ min: z.ZodOptional<z.ZodNumber>;
4279
+ max: z.ZodOptional<z.ZodNumber>;
4280
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
4281
+ label: z.ZodString;
4282
+ value: z.ZodString;
4283
+ color: z.ZodOptional<z.ZodString>;
4284
+ default: z.ZodOptional<z.ZodBoolean>;
4285
+ }, "strip", z.ZodTypeAny, {
4286
+ value: string;
4287
+ label: string;
4288
+ color?: string | undefined;
4289
+ default?: boolean | undefined;
4290
+ }, {
4291
+ value: string;
4292
+ label: string;
4293
+ color?: string | undefined;
4294
+ default?: boolean | undefined;
4295
+ }>, "many">>;
4296
+ reference: z.ZodOptional<z.ZodString>;
4297
+ referenceFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4298
+ writeRequiresMasterRead: z.ZodOptional<z.ZodBoolean>;
4299
+ deleteBehavior: z.ZodDefault<z.ZodOptional<z.ZodEnum<["set_null", "cascade", "restrict"]>>>;
4300
+ expression: z.ZodOptional<z.ZodString>;
4301
+ formula: z.ZodOptional<z.ZodString>;
4302
+ summaryOperations: z.ZodOptional<z.ZodObject<{
4303
+ object: z.ZodString;
4304
+ field: z.ZodString;
4305
+ function: z.ZodEnum<["count", "sum", "min", "max", "avg"]>;
4306
+ }, "strip", z.ZodTypeAny, {
4307
+ object: string;
4308
+ function: "count" | "sum" | "avg" | "min" | "max";
4309
+ field: string;
4310
+ }, {
4311
+ object: string;
4312
+ function: "count" | "sum" | "avg" | "min" | "max";
4313
+ field: string;
4314
+ }>>;
4315
+ language: z.ZodOptional<z.ZodString>;
4316
+ theme: z.ZodOptional<z.ZodString>;
4317
+ lineNumbers: z.ZodOptional<z.ZodBoolean>;
4318
+ maxRating: z.ZodOptional<z.ZodNumber>;
4319
+ allowHalf: z.ZodOptional<z.ZodBoolean>;
4320
+ displayMap: z.ZodOptional<z.ZodBoolean>;
4321
+ allowGeocoding: z.ZodOptional<z.ZodBoolean>;
4322
+ addressFormat: z.ZodOptional<z.ZodEnum<["us", "uk", "international"]>>;
4323
+ colorFormat: z.ZodOptional<z.ZodEnum<["hex", "rgb", "rgba", "hsl"]>>;
4324
+ allowAlpha: z.ZodOptional<z.ZodBoolean>;
4325
+ presetColors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4326
+ step: z.ZodOptional<z.ZodNumber>;
4327
+ showValue: z.ZodOptional<z.ZodBoolean>;
4328
+ marks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4329
+ barcodeFormat: z.ZodOptional<z.ZodEnum<["qr", "ean13", "ean8", "code128", "code39", "upca", "upce"]>>;
4330
+ qrErrorCorrection: z.ZodOptional<z.ZodEnum<["L", "M", "Q", "H"]>>;
4331
+ displayValue: z.ZodOptional<z.ZodBoolean>;
4332
+ allowScanning: z.ZodOptional<z.ZodBoolean>;
4333
+ currencyConfig: z.ZodOptional<z.ZodObject<{
4334
+ precision: z.ZodDefault<z.ZodNumber>;
4335
+ currencyMode: z.ZodDefault<z.ZodEnum<["dynamic", "fixed"]>>;
4336
+ defaultCurrency: z.ZodDefault<z.ZodString>;
4337
+ }, "strip", z.ZodTypeAny, {
4338
+ precision: number;
4339
+ currencyMode: "dynamic" | "fixed";
4340
+ defaultCurrency: string;
4341
+ }, {
4342
+ precision?: number | undefined;
4343
+ currencyMode?: "dynamic" | "fixed" | undefined;
4344
+ defaultCurrency?: string | undefined;
4345
+ }>>;
4346
+ vectorConfig: z.ZodOptional<z.ZodObject<{
4347
+ dimensions: z.ZodNumber;
4348
+ distanceMetric: z.ZodDefault<z.ZodEnum<["cosine", "euclidean", "dotProduct", "manhattan"]>>;
4349
+ normalized: z.ZodDefault<z.ZodBoolean>;
4350
+ indexed: z.ZodDefault<z.ZodBoolean>;
4351
+ indexType: z.ZodOptional<z.ZodEnum<["hnsw", "ivfflat", "flat"]>>;
4352
+ }, "strip", z.ZodTypeAny, {
4353
+ dimensions: number;
4354
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
4355
+ normalized: boolean;
4356
+ indexed: boolean;
4357
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
4358
+ }, {
4359
+ dimensions: number;
4360
+ distanceMetric?: "cosine" | "euclidean" | "dotProduct" | "manhattan" | undefined;
4361
+ normalized?: boolean | undefined;
4362
+ indexed?: boolean | undefined;
4363
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
4364
+ }>>;
4365
+ fileAttachmentConfig: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
4366
+ minSize: z.ZodOptional<z.ZodNumber>;
4367
+ maxSize: z.ZodOptional<z.ZodNumber>;
4368
+ allowedTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4369
+ blockedTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4370
+ allowedMimeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4371
+ blockedMimeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4372
+ virusScan: z.ZodDefault<z.ZodBoolean>;
4373
+ virusScanProvider: z.ZodOptional<z.ZodEnum<["clamav", "virustotal", "metadefender", "custom"]>>;
4374
+ virusScanOnUpload: z.ZodDefault<z.ZodBoolean>;
4375
+ quarantineOnThreat: z.ZodDefault<z.ZodBoolean>;
4376
+ storageProvider: z.ZodOptional<z.ZodString>;
4377
+ storageBucket: z.ZodOptional<z.ZodString>;
4378
+ storagePrefix: z.ZodOptional<z.ZodString>;
4379
+ imageValidation: z.ZodOptional<z.ZodObject<{
4380
+ minWidth: z.ZodOptional<z.ZodNumber>;
4381
+ maxWidth: z.ZodOptional<z.ZodNumber>;
4382
+ minHeight: z.ZodOptional<z.ZodNumber>;
4383
+ maxHeight: z.ZodOptional<z.ZodNumber>;
4384
+ aspectRatio: z.ZodOptional<z.ZodString>;
4385
+ generateThumbnails: z.ZodDefault<z.ZodBoolean>;
4386
+ thumbnailSizes: z.ZodOptional<z.ZodArray<z.ZodObject<{
4387
+ name: z.ZodString;
4388
+ width: z.ZodNumber;
4389
+ height: z.ZodNumber;
4390
+ crop: z.ZodDefault<z.ZodBoolean>;
4391
+ }, "strip", z.ZodTypeAny, {
4392
+ name: string;
4393
+ width: number;
4394
+ height: number;
4395
+ crop: boolean;
4396
+ }, {
4397
+ name: string;
4398
+ width: number;
4399
+ height: number;
4400
+ crop?: boolean | undefined;
4401
+ }>, "many">>;
4402
+ preserveMetadata: z.ZodDefault<z.ZodBoolean>;
4403
+ autoRotate: z.ZodDefault<z.ZodBoolean>;
4404
+ }, "strip", z.ZodTypeAny, {
4405
+ autoRotate: boolean;
4406
+ generateThumbnails: boolean;
4407
+ preserveMetadata: boolean;
4408
+ minWidth?: number | undefined;
4409
+ maxWidth?: number | undefined;
4410
+ minHeight?: number | undefined;
4411
+ maxHeight?: number | undefined;
4412
+ aspectRatio?: string | undefined;
4413
+ thumbnailSizes?: {
4414
+ name: string;
4415
+ width: number;
4416
+ height: number;
4417
+ crop: boolean;
4418
+ }[] | undefined;
4419
+ }, {
4420
+ autoRotate?: boolean | undefined;
4421
+ minWidth?: number | undefined;
4422
+ maxWidth?: number | undefined;
4423
+ minHeight?: number | undefined;
4424
+ maxHeight?: number | undefined;
4425
+ aspectRatio?: string | undefined;
4426
+ generateThumbnails?: boolean | undefined;
4427
+ thumbnailSizes?: {
4428
+ name: string;
4429
+ width: number;
4430
+ height: number;
4431
+ crop?: boolean | undefined;
4432
+ }[] | undefined;
4433
+ preserveMetadata?: boolean | undefined;
4434
+ }>>;
4435
+ allowMultiple: z.ZodDefault<z.ZodBoolean>;
4436
+ allowReplace: z.ZodDefault<z.ZodBoolean>;
4437
+ allowDelete: z.ZodDefault<z.ZodBoolean>;
4438
+ requireUpload: z.ZodDefault<z.ZodBoolean>;
4439
+ extractMetadata: z.ZodDefault<z.ZodBoolean>;
4440
+ extractText: z.ZodDefault<z.ZodBoolean>;
4441
+ versioningEnabled: z.ZodDefault<z.ZodBoolean>;
4442
+ maxVersions: z.ZodOptional<z.ZodNumber>;
4443
+ publicRead: z.ZodDefault<z.ZodBoolean>;
4444
+ presignedUrlExpiry: z.ZodDefault<z.ZodNumber>;
4445
+ }, "strip", z.ZodTypeAny, {
4446
+ virusScan: boolean;
4447
+ virusScanOnUpload: boolean;
4448
+ quarantineOnThreat: boolean;
4449
+ allowMultiple: boolean;
4450
+ allowReplace: boolean;
4451
+ allowDelete: boolean;
4452
+ requireUpload: boolean;
4453
+ extractMetadata: boolean;
4454
+ extractText: boolean;
4455
+ versioningEnabled: boolean;
4456
+ publicRead: boolean;
4457
+ presignedUrlExpiry: number;
4458
+ minSize?: number | undefined;
4459
+ maxSize?: number | undefined;
4460
+ allowedTypes?: string[] | undefined;
4461
+ blockedTypes?: string[] | undefined;
4462
+ allowedMimeTypes?: string[] | undefined;
4463
+ blockedMimeTypes?: string[] | undefined;
4464
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
4465
+ storageProvider?: string | undefined;
4466
+ storageBucket?: string | undefined;
4467
+ storagePrefix?: string | undefined;
4468
+ imageValidation?: {
4469
+ autoRotate: boolean;
4470
+ generateThumbnails: boolean;
4471
+ preserveMetadata: boolean;
4472
+ minWidth?: number | undefined;
4473
+ maxWidth?: number | undefined;
4474
+ minHeight?: number | undefined;
4475
+ maxHeight?: number | undefined;
4476
+ aspectRatio?: string | undefined;
4477
+ thumbnailSizes?: {
4478
+ name: string;
4479
+ width: number;
4480
+ height: number;
4481
+ crop: boolean;
4482
+ }[] | undefined;
4483
+ } | undefined;
4484
+ maxVersions?: number | undefined;
4485
+ }, {
4486
+ minSize?: number | undefined;
4487
+ maxSize?: number | undefined;
4488
+ allowedTypes?: string[] | undefined;
4489
+ blockedTypes?: string[] | undefined;
4490
+ allowedMimeTypes?: string[] | undefined;
4491
+ blockedMimeTypes?: string[] | undefined;
4492
+ virusScan?: boolean | undefined;
4493
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
4494
+ virusScanOnUpload?: boolean | undefined;
4495
+ quarantineOnThreat?: boolean | undefined;
4496
+ storageProvider?: string | undefined;
4497
+ storageBucket?: string | undefined;
4498
+ storagePrefix?: string | undefined;
4499
+ imageValidation?: {
4500
+ autoRotate?: boolean | undefined;
4501
+ minWidth?: number | undefined;
4502
+ maxWidth?: number | undefined;
4503
+ minHeight?: number | undefined;
4504
+ maxHeight?: number | undefined;
4505
+ aspectRatio?: string | undefined;
4506
+ generateThumbnails?: boolean | undefined;
4507
+ thumbnailSizes?: {
4508
+ name: string;
4509
+ width: number;
4510
+ height: number;
4511
+ crop?: boolean | undefined;
4512
+ }[] | undefined;
4513
+ preserveMetadata?: boolean | undefined;
4514
+ } | undefined;
4515
+ allowMultiple?: boolean | undefined;
4516
+ allowReplace?: boolean | undefined;
4517
+ allowDelete?: boolean | undefined;
4518
+ requireUpload?: boolean | undefined;
4519
+ extractMetadata?: boolean | undefined;
4520
+ extractText?: boolean | undefined;
4521
+ versioningEnabled?: boolean | undefined;
4522
+ maxVersions?: number | undefined;
4523
+ publicRead?: boolean | undefined;
4524
+ presignedUrlExpiry?: number | undefined;
4525
+ }>, {
4526
+ virusScan: boolean;
4527
+ virusScanOnUpload: boolean;
4528
+ quarantineOnThreat: boolean;
4529
+ allowMultiple: boolean;
4530
+ allowReplace: boolean;
4531
+ allowDelete: boolean;
4532
+ requireUpload: boolean;
4533
+ extractMetadata: boolean;
4534
+ extractText: boolean;
4535
+ versioningEnabled: boolean;
4536
+ publicRead: boolean;
4537
+ presignedUrlExpiry: number;
4538
+ minSize?: number | undefined;
4539
+ maxSize?: number | undefined;
4540
+ allowedTypes?: string[] | undefined;
4541
+ blockedTypes?: string[] | undefined;
4542
+ allowedMimeTypes?: string[] | undefined;
4543
+ blockedMimeTypes?: string[] | undefined;
4544
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
4545
+ storageProvider?: string | undefined;
4546
+ storageBucket?: string | undefined;
4547
+ storagePrefix?: string | undefined;
4548
+ imageValidation?: {
4549
+ autoRotate: boolean;
4550
+ generateThumbnails: boolean;
4551
+ preserveMetadata: boolean;
4552
+ minWidth?: number | undefined;
4553
+ maxWidth?: number | undefined;
4554
+ minHeight?: number | undefined;
4555
+ maxHeight?: number | undefined;
4556
+ aspectRatio?: string | undefined;
4557
+ thumbnailSizes?: {
4558
+ name: string;
4559
+ width: number;
4560
+ height: number;
4561
+ crop: boolean;
4562
+ }[] | undefined;
4563
+ } | undefined;
4564
+ maxVersions?: number | undefined;
4565
+ }, {
4566
+ minSize?: number | undefined;
4567
+ maxSize?: number | undefined;
4568
+ allowedTypes?: string[] | undefined;
4569
+ blockedTypes?: string[] | undefined;
4570
+ allowedMimeTypes?: string[] | undefined;
4571
+ blockedMimeTypes?: string[] | undefined;
4572
+ virusScan?: boolean | undefined;
4573
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
4574
+ virusScanOnUpload?: boolean | undefined;
4575
+ quarantineOnThreat?: boolean | undefined;
4576
+ storageProvider?: string | undefined;
4577
+ storageBucket?: string | undefined;
4578
+ storagePrefix?: string | undefined;
4579
+ imageValidation?: {
4580
+ autoRotate?: boolean | undefined;
4581
+ minWidth?: number | undefined;
4582
+ maxWidth?: number | undefined;
4583
+ minHeight?: number | undefined;
4584
+ maxHeight?: number | undefined;
4585
+ aspectRatio?: string | undefined;
4586
+ generateThumbnails?: boolean | undefined;
4587
+ thumbnailSizes?: {
4588
+ name: string;
4589
+ width: number;
4590
+ height: number;
4591
+ crop?: boolean | undefined;
4592
+ }[] | undefined;
4593
+ preserveMetadata?: boolean | undefined;
4594
+ } | undefined;
4595
+ allowMultiple?: boolean | undefined;
4596
+ allowReplace?: boolean | undefined;
4597
+ allowDelete?: boolean | undefined;
4598
+ requireUpload?: boolean | undefined;
4599
+ extractMetadata?: boolean | undefined;
4600
+ extractText?: boolean | undefined;
4601
+ versioningEnabled?: boolean | undefined;
4602
+ maxVersions?: number | undefined;
4603
+ publicRead?: boolean | undefined;
4604
+ presignedUrlExpiry?: number | undefined;
4605
+ }>, {
4606
+ virusScan: boolean;
4607
+ virusScanOnUpload: boolean;
4608
+ quarantineOnThreat: boolean;
4609
+ allowMultiple: boolean;
4610
+ allowReplace: boolean;
4611
+ allowDelete: boolean;
4612
+ requireUpload: boolean;
4613
+ extractMetadata: boolean;
4614
+ extractText: boolean;
4615
+ versioningEnabled: boolean;
4616
+ publicRead: boolean;
4617
+ presignedUrlExpiry: number;
4618
+ minSize?: number | undefined;
4619
+ maxSize?: number | undefined;
4620
+ allowedTypes?: string[] | undefined;
4621
+ blockedTypes?: string[] | undefined;
4622
+ allowedMimeTypes?: string[] | undefined;
4623
+ blockedMimeTypes?: string[] | undefined;
4624
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
4625
+ storageProvider?: string | undefined;
4626
+ storageBucket?: string | undefined;
4627
+ storagePrefix?: string | undefined;
4628
+ imageValidation?: {
4629
+ autoRotate: boolean;
4630
+ generateThumbnails: boolean;
4631
+ preserveMetadata: boolean;
4632
+ minWidth?: number | undefined;
4633
+ maxWidth?: number | undefined;
4634
+ minHeight?: number | undefined;
4635
+ maxHeight?: number | undefined;
4636
+ aspectRatio?: string | undefined;
4637
+ thumbnailSizes?: {
4638
+ name: string;
4639
+ width: number;
4640
+ height: number;
4641
+ crop: boolean;
4642
+ }[] | undefined;
4643
+ } | undefined;
4644
+ maxVersions?: number | undefined;
4645
+ }, {
4646
+ minSize?: number | undefined;
4647
+ maxSize?: number | undefined;
4648
+ allowedTypes?: string[] | undefined;
4649
+ blockedTypes?: string[] | undefined;
4650
+ allowedMimeTypes?: string[] | undefined;
4651
+ blockedMimeTypes?: string[] | undefined;
4652
+ virusScan?: boolean | undefined;
4653
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
4654
+ virusScanOnUpload?: boolean | undefined;
4655
+ quarantineOnThreat?: boolean | undefined;
4656
+ storageProvider?: string | undefined;
4657
+ storageBucket?: string | undefined;
4658
+ storagePrefix?: string | undefined;
4659
+ imageValidation?: {
4660
+ autoRotate?: boolean | undefined;
4661
+ minWidth?: number | undefined;
4662
+ maxWidth?: number | undefined;
4663
+ minHeight?: number | undefined;
4664
+ maxHeight?: number | undefined;
4665
+ aspectRatio?: string | undefined;
4666
+ generateThumbnails?: boolean | undefined;
4667
+ thumbnailSizes?: {
4668
+ name: string;
4669
+ width: number;
4670
+ height: number;
4671
+ crop?: boolean | undefined;
4672
+ }[] | undefined;
4673
+ preserveMetadata?: boolean | undefined;
4674
+ } | undefined;
4675
+ allowMultiple?: boolean | undefined;
4676
+ allowReplace?: boolean | undefined;
4677
+ allowDelete?: boolean | undefined;
4678
+ requireUpload?: boolean | undefined;
4679
+ extractMetadata?: boolean | undefined;
4680
+ extractText?: boolean | undefined;
4681
+ versioningEnabled?: boolean | undefined;
4682
+ maxVersions?: number | undefined;
4683
+ publicRead?: boolean | undefined;
4684
+ presignedUrlExpiry?: number | undefined;
4685
+ }>>;
4686
+ encryptionConfig: z.ZodOptional<z.ZodObject<{
4687
+ enabled: z.ZodDefault<z.ZodBoolean>;
4688
+ algorithm: z.ZodDefault<z.ZodEnum<["aes-256-gcm", "aes-256-cbc", "chacha20-poly1305"]>>;
4689
+ keyManagement: z.ZodObject<{
4690
+ provider: z.ZodEnum<["local", "aws-kms", "azure-key-vault", "gcp-kms", "hashicorp-vault"]>;
4691
+ keyId: z.ZodOptional<z.ZodString>;
4692
+ rotationPolicy: z.ZodOptional<z.ZodObject<{
4693
+ enabled: z.ZodDefault<z.ZodBoolean>;
4694
+ frequencyDays: z.ZodDefault<z.ZodNumber>;
4695
+ retainOldVersions: z.ZodDefault<z.ZodNumber>;
4696
+ autoRotate: z.ZodDefault<z.ZodBoolean>;
4697
+ }, "strip", z.ZodTypeAny, {
4698
+ enabled: boolean;
4699
+ frequencyDays: number;
4700
+ retainOldVersions: number;
4701
+ autoRotate: boolean;
4702
+ }, {
4703
+ enabled?: boolean | undefined;
4704
+ frequencyDays?: number | undefined;
4705
+ retainOldVersions?: number | undefined;
4706
+ autoRotate?: boolean | undefined;
4707
+ }>>;
4708
+ }, "strip", z.ZodTypeAny, {
4709
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
4710
+ keyId?: string | undefined;
4711
+ rotationPolicy?: {
4712
+ enabled: boolean;
4713
+ frequencyDays: number;
4714
+ retainOldVersions: number;
4715
+ autoRotate: boolean;
4716
+ } | undefined;
4717
+ }, {
4718
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
4719
+ keyId?: string | undefined;
4720
+ rotationPolicy?: {
4721
+ enabled?: boolean | undefined;
4722
+ frequencyDays?: number | undefined;
4723
+ retainOldVersions?: number | undefined;
4724
+ autoRotate?: boolean | undefined;
4725
+ } | undefined;
4726
+ }>;
4727
+ scope: z.ZodEnum<["field", "record", "table", "database"]>;
4728
+ deterministicEncryption: z.ZodDefault<z.ZodBoolean>;
4729
+ searchableEncryption: z.ZodDefault<z.ZodBoolean>;
4730
+ }, "strip", z.ZodTypeAny, {
4731
+ enabled: boolean;
4732
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
4733
+ keyManagement: {
4734
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
4735
+ keyId?: string | undefined;
4736
+ rotationPolicy?: {
4737
+ enabled: boolean;
4738
+ frequencyDays: number;
4739
+ retainOldVersions: number;
4740
+ autoRotate: boolean;
4741
+ } | undefined;
4742
+ };
4743
+ scope: "table" | "field" | "database" | "record";
4744
+ deterministicEncryption: boolean;
4745
+ searchableEncryption: boolean;
4746
+ }, {
4747
+ keyManagement: {
4748
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
4749
+ keyId?: string | undefined;
4750
+ rotationPolicy?: {
4751
+ enabled?: boolean | undefined;
4752
+ frequencyDays?: number | undefined;
4753
+ retainOldVersions?: number | undefined;
4754
+ autoRotate?: boolean | undefined;
4755
+ } | undefined;
4756
+ };
4757
+ scope: "table" | "field" | "database" | "record";
4758
+ enabled?: boolean | undefined;
4759
+ algorithm?: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305" | undefined;
4760
+ deterministicEncryption?: boolean | undefined;
4761
+ searchableEncryption?: boolean | undefined;
4762
+ }>>;
4763
+ maskingRule: z.ZodOptional<z.ZodObject<{
4764
+ field: z.ZodString;
4765
+ strategy: z.ZodEnum<["redact", "partial", "hash", "tokenize", "randomize", "nullify", "substitute"]>;
4766
+ pattern: z.ZodOptional<z.ZodString>;
4767
+ preserveFormat: z.ZodDefault<z.ZodBoolean>;
4768
+ preserveLength: z.ZodDefault<z.ZodBoolean>;
4769
+ roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4770
+ exemptRoles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4771
+ }, "strip", z.ZodTypeAny, {
4772
+ field: string;
4773
+ strategy: "partial" | "hash" | "redact" | "tokenize" | "randomize" | "nullify" | "substitute";
4774
+ preserveFormat: boolean;
4775
+ preserveLength: boolean;
4776
+ pattern?: string | undefined;
4777
+ roles?: string[] | undefined;
4778
+ exemptRoles?: string[] | undefined;
4779
+ }, {
4780
+ field: string;
4781
+ strategy: "partial" | "hash" | "redact" | "tokenize" | "randomize" | "nullify" | "substitute";
4782
+ pattern?: string | undefined;
4783
+ preserveFormat?: boolean | undefined;
4784
+ preserveLength?: boolean | undefined;
4785
+ roles?: string[] | undefined;
4786
+ exemptRoles?: string[] | undefined;
4787
+ }>>;
4788
+ auditTrail: z.ZodDefault<z.ZodBoolean>;
4789
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4790
+ cached: z.ZodOptional<z.ZodObject<{
4791
+ enabled: z.ZodBoolean;
4792
+ ttl: z.ZodNumber;
4793
+ invalidateOn: z.ZodArray<z.ZodString, "many">;
4794
+ }, "strip", z.ZodTypeAny, {
4795
+ enabled: boolean;
4796
+ ttl: number;
4797
+ invalidateOn: string[];
4798
+ }, {
4799
+ enabled: boolean;
4800
+ ttl: number;
4801
+ invalidateOn: string[];
4802
+ }>>;
4803
+ dataQuality: z.ZodOptional<z.ZodObject<{
4804
+ uniqueness: z.ZodDefault<z.ZodBoolean>;
4805
+ completeness: z.ZodDefault<z.ZodNumber>;
4806
+ accuracy: z.ZodOptional<z.ZodObject<{
4807
+ source: z.ZodString;
4808
+ threshold: z.ZodNumber;
4809
+ }, "strip", z.ZodTypeAny, {
4810
+ source: string;
4811
+ threshold: number;
4812
+ }, {
4813
+ source: string;
4814
+ threshold: number;
4815
+ }>>;
4816
+ }, "strip", z.ZodTypeAny, {
4817
+ uniqueness: boolean;
4818
+ completeness: number;
4819
+ accuracy?: {
4820
+ source: string;
4821
+ threshold: number;
4822
+ } | undefined;
4823
+ }, {
4824
+ accuracy?: {
4825
+ source: string;
4826
+ threshold: number;
4827
+ } | undefined;
4828
+ uniqueness?: boolean | undefined;
4829
+ completeness?: number | undefined;
4830
+ }>>;
4831
+ hidden: z.ZodDefault<z.ZodBoolean>;
4832
+ readonly: z.ZodDefault<z.ZodBoolean>;
4833
+ encryption: z.ZodDefault<z.ZodBoolean>;
4834
+ index: z.ZodDefault<z.ZodBoolean>;
4835
+ externalId: z.ZodDefault<z.ZodBoolean>;
4836
+ }, "strip", z.ZodTypeAny, {
4837
+ type: "number" | "boolean" | "code" | "date" | "lookup" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "image" | "file" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "tags" | "vector";
4838
+ required: boolean;
4839
+ searchable: boolean;
4840
+ multiple: boolean;
4841
+ unique: boolean;
4842
+ deleteBehavior: "set_null" | "cascade" | "restrict";
4843
+ auditTrail: boolean;
4844
+ hidden: boolean;
4845
+ readonly: boolean;
4846
+ encryption: boolean;
4847
+ index: boolean;
4848
+ externalId: boolean;
4849
+ options?: {
4850
+ value: string;
4851
+ label: string;
4852
+ color?: string | undefined;
4853
+ default?: boolean | undefined;
4854
+ }[] | undefined;
4855
+ expression?: string | undefined;
4856
+ defaultValue?: any;
4857
+ min?: number | undefined;
4858
+ max?: number | undefined;
4859
+ step?: number | undefined;
4860
+ language?: string | undefined;
4861
+ encryptionConfig?: {
4862
+ enabled: boolean;
4863
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
4864
+ keyManagement: {
4865
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
4866
+ keyId?: string | undefined;
4867
+ rotationPolicy?: {
4868
+ enabled: boolean;
4869
+ frequencyDays: number;
4870
+ retainOldVersions: number;
4871
+ autoRotate: boolean;
4872
+ } | undefined;
4873
+ };
4874
+ scope: "table" | "field" | "database" | "record";
4875
+ deterministicEncryption: boolean;
4876
+ searchableEncryption: boolean;
4877
+ } | undefined;
4878
+ formula?: string | undefined;
4879
+ label?: string | undefined;
4880
+ precision?: number | undefined;
4881
+ name?: string | undefined;
4882
+ description?: string | undefined;
4883
+ format?: string | undefined;
4884
+ maxLength?: number | undefined;
4885
+ minLength?: number | undefined;
4886
+ scale?: number | undefined;
4887
+ reference?: string | undefined;
4888
+ referenceFilters?: string[] | undefined;
4889
+ writeRequiresMasterRead?: boolean | undefined;
4890
+ summaryOperations?: {
4891
+ object: string;
4892
+ function: "count" | "sum" | "avg" | "min" | "max";
4893
+ field: string;
4894
+ } | undefined;
4895
+ theme?: string | undefined;
4896
+ lineNumbers?: boolean | undefined;
4897
+ maxRating?: number | undefined;
4898
+ allowHalf?: boolean | undefined;
4899
+ displayMap?: boolean | undefined;
4900
+ allowGeocoding?: boolean | undefined;
4901
+ addressFormat?: "us" | "uk" | "international" | undefined;
4902
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
4903
+ allowAlpha?: boolean | undefined;
4904
+ presetColors?: string[] | undefined;
4905
+ showValue?: boolean | undefined;
4906
+ marks?: Record<string, string> | undefined;
4907
+ barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
4908
+ qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
4909
+ displayValue?: boolean | undefined;
4910
+ allowScanning?: boolean | undefined;
4911
+ currencyConfig?: {
4912
+ precision: number;
4913
+ currencyMode: "dynamic" | "fixed";
4914
+ defaultCurrency: string;
4915
+ } | undefined;
4916
+ vectorConfig?: {
4917
+ dimensions: number;
4918
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
4919
+ normalized: boolean;
4920
+ indexed: boolean;
4921
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
4922
+ } | undefined;
4923
+ fileAttachmentConfig?: {
4924
+ virusScan: boolean;
4925
+ virusScanOnUpload: boolean;
4926
+ quarantineOnThreat: boolean;
4927
+ allowMultiple: boolean;
4928
+ allowReplace: boolean;
4929
+ allowDelete: boolean;
4930
+ requireUpload: boolean;
4931
+ extractMetadata: boolean;
4932
+ extractText: boolean;
4933
+ versioningEnabled: boolean;
4934
+ publicRead: boolean;
4935
+ presignedUrlExpiry: number;
4936
+ minSize?: number | undefined;
4937
+ maxSize?: number | undefined;
4938
+ allowedTypes?: string[] | undefined;
4939
+ blockedTypes?: string[] | undefined;
4940
+ allowedMimeTypes?: string[] | undefined;
4941
+ blockedMimeTypes?: string[] | undefined;
4942
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
4943
+ storageProvider?: string | undefined;
4944
+ storageBucket?: string | undefined;
4945
+ storagePrefix?: string | undefined;
4946
+ imageValidation?: {
4947
+ autoRotate: boolean;
4948
+ generateThumbnails: boolean;
4949
+ preserveMetadata: boolean;
4950
+ minWidth?: number | undefined;
4951
+ maxWidth?: number | undefined;
4952
+ minHeight?: number | undefined;
4953
+ maxHeight?: number | undefined;
4954
+ aspectRatio?: string | undefined;
4955
+ thumbnailSizes?: {
4956
+ name: string;
4957
+ width: number;
4958
+ height: number;
4959
+ crop: boolean;
4960
+ }[] | undefined;
4961
+ } | undefined;
4962
+ maxVersions?: number | undefined;
4963
+ } | undefined;
4964
+ maskingRule?: {
4965
+ field: string;
4966
+ strategy: "partial" | "hash" | "redact" | "tokenize" | "randomize" | "nullify" | "substitute";
4967
+ preserveFormat: boolean;
4968
+ preserveLength: boolean;
4969
+ pattern?: string | undefined;
4970
+ roles?: string[] | undefined;
4971
+ exemptRoles?: string[] | undefined;
4972
+ } | undefined;
4973
+ dependencies?: string[] | undefined;
4974
+ cached?: {
4975
+ enabled: boolean;
4976
+ ttl: number;
4977
+ invalidateOn: string[];
4978
+ } | undefined;
4979
+ dataQuality?: {
4980
+ uniqueness: boolean;
4981
+ completeness: number;
4982
+ accuracy?: {
4983
+ source: string;
4984
+ threshold: number;
4985
+ } | undefined;
4986
+ } | undefined;
4987
+ }, {
4988
+ type: "number" | "boolean" | "code" | "date" | "lookup" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "image" | "file" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "tags" | "vector";
4989
+ options?: {
4990
+ value: string;
4991
+ label: string;
4992
+ color?: string | undefined;
4993
+ default?: boolean | undefined;
4994
+ }[] | undefined;
4995
+ expression?: string | undefined;
4996
+ defaultValue?: any;
4997
+ required?: boolean | undefined;
4998
+ min?: number | undefined;
4999
+ max?: number | undefined;
5000
+ step?: number | undefined;
5001
+ language?: string | undefined;
5002
+ encryptionConfig?: {
5003
+ keyManagement: {
5004
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
5005
+ keyId?: string | undefined;
5006
+ rotationPolicy?: {
5007
+ enabled?: boolean | undefined;
5008
+ frequencyDays?: number | undefined;
5009
+ retainOldVersions?: number | undefined;
5010
+ autoRotate?: boolean | undefined;
5011
+ } | undefined;
5012
+ };
5013
+ scope: "table" | "field" | "database" | "record";
5014
+ enabled?: boolean | undefined;
5015
+ algorithm?: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305" | undefined;
5016
+ deterministicEncryption?: boolean | undefined;
5017
+ searchableEncryption?: boolean | undefined;
5018
+ } | undefined;
5019
+ formula?: string | undefined;
5020
+ label?: string | undefined;
5021
+ precision?: number | undefined;
5022
+ name?: string | undefined;
5023
+ description?: string | undefined;
5024
+ format?: string | undefined;
5025
+ searchable?: boolean | undefined;
5026
+ multiple?: boolean | undefined;
5027
+ unique?: boolean | undefined;
5028
+ maxLength?: number | undefined;
5029
+ minLength?: number | undefined;
5030
+ scale?: number | undefined;
5031
+ reference?: string | undefined;
5032
+ referenceFilters?: string[] | undefined;
5033
+ writeRequiresMasterRead?: boolean | undefined;
5034
+ deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
5035
+ summaryOperations?: {
5036
+ object: string;
5037
+ function: "count" | "sum" | "avg" | "min" | "max";
5038
+ field: string;
5039
+ } | undefined;
5040
+ theme?: string | undefined;
5041
+ lineNumbers?: boolean | undefined;
5042
+ maxRating?: number | undefined;
5043
+ allowHalf?: boolean | undefined;
5044
+ displayMap?: boolean | undefined;
5045
+ allowGeocoding?: boolean | undefined;
5046
+ addressFormat?: "us" | "uk" | "international" | undefined;
5047
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
5048
+ allowAlpha?: boolean | undefined;
5049
+ presetColors?: string[] | undefined;
5050
+ showValue?: boolean | undefined;
5051
+ marks?: Record<string, string> | undefined;
5052
+ barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
5053
+ qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
5054
+ displayValue?: boolean | undefined;
5055
+ allowScanning?: boolean | undefined;
5056
+ currencyConfig?: {
5057
+ precision?: number | undefined;
5058
+ currencyMode?: "dynamic" | "fixed" | undefined;
5059
+ defaultCurrency?: string | undefined;
5060
+ } | undefined;
5061
+ vectorConfig?: {
5062
+ dimensions: number;
5063
+ distanceMetric?: "cosine" | "euclidean" | "dotProduct" | "manhattan" | undefined;
5064
+ normalized?: boolean | undefined;
5065
+ indexed?: boolean | undefined;
5066
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
5067
+ } | undefined;
5068
+ fileAttachmentConfig?: {
5069
+ minSize?: number | undefined;
5070
+ maxSize?: number | undefined;
5071
+ allowedTypes?: string[] | undefined;
5072
+ blockedTypes?: string[] | undefined;
5073
+ allowedMimeTypes?: string[] | undefined;
5074
+ blockedMimeTypes?: string[] | undefined;
5075
+ virusScan?: boolean | undefined;
5076
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
5077
+ virusScanOnUpload?: boolean | undefined;
5078
+ quarantineOnThreat?: boolean | undefined;
5079
+ storageProvider?: string | undefined;
5080
+ storageBucket?: string | undefined;
5081
+ storagePrefix?: string | undefined;
5082
+ imageValidation?: {
5083
+ autoRotate?: boolean | undefined;
5084
+ minWidth?: number | undefined;
5085
+ maxWidth?: number | undefined;
5086
+ minHeight?: number | undefined;
5087
+ maxHeight?: number | undefined;
5088
+ aspectRatio?: string | undefined;
5089
+ generateThumbnails?: boolean | undefined;
5090
+ thumbnailSizes?: {
5091
+ name: string;
5092
+ width: number;
5093
+ height: number;
5094
+ crop?: boolean | undefined;
5095
+ }[] | undefined;
5096
+ preserveMetadata?: boolean | undefined;
5097
+ } | undefined;
5098
+ allowMultiple?: boolean | undefined;
5099
+ allowReplace?: boolean | undefined;
5100
+ allowDelete?: boolean | undefined;
5101
+ requireUpload?: boolean | undefined;
5102
+ extractMetadata?: boolean | undefined;
5103
+ extractText?: boolean | undefined;
5104
+ versioningEnabled?: boolean | undefined;
5105
+ maxVersions?: number | undefined;
5106
+ publicRead?: boolean | undefined;
5107
+ presignedUrlExpiry?: number | undefined;
5108
+ } | undefined;
5109
+ maskingRule?: {
5110
+ field: string;
5111
+ strategy: "partial" | "hash" | "redact" | "tokenize" | "randomize" | "nullify" | "substitute";
5112
+ pattern?: string | undefined;
5113
+ preserveFormat?: boolean | undefined;
5114
+ preserveLength?: boolean | undefined;
5115
+ roles?: string[] | undefined;
5116
+ exemptRoles?: string[] | undefined;
5117
+ } | undefined;
5118
+ auditTrail?: boolean | undefined;
5119
+ dependencies?: string[] | undefined;
5120
+ cached?: {
5121
+ enabled: boolean;
5122
+ ttl: number;
5123
+ invalidateOn: string[];
5124
+ } | undefined;
5125
+ dataQuality?: {
5126
+ accuracy?: {
5127
+ source: string;
5128
+ threshold: number;
5129
+ } | undefined;
5130
+ uniqueness?: boolean | undefined;
5131
+ completeness?: number | undefined;
5132
+ } | undefined;
5133
+ hidden?: boolean | undefined;
5134
+ readonly?: boolean | undefined;
5135
+ encryption?: boolean | undefined;
5136
+ index?: boolean | undefined;
5137
+ externalId?: boolean | undefined;
5138
+ }>>>;
5139
+ /** Override label */
5140
+ label: z.ZodOptional<z.ZodString>;
5141
+ /** Override plural label */
5142
+ pluralLabel: z.ZodOptional<z.ZodString>;
5143
+ /** Override description */
5144
+ description: z.ZodOptional<z.ZodString>;
5145
+ /** Additional validation rules to add */
5146
+ validations: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
5147
+ /** Additional indexes to add */
5148
+ indexes: z.ZodOptional<z.ZodArray<z.ZodObject<{
5149
+ name: z.ZodOptional<z.ZodString>;
5150
+ fields: z.ZodArray<z.ZodString, "many">;
5151
+ type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["btree", "hash", "gin", "gist", "fulltext"]>>>;
5152
+ unique: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5153
+ partial: z.ZodOptional<z.ZodString>;
5154
+ }, "strip", z.ZodTypeAny, {
5155
+ type: "hash" | "btree" | "gin" | "gist" | "fulltext";
5156
+ fields: string[];
5157
+ unique: boolean;
5158
+ partial?: string | undefined;
5159
+ name?: string | undefined;
5160
+ }, {
5161
+ fields: string[];
5162
+ type?: "hash" | "btree" | "gin" | "gist" | "fulltext" | undefined;
5163
+ partial?: string | undefined;
5164
+ name?: string | undefined;
5165
+ unique?: boolean | undefined;
5166
+ }>, "many">>;
5167
+ /** Merge priority. Higher number applied later (wins on conflict). Default: 200 */
5168
+ priority: z.ZodDefault<z.ZodNumber>;
5169
+ }, "strip", z.ZodTypeAny, {
5170
+ extend: string;
5171
+ priority: number;
5172
+ fields?: Record<string, {
5173
+ type: "number" | "boolean" | "code" | "date" | "lookup" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "image" | "file" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "tags" | "vector";
5174
+ required: boolean;
5175
+ searchable: boolean;
5176
+ multiple: boolean;
5177
+ unique: boolean;
5178
+ deleteBehavior: "set_null" | "cascade" | "restrict";
5179
+ auditTrail: boolean;
5180
+ hidden: boolean;
5181
+ readonly: boolean;
5182
+ encryption: boolean;
5183
+ index: boolean;
5184
+ externalId: boolean;
5185
+ options?: {
5186
+ value: string;
5187
+ label: string;
5188
+ color?: string | undefined;
5189
+ default?: boolean | undefined;
5190
+ }[] | undefined;
5191
+ expression?: string | undefined;
5192
+ defaultValue?: any;
5193
+ min?: number | undefined;
5194
+ max?: number | undefined;
5195
+ step?: number | undefined;
5196
+ language?: string | undefined;
5197
+ encryptionConfig?: {
5198
+ enabled: boolean;
5199
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
5200
+ keyManagement: {
5201
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
5202
+ keyId?: string | undefined;
5203
+ rotationPolicy?: {
5204
+ enabled: boolean;
5205
+ frequencyDays: number;
5206
+ retainOldVersions: number;
5207
+ autoRotate: boolean;
5208
+ } | undefined;
5209
+ };
5210
+ scope: "table" | "field" | "database" | "record";
5211
+ deterministicEncryption: boolean;
5212
+ searchableEncryption: boolean;
5213
+ } | undefined;
5214
+ formula?: string | undefined;
5215
+ label?: string | undefined;
5216
+ precision?: number | undefined;
5217
+ name?: string | undefined;
5218
+ description?: string | undefined;
5219
+ format?: string | undefined;
5220
+ maxLength?: number | undefined;
5221
+ minLength?: number | undefined;
5222
+ scale?: number | undefined;
5223
+ reference?: string | undefined;
5224
+ referenceFilters?: string[] | undefined;
5225
+ writeRequiresMasterRead?: boolean | undefined;
5226
+ summaryOperations?: {
5227
+ object: string;
5228
+ function: "count" | "sum" | "avg" | "min" | "max";
5229
+ field: string;
5230
+ } | undefined;
5231
+ theme?: string | undefined;
5232
+ lineNumbers?: boolean | undefined;
5233
+ maxRating?: number | undefined;
5234
+ allowHalf?: boolean | undefined;
5235
+ displayMap?: boolean | undefined;
5236
+ allowGeocoding?: boolean | undefined;
5237
+ addressFormat?: "us" | "uk" | "international" | undefined;
5238
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
5239
+ allowAlpha?: boolean | undefined;
5240
+ presetColors?: string[] | undefined;
5241
+ showValue?: boolean | undefined;
5242
+ marks?: Record<string, string> | undefined;
5243
+ barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
5244
+ qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
5245
+ displayValue?: boolean | undefined;
5246
+ allowScanning?: boolean | undefined;
5247
+ currencyConfig?: {
5248
+ precision: number;
5249
+ currencyMode: "dynamic" | "fixed";
5250
+ defaultCurrency: string;
5251
+ } | undefined;
5252
+ vectorConfig?: {
5253
+ dimensions: number;
5254
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
5255
+ normalized: boolean;
5256
+ indexed: boolean;
5257
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
5258
+ } | undefined;
5259
+ fileAttachmentConfig?: {
5260
+ virusScan: boolean;
5261
+ virusScanOnUpload: boolean;
5262
+ quarantineOnThreat: boolean;
5263
+ allowMultiple: boolean;
5264
+ allowReplace: boolean;
5265
+ allowDelete: boolean;
5266
+ requireUpload: boolean;
5267
+ extractMetadata: boolean;
5268
+ extractText: boolean;
5269
+ versioningEnabled: boolean;
5270
+ publicRead: boolean;
5271
+ presignedUrlExpiry: number;
5272
+ minSize?: number | undefined;
5273
+ maxSize?: number | undefined;
5274
+ allowedTypes?: string[] | undefined;
5275
+ blockedTypes?: string[] | undefined;
5276
+ allowedMimeTypes?: string[] | undefined;
5277
+ blockedMimeTypes?: string[] | undefined;
5278
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
5279
+ storageProvider?: string | undefined;
5280
+ storageBucket?: string | undefined;
5281
+ storagePrefix?: string | undefined;
5282
+ imageValidation?: {
5283
+ autoRotate: boolean;
5284
+ generateThumbnails: boolean;
5285
+ preserveMetadata: boolean;
5286
+ minWidth?: number | undefined;
5287
+ maxWidth?: number | undefined;
5288
+ minHeight?: number | undefined;
5289
+ maxHeight?: number | undefined;
5290
+ aspectRatio?: string | undefined;
5291
+ thumbnailSizes?: {
5292
+ name: string;
5293
+ width: number;
5294
+ height: number;
5295
+ crop: boolean;
5296
+ }[] | undefined;
5297
+ } | undefined;
5298
+ maxVersions?: number | undefined;
5299
+ } | undefined;
5300
+ maskingRule?: {
5301
+ field: string;
5302
+ strategy: "partial" | "hash" | "redact" | "tokenize" | "randomize" | "nullify" | "substitute";
5303
+ preserveFormat: boolean;
5304
+ preserveLength: boolean;
5305
+ pattern?: string | undefined;
5306
+ roles?: string[] | undefined;
5307
+ exemptRoles?: string[] | undefined;
5308
+ } | undefined;
5309
+ dependencies?: string[] | undefined;
5310
+ cached?: {
5311
+ enabled: boolean;
5312
+ ttl: number;
5313
+ invalidateOn: string[];
5314
+ } | undefined;
5315
+ dataQuality?: {
5316
+ uniqueness: boolean;
5317
+ completeness: number;
5318
+ accuracy?: {
5319
+ source: string;
5320
+ threshold: number;
5321
+ } | undefined;
5322
+ } | undefined;
5323
+ }> | undefined;
5324
+ label?: string | undefined;
5325
+ description?: string | undefined;
5326
+ pluralLabel?: string | undefined;
5327
+ indexes?: {
5328
+ type: "hash" | "btree" | "gin" | "gist" | "fulltext";
5329
+ fields: string[];
5330
+ unique: boolean;
5331
+ partial?: string | undefined;
5332
+ name?: string | undefined;
5333
+ }[] | undefined;
5334
+ validations?: any[] | undefined;
5335
+ }, {
5336
+ extend: string;
5337
+ fields?: Record<string, {
5338
+ type: "number" | "boolean" | "code" | "date" | "lookup" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "image" | "file" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "tags" | "vector";
5339
+ options?: {
5340
+ value: string;
5341
+ label: string;
5342
+ color?: string | undefined;
5343
+ default?: boolean | undefined;
5344
+ }[] | undefined;
5345
+ expression?: string | undefined;
5346
+ defaultValue?: any;
5347
+ required?: boolean | undefined;
5348
+ min?: number | undefined;
5349
+ max?: number | undefined;
5350
+ step?: number | undefined;
5351
+ language?: string | undefined;
5352
+ encryptionConfig?: {
5353
+ keyManagement: {
5354
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
5355
+ keyId?: string | undefined;
5356
+ rotationPolicy?: {
5357
+ enabled?: boolean | undefined;
5358
+ frequencyDays?: number | undefined;
5359
+ retainOldVersions?: number | undefined;
5360
+ autoRotate?: boolean | undefined;
5361
+ } | undefined;
5362
+ };
5363
+ scope: "table" | "field" | "database" | "record";
5364
+ enabled?: boolean | undefined;
5365
+ algorithm?: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305" | undefined;
5366
+ deterministicEncryption?: boolean | undefined;
5367
+ searchableEncryption?: boolean | undefined;
5368
+ } | undefined;
5369
+ formula?: string | undefined;
5370
+ label?: string | undefined;
5371
+ precision?: number | undefined;
5372
+ name?: string | undefined;
5373
+ description?: string | undefined;
5374
+ format?: string | undefined;
5375
+ searchable?: boolean | undefined;
5376
+ multiple?: boolean | undefined;
5377
+ unique?: boolean | undefined;
5378
+ maxLength?: number | undefined;
5379
+ minLength?: number | undefined;
5380
+ scale?: number | undefined;
5381
+ reference?: string | undefined;
5382
+ referenceFilters?: string[] | undefined;
5383
+ writeRequiresMasterRead?: boolean | undefined;
5384
+ deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
5385
+ summaryOperations?: {
5386
+ object: string;
5387
+ function: "count" | "sum" | "avg" | "min" | "max";
5388
+ field: string;
5389
+ } | undefined;
5390
+ theme?: string | undefined;
5391
+ lineNumbers?: boolean | undefined;
5392
+ maxRating?: number | undefined;
5393
+ allowHalf?: boolean | undefined;
5394
+ displayMap?: boolean | undefined;
5395
+ allowGeocoding?: boolean | undefined;
5396
+ addressFormat?: "us" | "uk" | "international" | undefined;
5397
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
5398
+ allowAlpha?: boolean | undefined;
5399
+ presetColors?: string[] | undefined;
5400
+ showValue?: boolean | undefined;
5401
+ marks?: Record<string, string> | undefined;
5402
+ barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
5403
+ qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
5404
+ displayValue?: boolean | undefined;
5405
+ allowScanning?: boolean | undefined;
5406
+ currencyConfig?: {
5407
+ precision?: number | undefined;
5408
+ currencyMode?: "dynamic" | "fixed" | undefined;
5409
+ defaultCurrency?: string | undefined;
5410
+ } | undefined;
5411
+ vectorConfig?: {
5412
+ dimensions: number;
5413
+ distanceMetric?: "cosine" | "euclidean" | "dotProduct" | "manhattan" | undefined;
5414
+ normalized?: boolean | undefined;
5415
+ indexed?: boolean | undefined;
5416
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
5417
+ } | undefined;
5418
+ fileAttachmentConfig?: {
5419
+ minSize?: number | undefined;
5420
+ maxSize?: number | undefined;
5421
+ allowedTypes?: string[] | undefined;
5422
+ blockedTypes?: string[] | undefined;
5423
+ allowedMimeTypes?: string[] | undefined;
5424
+ blockedMimeTypes?: string[] | undefined;
5425
+ virusScan?: boolean | undefined;
5426
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
5427
+ virusScanOnUpload?: boolean | undefined;
5428
+ quarantineOnThreat?: boolean | undefined;
5429
+ storageProvider?: string | undefined;
5430
+ storageBucket?: string | undefined;
5431
+ storagePrefix?: string | undefined;
5432
+ imageValidation?: {
5433
+ autoRotate?: boolean | undefined;
5434
+ minWidth?: number | undefined;
5435
+ maxWidth?: number | undefined;
5436
+ minHeight?: number | undefined;
5437
+ maxHeight?: number | undefined;
5438
+ aspectRatio?: string | undefined;
5439
+ generateThumbnails?: boolean | undefined;
5440
+ thumbnailSizes?: {
5441
+ name: string;
5442
+ width: number;
5443
+ height: number;
5444
+ crop?: boolean | undefined;
5445
+ }[] | undefined;
5446
+ preserveMetadata?: boolean | undefined;
5447
+ } | undefined;
5448
+ allowMultiple?: boolean | undefined;
5449
+ allowReplace?: boolean | undefined;
5450
+ allowDelete?: boolean | undefined;
5451
+ requireUpload?: boolean | undefined;
5452
+ extractMetadata?: boolean | undefined;
5453
+ extractText?: boolean | undefined;
5454
+ versioningEnabled?: boolean | undefined;
5455
+ maxVersions?: number | undefined;
5456
+ publicRead?: boolean | undefined;
5457
+ presignedUrlExpiry?: number | undefined;
5458
+ } | undefined;
5459
+ maskingRule?: {
5460
+ field: string;
5461
+ strategy: "partial" | "hash" | "redact" | "tokenize" | "randomize" | "nullify" | "substitute";
5462
+ pattern?: string | undefined;
5463
+ preserveFormat?: boolean | undefined;
5464
+ preserveLength?: boolean | undefined;
5465
+ roles?: string[] | undefined;
5466
+ exemptRoles?: string[] | undefined;
5467
+ } | undefined;
5468
+ auditTrail?: boolean | undefined;
5469
+ dependencies?: string[] | undefined;
5470
+ cached?: {
5471
+ enabled: boolean;
5472
+ ttl: number;
5473
+ invalidateOn: string[];
5474
+ } | undefined;
5475
+ dataQuality?: {
5476
+ accuracy?: {
5477
+ source: string;
5478
+ threshold: number;
5479
+ } | undefined;
5480
+ uniqueness?: boolean | undefined;
5481
+ completeness?: number | undefined;
5482
+ } | undefined;
5483
+ hidden?: boolean | undefined;
5484
+ readonly?: boolean | undefined;
5485
+ encryption?: boolean | undefined;
5486
+ index?: boolean | undefined;
5487
+ externalId?: boolean | undefined;
5488
+ }> | undefined;
5489
+ label?: string | undefined;
5490
+ description?: string | undefined;
5491
+ pluralLabel?: string | undefined;
5492
+ indexes?: {
5493
+ fields: string[];
5494
+ type?: "hash" | "btree" | "gin" | "gist" | "fulltext" | undefined;
5495
+ partial?: string | undefined;
5496
+ name?: string | undefined;
5497
+ unique?: boolean | undefined;
5498
+ }[] | undefined;
5499
+ validations?: any[] | undefined;
5500
+ priority?: number | undefined;
5501
+ }>;
5502
+ type ObjectExtension = z.infer<typeof ObjectExtensionSchema>;
3350
5503
 
3351
5504
  /**
3352
5505
  * Data Engine Protocol
@@ -8220,4 +10373,4 @@ type DriverInterface = z.infer<typeof DriverInterfaceSchema>;
8220
10373
  type DriverConfig = z.infer<typeof DriverConfigSchema>;
8221
10374
  type PoolConfig = z.infer<typeof PoolConfigSchema>;
8222
10375
 
8223
- export { TenancyConfigSchema as $, ApiMethod as A, DataEngineSortSchema as B, type CDCConfig as C, type DataEngineQueryOptions as D, DataEngineUpdateOptionsSchema as E, DataEngineUpdateRequestSchema as F, DataEngineVectorFindRequestSchema as G, type DriverCapabilities as H, DriverCapabilitiesSchema as I, type DriverConfig as J, DriverConfigSchema as K, type DriverInterface as L, DriverInterfaceSchema as M, DriverOptionsSchema as N, ObjectSchema as O, IndexSchema as P, ObjectCapabilities as Q, type ObjectIndex as R, type PartitioningConfig as S, PartitioningConfigSchema as T, type PoolConfig as U, PoolConfigSchema as V, SearchConfigSchema as W, type ServiceObject as X, type SoftDeleteConfig as Y, SoftDeleteConfigSchema as Z, type TenancyConfig as _, type DataEngineInsertOptions as a, type VersioningConfig as a0, VersioningConfigSchema as a1, type DataEngineUpdateOptions as b, type DataEngineDeleteOptions as c, type DataEngineCountOptions as d, type DataEngineAggregateOptions as e, type DataEngineRequest as f, type DriverOptions as g, CDCConfigSchema as h, DataEngineAggregateOptionsSchema as i, DataEngineAggregateRequestSchema as j, DataEngineBatchRequestSchema as k, DataEngineContractSchema as l, DataEngineCountOptionsSchema as m, DataEngineCountRequestSchema as n, DataEngineDeleteOptionsSchema as o, DataEngineDeleteRequestSchema as p, DataEngineExecuteRequestSchema as q, type DataEngineFilter as r, DataEngineFilterSchema as s, DataEngineFindOneRequestSchema as t, DataEngineFindRequestSchema as u, DataEngineInsertOptionsSchema as v, DataEngineInsertRequestSchema as w, DataEngineQueryOptionsSchema as x, DataEngineRequestSchema as y, type DataEngineSort as z };
10376
+ export { type ServiceObject as $, ApiMethod as A, DataEngineSortSchema as B, type CDCConfig as C, type DataEngineQueryOptions as D, DataEngineUpdateOptionsSchema as E, DataEngineUpdateRequestSchema as F, DataEngineVectorFindRequestSchema as G, type DriverCapabilities as H, DriverCapabilitiesSchema as I, type DriverConfig as J, DriverConfigSchema as K, type DriverInterface as L, DriverInterfaceSchema as M, DriverOptionsSchema as N, ObjectSchema as O, IndexSchema as P, ObjectCapabilities as Q, type ObjectExtension as R, ObjectExtensionSchema as S, type ObjectIndex as T, type ObjectOwnership as U, ObjectOwnershipEnum as V, type PartitioningConfig as W, PartitioningConfigSchema as X, type PoolConfig as Y, PoolConfigSchema as Z, SearchConfigSchema as _, type DataEngineInsertOptions as a, type SoftDeleteConfig as a0, SoftDeleteConfigSchema as a1, type TenancyConfig as a2, TenancyConfigSchema as a3, type VersioningConfig as a4, VersioningConfigSchema as a5, type DataEngineUpdateOptions as b, type DataEngineDeleteOptions as c, type DataEngineCountOptions as d, type DataEngineAggregateOptions as e, type DataEngineRequest as f, type DriverOptions as g, CDCConfigSchema as h, DataEngineAggregateOptionsSchema as i, DataEngineAggregateRequestSchema as j, DataEngineBatchRequestSchema as k, DataEngineContractSchema as l, DataEngineCountOptionsSchema as m, DataEngineCountRequestSchema as n, DataEngineDeleteOptionsSchema as o, DataEngineDeleteRequestSchema as p, DataEngineExecuteRequestSchema as q, type DataEngineFilter as r, DataEngineFilterSchema as s, DataEngineFindOneRequestSchema as t, DataEngineFindRequestSchema as u, DataEngineInsertOptionsSchema as v, DataEngineInsertRequestSchema as w, DataEngineQueryOptionsSchema as x, DataEngineRequestSchema as y, type DataEngineSort as z };