@ai-matrx/records 0.55.1 → 0.57.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.
@@ -200,6 +200,132 @@ declare const RULE_NODE_KINDS: readonly [{
200
200
  }, {
201
201
  readonly node: "field";
202
202
  readonly evaluated_by: "W1-RULE";
203
+ }, {
204
+ readonly node: "fx.abs";
205
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
206
+ }, {
207
+ readonly node: "fx.add";
208
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
209
+ }, {
210
+ readonly node: "fx.and";
211
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
212
+ }, {
213
+ readonly node: "fx.autonumber";
214
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
215
+ }, {
216
+ readonly node: "fx.average";
217
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
218
+ }, {
219
+ readonly node: "fx.blank";
220
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
221
+ }, {
222
+ readonly node: "fx.concatenate";
223
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
224
+ }, {
225
+ readonly node: "fx.contains";
226
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
227
+ }, {
228
+ readonly node: "fx.created_time";
229
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
230
+ }, {
231
+ readonly node: "fx.dateadd";
232
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
233
+ }, {
234
+ readonly node: "fx.datediff";
235
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
236
+ }, {
237
+ readonly node: "fx.day";
238
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
239
+ }, {
240
+ readonly node: "fx.div";
241
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
242
+ }, {
243
+ readonly node: "fx.eq";
244
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
245
+ }, {
246
+ readonly node: "fx.gt";
247
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
248
+ }, {
249
+ readonly node: "fx.gte";
250
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
251
+ }, {
252
+ readonly node: "fx.if";
253
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
254
+ }, {
255
+ readonly node: "fx.isblank";
256
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
257
+ }, {
258
+ readonly node: "fx.left";
259
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
260
+ }, {
261
+ readonly node: "fx.len";
262
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
263
+ }, {
264
+ readonly node: "fx.lower";
265
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
266
+ }, {
267
+ readonly node: "fx.lt";
268
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
269
+ }, {
270
+ readonly node: "fx.lte";
271
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
272
+ }, {
273
+ readonly node: "fx.max";
274
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
275
+ }, {
276
+ readonly node: "fx.min";
277
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
278
+ }, {
279
+ readonly node: "fx.mod";
280
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
281
+ }, {
282
+ readonly node: "fx.modified_time";
283
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
284
+ }, {
285
+ readonly node: "fx.month";
286
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
287
+ }, {
288
+ readonly node: "fx.mul";
289
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
290
+ }, {
291
+ readonly node: "fx.ne";
292
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
293
+ }, {
294
+ readonly node: "fx.neg";
295
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
296
+ }, {
297
+ readonly node: "fx.not";
298
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
299
+ }, {
300
+ readonly node: "fx.now";
301
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
302
+ }, {
303
+ readonly node: "fx.or";
304
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
305
+ }, {
306
+ readonly node: "fx.right";
307
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
308
+ }, {
309
+ readonly node: "fx.round";
310
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
311
+ }, {
312
+ readonly node: "fx.sub";
313
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
314
+ }, {
315
+ readonly node: "fx.sum";
316
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
317
+ }, {
318
+ readonly node: "fx.today";
319
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
320
+ }, {
321
+ readonly node: "fx.trim";
322
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
323
+ }, {
324
+ readonly node: "fx.upper";
325
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
326
+ }, {
327
+ readonly node: "fx.year";
328
+ readonly evaluated_by: "GRID-PRIMITIVES G3 (custom.formula_eval)";
203
329
  }, {
204
330
  readonly node: "gt";
205
331
  readonly evaluated_by: "W1-RULE";
@@ -291,6 +417,16 @@ declare const STORE_DOORS: readonly [{
291
417
  readonly args: "";
292
418
  readonly returns: "text[]";
293
419
  readonly security: "invoker";
420
+ }, {
421
+ readonly name: "action_declare";
422
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_actions jsonb";
423
+ readonly returns: "jsonb";
424
+ readonly security: "definer";
425
+ }, {
426
+ readonly name: "action_run";
427
+ readonly args: "p_organization_id uuid, p_action_id uuid, p_record_ids uuid[]";
428
+ readonly returns: "jsonb";
429
+ readonly security: "definer";
294
430
  }, {
295
431
  readonly name: "actor_vocabulary";
296
432
  readonly args: "";
@@ -546,6 +682,11 @@ declare const STORE_DOORS: readonly [{
546
682
  readonly args: "p_organization_id uuid, p_door text";
547
683
  readonly returns: "void";
548
684
  readonly security: "invoker";
685
+ }, {
686
+ readonly name: "autonumber_backfill";
687
+ readonly args: "p_organization_id uuid, p_field_id uuid";
688
+ readonly returns: "jsonb";
689
+ readonly security: "definer";
549
690
  }, {
550
691
  readonly name: "booking_cancel";
551
692
  readonly args: "p_booking_ref text, p_origin text DEFAULT NULL::text";
@@ -906,6 +1047,16 @@ declare const STORE_DOORS: readonly [{
906
1047
  readonly args: "p_organization_id uuid, p_table_id uuid DEFAULT NULL::uuid";
907
1048
  readonly returns: "TABLE(dashboard_id uuid, table_id uuid, name text, blocks jsonb, presentation jsonb, block_count integer, version integer, created_at timestamp with time zone, updated_at timestamp with time zone)";
908
1049
  readonly security: "definer";
1050
+ }, {
1051
+ readonly name: "decoration_colors";
1052
+ readonly args: "";
1053
+ readonly returns: "text[]";
1054
+ readonly security: "invoker";
1055
+ }, {
1056
+ readonly name: "decoration_rule_ops";
1057
+ readonly args: "";
1058
+ readonly returns: "TABLE(op text, takes_value boolean, label text)";
1059
+ readonly security: "invoker";
909
1060
  }, {
910
1061
  readonly name: "delete_cascade_closure";
911
1062
  readonly args: "p_organization_id uuid, p_record_id uuid";
@@ -951,6 +1102,11 @@ declare const STORE_DOORS: readonly [{
951
1102
  readonly args: "v_rec custom.record";
952
1103
  readonly returns: "jsonb";
953
1104
  readonly security: "invoker";
1105
+ }, {
1106
+ readonly name: "display_format_ids";
1107
+ readonly args: "";
1108
+ readonly returns: "text[]";
1109
+ readonly security: "invoker";
954
1110
  }, {
955
1111
  readonly name: "doc_content_hash";
956
1112
  readonly args: "p_body text";
@@ -1341,6 +1497,21 @@ declare const STORE_DOORS: readonly [{
1341
1497
  readonly args: "p_organization_id uuid, p_table_id uuid DEFAULT NULL::uuid";
1342
1498
  readonly returns: "TABLE(form_id uuid, table_id uuid, title text, slug text, published_at timestamp with time zone, closed_at timestamp with time zone, submission_cap integer, responses bigint, in_table bigint, held bigint, rejected bigint, state text, quarantine_rule_id uuid, notify_rule_id uuid, presentation jsonb)";
1343
1499
  readonly security: "definer";
1500
+ }, {
1501
+ readonly name: "formula_eval";
1502
+ readonly args: "p_organization_id uuid, p_expr jsonb, p_values jsonb, p_context jsonb DEFAULT '{}'::jsonb";
1503
+ readonly returns: "jsonb";
1504
+ readonly security: "invoker";
1505
+ }, {
1506
+ readonly name: "formula_node_kinds";
1507
+ readonly args: "";
1508
+ readonly returns: "TABLE(node text, min_args integer, max_args integer, result text, signature text, says text)";
1509
+ readonly security: "invoker";
1510
+ }, {
1511
+ readonly name: "formula_parse";
1512
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_text text";
1513
+ readonly returns: "jsonb";
1514
+ readonly security: "definer";
1344
1515
  }, {
1345
1516
  readonly name: "formula_value";
1346
1517
  readonly args: "p_organization_id uuid, p_record_id uuid, p_field_data jsonb, p_values jsonb DEFAULT NULL::jsonb";
@@ -1351,6 +1522,16 @@ declare const STORE_DOORS: readonly [{
1351
1522
  readonly args: "p_written_at timestamp with time zone, p_ceiling_seconds numeric";
1352
1523
  readonly returns: "jsonb";
1353
1524
  readonly security: "definer";
1525
+ }, {
1526
+ readonly name: "grid_layout";
1527
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_view_id uuid DEFAULT NULL::uuid";
1528
+ readonly returns: "jsonb";
1529
+ readonly security: "definer";
1530
+ }, {
1531
+ readonly name: "grid_layout_check";
1532
+ readonly args: "p_layout jsonb, p_scope text DEFAULT 'view'::text";
1533
+ readonly returns: "jsonb";
1534
+ readonly security: "invoker";
1354
1535
  }, {
1355
1536
  readonly name: "guard_refusals_are_complete";
1356
1537
  readonly args: "";
@@ -1426,6 +1607,11 @@ declare const STORE_DOORS: readonly [{
1426
1607
  readonly args: "";
1427
1608
  readonly returns: "TABLE(table_id uuid, home_record_id uuid, organization_id uuid, relation_id uuid)";
1428
1609
  readonly security: "invoker";
1610
+ }, {
1611
+ readonly name: "hub_changed_by";
1612
+ readonly args: "p_organization_id uuid, p_kind text, p_ids uuid[]";
1613
+ readonly returns: "TABLE(id uuid, at timestamp with time zone, who text)";
1614
+ readonly security: "definer";
1429
1615
  }, {
1430
1616
  readonly name: "inbound_addresses";
1431
1617
  readonly args: "p_organization_id uuid, p_table_id uuid DEFAULT NULL::uuid";
@@ -1766,6 +1952,11 @@ declare const STORE_DOORS: readonly [{
1766
1952
  readonly args: "p_organization_id uuid, p_table_id uuid DEFAULT NULL::uuid, p_compliance_reason text DEFAULT NULL::text, p_chunk integer DEFAULT 200, p_dry_run boolean DEFAULT true";
1767
1953
  readonly returns: "jsonb";
1768
1954
  readonly security: "definer";
1955
+ }, {
1956
+ readonly name: "migrate_purge_hard_request";
1957
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_compliance_reason text";
1958
+ readonly returns: "void";
1959
+ readonly security: "definer";
1769
1960
  }, {
1770
1961
  readonly name: "migrate_reclass";
1771
1962
  readonly args: "p_organization_id uuid, p_id uuid, p_to text DEFAULT 'field'::text, p_note text DEFAULT NULL::text";
@@ -1941,6 +2132,11 @@ declare const STORE_DOORS: readonly [{
1941
2132
  readonly args: "p_organization_id uuid, p_record_id uuid, p_to text";
1942
2133
  readonly returns: "jsonb";
1943
2134
  readonly security: "definer";
2135
+ }, {
2136
+ readonly name: "pipelines";
2137
+ readonly args: "p_organization_id uuid";
2138
+ readonly returns: "TABLE(table_id uuid, table_name text, stage_field text, stage_label text, stages integer, rules integer, broken text, updated_at timestamp with time zone, updated_by uuid)";
2139
+ readonly security: "definer";
1944
2140
  }, {
1945
2141
  readonly name: "portal_admits";
1946
2142
  readonly args: "p_organization_id uuid, p_user_id uuid DEFAULT NULL::uuid";
@@ -2426,6 +2622,21 @@ declare const STORE_DOORS: readonly [{
2426
2622
  readonly args: "p_organization_id uuid, p_field_ids uuid[], p_why text";
2427
2623
  readonly returns: "integer";
2428
2624
  readonly security: "definer";
2625
+ }, {
2626
+ readonly name: "relation_halves_disagreements";
2627
+ readonly args: "p_organization_id uuid DEFAULT NULL::uuid, p_record_id uuid DEFAULT NULL::uuid";
2628
+ readonly returns: "TABLE(organization_id uuid, record_id uuid, field_key text, field_id uuid, target_id uuid, direction text, remedy text, why text)";
2629
+ readonly security: "definer";
2630
+ }, {
2631
+ readonly name: "relation_halves_repair";
2632
+ readonly args: "p_organization_id uuid, p_record_id uuid";
2633
+ readonly returns: "jsonb";
2634
+ readonly security: "definer";
2635
+ }, {
2636
+ readonly name: "relation_kernel_record";
2637
+ readonly args: "p_organization_id uuid, p_kernel_table_id uuid, p_id uuid";
2638
+ readonly returns: "uuid";
2639
+ readonly security: "definer";
2429
2640
  }, {
2430
2641
  readonly name: "relation_own";
2431
2642
  readonly args: "p_organization_id uuid, p_owner_id uuid, p_target_id uuid";
@@ -2456,6 +2667,11 @@ declare const STORE_DOORS: readonly [{
2456
2667
  readonly args: "p_organization_id uuid, p_container_id uuid, p_item_id uuid";
2457
2668
  readonly returns: "integer";
2458
2669
  readonly security: "definer";
2670
+ }, {
2671
+ readonly name: "relation_value_target_ok";
2672
+ readonly args: "p_organization_id uuid, p_field_id uuid, p_field_data jsonb, p_target_id uuid";
2673
+ readonly returns: "boolean";
2674
+ readonly security: "invoker";
2459
2675
  }, {
2460
2676
  readonly name: "relation_words";
2461
2677
  readonly args: "p_organization_id uuid, p_field_id uuid, p_value text";
@@ -2496,6 +2712,11 @@ declare const STORE_DOORS: readonly [{
2496
2712
  readonly args: "p_organization_id uuid, p_record_id uuid, p_field_data jsonb";
2497
2713
  readonly returns: "jsonb";
2498
2714
  readonly security: "invoker";
2715
+ }, {
2716
+ readonly name: "row_actions";
2717
+ readonly args: "p_organization_id uuid, p_table_id uuid";
2718
+ readonly returns: "jsonb";
2719
+ readonly security: "definer";
2499
2720
  }, {
2500
2721
  readonly name: "rule_applies";
2501
2722
  readonly args: "p_organization_id uuid, p_rule_id uuid, p_record_id uuid";
@@ -2621,6 +2842,11 @@ declare const STORE_DOORS: readonly [{
2621
2842
  readonly args: "p_pretend text DEFAULT NULL::text";
2622
2843
  readonly returns: "TABLE(organization_id uuid, organization_name text, member_id uuid, record_id uuid, table_id uuid, ladder boolean, read_door boolean, rls_mirror boolean, why text)";
2623
2844
  readonly security: "invoker";
2845
+ }, {
2846
+ readonly name: "shares_outside";
2847
+ readonly args: "p_organization_id uuid";
2848
+ readonly returns: "TABLE(invitation_id uuid, table_id uuid, table_name text, email text, level text, level_label text, status text, joined boolean, expired boolean, invited_at timestamp with time zone, expires_at timestamp with time zone, say text)";
2849
+ readonly security: "definer";
2624
2850
  }, {
2625
2851
  readonly name: "sign_request_cancel";
2626
2852
  readonly args: "p_organization_id uuid, p_request_id uuid, p_reason text DEFAULT NULL::text";
@@ -2786,6 +3012,21 @@ declare const STORE_DOORS: readonly [{
2786
3012
  readonly args: "p_organization_id uuid, p_spec jsonb";
2787
3013
  readonly returns: "uuid";
2788
3014
  readonly security: "definer";
3015
+ }, {
3016
+ readonly name: "table_decorate";
3017
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_path text[], p_value jsonb DEFAULT NULL::jsonb";
3018
+ readonly returns: "jsonb";
3019
+ readonly security: "definer";
3020
+ }, {
3021
+ readonly name: "table_decorations";
3022
+ readonly args: "p_organization_id uuid, p_table_id uuid";
3023
+ readonly returns: "jsonb";
3024
+ readonly security: "definer";
3025
+ }, {
3026
+ readonly name: "table_from_example";
3027
+ readonly args: "p_organization_id uuid, p_home_id uuid, p_example jsonb";
3028
+ readonly returns: "jsonb";
3029
+ readonly security: "definer";
2789
3030
  }, {
2790
3031
  readonly name: "table_has_a_visible_record";
2791
3032
  readonly args: "p_user uuid, p_organization_id uuid, p_table_id uuid";
@@ -2871,6 +3112,21 @@ declare const STORE_DOORS: readonly [{
2871
3112
  readonly args: "p_organization_id uuid, p_table_id uuid";
2872
3113
  readonly returns: "jsonb";
2873
3114
  readonly security: "invoker";
3115
+ }, {
3116
+ readonly name: "table_webhook_archive";
3117
+ readonly args: "p_organization_id uuid, p_webhook_id uuid";
3118
+ readonly returns: "boolean";
3119
+ readonly security: "definer";
3120
+ }, {
3121
+ readonly name: "table_webhook_declare";
3122
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_target_url text, p_events text[] DEFAULT NULL::text[], p_description text DEFAULT NULL::text";
3123
+ readonly returns: "jsonb";
3124
+ readonly security: "definer";
3125
+ }, {
3126
+ readonly name: "table_webhooks";
3127
+ readonly args: "p_organization_id uuid, p_table_id uuid";
3128
+ readonly returns: "TABLE(webhook_id uuid, target_url text, description text, events text[], is_active boolean, last_attempt_at timestamp with time zone, last_success_at timestamp with time zone, consecutive_failures integer, owner_id uuid, created_at timestamp with time zone)";
3129
+ readonly security: "definer";
2874
3130
  }, {
2875
3131
  readonly name: "table_work_kind";
2876
3132
  readonly args: "p_organization_id uuid, p_table_id uuid";
@@ -2886,6 +3142,11 @@ declare const STORE_DOORS: readonly [{
2886
3142
  readonly args: "";
2887
3143
  readonly returns: "TABLE(function_name text, identity_args text, why text)";
2888
3144
  readonly security: "invoker";
3145
+ }, {
3146
+ readonly name: "tables_shared_with_me";
3147
+ readonly args: "";
3148
+ readonly returns: "TABLE(table_id uuid, organization_id uuid, organization text, table_name text, level text, level_label text, shared_at timestamp with time zone, opens boolean, say text)";
3149
+ readonly security: "definer";
2889
3150
  }, {
2890
3151
  readonly name: "trg_associations_bump_visibility";
2891
3152
  readonly args: "";
@@ -3182,6 +3443,10 @@ declare const STORE_KNOBS: readonly [{
3182
3443
  readonly key: "accessible_entity_ids_guard";
3183
3444
  readonly value: "true";
3184
3445
  readonly type: "boolean";
3446
+ }, {
3447
+ readonly key: "action_run_records_max";
3448
+ readonly value: "5000";
3449
+ readonly type: "integer";
3185
3450
  }, {
3186
3451
  readonly key: "agent_schema_changes";
3187
3452
  readonly value: "\"ask\"";
@@ -3192,7 +3457,7 @@ declare const STORE_KNOBS: readonly [{
3192
3457
  readonly type: "boolean";
3193
3458
  }, {
3194
3459
  readonly key: "code_paths_enabled";
3195
- readonly value: "false";
3460
+ readonly value: "true";
3196
3461
  readonly type: "boolean";
3197
3462
  }, {
3198
3463
  readonly key: "consumer_chat_seeding_enabled";
@@ -3238,6 +3503,14 @@ declare const STORE_KNOBS: readonly [{
3238
3503
  readonly key: "cross_organization_links";
3239
3504
  readonly value: "false";
3240
3505
  readonly type: "boolean";
3506
+ }, {
3507
+ readonly key: "decoration_rules_max";
3508
+ readonly value: "50";
3509
+ readonly type: "integer";
3510
+ }, {
3511
+ readonly key: "decorations_max_bytes";
3512
+ readonly value: "262144";
3513
+ readonly type: "integer";
3241
3514
  }, {
3242
3515
  readonly key: "document_letterhead";
3243
3516
  readonly value: "{}";
@@ -3282,6 +3555,10 @@ declare const STORE_KNOBS: readonly [{
3282
3555
  readonly key: "entity_types_guard";
3283
3556
  readonly value: "false";
3284
3557
  readonly type: "boolean";
3558
+ }, {
3559
+ readonly key: "example_rows_max";
3560
+ readonly value: "500";
3561
+ readonly type: "integer";
3285
3562
  }, {
3286
3563
  readonly key: "export_rows_ceiling";
3287
3564
  readonly value: "100000";
@@ -3298,6 +3575,10 @@ declare const STORE_KNOBS: readonly [{
3298
3575
  readonly key: "field_sensitivity_levels";
3299
3576
  readonly value: "{\"edit\": {\"public\": \"editor\", \"internal\": \"editor\", \"restricted\": \"admin\", \"confidential\": \"admin\"}, \"read\": {\"public\": \"viewer\", \"internal\": \"viewer\", \"restricted\": \"admin\", \"confidential\": \"editor\"}}";
3300
3577
  readonly type: "json";
3578
+ }, {
3579
+ readonly key: "grid_layout";
3580
+ readonly value: "{\"mode\": \"auto\", \"wrap\": false, \"row_height\": \"normal\", \"fit_max_columns\": 8, \"freeze_first_column\": false}";
3581
+ readonly type: "json";
3301
3582
  }, {
3302
3583
  readonly key: "inbound_domain";
3303
3584
  readonly value: "\"inbound.matrxserver.com\"";
@@ -3326,6 +3607,14 @@ declare const STORE_KNOBS: readonly [{
3326
3607
  readonly key: "records_tool_default";
3327
3608
  readonly value: "true";
3328
3609
  readonly type: "boolean";
3610
+ }, {
3611
+ readonly key: "row_action_steps_max";
3612
+ readonly value: "60";
3613
+ readonly type: "integer";
3614
+ }, {
3615
+ readonly key: "row_actions_max";
3616
+ readonly value: "24";
3617
+ readonly type: "integer";
3329
3618
  }, {
3330
3619
  readonly key: "row_versions_guard";
3331
3620
  readonly value: "false";
@@ -3356,12 +3645,16 @@ declare const STORE_KNOBS: readonly [{
3356
3645
  readonly type: "enum";
3357
3646
  }, {
3358
3647
  readonly key: "system_enabled";
3359
- readonly value: "false";
3648
+ readonly value: "true";
3360
3649
  readonly type: "boolean";
3361
3650
  }, {
3362
3651
  readonly key: "table_record_ceiling";
3363
3652
  readonly value: "150000";
3364
3653
  readonly type: "integer";
3654
+ }, {
3655
+ readonly key: "table_webhooks_max";
3656
+ readonly value: "10";
3657
+ readonly type: "integer";
3365
3658
  }, {
3366
3659
  readonly key: "value_max_bytes";
3367
3660
  readonly value: "100000";
@@ -3379,7 +3672,7 @@ declare const STORE_KNOBS: readonly [{
3379
3672
  */
3380
3673
  declare const STORE_REFUSAL_CODES: readonly [{
3381
3674
  readonly code: "02000";
3382
- readonly raised_by: "_checklist_instantiate,_portal_invite_payload,_share_write_person,_table_share_invite_payload,checklist_declare,checklist_run,checklist_step_complete,checklist_step_refusal,checklist_template_shape,conversation_scope_bind,dashboard_delete,dashboard_run,doc_letterhead,doc_render_body,doc_render_document,doc_render_read,doc_sign,doc_signature_intact,doc_signature_read,doc_template_delete,doc_template_read,doc_template_save,enrich_pin,entity_field_retire,entity_field_update,entity_record_read,entity_value_write,external_history_event,external_rows,external_stub_upsert,external_writes_set,io_restore,migrate_delete,migrate_extract_parent,migrate_merge,migrate_reclass,migrate_rename,migrate_reparent,migrate_retype,migrate_split,migrate_undo,organization_clear,portal_archive,portal_card,portal_declare,portal_invite,portal_invite_accept,portal_preview,portal_principal_bind,portal_restore,portal_revoke,read_record,record_delete,record_restore,record_restore_preview,record_table,record_update,relation_uncarry,share_access,share_grant,share_lane_set,share_people,share_revoke,sign_request_cancel,sign_request_create,sign_request_remind,sign_request_unchanged,table_archive,table_share_outside_accept,table_share_outside_invite,table_share_outside_resend,table_share_outside_revoke,visibility_as_of,work_approval_decide,work_approval_read,work_approval_request,work_assign,work_record_states,work_set_state";
3675
+ readonly raised_by: "_checklist_instantiate,_portal_invite_payload,_share_write_person,_table_share_invite_payload,checklist_declare,checklist_run,checklist_step_complete,checklist_step_refusal,checklist_template_shape,conversation_scope_bind,dashboard_delete,dashboard_run,doc_letterhead,doc_render_body,doc_render_document,doc_render_read,doc_sign,doc_signature_intact,doc_signature_read,doc_template_delete,doc_template_read,doc_template_save,enrich_pin,entity_field_retire,entity_field_update,entity_record_read,entity_value_write,external_history_event,external_rows,external_stub_upsert,external_writes_set,io_restore,migrate_delete,migrate_extract_parent,migrate_merge,migrate_reclass,migrate_rename,migrate_reparent,migrate_retype,migrate_split,migrate_undo,organization_clear,portal_archive,portal_card,portal_declare,portal_invite,portal_invite_accept,portal_preview,portal_principal_bind,portal_restore,portal_revoke,read_record,record_delete,record_restore,record_restore_preview,record_table,record_update,relation_halves_repair,relation_uncarry,share_access,share_grant,share_lane_set,share_people,share_revoke,sign_request_cancel,sign_request_create,sign_request_remind,sign_request_unchanged,table_archive,table_share_outside_accept,table_share_outside_invite,table_share_outside_resend,table_share_outside_revoke,visibility_as_of,work_approval_decide,work_approval_read,work_approval_request,work_assign,work_record_states,work_set_state";
3383
3676
  }, {
3384
3677
  readonly code: "0A000";
3385
3678
  readonly raised_by: "checklist_step_complete,external_rows,external_source_declare,external_write_through,promote_field,promoted_index_expr,promoted_query_sql,promoted_read,rule_eval,work_assign";
@@ -3388,40 +3681,46 @@ declare const STORE_REFUSAL_CODES: readonly [{
3388
3681
  readonly raised_by: "context_resolve";
3389
3682
  }, {
3390
3683
  readonly code: "22004";
3391
- readonly raised_by: "_entity_custom_fields_guard,_share_write_person,_value_envelope,actor_word,agg_assert_key,agg_sql,anon_capture,anon_token_issue,anon_write,assert_client_may_reach,booking_declare,capture_submit,checklist_declare,context_resolve,dashboard_block_normalize,dashboard_declare,dashboard_window_sql,doc_render_write,doc_sign,doc_signature_write,doc_template_save,enrich_land,enrich_normalize,external_history_event,external_rows,external_source_declare,external_stub_upsert,external_write_through,external_writes_set,field_history,form_declare,form_submit,home_add,io_comment_write,io_import_begin,io_infer_column,io_outbox_drain,io_restore,migrate_choice_keys,migrate_purge,migrate_purge_hard,migrate_reclass,migrate_split,migrate_undo,organization_clear,organization_contents,pipeline_declare,pipeline_gate_preview,portal_declare,portal_invite,portal_principal_bind,provenance_retention_days,provenance_write,query_across_homes,query_by_coordinates,query_rollup,record_delete,record_reparent,record_resolve,record_restore,record_update,record_write,record_write_graph,record_write_many,relation_carry,relation_own,rule_declare,share_grant,sign_request_create,sign_request_sign,subscription_declare,table_archive,table_declare,table_share_outside_invite,value_restore,view_declare,work_approval_decide,work_approval_request,work_template_declare";
3684
+ readonly raised_by: "_entity_custom_fields_guard,_share_write_person,_value_envelope,actor_word,agg_assert_key,agg_sql,anon_capture,anon_token_issue,anon_write,assert_client_may_reach,booking_declare,capture_submit,checklist_declare,context_resolve,dashboard_block_normalize,dashboard_declare,dashboard_window_sql,doc_render_write,doc_sign,doc_signature_write,doc_template_save,enrich_land,enrich_normalize,external_history_event,external_rows,external_source_declare,external_stub_upsert,external_write_through,external_writes_set,field_history,form_declare,form_submit,home_add,io_comment_write,io_import_begin,io_infer_column,io_outbox_drain,io_restore,migrate_choice_keys,migrate_purge,migrate_purge_hard,migrate_reclass,migrate_split,migrate_undo,organization_clear,organization_contents,pipeline_declare,pipeline_gate_preview,portal_declare,portal_invite,portal_principal_bind,provenance_retention_days,provenance_write,query_across_homes,query_by_coordinates,query_rollup,record_delete,record_reparent,record_resolve,record_restore,record_update,record_write,record_write_graph,record_write_many,relation_carry,relation_halves_repair,relation_own,rule_declare,share_grant,sign_request_create,sign_request_sign,subscription_declare,table_archive,table_declare,table_share_outside_invite,value_restore,view_declare,work_approval_decide,work_approval_request,work_template_declare";
3392
3685
  }, {
3393
3686
  readonly code: "22007";
3394
3687
  readonly raised_by: "dashboard_window_sql";
3395
3688
  }, {
3396
3689
  readonly code: "22012";
3397
- readonly raised_by: "rule_eval";
3690
+ readonly raised_by: "formula_eval,rule_eval";
3398
3691
  }, {
3399
3692
  readonly code: "22023";
3400
- readonly raised_by: "_booking_availability,_entity_custom_fields_guard,_take_op_id,_value_envelope,_work_shape_guard,actor_word,agg_assert_key,agg_sql,anon_token_issue,booking_declare,containment_parent,dashboard_block_normalize,dashboard_window_sql,doc_render_body,doc_render_write,doc_signature_write,enrich_declare,enrich_land,enrich_normalize,enrich_pin,entity_value_write,external_history_event,external_source_declare,external_stub_upsert,external_write_through,field_history,field_update,io_export,io_import_begin,io_import_finish,io_import_plan,io_import_report,io_proposal_accept,list_portals,migrate_merge,migrate_reclass,my_levels,organization_clear,page_size,pin_agent_cells,pipeline_move,portal_declare,provenance_write,query_by_coordinates,query_rollup,read_records_archived,record_update,record_write_graph,record_write_many,relation_carry,rule_eval,rule_members,share_grant,share_lane_set,sign_request_create,sign_request_sign,subscription_declare,table_rules,visibility_as_of,work_approval_request,work_list,work_slot_hold";
3693
+ readonly raised_by: "_action_check,_booking_availability,_decorations_check,_entity_custom_fields_guard,_fx_date,_fx_num,_fx_unit,_fxp_level,_fxp_resolve,_fxp_tokens,_take_op_id,_value_envelope,_work_shape_guard,action_run,actor_word,agg_assert_key,agg_sql,anon_token_issue,booking_declare,containment_parent,dashboard_block_normalize,dashboard_window_sql,doc_render_body,doc_render_write,doc_signature_write,enrich_declare,enrich_land,enrich_normalize,enrich_pin,entity_value_write,external_history_event,external_source_declare,external_stub_upsert,external_write_through,field_history,field_update,formula_eval,formula_parse,grid_layout_check,hub_changed_by,io_export,io_import_begin,io_import_finish,io_import_plan,io_import_report,io_proposal_accept,list_portals,migrate_merge,migrate_reclass,my_levels,organization_clear,page_size,pin_agent_cells,pipeline_move,portal_declare,provenance_write,query_by_coordinates,query_rollup,read_records_archived,record_update,record_write_graph,record_write_many,relation_carry,rule_eval,rule_members,share_grant,share_lane_set,sign_request_create,sign_request_sign,subscription_declare,table_from_example,table_rules,table_webhook_declare,visibility_as_of,work_approval_request,work_list,work_slot_hold";
3401
3694
  }, {
3402
3695
  readonly code: "23503";
3403
- readonly raised_by: "_booking_availability,_checklist_instantiate,_containment_guard,_display_spec_for,_field_document_for,_field_type_parity_guard,_pipeline_stage_key,_record_rule_uses,agg_digest_assemble,anon_publish,anon_rate_take,anon_token_issue,anon_write,assert_organization_wall,booking_cancel,booking_confirm,booking_declare,booking_hold,booking_reschedule,capture_publish,checklist_declare,checklist_steps_table,comment_write,dashboard_declare,delete_rule,doc_sign,doc_template_save,enrich_declare,enrich_due,enrich_land,form_declare,form_submit,home_add,inbound_declare,inbound_mail_land,inbound_set,io_comment_write,io_import_begin,io_import_finish,io_import_report,io_import_rows,io_proposal_accept,migrate_demote,migrate_promote,pipeline_board,pipeline_declare,pipeline_move,pipeline_read,pipeline_transition_refusal,promote_field,promote_table,record_applicability,record_reparent,relation_carry,relation_own,resolve_first_match,rule_applies,rule_declare,rule_eval,rule_members,rule_run,sign_request_create,subscription_mute,subscription_preview,view_declare,work_set_state,work_take_assignment,work_template_instantiate";
3696
+ readonly raised_by: "_action_check,_booking_availability,_checklist_instantiate,_containment_guard,_decorations_check,_display_spec_for,_field_document_for,_field_type_parity_guard,_pipeline_stage_key,_record_rule_uses,action_declare,action_run,agg_digest_assemble,anon_publish,anon_rate_take,anon_token_issue,anon_write,assert_organization_wall,autonumber_backfill,booking_cancel,booking_confirm,booking_declare,booking_hold,booking_reschedule,capture_publish,checklist_declare,checklist_steps_table,comment_write,dashboard_declare,delete_rule,doc_sign,doc_template_save,enrich_declare,enrich_due,enrich_land,form_declare,form_submit,grid_layout,home_add,inbound_declare,inbound_mail_land,inbound_set,io_comment_write,io_import_begin,io_import_finish,io_import_report,io_import_rows,io_proposal_accept,migrate_demote,migrate_promote,pipeline_board,pipeline_declare,pipeline_move,pipeline_read,pipeline_transition_refusal,promote_field,promote_table,record_applicability,record_reparent,relation_carry,relation_own,resolve_first_match,rule_applies,rule_declare,rule_eval,rule_members,rule_run,sign_request_create,subscription_mute,subscription_preview,table_decorate,table_from_example,table_webhook_archive,table_webhook_declare,view_declare,work_set_state,work_take_assignment,work_template_instantiate";
3404
3697
  }, {
3405
3698
  readonly code: "23505";
3406
3699
  readonly raised_by: "_share_write_person,_unique_rule_holds,doc_sign,doc_signature_write,entity_field_declare,field_declare,home_add,inbound_declare,io_proposal_accept,relation_carry,relation_own,sign_request_cancel,sign_request_create,table_share_outside_resend,work_approval_decide,work_slot_hold";
3407
3700
  }, {
3408
3701
  readonly code: "23514";
3409
- readonly raised_by: "_checklist_instantiate,_checklist_step_guard,_containment_guard,_dated_values_guard,_derived_fields,_display_spec_for,_entity_custom_fields_guard,_field_class_guard,_field_document_for,_field_shape_guard,_field_type_parity_guard,_merge_field_shape_guard,_merge_field_temporal_guard,_promoted_field_cap_guard,_record_rule_uses,_relation_halves_agree,_resolve_choice_words,_rule_shape_guard,_rule_topology_guard,_store_relation_edge_names_its_field,_table_columns_word_guard,_table_shape_guard,_undeclared_key_guard,_value_envelope,_with_display,_work_shape_guard,_workdoors_approval_guard,assert_columns_are_defined,assert_entity_is_organization_scoped,booking_declare,capture_publish,capture_sheet_declare,checklist_declare,checklist_step_complete,doc_sign,doc_signature_write,doc_template_save,entity_field_declare,entity_field_retire,entity_field_update,entity_records_find,entity_table,field_declare,field_retire,field_update,home_add,io_comment_write,io_import_rows,migrate_merge,migrate_purge_hard,portal_archive,portal_restore,record_write_graph,relation_carry,relation_own,sign_request_create,sign_request_sign,table_declare,validate_value_envelope,validate_values,work_set_state,work_slots_declare,work_take_assignment,work_template_instantiate";
3702
+ readonly raised_by: "_checklist_instantiate,_checklist_step_guard,_containment_guard,_dated_values_guard,_derived_fields,_display_format_check,_display_spec_for,_entity_custom_fields_guard,_field_class_guard,_field_document_for,_field_shape_guard,_field_type_parity_guard,_merge_field_shape_guard,_merge_field_temporal_guard,_promoted_field_cap_guard,_record_rule_uses,_relation_halves_agree,_relation_kernel_targets,_resolve_choice_words,_rule_shape_guard,_rule_topology_guard,_store_relation_edge_names_its_field,_table_columns_word_guard,_table_shape_guard,_undeclared_key_guard,_value_envelope,_with_display,_work_shape_guard,_workdoors_approval_guard,action_run,assert_columns_are_defined,assert_entity_is_organization_scoped,booking_declare,capture_publish,capture_sheet_declare,checklist_declare,checklist_step_complete,doc_sign,doc_signature_write,doc_template_save,entity_field_declare,entity_field_retire,entity_field_update,entity_records_find,entity_table,field_declare,field_retire,field_update,home_add,io_comment_write,io_import_rows,migrate_merge,migrate_purge_hard,portal_archive,portal_restore,record_write_graph,relation_carry,relation_halves_repair,relation_own,sign_request_create,sign_request_sign,table_declare,table_from_example,validate_value_envelope,validate_values,work_set_state,work_slots_declare,work_take_assignment,work_template_instantiate";
3410
3703
  }, {
3411
3704
  readonly code: "40001";
3412
3705
  readonly raised_by: "has_visibility_at";
3413
3706
  }, {
3414
3707
  readonly code: "42501";
3415
- readonly raised_by: "_doc_render_immutable,_doc_signature_immutable,_field_definition_write,_field_write_door,_rule_definition_write,_store_door,agent_table_claim,anon_capture,anon_inbound_land,anon_publish,anon_token_issue,anon_token_verify,anon_write,assert_client_may_change,assert_client_may_open,assert_client_may_reach,assert_may_know_table,assert_organization_admin,assert_store_door,booking_confirm,booking_declare,booking_hold,capture_submit,checklist_run,comment_write,conversation_scope_bind,conversation_scope_unbind,doc_sign,enrich_declare,enrich_due,enrich_land,enrich_normalize,entity_field_declare,entity_field_retire,entity_field_update,entity_value_write,external_write_through,form_declare,form_submit,inbound_mail_land,io_comment_resolve,io_comment_write,io_import_begin,io_import_finish,io_restore,migrate_purge,migrate_purge_hard,migrate_reclass,my_levels,organization_clear,portal_declare,portal_invitation,portal_invite,portal_invite_accept,portal_principal_bind,promote_table,query_visibility_parity,read_record,read_records,read_records_archived,read_records_by_ids,read_records_matching,record_table,record_write_graph,share_grant,subscription_mute,subscription_preview,table_share_outside_accept,table_share_outside_invite,table_share_outside_resend,visibility_as_of,work_approval_decide,work_approval_read,work_approval_request,work_person";
3708
+ readonly raised_by: "_doc_render_immutable,_doc_signature_immutable,_field_definition_write,_field_write_door,_rule_definition_write,_store_door,agent_table_claim,anon_capture,anon_inbound_land,anon_publish,anon_token_issue,anon_token_verify,anon_write,assert_client_may_change,assert_client_may_open,assert_client_may_reach,assert_may_know_table,assert_organization_admin,assert_store_door,booking_confirm,booking_declare,booking_hold,capture_submit,checklist_run,comment_write,conversation_scope_bind,conversation_scope_unbind,doc_sign,enrich_declare,enrich_due,enrich_land,enrich_normalize,entity_field_declare,entity_field_retire,entity_field_update,entity_value_write,external_write_through,form_declare,form_submit,inbound_mail_land,io_comment_resolve,io_comment_write,io_import_begin,io_import_finish,io_restore,migrate_purge,migrate_purge_hard,migrate_purge_hard_request,migrate_reclass,my_levels,organization_clear,portal_declare,portal_invitation,portal_invite,portal_invite_accept,portal_principal_bind,promote_table,query_visibility_parity,read_record,read_records,read_records_archived,read_records_by_ids,read_records_matching,record_table,record_write_graph,relation_halves_disagreements,relation_halves_repair,share_grant,subscription_mute,subscription_preview,table_share_outside_accept,table_share_outside_invite,table_share_outside_resend,table_webhook_declare,visibility_as_of,work_approval_decide,work_approval_read,work_approval_request,work_person";
3416
3709
  }, {
3417
3710
  readonly code: "42703";
3418
3711
  readonly raised_by: "entity_table,portal_declare";
3419
3712
  }, {
3420
3713
  readonly code: "53400";
3421
3714
  readonly raised_by: "anon_rate_take,delete_cascade_closure,enrich_due,enrich_land,promote_field";
3715
+ }, {
3716
+ readonly code: "54000";
3717
+ readonly raised_by: "action_run,hub_changed_by,table_decorate,table_from_example,table_webhook_declare";
3422
3718
  }, {
3423
3719
  readonly code: "54001";
3424
3720
  readonly raised_by: "record_delete";
3721
+ }, {
3722
+ readonly code: "P0001";
3723
+ readonly raised_by: "action_run";
3425
3724
  }, {
3426
3725
  readonly code: "PT409";
3427
3726
  readonly raised_by: "record_update";
@@ -3430,7 +3729,7 @@ declare const STORE_REFUSAL_CODES: readonly [{
3430
3729
  readonly raised_by: "_record_rule_uses";
3431
3730
  }];
3432
3731
  /** `platform.entity_types` — the registered tokens a Table or relation may name. */
3433
- declare const ENTITY_TOKENS: readonly ["access_delta_probe", "access_delta_run", "access_request", "account_addon", "acquisition_block", "activity", "admin_audit_log", "admin_email_log", "admin_markdown_sample", "admin_user", "admission_config", "agent", "agent_card", "agent_definition_version", "agent_drift_alert", "agent_exemplar", "agent_mandate_note", "agent_prompt_remediation", "agent_provision_legacy", "agent_run", "agent_run_stage", "agent_schedule", "agent_schedule_claim", "agent_shortcut", "agent_surface_binding", "agent_template", "agent_usage", "agent_user_kv", "ai_api", "ai_endpoint", "ai_model", "ai_model_alias", "ai_offering", "ai_provider", "ai_setting", "analysis_result", "anon_form", "anon_function_birth_grandfather", "anon_hit", "anon_inbound", "anon_replay", "anon_submission", "anon_token", "api_field_warning", "api_request_log", "app", "app_config", "app_config_history", "app_definition_version", "app_error", "app_execution", "app_instance", "app_log", "app_log_muted_pattern", "app_log_norm_exception", "app_rate_limit", "app_setting", "app_sync_status", "approach", "artifact", "assessment", "assessment_item", "assessment_result", "assignment_session", "assist", "assist_producer_policy", "assist_producer_policy_history", "association_type", "assurance_level", "attempt", "audit_broken_functions", "audit_canonical_findings", "audit_exemption", "audit_function_deps", "audit_function_runtime_probe", "audit_m2m_candidates", "audit_refresh_log", "audit_stale_registry", "audit_unregistered_candidates", "bak_assoc_file_processed_document_20260812", "bak_assoc_type_file_processed_document_20260812", "bak_organization_name_dd043", "base_entity_template", "batch_cost_event", "batch_provider_batch", "batch_work_item", "billing_capability", "billing_capability_limit", "billing_connect_account", "billing_customer", "billing_plan", "billing_plan_limit", "billing_price", "billing_product", "billing_spend_guardrail", "billing_stripe_event", "billing_subscription", "billing_usage_ledger", "billing_user_plan", "browser_account_binding", "browser_action_event", "browser_authenticator_window", "browser_capture", "browser_control_request", "browser_handoff", "browser_login_attempt", "browser_login_recipe", "browser_profile", "browser_profile_checkpoint", "browser_run", "browser_site_observation", "browser_site_policy", "browser_stream_ticket", "build_lock", "calendar_event", "canvas_comment", "canvas_comment_like", "canvas_item", "canvas_item_state", "canvas_like", "canvas_score", "canvas_view", "capture_window", "carrying_rule", "catalog_entries_history", "catalog_entry", "category", "change_type_default", "chat_user_usage_summary", "citations", "class_purchase", "classifier_revision_ledger", "client_callable_door", "client_callable_door_retirement", "client_excluded_column_unregistered", "cmp_entry", "cmp_feedback", "code_file", "code_folder", "code_repository", "coding_session", "coding_session_entry", "comment", "commerce_asset_allocation", "commerce_asset_grading", "commerce_asset_identifier", "commerce_asset_lot_event", "commerce_asset_mandate_result", "commerce_asset_price_factor", "commerce_asset_reshoot_request", "commerce_asset_review", "commerce_asset_unknown", "commerce_certified_printer", "commerce_cloud_sync_connection", "commerce_ebay_business_policy", "commerce_ebay_category", "commerce_ebay_category_aspect", "commerce_ebay_category_tree", "commerce_ebay_custom_policy", "commerce_ebay_inventory_item", "commerce_ebay_inventory_item_group", "commerce_ebay_inventory_item_group_member", "commerce_ebay_inventory_location", "commerce_ebay_listing", "commerce_ebay_marketplace_policy", "commerce_ebay_media_asset", "commerce_ebay_notification_destination", "commerce_ebay_notification_event", "commerce_ebay_notification_subscription", "commerce_ebay_notification_topic", "commerce_ebay_offer", "commerce_ebay_order", "commerce_ebay_order_line_item", "commerce_ebay_shipping_fulfillment", "commerce_ebay_store_category", "commerce_human_correction", "commerce_intake_artifact", "commerce_intake_asset", "commerce_intake_batch", "commerce_label_batch", "commerce_label_code", "commerce_marketplace_account", "commerce_marketplace_account_deletion_audit", "commerce_marketplace_api_call", "commerce_marketplace_rate_budget", "commerce_marketplace_site", "commerce_marketplace_sync_run", "commerce_prediction_outcome", "commerce_print_order", "commerce_product", "commerce_product_channel_ref", "commerce_product_media", "commerce_product_variant", "commerce_recall_audit", "comparison_set", "component_group", "contact_medium", "contact_submission", "content_certification", "content_ir_kind", "content_ir_kind_component", "content_ir_kind_component_incident", "content_ir_kind_conformance", "content_ir_kind_edge", "content_ir_kind_example", "content_ir_kind_instance", "content_ir_kind_surface", "content_lane", "context_access_log", "context_item", "context_item_suggestion", "context_item_value", "context_value_refs", "conversation", "conversation_value", "courts", "credential_attachment", "credential_item", "credential_mutation_receipt", "crm_address", "crm_affiliation", "crm_blocklist_entry", "crm_contact_candidate", "crm_deal", "crm_deal_stage_event", "crm_enrichment_call", "crm_interaction", "crm_merge_candidate", "crm_outreach_list", "crm_outreach_list_member", "crm_party_merge", "crm_registry_ingest_run", "crm_registry_source", "crm_saved_view", "crm_sending_event", "crm_sending_identity", "crm_sending_identity_check", "crm_sending_policy", "custom_entity_definition", "custom_field_definition", "custom_field_target", "custom_record", "cx_agent_memory", "cx_agent_plan", "cx_agent_task", "cx_code_edit", "cx_code_message_file", "cx_conversation_documents", "cx_media", "cx_observational_memory", "cx_observational_memory_event", "cx_pending_injection", "cx_request", "cx_request_snapshot", "cx_tool_trace", "cx_user_request", "cx_user_todo", "dashboard_saved_view", "data_rights_event", "data_store", "data_store_members", "dataset", "dd171_containment_baseline", "dd175_cast", "dd175_component_lane_baseline", "ddl_guard_log", "deck_suggestion", "definer_class_exemption", "definer_client_grant_grandfather", "definer_grant_baseline", "deprecated_relation", "derive_run", "dev_login_audit", "dict_entry", "dict_provider_publication", "dict_setting", "dm_conversation", "dm_message", "dm_participant", "doc_render", "doc_signature", "dockets", "domain_classification", "edge_payload_kind", "egress_device", "egress_pairing", "egress_ticket", "emails", "embedding_cache", "embeddings_google_gemini_2_1536", "embeddings_oai_3_small_1536", "embeddings_voyage_4_large_1024", "embeddings_voyage_code_3_1024", "endpoint_family_sweep_state", "engine_owner_task", "entity_grant", "entity_relationship", "entity_type", "esign_campaign", "esign_campaign_member", "esign_consent_disclosure", "esign_envelope", "esign_envelope_certificate", "esign_envelope_document", "esign_envelope_event", "esign_envelope_external_ref", "esign_envelope_signer", "esign_provider", "esign_provider_binding", "esign_signing_key", "execution_event_cursor", "extension_auth_code", "external_link", "external_source", "extract_sweep_state", "fc_card", "fc_detail", "fc_set", "feature_doc", "feature_knob", "feedback_comments", "feedback_user_messages", "field_component", "file", "file_analysis", "file_entities", "file_overrides", "file_page_annotations", "file_pages", "file_rag_job", "file_version", "files_account_tier", "files_machine_written_prefix", "files_sync_mapping", "files_user_account", "flashcard_data", "flashcard_history", "flashcard_review", "flashcard_set", "flashcard_sets", "flexible_data", "folder", "function_contract", "game_badge", "game_result", "game_room", "global_execution", "global_execution_checkpoint", "global_execution_control", "global_execution_event", "global_meter_entry", "global_origin", "global_request", "google_document", "growth_loop_event", "growth_loop_run", "growth_loop_stage_run", "guardian_link", "guest_conversion_audit", "guest_execution_log", "guest_executions", "guided_checklist_run", "heatmap_save", "hindsight_enrollment", "hindsight_finding", "hindsight_regression_case", "hindsight_replay", "hindsight_replay_step", "hindsight_review", "hr_access_audit", "hr_access_role", "hr_accommodation_request", "hr_ai_evidence", "hr_alert_routing_rule", "hr_application", "hr_approval_authority", "hr_approval_delegation", "hr_asset", "hr_asset_assignment", "hr_attendance_exception", "hr_auto_close_rule", "hr_availability", "hr_background_check", "hr_benefits_event", "hr_calculation_snapshot", "hr_candidate", "hr_candidate_conversion", "hr_candidate_message", "hr_careers_portal", "hr_checklist_item", "hr_checklist_run", "hr_checklist_template", "hr_checklist_template_item", "hr_compensation", "hr_corrective_action", "hr_course", "hr_course_version", "hr_credential", "hr_crew", "hr_deduction_code", "hr_department", "hr_derived_grant", "hr_disposition_event", "hr_earning_code", "hr_eeo_response", "hr_emergency_contact", "hr_employee", "hr_employee_private", "hr_employer_profile", "hr_employment", "hr_employment_pin", "hr_engagement", "hr_establishment", "hr_external_identity", "hr_field_policy", "hr_holiday", "hr_holiday_calendar", "hr_i9", "hr_i9_document", "hr_incident", "hr_incident_party", "hr_interview", "hr_interview_kit", "hr_job_title", "hr_jurisdiction", "hr_jurisdiction_rule", "hr_jurisdiction_rule_class", "hr_jurisdiction_rule_org_decision", "hr_jurisdiction_rule_test", "hr_kiosk_device", "hr_kiosk_session", "hr_labor_target", "hr_leave_case", "hr_leave_enrollment", "hr_leave_ledger", "hr_leave_policy", "hr_leave_request", "hr_legal_hold", "hr_legal_hold_item", "hr_location", "hr_new_hire_report", "hr_offer", "hr_opening", "hr_overtime_alert", "hr_overtime_alert_rule", "hr_overtime_preapproval", "hr_pay_group", "hr_pay_period", "hr_pay_period_employment", "hr_payroll_export", "hr_payroll_export_line", "hr_position_assignment", "hr_posting", "hr_posting_publication", "hr_provider_binding", "hr_provider_event", "hr_provisioning_result", "hr_punch", "hr_recalculation_batch", "hr_record_class", "hr_records_request", "hr_reference_check", "hr_reporting_line", "hr_requisition", "hr_restricted_note", "hr_retention_rule", "hr_role_assignment", "hr_schedule", "hr_schedule_change", "hr_schedule_guidance", "hr_schedule_template", "hr_schedule_template_shift", "hr_scorecard", "hr_separation", "hr_shift", "hr_shift_claim", "hr_staffing_requirement", "hr_survey", "hr_survey_invitation", "hr_survey_question", "hr_survey_response", "hr_tax_registration", "hr_tax_withholding", "hr_time_adjustment", "hr_training_assignment", "hr_training_attempt", "hr_transcript_entry", "hr_verification_letter_request", "hr_work_interval", "hr_workflow_binding", "hr_workflow_decision", "hr_workflow_definition", "hr_workflow_event", "hr_workflow_failure", "hr_workflow_flow_type", "hr_workflow_instance", "hr_workflow_step", "hr_workflow_step_definition", "hr_workweek", "html_extraction", "iam_access_audit", "iam_api_key", "iam_emergency_door_request", "idempotency", "industry", "industry_curator", "infra_status", "ingest_runs", "integration_connection", "integration_connection_resource", "interview_decision_interview", "interview_decision_question", "interview_document_revision", "interview_hole", "interview_question", "interview_session", "interview_turn", "invitation", "invitation_code", "invitation_request", "io_comment", "io_contract", "io_import", "io_outbox", "item", "item_mastery", "judge_verdict", "jurisdiction_policy", "keyword_classification_queue", "kg_alert", "kg_chunk_entities", "kg_chunks", "kg_clusters", "kg_edges", "kg_entities", "kg_entity_aliases", "kg_suggestion_ack", "kg_sweep_queue", "kg_sweep_run", "kg_sweep_state", "kg_value_match", "knob_override", "knob_override_audit", "knob_rung_lock", "knob_scope_kind", "knob_write_door", "league_membership", "learn_doc", "library_doc", "lifecycle_archive", "lifecycle_archive_row", "lifecycle_audit", "lifecycle_entity_plan", "lifecycle_map_build", "lifecycle_reference_map", "lifecycle_run", "lifecycle_tier_ledger", "location", "mandate", "mandate_advance_batch_row", "mandate_binding", "mandate_binding_legacy", "mandate_goal_clauses", "mandate_legacy", "mandate_observation", "mandate_reference", "mandate_scan", "mandate_treatment", "marketing_initiative", "masterwork_corpus_item", "masterwork_run", "masterwork_run_kind", "masterwork_source", "math_course_structure", "math_problem", "matrx_action_ledger", "mcp_config", "mcp_server", "mcp_user_conn", "media_capture_handoff", "media_catalog_setting", "media_library_item", "media_selection_item", "media_selection_job", "media_source_library", "meet_call_invite", "meet_meeting", "meet_note", "meet_participant", "meet_recording", "meet_transcript_segment", "membership", "membership_grant", "merge_field_provenance", "message", "message_template", "meta_excluded_schema", "meta_table_stats_history", "metadata_reserved_keys", "microservice_project", "migration_log", "mtx_media_heal_queue", "mtx_public_url_guard", "ner_shadow", "note", "note_folder", "notification", "notification_channel_preference", "notification_event_override", "notification_event_type", "notification_preference", "notification_submission", "notify_outsider_door_baseline", "oauth_handoff_claim", "opinion_clusters", "opinions", "ops_issue_class", "ops_issue_event", "ops_proof_check", "ops_proof_run", "ops_proof_scenario", "org_admin_audit", "org_change_policy", "org_context_ledger", "org_industries", "org_member_control", "org_module_config", "org_plan", "org_repair_0253_backup", "organization", "organization_preferences", "organization_visibility_version", "output_feedback", "outreach_acceptance", "page_extraction_job", "page_extraction_page_run", "page_extraction_results", "page_extraction_runs", "page_intent_queue", "page_mapping_queue", "part_config", "part_config_sub", "party", "party_contact_point", "passkey_credential", "path_drift_repair_2026_09", "pc_article", "pc_episode", "pc_show", "pc_studio_run", "pc_studio_run_asset", "pdf_consolidation_log", "pdf_redaction_audit", "pdf_redaction_key_escrow", "permission_grant", "plan_cms_fill_item", "plan_cms_fill_job", "plan_entity", "plan_node", "plan_node_artifact", "plan_node_step", "plan_profile", "platform_action_request", "platform_actor_session", "platform_actor_token", "platform_actor_token_event", "platform_continued_access", "platform_org_knob_override", "platform_outcome_event", "platform_outsider_consumer", "platform_reachability", "platform_reference_category", "platform_reference_declaration", "platform_repo", "platform_saved_view", "platform_schema", "platform_share_link", "platform_user_knob_override", "podcast_race", "policy_overlap_backup", "policy_overlap_probe", "processed_document", "processed_document_page", "product_capture_file", "product_capture_item", "product_capture_payload", "product_capture_product", "product_capture_question", "profile", "project", "prompt", "provider_account", "provider_account_credential", "provision", "provision_generate_target", "provision_grant", "provision_marker", "provision_rule_message", "provision_schema", "provision_shape_debt", "provision_spec", "provision_spec_grandfather", "provision_vocabulary", "purpose", "quiz_session", "rag_ingest_run", "rag_library_audit_log", "rate_limit_buckets", "recompute_queue", "record", "record_alias", "redaction_mapping", "research_analysis", "research_content", "research_context_bundle", "research_document", "research_intent", "research_keyword", "research_media", "research_source", "research_synthesis", "research_tag", "research_template", "research_topic", "retention_policy", "retrieval_audit", "review_queue", "route_manifest_entry", "row_version", "rulebook", "runtime_operation_stream", "runtime_operation_stream_batch", "sandbox_instance", "sch_agent_task", "sch_run", "sch_task", "sch_trigger", "schema_client_exposure", "schema_migration_ledger", "schema_migration_legacy", "schema_migration_slot_grandfather", "schema_templates", "scope", "scope_association_suggestion", "scope_dataset_instance", "scope_door_registry", "scope_item_value_suggestion", "scope_suggestion", "scope_type", "scrape_domain", "scrape_domain_settings", "scrape_failure_log", "scrape_parsed_page", "scrape_path_override", "scrape_path_pattern", "scrape_retry_queue", "seo_ai_capability", "seo_ai_visibility_citation", "seo_ai_visibility_claim", "seo_ai_visibility_panel", "seo_ai_visibility_response", "seo_ai_visibility_signal", "seo_backlink", "seo_backlink_change_event", "seo_backlink_dimension_snapshot", "seo_backlink_observation", "seo_backlink_snapshot", "seo_change_assessment", "seo_change_event", "seo_change_item", "seo_change_metric", "seo_change_set", "seo_change_theory", "seo_collection_run", "seo_competitor", "seo_competitor_observation", "seo_competitor_opportunity", "seo_coverage_mention", "seo_coverage_tracker", "seo_dimension_value_matcher", "seo_engine_schedule", "seo_geo_place", "seo_gsc_dig_rule", "seo_keyword", "seo_keyword_class_rule", "seo_keyword_edge", "seo_keyword_facet", "seo_keyword_market", "seo_keyword_market_observation", "seo_keyword_place", "seo_keyword_saved_view", "seo_keyword_topic", "seo_landscape_brief", "seo_link_gap_domain", "seo_link_gap_match", "seo_map_facet", "seo_map_facet_value", "seo_map_topic", "seo_page_measurement_health", "seo_page_performance", "seo_provider_call", "seo_provider_task", "seo_rank_observation", "seo_rank_target", "seo_raw_payload", "seo_referring_domain_profile", "seo_reputation_case", "seo_search_performance_daily", "seo_serp_mention", "seo_serp_opportunity", "seo_serp_result", "seo_serp_snapshot", "seo_site_geo_area", "seo_site_keyword_offering", "seo_site_keyword_value", "seo_site_offering_value", "seo_site_topic_value", "seo_site_value_combo", "seo_site_value_worth", "seo_site_vocabulary", "seo_source_request", "seo_starter_pack", "seo_starter_pack_item", "seo_story_angle", "seo_topic", "seo_topical_map", "seo_web_analytics_daily", "share_link", "shareable_resource_registry", "shared_canvas_item", "short_link", "shortcut_category", "skill", "skill_category", "skill_render_definition", "sms_consent", "sms_conversation", "sms_message", "sms_message_media", "sms_notification", "sms_notification_preference", "sms_phone_number", "sms_rate_limits", "sms_webhook_logs", "soft_delete_edge", "source_authority", "stage_dockets_966c18eca7", "stage_ref_kind", "stamped_write_table", "structure", "structured_list", "studio_cleaned_segments", "studio_concept_items", "studio_documents", "studio_module_segments", "studio_raw_segments", "studio_recording_chunks", "studio_recording_segments", "studio_run", "studio_session", "studio_session_settings", "study_attempt", "study_goal", "study_media", "study_plan", "study_plan_block", "study_plan_day", "study_reminder_context", "study_reminder_delivery", "study_session", "study_source_chunk", "study_streak", "study_structured_section", "superseded_policy", "surface", "system_announcement", "system_context_item", "system_error", "system_orgs", "system_personal_org_failure", "system_write_failure", "task", "task_user_state", "taxonomy_node", "template_context_items", "template_scope_types", "templates", "test_handset_inbox", "test_handset_verification", "thread", "tool", "tool_binding", "tool_bundle", "tool_call", "tool_definition_version", "tool_executor", "tool_surface_defaults", "tool_test_sample", "tool_ui", "tool_ui_incident", "tool_ui_version", "topic_placement_queue", "transcript", "trigger_event", "udt_dataset_fields", "udt_dataset_row_versions", "udt_dataset_rows", "udt_dataset_template", "udt_dataset_template_fields", "udt_document", "udt_document_snapshot", "udt_structured_list_items", "udt_workbook_snapshot", "ui_client", "ui_surface_agent_pref", "ui_surface_agent_role", "ui_surface_client_tool", "ui_surface_config", "ui_surface_value", "ui_surface_write_target", "unsubscribe_token", "uploads_inflight", "user_achievement", "user_active_context", "user_analysis_preference", "user_bookmark", "user_email_preference", "user_entity_state", "user_feedback", "user_follows", "user_form_profile", "user_markdown_sample", "user_memory", "user_preference", "user_profile", "user_secret", "user_secret_audit", "user_secret_grant", "user_stat", "user_storage_usage", "user_surface_state", "visibility_cache", "visibility_epoch", "voice", "war_room", "wbx_capture", "wbx_demo", "wbx_guidance", "wbx_highlight", "wbx_pattern", "wbx_recipe", "wbx_screenshot", "wbx_seo_audit", "wc_claim", "wc_impairment_definition", "wc_injury", "wc_report", "web_analysis_item", "web_brand", "web_brand_asset", "web_brand_offering", "web_business_fact", "web_business_location", "web_channel_analytics_daily", "web_crawl_event", "web_crawl_preset", "web_crawl_schedule", "web_crawl_session", "web_crawl_url", "web_discovered_item", "web_finding", "web_gsc_page_stat", "web_link_edge", "web_listing_publisher", "web_location_listing", "web_offering_template", "web_page", "web_page_content", "web_page_evidence", "web_page_sitemap", "web_property", "web_provider", "web_result", "web_screenshot", "web_site", "web_site_endpoint_rule", "web_site_item_config", "web_site_offering", "web_sitemap", "web_snapshot", "web_tag_manager_snapshot", "web_youtube_video", "webhook_deliveries", "webhook_dispatch_state", "webhooks", "wf_node_data_slot", "work_claim", "work_item", "workbook", "worker_heartbeat", "workflow", "workflow_card", "workflow_checkpoint", "workflow_comparison", "workflow_definition_version", "workflow_idempotency", "workflow_job", "workflow_node_events", "workflow_node_outcome", "workflow_plan", "workflow_plan_event", "workflow_plan_sample", "workflow_recovery_audit", "workflow_run", "workflow_run_log", "workflow_runtime_surface", "workflow_template", "workflow_trigger", "workflow_trigger_fire", "workflow_work_item", "working_document", "write_guard_key", "youtube_quota_day", "youtube_search", "youtube_video"];
3732
+ declare const ENTITY_TOKENS: readonly ["access_delta_probe", "access_delta_run", "access_request", "account_addon", "acquisition_block", "activity", "admin_audit_log", "admin_email_log", "admin_markdown_sample", "admin_user", "admission_config", "agent", "agent_card", "agent_definition_version", "agent_drift_alert", "agent_exemplar", "agent_mandate_note", "agent_prompt_remediation", "agent_provision_legacy", "agent_run", "agent_run_stage", "agent_schedule", "agent_schedule_claim", "agent_shortcut", "agent_surface_binding", "agent_template", "agent_term_list", "agent_usage", "agent_user_kv", "ai_api", "ai_endpoint", "ai_model", "ai_model_alias", "ai_offering", "ai_provider", "ai_setting", "analysis_result", "anon_form", "anon_function_birth_grandfather", "anon_hit", "anon_inbound", "anon_replay", "anon_submission", "anon_token", "api_field_warning", "api_request_log", "app", "app_config", "app_config_history", "app_definition_version", "app_error", "app_execution", "app_instance", "app_log", "app_log_muted_pattern", "app_log_norm_exception", "app_rate_limit", "app_setting", "app_sync_status", "approach", "artifact", "assessment", "assessment_item", "assessment_result", "assignment_session", "assist", "assist_producer_policy", "assist_producer_policy_history", "association_type", "assurance_level", "attempt", "audit_broken_functions", "audit_canonical_findings", "audit_exemption", "audit_function_deps", "audit_function_runtime_probe", "audit_m2m_candidates", "audit_refresh_log", "audit_stale_registry", "audit_unregistered_candidates", "bak_assoc_file_processed_document_20260812", "bak_assoc_type_file_processed_document_20260812", "bak_organization_name_dd043", "base_entity_template", "batch_cost_event", "batch_provider_batch", "batch_work_item", "billing_capability", "billing_capability_limit", "billing_connect_account", "billing_customer", "billing_plan", "billing_plan_limit", "billing_price", "billing_product", "billing_spend_guardrail", "billing_stripe_event", "billing_subscription", "billing_usage_ledger", "billing_user_plan", "browser_account_binding", "browser_action_event", "browser_authenticator_window", "browser_capture", "browser_control_request", "browser_handoff", "browser_login_attempt", "browser_login_recipe", "browser_profile", "browser_profile_checkpoint", "browser_run", "browser_site_observation", "browser_site_policy", "browser_stream_ticket", "build_lock", "calendar_event", "canvas_comment", "canvas_comment_like", "canvas_item", "canvas_item_state", "canvas_like", "canvas_score", "canvas_view", "capture_window", "carrying_rule", "catalog_entries_history", "catalog_entry", "category", "change_type_default", "chat_user_usage_summary", "citations", "class_purchase", "classifier_revision_ledger", "client_callable_door", "client_callable_door_retirement", "client_excluded_column_unregistered", "cmp_entry", "cmp_feedback", "code_file", "code_folder", "code_repository", "coding_session", "coding_session_entry", "comment", "commerce_asset_allocation", "commerce_asset_grading", "commerce_asset_identifier", "commerce_asset_lot_event", "commerce_asset_mandate_result", "commerce_asset_price_factor", "commerce_asset_reshoot_request", "commerce_asset_review", "commerce_asset_unknown", "commerce_certified_printer", "commerce_cloud_sync_connection", "commerce_ebay_business_policy", "commerce_ebay_category", "commerce_ebay_category_aspect", "commerce_ebay_category_tree", "commerce_ebay_custom_policy", "commerce_ebay_inventory_item", "commerce_ebay_inventory_item_group", "commerce_ebay_inventory_item_group_member", "commerce_ebay_inventory_location", "commerce_ebay_listing", "commerce_ebay_marketplace_policy", "commerce_ebay_media_asset", "commerce_ebay_notification_destination", "commerce_ebay_notification_event", "commerce_ebay_notification_subscription", "commerce_ebay_notification_topic", "commerce_ebay_offer", "commerce_ebay_order", "commerce_ebay_order_line_item", "commerce_ebay_shipping_fulfillment", "commerce_ebay_store_category", "commerce_human_correction", "commerce_intake_artifact", "commerce_intake_asset", "commerce_intake_batch", "commerce_label_batch", "commerce_label_code", "commerce_marketplace_account", "commerce_marketplace_account_deletion_audit", "commerce_marketplace_api_call", "commerce_marketplace_rate_budget", "commerce_marketplace_site", "commerce_marketplace_sync_run", "commerce_prediction_outcome", "commerce_print_order", "commerce_product", "commerce_product_channel_ref", "commerce_product_media", "commerce_product_variant", "commerce_recall_audit", "comparison_set", "component_group", "contact_medium", "contact_submission", "content_certification", "content_ir_kind", "content_ir_kind_component", "content_ir_kind_component_incident", "content_ir_kind_conformance", "content_ir_kind_edge", "content_ir_kind_example", "content_ir_kind_instance", "content_ir_kind_surface", "content_lane", "context_access_log", "context_item", "context_item_suggestion", "context_item_value", "context_value_refs", "conversation", "conversation_value", "courts", "credential_attachment", "credential_item", "credential_mutation_receipt", "crm_address", "crm_affiliation", "crm_blocklist_entry", "crm_contact_candidate", "crm_deal", "crm_deal_stage_event", "crm_enrichment_call", "crm_interaction", "crm_merge_candidate", "crm_outreach_list", "crm_outreach_list_member", "crm_party_merge", "crm_registry_ingest_run", "crm_registry_source", "crm_saved_view", "crm_sending_event", "crm_sending_identity", "crm_sending_identity_check", "crm_sending_policy", "custom_entity_definition", "custom_field_definition", "custom_field_target", "custom_record", "cx_agent_memory", "cx_agent_plan", "cx_agent_task", "cx_code_edit", "cx_code_message_file", "cx_conversation_documents", "cx_media", "cx_observational_memory", "cx_observational_memory_event", "cx_pending_injection", "cx_request", "cx_request_snapshot", "cx_tool_trace", "cx_user_request", "cx_user_todo", "dashboard_saved_view", "data_rights_event", "data_store", "data_store_members", "dataset", "dd171_containment_baseline", "dd175_cast", "dd175_component_lane_baseline", "ddl_guard_log", "deck_suggestion", "definer_class_exemption", "definer_client_grant_grandfather", "definer_grant_baseline", "deprecated_relation", "derive_run", "dev_login_audit", "dict_entry", "dict_provider_publication", "dict_setting", "dm_conversation", "dm_message", "dm_participant", "doc_render", "doc_signature", "dockets", "domain_classification", "edge_payload_kind", "egress_device", "egress_pairing", "egress_ticket", "emails", "embedding_cache", "embeddings_google_gemini_2_1536", "embeddings_oai_3_small_1536", "embeddings_voyage_4_large_1024", "embeddings_voyage_code_3_1024", "endpoint_family_sweep_state", "engine_owner_task", "entity_grant", "entity_relationship", "entity_type", "esign_campaign", "esign_campaign_member", "esign_consent_disclosure", "esign_envelope", "esign_envelope_certificate", "esign_envelope_document", "esign_envelope_event", "esign_envelope_external_ref", "esign_envelope_signer", "esign_provider", "esign_provider_binding", "esign_signing_key", "execution_event_cursor", "extension_auth_code", "external_link", "external_source", "extract_sweep_state", "fc_card", "fc_detail", "fc_set", "feature_doc", "feature_knob", "feedback_comments", "feedback_user_messages", "field_component", "file", "file_analysis", "file_entities", "file_overrides", "file_page_annotations", "file_pages", "file_rag_job", "file_version", "files_account_tier", "files_machine_written_prefix", "files_sync_mapping", "files_user_account", "flashcard_data", "flashcard_history", "flashcard_review", "flashcard_set", "flashcard_sets", "flexible_data", "folder", "function_contract", "game_badge", "game_result", "game_room", "global_execution", "global_execution_checkpoint", "global_execution_control", "global_execution_event", "global_meter_entry", "global_origin", "global_request", "google_document", "growth_loop_event", "growth_loop_run", "growth_loop_stage_run", "guardian_link", "guest_conversion_audit", "guest_execution_log", "guest_executions", "guided_checklist_run", "heatmap_save", "hindsight_enrollment", "hindsight_finding", "hindsight_regression_case", "hindsight_replay", "hindsight_replay_step", "hindsight_review", "hr_access_audit", "hr_access_role", "hr_accommodation_request", "hr_ai_evidence", "hr_alert_routing_rule", "hr_application", "hr_approval_authority", "hr_approval_delegation", "hr_asset", "hr_asset_assignment", "hr_attendance_exception", "hr_auto_close_rule", "hr_availability", "hr_background_check", "hr_benefits_event", "hr_calculation_snapshot", "hr_candidate", "hr_candidate_conversion", "hr_candidate_message", "hr_careers_portal", "hr_checklist_item", "hr_checklist_run", "hr_checklist_template", "hr_checklist_template_item", "hr_compensation", "hr_corrective_action", "hr_course", "hr_course_version", "hr_credential", "hr_crew", "hr_deduction_code", "hr_department", "hr_derived_grant", "hr_disposition_event", "hr_earning_code", "hr_eeo_response", "hr_emergency_contact", "hr_employee", "hr_employee_private", "hr_employer_profile", "hr_employment", "hr_employment_pin", "hr_engagement", "hr_establishment", "hr_external_identity", "hr_field_policy", "hr_holiday", "hr_holiday_calendar", "hr_i9", "hr_i9_document", "hr_incident", "hr_incident_party", "hr_interview", "hr_interview_kit", "hr_job_title", "hr_jurisdiction", "hr_jurisdiction_rule", "hr_jurisdiction_rule_class", "hr_jurisdiction_rule_org_decision", "hr_jurisdiction_rule_test", "hr_kiosk_device", "hr_kiosk_session", "hr_labor_target", "hr_leave_case", "hr_leave_enrollment", "hr_leave_ledger", "hr_leave_policy", "hr_leave_request", "hr_legal_hold", "hr_legal_hold_item", "hr_location", "hr_new_hire_report", "hr_offer", "hr_opening", "hr_overtime_alert", "hr_overtime_alert_rule", "hr_overtime_preapproval", "hr_pay_group", "hr_pay_period", "hr_pay_period_employment", "hr_payroll_export", "hr_payroll_export_line", "hr_position_assignment", "hr_posting", "hr_posting_publication", "hr_provider_binding", "hr_provider_event", "hr_provisioning_result", "hr_punch", "hr_recalculation_batch", "hr_record_class", "hr_records_request", "hr_reference_check", "hr_reporting_line", "hr_requisition", "hr_restricted_note", "hr_retention_rule", "hr_role_assignment", "hr_schedule", "hr_schedule_change", "hr_schedule_guidance", "hr_schedule_template", "hr_schedule_template_shift", "hr_scorecard", "hr_separation", "hr_shift", "hr_shift_claim", "hr_staffing_requirement", "hr_survey", "hr_survey_invitation", "hr_survey_question", "hr_survey_response", "hr_tax_registration", "hr_tax_withholding", "hr_time_adjustment", "hr_training_assignment", "hr_training_attempt", "hr_transcript_entry", "hr_verification_letter_request", "hr_work_interval", "hr_workflow_binding", "hr_workflow_decision", "hr_workflow_definition", "hr_workflow_event", "hr_workflow_failure", "hr_workflow_flow_type", "hr_workflow_instance", "hr_workflow_step", "hr_workflow_step_definition", "hr_workweek", "html_extraction", "iam_access_audit", "iam_api_key", "iam_emergency_door_request", "idempotency", "industry", "industry_curator", "infra_status", "ingest_runs", "integration_connection", "integration_connection_resource", "interview_decision_interview", "interview_decision_question", "interview_document_revision", "interview_hole", "interview_question", "interview_session", "interview_turn", "invitation", "invitation_code", "invitation_request", "io_comment", "io_contract", "io_import", "io_outbox", "item", "item_mastery", "judge_verdict", "jurisdiction_policy", "keyword_classification_queue", "kg_alert", "kg_chunk_entities", "kg_chunks", "kg_clusters", "kg_edges", "kg_entities", "kg_entity_aliases", "kg_suggestion_ack", "kg_sweep_queue", "kg_sweep_run", "kg_sweep_state", "kg_value_match", "knob_override", "knob_override_audit", "knob_rung_lock", "knob_scope_kind", "knob_write_door", "league_membership", "learn_doc", "library_doc", "lifecycle_archive", "lifecycle_archive_row", "lifecycle_audit", "lifecycle_entity_plan", "lifecycle_map_build", "lifecycle_reference_map", "lifecycle_run", "lifecycle_tier_ledger", "location", "mandate", "mandate_advance_batch_row", "mandate_binding", "mandate_binding_legacy", "mandate_goal_clauses", "mandate_legacy", "mandate_observation", "mandate_reference", "mandate_scan", "mandate_treatment", "marketing_initiative", "masterwork_corpus_item", "masterwork_run", "masterwork_run_kind", "masterwork_source", "math_course_structure", "math_problem", "matrx_action_ledger", "mcp_config", "mcp_server", "mcp_user_conn", "media_capture_handoff", "media_catalog_setting", "media_library_item", "media_selection_item", "media_selection_job", "media_source_library", "meet_call_invite", "meet_meeting", "meet_note", "meet_participant", "meet_recording", "meet_transcript_segment", "membership", "membership_grant", "merge_field_provenance", "message", "message_template", "meta_excluded_schema", "meta_table_stats_history", "metadata_reserved_keys", "microservice_project", "migration_log", "mtx_media_heal_queue", "mtx_public_url_guard", "ner_shadow", "note", "note_folder", "notification", "notification_channel_preference", "notification_event_override", "notification_event_type", "notification_preference", "notification_submission", "notify_outsider_door_baseline", "oauth_handoff_claim", "opinion_clusters", "opinions", "ops_issue_class", "ops_issue_event", "ops_proof_check", "ops_proof_run", "ops_proof_scenario", "org_admin_audit", "org_change_policy", "org_context_ledger", "org_industries", "org_member_control", "org_module_config", "org_plan", "org_repair_0253_backup", "organization", "organization_preferences", "organization_visibility_version", "output_feedback", "outreach_acceptance", "page_extraction_job", "page_extraction_page_run", "page_extraction_results", "page_extraction_runs", "page_intent_queue", "page_mapping_queue", "part_config", "part_config_sub", "party", "party_contact_point", "passkey_credential", "path_drift_repair_2026_09", "pc_article", "pc_episode", "pc_show", "pc_studio_run", "pc_studio_run_asset", "pdf_consolidation_log", "pdf_redaction_audit", "pdf_redaction_key_escrow", "permission_grant", "plan_cms_fill_item", "plan_cms_fill_job", "plan_entity", "plan_node", "plan_node_artifact", "plan_node_step", "plan_profile", "platform_action_request", "platform_actor_session", "platform_actor_token", "platform_actor_token_event", "platform_continued_access", "platform_org_knob_override", "platform_outcome_event", "platform_outsider_consumer", "platform_reachability", "platform_reference_category", "platform_reference_declaration", "platform_repo", "platform_saved_view", "platform_schema", "platform_share_link", "platform_user_knob_override", "podcast_race", "policy_overlap_backup", "policy_overlap_probe", "processed_document", "processed_document_page", "product_capture_file", "product_capture_item", "product_capture_payload", "product_capture_product", "product_capture_question", "profile", "project", "prompt", "provider_account", "provider_account_credential", "provision", "provision_generate_target", "provision_grant", "provision_marker", "provision_rule_message", "provision_schema", "provision_shape_debt", "provision_spec", "provision_spec_grandfather", "provision_vocabulary", "purpose", "quiz_session", "rag_ingest_run", "rag_library_audit_log", "rate_limit_buckets", "recompute_queue", "record", "record_alias", "redaction_mapping", "research_analysis", "research_content", "research_context_bundle", "research_document", "research_intent", "research_keyword", "research_media", "research_source", "research_synthesis", "research_tag", "research_template", "research_topic", "retention_policy", "retrieval_audit", "review_queue", "route_manifest_entry", "row_version", "rulebook", "runtime_operation_stream", "runtime_operation_stream_batch", "sandbox_instance", "sch_agent_task", "sch_run", "sch_task", "sch_trigger", "schema_client_exposure", "schema_migration_ledger", "schema_migration_legacy", "schema_migration_slot_grandfather", "schema_templates", "scope", "scope_association_suggestion", "scope_dataset_instance", "scope_door_registry", "scope_item_value_suggestion", "scope_suggestion", "scope_type", "scrape_domain", "scrape_domain_settings", "scrape_failure_log", "scrape_parsed_page", "scrape_path_override", "scrape_path_pattern", "scrape_retry_queue", "seo_ai_capability", "seo_ai_visibility_citation", "seo_ai_visibility_claim", "seo_ai_visibility_panel", "seo_ai_visibility_response", "seo_ai_visibility_signal", "seo_backlink", "seo_backlink_change_event", "seo_backlink_dimension_snapshot", "seo_backlink_observation", "seo_backlink_snapshot", "seo_change_assessment", "seo_change_event", "seo_change_item", "seo_change_metric", "seo_change_set", "seo_change_theory", "seo_collection_run", "seo_competitor", "seo_competitor_observation", "seo_competitor_opportunity", "seo_coverage_mention", "seo_coverage_tracker", "seo_dimension_value_matcher", "seo_engine_schedule", "seo_geo_place", "seo_gsc_dig_rule", "seo_keyword", "seo_keyword_class_rule", "seo_keyword_edge", "seo_keyword_facet", "seo_keyword_market", "seo_keyword_market_observation", "seo_keyword_place", "seo_keyword_saved_view", "seo_keyword_topic", "seo_landscape_brief", "seo_link_gap_domain", "seo_link_gap_match", "seo_map_facet", "seo_map_facet_value", "seo_map_topic", "seo_page_measurement_health", "seo_page_performance", "seo_provider_call", "seo_provider_task", "seo_rank_observation", "seo_rank_target", "seo_raw_payload", "seo_referring_domain_profile", "seo_reputation_case", "seo_search_performance_daily", "seo_serp_mention", "seo_serp_opportunity", "seo_serp_result", "seo_serp_snapshot", "seo_site_geo_area", "seo_site_keyword_offering", "seo_site_keyword_value", "seo_site_offering_value", "seo_site_topic_value", "seo_site_value_combo", "seo_site_value_worth", "seo_site_vocabulary", "seo_source_request", "seo_starter_pack", "seo_starter_pack_item", "seo_story_angle", "seo_topic", "seo_topical_map", "seo_web_analytics_daily", "share_link", "shareable_resource_registry", "shared_canvas_item", "short_link", "shortcut_category", "skill", "skill_category", "skill_render_definition", "sms_consent", "sms_conversation", "sms_message", "sms_message_media", "sms_notification", "sms_notification_preference", "sms_phone_number", "sms_rate_limits", "sms_webhook_logs", "soft_delete_edge", "source_authority", "stage_dockets_966c18eca7", "stage_ref_kind", "stamped_write_table", "structure", "structured_list", "studio_cleaned_segments", "studio_concept_items", "studio_documents", "studio_module_segments", "studio_raw_segments", "studio_recording_chunks", "studio_recording_segments", "studio_run", "studio_session", "studio_session_settings", "study_attempt", "study_goal", "study_media", "study_plan", "study_plan_block", "study_plan_day", "study_reminder_context", "study_reminder_delivery", "study_session", "study_source_chunk", "study_streak", "study_structured_section", "superseded_policy", "surface", "system_announcement", "system_context_item", "system_error", "system_orgs", "system_personal_org_failure", "system_write_failure", "task", "task_user_state", "taxonomy_node", "template_context_items", "template_scope_types", "templates", "test_handset_inbox", "test_handset_verification", "thread", "tool", "tool_binding", "tool_bundle", "tool_call", "tool_definition_version", "tool_executor", "tool_surface_defaults", "tool_test_sample", "tool_ui", "tool_ui_incident", "tool_ui_version", "topic_placement_queue", "transcript", "trigger_event", "udt_dataset_fields", "udt_dataset_row_versions", "udt_dataset_rows", "udt_dataset_template", "udt_dataset_template_fields", "udt_document", "udt_document_snapshot", "udt_structured_list_items", "udt_workbook_snapshot", "ui_client", "ui_surface_agent_pref", "ui_surface_agent_role", "ui_surface_client_tool", "ui_surface_config", "ui_surface_value", "ui_surface_write_target", "unsubscribe_token", "uploads_inflight", "user_achievement", "user_active_context", "user_analysis_preference", "user_bookmark", "user_email_preference", "user_entity_state", "user_feedback", "user_follows", "user_form_profile", "user_markdown_sample", "user_memory", "user_preference", "user_profile", "user_secret", "user_secret_audit", "user_secret_grant", "user_stat", "user_storage_usage", "user_surface_state", "visibility_cache", "visibility_epoch", "voice", "war_room", "wbx_capture", "wbx_demo", "wbx_guidance", "wbx_highlight", "wbx_pattern", "wbx_recipe", "wbx_screenshot", "wbx_seo_audit", "wc_claim", "wc_impairment_definition", "wc_injury", "wc_report", "web_analysis_item", "web_brand", "web_brand_asset", "web_brand_offering", "web_business_fact", "web_business_location", "web_channel_analytics_daily", "web_crawl_event", "web_crawl_preset", "web_crawl_schedule", "web_crawl_session", "web_crawl_url", "web_discovered_item", "web_finding", "web_gsc_page_stat", "web_link_edge", "web_listing_publisher", "web_location_listing", "web_offering_template", "web_page", "web_page_content", "web_page_evidence", "web_page_sitemap", "web_property", "web_provider", "web_result", "web_screenshot", "web_site", "web_site_endpoint_rule", "web_site_item_config", "web_site_offering", "web_sitemap", "web_snapshot", "web_tag_manager_snapshot", "web_youtube_video", "webhook_deliveries", "webhook_dispatch_state", "webhooks", "wf_node_data_slot", "work_claim", "work_item", "workbook", "worker_heartbeat", "workflow", "workflow_card", "workflow_checkpoint", "workflow_comparison", "workflow_definition_version", "workflow_idempotency", "workflow_job", "workflow_node_events", "workflow_node_outcome", "workflow_plan", "workflow_plan_event", "workflow_plan_sample", "workflow_recovery_audit", "workflow_run", "workflow_run_log", "workflow_runtime_surface", "workflow_template", "workflow_trigger", "workflow_trigger_fire", "workflow_work_item", "working_document", "write_guard_key", "youtube_quota_day", "youtube_search", "youtube_video"];
3434
3733
  type StoreRefusalCode = (typeof STORE_REFUSAL_CODES)[number]["code"];
3435
3734
  type StoreDoorName = (typeof STORE_DOORS)[number]["name"];
3436
3735
  type EntityToken = (typeof ENTITY_TOKENS)[number];
@@ -5658,7 +5957,9 @@ declare function portalTitleTypedBack(typed: string, title: string): boolean;
5658
5957
  declare function emptyPortalArchiveLine(): string;
5659
5958
 
5660
5959
  /** The measures the store offers. Asked of `custom.agg_operations()` at run time too. */
5661
- type AggregateOperation = "count" | "sum" | "avg" | "min" | "max";
5960
+ type AggregateOperation = "count" | "sum" | "avg" | "min" | "max"
5961
+ /** GRID-PRIMITIVES G1: the summary bar's other four. Blank = no value, JSON null or "". */
5962
+ | "median" | "filled" | "empty" | "unique";
5662
5963
  /** The periods a date Field can be bucketed into (`custom.agg_buckets()`). */
5663
5964
  type AggregateBucket = "day" | "week" | "month" | "quarter" | "year";
5664
5965
  /**
@@ -5729,6 +6030,563 @@ declare function measureKey(measure: AggregateMeasure): string;
5729
6030
  */
5730
6031
  declare function stableFilterKey(filter: RecordFilter | null | undefined): string;
5731
6032
 
6033
+ /**
6034
+ * Who the data belongs to. A test organization is created under this name — the
6035
+ * owner's law #4: every organization, table, record, form, portal, dashboard,
6036
+ * document, checklist, booking page, capture sheet, subscription, pipeline and
6037
+ * enrichment created for a test carries the use case's own name. Cleanup finds
6038
+ * a test organization by `cleanupTag` in its settings, NEVER by a junk name.
6039
+ */
6040
+ interface BusinessIdentity {
6041
+ /** "Harbor Dental Group" — what goes on the organization, the invoice, the screenshot. */
6042
+ name: string;
6043
+ /** "Harbor Dental Group, PLLC" — used on documents that need the legal entity. */
6044
+ legalName?: string;
6045
+ /** One line a stranger would understand: "A six-chair family dental practice." */
6046
+ describes: string;
6047
+ /** Plausible and synthesized. Never a real business's real address. */
6048
+ address: PostalAddress;
6049
+ /** Synthesized, E.164-shaped or the local convention the document uses. */
6050
+ phone: string;
6051
+ /**
6052
+ * Synthesized. NOT a `.example` domain — those read as fake on a screenshot.
6053
+ * Optional, because the law welcomes personal-life use cases and a household
6054
+ * renovation or a family recipe collection genuinely has no website.
6055
+ */
6056
+ website?: string;
6057
+ /** Synthesized mailbox on the same domain: "frontdesk@harbordentalgroup.com". */
6058
+ email: string;
6059
+ /** IANA zone, so dates in the rows make sense together. */
6060
+ timezone: string;
6061
+ }
6062
+ interface PostalAddress {
6063
+ line1: string;
6064
+ line2?: string;
6065
+ city: string;
6066
+ /** State, province or region, in the country's own convention. */
6067
+ region: string;
6068
+ postalCode: string;
6069
+ /** ISO 3166-1 alpha-2. */
6070
+ country: string;
6071
+ }
6072
+ /**
6073
+ * One table of the business, in the words the practitioner uses. `token` is the
6074
+ * slug the store addresses it by; `name` is what a person reads.
6075
+ */
6076
+ interface UseCaseTable {
6077
+ /** snake_case, singular, the practitioner's noun: "patient", "work_order". */
6078
+ token: string;
6079
+ /** "Patients", "Work orders". */
6080
+ name: string;
6081
+ labelSingular: string;
6082
+ labelPlural: string;
6083
+ /** REC-32. One of the seven, closed. Most business tables are `entity`. */
6084
+ type: TableType;
6085
+ display: TableDisplay;
6086
+ /** REC-4. `light` is the whole document; `heavy` is indexed on write. */
6087
+ weight: StorageMode;
6088
+ ordered: boolean;
6089
+ /** A lucide icon name, so the screen is not a wall of identical rows. */
6090
+ icon?: string;
6091
+ /** REC-2. The field key whose value titles a record. Must be a declared field. */
6092
+ titleField: string;
6093
+ /** What this table is FOR, in the practitioner's words. */
6094
+ describes: string;
6095
+ fields: UseCaseField[];
6096
+ /** The seed rows. Enough that the screen looks like a working business. */
6097
+ rows: UseCaseRow[];
6098
+ }
6099
+ /**
6100
+ * One field. `parityType` is the word a person picks in the UI and it must be
6101
+ * one the store resolves — any parity type the store ships, any behaviour they
6102
+ * are made of, or one of the plain synonyms (see `FieldTypeWord`). The set is
6103
+ * `RESOLVABLE_FIELD_TYPE_WORDS`, derived from the registry; never a count or a
6104
+ * list typed out here.
6105
+ */
6106
+ interface UseCaseField {
6107
+ /** snake_case, the practitioner's own name for it: "date_of_birth", "po_number". */
6108
+ key: string;
6109
+ /** "Date of birth", "PO number". Sentence case, the way the form reads. */
6110
+ label: string;
6111
+ parityType: FieldTypeWord;
6112
+ /** FLD-2. The shape of the value, never a second behaviour. */
6113
+ multi?: boolean;
6114
+ /** FLD-2. The values carry their own dates. */
6115
+ dated?: boolean;
6116
+ required?: boolean;
6117
+ /** FLD-N-1. The unit CHANGES THE MEANING and lives on the field: "USD", "lb", "mi". */
6118
+ unit?: string | null;
6119
+ /** "currency", "percent", "email", "phone", "url", "date". Never decoration. */
6120
+ format?: string | null;
6121
+ /** FLD-7. Where the values come from. Defaults to `manual`. */
6122
+ source?: FieldSource;
6123
+ /** FLD-9. A formula says whether it computes on read or on write. */
6124
+ computeOn?: ComputeOn;
6125
+ /** FLD-3. Validation rules the store will enforce. */
6126
+ rules?: FieldRule[];
6127
+ /**
6128
+ * For `select` / `multi_select`: the REAL lifecycle words of this business,
6129
+ * in the order they actually happen. "Scheduled, Confirmed, Seen, No-show" —
6130
+ * never "Option A, Option B".
6131
+ */
6132
+ choices?: string[];
6133
+ /** For a relation field: the `token` of the table it points at. */
6134
+ relationTarget?: string;
6135
+ relationMax?: number;
6136
+ /** AGT-7. The ceiling a merge field's delivery can never widen. */
6137
+ sensitivity: FieldSensitivity;
6138
+ /** FLD-12. Whether an agent may see this field's values at all. */
6139
+ contextPolicy: ContextPolicy;
6140
+ /** What the practitioner would be told about this field, if anything. */
6141
+ help?: string;
6142
+ }
6143
+ /**
6144
+ * One row of seed data.
6145
+ *
6146
+ * `key` is a stable LOCAL id (not a UUID): relationships across tables point at
6147
+ * it, so a template is readable and a seeder can resolve the graph in one pass
6148
+ * without inventing identifiers. Use a meaningful slug — "patient-rivera-m",
6149
+ * not "row-7".
6150
+ */
6151
+ interface UseCaseRow {
6152
+ key: string;
6153
+ /**
6154
+ * Keyed by the table's field keys. A relation field's value is the `key` (or
6155
+ * an array of keys) of rows in the target table.
6156
+ */
6157
+ values: Record<string, unknown>;
6158
+ }
6159
+ /**
6160
+ * REL-1…REL-9. The domain truth, stated once: "an invoice belongs to the job it
6161
+ * bills, and a job belongs to the client who asked for it."
6162
+ *
6163
+ * The field side carries `relationTarget`; this is the declaration a seeder
6164
+ * reads, because it also carries the flavour, the cardinality, what happens to
6165
+ * the far side on delete, and the reverse name.
6166
+ */
6167
+ interface UseCaseRelationship {
6168
+ /** One sentence of domain truth. Not "links A to B". */
6169
+ describes: string;
6170
+ /** The table that HOLDS the relation field. */
6171
+ fromTable: string;
6172
+ /** The field key on `fromTable`. Must be declared and must be a relation. */
6173
+ fromField: string;
6174
+ /** The `token` of the table it points at. */
6175
+ toTable: string;
6176
+ /** REL-1. Ownership is one fact, stored once, read from the field's side. */
6177
+ flavor: RelationFlavor;
6178
+ /** REL-7. */
6179
+ cardinality: RelationCardinality;
6180
+ /** REL-2. What happens to the far side, separate from flavour. */
6181
+ onDelete: OnDelete;
6182
+ /** REL-9. The reverse, visible from both ends, and NOT a second field. */
6183
+ inverseKey: string;
6184
+ }
6185
+ /** Who is allowed to open a form. */
6186
+ type FormAudience = "public" | "member" | "staff";
6187
+ /**
6188
+ * A form a practitioner in this business would actually put in front of someone
6189
+ * — "the Harbor Dental new-patient intake", never "Test Form 1".
6190
+ */
6191
+ interface UseCaseForm {
6192
+ token: string;
6193
+ name: string;
6194
+ /** What it is for, and who fills it in. */
6195
+ describes: string;
6196
+ audience: FormAudience;
6197
+ /** The table a submission becomes a record of. */
6198
+ table: string;
6199
+ fields: UseCaseFormField[];
6200
+ submitLabel: string;
6201
+ /** What the person sees after they submit. Real words, not "Success!". */
6202
+ confirmation: string;
6203
+ }
6204
+ interface UseCaseFormField {
6205
+ /** A field key on the form's table. */
6206
+ fieldKey: string;
6207
+ /** Override the field's own label when the form asks it differently. */
6208
+ label?: string;
6209
+ required?: boolean;
6210
+ /** The helper line under the input, if a practitioner would want one. */
6211
+ help?: string;
6212
+ }
6213
+ /**
6214
+ * The real lifecycle a record moves through in this business, in order. A
6215
+ * pipeline's stages are the words the staff say out loud.
6216
+ */
6217
+ interface UseCasePipeline {
6218
+ token: string;
6219
+ name: string;
6220
+ describes: string;
6221
+ /** The table whose records move through it. */
6222
+ table: string;
6223
+ /** The `select` field that holds the current stage. */
6224
+ stageField: string;
6225
+ stages: UseCasePipelineStage[];
6226
+ }
6227
+ interface UseCasePipelineStage {
6228
+ /** Must appear in the stage field's `choices`. */
6229
+ key: string;
6230
+ label: string;
6231
+ /** What is true of a record sitting here, and what moves it on. */
6232
+ describes: string;
6233
+ /** Roughly how long a record sits here, so a board looks believable. */
6234
+ typicalDurationDays?: number;
6235
+ }
6236
+ /**
6237
+ * The question the owner of this business actually asks a dashboard on Monday
6238
+ * morning — "how much have we invoiced this month that hasn't been paid?" —
6239
+ * plus how it is answered from the tables above.
6240
+ */
6241
+ interface UseCaseDashboardQuestion {
6242
+ /** The question in the practitioner's own words, ending in a question mark. */
6243
+ question: string;
6244
+ /** Why they care. What they DO differently depending on the answer. */
6245
+ whyItMatters: string;
6246
+ table: string;
6247
+ aggregate: "count" | "sum" | "avg" | "min" | "max";
6248
+ /** The field aggregated. Omitted only for `count`. */
6249
+ of?: string;
6250
+ groupBy?: string;
6251
+ /** A plain-language filter: "status is Unpaid and due_date is before today". */
6252
+ filter?: string;
6253
+ /** What the number IS: "USD", "days", "appointments". */
6254
+ answerUnit: string;
6255
+ }
6256
+ /**
6257
+ * A document this business really sends. The body carries merge fields in
6258
+ * `{{double_brace}}` form; every one of them is declared below and resolves to a
6259
+ * field on the document's table (or a stated literal).
6260
+ */
6261
+ interface UseCaseDocumentTemplate {
6262
+ token: string;
6263
+ name: string;
6264
+ describes: string;
6265
+ table: string;
6266
+ /** The subject or title line, merge fields allowed. */
6267
+ title: string;
6268
+ /** The body. Real prose this business would send, merge fields inline. */
6269
+ body: string;
6270
+ mergeFields: UseCaseMergeField[];
6271
+ }
6272
+ interface UseCaseMergeField {
6273
+ /** The token inside `{{ }}` in the body. */
6274
+ key: string;
6275
+ /**
6276
+ * The field key it reads, on the document's table — or, when it is not a
6277
+ * field, the word `business` (from `BusinessIdentity`) or `today`.
6278
+ */
6279
+ from: string;
6280
+ describes: string;
6281
+ }
6282
+ /** How a notification reaches someone. */
6283
+ type NotificationChannel = "email" | "sms" | "in_app";
6284
+ /**
6285
+ * The one automatic message this business would genuinely want — the thing a
6286
+ * practitioner sets up on day one and never turns off.
6287
+ */
6288
+ interface UseCaseNotificationRule {
6289
+ token: string;
6290
+ name: string;
6291
+ describes: string;
6292
+ when: UseCaseNotificationTrigger;
6293
+ /** Who it goes to, in the business's own words: "the assigned hygienist". */
6294
+ audience: string;
6295
+ channel: NotificationChannel;
6296
+ /** The actual message. Merge fields allowed, same convention as documents. */
6297
+ message: string;
6298
+ }
6299
+ interface UseCaseNotificationTrigger {
6300
+ table: string;
6301
+ event: "created" | "updated" | "stage_entered" | "due" | "overdue";
6302
+ /** For `stage_entered`: the stage key. */
6303
+ stage?: string;
6304
+ /** For `due` / `overdue`: the date field watched. */
6305
+ field?: string;
6306
+ /** For `due`: how many days ahead it fires. */
6307
+ daysBefore?: number;
6308
+ }
6309
+ /**
6310
+ * Where the shape and the values came from. `synthesized` means a person wrote
6311
+ * plausible values out of domain knowledge; `public-data` means the numbers or
6312
+ * names were derived from a genuinely public dataset, which is named.
6313
+ *
6314
+ * Either way the law holds: no real person, no real customer, no production row.
6315
+ */
6316
+ interface UseCaseProvenance {
6317
+ kind: "synthesized" | "public-data";
6318
+ /** Named when `kind` is `public-data`. */
6319
+ source?: string;
6320
+ /** Who or what wrote this file, and when. */
6321
+ authoredBy: string;
6322
+ authoredOn: string;
6323
+ /**
6324
+ * The affirmation, carried in the data so a reviewer can see it: every person,
6325
+ * address, phone and mailbox here is invented and belongs to nobody.
6326
+ */
6327
+ noRealPeople: true;
6328
+ }
6329
+ /** One real business, and everything a test, seed, demo or screenshot needs of it. */
6330
+ interface UseCase {
6331
+ /** kebab-case and unique: "harbor-dental-new-patient-intake". */
6332
+ id: string;
6333
+ /**
6334
+ * THE SENTENCE. Who the user is, what business they run, and what job this
6335
+ * exact feature does for them — one sentence, at the top, before anything
6336
+ * else. This is the first thing the law asks for and the validator checks it.
6337
+ */
6338
+ useCase: string;
6339
+ /** The industry, for rotation: "Dentistry", "Property management". */
6340
+ industry: string;
6341
+ business: BusinessIdentity;
6342
+ /**
6343
+ * The tag written into a test organization's settings so cleanup can find it.
6344
+ * Cleanup finds test data by THIS, never by a junk name.
6345
+ */
6346
+ cleanupTag: string;
6347
+ tables: UseCaseTable[];
6348
+ relationships: UseCaseRelationship[];
6349
+ form: UseCaseForm;
6350
+ pipeline: UseCasePipeline;
6351
+ dashboardQuestion: UseCaseDashboardQuestion;
6352
+ documentTemplate: UseCaseDocumentTemplate;
6353
+ notificationRule: UseCaseNotificationRule;
6354
+ provenance: UseCaseProvenance;
6355
+ }
6356
+
6357
+ /** `custom.decoration_colors()` — the palette, in the order an uncolored choice takes. */
6358
+ type DecorationColor = "slate" | "green" | "amber" | "red" | "blue" | "violet" | "teal";
6359
+ /** `custom.decoration_rule_ops()` — the tests a color rule may ask. */
6360
+ type DecorationRuleOp = "is" | "is_not" | "contains" | "is_empty" | "not_empty" | "is_true" | "is_false" | "gt" | "gte" | "lt" | "lte";
6361
+ type DecorationTarget = "row" | "cell";
6362
+ interface DecorationRule {
6363
+ /** Given by the store when omitted; keep it to edit the rule in place. */
6364
+ id?: string;
6365
+ /** The Field id the rule reads. */
6366
+ field: Uuid;
6367
+ op: DecorationRuleOp;
6368
+ /** Compared as text for is / is_not / contains, as a number for gt / gte / lt / lte. */
6369
+ value?: string | number;
6370
+ color: DecorationColor;
6371
+ target: DecorationTarget;
6372
+ }
6373
+ interface TableDecorations {
6374
+ version: 1;
6375
+ colors: DecorationColor[];
6376
+ rule_ops: Array<{
6377
+ op: DecorationRuleOp;
6378
+ takes_value: boolean;
6379
+ label: string;
6380
+ }>;
6381
+ color_by?: {
6382
+ field: Uuid;
6383
+ target: DecorationTarget;
6384
+ };
6385
+ rules: DecorationRule[];
6386
+ /** Hand highlights: record id → color. */
6387
+ rows: Record<Uuid, DecorationColor>;
6388
+ /** Hand highlights: Field id → color. */
6389
+ columns: Record<Uuid, DecorationColor>;
6390
+ /** Hand highlights: record id → Field id → color. */
6391
+ cells: Record<Uuid, Record<Uuid, DecorationColor>>;
6392
+ /** What stopped painting because its column is gone — said, never silently dropped. */
6393
+ stale: Array<{
6394
+ part: string;
6395
+ field?: Uuid;
6396
+ rule_id?: string;
6397
+ record_id?: Uuid;
6398
+ says: string;
6399
+ }>;
6400
+ }
6401
+ /**
6402
+ * ONE LEAF of a Table's colors — the older door's own path shape
6403
+ * (`public.udt_set_table_style`), so two people highlighting two rows never overwrite each other.
6404
+ */
6405
+ type DecorationPath = ["color_by"] | ["rules"] | ["rows", Uuid] | ["columns", Uuid] | ["cells", Uuid, Uuid];
6406
+ type GridLayoutMode = "auto" | "fit" | "scroll";
6407
+ type GridRowHeight = "compact" | "normal" | "tall";
6408
+ /** A saved view's own grid choices, kept at `definition.grid` (custom.view_declare judges them). `definition.layout` is the view's KIND (grid / kanban / calendar / gallery), never these. */
6409
+ interface ViewLayout {
6410
+ mode?: GridLayoutMode;
6411
+ row_height?: GridRowHeight;
6412
+ freeze_first_column?: boolean;
6413
+ wrap?: boolean;
6414
+ /** Field id → pixels, 60–1200. */
6415
+ widths?: Record<Uuid, number>;
6416
+ }
6417
+ interface GridLayout {
6418
+ layout: Required<Omit<ViewLayout, "widths">> & {
6419
+ fit_max_columns: number;
6420
+ widths?: Record<Uuid, number>;
6421
+ };
6422
+ /** Where each choice came from. */
6423
+ source: Record<string, "platform" | "organization" | "view">;
6424
+ view_id: Uuid | null;
6425
+ /** A stored choice the grid cannot honour, named. */
6426
+ refused: Array<{
6427
+ from: "organization" | "view";
6428
+ choice: string;
6429
+ value: unknown;
6430
+ says: string;
6431
+ }>;
6432
+ }
6433
+ type RowActionStep = {
6434
+ field: Uuid;
6435
+ set: "value";
6436
+ value: unknown;
6437
+ } | {
6438
+ field: Uuid;
6439
+ set: "clear";
6440
+ }
6441
+ /** Worked out by the store on each record: the older grid's formula text, or an expression. */
6442
+ | {
6443
+ field: Uuid;
6444
+ set: "compute";
6445
+ formula_text?: string;
6446
+ expr?: Record<string, unknown>;
6447
+ };
6448
+ interface RowAction {
6449
+ /** Given by the store when omitted. */
6450
+ id?: Uuid;
6451
+ name: string;
6452
+ kind?: "update" | "agent";
6453
+ color?: DecorationColor | null;
6454
+ icon?: string;
6455
+ /** Ask before running. */
6456
+ confirm?: boolean;
6457
+ steps?: RowActionStep[];
6458
+ /** `agent` only: what the record chat opens with. */
6459
+ prompt?: string;
6460
+ /** On read: whether custom.action_run can run it. */
6461
+ runnable?: boolean;
6462
+ }
6463
+ interface ActionRunResult {
6464
+ action_id: Uuid;
6465
+ action: string;
6466
+ table_id: Uuid;
6467
+ ran: number;
6468
+ records: Array<{
6469
+ record_id: Uuid;
6470
+ version: number;
6471
+ }>;
6472
+ }
6473
+ /** One record (and, when it can be named, one field) that refused a row action. */
6474
+ interface ActionRefusal {
6475
+ record_id: Uuid;
6476
+ record: string | null;
6477
+ field_id: Uuid | null;
6478
+ field: string | null;
6479
+ code?: string;
6480
+ says: string;
6481
+ }
6482
+ /**
6483
+ * Every refusal of an action run, read off the store's refusal. A run that any record refused
6484
+ * changed NOTHING; this is the list a screen shows so the person can fix those and run again.
6485
+ */
6486
+ declare function actionRefusals(error: RecordsError): ActionRefusal[];
6487
+ type FormulaParse = {
6488
+ ok: true;
6489
+ text: string;
6490
+ /** The store's expression shape — what `config.expr` holds. */
6491
+ expr: Record<string, unknown>;
6492
+ references: Array<{
6493
+ name: string;
6494
+ field_id: Uuid;
6495
+ }>;
6496
+ result_type: "number" | "text" | "boolean" | "date" | "unknown";
6497
+ } | {
6498
+ ok: false;
6499
+ text: string;
6500
+ error: string;
6501
+ position: number;
6502
+ };
6503
+ type RecordEvent = "record.created" | "record.updated" | "record.archived" | "record.restored" | "record.purged";
6504
+ interface TableWebhookDeclared {
6505
+ webhook_id: Uuid;
6506
+ table_id: Uuid;
6507
+ target_url: string;
6508
+ events: RecordEvent[];
6509
+ /** Shown this once: X-Matrx-Signature is sha256=HMAC-SHA256(secret, body). */
6510
+ secret: string;
6511
+ says: string;
6512
+ }
6513
+ interface TableWebhook {
6514
+ webhook_id: Uuid;
6515
+ target_url: string;
6516
+ description: string | null;
6517
+ events: RecordEvent[] | null;
6518
+ is_active: boolean;
6519
+ last_attempt_at: string | null;
6520
+ last_success_at: string | null;
6521
+ consecutive_failures: number;
6522
+ owner_id: Uuid;
6523
+ created_at: string;
6524
+ }
6525
+ /** What `custom.table_from_example` builds from. */
6526
+ interface ExampleSpec {
6527
+ business: string;
6528
+ tables: Array<Record<string, unknown>>;
6529
+ }
6530
+ interface ExampleBuilt {
6531
+ business: string;
6532
+ tables: Array<{
6533
+ token: string;
6534
+ table_id: Uuid;
6535
+ name: string;
6536
+ records?: number;
6537
+ note?: string;
6538
+ }>;
6539
+ says: string;
6540
+ }
6541
+ /**
6542
+ * ONE REAL USE CASE → the example door's spec. The use case is validated by this package's own
6543
+ * suite (`use-cases/validate.ts`); the door refuses placeholder names again as a second line.
6544
+ */
6545
+ declare function exampleSpec(useCase: UseCase): ExampleSpec;
6546
+ /** One page of `custom.io_export`: exactly what the read door serves this person. */
6547
+ interface IoExportPage {
6548
+ table_id: Uuid;
6549
+ token: string;
6550
+ columns: string[];
6551
+ rows: Array<Record<string, unknown>>;
6552
+ /** A column the store withheld from this reader, with the store's reason. */
6553
+ withheld: Record<string, unknown>;
6554
+ page: {
6555
+ requested: number;
6556
+ returned: number;
6557
+ ceiling: number;
6558
+ next: number | null;
6559
+ };
6560
+ choices: unknown;
6561
+ }
6562
+ /**
6563
+ * THE .XLSX OF AN EXPORT PAGE. Numbers stay numbers and booleans stay booleans in the sheet; a
6564
+ * column the store withheld is NAMED on a second sheet with the store's reason, so a person
6565
+ * never mistakes a withheld column for an empty one. `labels` maps a column key to its header
6566
+ * (the Field's label); a key with no label is its own header.
6567
+ */
6568
+ declare function exportPageXlsx(page: IoExportPage, labels?: Record<string, string>, sheetLabel?: string): Promise<Uint8Array>;
6569
+ /** A record-store row event, as the activity spine carries it (and a schedule matches it). */
6570
+ type RecordChangeAction = RecordEvent;
6571
+ /**
6572
+ * THE SCHEDULE TRIGGER for "when a row of this record-store table changes, run …" — the same
6573
+ * `event` trigger the older store's tables use, pointed at this store's events:
6574
+ * `entity_type` `custom_record:<table id>`, actions `record.*`, `changed_fields` by column KEY.
6575
+ * `scheduler.sch_match_event` matches it against the event
6576
+ * `custom._record_events_to_activity` writes (GRID-PRIMITIVES G8), so one matcher serves both
6577
+ * stores. Omit `actions` to hear every change; omit `changedFields` to hear every column.
6578
+ */
6579
+ declare function recordChangeTrigger(tableId: Uuid, options?: {
6580
+ actions?: RecordChangeAction[];
6581
+ changedFields?: string[];
6582
+ }): {
6583
+ type: "event";
6584
+ entity_type: string;
6585
+ table_id: Uuid;
6586
+ actions?: RecordChangeAction[];
6587
+ changed_fields?: string[];
6588
+ };
6589
+
5732
6590
  /** The seven shapes a block can take, exactly as `custom.dashboard_kinds()` answers. */
5733
6591
  type DashboardBlockKind = "number" | "bar" | "column" | "line" | "donut" | "table" | "stuck";
5734
6592
  /**
@@ -8982,6 +9840,91 @@ interface RecordsClient {
8982
9840
  ids: Uuid[];
8983
9841
  subject?: "record";
8984
9842
  }): Promise<RecordsResult<MyLevel[]>>;
9843
+ /** G1. Write ONE leaf of a Table's colors, or clear it with `null`. Editor on the Table. */
9844
+ tableDecorate(args: {
9845
+ table_id: Uuid;
9846
+ path: DecorationPath;
9847
+ value: unknown;
9848
+ }): Promise<RecordsResult<TableDecorations>>;
9849
+ /** G1. A Table's colors as a screen paints them, with what went stale named. */
9850
+ tableDecorations(args: {
9851
+ table_id: Uuid;
9852
+ }): Promise<RecordsResult<TableDecorations>>;
9853
+ /** G1. The layout a grid opens with: platform → organization knob → the view's own. */
9854
+ gridLayout(args: {
9855
+ table_id: Uuid;
9856
+ view_id?: Uuid | null;
9857
+ }): Promise<RecordsResult<GridLayout>>;
9858
+ /** G3. The older grid's formula text → the store's expression. Never refuses a typo: answers ok:false. */
9859
+ formulaParse(args: {
9860
+ table_id: Uuid;
9861
+ text: string;
9862
+ }): Promise<RecordsResult<FormulaParse>>;
9863
+ /** G2. Declare a Table's row actions — the whole list. Editor on the Table. */
9864
+ actionDeclare(args: {
9865
+ table_id: Uuid;
9866
+ actions: RowAction[];
9867
+ }): Promise<RecordsResult<RowAction[]>>;
9868
+ /** G2. A Table's row actions, each saying whether it can run here. */
9869
+ rowActions(args: {
9870
+ table_id: Uuid;
9871
+ }): Promise<RecordsResult<{
9872
+ actions: RowAction[];
9873
+ stale: unknown[];
9874
+ }>>;
9875
+ /**
9876
+ * G2. Run one action on a selection, in ONE transaction. A refusal changed NOTHING; read
9877
+ * every record and field that refused with `actionRefusals(result.error)`.
9878
+ */
9879
+ actionRun(args: {
9880
+ action_id: Uuid;
9881
+ record_ids: Uuid[];
9882
+ }): Promise<RecordsResult<ActionRunResult>>;
9883
+ /** G4. Send every change to this Table's records to an https webhook. Admin. The secret is shown once. */
9884
+ tableWebhookDeclare(args: {
9885
+ table_id: Uuid;
9886
+ target_url: string;
9887
+ events?: RecordEvent[] | null;
9888
+ description?: string | null;
9889
+ }): Promise<RecordsResult<TableWebhookDeclared>>;
9890
+ /** G4. The webhooks a Table sends to, with their delivery health — never the secret. */
9891
+ tableWebhooks(args: {
9892
+ table_id: Uuid;
9893
+ }): Promise<RecordsResult<TableWebhook[]>>;
9894
+ /** G4. Switch one off. It is never deleted. */
9895
+ tableWebhookArchive(args: {
9896
+ webhook_id: Uuid;
9897
+ }): Promise<RecordsResult<boolean>>;
9898
+ /**
9899
+ * G5. Build one real use case's tables here, rows and relations included, in one
9900
+ * transaction. `useCaseId` is one of `useCaseIds()` from `@ai-matrx/records/use-cases`.
9901
+ */
9902
+ tableFromExample(args: {
9903
+ home_id: Uuid;
9904
+ useCaseId: string;
9905
+ }): Promise<RecordsResult<ExampleBuilt>>;
9906
+ /** G5. Number the records an autonumber column found already there, in creation order. */
9907
+ autonumberBackfill(args: {
9908
+ field_id: Uuid;
9909
+ }): Promise<RecordsResult<{
9910
+ numbered: number;
9911
+ highest: number | null;
9912
+ says: string;
9913
+ }>>;
9914
+ /** G5. One page of the export door — exactly the rows and columns the read door serves this person. */
9915
+ ioExport(args: {
9916
+ table_id: Uuid;
9917
+ columns?: string[] | null;
9918
+ limit?: number;
9919
+ }): Promise<RecordsResult<IoExportPage>>;
9920
+ /** G5. That page as an .xlsx; a withheld column is named on its own sheet. */
9921
+ exportXlsx(args: {
9922
+ table_id: Uuid;
9923
+ columns?: string[] | null;
9924
+ limit?: number;
9925
+ labels?: Record<string, string>;
9926
+ sheetLabel?: string;
9927
+ }): Promise<RecordsResult<Uint8Array>>;
8985
9928
  }
8986
9929
 
8987
9930
  /**
@@ -9319,4 +10262,4 @@ declare function useFieldMutation(): UseFieldMutation;
9319
10262
  */
9320
10263
  declare function useMergeField(key: string | null, state?: Record<string, unknown>): MergeFieldResolution | null;
9321
10264
 
9322
- export { ABSENCE_REASONS, ACTOR_VOCABULARY, ARCHIVE_LANES, ARCHIVE_LANE_LABEL, ARCHIVE_LANE_MEANS, type AbsenceReason, type Actor, type AggregateBucket, type AggregateFilter, type AggregateMeasure, type AggregateOperation, type AggregateRow, type AggregateWindow, type AnonTokenBinding, type ArchiveLane, type ArchivedDoorRow, type ArchivedRow, type BookingAvailability, type BookingDeclared, type BookingSummary, type BookingWindow, COMPUTE_ON, CONTEXT_POLICIES, type CaptureField, type CaptureFileRef, type CaptureOutcome, type CaptureQuestion, type CaptureQueue, type CaptureQueueCounts, type CaptureQueueOptions, type CaptureQueuePorts, type CaptureQueueStore, type CaptureSheetFace, type CaptureSheetSummary, type CaptureSyncReport, type ChecklistDeclared, type ChecklistRequirement, type ChecklistRequirementKind, type ChecklistRoleSpec, type ChecklistRunStarted, type ChecklistRunStep, type ChecklistRunSummary, type ChecklistSpec, type ChecklistStepCompleted, type ChecklistStepSpec, type ChecklistTemplateShape, type ChecklistTemplateSummary, type ChecklistTrigger, type ChecklistTriggerKind, type ChoiceOption, type ChoiceOptions, type CoerceOptions, type Coerced, type CoercedAnswers, type CoercibleField, type CommentThreadRead, type CommentWritten, type ComputeOn, type ContextPolicy, type ConversationScope, type ConversationScopeContext, type CustomFieldTableType, DECLARABLE_FIELD_KINDS, DEFAULT_ARCHIVE_LANE, DEFAULT_PORTAL_ARCHIVE_FILTER, DELIVERIES, type DashboardBlock, type DashboardBlockKind, type DashboardBlockResult, type DashboardRunResult, type DashboardSummary, type DeclarableFieldKind, type Delivery, type DigestPreview, type DocRenderRow, type DocSignatureCheck, type DocSignatureRow, type DocTemplateRow, type DocToken, type DocUnresolvedToken, ENTITY_TOKENS, type EnrichAlternate, type EnrichCell, type EnrichDeclared, type EnrichDueRow, type EnrichRun, type EnrichSource, type Enrichment, type EnrichmentSummary, type EntityFieldRights, type EntityFieldValue, type EntityRecordMatch, type EntityRecordRead, type EntityRecordsFound, type EntityTableFacts, type EntityToken, type ExternalPrincipalCard, FIELD_KINDS, FIELD_SENSITIVITIES, FIELD_SOURCES, FRESHNESS, type Field, type FieldBehavior, type FieldHistoryEntry, type FieldKind, type FieldPatch, type FieldProposal, type FieldRule, type FieldSensitivity, type FieldSource, type FieldTypeWord, type ForbiddenEnvelopeWord, type FormSummary, type Freshness, type HiddenFieldNotice, type HistoryActor, type HistoryActorKind, type HistoryChange, type Home, type ImportBatchResult, type ImportColumnPlan, type ImportColumnsDeclared, type ImportFinished, type ImportOpened, type ImportOutcome, type ImportPlan, type ImportPolicy, type ImportProposal, type ImportReport, type ImportRun, type InboundAddress, type InboundDeclared, KERNEL_TABLES, type KernelTableName, type KernelTargets, MERGE_FIELD_MODIFIERS, MERGE_FIELD_SEMANTIC_TYPES, MERGE_FIELD_SOURCES, type MergeField, type MergeFieldModifier, type MergeFieldProvenance, type MergeFieldResolution, type MergeFieldSemanticType, type MergeFieldSource, type MergeFieldTransform, type MissingBehavior, type MyLevel, type MySubscription, type NewEntityFieldDeclaration, type NewFieldDeclaration, ON_DELETE, OVERRIDE_POLICIES, type OnDelete, type OverridePolicy, PARITY_FIELD_TYPES, PERMISSION_LEVELS, PER_VALUE_ACCESS_WORDS, PIPELINE_RULE_KINDS, PORTAL_ARCHIVE_FILTERS, type ParityFieldType, type ParityFieldTypeDescriptor, type PerValueAccessWord, type PermissionLevel, type PgError, type Pipeline, type PipelineColumn, type PipelineDeclared, type PipelineGate, type PipelineGatePreview, type PipelineMissingField, type PipelineMoveResult, type PipelineRule, type PipelineRuleKind, type PipelineSpec, type PipelineStage, type PipelineVerdict, type PortalArchiveAnswer, type PortalArchiveFilter, type PortalCard, type PortalInvitation, type PortalPreviewRow, type PortalPrincipal, type PortalRevocation, type PortalSummary, type PortalTableExposure, type PortalTableRef, type PredictedRefusal, type ProvenancePointer, type PublishBinding, type QueuedCapture, type QueuedCaptureFile, type QueuedCaptureState, type QuietHours, REFUSALS_WORTH_REPEATING, RELATION_BINDINGS, RELATION_CARDINALITIES, RELATION_FLAVORS, RETIRED_ACTOR_WORDS, RULE_NODE_KINDS, RULE_USES, type ReadRow, type ReadValue, type RecordComment, type RecordDocument, type RecordFilter, type RecordGraphWritten, type RecordHistoryEntry, type RecordRead, type RecordRevision, type RecordScopeComment, type RecordScopeContext, type RecordScopeField, type RecordScopeHistoryEntry, type RecordScopeRelation, type RecordScopeWithheld, type RecordsActor, type RecordsChangeSink, type RecordsConfig, type RecordsDataSource, type RecordsError, type RecordsErrorCode, type RecordsErrorSink, type RecordsFilter, RecordsProvider, type RecordsProviderProps, type RecordsRealtimePort, type RecordsResolverPort, type RecordsResponse, type RecordsResult, type RecordsTableQuery, type RegisteredTable, type Relation, type RelationBinding, type RelationCardinality, type RelationCarries, type RelationCoordinate, type RelationDisplay, type RelationDisplaySpec, type RelationFlavor, type RelationProperties, type RelationStore, type RelationTarget, type RelationWordsManyArgs, type ResolutionTriple, type ResolvedPublishBinding, type RestorePreview, type RestoreResult, type RetiredActorWord, type Rule, type RuleAnswer, type RuleExpression, type RuleNodeKind, type RuleUse, STAGE_RULE_ENFORCEMENT, STAGE_RULE_ON_FAIL, STORAGE_MODES, STORE_DOORS, STORE_KNOBS, STORE_REFUSAL_CODES, type SavedViewRow, type SavedViewSpecIn, type StagePending, type StagePendingOnBoard, type StageRuleEnforcement, type StageRuleOnFail, type StageRuleWarning, type StaleWriteDetail, type StorageMode, type StoreDoorName, type StoreRefusalCode, type StoredRecord, type StuckRow, type Subscription, type SubscriptionBlock, type SubscriptionCadence, type SubscriptionSpec, TABLE_DISPLAYS, TABLE_ORIGINS, TABLE_TYPES, type Table, type TableArchiveProgress, type TableCapacity, type TableDisplay, type TableOrigin, type TableProposal, type TableType, type Timestamp, type UseEntityFieldMutation, type UseFieldMutation, type UseRecordMutation, type UseRecordsOptions, type UseRecordsState, type UseTableArchive, type Uuid, VALUE_ALTERNATE_KEYS, VALUE_ENVELOPE_KEYS, type ValueAlternate, type ValueAlternateKey, type ValueEnvelope, type ValueEnvelopeKey, type ValueSource, type WorkApprovalDecision, type WorkApprovalFiled, type WorkApprover, type WorkAssignment, type WorkAssignmentField, type WorkChange, type WorkDueState, type WorkGraph, type WorkInboxItem, type WorkInboxKind, type WorkInstantiation, type WorkListFlavour, type WorkListItem, type WorkOrigin, type WorkRecordState, type WorkSlotHold, type WorkState, type WorkTemplateNode, type WorkTemplateRelation, type WorkTurn, type WriteConflict, archivedByLine, archivedWhen, asPermissionLevel, atLeast, bookingPath, choiceSlug, choiceValuesOf, choicesOf, coerceTypedAnswer, coerceTypedAnswers, coercionLabel, emptyArchiveLine, emptyPortalArchiveLine, err, fieldKindFor, forgetAllOps, highestLevel, holdsARetiredChoice, indexedDbStore, isArchiveLane, isDecided, isOwnOp, isPortalArchiveFilter, isRecordsErr, isTheChosen, looksLikeAnId, mayDrag, measureKey, memoryStore, mintClientKey, mintOpId, ok, openCaptureQueue, optionKey, optionLabel, portalArchiveConsequence, portalConfirmLine, portalPath, portalTitleTypedBack, publicFormPath, rememberedOpCount, sameDocument, scopeChip, stableFilterKey, tableShapeChanged, useEntityFieldMutation, useEntityFieldRights, useEntityFields, useEntityRecord, useEntityTable, useFieldMutation, useFields, useMergeField, useMyLevel, useMyLevels, useOptionalRecordsClient, useRecord, useRecordMutation, useRecords, useRecordsActor, useRecordsClient, useTable, useTableArchive, useTables };
10265
+ export { ABSENCE_REASONS, ACTOR_VOCABULARY, ARCHIVE_LANES, ARCHIVE_LANE_LABEL, ARCHIVE_LANE_MEANS, type AbsenceReason, type ActionRefusal, type ActionRunResult, type Actor, type AggregateBucket, type AggregateFilter, type AggregateMeasure, type AggregateOperation, type AggregateRow, type AggregateWindow, type AnonTokenBinding, type ArchiveLane, type ArchivedDoorRow, type ArchivedRow, type BookingAvailability, type BookingDeclared, type BookingSummary, type BookingWindow, COMPUTE_ON, CONTEXT_POLICIES, type CaptureField, type CaptureFileRef, type CaptureOutcome, type CaptureQuestion, type CaptureQueue, type CaptureQueueCounts, type CaptureQueueOptions, type CaptureQueuePorts, type CaptureQueueStore, type CaptureSheetFace, type CaptureSheetSummary, type CaptureSyncReport, type ChecklistDeclared, type ChecklistRequirement, type ChecklistRequirementKind, type ChecklistRoleSpec, type ChecklistRunStarted, type ChecklistRunStep, type ChecklistRunSummary, type ChecklistSpec, type ChecklistStepCompleted, type ChecklistStepSpec, type ChecklistTemplateShape, type ChecklistTemplateSummary, type ChecklistTrigger, type ChecklistTriggerKind, type ChoiceOption, type ChoiceOptions, type CoerceOptions, type Coerced, type CoercedAnswers, type CoercibleField, type CommentThreadRead, type CommentWritten, type ComputeOn, type ContextPolicy, type ConversationScope, type ConversationScopeContext, type CustomFieldTableType, DECLARABLE_FIELD_KINDS, DEFAULT_ARCHIVE_LANE, DEFAULT_PORTAL_ARCHIVE_FILTER, DELIVERIES, type DashboardBlock, type DashboardBlockKind, type DashboardBlockResult, type DashboardRunResult, type DashboardSummary, type DeclarableFieldKind, type DecorationColor, type DecorationPath, type DecorationRule, type DecorationRuleOp, type DecorationTarget, type Delivery, type DigestPreview, type DocRenderRow, type DocSignatureCheck, type DocSignatureRow, type DocTemplateRow, type DocToken, type DocUnresolvedToken, ENTITY_TOKENS, type EnrichAlternate, type EnrichCell, type EnrichDeclared, type EnrichDueRow, type EnrichRun, type EnrichSource, type Enrichment, type EnrichmentSummary, type EntityFieldRights, type EntityFieldValue, type EntityRecordMatch, type EntityRecordRead, type EntityRecordsFound, type EntityTableFacts, type EntityToken, type ExampleBuilt, type ExampleSpec, type ExternalPrincipalCard, FIELD_KINDS, FIELD_SENSITIVITIES, FIELD_SOURCES, FRESHNESS, type Field, type FieldBehavior, type FieldHistoryEntry, type FieldKind, type FieldPatch, type FieldProposal, type FieldRule, type FieldSensitivity, type FieldSource, type FieldTypeWord, type ForbiddenEnvelopeWord, type FormSummary, type FormulaParse, type Freshness, type GridLayout, type GridLayoutMode, type GridRowHeight, type HiddenFieldNotice, type HistoryActor, type HistoryActorKind, type HistoryChange, type Home, type ImportBatchResult, type ImportColumnPlan, type ImportColumnsDeclared, type ImportFinished, type ImportOpened, type ImportOutcome, type ImportPlan, type ImportPolicy, type ImportProposal, type ImportReport, type ImportRun, type InboundAddress, type InboundDeclared, type IoExportPage, KERNEL_TABLES, type KernelTableName, type KernelTargets, MERGE_FIELD_MODIFIERS, MERGE_FIELD_SEMANTIC_TYPES, MERGE_FIELD_SOURCES, type MergeField, type MergeFieldModifier, type MergeFieldProvenance, type MergeFieldResolution, type MergeFieldSemanticType, type MergeFieldSource, type MergeFieldTransform, type MissingBehavior, type MyLevel, type MySubscription, type NewEntityFieldDeclaration, type NewFieldDeclaration, ON_DELETE, OVERRIDE_POLICIES, type OnDelete, type OverridePolicy, PARITY_FIELD_TYPES, PERMISSION_LEVELS, PER_VALUE_ACCESS_WORDS, PIPELINE_RULE_KINDS, PORTAL_ARCHIVE_FILTERS, type ParityFieldType, type ParityFieldTypeDescriptor, type PerValueAccessWord, type PermissionLevel, type PgError, type Pipeline, type PipelineColumn, type PipelineDeclared, type PipelineGate, type PipelineGatePreview, type PipelineMissingField, type PipelineMoveResult, type PipelineRule, type PipelineRuleKind, type PipelineSpec, type PipelineStage, type PipelineVerdict, type PortalArchiveAnswer, type PortalArchiveFilter, type PortalCard, type PortalInvitation, type PortalPreviewRow, type PortalPrincipal, type PortalRevocation, type PortalSummary, type PortalTableExposure, type PortalTableRef, type PredictedRefusal, type ProvenancePointer, type PublishBinding, type QueuedCapture, type QueuedCaptureFile, type QueuedCaptureState, type QuietHours, REFUSALS_WORTH_REPEATING, RELATION_BINDINGS, RELATION_CARDINALITIES, RELATION_FLAVORS, RETIRED_ACTOR_WORDS, RULE_NODE_KINDS, RULE_USES, type ReadRow, type ReadValue, type RecordChangeAction, type RecordComment, type RecordDocument, type RecordEvent, type RecordFilter, type RecordGraphWritten, type RecordHistoryEntry, type RecordRead, type RecordRevision, type RecordScopeComment, type RecordScopeContext, type RecordScopeField, type RecordScopeHistoryEntry, type RecordScopeRelation, type RecordScopeWithheld, type RecordsActor, type RecordsChangeSink, type RecordsConfig, type RecordsDataSource, type RecordsError, type RecordsErrorCode, type RecordsErrorSink, type RecordsFilter, RecordsProvider, type RecordsProviderProps, type RecordsRealtimePort, type RecordsResolverPort, type RecordsResponse, type RecordsResult, type RecordsTableQuery, type RegisteredTable, type Relation, type RelationBinding, type RelationCardinality, type RelationCarries, type RelationCoordinate, type RelationDisplay, type RelationDisplaySpec, type RelationFlavor, type RelationProperties, type RelationStore, type RelationTarget, type RelationWordsManyArgs, type ResolutionTriple, type ResolvedPublishBinding, type RestorePreview, type RestoreResult, type RetiredActorWord, type RowAction, type RowActionStep, type Rule, type RuleAnswer, type RuleExpression, type RuleNodeKind, type RuleUse, STAGE_RULE_ENFORCEMENT, STAGE_RULE_ON_FAIL, STORAGE_MODES, STORE_DOORS, STORE_KNOBS, STORE_REFUSAL_CODES, type SavedViewRow, type SavedViewSpecIn, type StagePending, type StagePendingOnBoard, type StageRuleEnforcement, type StageRuleOnFail, type StageRuleWarning, type StaleWriteDetail, type StorageMode, type StoreDoorName, type StoreRefusalCode, type StoredRecord, type StuckRow, type Subscription, type SubscriptionBlock, type SubscriptionCadence, type SubscriptionSpec, TABLE_DISPLAYS, TABLE_ORIGINS, TABLE_TYPES, type Table, type TableArchiveProgress, type TableCapacity, type TableDecorations, type TableDisplay, type TableOrigin, type TableProposal, type TableType, type TableWebhook, type TableWebhookDeclared, type Timestamp, type UseEntityFieldMutation, type UseFieldMutation, type UseRecordMutation, type UseRecordsOptions, type UseRecordsState, type UseTableArchive, type Uuid, VALUE_ALTERNATE_KEYS, VALUE_ENVELOPE_KEYS, type ValueAlternate, type ValueAlternateKey, type ValueEnvelope, type ValueEnvelopeKey, type ValueSource, type ViewLayout, type WorkApprovalDecision, type WorkApprovalFiled, type WorkApprover, type WorkAssignment, type WorkAssignmentField, type WorkChange, type WorkDueState, type WorkGraph, type WorkInboxItem, type WorkInboxKind, type WorkInstantiation, type WorkListFlavour, type WorkListItem, type WorkOrigin, type WorkRecordState, type WorkSlotHold, type WorkState, type WorkTemplateNode, type WorkTemplateRelation, type WorkTurn, type WriteConflict, actionRefusals, archivedByLine, archivedWhen, asPermissionLevel, atLeast, bookingPath, choiceSlug, choiceValuesOf, choicesOf, coerceTypedAnswer, coerceTypedAnswers, coercionLabel, emptyArchiveLine, emptyPortalArchiveLine, err, exampleSpec, exportPageXlsx, fieldKindFor, forgetAllOps, highestLevel, holdsARetiredChoice, indexedDbStore, isArchiveLane, isDecided, isOwnOp, isPortalArchiveFilter, isRecordsErr, isTheChosen, looksLikeAnId, mayDrag, measureKey, memoryStore, mintClientKey, mintOpId, ok, openCaptureQueue, optionKey, optionLabel, portalArchiveConsequence, portalConfirmLine, portalPath, portalTitleTypedBack, publicFormPath, recordChangeTrigger, rememberedOpCount, sameDocument, scopeChip, stableFilterKey, tableShapeChanged, useEntityFieldMutation, useEntityFieldRights, useEntityFields, useEntityRecord, useEntityTable, useFieldMutation, useFields, useMergeField, useMyLevel, useMyLevels, useOptionalRecordsClient, useRecord, useRecordMutation, useRecords, useRecordsActor, useRecordsClient, useTable, useTableArchive, useTables };