@objectstack/plugin-webhooks 16.1.0 → 17.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/.turbo/turbo-build.log +20 -20
  2. package/CHANGELOG.md +247 -0
  3. package/dist/{chunk-RBCYKJVL.js → chunk-6EPMRZ7I.js} +28 -2
  4. package/dist/chunk-6EPMRZ7I.js.map +1 -0
  5. package/dist/{chunk-PTMJ5BLL.cjs → chunk-QUTQSOQC.cjs} +28 -2
  6. package/dist/chunk-QUTQSOQC.cjs.map +1 -0
  7. package/dist/index.cjs +222 -24
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.cts +15 -0
  10. package/dist/index.d.ts +15 -0
  11. package/dist/index.js +202 -4
  12. package/dist/index.js.map +1 -1
  13. package/dist/schema.cjs +2 -2
  14. package/dist/schema.d.cts +339 -143
  15. package/dist/schema.d.ts +339 -143
  16. package/dist/schema.js +1 -1
  17. package/dist/translations-CBQRUIS5.cjs +383 -0
  18. package/dist/translations-CBQRUIS5.cjs.map +1 -0
  19. package/dist/translations-Y3CXWOTM.js +383 -0
  20. package/dist/translations-Y3CXWOTM.js.map +1 -0
  21. package/package.json +4 -4
  22. package/scripts/i18n-extract.config.ts +5 -3
  23. package/src/bootstrap-declared-webhooks.test.ts +283 -0
  24. package/src/bootstrap-declared-webhooks.ts +205 -0
  25. package/src/sys-webhook.object.ts +50 -12
  26. package/src/translations/bundle-ownership.test.ts +41 -0
  27. package/src/translations/en.objects.generated.ts +27 -113
  28. package/src/translations/es-ES.objects.generated.ts +27 -113
  29. package/src/translations/ja-JP.objects.generated.ts +27 -113
  30. package/src/translations/zh-CN.objects.generated.ts +27 -113
  31. package/src/webhook-outbox-plugin.ts +46 -0
  32. package/src/webhook-provenance.ts +86 -0
  33. package/dist/chunk-PTMJ5BLL.cjs.map +0 -1
  34. package/dist/chunk-RBCYKJVL.js.map +0 -1
  35. package/dist/translations-EPJYANXJ.js +0 -727
  36. package/dist/translations-EPJYANXJ.js.map +0 -1
  37. package/dist/translations-L2JAQDJB.cjs +0 -727
  38. package/dist/translations-L2JAQDJB.cjs.map +0 -1
package/dist/schema.d.ts CHANGED
@@ -8,19 +8,25 @@ import * as _objectstack_spec_data from '@objectstack/spec/data';
8
8
  * Studio UI without code changes. The canonical Zod schema for the
9
9
  * `definition_json` envelope lives at `@objectstack/spec/automation/webhook`.
10
10
  *
11
- * One row per `name`. The automation runtime
12
- * (`@objectstack/service-automation`, built-in `http_request` node) loads
13
- * active rows on boot + on `sys_webhook:changed` events, registers
14
- * `afterInsert` / `afterUpdate` / `afterDelete` listeners for the
15
- * targeted object, and dispatches outbound HTTP calls when matching
16
- * record events fire.
11
+ * ## Two authoring doors, one row
12
+ * Rows land here two ways, distinguished by the `managed_by` provenance column:
13
+ * - **admin** created/edited directly through this object's CRUD UI.
14
+ * - **package** declared in code (`defineStack({ webhooks })` /
15
+ * `defineWebhook()`) and materialized on boot by
16
+ * `bootstrapDeclaredWebhooks` (#3461). Re-seeded every boot, but an admin
17
+ * edit stamps `customized: true` and freezes the row (seed-not-clobber,
18
+ * mirrors `sys_sharing_rule` #2909).
19
+ *
20
+ * One row per `name`. This plugin's {@link AutoEnqueuer} loads active rows on
21
+ * boot + on `sys_webhook:changed` events, and turns matching `data.record.*`
22
+ * events into deliveries on the shared `service-messaging` HTTP outbox
23
+ * (ADR-0018 M3 — `sys_http_delivery`, drained by the messaging dispatcher).
17
24
  *
18
25
  * Ownership (ADR-0029 K2.a): this object is **owned by
19
- * `@objectstack/plugin-webhooks`** — the plugin that consumes these rows
20
- * alongside its sibling `sys_webhook_delivery`. It used to live in the
21
- * `@objectstack/platform-objects` monolith and be imported here; the
22
- * definition now lives with its owner so the plugin ships both data and
23
- * behavior as one unit.
26
+ * `@objectstack/plugin-webhooks`** — the plugin that consumes these rows. It
27
+ * used to live in the `@objectstack/platform-objects` monolith and be imported
28
+ * here; the definition now lives with its owner so the plugin ships both data
29
+ * and behavior as one unit.
24
30
  *
25
31
  * Platform-wide on purpose: every project (standalone, single-tenant,
26
32
  * cloud) can integrate with external systems (Slack, Stripe, internal
@@ -37,7 +43,7 @@ declare const SysWebhook: Omit<{
37
43
  required: boolean;
38
44
  searchable: boolean;
39
45
  multiple: boolean;
40
- unique: boolean;
46
+ unique: boolean | "global";
41
47
  deleteBehavior: "set_null" | "cascade" | "restrict";
42
48
  hidden: boolean;
43
49
  readonly: boolean;
@@ -54,6 +60,8 @@ declare const SysWebhook: Omit<{
54
60
  scale?: number | undefined;
55
61
  min?: number | undefined;
56
62
  max?: number | undefined;
63
+ accept?: string[] | undefined;
64
+ maxSize?: number | undefined;
57
65
  options?: {
58
66
  label: string;
59
67
  value: string;
@@ -190,25 +198,10 @@ declare const SysWebhook: Omit<{
190
198
  generatedBy?: string | undefined;
191
199
  } | undefined;
192
200
  } | undefined;
193
- conditionalRequired?: {
194
- dialect: "cel" | "cron" | "template";
195
- source?: string | undefined;
196
- ast?: unknown;
197
- meta?: {
198
- rationale?: string | undefined;
199
- generatedBy?: string | undefined;
200
- } | undefined;
201
- } | {
202
- dialect: "cel" | "cron" | "template";
203
- source?: string | undefined;
204
- ast?: unknown;
205
- meta?: {
206
- rationale?: string | undefined;
207
- generatedBy?: string | undefined;
208
- } | undefined;
209
- } | undefined;
201
+ conditionalRequired?: undefined;
210
202
  widget?: string | undefined;
211
203
  requiredPermissions?: string[] | undefined;
204
+ ackPlaintextMasking?: boolean | undefined;
212
205
  system?: boolean | undefined;
213
206
  inlineHelpText?: string | undefined;
214
207
  autonumberFormat?: string | undefined;
@@ -320,7 +313,7 @@ declare const SysWebhook: Omit<{
320
313
  indexes?: {
321
314
  fields: string[];
322
315
  type: "hash" | "btree" | "gin" | "gist" | "fulltext";
323
- unique: boolean;
316
+ unique: boolean | "global";
324
317
  name?: string | undefined;
325
318
  partial?: string | undefined;
326
319
  }[] | undefined;
@@ -371,6 +364,7 @@ declare const SysWebhook: Omit<{
371
364
  } | undefined;
372
365
  reclaim?: boolean | undefined;
373
366
  } | undefined;
367
+ fileAccessDelegate?: string | undefined;
374
368
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
375
369
  activityMilestones?: {
376
370
  field: string;
@@ -412,7 +406,14 @@ declare const SysWebhook: Omit<{
412
406
  wrap?: boolean | undefined;
413
407
  type?: string | undefined;
414
408
  pinned?: "left" | "right" | undefined;
415
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
409
+ summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | {
410
+ type: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled";
411
+ field?: string | undefined;
412
+ } | undefined;
413
+ prefix?: {
414
+ field: string;
415
+ type: "text" | "badge";
416
+ } | undefined;
416
417
  link?: boolean | undefined;
417
418
  action?: string | undefined;
418
419
  }[];
@@ -693,10 +694,8 @@ declare const SysWebhook: Omit<{
693
694
  files: boolean;
694
695
  feeds: boolean;
695
696
  activities: boolean;
696
- trash: boolean;
697
- mru: boolean;
698
697
  clone: boolean;
699
- apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
698
+ apiMethods?: ("create" | "update" | "delete" | "get" | "list" | "bulk")[] | undefined;
700
699
  } | undefined;
701
700
  sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
702
701
  externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
@@ -711,7 +710,7 @@ declare const SysWebhook: Omit<{
711
710
  actions?: Omit<{
712
711
  name: string;
713
712
  label: string;
714
- type: "url" | "form" | "flow" | "api" | "script" | "modal";
713
+ type: "url" | "form" | "script" | "flow" | "api" | "modal";
715
714
  refreshAfter: boolean;
716
715
  objectName?: string | undefined;
717
716
  icon?: string | undefined;
@@ -729,7 +728,7 @@ declare const SysWebhook: Omit<{
729
728
  timeoutMs?: number | undefined;
730
729
  memoryMb?: number | undefined;
731
730
  } | undefined;
732
- execute?: string | undefined;
731
+ execute?: undefined;
733
732
  params?: Omit<{
734
733
  required: boolean;
735
734
  name?: string | undefined;
@@ -747,6 +746,7 @@ declare const SysWebhook: Omit<{
747
746
  multiple?: boolean | undefined;
748
747
  accept?: string[] | undefined;
749
748
  maxSize?: number | undefined;
749
+ reference?: string | undefined;
750
750
  defaultFromRow?: boolean | undefined;
751
751
  visible?: {
752
752
  dialect: "cel" | "cron" | "template";
@@ -844,7 +844,7 @@ declare const SysWebhook: Omit<{
844
844
  readonly delete: true;
845
845
  readonly import: false;
846
846
  };
847
- readonly description: "Outbound HTTP webhook subscription. Authored via defineWebhook() in code or the Studio editor; executed by the HTTP connector plugin.";
847
+ readonly description: "Outbound HTTP webhook subscription. Declared in code via defineStack({ webhooks }) / defineWebhook() (materialized into rows on boot) or authored directly in the Studio editor; dispatched by the webhook auto-enqueuer onto the shared HTTP outbox.";
848
848
  readonly displayNameField: "name";
849
849
  readonly nameField: "name";
850
850
  readonly titleFormat: "{label}";
@@ -966,6 +966,7 @@ declare const SysWebhook: Omit<{
966
966
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
967
967
  readonly widget?: string | undefined;
968
968
  readonly multiple?: boolean | undefined;
969
+ readonly maxSize?: number | undefined;
969
970
  readonly externalId?: boolean | undefined;
970
971
  readonly defaultValue?: unknown;
971
972
  readonly requiredPermissions?: string[] | undefined;
@@ -984,10 +985,11 @@ declare const SysWebhook: Omit<{
984
985
  } | undefined;
985
986
  } | undefined;
986
987
  readonly searchable?: boolean | undefined;
987
- readonly unique?: boolean | undefined;
988
+ readonly unique?: boolean | "global" | undefined;
988
989
  readonly maxLength?: number | undefined;
989
990
  readonly minLength?: number | undefined;
990
991
  readonly scale?: number | undefined;
992
+ readonly accept?: string[] | undefined;
991
993
  readonly reference?: string | undefined;
992
994
  readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
993
995
  readonly inlineEdit?: boolean | "grid" | "form" | undefined;
@@ -1059,15 +1061,8 @@ declare const SysWebhook: Omit<{
1059
1061
  generatedBy?: string | undefined;
1060
1062
  } | undefined;
1061
1063
  } | undefined;
1062
- readonly conditionalRequired?: {
1063
- dialect: "cel" | "cron" | "template";
1064
- source?: string | undefined;
1065
- ast?: unknown;
1066
- meta?: {
1067
- rationale?: string | undefined;
1068
- generatedBy?: string | undefined;
1069
- } | undefined;
1070
- } | undefined;
1064
+ readonly conditionalRequired?: undefined;
1065
+ readonly ackPlaintextMasking?: boolean | undefined;
1071
1066
  readonly sortable?: boolean | undefined;
1072
1067
  readonly inlineHelpText?: string | undefined;
1073
1068
  readonly autonumberFormat?: string | undefined;
@@ -1099,6 +1094,7 @@ declare const SysWebhook: Omit<{
1099
1094
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1100
1095
  readonly widget?: string | undefined;
1101
1096
  readonly multiple?: boolean | undefined;
1097
+ readonly maxSize?: number | undefined;
1102
1098
  readonly externalId?: boolean | undefined;
1103
1099
  readonly defaultValue?: unknown;
1104
1100
  readonly requiredPermissions?: string[] | undefined;
@@ -1117,10 +1113,11 @@ declare const SysWebhook: Omit<{
1117
1113
  } | undefined;
1118
1114
  } | undefined;
1119
1115
  readonly searchable?: boolean | undefined;
1120
- readonly unique?: boolean | undefined;
1116
+ readonly unique?: boolean | "global" | undefined;
1121
1117
  readonly maxLength?: number | undefined;
1122
1118
  readonly minLength?: number | undefined;
1123
1119
  readonly scale?: number | undefined;
1120
+ readonly accept?: string[] | undefined;
1124
1121
  readonly reference?: string | undefined;
1125
1122
  readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
1126
1123
  readonly inlineEdit?: boolean | "grid" | "form" | undefined;
@@ -1192,15 +1189,8 @@ declare const SysWebhook: Omit<{
1192
1189
  generatedBy?: string | undefined;
1193
1190
  } | undefined;
1194
1191
  } | undefined;
1195
- readonly conditionalRequired?: {
1196
- dialect: "cel" | "cron" | "template";
1197
- source?: string | undefined;
1198
- ast?: unknown;
1199
- meta?: {
1200
- rationale?: string | undefined;
1201
- generatedBy?: string | undefined;
1202
- } | undefined;
1203
- } | undefined;
1192
+ readonly conditionalRequired?: undefined;
1193
+ readonly ackPlaintextMasking?: boolean | undefined;
1204
1194
  readonly sortable?: boolean | undefined;
1205
1195
  readonly inlineHelpText?: string | undefined;
1206
1196
  readonly autonumberFormat?: string | undefined;
@@ -1232,6 +1222,7 @@ declare const SysWebhook: Omit<{
1232
1222
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1233
1223
  readonly widget?: string | undefined;
1234
1224
  readonly multiple?: boolean | undefined;
1225
+ readonly maxSize?: number | undefined;
1235
1226
  readonly externalId?: boolean | undefined;
1236
1227
  readonly defaultValue?: unknown;
1237
1228
  readonly requiredPermissions?: string[] | undefined;
@@ -1250,10 +1241,11 @@ declare const SysWebhook: Omit<{
1250
1241
  } | undefined;
1251
1242
  } | undefined;
1252
1243
  readonly searchable?: boolean | undefined;
1253
- readonly unique?: boolean | undefined;
1244
+ readonly unique?: boolean | "global" | undefined;
1254
1245
  readonly maxLength?: number | undefined;
1255
1246
  readonly minLength?: number | undefined;
1256
1247
  readonly scale?: number | undefined;
1248
+ readonly accept?: string[] | undefined;
1257
1249
  readonly reference?: string | undefined;
1258
1250
  readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
1259
1251
  readonly inlineEdit?: boolean | "grid" | "form" | undefined;
@@ -1325,15 +1317,8 @@ declare const SysWebhook: Omit<{
1325
1317
  generatedBy?: string | undefined;
1326
1318
  } | undefined;
1327
1319
  } | undefined;
1328
- readonly conditionalRequired?: {
1329
- dialect: "cel" | "cron" | "template";
1330
- source?: string | undefined;
1331
- ast?: unknown;
1332
- meta?: {
1333
- rationale?: string | undefined;
1334
- generatedBy?: string | undefined;
1335
- } | undefined;
1336
- } | undefined;
1320
+ readonly conditionalRequired?: undefined;
1321
+ readonly ackPlaintextMasking?: boolean | undefined;
1337
1322
  readonly sortable?: boolean | undefined;
1338
1323
  readonly inlineHelpText?: string | undefined;
1339
1324
  readonly autonumberFormat?: string | undefined;
@@ -1365,6 +1350,7 @@ declare const SysWebhook: Omit<{
1365
1350
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1366
1351
  readonly widget?: string | undefined;
1367
1352
  readonly multiple?: boolean | undefined;
1353
+ readonly maxSize?: number | undefined;
1368
1354
  readonly externalId?: boolean | undefined;
1369
1355
  readonly defaultValue?: unknown;
1370
1356
  readonly requiredPermissions?: string[] | undefined;
@@ -1383,10 +1369,11 @@ declare const SysWebhook: Omit<{
1383
1369
  } | undefined;
1384
1370
  } | undefined;
1385
1371
  readonly searchable?: boolean | undefined;
1386
- readonly unique?: boolean | undefined;
1372
+ readonly unique?: boolean | "global" | undefined;
1387
1373
  readonly maxLength?: number | undefined;
1388
1374
  readonly minLength?: number | undefined;
1389
1375
  readonly scale?: number | undefined;
1376
+ readonly accept?: string[] | undefined;
1390
1377
  readonly reference?: string | undefined;
1391
1378
  readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
1392
1379
  readonly inlineEdit?: boolean | "grid" | "form" | undefined;
@@ -1458,15 +1445,8 @@ declare const SysWebhook: Omit<{
1458
1445
  generatedBy?: string | undefined;
1459
1446
  } | undefined;
1460
1447
  } | undefined;
1461
- readonly conditionalRequired?: {
1462
- dialect: "cel" | "cron" | "template";
1463
- source?: string | undefined;
1464
- ast?: unknown;
1465
- meta?: {
1466
- rationale?: string | undefined;
1467
- generatedBy?: string | undefined;
1468
- } | undefined;
1469
- } | undefined;
1448
+ readonly conditionalRequired?: undefined;
1449
+ readonly ackPlaintextMasking?: boolean | undefined;
1470
1450
  readonly sortable?: boolean | undefined;
1471
1451
  readonly inlineHelpText?: string | undefined;
1472
1452
  readonly autonumberFormat?: string | undefined;
@@ -1498,6 +1478,7 @@ declare const SysWebhook: Omit<{
1498
1478
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1499
1479
  readonly widget?: string | undefined;
1500
1480
  readonly multiple?: boolean | undefined;
1481
+ readonly maxSize?: number | undefined;
1501
1482
  readonly externalId?: boolean | undefined;
1502
1483
  readonly defaultValue?: unknown;
1503
1484
  readonly requiredPermissions?: string[] | undefined;
@@ -1516,10 +1497,11 @@ declare const SysWebhook: Omit<{
1516
1497
  } | undefined;
1517
1498
  } | undefined;
1518
1499
  readonly searchable?: boolean | undefined;
1519
- readonly unique?: boolean | undefined;
1500
+ readonly unique?: boolean | "global" | undefined;
1520
1501
  readonly maxLength?: number | undefined;
1521
1502
  readonly minLength?: number | undefined;
1522
1503
  readonly scale?: number | undefined;
1504
+ readonly accept?: string[] | undefined;
1523
1505
  readonly reference?: string | undefined;
1524
1506
  readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
1525
1507
  readonly inlineEdit?: boolean | "grid" | "form" | undefined;
@@ -1591,15 +1573,8 @@ declare const SysWebhook: Omit<{
1591
1573
  generatedBy?: string | undefined;
1592
1574
  } | undefined;
1593
1575
  } | undefined;
1594
- readonly conditionalRequired?: {
1595
- dialect: "cel" | "cron" | "template";
1596
- source?: string | undefined;
1597
- ast?: unknown;
1598
- meta?: {
1599
- rationale?: string | undefined;
1600
- generatedBy?: string | undefined;
1601
- } | undefined;
1602
- } | undefined;
1576
+ readonly conditionalRequired?: undefined;
1577
+ readonly ackPlaintextMasking?: boolean | undefined;
1603
1578
  readonly sortable?: boolean | undefined;
1604
1579
  readonly inlineHelpText?: string | undefined;
1605
1580
  readonly autonumberFormat?: string | undefined;
@@ -1631,6 +1606,7 @@ declare const SysWebhook: Omit<{
1631
1606
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1632
1607
  readonly widget?: string | undefined;
1633
1608
  readonly multiple?: boolean | undefined;
1609
+ readonly maxSize?: number | undefined;
1634
1610
  readonly externalId?: boolean | undefined;
1635
1611
  readonly defaultValue?: unknown;
1636
1612
  readonly requiredPermissions?: string[] | undefined;
@@ -1649,10 +1625,11 @@ declare const SysWebhook: Omit<{
1649
1625
  } | undefined;
1650
1626
  } | undefined;
1651
1627
  readonly searchable?: boolean | undefined;
1652
- readonly unique?: boolean | undefined;
1628
+ readonly unique?: boolean | "global" | undefined;
1653
1629
  readonly maxLength?: number | undefined;
1654
1630
  readonly minLength?: number | undefined;
1655
1631
  readonly scale?: number | undefined;
1632
+ readonly accept?: string[] | undefined;
1656
1633
  readonly reference?: string | undefined;
1657
1634
  readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
1658
1635
  readonly inlineEdit?: boolean | "grid" | "form" | undefined;
@@ -1724,15 +1701,8 @@ declare const SysWebhook: Omit<{
1724
1701
  generatedBy?: string | undefined;
1725
1702
  } | undefined;
1726
1703
  } | undefined;
1727
- readonly conditionalRequired?: {
1728
- dialect: "cel" | "cron" | "template";
1729
- source?: string | undefined;
1730
- ast?: unknown;
1731
- meta?: {
1732
- rationale?: string | undefined;
1733
- generatedBy?: string | undefined;
1734
- } | undefined;
1735
- } | undefined;
1704
+ readonly conditionalRequired?: undefined;
1705
+ readonly ackPlaintextMasking?: boolean | undefined;
1736
1706
  readonly sortable?: boolean | undefined;
1737
1707
  readonly inlineHelpText?: string | undefined;
1738
1708
  readonly autonumberFormat?: string | undefined;
@@ -1764,6 +1734,7 @@ declare const SysWebhook: Omit<{
1764
1734
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1765
1735
  readonly widget?: string | undefined;
1766
1736
  readonly multiple?: boolean | undefined;
1737
+ readonly maxSize?: number | undefined;
1767
1738
  readonly externalId?: boolean | undefined;
1768
1739
  readonly defaultValue?: unknown;
1769
1740
  readonly requiredPermissions?: string[] | undefined;
@@ -1782,10 +1753,11 @@ declare const SysWebhook: Omit<{
1782
1753
  } | undefined;
1783
1754
  } | undefined;
1784
1755
  readonly searchable?: boolean | undefined;
1785
- readonly unique?: boolean | undefined;
1756
+ readonly unique?: boolean | "global" | undefined;
1786
1757
  readonly maxLength?: number | undefined;
1787
1758
  readonly minLength?: number | undefined;
1788
1759
  readonly scale?: number | undefined;
1760
+ readonly accept?: string[] | undefined;
1789
1761
  readonly reference?: string | undefined;
1790
1762
  readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
1791
1763
  readonly inlineEdit?: boolean | "grid" | "form" | undefined;
@@ -1857,15 +1829,8 @@ declare const SysWebhook: Omit<{
1857
1829
  generatedBy?: string | undefined;
1858
1830
  } | undefined;
1859
1831
  } | undefined;
1860
- readonly conditionalRequired?: {
1861
- dialect: "cel" | "cron" | "template";
1862
- source?: string | undefined;
1863
- ast?: unknown;
1864
- meta?: {
1865
- rationale?: string | undefined;
1866
- generatedBy?: string | undefined;
1867
- } | undefined;
1868
- } | undefined;
1832
+ readonly conditionalRequired?: undefined;
1833
+ readonly ackPlaintextMasking?: boolean | undefined;
1869
1834
  readonly sortable?: boolean | undefined;
1870
1835
  readonly inlineHelpText?: string | undefined;
1871
1836
  readonly autonumberFormat?: string | undefined;
@@ -1897,6 +1862,7 @@ declare const SysWebhook: Omit<{
1897
1862
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1898
1863
  readonly widget?: string | undefined;
1899
1864
  readonly multiple?: boolean | undefined;
1865
+ readonly maxSize?: number | undefined;
1900
1866
  readonly externalId?: boolean | undefined;
1901
1867
  readonly defaultValue?: unknown;
1902
1868
  readonly requiredPermissions?: string[] | undefined;
@@ -1915,10 +1881,11 @@ declare const SysWebhook: Omit<{
1915
1881
  } | undefined;
1916
1882
  } | undefined;
1917
1883
  readonly searchable?: boolean | undefined;
1918
- readonly unique?: boolean | undefined;
1884
+ readonly unique?: boolean | "global" | undefined;
1919
1885
  readonly maxLength?: number | undefined;
1920
1886
  readonly minLength?: number | undefined;
1921
1887
  readonly scale?: number | undefined;
1888
+ readonly accept?: string[] | undefined;
1922
1889
  readonly reference?: string | undefined;
1923
1890
  readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
1924
1891
  readonly inlineEdit?: boolean | "grid" | "form" | undefined;
@@ -1990,15 +1957,8 @@ declare const SysWebhook: Omit<{
1990
1957
  generatedBy?: string | undefined;
1991
1958
  } | undefined;
1992
1959
  } | undefined;
1993
- readonly conditionalRequired?: {
1994
- dialect: "cel" | "cron" | "template";
1995
- source?: string | undefined;
1996
- ast?: unknown;
1997
- meta?: {
1998
- rationale?: string | undefined;
1999
- generatedBy?: string | undefined;
2000
- } | undefined;
2001
- } | undefined;
1960
+ readonly conditionalRequired?: undefined;
1961
+ readonly ackPlaintextMasking?: boolean | undefined;
2002
1962
  readonly sortable?: boolean | undefined;
2003
1963
  readonly inlineHelpText?: string | undefined;
2004
1964
  readonly autonumberFormat?: string | undefined;
@@ -2030,6 +1990,7 @@ declare const SysWebhook: Omit<{
2030
1990
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2031
1991
  readonly widget?: string | undefined;
2032
1992
  readonly multiple?: boolean | undefined;
1993
+ readonly maxSize?: number | undefined;
2033
1994
  readonly externalId?: boolean | undefined;
2034
1995
  readonly defaultValue?: unknown;
2035
1996
  readonly requiredPermissions?: string[] | undefined;
@@ -2048,10 +2009,11 @@ declare const SysWebhook: Omit<{
2048
2009
  } | undefined;
2049
2010
  } | undefined;
2050
2011
  readonly searchable?: boolean | undefined;
2051
- readonly unique?: boolean | undefined;
2012
+ readonly unique?: boolean | "global" | undefined;
2052
2013
  readonly maxLength?: number | undefined;
2053
2014
  readonly minLength?: number | undefined;
2054
2015
  readonly scale?: number | undefined;
2016
+ readonly accept?: string[] | undefined;
2055
2017
  readonly reference?: string | undefined;
2056
2018
  readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
2057
2019
  readonly inlineEdit?: boolean | "grid" | "form" | undefined;
@@ -2123,15 +2085,8 @@ declare const SysWebhook: Omit<{
2123
2085
  generatedBy?: string | undefined;
2124
2086
  } | undefined;
2125
2087
  } | undefined;
2126
- readonly conditionalRequired?: {
2127
- dialect: "cel" | "cron" | "template";
2128
- source?: string | undefined;
2129
- ast?: unknown;
2130
- meta?: {
2131
- rationale?: string | undefined;
2132
- generatedBy?: string | undefined;
2133
- } | undefined;
2134
- } | undefined;
2088
+ readonly conditionalRequired?: undefined;
2089
+ readonly ackPlaintextMasking?: boolean | undefined;
2135
2090
  readonly sortable?: boolean | undefined;
2136
2091
  readonly inlineHelpText?: string | undefined;
2137
2092
  readonly autonumberFormat?: string | undefined;
@@ -2163,6 +2118,7 @@ declare const SysWebhook: Omit<{
2163
2118
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2164
2119
  readonly widget?: string | undefined;
2165
2120
  readonly multiple?: boolean | undefined;
2121
+ readonly maxSize?: number | undefined;
2166
2122
  readonly externalId?: boolean | undefined;
2167
2123
  readonly defaultValue?: unknown;
2168
2124
  readonly requiredPermissions?: string[] | undefined;
@@ -2181,10 +2137,11 @@ declare const SysWebhook: Omit<{
2181
2137
  } | undefined;
2182
2138
  } | undefined;
2183
2139
  readonly searchable?: boolean | undefined;
2184
- readonly unique?: boolean | undefined;
2140
+ readonly unique?: boolean | "global" | undefined;
2185
2141
  readonly maxLength?: number | undefined;
2186
2142
  readonly minLength?: number | undefined;
2187
2143
  readonly scale?: number | undefined;
2144
+ readonly accept?: string[] | undefined;
2188
2145
  readonly reference?: string | undefined;
2189
2146
  readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
2190
2147
  readonly inlineEdit?: boolean | "grid" | "form" | undefined;
@@ -2256,7 +2213,126 @@ declare const SysWebhook: Omit<{
2256
2213
  generatedBy?: string | undefined;
2257
2214
  } | undefined;
2258
2215
  } | undefined;
2259
- readonly conditionalRequired?: {
2216
+ readonly conditionalRequired?: undefined;
2217
+ readonly ackPlaintextMasking?: boolean | undefined;
2218
+ readonly sortable?: boolean | undefined;
2219
+ readonly inlineHelpText?: string | undefined;
2220
+ readonly autonumberFormat?: string | undefined;
2221
+ readonly type: "textarea";
2222
+ };
2223
+ readonly managed_by: {
2224
+ readonly readonly?: boolean | undefined;
2225
+ readonly format?: string | undefined;
2226
+ options: {
2227
+ label: string;
2228
+ value: string;
2229
+ color?: string | undefined;
2230
+ default?: boolean | undefined;
2231
+ visibleWhen?: {
2232
+ dialect: "cel" | "cron" | "template";
2233
+ source?: string | undefined;
2234
+ ast?: unknown;
2235
+ meta?: {
2236
+ rationale?: string | undefined;
2237
+ generatedBy?: string | undefined;
2238
+ } | undefined;
2239
+ } | undefined;
2240
+ }[];
2241
+ readonly description?: string | undefined;
2242
+ readonly label?: string | undefined;
2243
+ readonly name?: string | undefined;
2244
+ readonly precision?: number | undefined;
2245
+ readonly required?: boolean | undefined;
2246
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2247
+ readonly widget?: string | undefined;
2248
+ readonly multiple?: boolean | undefined;
2249
+ readonly maxSize?: number | undefined;
2250
+ readonly externalId?: boolean | undefined;
2251
+ readonly defaultValue?: unknown;
2252
+ readonly requiredPermissions?: string[] | undefined;
2253
+ readonly group?: string | undefined;
2254
+ readonly hidden?: boolean | undefined;
2255
+ readonly system?: boolean | undefined;
2256
+ readonly min?: number | undefined;
2257
+ readonly max?: number | undefined;
2258
+ readonly visibleWhen?: {
2259
+ dialect: "cel" | "cron" | "template";
2260
+ source?: string | undefined;
2261
+ ast?: unknown;
2262
+ meta?: {
2263
+ rationale?: string | undefined;
2264
+ generatedBy?: string | undefined;
2265
+ } | undefined;
2266
+ } | undefined;
2267
+ readonly searchable?: boolean | undefined;
2268
+ readonly unique?: boolean | "global" | undefined;
2269
+ readonly maxLength?: number | undefined;
2270
+ readonly minLength?: number | undefined;
2271
+ readonly scale?: number | undefined;
2272
+ readonly accept?: string[] | undefined;
2273
+ readonly reference?: string | undefined;
2274
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
2275
+ readonly inlineEdit?: boolean | "grid" | "form" | undefined;
2276
+ readonly inlineTitle?: string | undefined;
2277
+ readonly inlineColumns?: any[] | undefined;
2278
+ readonly inlineAmountField?: string | undefined;
2279
+ readonly relatedList?: boolean | "primary" | undefined;
2280
+ readonly relatedListTitle?: string | undefined;
2281
+ readonly relatedListColumns?: any[] | undefined;
2282
+ readonly displayField?: string | undefined;
2283
+ readonly descriptionField?: string | undefined;
2284
+ readonly lookupColumns?: (string | {
2285
+ field: string;
2286
+ label?: string | undefined;
2287
+ width?: string | undefined;
2288
+ type?: string | undefined;
2289
+ })[] | undefined;
2290
+ readonly lookupPageSize?: number | undefined;
2291
+ readonly lookupFilters?: {
2292
+ field: string;
2293
+ operator: "in" | "eq" | "ne" | "contains" | "gt" | "lt" | "gte" | "lte" | "notIn";
2294
+ value: any;
2295
+ }[] | undefined;
2296
+ readonly dependsOn?: (string | {
2297
+ field: string;
2298
+ param?: string | undefined;
2299
+ })[] | undefined;
2300
+ readonly allowCreate?: boolean | undefined;
2301
+ readonly expression?: {
2302
+ dialect: "cel" | "cron" | "template";
2303
+ source?: string | undefined;
2304
+ ast?: unknown;
2305
+ meta?: {
2306
+ rationale?: string | undefined;
2307
+ generatedBy?: string | undefined;
2308
+ } | undefined;
2309
+ } | undefined;
2310
+ readonly summaryOperations?: {
2311
+ object: string;
2312
+ field: string;
2313
+ function: "min" | "max" | "count" | "sum" | "avg";
2314
+ relationshipField?: string | undefined;
2315
+ filter?: _objectstack_spec_data.FilterCondition | undefined;
2316
+ } | undefined;
2317
+ readonly language?: string | undefined;
2318
+ readonly step?: number | undefined;
2319
+ readonly currencyConfig?: {
2320
+ precision: number;
2321
+ currencyMode: "fixed" | "dynamic";
2322
+ defaultCurrency: string;
2323
+ } | undefined;
2324
+ readonly dimensions?: number | undefined;
2325
+ readonly trackHistory?: boolean | undefined;
2326
+ readonly readonlyWhen?: {
2327
+ dialect: "cel" | "cron" | "template";
2328
+ source?: string | undefined;
2329
+ ast?: unknown;
2330
+ meta?: {
2331
+ rationale?: string | undefined;
2332
+ generatedBy?: string | undefined;
2333
+ } | undefined;
2334
+ } | undefined;
2335
+ readonly requiredWhen?: {
2260
2336
  dialect: "cel" | "cron" | "template";
2261
2337
  source?: string | undefined;
2262
2338
  ast?: unknown;
@@ -2265,12 +2341,14 @@ declare const SysWebhook: Omit<{
2265
2341
  generatedBy?: string | undefined;
2266
2342
  } | undefined;
2267
2343
  } | undefined;
2344
+ readonly conditionalRequired?: undefined;
2345
+ readonly ackPlaintextMasking?: boolean | undefined;
2268
2346
  readonly sortable?: boolean | undefined;
2269
2347
  readonly inlineHelpText?: string | undefined;
2270
2348
  readonly autonumberFormat?: string | undefined;
2271
- readonly type: "textarea";
2349
+ readonly type: "select";
2272
2350
  };
2273
- readonly created_at: {
2351
+ readonly customized: {
2274
2352
  readonly readonly?: boolean | undefined;
2275
2353
  readonly format?: string | undefined;
2276
2354
  readonly options?: {
@@ -2296,6 +2374,7 @@ declare const SysWebhook: Omit<{
2296
2374
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2297
2375
  readonly widget?: string | undefined;
2298
2376
  readonly multiple?: boolean | undefined;
2377
+ readonly maxSize?: number | undefined;
2299
2378
  readonly externalId?: boolean | undefined;
2300
2379
  readonly defaultValue?: unknown;
2301
2380
  readonly requiredPermissions?: string[] | undefined;
@@ -2314,10 +2393,11 @@ declare const SysWebhook: Omit<{
2314
2393
  } | undefined;
2315
2394
  } | undefined;
2316
2395
  readonly searchable?: boolean | undefined;
2317
- readonly unique?: boolean | undefined;
2396
+ readonly unique?: boolean | "global" | undefined;
2318
2397
  readonly maxLength?: number | undefined;
2319
2398
  readonly minLength?: number | undefined;
2320
2399
  readonly scale?: number | undefined;
2400
+ readonly accept?: string[] | undefined;
2321
2401
  readonly reference?: string | undefined;
2322
2402
  readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
2323
2403
  readonly inlineEdit?: boolean | "grid" | "form" | undefined;
@@ -2389,7 +2469,92 @@ declare const SysWebhook: Omit<{
2389
2469
  generatedBy?: string | undefined;
2390
2470
  } | undefined;
2391
2471
  } | undefined;
2392
- readonly conditionalRequired?: {
2472
+ readonly conditionalRequired?: undefined;
2473
+ readonly ackPlaintextMasking?: boolean | undefined;
2474
+ readonly sortable?: boolean | undefined;
2475
+ readonly inlineHelpText?: string | undefined;
2476
+ readonly autonumberFormat?: string | undefined;
2477
+ readonly type: "boolean";
2478
+ };
2479
+ readonly created_at: {
2480
+ readonly readonly?: boolean | undefined;
2481
+ readonly format?: string | undefined;
2482
+ readonly options?: {
2483
+ label: string;
2484
+ value: string;
2485
+ color?: string | undefined;
2486
+ default?: boolean | undefined;
2487
+ visibleWhen?: {
2488
+ dialect: "cel" | "cron" | "template";
2489
+ source?: string | undefined;
2490
+ ast?: unknown;
2491
+ meta?: {
2492
+ rationale?: string | undefined;
2493
+ generatedBy?: string | undefined;
2494
+ } | undefined;
2495
+ } | undefined;
2496
+ }[] | undefined;
2497
+ readonly description?: string | undefined;
2498
+ readonly label?: string | undefined;
2499
+ readonly name?: string | undefined;
2500
+ readonly precision?: number | undefined;
2501
+ readonly required?: boolean | undefined;
2502
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2503
+ readonly widget?: string | undefined;
2504
+ readonly multiple?: boolean | undefined;
2505
+ readonly maxSize?: number | undefined;
2506
+ readonly externalId?: boolean | undefined;
2507
+ readonly defaultValue?: unknown;
2508
+ readonly requiredPermissions?: string[] | undefined;
2509
+ readonly group?: string | undefined;
2510
+ readonly hidden?: boolean | undefined;
2511
+ readonly system?: boolean | undefined;
2512
+ readonly min?: number | undefined;
2513
+ readonly max?: number | undefined;
2514
+ readonly visibleWhen?: {
2515
+ dialect: "cel" | "cron" | "template";
2516
+ source?: string | undefined;
2517
+ ast?: unknown;
2518
+ meta?: {
2519
+ rationale?: string | undefined;
2520
+ generatedBy?: string | undefined;
2521
+ } | undefined;
2522
+ } | undefined;
2523
+ readonly searchable?: boolean | undefined;
2524
+ readonly unique?: boolean | "global" | undefined;
2525
+ readonly maxLength?: number | undefined;
2526
+ readonly minLength?: number | undefined;
2527
+ readonly scale?: number | undefined;
2528
+ readonly accept?: string[] | undefined;
2529
+ readonly reference?: string | undefined;
2530
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
2531
+ readonly inlineEdit?: boolean | "grid" | "form" | undefined;
2532
+ readonly inlineTitle?: string | undefined;
2533
+ readonly inlineColumns?: any[] | undefined;
2534
+ readonly inlineAmountField?: string | undefined;
2535
+ readonly relatedList?: boolean | "primary" | undefined;
2536
+ readonly relatedListTitle?: string | undefined;
2537
+ readonly relatedListColumns?: any[] | undefined;
2538
+ readonly displayField?: string | undefined;
2539
+ readonly descriptionField?: string | undefined;
2540
+ readonly lookupColumns?: (string | {
2541
+ field: string;
2542
+ label?: string | undefined;
2543
+ width?: string | undefined;
2544
+ type?: string | undefined;
2545
+ })[] | undefined;
2546
+ readonly lookupPageSize?: number | undefined;
2547
+ readonly lookupFilters?: {
2548
+ field: string;
2549
+ operator: "in" | "eq" | "ne" | "contains" | "gt" | "lt" | "gte" | "lte" | "notIn";
2550
+ value: any;
2551
+ }[] | undefined;
2552
+ readonly dependsOn?: (string | {
2553
+ field: string;
2554
+ param?: string | undefined;
2555
+ })[] | undefined;
2556
+ readonly allowCreate?: boolean | undefined;
2557
+ readonly expression?: {
2393
2558
  dialect: "cel" | "cron" | "template";
2394
2559
  source?: string | undefined;
2395
2560
  ast?: unknown;
@@ -2398,6 +2563,42 @@ declare const SysWebhook: Omit<{
2398
2563
  generatedBy?: string | undefined;
2399
2564
  } | undefined;
2400
2565
  } | undefined;
2566
+ readonly summaryOperations?: {
2567
+ object: string;
2568
+ field: string;
2569
+ function: "min" | "max" | "count" | "sum" | "avg";
2570
+ relationshipField?: string | undefined;
2571
+ filter?: _objectstack_spec_data.FilterCondition | undefined;
2572
+ } | undefined;
2573
+ readonly language?: string | undefined;
2574
+ readonly step?: number | undefined;
2575
+ readonly currencyConfig?: {
2576
+ precision: number;
2577
+ currencyMode: "fixed" | "dynamic";
2578
+ defaultCurrency: string;
2579
+ } | undefined;
2580
+ readonly dimensions?: number | undefined;
2581
+ readonly trackHistory?: boolean | undefined;
2582
+ readonly readonlyWhen?: {
2583
+ dialect: "cel" | "cron" | "template";
2584
+ source?: string | undefined;
2585
+ ast?: unknown;
2586
+ meta?: {
2587
+ rationale?: string | undefined;
2588
+ generatedBy?: string | undefined;
2589
+ } | undefined;
2590
+ } | undefined;
2591
+ readonly requiredWhen?: {
2592
+ dialect: "cel" | "cron" | "template";
2593
+ source?: string | undefined;
2594
+ ast?: unknown;
2595
+ meta?: {
2596
+ rationale?: string | undefined;
2597
+ generatedBy?: string | undefined;
2598
+ } | undefined;
2599
+ } | undefined;
2600
+ readonly conditionalRequired?: undefined;
2601
+ readonly ackPlaintextMasking?: boolean | undefined;
2401
2602
  readonly sortable?: boolean | undefined;
2402
2603
  readonly inlineHelpText?: string | undefined;
2403
2604
  readonly autonumberFormat?: string | undefined;
@@ -2429,6 +2630,7 @@ declare const SysWebhook: Omit<{
2429
2630
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2430
2631
  readonly widget?: string | undefined;
2431
2632
  readonly multiple?: boolean | undefined;
2633
+ readonly maxSize?: number | undefined;
2432
2634
  readonly externalId?: boolean | undefined;
2433
2635
  readonly defaultValue?: unknown;
2434
2636
  readonly requiredPermissions?: string[] | undefined;
@@ -2447,10 +2649,11 @@ declare const SysWebhook: Omit<{
2447
2649
  } | undefined;
2448
2650
  } | undefined;
2449
2651
  readonly searchable?: boolean | undefined;
2450
- readonly unique?: boolean | undefined;
2652
+ readonly unique?: boolean | "global" | undefined;
2451
2653
  readonly maxLength?: number | undefined;
2452
2654
  readonly minLength?: number | undefined;
2453
2655
  readonly scale?: number | undefined;
2656
+ readonly accept?: string[] | undefined;
2454
2657
  readonly reference?: string | undefined;
2455
2658
  readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
2456
2659
  readonly inlineEdit?: boolean | "grid" | "form" | undefined;
@@ -2522,15 +2725,8 @@ declare const SysWebhook: Omit<{
2522
2725
  generatedBy?: string | undefined;
2523
2726
  } | undefined;
2524
2727
  } | undefined;
2525
- readonly conditionalRequired?: {
2526
- dialect: "cel" | "cron" | "template";
2527
- source?: string | undefined;
2528
- ast?: unknown;
2529
- meta?: {
2530
- rationale?: string | undefined;
2531
- generatedBy?: string | undefined;
2532
- } | undefined;
2533
- } | undefined;
2728
+ readonly conditionalRequired?: undefined;
2729
+ readonly ackPlaintextMasking?: boolean | undefined;
2534
2730
  readonly sortable?: boolean | undefined;
2535
2731
  readonly inlineHelpText?: string | undefined;
2536
2732
  readonly autonumberFormat?: string | undefined;